Sdílet prostřednictvím


StorageUsage Class

Definition

Describes Storage Resource Usage.

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

Properties

CurrentValue

Gets the current count of the allocated resources in the subscription.

Limit

Gets the maximum count of the resources that can be allocated in the subscription.

Name

Gets the name of the type of usage.

Unit

Gets the unit of measurement.

Explicit Interface Implementations

IJsonModel<StorageUsage>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<StorageUsage>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StorageUsage>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StorageUsage>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<StorageUsage>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to