共用方式為


VirtualMachineExtensionImageData Class

Definition

A class representing the VirtualMachineExtensionImage data model. Describes a Virtual Machine Extension Image.

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

Constructors

VirtualMachineExtensionImageData(AzureLocation)

Initializes a new instance of VirtualMachineExtensionImageData.

Properties

ComputeRole

The type of role (IaaS or PaaS) this extension supports.

HandlerSchema

The schema defined by publisher, where extension consumers should provide settings in a matching schema.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
OperatingSystem

The operating system this extension supports.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
SupportsMultipleExtensions

Whether the handler can support multiple extensions.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)
VirtualMachineScaleSetEnabled

Whether the extension can be used on xRP VMScaleSets. By default existing extensions are usable on scalesets, but there might be cases where a publisher wants to explicitly indicate the extension is only enabled for CRP VMs but not VMSS.

Methods

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

Explicit Interface Implementations

IJsonModel<VirtualMachineExtensionImageData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<VirtualMachineExtensionImageData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VirtualMachineExtensionImageData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VirtualMachineExtensionImageData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VirtualMachineExtensionImageData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to