Share via


VirtualMachineScaleSetVmData Class

Definition

A class representing the VirtualMachineScaleSetVm data model. Describes a virtual machine scale set virtual machine.

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

Constructors

VirtualMachineScaleSetVmData(AzureLocation)

Initializes a new instance of VirtualMachineScaleSetVmData.

Properties

ETag

Etag is property returned in Update/Get response of the VMSS VM, so that customer can supply it in the header to ensure optimistic updates.

Id

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

(Inherited from ResourceData)
Identity

The identity of the virtual machine, if configured.

InstanceId

The virtual machine instance ID.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
Plan

Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click Want to deploy programmatically, Get Started ->. Enter any required information and then click Save.

Properties

Describes the properties of a virtual machine scale set virtual machine.

Resources

The virtual machine child extension resources.

ResourceType

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

(Inherited from ResourceData)
Sku

The virtual machine SKU.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)
Zones

The virtual machine zones.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<VirtualMachineScaleSetVmData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<VirtualMachineScaleSetVmData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VirtualMachineScaleSetVmData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VirtualMachineScaleSetVmData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VirtualMachineScaleSetVmData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to