Partager via


VirtualMachineInfo Class

Definition

Info about the current state of the virtual machine.

public class VirtualMachineInfo : System.ClientModel.Primitives.IJsonModel<Azure.Compute.Batch.VirtualMachineInfo>, System.ClientModel.Primitives.IPersistableModel<Azure.Compute.Batch.VirtualMachineInfo>
type VirtualMachineInfo = class
    interface IJsonModel<VirtualMachineInfo>
    interface IPersistableModel<VirtualMachineInfo>
Public Class VirtualMachineInfo
Implements IJsonModel(Of VirtualMachineInfo), IPersistableModel(Of VirtualMachineInfo)
Inheritance
VirtualMachineInfo
Implements

Properties

ImageReference

The reference to the Azure Virtual Machine's Marketplace Image.

ScaleSetVmResourceId

The resource ID of the Compute Node's current Virtual Machine Scale Set VM. Only defined if the Batch Account was created with its poolAllocationMode property set to 'UserSubscription'.

Explicit Interface Implementations

IJsonModel<VirtualMachineInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<VirtualMachineInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VirtualMachineInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VirtualMachineInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VirtualMachineInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to