def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
      response = get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
      response = get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
This operation retrieves a list of routes the virtual network gateway has
 learned, including routes learned from BGP peers.

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

 @return [GatewayRouteListResult] operation results.