Share via


ImageUpdate Class

Definition

The source user image virtual hard disk. Only tags may be updated.

[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
Inheritance
ImageUpdate
Attributes

Constructors

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.

Properties

HyperVGeneration

Gets or sets 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'

ProvisioningState

Gets the provisioning state.

SourceVirtualMachine

Gets or sets the source virtual machine from which Image is created.

StorageProfile

Gets or sets specifies the storage settings for the virtual machine disks.

Tags

Gets or sets resource tags

(Inherited from UpdateResource)

Methods

Validate()

Validate the object.

Applies to