Share via


Quota Class

Definition

Low-level API implementation for the Quota service. Microsoft Azure Quota Resource Provider

public class Quota
type Quota = class
Public Class Quota
Inheritance
Quota

Constructors

Quota()

Methods

QuotaCreateOrUpdate(String, String, ICurrentQuotaLimitBase, Func<HttpResponseMessage, Task<ICurrentQuotaLimitBase>,Task>, Func<HttpResponseMessage, Task<IExceptionResponse>,Task>, IEventListener, ISendAsync, SerializationMode)

Update the quota limit for the specified resource with the requested value. To update the quota, follow these steps:

  1. Use the GET operation for quotas and usages to determine how much quota remains for the specific resource and to calculate the new quota limit. These steps are detailed in this example.
  2. Use this PUT operation to update the quota limit. Please check the URI in location header for the detailed status of the request.
QuotaCreateOrUpdateViaIdentity(String, ICurrentQuotaLimitBase, Func<HttpResponseMessage,Task<ICurrentQuotaLimitBase>,Task>, Func<HttpResponseMessage,Task<IExceptionResponse>,Task>, IEventListener, ISendAsync, SerializationMode)

Update the quota limit for the specified resource with the requested value. To update the quota, follow these steps:

  1. Use the GET operation for quotas and usages to determine how much quota remains for the specific resource and to calculate the new quota limit. These steps are detailed in this example.
  2. Use this PUT operation to update the quota limit. Please check the URI in location header for the detailed status of the request.
QuotaCreateOrUpdateViaIdentityWithResult(String, ICurrentQuotaLimitBase, IEventListener, ISendAsync, SerializationMode)
QuotaCreateOrUpdateViaJsonString(String, String, String, Func<HttpResponseMessage, Task<ICurrentQuotaLimitBase>,Task>, Func<HttpResponseMessage, Task<IExceptionResponse>,Task>, IEventListener, ISendAsync)

Update the quota limit for the specified resource with the requested value. To update the quota, follow these steps:

  1. Use the GET operation for quotas and usages to determine how much quota remains for the specific resource and to calculate the new quota limit. These steps are detailed in this example.
  2. Use this PUT operation to update the quota limit. Please check the URI in location header for the detailed status of the request.
QuotaCreateOrUpdateViaJsonStringWithResult(String, String, String, IEventListener, ISendAsync)
QuotaCreateOrUpdateWithResult(String, String, ICurrentQuotaLimitBase, IEventListener, ISendAsync, SerializationMode)
QuotaGet(String, String, Func<HttpResponseMessage,Task<ICurrentQuotaLimitBase>, Task>, Func<HttpResponseMessage,Task<IExceptionResponse>,Task>, IEventListener, ISendAsync)

Get the quota limit of a resource. The response can be used to determine the remaining quota to calculate a new quota limit that can be submitted with a PUT request.

QuotaGetViaIdentity(String, Func<HttpResponseMessage,Task<ICurrentQuotaLimitBase>, Task>, Func<HttpResponseMessage,Task<IExceptionResponse>,Task>, IEventListener, ISendAsync)

Get the quota limit of a resource. The response can be used to determine the remaining quota to calculate a new quota limit that can be submitted with a PUT request.

QuotaGetViaIdentityWithResult(String, IEventListener, ISendAsync)
QuotaGetWithResult(String, String, IEventListener, ISendAsync)
QuotaList(String, Func<HttpResponseMessage,Task<IQuotaLimits>, Task>, Func<HttpResponseMessage,Task<IExceptionResponse>,Task>, IEventListener, ISendAsync)

Get a list of current quota limits of all resources for the specified scope. The response from this GET operation can be leveraged to submit requests to update a quota.

QuotaListViaIdentity(String, Func<HttpResponseMessage,Task<IQuotaLimits>, Task>, Func<HttpResponseMessage,Task<IExceptionResponse>,Task>, IEventListener, ISendAsync)

Get a list of current quota limits of all resources for the specified scope. The response from this GET operation can be leveraged to submit requests to update a quota.

QuotaListViaIdentityWithResult(String, IEventListener, ISendAsync)
QuotaListWithResult(String, IEventListener, ISendAsync)
QuotaOperationList(Func<HttpResponseMessage,Task<IOperationList>, Task>, Func<HttpResponseMessage,Task<IExceptionResponse>,Task>, IEventListener, ISendAsync)

List all the operations supported by the Microsoft.Quota resource provider.

QuotaOperationListViaIdentity(String, Func<HttpResponseMessage, Task<IOperationList>,Task>, Func<HttpResponseMessage,Task<IExceptionResponse>, Task>, IEventListener, ISendAsync)

List all the operations supported by the Microsoft.Quota resource provider.

QuotaOperationListViaIdentityWithResult(String, IEventListener, ISendAsync)
QuotaOperationListWithResult(IEventListener, ISendAsync)
QuotaRequestStatusGet(String, String, Func<HttpResponseMessage, Task<IQuotaRequestDetails>,Task>, Func<HttpResponseMessage,Task<IExceptionResponse>, Task>, IEventListener, ISendAsync)

Get the quota request details and status by quota request ID for the resources of the resource provider at a specific location. The quota request ID id is returned in the response of the PUT operation.

QuotaRequestStatusGetViaIdentity(String, Func<HttpResponseMessage, Task<IQuotaRequestDetails>,Task>, Func<HttpResponseMessage,Task<IExceptionResponse>, Task>, IEventListener, ISendAsync)

Get the quota request details and status by quota request ID for the resources of the resource provider at a specific location. The quota request ID id is returned in the response of the PUT operation.

QuotaRequestStatusGetViaIdentityWithResult(String, IEventListener, ISendAsync)
QuotaRequestStatusGetWithResult(String, String, IEventListener, ISendAsync)
QuotaRequestStatusList(String, String, Nullable<Int32>, String, Func<HttpResponseMessage,Task<IQuotaRequestDetailsList>,Task>, Func<HttpResponseMessage,Task<IExceptionResponse>,Task>, IEventListener, ISendAsync)

For the specified scope, get the current quota requests for a one year period ending at the time is made. Use the oData filter to select quota requests.

QuotaRequestStatusListViaIdentity(String, String, Nullable<Int32>, String, Func<HttpResponseMessage,Task<IQuotaRequestDetailsList>, Task>, Func<HttpResponseMessage,Task<IExceptionResponse>,Task>, IEventListener, ISendAsync)

For the specified scope, get the current quota requests for a one year period ending at the time is made. Use the oData filter to select quota requests.

QuotaRequestStatusListViaIdentityWithResult(String, String, Nullable<Int32>, String, IEventListener, ISendAsync)
QuotaRequestStatusListWithResult(String, String, Nullable<Int32>, String, IEventListener, ISendAsync)
QuotaUpdate(String, String, ICurrentQuotaLimitBase, Func<HttpResponseMessage, Task<ICurrentQuotaLimitBase>,Task>, Func<HttpResponseMessage, Task<IExceptionResponse>,Task>, IEventListener, ISendAsync, SerializationMode)

Update the quota limit for a specific resource to the specified value:

  1. Use the Usages-GET and Quota-GET operations to determine the remaining quota for the specific resource and to calculate the new quota limit. These steps are detailed in this example.
  2. Use this PUT operation to update the quota limit. Please check the URI in location header for the detailed status of the request.
QuotaUpdateViaIdentity(String, ICurrentQuotaLimitBase, Func<HttpResponseMessage, Task<ICurrentQuotaLimitBase>,Task>, Func<HttpResponseMessage, Task<IExceptionResponse>,Task>, IEventListener, ISendAsync, SerializationMode)

Update the quota limit for a specific resource to the specified value:

  1. Use the Usages-GET and Quota-GET operations to determine the remaining quota for the specific resource and to calculate the new quota limit. These steps are detailed in this example.
  2. Use this PUT operation to update the quota limit. Please check the URI in location header for the detailed status of the request.
QuotaUpdateViaIdentityWithResult(String, ICurrentQuotaLimitBase, IEventListener, ISendAsync, SerializationMode)
QuotaUpdateViaJsonString(String, String, String, Func<HttpResponseMessage, Task<ICurrentQuotaLimitBase>,Task>, Func<HttpResponseMessage, Task<IExceptionResponse>,Task>, IEventListener, ISendAsync)

Update the quota limit for a specific resource to the specified value:

  1. Use the Usages-GET and Quota-GET operations to determine the remaining quota for the specific resource and to calculate the new quota limit. These steps are detailed in this example.
  2. Use this PUT operation to update the quota limit. Please check the URI in location header for the detailed status of the request.
QuotaUpdateViaJsonStringWithResult(String, String, String, IEventListener, ISendAsync)
QuotaUpdateWithResult(String, String, ICurrentQuotaLimitBase, IEventListener, ISendAsync, SerializationMode)
UsagesGet(String, String, Func<HttpResponseMessage,Task<ICurrentUsagesBase>, Task>, Func<HttpResponseMessage,Task<IExceptionResponse>,Task>, IEventListener, ISendAsync)

Get the current usage of a resource.

UsagesGetViaIdentity(String, Func<HttpResponseMessage,Task<ICurrentUsagesBase>, Task>, Func<HttpResponseMessage,Task<IExceptionResponse>,Task>, IEventListener, ISendAsync)

Get the current usage of a resource.

UsagesGetViaIdentityWithResult(String, IEventListener, ISendAsync)
UsagesGetWithResult(String, String, IEventListener, ISendAsync)
UsagesList(String, Func<HttpResponseMessage,Task<IUsagesLimits>, Task>, Func<HttpResponseMessage,Task<IExceptionResponse>,Task>, IEventListener, ISendAsync)

Get a list of current usage for all resources for the scope specified.

UsagesListViaIdentity(String, Func<HttpResponseMessage,Task<IUsagesLimits>, Task>, Func<HttpResponseMessage,Task<IExceptionResponse>,Task>, IEventListener, ISendAsync)

Get a list of current usage for all resources for the scope specified.

UsagesListViaIdentityWithResult(String, IEventListener, ISendAsync)
UsagesListWithResult(String, IEventListener, ISendAsync)

Applies to