ContainerInstanceUsage Class

Definition

A single usage result.

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

Properties

CurrentValue

The current usage of the resource.

Id

Id of the usage result.

Limit

The maximum permitted usage of the resource.

Name

The name object of the resource.

Unit

Unit of the usage result.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerInstanceUsage>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerInstanceUsage>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerInstanceUsage>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerInstanceUsage>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerInstanceUsage>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to