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

GalleryImageUpdate 构造函数

定义

重载

GalleryImageUpdate()

初始化 GalleryImageUpdate 类的新实例。

GalleryImageUpdate(OperatingSystemTypes, OperatingSystemStateTypes, GalleryImageIdentifier, String, String, String, IDictionary<String, String>, String, String, String, String, HyperVGeneration, Nullable<DateTime>, RecommendedMachineConfiguration, Disallowed, ImagePurchasePlan, ProvisioningState)

初始化 GalleryImageUpdate 类的新实例。

GalleryImageUpdate()

初始化 GalleryImageUpdate 类的新实例。

public GalleryImageUpdate ();
Public Sub New ()

适用于

GalleryImageUpdate(OperatingSystemTypes, OperatingSystemStateTypes, GalleryImageIdentifier, String, String, String, IDictionary<String, String>, String, String, String, String, HyperVGeneration, Nullable<DateTime>, RecommendedMachineConfiguration, Disallowed, ImagePurchasePlan, ProvisioningState)

初始化 GalleryImageUpdate 类的新实例。

public GalleryImageUpdate (Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemTypes osType, Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemStateTypes osState, Microsoft.Azure.Management.Compute.Fluent.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, Microsoft.Azure.Management.Compute.Fluent.Models.HyperVGeneration hyperVGeneration = default, DateTime? endOfLifeDate = default, Microsoft.Azure.Management.Compute.Fluent.Models.RecommendedMachineConfiguration recommended = default, Microsoft.Azure.Management.Compute.Fluent.Models.Disallowed disallowed = default, Microsoft.Azure.Management.Compute.Fluent.Models.ImagePurchasePlan purchasePlan = default, Microsoft.Azure.Management.Compute.Fluent.Models.ProvisioningState provisioningState = default);
new Microsoft.Azure.Management.Compute.Fluent.Models.GalleryImageUpdate : Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemTypes * Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemStateTypes * Microsoft.Azure.Management.Compute.Fluent.Models.GalleryImageIdentifier * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * string * string * string * Microsoft.Azure.Management.Compute.Fluent.Models.HyperVGeneration * Nullable<DateTime> * Microsoft.Azure.Management.Compute.Fluent.Models.RecommendedMachineConfiguration * Microsoft.Azure.Management.Compute.Fluent.Models.Disallowed * Microsoft.Azure.Management.Compute.Fluent.Models.ImagePurchasePlan * Microsoft.Azure.Management.Compute.Fluent.Models.ProvisioningState -> Microsoft.Azure.Management.Compute.Fluent.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 HyperVGeneration = 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 ProvisioningState = Nothing)

参数

osType
OperatingSystemTypes

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

osState
OperatingSystemStateTypes

此属性允许用户指定在此映像下创建的虚拟机是“通用化”还是“专用”。 可能的值包括:“Generalized”、“Specialized”

id
String
name
String
type
String
tags
IDictionary<String,String>

资源标记

description
String

此库映像定义资源的说明。 此属性可更新。

eula
String

库映像定义的 Eula 协议。

privacyStatementUri
String

隐私声明 URI。

releaseNoteUri
String

发行说明 URI。

hyperVGeneration
HyperVGeneration

虚拟机的虚拟机监控程序生成。 仅适用于 OS 磁盘。 可能的值包括:“V1”、“V2”

endOfLifeDate
Nullable<DateTime>

库映像定义的生命周期结束日期。 此属性可用于解除授权。 此属性可更新。

disallowed
Disallowed
purchasePlan
ImagePurchasePlan
provisioningState
ProvisioningState

库映像定义的当前状态。

适用于