次の方法で共有


VirtualMachineCustomImage.CustomImageDataDisk.DefinitionStages.WithDiskSettings<ParentT> Interface

Type Parameters

ParentT

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

public interface WithDiskSettings

The stage of data disk image definition allowing to specify configurations for the data disk when it is created from the same data disk image.

Method Summary

Modifier and Type Method and Description
VirtualMachineCustomImage.CustomImageDataDisk.DefinitionStages.WithAttach<ParentT> withDiskCaching(CachingTypes cachingType)

Specifies the caching type for data disk.

VirtualMachineCustomImage.CustomImageDataDisk.DefinitionStages.WithAttach<ParentT> withDiskSizeInGB(int diskSizeGB)

Specifies the size in GB for data disk.

Method Details

withDiskCaching

public WithAttach withDiskCaching(CachingTypes cachingType)

Specifies the caching type for data disk.

Parameters:

cachingType - the disk caching type

Returns:

the next stage of the definition

withDiskSizeInGB

public WithAttach withDiskSizeInGB(int diskSizeGB)

Specifies the size in GB for data disk.

Parameters:

diskSizeGB - the disk size in GB

Returns:

the next stage of the definition

Applies to