你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
GalleryImageUpdate 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GalleryImageUpdate()
初始化 GalleryImageUpdate 类的新实例。
public GalleryImageUpdate ();
Public Sub New ()
适用于
GalleryImageUpdate(OperatingSystemTypes, OperatingSystemStateTypes, GalleryImageIdentifier, String, String, String, IDictionary<String, String>, String, String, String, String, String, Nullable<DateTime>, RecommendedMachineConfiguration, Disallowed, ImagePurchasePlan, String, IList<GalleryImageFeature>, String)
初始化 GalleryImageUpdate 类的新实例。
public GalleryImageUpdate (Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes osType, Microsoft.Azure.Management.Compute.Models.OperatingSystemStateTypes osState, Microsoft.Azure.Management.Compute.Models.GalleryImageIdentifier identifier, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string description = default, string eula = default, string privacyStatementUri = default, string releaseNoteUri = default, string hyperVGeneration = default, DateTime? endOfLifeDate = default, Microsoft.Azure.Management.Compute.Models.RecommendedMachineConfiguration recommended = default, Microsoft.Azure.Management.Compute.Models.Disallowed disallowed = default, Microsoft.Azure.Management.Compute.Models.ImagePurchasePlan purchasePlan = default, string provisioningState = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.GalleryImageFeature> features = default, string architecture = default);
new Microsoft.Azure.Management.Compute.Models.GalleryImageUpdate : Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes * Microsoft.Azure.Management.Compute.Models.OperatingSystemStateTypes * Microsoft.Azure.Management.Compute.Models.GalleryImageIdentifier * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * string * string * string * string * Nullable<DateTime> * Microsoft.Azure.Management.Compute.Models.RecommendedMachineConfiguration * Microsoft.Azure.Management.Compute.Models.Disallowed * Microsoft.Azure.Management.Compute.Models.ImagePurchasePlan * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.GalleryImageFeature> * string -> Microsoft.Azure.Management.Compute.Models.GalleryImageUpdate
Public Sub New (osType As OperatingSystemTypes, osState As OperatingSystemStateTypes, identifier As GalleryImageIdentifier, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional description As String = Nothing, Optional eula As String = Nothing, Optional privacyStatementUri As String = Nothing, Optional releaseNoteUri As String = Nothing, Optional hyperVGeneration As String = Nothing, Optional endOfLifeDate As Nullable(Of DateTime) = Nothing, Optional recommended As RecommendedMachineConfiguration = Nothing, Optional disallowed As Disallowed = Nothing, Optional purchasePlan As ImagePurchasePlan = Nothing, Optional provisioningState As String = Nothing, Optional features As IList(Of GalleryImageFeature) = Nothing, Optional architecture As String = Nothing)
参数
- osType
- OperatingSystemTypes
此属性允许指定从托管映像创建 VM 时磁盘中包含的 OS 类型。 <br><br> 可能的值为: <br><br>Windows<br><br>Linux。 可能的值包括:“Windows”、“Linux”
- osState
- OperatingSystemStateTypes
此属性允许用户指定在此映像下创建的虚拟机是“通用化”还是“专用”。 可能的值包括:“Generalized”、“Specialized”
- identifier
- GalleryImageIdentifier
- id
- String
资源 ID
- name
- String
资源名称
- type
- String
资源类型
- tags
- IDictionary<String,String>
资源标记
- description
- String
此库映像定义资源的说明。 此属性可更新。
- eula
- String
库映像定义的 Eula 协议。
- privacyStatementUri
- String
隐私声明 URI。
- releaseNoteUri
- String
发行说明 URI。
- hyperVGeneration
- String
虚拟机的虚拟机监控程序生成。 仅适用于 OS 磁盘。 可能的值包括:“V1”、“V2”
- recommended
- RecommendedMachineConfiguration
- disallowed
- Disallowed
- purchasePlan
- ImagePurchasePlan
- provisioningState
- String
可能的值包括:“Creating”、“Updating”、“Failed”、“Succeeded”、“Deleting”、“Migrating”
- features
- IList<GalleryImageFeature>
库映像功能的列表。
- architecture
- String
可能的值包括:“x64”、“Arm64”