Partager via


PoolResourceStateCount Class

Definition

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

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

Properties

Count

The count of pooled resources in the given state.

State

The state that the pooled resources count is for.

Explicit Interface Implementations

IJsonModel<PoolResourceStateCount>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PoolResourceStateCount>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PoolResourceStateCount>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PoolResourceStateCount>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PoolResourceStateCount>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to