共用方式為


FarmBeatResource.GetOperationResultAsync(String, CancellationToken) Method

Definition

Get operationResults for a FarmBeats resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}/operationResults/{operationResultsId}
  • Operation Id: FarmBeatsModels_GetOperationResult
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AgFoodPlatform.Models.ArmAsyncOperation>> GetOperationResultAsync (string operationResultsId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetOperationResultAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AgFoodPlatform.Models.ArmAsyncOperation>>
override this.GetOperationResultAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AgFoodPlatform.Models.ArmAsyncOperation>>
Public Overridable Function GetOperationResultAsync (operationResultsId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ArmAsyncOperation))

Parameters

operationResultsId
String

The operation results id.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

operationResultsId is null.

Applies to