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