IWithDiskSettings<ParentT>.WithDiskCaching(CachingTypes) Method

Definition

Specifies the caching type for data disk.

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.CustomImageDataDisk.Definition.IWithAttach<ParentT> WithDiskCaching (Microsoft.Azure.Management.Compute.Fluent.Models.CachingTypes cachingType);
abstract member WithDiskCaching : Microsoft.Azure.Management.Compute.Fluent.Models.CachingTypes -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.CustomImageDataDisk.Definition.IWithAttach<'ParentT>
Public Function WithDiskCaching (cachingType As CachingTypes) As IWithAttach(Of ParentT)

Parameters

cachingType
CachingTypes

The disk caching type.

Returns

IWithAttach<ParentT>

Applies to