/// <summary>
 /// Gets a deployments operation.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='deploymentName'>
 /// The name of the deployment.
 /// </param>
 /// <param name='operationId'>
 /// The ID of the operation to get.
 /// </param>
 public static DeploymentOperation GetAtTenantScope(this IDeploymentOperations operations, string deploymentName, string operationId)
 {
     return(operations.GetAtTenantScopeAsync(deploymentName, operationId).GetAwaiter().GetResult());
 }