azure-native.network.getHubVirtualNetworkConnection
Explore with Pulumi AI
Retrieves the details of a HubVirtualNetworkConnection.
Uses Azure REST API version 2024-05-01.
Other available API versions: 2020-05-01, 2020-06-01, 2020-07-01, 2020-08-01, 2020-11-01, 2021-02-01, 2021-03-01, 2021-05-01, 2021-08-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 2022-11-01, 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native network [ApiVersion]
. See the version guide for details.
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 dictionary
The following arguments are supported:
- Connection
Name string - The name of the vpn connection.
- Resource
Group stringName - The resource group name of the VirtualHub.
- Virtual
Hub stringName - The name of the VirtualHub.
- Connection
Name string - The name of the vpn connection.
- Resource
Group stringName - The resource group name of the VirtualHub.
- Virtual
Hub stringName - The name of the VirtualHub.
- connection
Name String - The name of the vpn connection.
- resource
Group StringName - The resource group name of the VirtualHub.
- virtual
Hub StringName - The name of the VirtualHub.
- connection
Name string - The name of the vpn connection.
- resource
Group stringName - The resource group name of the VirtualHub.
- virtual
Hub 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.
- connection
Name String - The name of the vpn connection.
- resource
Group StringName - The resource group name of the VirtualHub.
- virtual
Hub StringName - The name of the VirtualHub.
getHubVirtualNetworkConnection Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Provisioning
State string - 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 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.
- Remote
Virtual Pulumi.Network Azure Native. Network. Outputs. Sub Resource Response - Reference to the remote virtual network.
- Routing
Configuration Pulumi.Azure Native. Network. Outputs. Routing Configuration Response - The Routing Configuration indicating the associated and propagated route tables on this connection.
- Azure
Api stringVersion - The Azure API version of the resource.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Provisioning
State string - 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 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.
- 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.
- azure
Api StringVersion - The Azure API version of the resource.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- provisioning
State String - The provisioning state of the hub virtual network connection resource.
- allow
Hub BooleanTo Remote Vnet Transit - Deprecated: VirtualHub to RemoteVnet transit to enabled or not.
- allow
Remote BooleanVnet To Use Hub Vnet Gateways - Deprecated: Allow RemoteVnet to use Virtual Hub's gateways.
- enable
Internet 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.
- 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.
- azure
Api stringVersion - The Azure API version of the resource.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- provisioning
State string - The provisioning state of the hub virtual network connection resource.
- allow
Hub booleanTo Remote Vnet Transit - Deprecated: VirtualHub to RemoteVnet transit to enabled or not.
- allow
Remote booleanVnet To Use Hub Vnet Gateways - Deprecated: Allow RemoteVnet to use Virtual Hub's gateways.
- enable
Internet 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.
- 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.
- azure_
api_ strversion - The Azure API version of the resource.
- 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.
- azure
Api StringVersion - The Azure API version of the resource.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- provisioning
State String - The provisioning state of the hub virtual network connection resource.
- allow
Hub BooleanTo Remote Vnet Transit - Deprecated: VirtualHub to RemoteVnet transit to enabled or not.
- allow
Remote BooleanVnet To Use Hub Vnet Gateways - Deprecated: Allow RemoteVnet to use Virtual Hub's gateways.
- enable
Internet 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.
- remote
Virtual Property MapNetwork - Reference to the remote virtual network.
- routing
Configuration 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
[]Sub
Resource Response - The list of resource ids of all the RouteTables.
- Labels []string
- The list of labels.
- ids
List<Sub
Resource Response> - The list of resource ids of all the RouteTables.
- labels List<String>
- The list of labels.
- ids
Sub
Resource Response[] - The list of resource ids of all the RouteTables.
- labels string[]
- The list of labels.
- ids
Sequence[Sub
Resource 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
- Associated
Route Pulumi.Table Azure Native. Network. Inputs. Sub Resource Response - The resource id RouteTable associated with this RoutingConfiguration.
- Inbound
Route Pulumi.Map Azure Native. Network. Inputs. Sub Resource Response - The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- Outbound
Route Pulumi.Map Azure Native. Network. Inputs. Sub Resource Response - The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- Propagated
Route Pulumi.Tables Azure Native. Network. Inputs. Propagated Route Table Response - The list of RouteTables to advertise the routes to.
- Vnet
Routes Pulumi.Azure Native. Network. Inputs. Vnet Route 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.
- 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.
- 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.
- 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.
- associated
Route Property MapTable - The resource id RouteTable associated with this RoutingConfiguration.
- inbound
Route Property MapMap - The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- outbound
Route Property MapMap - The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- propagated
Route Property MapTables - The list of RouteTables to advertise the routes to.
- vnet
Routes Property Map - List of routes that control routing from VirtualHub into a virtual network connection.
StaticRouteResponse
- Address
Prefixes List<string> - List of all address prefixes.
- Name string
- The name of the StaticRoute that is unique within a VnetRoute.
- Next
Hop stringIp Address - The ip address of the next hop.
- Address
Prefixes []string - List of all address prefixes.
- Name string
- The name of the StaticRoute that is unique within a VnetRoute.
- Next
Hop stringIp Address - The ip address of the next hop.
- address
Prefixes List<String> - List of all address prefixes.
- name String
- The name of the StaticRoute that is unique within a VnetRoute.
- next
Hop StringIp Address - The ip address of the next hop.
- address
Prefixes string[] - List of all address prefixes.
- name string
- The name of the StaticRoute that is unique within a VnetRoute.
- next
Hop 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.
- address
Prefixes List<String> - List of all address prefixes.
- name String
- The name of the StaticRoute that is unique within a VnetRoute.
- next
Hop StringIp Address - The ip address of the next hop.
StaticRoutesConfigResponse
- Propagate
Static boolRoutes - Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
- Vnet
Local 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 stringRoute Override Criteria - Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
- propagate
Static BooleanRoutes - Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
- vnet
Local StringRoute Override Criteria - Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
- propagate
Static booleanRoutes - Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
- vnet
Local 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.
- propagate
Static BooleanRoutes - Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
- vnet
Local 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
- Bgp
Connections List<Pulumi.Azure Native. Network. Inputs. Sub Resource Response> - The list of references to HubBgpConnection objects.
- Static
Routes List<Pulumi.Azure Native. Network. Inputs. Static Route Response> - List of all Static Routes.
- Static
Routes Pulumi.Config Azure Native. Network. Inputs. Static Routes Config Response - Configuration for static routes on this HubVnetConnection.
- Bgp
Connections []SubResource Response - The list of references to HubBgpConnection objects.
- Static
Routes []StaticRoute Response - List of all Static Routes.
- Static
Routes StaticConfig Routes Config Response - Configuration for static routes on this HubVnetConnection.
- bgp
Connections List<SubResource Response> - The list of references to HubBgpConnection objects.
- static
Routes List<StaticRoute Response> - List of all Static Routes.
- static
Routes StaticConfig Routes Config Response - Configuration for static routes on this HubVnetConnection.
- bgp
Connections SubResource Response[] - The list of references to HubBgpConnection objects.
- static
Routes StaticRoute Response[] - List of all Static Routes.
- static
Routes 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.
- bgp
Connections List<Property Map> - The list of references to HubBgpConnection objects.
- static
Routes List<Property Map> - List of all Static Routes.
- static
Routes Property MapConfig - Configuration for static routes on this HubVnetConnection.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0