Share via


MockableApiManagementSubscriptionResource.GetOperationsResultAsync Method

Definition

Returns operation results for long running operations executing DELETE or PATCH on the resource.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ApiManagement/locations/{___location}/operationResults/{operationId}
  • Operation Id: OperationsResults_Get
  • Default Api Version: 2024-05-01
public virtual System.Threading.Tasks.Task<Azure.Response> GetOperationsResultAsync(Azure.Core.AzureLocation ___location, string operationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetOperationsResultAsync : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.GetOperationsResultAsync : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function GetOperationsResultAsync (___location As AzureLocation, operationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

___location
AzureLocation

The name of the Azure region.

operationId
String

The ID of an ongoing async operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

operationId is an empty string, and was expected to be non-empty.

operationId is null.

Applies to