/// <summary>
 /// Gets all deployments operations for a deployment.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='deploymentName'>
 /// The name of the deployment with the operation to get.
 /// </param>
 /// <param name='top'>
 /// The number of results to return.
 /// </param>
 public static IPage <DeploymentOperation> ListAtSubscriptionScope(this IDeploymentOperations operations, string deploymentName, int?top = default(int?))
 {
     return(operations.ListAtSubscriptionScopeAsync(deploymentName, top).GetAwaiter().GetResult());
 }