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

ImageUpdate 类

定义

源用户映像虚拟硬盘。 只能更新标记。

[Microsoft.Rest.Serialization.JsonTransformation]
public class ImageUpdate : Microsoft.Azure.Management.Compute.Models.UpdateResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type ImageUpdate = class
    inherit UpdateResource
Public Class ImageUpdate
Inherits UpdateResource
继承
ImageUpdate
属性

构造函数

ImageUpdate()

初始化 ImageUpdate 类的新实例。

ImageUpdate(IDictionary<String,String>, SubResource, ImageStorageProfile, String, String)

初始化 ImageUpdate 类的新实例。

属性

HyperVGeneration

获取或设置指定从映像创建的 VirtualMachine 的 HyperVGenerationType。 从 API 版本 2019-03-01 开始,如果映像源是 blob,则我们需要用户指定值,如果源是托管资源(如磁盘或快照),如果无法从源托管资源推断它,则可能需要用户指定属性。 可能的值包括:“V1”、“V2”

ProvisioningState

获取预配状态。

SourceVirtualMachine

获取或设置从中创建映像的源虚拟机。

StorageProfile

获取或设置指定虚拟机磁盘的存储设置。

Tags

获取或设置资源标记

(继承自 UpdateResource)

方法

Validate()

验证 对象。

适用于