コード例 #1
0
 /// <summary>
 /// Get operation status
 /// </summary>
 /// <remarks>
 /// Get the status of an operation
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group. The name is case insensitive.
 /// </param>
 /// <param name='workspaceName'>
 /// The name of the workspace
 /// </param>
 /// <param name='operationId'>
 /// Operation ID
 /// </param>
 public static object GetAzureAsyncHeaderResult(this IOperations operations, string resourceGroupName, string workspaceName, string operationId)
 {
     return(operations.GetAzureAsyncHeaderResultAsync(resourceGroupName, workspaceName, operationId).GetAwaiter().GetResult());
 }