Condividi tramite


ManagementPartnerExtensions.GetOperationsAsync Method

Definition

List all the operations.

  • Request Path: /providers/Microsoft.ManagementPartner/operations
  • Operation Id: Operation_List
public static Azure.AsyncPageable<Azure.ResourceManager.ManagementPartner.Models.OperationResponse> GetOperationsAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, System.Threading.CancellationToken cancellationToken = default);
static member GetOperationsAsync : Azure.ResourceManager.Resources.TenantResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ManagementPartner.Models.OperationResponse>
<Extension()>
Public Function GetOperationsAsync (tenantResource As TenantResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of OperationResponse)

Parameters

tenantResource
TenantResource

The TenantResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

tenantResource is null.

Applies to