This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.network.getHubVirtualNetworkConnection
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Retrieves the details of a HubVirtualNetworkConnection. Azure REST API version: 2023-02-01.
Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01.
Using getHubVirtualNetworkConnection
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getHubVirtualNetworkConnection(args: GetHubVirtualNetworkConnectionArgs, opts?: InvokeOptions): Promise<GetHubVirtualNetworkConnectionResult>
function getHubVirtualNetworkConnectionOutput(args: GetHubVirtualNetworkConnectionOutputArgs, opts?: InvokeOptions): Output<GetHubVirtualNetworkConnectionResult>def get_hub_virtual_network_connection(connection_name: Optional[str] = None,
                                       resource_group_name: Optional[str] = None,
                                       virtual_hub_name: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetHubVirtualNetworkConnectionResult
def get_hub_virtual_network_connection_output(connection_name: Optional[pulumi.Input[str]] = None,
                                       resource_group_name: Optional[pulumi.Input[str]] = None,
                                       virtual_hub_name: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetHubVirtualNetworkConnectionResult]func LookupHubVirtualNetworkConnection(ctx *Context, args *LookupHubVirtualNetworkConnectionArgs, opts ...InvokeOption) (*LookupHubVirtualNetworkConnectionResult, error)
func LookupHubVirtualNetworkConnectionOutput(ctx *Context, args *LookupHubVirtualNetworkConnectionOutputArgs, opts ...InvokeOption) LookupHubVirtualNetworkConnectionResultOutput> Note: This function is named LookupHubVirtualNetworkConnection in the Go SDK.
public static class GetHubVirtualNetworkConnection 
{
    public static Task<GetHubVirtualNetworkConnectionResult> InvokeAsync(GetHubVirtualNetworkConnectionArgs args, InvokeOptions? opts = null)
    public static Output<GetHubVirtualNetworkConnectionResult> Invoke(GetHubVirtualNetworkConnectionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetHubVirtualNetworkConnectionResult> getHubVirtualNetworkConnection(GetHubVirtualNetworkConnectionArgs args, InvokeOptions options)
public static Output<GetHubVirtualNetworkConnectionResult> getHubVirtualNetworkConnection(GetHubVirtualNetworkConnectionArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:network:getHubVirtualNetworkConnection
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ConnectionName string
- The name of the vpn connection.
- ResourceGroup stringName 
- The resource group name of the VirtualHub.
- VirtualHub stringName 
- The name of the VirtualHub.
- ConnectionName string
- The name of the vpn connection.
- ResourceGroup stringName 
- The resource group name of the VirtualHub.
- VirtualHub stringName 
- The name of the VirtualHub.
- connectionName String
- The name of the vpn connection.
- resourceGroup StringName 
- The resource group name of the VirtualHub.
- virtualHub StringName 
- The name of the VirtualHub.
- connectionName string
- The name of the vpn connection.
- resourceGroup stringName 
- The resource group name of the VirtualHub.
- virtualHub stringName 
- The name of the VirtualHub.
- connection_name str
- The name of the vpn connection.
- resource_group_ strname 
- The resource group name of the VirtualHub.
- virtual_hub_ strname 
- The name of the VirtualHub.
- connectionName String
- The name of the vpn connection.
- resourceGroup StringName 
- The resource group name of the VirtualHub.
- virtualHub StringName 
- The name of the VirtualHub.
getHubVirtualNetworkConnection Result
The following output properties are available:
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- ProvisioningState string
- The provisioning state of the hub virtual network connection resource.
- AllowHub boolTo Remote Vnet Transit 
- Deprecated: VirtualHub to RemoteVnet transit to enabled or not.
- AllowRemote boolVnet To Use Hub Vnet Gateways 
- Deprecated: Allow RemoteVnet to use Virtual Hub's gateways.
- EnableInternet boolSecurity 
- Enable internet security.
- Id string
- Resource ID.
- Name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- RemoteVirtual Pulumi.Network Azure Native. Network. Outputs. Sub Resource Response 
- Reference to the remote virtual network.
- RoutingConfiguration Pulumi.Azure Native. Network. Outputs. Routing Configuration Response 
- The Routing Configuration indicating the associated and propagated route tables on this connection.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- ProvisioningState string
- The provisioning state of the hub virtual network connection resource.
- AllowHub boolTo Remote Vnet Transit 
- Deprecated: VirtualHub to RemoteVnet transit to enabled or not.
- AllowRemote boolVnet To Use Hub Vnet Gateways 
- Deprecated: Allow RemoteVnet to use Virtual Hub's gateways.
- EnableInternet boolSecurity 
- Enable internet security.
- Id string
- Resource ID.
- Name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- RemoteVirtual SubNetwork Resource Response 
- Reference to the remote virtual network.
- RoutingConfiguration RoutingConfiguration Response 
- The Routing Configuration indicating the associated and propagated route tables on this connection.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- provisioningState String
- The provisioning state of the hub virtual network connection resource.
- allowHub BooleanTo Remote Vnet Transit 
- Deprecated: VirtualHub to RemoteVnet transit to enabled or not.
- allowRemote BooleanVnet To Use Hub Vnet Gateways 
- Deprecated: Allow RemoteVnet to use Virtual Hub's gateways.
- enableInternet BooleanSecurity 
- Enable internet security.
- id String
- Resource ID.
- name String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- remoteVirtual SubNetwork Resource Response 
- Reference to the remote virtual network.
- routingConfiguration RoutingConfiguration Response 
- The Routing Configuration indicating the associated and propagated route tables on this connection.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- provisioningState string
- The provisioning state of the hub virtual network connection resource.
- allowHub booleanTo Remote Vnet Transit 
- Deprecated: VirtualHub to RemoteVnet transit to enabled or not.
- allowRemote booleanVnet To Use Hub Vnet Gateways 
- Deprecated: Allow RemoteVnet to use Virtual Hub's gateways.
- enableInternet booleanSecurity 
- Enable internet security.
- id string
- Resource ID.
- name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- remoteVirtual SubNetwork Resource Response 
- Reference to the remote virtual network.
- routingConfiguration RoutingConfiguration Response 
- The Routing Configuration indicating the associated and propagated route tables on this connection.
- etag str
- A unique read-only string that changes whenever the resource is updated.
- provisioning_state str
- The provisioning state of the hub virtual network connection resource.
- allow_hub_ boolto_ remote_ vnet_ transit 
- Deprecated: VirtualHub to RemoteVnet transit to enabled or not.
- allow_remote_ boolvnet_ to_ use_ hub_ vnet_ gateways 
- Deprecated: Allow RemoteVnet to use Virtual Hub's gateways.
- enable_internet_ boolsecurity 
- Enable internet security.
- id str
- Resource ID.
- name str
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- remote_virtual_ Subnetwork Resource Response 
- Reference to the remote virtual network.
- routing_configuration RoutingConfiguration Response 
- The Routing Configuration indicating the associated and propagated route tables on this connection.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- provisioningState String
- The provisioning state of the hub virtual network connection resource.
- allowHub BooleanTo Remote Vnet Transit 
- Deprecated: VirtualHub to RemoteVnet transit to enabled or not.
- allowRemote BooleanVnet To Use Hub Vnet Gateways 
- Deprecated: Allow RemoteVnet to use Virtual Hub's gateways.
- enableInternet BooleanSecurity 
- Enable internet security.
- id String
- Resource ID.
- name String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- remoteVirtual Property MapNetwork 
- Reference to the remote virtual network.
- routingConfiguration Property Map
- The Routing Configuration indicating the associated and propagated route tables on this connection.
Supporting Types
PropagatedRouteTableResponse   
- Ids
List<Pulumi.Azure Native. Network. Inputs. Sub Resource Response> 
- The list of resource ids of all the RouteTables.
- Labels List<string>
- The list of labels.
- Ids
[]SubResource Response 
- The list of resource ids of all the RouteTables.
- Labels []string
- The list of labels.
- ids
List<SubResource Response> 
- The list of resource ids of all the RouteTables.
- labels List<String>
- The list of labels.
- ids
SubResource Response[] 
- The list of resource ids of all the RouteTables.
- labels string[]
- The list of labels.
- ids
Sequence[SubResource Response] 
- The list of resource ids of all the RouteTables.
- labels Sequence[str]
- The list of labels.
- ids List<Property Map>
- The list of resource ids of all the RouteTables.
- labels List<String>
- The list of labels.
RoutingConfigurationResponse  
- AssociatedRoute Pulumi.Table Azure Native. Network. Inputs. Sub Resource Response 
- The resource id RouteTable associated with this RoutingConfiguration.
- InboundRoute Pulumi.Map Azure Native. Network. Inputs. Sub Resource Response 
- The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- OutboundRoute Pulumi.Map Azure Native. Network. Inputs. Sub Resource Response 
- The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- PropagatedRoute Pulumi.Tables Azure Native. Network. Inputs. Propagated Route Table Response 
- The list of RouteTables to advertise the routes to.
- VnetRoutes Pulumi.Azure Native. Network. Inputs. Vnet Route Response 
- List of routes that control routing from VirtualHub into a virtual network connection.
- AssociatedRoute SubTable Resource Response 
- The resource id RouteTable associated with this RoutingConfiguration.
- InboundRoute SubMap Resource Response 
- The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- OutboundRoute SubMap Resource Response 
- The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- PropagatedRoute PropagatedTables Route Table Response 
- The list of RouteTables to advertise the routes to.
- VnetRoutes VnetRoute Response 
- List of routes that control routing from VirtualHub into a virtual network connection.
- associatedRoute SubTable Resource Response 
- The resource id RouteTable associated with this RoutingConfiguration.
- inboundRoute SubMap Resource Response 
- The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- outboundRoute SubMap Resource Response 
- The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- propagatedRoute PropagatedTables Route Table Response 
- The list of RouteTables to advertise the routes to.
- vnetRoutes VnetRoute Response 
- List of routes that control routing from VirtualHub into a virtual network connection.
- associatedRoute SubTable Resource Response 
- The resource id RouteTable associated with this RoutingConfiguration.
- inboundRoute SubMap Resource Response 
- The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- outboundRoute SubMap Resource Response 
- The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- propagatedRoute PropagatedTables Route Table Response 
- The list of RouteTables to advertise the routes to.
- vnetRoutes VnetRoute Response 
- List of routes that control routing from VirtualHub into a virtual network connection.
- associated_route_ Subtable Resource Response 
- The resource id RouteTable associated with this RoutingConfiguration.
- inbound_route_ Submap Resource Response 
- The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- outbound_route_ Submap Resource Response 
- The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- propagated_route_ Propagatedtables Route Table Response 
- The list of RouteTables to advertise the routes to.
- vnet_routes VnetRoute Response 
- List of routes that control routing from VirtualHub into a virtual network connection.
- associatedRoute Property MapTable 
- The resource id RouteTable associated with this RoutingConfiguration.
- inboundRoute Property MapMap 
- The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- outboundRoute Property MapMap 
- The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- propagatedRoute Property MapTables 
- The list of RouteTables to advertise the routes to.
- vnetRoutes Property Map
- List of routes that control routing from VirtualHub into a virtual network connection.
StaticRouteResponse  
- AddressPrefixes List<string>
- List of all address prefixes.
- Name string
- The name of the StaticRoute that is unique within a VnetRoute.
- NextHop stringIp Address 
- The ip address of the next hop.
- AddressPrefixes []string
- List of all address prefixes.
- Name string
- The name of the StaticRoute that is unique within a VnetRoute.
- NextHop stringIp Address 
- The ip address of the next hop.
- addressPrefixes List<String>
- List of all address prefixes.
- name String
- The name of the StaticRoute that is unique within a VnetRoute.
- nextHop StringIp Address 
- The ip address of the next hop.
- addressPrefixes string[]
- List of all address prefixes.
- name string
- The name of the StaticRoute that is unique within a VnetRoute.
- nextHop stringIp Address 
- The ip address of the next hop.
- address_prefixes Sequence[str]
- List of all address prefixes.
- name str
- The name of the StaticRoute that is unique within a VnetRoute.
- next_hop_ strip_ address 
- The ip address of the next hop.
- addressPrefixes List<String>
- List of all address prefixes.
- name String
- The name of the StaticRoute that is unique within a VnetRoute.
- nextHop StringIp Address 
- The ip address of the next hop.
StaticRoutesConfigResponse   
- PropagateStatic boolRoutes 
- Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
- VnetLocal stringRoute Override Criteria 
- Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
- PropagateStatic boolRoutes 
- Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
- VnetLocal stringRoute Override Criteria 
- Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
- propagateStatic BooleanRoutes 
- Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
- vnetLocal StringRoute Override Criteria 
- Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
- propagateStatic booleanRoutes 
- Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
- vnetLocal stringRoute Override Criteria 
- Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
- propagate_static_ boolroutes 
- Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
- vnet_local_ strroute_ override_ criteria 
- Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
- propagateStatic BooleanRoutes 
- Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
- vnetLocal StringRoute Override Criteria 
- Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
SubResourceResponse  
- Id string
- Resource ID.
- Id string
- Resource ID.
- id String
- Resource ID.
- id string
- Resource ID.
- id str
- Resource ID.
- id String
- Resource ID.
VnetRouteResponse  
- BgpConnections List<Pulumi.Azure Native. Network. Inputs. Sub Resource Response> 
- The list of references to HubBgpConnection objects.
- StaticRoutes List<Pulumi.Azure Native. Network. Inputs. Static Route Response> 
- List of all Static Routes.
- StaticRoutes Pulumi.Config Azure Native. Network. Inputs. Static Routes Config Response 
- Configuration for static routes on this HubVnetConnection.
- BgpConnections []SubResource Response 
- The list of references to HubBgpConnection objects.
- StaticRoutes []StaticRoute Response 
- List of all Static Routes.
- StaticRoutes StaticConfig Routes Config Response 
- Configuration for static routes on this HubVnetConnection.
- bgpConnections List<SubResource Response> 
- The list of references to HubBgpConnection objects.
- staticRoutes List<StaticRoute Response> 
- List of all Static Routes.
- staticRoutes StaticConfig Routes Config Response 
- Configuration for static routes on this HubVnetConnection.
- bgpConnections SubResource Response[] 
- The list of references to HubBgpConnection objects.
- staticRoutes StaticRoute Response[] 
- List of all Static Routes.
- staticRoutes StaticConfig Routes Config Response 
- Configuration for static routes on this HubVnetConnection.
- bgp_connections Sequence[SubResource Response] 
- The list of references to HubBgpConnection objects.
- static_routes Sequence[StaticRoute Response] 
- List of all Static Routes.
- static_routes_ Staticconfig Routes Config Response 
- Configuration for static routes on this HubVnetConnection.
- bgpConnections List<Property Map>
- The list of references to HubBgpConnection objects.
- staticRoutes List<Property Map>
- List of all Static Routes.
- staticRoutes Property MapConfig 
- Configuration for static routes on this HubVnetConnection.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi