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

The following fields are returned by SELECT queries:

Request successful. Returns the list of the effective route map routes or follow the location header for the outbound routes list.

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

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, virtualHubNameGets the outbound routes configured for the Virtual Hub on a particular 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.

NameDatatypeDescription
resourceGroupNamestringThe resource group name of the VirtualHub.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.
virtualHubNamestringThe name of the VirtualHub.

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 subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND virtualHubName = '{{ virtualHubName }}' -- required
;