Share via


StorageCacheUsage Class

Definition

The usage and limit (quota) for a resource.

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

Properties

CurrentValue

The current usage of this resource.

Limit

The limit (quota) for this resource.

Name

Naming information for this resource type.

Unit

Unit that the limit and usages are expressed in, such as 'Count'.

Explicit Interface Implementations

IJsonModel<StorageCacheUsage>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<StorageCacheUsage>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StorageCacheUsage>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StorageCacheUsage>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<StorageCacheUsage>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to