QuotaExtensions.GetAll(TenantResource, CancellationToken) Method

Definition

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

public static Azure.Pageable<Azure.ResourceManager.Quota.Models.QuotaOperationResult> GetAll(this Azure.ResourceManager.Resources.TenantResource tenantResource, System.Threading.CancellationToken cancellationToken = default);
static member GetAll : Azure.ResourceManager.Resources.TenantResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Quota.Models.QuotaOperationResult>
<Extension()>
Public Function GetAll (tenantResource As TenantResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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