AutomationManagementClientExtensions.GetOperationResultStatusAsync(IAutomationManagementClient, String) Method

Definition

The Get Operation Status operation returns the status of the specified operation. After calling an asynchronous operation, you can call Get Operation Status to determine whether the operation has succeeded, failed, or is still in progress.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.LongRunningOperationResultResponse> GetOperationResultStatusAsync (this Microsoft.Azure.Management.Automation.IAutomationManagementClient operations, string operationStatusLink);
static member GetOperationResultStatusAsync : Microsoft.Azure.Management.Automation.IAutomationManagementClient * string -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.LongRunningOperationResultResponse>
<Extension()>
Public Function GetOperationResultStatusAsync (operations As IAutomationManagementClient, operationStatusLink As String) As Task(Of LongRunningOperationResultResponse)

Parameters

operations
IAutomationManagementClient

Reference to the Microsoft.Azure.Management.Automation.IAutomationManagementClient.

operationStatusLink
String

Required. Location value returned by the Begin operation.

Returns

Task<LongRunningOperationResultResponse>

A standard service response for long running operations.

Applies to