Quota 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.
Describes a quota for or usage details about a resource.
public class Quota : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataMigration.Models.Quota>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataMigration.Models.Quota>
type Quota = class
interface IJsonModel<Quota>
interface IPersistableModel<Quota>
Public Class Quota
Implements IJsonModel(Of Quota), IPersistableModel(Of Quota)
- Inheritance
-
Quota
- Implements
Properties
CurrentValue |
The current value of the quota. If null or missing, the current value cannot be determined in the context of the request. |
Id |
The resource ID of the quota object. |
Limit |
The maximum value of the quota. If null or missing, the quota has no maximum, in which case it merely tracks usage. |
Name |
The name of the quota. |
Unit |
The unit for the quota, such as Count, Bytes, BytesPerSecond, etc. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<Quota>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<Quota>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<Quota>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<Quota>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<Quota>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |