CdnUsage Class

Definition

Output of check resource usage API.

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

Properties

Name Description
CurrentValue

Actual value of usage on the specified resource type.

Limit

Quota of the specified resource type.

ResourceType

Resource type for which the usage is provided.

Unit

Unit of the usage. e.g. count.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<CdnUsage>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CdnUsage>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CdnUsage>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CdnUsage>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CdnUsage>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to