Condividi tramite


MachineLearningComputeExtensions.GetAvailableOperationsMachineLearningComputesAsync Method

Definition

Gets all available operations.

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

Parameters

tenantResource
TenantResource

The TenantResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

tenantResource is null.

Applies to