你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ImageUpdate 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ImageUpdate() |
初始化 ImageUpdate 类的新实例。 |
ImageUpdate(IDictionary<String,String>, SubResource, ImageStorageProfile, String, HyperVGenerationTypes) |
初始化 ImageUpdate 类的新实例。 |
ImageUpdate()
初始化 ImageUpdate 类的新实例。
public ImageUpdate ();
Public Sub New ()
适用于
ImageUpdate(IDictionary<String,String>, SubResource, ImageStorageProfile, String, HyperVGenerationTypes)
初始化 ImageUpdate 类的新实例。
public ImageUpdate (System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.ResourceManager.Fluent.SubResource sourceVirtualMachine = default, Microsoft.Azure.Management.Compute.Fluent.Models.ImageStorageProfile storageProfile = default, string provisioningState = default, Microsoft.Azure.Management.Compute.Fluent.Models.HyperVGenerationTypes hyperVGeneration = default);
new Microsoft.Azure.Management.Compute.Fluent.Models.ImageUpdate : System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.ResourceManager.Fluent.SubResource * Microsoft.Azure.Management.Compute.Fluent.Models.ImageStorageProfile * string * Microsoft.Azure.Management.Compute.Fluent.Models.HyperVGenerationTypes -> Microsoft.Azure.Management.Compute.Fluent.Models.ImageUpdate
Public Sub New (Optional tags As IDictionary(Of String, String) = Nothing, Optional sourceVirtualMachine As SubResource = Nothing, Optional storageProfile As ImageStorageProfile = Nothing, Optional provisioningState As String = Nothing, Optional hyperVGeneration As HyperVGenerationTypes = Nothing)
参数
- tags
- IDictionary<String,String>
资源标记
- sourceVirtualMachine
- SubResource
从中创建映像的源虚拟机。
- storageProfile
- ImageStorageProfile
指定虚拟机磁盘的存储设置。
- provisioningState
- String
预配状态。
- hyperVGeneration
- HyperVGenerationTypes
获取从映像创建的 VirtualMachine 的 HyperVGenerationType。 可能的值包括:“V1”、“V2”