共用方式為


DataDisk.Caching 屬性

定義

取得或設定要針對資料磁片啟用的快取類型。

[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)

屬性值

屬性
Newtonsoft.Json.JsonPropertyAttribute

備註

值為:

none - 磁片的快取模式未啟用。 readOnly - 磁片的快取模式是唯讀的。 readWrite - 磁片的快取模式是讀取和寫入。

快取的預設值為 none。 如需快取選項的相關資訊,請參閱: https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. 可能的值包括:'None'、'ReadOnly'、'ReadWrite'

適用於