virtual_network_gateways_advertised_routes
Creates, updates, deletes, gets or lists a virtual_network_gateways_advertised_routes
resource.
Overview
Name | virtual_network_gateways_advertised_routes |
Type | Resource |
Id | azure.network.virtual_network_gateways_advertised_routes |
Fields
Name | Datatype | Description |
---|---|---|
asPath | string | The route's AS path sequence. |
localAddress | string | The gateway's local address. |
network | string | The route's network prefix. |
nextHop | string | The route's next hop. |
origin | string | The source this route was learned from. |
sourcePeer | string | The peer this route was learned from. |
weight | integer | The route's weight. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | peer, resourceGroupName, subscriptionId, virtualNetworkGatewayName | This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. |
SELECT
examples
This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer.
SELECT
asPath,
localAddress,
network,
nextHop,
origin,
sourcePeer,
weight
FROM azure.network.virtual_network_gateways_advertised_routes
WHERE peer = '{{ peer }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND virtualNetworkGatewayName = '{{ virtualNetworkGatewayName }}';