Share via


VirtualMachineImage Class

Definition

Describes a Virtual Machine Image.

public class VirtualMachineImage : Azure.ResourceManager.Compute.Models.VirtualMachineImageBase, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.VirtualMachineImage>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.VirtualMachineImage>
type VirtualMachineImage = class
    inherit VirtualMachineImageBase
    interface IJsonModel<VirtualMachineImage>
    interface IPersistableModel<VirtualMachineImage>
Public Class VirtualMachineImage
Inherits VirtualMachineImageBase
Implements IJsonModel(Of VirtualMachineImage), IPersistableModel(Of VirtualMachineImage)
Inheritance
Implements

Constructors

VirtualMachineImage(String, AzureLocation)

Initializes a new instance of VirtualMachineImage.

Properties

Architecture

Specifies the Architecture Type.

AutomaticOSUpgradeSupported

Specifies whether automatic OS upgrade is supported on the image.

DataDiskImages

The list of data disk images information.

DisallowedVmDiskType

VM disk types which are disallowed.

ExtendedLocation

The extended location of the Virtual Machine.

(Inherited from VirtualMachineImageBase)
Features

Gets the features.

HyperVGeneration

Specifies the HyperVGeneration Type.

Id

Resource Id.

(Inherited from ComputeWriteableSubResourceData)
ImageDeprecationStatus

Describes image deprecation status properties on the image.

Location

The supported Azure location of the resource.

(Inherited from VirtualMachineImageBase)
Name

The name of the resource.

(Inherited from VirtualMachineImageBase)
OSDiskImageOperatingSystem

The operating system of the osDiskImage.

Plan

Used for establishing the purchase context of any 3rd Party artifact through MarketPlace.

Tags

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 VirtualMachineImageBase)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from VirtualMachineImageBase)

Explicit Interface Implementations

IJsonModel<ComputeWriteableSubResourceData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from ComputeWriteableSubResourceData)
IJsonModel<ComputeWriteableSubResourceData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ComputeWriteableSubResourceData)
IJsonModel<VirtualMachineImage>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<VirtualMachineImage>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<VirtualMachineImageBase>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from VirtualMachineImageBase)
IJsonModel<VirtualMachineImageBase>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from VirtualMachineImageBase)
IPersistableModel<ComputeWriteableSubResourceData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ComputeWriteableSubResourceData)
IPersistableModel<ComputeWriteableSubResourceData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from ComputeWriteableSubResourceData)
IPersistableModel<ComputeWriteableSubResourceData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ComputeWriteableSubResourceData)
IPersistableModel<VirtualMachineImage>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VirtualMachineImage>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<VirtualMachineImage>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<VirtualMachineImageBase>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from VirtualMachineImageBase)
IPersistableModel<VirtualMachineImageBase>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from VirtualMachineImageBase)
IPersistableModel<VirtualMachineImageBase>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from VirtualMachineImageBase)

Applies to