def list_at_subscription_scope(deployment_name, top:nil, custom_headers:nil)
      first_page = list_at_subscription_scope_as_lazy(deployment_name, top:top, custom_headers:custom_headers)
      first_page.get_all_items
    end
def list_at_subscription_scope(deployment_name, top:nil, custom_headers:nil)
      first_page = list_at_subscription_scope_as_lazy(deployment_name, top:top, custom_headers:custom_headers)
      first_page.get_all_items
    end
Gets all deployments operations for a deployment.

 @param deployment_name [String] The name of the deployment with the operation
 to get.
 @param top [Integer] The number of results to return.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [Array<DeploymentOperation>] operation results.