Partilhar via


StatusCodeCount Class

Definition

The status code and count of the cloud service instance view statuses.

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

Properties

Code

The instance view status code.

Count

Number of instances having this status code.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<StatusCodeCount>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<StatusCodeCount>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StatusCodeCount>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StatusCodeCount>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<StatusCodeCount>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to