你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
QuotaProperties 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.
Quota properties for the specified resource.
public class QuotaProperties
public class QuotaProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Quota.Models.QuotaProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Quota.Models.QuotaProperties>
type QuotaProperties = class
type QuotaProperties = class
interface IJsonModel<QuotaProperties>
interface IPersistableModel<QuotaProperties>
Public Class QuotaProperties
Public Class QuotaProperties
Implements IJsonModel(Of QuotaProperties), IPersistableModel(Of QuotaProperties)
- Inheritance
-
QuotaProperties
- Implements
Constructors
QuotaProperties() |
Initializes a new instance of QuotaProperties. |
Properties
IsQuotaApplicable |
States if quota can be requested for this resource. |
Limit |
Resource quota limit properties. Please note QuotaLimitJsonObject is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include QuotaLimitObject. |
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:
|
QuotaPeriod |
The time period over which the quota usage values are summarized. For example: *P1D (per one day) *PT1M (per one minute) *PT1S (per one second). This parameter is optional because, for some resources like compute, the period is irrelevant. |
ResourceTypeName |
The name of the resource type. Optional field. |
Unit |
The quota units, 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. |
Explicit Interface Implementations
IJsonModel<QuotaProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<QuotaProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<QuotaProperties>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<QuotaProperties>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<QuotaProperties>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |