Partilhar via


QuotaUsagesProperties Class

Definition

Usage properties for the specified resource.

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

Properties

IsQuotaApplicable

States if quota can be requested for this resource.

Name

Resource name provided by the resource provider. Use this property name when requesting quota.

Properties

Additional properties for the specific resource provider.

To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

QuotaPeriod

The time period for the summary of the quota usage values. For example: *P1D (per one day) *PT1M (per one minute) *PT1S (per one second). This parameter is optional because it is not relevant for all resources such as compute.

ResourceTypeName

The name of the resource type. Optional field.

Unit

The units for the quota usage, such as Count and Bytes. When requesting quota, use the unit value returned in the GET response in the request body of your PUT operation.

Usages

The quota limit properties for this resource.

Explicit Interface Implementations

IJsonModel<QuotaUsagesProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<QuotaUsagesProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<QuotaUsagesProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<QuotaUsagesProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<QuotaUsagesProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to