Udostępnij za pośrednictwem


ManagementPartnerExtensions.GetOperations Method

Definition

List all the operations.

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

Parameters

tenantResource
TenantResource

The TenantResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

tenantResource is null.

Applies to