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

Image.HyperVGeneration 属性

定义

获取或设置指定从映像创建的 VirtualMachine 的 HyperVGenerationType。 从 API 版本 2019-03-01 开始,如果映像源是 Blob,则需要用户指定值,如果源是托管资源(如磁盘或快照),则如果我们无法从源托管资源推断它,则可能需要用户指定 属性。 可能的值包括:“V1”、“V2”

[Newtonsoft.Json.JsonProperty(PropertyName="properties.hyperVGeneration")]
public string HyperVGeneration { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="properties.hyperVGeneration")>]
member this.HyperVGeneration : string with get, set
Public Property HyperVGeneration As String

属性值

属性
Newtonsoft.Json.JsonPropertyAttribute

适用于