Dela via


QuotaOperationsExtensions Class

Definition

Extension methods for QuotaOperations.

public static class QuotaOperationsExtensions
type QuotaOperationsExtensions = class
Public Module QuotaOperationsExtensions
Inheritance
QuotaOperationsExtensions

Methods

BeginCreateOrUpdate(IQuotaOperations, String, String, QuotaProperties)

Create or 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.
BeginCreateOrUpdateAsync(IQuotaOperations, String, String, QuotaProperties, CancellationToken)

Create or 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.
BeginUpdate(IQuotaOperations, String, String, QuotaProperties)

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.
BeginUpdateAsync(IQuotaOperations, String, String, QuotaProperties, CancellationToken)

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.
CreateOrUpdate(IQuotaOperations, String, String, QuotaProperties)

Create or 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.
CreateOrUpdateAsync(IQuotaOperations, String, String, QuotaProperties, CancellationToken)

Create or 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.
Get(IQuotaOperations, String, String)

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.

GetAsync(IQuotaOperations, String, String, CancellationToken)

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.

List(IQuotaOperations, String)

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.

ListAsync(IQuotaOperations, String, CancellationToken)

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.

ListNext(IQuotaOperations, String)

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.

ListNextAsync(IQuotaOperations, String, CancellationToken)

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.

Update(IQuotaOperations, String, String, QuotaProperties)

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.
UpdateAsync(IQuotaOperations, String, String, QuotaProperties, CancellationToken)

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.

Applies to