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

OSDisk.OsType 属性

定义

获取或设置此属性允许指定从用户映像或专用 VHD 创建 VM 时磁盘中包含的 OS 类型。 可能的值包括:Windows、Linux。 可能的值包括:“Windows”、“Linux”

[Newtonsoft.Json.JsonProperty(PropertyName="osType")]
public Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes? OsType { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="osType")>]
member this.OsType : Nullable<Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes> with get, set
Public Property OsType As Nullable(Of OperatingSystemTypes)

属性值

属性
Newtonsoft.Json.JsonPropertyAttribute

适用于