VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.WithNewVhdDiskSettings<ParentT> Interface

Type Parameters

ParentT

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

Implements

WithAttach<ParentT>

public static interface VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.WithNewVhdDiskSettings
extends WithAttach<ParentT>

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

Method Summary

Modifier and Type Method and Description
abstract WithNewVhdDiskSettings<ParentT> storeAt(String storageAccountName, String containerName, String vhdName)

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

abstract WithNewVhdDiskSettings<ParentT> withCaching(CachingTypes cachingType)

Specifies the caching type for the data disk.

abstract WithNewVhdDiskSettings<ParentT> withLun(Integer lun)

Specifies the logical unit number for the data disk.

Method Details

storeAt

public abstract VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.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 abstract VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.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 abstract VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.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