QuotaExtensions.GetAllAsync(TenantResource, CancellationToken) Method

Definition

List the operations for the provider <item> Mocking. To mock this method, please mock GetAllAsync(CancellationToken) instead. </item>

public static Azure.AsyncPageable<Azure.ResourceManager.Quota.Models.QuotaOperationResult> GetAllAsync(this Azure.ResourceManager.Resources.TenantResource tenantResource, System.Threading.CancellationToken cancellationToken = default);
static member GetAllAsync : Azure.ResourceManager.Resources.TenantResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Quota.Models.QuotaOperationResult>
<Extension()>
Public Function GetAllAsync (tenantResource As TenantResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of QuotaOperationResult)

Parameters

tenantResource
TenantResource

The TenantResource the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

tenantResource is null.

Applies to