你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Snapshot.DiskSizeGB 属性

定义

获取或设置如果 creationData.createOption 为空,则此字段是必需的,它指示要创建的磁盘的大小。 如果存在此字段用于更新或创建其他选项,则表示调整大小。 仅当磁盘未附加到正在运行的 VM 时,才允许调整大小,并且只能增加磁盘的大小。

[Newtonsoft.Json.JsonProperty(PropertyName="properties.diskSizeGB")]
public int? DiskSizeGB { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="properties.diskSizeGB")>]
member this.DiskSizeGB : Nullable<int> with get, set
Public Property DiskSizeGB As Nullable(Of Integer)

属性值

属性
Newtonsoft.Json.JsonPropertyAttribute

适用于