Share via


ContainerAppUsage Class

Definition

Describes Compute Resource Usage.

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

Properties

CurrentValue

The current usage of the resource.

Limit

The maximum permitted usage of the resource.

Name

The name of the type of usage.

Unit

An enum describing the unit of usage measurement.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerAppUsage>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerAppUsage>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerAppUsage>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerAppUsage>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerAppUsage>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to