Share via


DataMigrationQuota Class

Definition

Describes a quota for or usage details about a resource.

public class DataMigrationQuota : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataMigration.Models.DataMigrationQuota>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataMigration.Models.DataMigrationQuota>
type DataMigrationQuota = class
    interface IJsonModel<DataMigrationQuota>
    interface IPersistableModel<DataMigrationQuota>
Public Class DataMigrationQuota
Implements IJsonModel(Of DataMigrationQuota), IPersistableModel(Of DataMigrationQuota)
Inheritance
DataMigrationQuota
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<DataMigrationQuota>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataMigrationQuota>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataMigrationQuota>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataMigrationQuota>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataMigrationQuota>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to