Delen via


VirtualMachineImage Class

Definition

Describes a Virtual Machine Image.

[Microsoft.Rest.Serialization.JsonTransformation]
public class VirtualMachineImage : Microsoft.Azure.Management.Compute.Models.VirtualMachineImageResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type VirtualMachineImage = class
    inherit VirtualMachineImageResource
Public Class VirtualMachineImage
Inherits VirtualMachineImageResource
Inheritance
Attributes

Constructors

VirtualMachineImage()

Initializes a new instance of the VirtualMachineImage class.

VirtualMachineImage(String, String, String, IDictionary<String, String>, ExtendedLocation, PurchasePlan, OSDiskImage, IList<DataDiskImage>, AutomaticOSUpgradeProperties, String, DisallowedConfiguration, IList<VirtualMachineImageFeature>, String, ImageDeprecationStatus)

Initializes a new instance of the VirtualMachineImage class.

VirtualMachineImage(String, String, String, IDictionary<String, String>, PurchasePlan, OSDiskImage, IList<DataDiskImage>, AutomaticOSUpgradeProperties, String, DisallowedConfiguration)

Initializes a new instance of the VirtualMachineImage class.

VirtualMachineImage(String, String, String, IDictionary<String, String>, PurchasePlan, OSDiskImage, IList<DataDiskImage>, AutomaticOSUpgradeProperties, String)
VirtualMachineImage(String, String, String, IDictionary<String, String>, PurchasePlan, OSDiskImage, IList<DataDiskImage>, AutomaticOSUpgradeProperties)
VirtualMachineImage(String, String, String, IDictionary<String,String>, PurchasePlan, OSDiskImage, IList<DataDiskImage>)
VirtualMachineImage(String, String, String, IDictionary<String,String>, PurchasePlan, OSDiskImage)
VirtualMachineImage(String, String, String, IDictionary<String,String>, PurchasePlan)

Properties

Architecture

Gets or sets possible values include: 'x64', 'Arm64'

AutomaticOSUpgradeProperties
DataDiskImages
Disallowed

Gets or sets specifies disallowed configuration for the VirtualMachine created from the image

ExtendedLocation

Gets or sets the extended location of the Virtual Machine.

(Inherited from VirtualMachineImageResource)
Features
HyperVGeneration

Gets or sets possible values include: 'V1', 'V2'

Id

Gets or sets resource Id

(Inherited from SubResource)
ImageDeprecationStatus
Location

Gets or sets the supported Azure location of the resource.

(Inherited from VirtualMachineImageResource)
Name

Gets or sets the name of the resource.

(Inherited from VirtualMachineImageResource)
OsDiskImage
Plan
Tags

Gets or sets specifies the tags that are assigned to the virtual machine. For more information about using tags, see Using tags to organize your Azure resources.

(Inherited from VirtualMachineImageResource)

Methods

Validate()

Validate the object.

Applies to