Share via


VirtualMachineStatusCodeCount Class

Definition

The status code and count of the virtual machine scale set instance view status summary.

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

Properties

Code

The instance view status code.

Count

The number of instances having a particular status code.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<VirtualMachineStatusCodeCount>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<VirtualMachineStatusCodeCount>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VirtualMachineStatusCodeCount>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VirtualMachineStatusCodeCount>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VirtualMachineStatusCodeCount>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to