次の方法で共有


ComputeBatchModelFactory.BatchOsDisk Method

Definition

Settings for the operating system disk of the compute node (VM).

public static Azure.Compute.Batch.BatchOsDisk BatchOsDisk(Azure.Compute.Batch.BatchDiffDiskSettings ephemeralOSDiskSettings = default, Azure.Compute.Batch.CachingType? caching = default, int? diskSizeGB = default, Azure.Compute.Batch.ManagedDisk managedDisk = default, bool? writeAcceleratorEnabled = default);
static member BatchOsDisk : Azure.Compute.Batch.BatchDiffDiskSettings * Nullable<Azure.Compute.Batch.CachingType> * Nullable<int> * Azure.Compute.Batch.ManagedDisk * Nullable<bool> -> Azure.Compute.Batch.BatchOsDisk
Public Shared Function BatchOsDisk (Optional ephemeralOSDiskSettings As BatchDiffDiskSettings = Nothing, Optional caching As Nullable(Of CachingType) = Nothing, Optional diskSizeGB As Nullable(Of Integer) = Nothing, Optional managedDisk As ManagedDisk = Nothing, Optional writeAcceleratorEnabled As Nullable(Of Boolean) = Nothing) As BatchOsDisk

Parameters

ephemeralOSDiskSettings
BatchDiffDiskSettings

Specifies the ephemeral Disk Settings for the operating system disk used by the compute node (VM).

caching
Nullable<CachingType>

Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The default values are: None for Standard storage. ReadOnly for Premium storage.

diskSizeGB
Nullable<Int32>

The initial disk size in GB when creating new OS disk.

managedDisk
ManagedDisk

The managed disk parameters.

writeAcceleratorEnabled
Nullable<Boolean>

Specifies whether writeAccelerator should be enabled or disabled on the disk.

Returns

A new BatchOsDisk instance for mocking.

Applies to