peering_routes
Creates, updates, deletes, gets or lists a peering_routes
resource.
Overview
Name | peering_routes |
Type | Resource |
Id | google.vmwareengine.peering_routes |
Fields
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 | Output only. The priority of the peering route. |
type | string | Output only. Type of the route in the peer VPC network. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | locationsId, privateConnectionsId, projectsId | Lists 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 }}';