def list_global_by_subscription(custom_headers:nil)
      response = list_global_by_subscription_async(custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def list_global_by_subscription(custom_headers:nil)
      response = list_global_by_subscription_async(custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Get an aggregated list of all global event subscriptions under an Azure
 subscription

 List all aggregated global event subscriptions under a specific Azure
 subscription

 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [EventSubscriptionsListResult] operation results.