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

GalleryImageInner 类

定义

指定要创建或更新的库映像定义的相关信息。

[Microsoft.Rest.Serialization.JsonTransformation]
public class GalleryImageInner : Microsoft.Azure.Management.ResourceManager.Fluent.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type GalleryImageInner = class
    inherit Resource
Public Class GalleryImageInner
Inherits Resource
继承
GalleryImageInner
属性

构造函数

GalleryImageInner()

初始化 GalleryImageInner 类的新实例。

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

初始化 GalleryImageInner 类的新实例。

属性

Description

获取或设置此库映像定义资源的说明。 此属性可更新。

Disallowed

指定要创建或更新的库映像定义的相关信息。

EndOfLifeDate

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

Eula

获取或设置库映像定义的 Eula 协议。

HyperVGeneration

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

Id

资源 ID。Setter 受保护,因为需要在网络资源中设置 ID。

(继承自 ProxyResource)
Identifier

指定要创建或更新的库映像定义的相关信息。

Location

资源位置

(继承自 Resource)
Name

资源名称

(继承自 ProxyResource)
OsState

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

OsType

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

PrivacyStatementUri

获取或设置隐私声明 URI。

ProvisioningState

获取库映像定义的当前状态。

PurchasePlan

指定要创建或更新的库映像定义的相关信息。

Recommended

指定要创建或更新的库映像定义的相关信息。

ReleaseNoteUri

获取或设置发行说明 URI。

Tags

资源标记

(继承自 Resource)
Type

资源类型

(继承自 ProxyResource)

方法

Validate()

验证 对象。

适用于