DataDisk.Caching Property
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.
Gets or sets the type of caching to be enabled for the data disks.
[Newtonsoft.Json.JsonProperty(PropertyName="caching")]
public Microsoft.Azure.Management.Batch.Models.CachingType? Caching { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="caching")>]
member this.Caching : Nullable<Microsoft.Azure.Management.Batch.Models.CachingType> with get, set
Public Property Caching As Nullable(Of CachingType)
Property Value
- Attributes
-
Newtonsoft.Json.JsonPropertyAttribute
Remarks
Values are:
none - The caching mode for the disk is not enabled. readOnly - The caching mode for the disk is read only. readWrite - The caching mode for the disk is read and write.
The default value for caching is none. For information about the caching options see: https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. Possible values include: 'None', 'ReadOnly', 'ReadWrite'
Applies to
Azure SDK for .NET