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:

Successful response

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, privateConnectionsIdpageSize, pageTokenLists the private connection routes exchanged over a peering connection.

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
privateConnectionsIdstring
projectsIdstring
pageSizeinteger (int32)
pageTokenstring

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 projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND privateConnectionsId = '{{ privateConnectionsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}';