Share via


PoolVirtualMachineStateCount Class

Definition

Displays the counts of pooled virtual machines in each state, as known by the StandbyPool resource provider.

public class PoolVirtualMachineStateCount : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.StandbyPool.Models.PoolVirtualMachineStateCount>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.StandbyPool.Models.PoolVirtualMachineStateCount>
type PoolVirtualMachineStateCount = class
    interface IJsonModel<PoolVirtualMachineStateCount>
    interface IPersistableModel<PoolVirtualMachineStateCount>
Public Class PoolVirtualMachineStateCount
Implements IJsonModel(Of PoolVirtualMachineStateCount), IPersistableModel(Of PoolVirtualMachineStateCount)
Inheritance
PoolVirtualMachineStateCount
Implements

Properties

Count

The count of pooled virtual machines in the given state.

State

The state that the pooled virtual machines count is for.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<PoolVirtualMachineStateCount>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PoolVirtualMachineStateCount>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PoolVirtualMachineStateCount>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PoolVirtualMachineStateCount>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PoolVirtualMachineStateCount>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to