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

VirtualMachineScaleSetUnmanagedDataDisk.DefinitionStages.WithFromImageDiskSettings<ParentT> Interface

Type Parameters

ParentT

the stage of the parent definition to return to after attaching this definition

public interface WithFromImageDiskSettings extends VirtualMachineScaleSetUnmanagedDataDisk.DefinitionStages.WithAttach

The stage that allows configure the unmanaged disk based on an image.

Method Summary

Modifier and Type Method and Description
VirtualMachineScaleSetUnmanagedDataDisk.DefinitionStages.WithFromImageDiskSettings<ParentT> withCaching(CachingTypes cachingType)

Specifies the caching type for the unmanaged data disk.

VirtualMachineScaleSetUnmanagedDataDisk.DefinitionStages.WithFromImageDiskSettings<ParentT> withSizeInGB(Integer sizeInGB)

Specifies the size in GB the unmanaged disk needs to be resized.

Inherited Members

Method Details

withCaching

public WithFromImageDiskSettings withCaching(CachingTypes cachingType)

Specifies the caching type for the unmanaged data disk.

Parameters:

cachingType - the disk caching type. Possible values include: 'None', 'ReadOnly', 'ReadWrite'

Returns:

the next stage of unmanaged data disk definition

withSizeInGB

public WithFromImageDiskSettings withSizeInGB(Integer sizeInGB)

Specifies the size in GB the unmanaged disk needs to be resized.

Parameters:

sizeInGB - the disk size in GB

Returns:

the next stage of unmanaged data disk definition

Applies to