Compartir vía


VirtualMachineUnmanagedDataDisk.DefinitionStages.WithNewVhdDiskSettings<ParentT> Interface

Type Parameters

ParentT

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

public interface WithNewVhdDiskSettings extends VirtualMachineUnmanagedDataDisk.DefinitionStages.WithAttach

The stage that allows configure the disk based on new VHD.

Method Summary

Modifier and Type Method and Description
VirtualMachineUnmanagedDataDisk.DefinitionStages.WithNewVhdDiskSettings<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.WithNewVhdDiskSettings<ParentT> withCaching(CachingTypes cachingType)

Specifies the caching type for the data disk.

VirtualMachineUnmanagedDataDisk.DefinitionStages.WithNewVhdDiskSettings<ParentT> withLun(Integer lun)

Specifies the logical unit number for the data disk.

Inherited Members

Method Details

storeAt

public WithNewVhdDiskSettings 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 WithNewVhdDiskSettings 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

withLun

public WithNewVhdDiskSettings withLun(Integer lun)

Specifies the logical unit number for the data disk.

Parameters:

lun - the logical unit number

Returns:

the next stage of data disk definition

Applies to