VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.WithVhdAttachedDiskSettings<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.WithVhdAttachedDiskSettings
extends WithAttach<ParentT>

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

Method Summary

Modifier and Type Method and Description
abstract WithVhdAttachedDiskSettings<ParentT> withCaching(CachingTypes cachingType)

Specifies the caching type for the data disk.

abstract WithVhdAttachedDiskSettings<ParentT> withLun(Integer lun)

Specifies the logical unit number for the data disk.

abstract WithVhdAttachedDiskSettings<ParentT> withSizeInGB(Integer sizeInGB)

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

Method Details

withCaching

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

withSizeInGB

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