azure-native.network.getHubVirtualNetworkConnection
Explore with Pulumi AI
Retrieves the details of a HubVirtualNetworkConnection. API Version: 2020-11-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)
// Output-based functions aren't available in Java yet
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:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
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
- Static
Routes List<Pulumi.Azure Native. Network. Inputs. Static Route Response> List of all Static Routes.
- Static
Routes []StaticRoute Response List of all Static Routes.
- static
Routes List<StaticRoute Response> List of all Static Routes.
- static
Routes StaticRoute Response[] List of all Static Routes.
- static_
routes Sequence[StaticRoute Response] List of all Static Routes.
- static
Routes List<Property Map> List of all Static Routes.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0