Share via


ImageInner 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 ImageInner : Microsoft.Azure.Management.ResourceManager.Fluent.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type ImageInner = class
    inherit Resource
Public Class ImageInner
Inherits Resource
Inheritance
Attributes

Constructors

ImageInner()

Initializes a new instance of the ImageInner class.

ImageInner(String, String, String, String, IDictionary<String,String>, SubResource, ImageStorageProfile, String, HyperVGenerationTypes)

Initializes a new instance of the ImageInner class.

Properties

HyperVGeneration

Gets the HyperVGenerationType of the VirtualMachine created from the image. Possible values include: 'V1', 'V2'

Id

Resource Id. Setter is protected because Id needs to be set in Network resources.

(Inherited from ProxyResource)
Location

Resource location

(Inherited from Resource)
Name

Resource name

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

Resource tags

(Inherited from Resource)
Type

Resource type

(Inherited from ProxyResource)

Methods

Validate()

Validate the object.

Applies to