virtual_hubs_effective_virtual_hub_routes
Creates, updates, deletes, gets or lists a virtual_hubs_effective_virtual_hub_routes
resource.
Overview
Name | virtual_hubs_effective_virtual_hub_routes |
Type | Resource |
Id | azure.network.virtual_hubs_effective_virtual_hub_routes |
Fields
Name | Datatype | Description |
---|---|---|
addressPrefixes | array | The list of address prefixes. |
asPath | string | The ASPath of this route. |
nextHopType | string | The type of the next hop. |
nextHops | array | The list of next hops. |
routeOrigin | string | The origin of this route. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceGroupName, subscriptionId, virtualHubName | Gets the effective routes configured for the Virtual Hub resource or the specified resource . |
SELECT
examples
Gets the effective routes configured for the Virtual Hub resource or the specified resource .
SELECT
addressPrefixes,
asPath,
nextHopType,
nextHops,
routeOrigin
FROM azure.network.virtual_hubs_effective_virtual_hub_routes
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND virtualHubName = '{{ virtualHubName }}';