Skip to main content

peering_routes

Creates, updates, deletes, gets or lists a peering_routes resource.

Overview

Namepeering_routes
TypeResource
Idgoogle.vmwareengine.peering_routes

Fields

NameDatatypeDescription
destRangestringOutput only. Destination range of the peering route in CIDR notation.
directionstringOutput only. Direction of the routes exchanged with the peer network, from the VMware Engine network perspective: Routes of direction INCOMING are imported from the peer network. Routes of direction OUTGOING are exported from the intranet VPC network of the VMware Engine network.
importedbooleanOutput only. True if the peering route has been imported from a peered VPC network; false otherwise. The import happens if the field NetworkPeering.importCustomRoutes is true for this network, NetworkPeering.exportCustomRoutes is true for the peer VPC network, and the import does not result in a route conflict.
nextHopRegionstringOutput only. Region containing the next hop of the peering route. This field only applies to dynamic routes in the peer VPC network.
prioritystringOutput only. The priority of the peering route.
typestringOutput only. Type of the route in the peer VPC network.

Methods

NameAccessible byRequired ParamsDescription
listSELECTlocationsId, privateConnectionsId, projectsIdLists the private connection routes exchanged over a peering connection.

SELECT examples

Lists the private connection routes exchanged over a peering connection.

SELECT
destRange,
direction,
imported,
nextHopRegion,
priority,
type
FROM google.vmwareengine.peering_routes
WHERE locationsId = '{{ locationsId }}'
AND privateConnectionsId = '{{ privateConnectionsId }}'
AND projectsId = '{{ projectsId }}';