CdnUsage Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Output of check resource usage API. Serialized Name: ResourceUsage
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. Serialized Name: ResourceUsage.currentValue |
Limit |
Quota of the specified resource type. Serialized Name: ResourceUsage.limit |
ResourceType |
Resource type for which the usage is provided. Serialized Name: ResourceUsage.resourceType |
Unit |
Unit of the usage. e.g. count. Serialized Name: ResourceUsage.unit |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
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. |