Beispiel #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='extensionName'>
 /// The name of the cluster extension.
 /// </param>
 /// <param name='operationId'>
 /// The long running operation id.
 /// </param>
 public static AsyncOperationResult GetAzureAsyncOperationStatus(this IExtensionsOperations operations, string resourceGroupName, string clusterName, string extensionName, string operationId)
 {
     return(operations.GetAzureAsyncOperationStatusAsync(resourceGroupName, clusterName, extensionName, operationId).GetAwaiter().GetResult());
 }