def list(location, resource_group_name, custom_headers:nil)
      first_page = list_as_lazy(location, resource_group_name, custom_headers:custom_headers)
      first_page.get_all_items
    end
def list(location, resource_group_name, custom_headers:nil)
      first_page = list_as_lazy(location, resource_group_name, custom_headers:custom_headers)
      first_page.get_all_items
    end
Gets all of the available subnet delegations for this resource group in this
 region.

 @param location [String] The location of the domain name.
 @param resource_group_name [String] The name of the resource group.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [Array<AvailableDelegation>] operation results.