Пример #1
0
 /// <summary>
 /// Gets 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='applicationName'>
 /// The constant value for the application name.
 /// </param>
 /// <param name='operationId'>
 /// The long running operation id.
 /// </param>
 public static AsyncOperationResult GetAzureAsyncOperationStatus(this IApplicationsOperations operations, string resourceGroupName, string clusterName, string applicationName, string operationId)
 {
     return(operations.GetAzureAsyncOperationStatusAsync(resourceGroupName, clusterName, applicationName, operationId).GetAwaiter().GetResult());
 }