def list_by_service_with_http_info(resource_group_name, service_name, scope:nil, custom_headers:nil)
      list_by_service_async(resource_group_name, service_name, scope:scope, custom_headers:custom_headers).value!
    end
def list_by_service_with_http_info(resource_group_name, service_name, scope:nil, custom_headers:nil)
      list_by_service_async(resource_group_name, service_name, scope:scope, custom_headers:custom_headers).value!
    end
Lists all the Global Policy definitions of the Api Management service.

 @param resource_group_name [String] The name of the resource group.
 @param service_name [String] The name of the API Management service.
 @param scope [PolicyScopeContract] Policy scope. Possible values include:
 'Tenant', 'Product', 'Api', 'Operation', 'All'
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [MsRestAzure::AzureOperationResponse] HTTP response information.