peering_routes
Creates, updates, deletes, gets or lists a peering_routes
resource.
Overview
Name | peering_routes |
Type | Resource |
Id | google.vmwareengine.peering_routes |
Fields
The following fields are returned by SELECT
queries:
- list
Successful response
Name | Datatype | Description |
---|---|---|
destRange | string | Output only. Destination range of the peering route in CIDR notation. |
direction | string | Output 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. |
imported | boolean | Output 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. |
nextHopRegion | string | Output only. Region containing the next hop of the peering route. This field only applies to dynamic routes in the peer VPC network. |
priority | string (int64) | Output only. The priority of the peering route. |
type | string | Output only. Type of the route in the peer VPC network. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | projectsId , locationsId , privateConnectionsId | pageSize , pageToken | Lists 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.
Name | Datatype | Description |
---|---|---|
locationsId | string | |
privateConnectionsId | string | |
projectsId | string | |
pageSize | integer (int32) | |
pageToken | string |
SELECT
examples
- list
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 }}';