Partilhar via


VirtualMachineCustomImage.CustomImageDataDisk.DefinitionStages.WithDiskSettings<ParentT> Interface

Type Parameters

ParentT

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

public static interface VirtualMachineCustomImage.CustomImageDataDisk.DefinitionStages.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
abstract WithAttach<ParentT> withDiskCaching(CachingTypes cachingType)

Specifies the caching type for data disk.

abstract WithAttach<ParentT> withDiskSizeInGB(int diskSizeGB)

Specifies the size in GB for data disk.

Method Details

withDiskCaching

public abstract VirtualMachineCustomImage.CustomImageDataDisk.DefinitionStages.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 abstract VirtualMachineCustomImage.CustomImageDataDisk.DefinitionStages.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