VirtualMachineScaleSet.UpdateStages.WithManagedDataDisk 接口

定义

The stage of a virtual machine scale set update allowing to specify managed data disks.

public interface WithManagedDataDisk

方法

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.

withoutDataDisk(int lun)

Detaches managed data disk with the given LUN from the virtual machine scale set instances.

适用于