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

The following fields are returned by SELECT queries:

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.
prioritystring (int64)Output only. The priority of the peering route.
typestringOutput only. Type of the route in the peer VPC network.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectprojectsId, locationsId, networkPeeringsIdpageToken, filter, pageSizeLists the network peering routes exchanged over a peering connection. NetworkPeering is a global resource and location can only be global.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationsIdstring
networkPeeringsIdstring
projectsIdstring
filterstring
pageSizeinteger (int32)
pageTokenstring

SELECT examples

Lists the network peering routes exchanged over a peering connection. NetworkPeering is a global resource and location can only be global.

SELECT
destRange,
direction,
imported,
nextHopRegion,
priority,
type
FROM google.vmwareengine.peering_routes
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND networkPeeringsId = '{{ networkPeeringsId }}' -- required
AND pageToken = '{{ pageToken }}'
AND filter = '{{ filter }}'
AND pageSize = '{{ pageSize }}'
;