Share via


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>
public class CdnUsage
type CdnUsage = class
    interface IJsonModel<CdnUsage>
    interface IPersistableModel<CdnUsage>
type CdnUsage = class
Public Class CdnUsage
Implements IJsonModel(Of CdnUsage), IPersistableModel(Of CdnUsage)
Public Class CdnUsage
Inheritance
CdnUsage
Implements

Properties

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.

Explicit Interface Implementations

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