/// <summary> /// 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. /// </summary> /// <param name='operations'> /// Reference to the /// Microsoft.Azure.Management.SiteRecovery.IPolicyOperations. /// </param> /// <param name='operationStatusLink'> /// Required. Location value returned by the Begin operation. /// </param> /// <returns> /// A standard service response for long running operations. /// </returns> public static Task <UpdatePolicyOperationResponse> GetUpdateStatusAsync(this IPolicyOperations operations, string operationStatusLink) { return(operations.GetUpdateStatusAsync(operationStatusLink, CancellationToken.None)); }