你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
GalleryImageInner 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GalleryImageInner()
初始化 GalleryImageInner 类的新实例。
public GalleryImageInner ();
Public Sub New ()
适用于
GalleryImageInner(String, OperatingSystemTypes, OperatingSystemStateTypes, GalleryImageIdentifier, String, String, String, IDictionary<String, String>, String, String, String, String, HyperVGeneration, Nullable<DateTime>, RecommendedMachineConfiguration, Disallowed, ImagePurchasePlan, ProvisioningState)
初始化 GalleryImageInner 类的新实例。
public GalleryImageInner (string location, 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.GalleryImageInner : string * 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.GalleryImageInner
Public Sub New (location As String, 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)
参数
- location
- String
- osType
- OperatingSystemTypes
此属性允许指定从托管映像创建 VM 时磁盘中包含的 OS 类型。 <br><br> 可能的值为: <br><br>Windows<br><br>Linux。 可能的值包括:“Windows”、“Linux”
- osState
- OperatingSystemStateTypes
此属性允许用户指定在此映像下创建的虚拟机是“通用化”还是“专用”。 可能的值包括:“Generalized”、“Specialized”
- identifier
- GalleryImageIdentifier
- 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”
- recommended
- RecommendedMachineConfiguration
- disallowed
- Disallowed
- purchasePlan
- ImagePurchasePlan
- provisioningState
- ProvisioningState
库映像定义的当前状态。