Compartir vía


VirtualMachineUnmanagedDataDisk.DefinitionStages.WithVhdAttachedDiskSettings<ParentT> Interface

Type Parameters

ParentT

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

public interface WithVhdAttachedDiskSettings extends VirtualMachineUnmanagedDataDisk.DefinitionStages.WithAttach

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

Method Summary

Modifier and Type Method and Description
VirtualMachineUnmanagedDataDisk.DefinitionStages.WithVhdAttachedDiskSettings<ParentT> withCaching(CachingTypes cachingType)

Specifies the caching type for the data disk.

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

Specifies the logical unit number for the data disk.

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

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

Inherited Members

Method Details

withCaching

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