你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

VirtualMachineScaleSet.DefinitionStages.WithManagedDiskOptionals Interface

public interface WithManagedDiskOptionals

The optionals applicable only for managed disks.

Method Summary

Modifier and Type Method and Description
VirtualMachineScaleSet.DefinitionStages.WithManagedCreate withDataDiskDefaultCachingType(CachingTypes cachingType)

Specifies the default caching type for the managed data disks.

VirtualMachineScaleSet.DefinitionStages.WithManagedCreate withDataDiskDefaultStorageAccountType(StorageAccountTypes storageAccountType)

Specifies the default caching type for the managed data disks.

VirtualMachineScaleSet.DefinitionStages.WithManagedCreate withOSDiskStorageAccountType(StorageAccountTypes accountType)

Specifies the storage account type for managed OS disk.

Method Details

withDataDiskDefaultCachingType

public WithManagedCreate withDataDiskDefaultCachingType(CachingTypes cachingType)

Specifies the default caching type for the managed data disks.

Parameters:

cachingType - the caching type

Returns:

the stage representing creatable VM definition

withDataDiskDefaultStorageAccountType

public WithManagedCreate withDataDiskDefaultStorageAccountType(StorageAccountTypes storageAccountType)

Specifies the default caching type for the managed data disks.

Parameters:

storageAccountType - the storage account type

Returns:

the stage representing creatable VM definition

withOSDiskStorageAccountType

public WithManagedCreate withOSDiskStorageAccountType(StorageAccountTypes accountType)

Specifies the storage account type for managed OS disk.

Parameters:

accountType - the storage account type

Returns:

the stage representing creatable VM definition

Applies to