Share via


FarmBeatResource.GetOperationResult(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 Azure.Response<Azure.ResourceManager.AgFoodPlatform.Models.ArmAsyncOperation> GetOperationResult (string operationResultsId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetOperationResult : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AgFoodPlatform.Models.ArmAsyncOperation>
override this.GetOperationResult : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AgFoodPlatform.Models.ArmAsyncOperation>
Public Overridable Function GetOperationResult (operationResultsId As String, Optional cancellationToken As CancellationToken = Nothing) As 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