다음을 통해 공유


ImageUpdate Constructors

Definition

Overloads

ImageUpdate()

Initializes a new instance of the ImageUpdate class.

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

Initializes a new instance of the ImageUpdate class.

ImageUpdate()

Initializes a new instance of the ImageUpdate class.

public ImageUpdate ();
Public Sub New ()

Applies to

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

Initializes a new instance of the ImageUpdate class.

public ImageUpdate (System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Compute.Models.SubResource sourceVirtualMachine = default, Microsoft.Azure.Management.Compute.Models.ImageStorageProfile storageProfile = default, string provisioningState = default, string hyperVGeneration = default);
new Microsoft.Azure.Management.Compute.Models.ImageUpdate : System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Compute.Models.SubResource * Microsoft.Azure.Management.Compute.Models.ImageStorageProfile * string * string -> Microsoft.Azure.Management.Compute.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 String = Nothing)

Parameters

tags
IDictionary<String,String>

Resource tags

sourceVirtualMachine
SubResource

The source virtual machine from which Image is created.

storageProfile
ImageStorageProfile

Specifies the storage settings for the virtual machine disks.

provisioningState
String

The provisioning state.

hyperVGeneration
String

Specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed resource. Possible values include: 'V1', 'V2'

Applies to