IWithDiskCaching.WithCaching(CachingTypes) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the new caching type for the data disk.
public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineUnmanagedDataDisk.Update.IUpdate WithCaching (Microsoft.Azure.Management.Compute.Fluent.Models.CachingTypes cachingType);
abstract member WithCaching : Microsoft.Azure.Management.Compute.Fluent.Models.CachingTypes -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineUnmanagedDataDisk.Update.IUpdate
Public Function WithCaching (cachingType As CachingTypes) As IUpdate
Parameters
- cachingType
- CachingTypes
The disk caching type. Possible values include: 'None', 'ReadOnly', 'ReadWrite'.
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET