Image Class

Definition

The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.

[Microsoft.Rest.Serialization.JsonTransformation]
public class Image : Microsoft.Azure.Management.Compute.Models.Resource
type Image = class
    inherit Resource
Public Class Image
Inherits Resource
Inheritance
System.Object
Image
Attributes

Constructors

Image()

Initializes a new instance of the Image class.

Properties

Id

Gets resource Id

(Inherited from Resource)
Location

Gets or sets resource location

(Inherited from Resource)
Name

Gets resource name

(Inherited from Resource)
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 Resource)
Type

Gets resource type

(Inherited from Resource)

Methods

Validate()

Validate the object.

Applies to