def list_resource_usage(resource_group_name, profile_name, endpoint_name, custom_headers:nil)
      first_page = list_resource_usage_as_lazy(resource_group_name, profile_name, endpoint_name, custom_headers:custom_headers)
      first_page.get_all_items
    end
def list_resource_usage(resource_group_name, profile_name, endpoint_name, custom_headers:nil)
      first_page = list_resource_usage_as_lazy(resource_group_name, profile_name, endpoint_name, custom_headers:custom_headers)
      first_page.get_all_items
    end
Checks the quota and usage of geo filters and custom domains under the given
 endpoint.

 @param resource_group_name [String] Name of the Resource group within the
 Azure subscription.
 @param profile_name [String] Name of the CDN profile which is unique within
 the resource group.
 @param endpoint_name [String] Name of the endpoint under the profile which is
 unique globally.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [Array<ResourceUsage>] operation results.