Compartir vía


VirtualMachineUnmanagedDataDisk.DefinitionStages.WithFromImageDiskSettings<ParentT> Interface

Type Parameters

ParentT

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

public interface WithFromImageDiskSettings extends VirtualMachineUnmanagedDataDisk.DefinitionStages.WithAttach

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

Method Summary

Modifier and Type Method and Description
VirtualMachineUnmanagedDataDisk.DefinitionStages.WithFromImageDiskSettings<ParentT> storeAt(String storageAccountName, String containerName, String vhdName)

Specifies where the VHD associated with the new blank data disk needs to be stored.

VirtualMachineUnmanagedDataDisk.DefinitionStages.WithFromImageDiskSettings<ParentT> withCaching(CachingTypes cachingType)

Specifies the caching type for the data disk.

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

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

Inherited Members

Method Details

storeAt

public WithFromImageDiskSettings storeAt(String storageAccountName, String containerName, String vhdName)

Specifies where the VHD associated with the new blank data disk needs to be stored.

Parameters:

storageAccountName - the storage account name
containerName - the name of the container to hold the new VHD file
vhdName - the name for the new VHD file

Returns:

the next stage of data disk definition

withCaching

public WithFromImageDiskSettings withCaching(CachingTypes cachingType)

Specifies the caching type for the data disk.

Parameters:

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

Returns:

the next stage of data disk definition

withSizeInGB

public WithFromImageDiskSettings withSizeInGB(Integer sizeInGB)

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

Parameters:

sizeInGB - the disk size in GB

Returns:

the next stage of data disk definition

Applies to