networks_peering_routes
Creates, updates, deletes, gets or lists a networks_peering_routes
resource.
Overview
Name | networks_peering_routes |
Type | Resource |
Id | google.compute.networks_peering_routes |
Fields
Name | Datatype | Description |
---|---|---|
destRange | string | The destination range of the route. |
imported | boolean | True if the peering route has been imported from a peer. The actual import happens if the field networkPeering.importCustomRoutes is true for this network, and networkPeering.exportCustomRoutes is true for the peer network, and the import does not result in a route conflict. |
nextHopRegion | string | The region of peering route next hop, only applies to dynamic routes. |
priority | integer | The priority of the peering route. |
type | string | The type of the peering route. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list_peering_routes | SELECT | network, project | Lists the peering routes exchanged over peering connection. |
SELECT
examples
Lists the peering routes exchanged over peering connection.
SELECT
destRange,
imported,
nextHopRegion,
priority,
type
FROM google.compute.networks_peering_routes
WHERE network = '{{ network }}'
AND project = '{{ project }}';