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

GalleryImage.OsType 属性

定义

获取或设置此属性,允许指定从托管映像创建 VM 时磁盘中包含的 OS 的类型。 <br><br>可能的值为: <br><br> 窗户<br><br> Linux。 可能的值包括:“Windows”、“Linux”

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

属性值

属性
Newtonsoft.Json.JsonPropertyAttribute

适用于