/// <summary> /// The the async operation status. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='clusterName'> /// The name of the cluster. /// </param> /// <param name='operationId'> /// The long running operation id. /// </param> public static AsyncOperationResult GetAzureAsyncOperationStatus(this IClustersOperations operations, string resourceGroupName, string clusterName, string operationId) { return(operations.GetAzureAsyncOperationStatusAsync(resourceGroupName, clusterName, operationId).GetAwaiter().GetResult()); }