def list_by_vpn_gateway(resource_group_name, gateway_name, custom_headers:nil)
      first_page = list_by_vpn_gateway_as_lazy(resource_group_name, gateway_name, custom_headers:custom_headers)
      first_page.get_all_items
    end
def list_by_vpn_gateway(resource_group_name, gateway_name, custom_headers:nil)
      first_page = list_by_vpn_gateway_as_lazy(resource_group_name, gateway_name, custom_headers:custom_headers)
      first_page.get_all_items
    end
Retrieves all vpn connections for a particular virtual wan vpn gateway.

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

 @return [Array<VpnConnection>] operation results.