Share via


IWithNewVhdDiskSettings<ParentT>.WithCaching(CachingTypes) Method

Definition

Specifies the caching type for the unmanaged data disk.

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSetUnmanagedDataDisk.Definition.IWithNewVhdDiskSettings<ParentT> WithCaching (Microsoft.Azure.Management.Compute.Fluent.Models.CachingTypes cachingType);
abstract member WithCaching : Microsoft.Azure.Management.Compute.Fluent.Models.CachingTypes -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSetUnmanagedDataDisk.Definition.IWithNewVhdDiskSettings<'ParentT>
Public Function WithCaching (cachingType As CachingTypes) As IWithNewVhdDiskSettings(Of ParentT)

Parameters

cachingType
CachingTypes

The disk caching type. Possible values include: 'None', 'ReadOnly', 'ReadWrite'.

Returns

Applies to