Dela via


QuotaExtensions.GetQuotaOperationsAsync Method

Definition

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

  • Request Path: /providers/Microsoft.Quota/operations
  • Operation Id: QuotaOperation_List
  • Default Api Version: 2023-06-01-preview
public static Azure.AsyncPageable<Azure.ResourceManager.Quota.Models.QuotaOperationResult> GetQuotaOperationsAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, System.Threading.CancellationToken cancellationToken = default);
static member GetQuotaOperationsAsync : Azure.ResourceManager.Resources.TenantResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Quota.Models.QuotaOperationResult>
<Extension()>
Public Function GetQuotaOperationsAsync (tenantResource As TenantResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of QuotaOperationResult)

Parameters

tenantResource
TenantResource

The TenantResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of QuotaOperationResult that may take multiple service requests to iterate over.

Exceptions

tenantResource is null.

Applies to