VirtualMachineScaleSetUnmanagedDataDisk.DefinitionStages.WithNewVhdDiskSettings<ParentT> Interface

Type Parameters

ParentT

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

Implements

WithAttach<ParentT>

public static interface VirtualMachineScaleSetUnmanagedDataDisk.DefinitionStages.WithNewVhdDiskSettings
extends WithAttach<ParentT>

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

Method Summary

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

Specifies the caching type for the unmanaged data disk.

abstract WithNewVhdDiskSettings<ParentT> withLun(Integer lun)

Specifies the logical unit number for the unmanaged data disk.

Method Details

withCaching

public abstract VirtualMachineScaleSetUnmanagedDataDisk.DefinitionStages.WithNewVhdDiskSettings withCaching(CachingTypes cachingType)

Specifies the caching type for the unmanaged data disk.

Parameters:

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

Returns:

the next stage of unmanaged data disk definition

withLun

public abstract VirtualMachineScaleSetUnmanagedDataDisk.DefinitionStages.WithNewVhdDiskSettings withLun(Integer lun)

Specifies the logical unit number for the unmanaged data disk.

Parameters:

lun - the logical unit number

Returns:

the next stage of unmanaged data disk definition

Applies to