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