Skip to main content

virtual_hubs_outbound_routes

Creates, updates, deletes, gets or lists a virtual_hubs_outbound_routes resource.

Overview

Namevirtual_hubs_outbound_routes
TypeResource
Idazure.network.virtual_hubs_outbound_routes

Fields

NameDatatypeDescription
asPathstringThe ASPath of this route.
bgpCommunitiesstringBGP communities of the route.
prefixstringThe address prefix of the route.

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, subscriptionId, virtualHubNameGets the outbound routes configured for the Virtual Hub on a particular connection.

SELECT examples

Gets the outbound routes configured for the Virtual Hub on a particular connection.

SELECT
asPath,
bgpCommunities,
prefix
FROM azure.network.virtual_hubs_outbound_routes
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND virtualHubName = '{{ virtualHubName }}';