Dela via


IWithManagedDataDisk.WithNewDataDisk Method

Definition

Overloads

WithNewDataDisk(Int32)

Specifies that a managed disk needs to be created implicitly with the given size.

WithNewDataDisk(Int32, Int32, CachingTypes)

Specifies that a managed disk needs to be created implicitly with the given settings.

WithNewDataDisk(Int32, Int32, CachingTypes, StorageAccountTypes)

Specifies that a managed disk needs to be created implicitly with the given settings.

WithNewDataDisk(Int32)

Specifies that a managed disk needs to be created implicitly with the given size.

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Definition.IWithManagedCreate WithNewDataDisk (int sizeInGB);
abstract member WithNewDataDisk : int -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Definition.IWithManagedCreate
Public Function WithNewDataDisk (sizeInGB As Integer) As IWithManagedCreate

Parameters

sizeInGB
Int32

The size of the managed disk.

Returns

Applies to

WithNewDataDisk(Int32, Int32, CachingTypes)

Specifies that a managed disk needs to be created implicitly with the given settings.

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Definition.IWithManagedCreate WithNewDataDisk (int sizeInGB, int lun, Microsoft.Azure.Management.Compute.Fluent.Models.CachingTypes cachingType);
abstract member WithNewDataDisk : int * int * Microsoft.Azure.Management.Compute.Fluent.Models.CachingTypes -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Definition.IWithManagedCreate
Public Function WithNewDataDisk (sizeInGB As Integer, lun As Integer, cachingType As CachingTypes) As IWithManagedCreate

Parameters

sizeInGB
Int32

The size of the managed disk.

lun
Int32

The disk LUN.

cachingType
CachingTypes

The caching type.

Returns

Applies to

WithNewDataDisk(Int32, Int32, CachingTypes, StorageAccountTypes)

Specifies that a managed disk needs to be created implicitly with the given settings.

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Definition.IWithManagedCreate WithNewDataDisk (int sizeInGB, int lun, Microsoft.Azure.Management.Compute.Fluent.Models.CachingTypes cachingType, Microsoft.Azure.Management.Compute.Fluent.Models.StorageAccountTypes storageAccountType);
abstract member WithNewDataDisk : int * int * Microsoft.Azure.Management.Compute.Fluent.Models.CachingTypes * Microsoft.Azure.Management.Compute.Fluent.Models.StorageAccountTypes -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Definition.IWithManagedCreate
Public Function WithNewDataDisk (sizeInGB As Integer, lun As Integer, cachingType As CachingTypes, storageAccountType As StorageAccountTypes) As IWithManagedCreate

Parameters

sizeInGB
Int32

The size of the managed disk.

lun
Int32

The disk LUN.

cachingType
CachingTypes

The caching type.

storageAccountType
StorageAccountTypes

The storage account type.

Returns

Applies to