VirtualMachineScaleSet.DefinitionStages.WithManagedDataDisk.withNewDataDisk 方法

定义

重载

withNewDataDisk(int sizeInGB)

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

withNewDataDisk(int sizeInGB, int lun, CachingTypes cachingType)

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

withNewDataDisk(int sizeInGB, int lun, CachingTypes cachingType, StorageAccountTypes storageAccountType)

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

withNewDataDisk(int sizeInGB)

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

public WithManagedCreate withNewDataDisk(int sizeInGB)

参数

sizeInGB
int

the size of the managed disk

返回

the next stage of virtual machine definition

withNewDataDisk(int sizeInGB, int lun, CachingTypes cachingType)

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

public WithManagedCreate withNewDataDisk(int sizeInGB, int lun, CachingTypes cachingType)

参数

sizeInGB
int

the size of the managed disk

lun
int

the disk LUN

cachingType
CachingTypes

the caching type

返回

the next stage of virtual machine definition

withNewDataDisk(int sizeInGB, int lun, CachingTypes cachingType, StorageAccountTypes storageAccountType)

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

public WithManagedCreate withNewDataDisk(int sizeInGB, int lun, CachingTypes cachingType, StorageAccountTypes storageAccountType)

参数

sizeInGB
int

the size of the managed disk

lun
int

the disk LUN

cachingType
CachingTypes

the caching type

storageAccountType
StorageAccountTypes

the storage account type

返回

the next stage of virtual machine definition

适用于