azure-native.network.HubVirtualNetworkConnection
Explore with Pulumi AI
HubVirtualNetworkConnection Resource. Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-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.
Example Usage
HubVirtualNetworkConnectionPut
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var hubVirtualNetworkConnection = new AzureNative.Network.HubVirtualNetworkConnection("hubVirtualNetworkConnection", new()
{
ConnectionName = "connection1",
EnableInternetSecurity = false,
RemoteVirtualNetwork = new AzureNative.Network.Inputs.SubResourceArgs
{
Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1",
},
ResourceGroupName = "rg1",
RoutingConfiguration = new AzureNative.Network.Inputs.RoutingConfigurationArgs
{
AssociatedRouteTable = new AzureNative.Network.Inputs.SubResourceArgs
{
Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1",
},
InboundRouteMap = new AzureNative.Network.Inputs.SubResourceArgs
{
Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1",
},
OutboundRouteMap = new AzureNative.Network.Inputs.SubResourceArgs
{
Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2",
},
PropagatedRouteTables = new AzureNative.Network.Inputs.PropagatedRouteTableArgs
{
Ids = new[]
{
new AzureNative.Network.Inputs.SubResourceArgs
{
Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1",
},
},
Labels = new[]
{
"label1",
"label2",
},
},
VnetRoutes = new AzureNative.Network.Inputs.VnetRouteArgs
{
StaticRoutes = new[]
{
new AzureNative.Network.Inputs.StaticRouteArgs
{
AddressPrefixes = new[]
{
"10.1.0.0/16",
"10.2.0.0/16",
},
Name = "route1",
NextHopIpAddress = "10.0.0.68",
},
new AzureNative.Network.Inputs.StaticRouteArgs
{
AddressPrefixes = new[]
{
"10.3.0.0/16",
"10.4.0.0/16",
},
Name = "route2",
NextHopIpAddress = "10.0.0.65",
},
},
StaticRoutesConfig = new AzureNative.Network.Inputs.StaticRoutesConfigArgs
{
VnetLocalRouteOverrideCriteria = AzureNative.Network.VnetLocalRouteOverrideCriteria.Equal,
},
},
},
VirtualHubName = "virtualHub1",
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewHubVirtualNetworkConnection(ctx, "hubVirtualNetworkConnection", &network.HubVirtualNetworkConnectionArgs{
ConnectionName: pulumi.String("connection1"),
EnableInternetSecurity: pulumi.Bool(false),
RemoteVirtualNetwork: &network.SubResourceArgs{
Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1"),
},
ResourceGroupName: pulumi.String("rg1"),
RoutingConfiguration: &network.RoutingConfigurationArgs{
AssociatedRouteTable: &network.SubResourceArgs{
Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1"),
},
InboundRouteMap: &network.SubResourceArgs{
Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1"),
},
OutboundRouteMap: &network.SubResourceArgs{
Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2"),
},
PropagatedRouteTables: &network.PropagatedRouteTableArgs{
Ids: network.SubResourceArray{
&network.SubResourceArgs{
Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1"),
},
},
Labels: pulumi.StringArray{
pulumi.String("label1"),
pulumi.String("label2"),
},
},
VnetRoutes: &network.VnetRouteArgs{
StaticRoutes: network.StaticRouteArray{
&network.StaticRouteArgs{
AddressPrefixes: pulumi.StringArray{
pulumi.String("10.1.0.0/16"),
pulumi.String("10.2.0.0/16"),
},
Name: pulumi.String("route1"),
NextHopIpAddress: pulumi.String("10.0.0.68"),
},
&network.StaticRouteArgs{
AddressPrefixes: pulumi.StringArray{
pulumi.String("10.3.0.0/16"),
pulumi.String("10.4.0.0/16"),
},
Name: pulumi.String("route2"),
NextHopIpAddress: pulumi.String("10.0.0.65"),
},
},
StaticRoutesConfig: &network.StaticRoutesConfigArgs{
VnetLocalRouteOverrideCriteria: pulumi.String(network.VnetLocalRouteOverrideCriteriaEqual),
},
},
},
VirtualHubName: pulumi.String("virtualHub1"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.network.HubVirtualNetworkConnection;
import com.pulumi.azurenative.network.HubVirtualNetworkConnectionArgs;
import com.pulumi.azurenative.network.inputs.SubResourceArgs;
import com.pulumi.azurenative.network.inputs.RoutingConfigurationArgs;
import com.pulumi.azurenative.network.inputs.PropagatedRouteTableArgs;
import com.pulumi.azurenative.network.inputs.VnetRouteArgs;
import com.pulumi.azurenative.network.inputs.StaticRoutesConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var hubVirtualNetworkConnection = new HubVirtualNetworkConnection("hubVirtualNetworkConnection", HubVirtualNetworkConnectionArgs.builder()
.connectionName("connection1")
.enableInternetSecurity(false)
.remoteVirtualNetwork(SubResourceArgs.builder()
.id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1")
.build())
.resourceGroupName("rg1")
.routingConfiguration(RoutingConfigurationArgs.builder()
.associatedRouteTable(SubResourceArgs.builder()
.id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1")
.build())
.inboundRouteMap(SubResourceArgs.builder()
.id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1")
.build())
.outboundRouteMap(SubResourceArgs.builder()
.id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2")
.build())
.propagatedRouteTables(PropagatedRouteTableArgs.builder()
.ids(SubResourceArgs.builder()
.id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1")
.build())
.labels(
"label1",
"label2")
.build())
.vnetRoutes(VnetRouteArgs.builder()
.staticRoutes(
StaticRouteArgs.builder()
.addressPrefixes(
"10.1.0.0/16",
"10.2.0.0/16")
.name("route1")
.nextHopIpAddress("10.0.0.68")
.build(),
StaticRouteArgs.builder()
.addressPrefixes(
"10.3.0.0/16",
"10.4.0.0/16")
.name("route2")
.nextHopIpAddress("10.0.0.65")
.build())
.staticRoutesConfig(StaticRoutesConfigArgs.builder()
.vnetLocalRouteOverrideCriteria("Equal")
.build())
.build())
.build())
.virtualHubName("virtualHub1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
hub_virtual_network_connection = azure_native.network.HubVirtualNetworkConnection("hubVirtualNetworkConnection",
connection_name="connection1",
enable_internet_security=False,
remote_virtual_network={
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1",
},
resource_group_name="rg1",
routing_configuration={
"associated_route_table": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1",
},
"inbound_route_map": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1",
},
"outbound_route_map": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2",
},
"propagated_route_tables": {
"ids": [{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1",
}],
"labels": [
"label1",
"label2",
],
},
"vnet_routes": {
"static_routes": [
{
"address_prefixes": [
"10.1.0.0/16",
"10.2.0.0/16",
],
"name": "route1",
"next_hop_ip_address": "10.0.0.68",
},
{
"address_prefixes": [
"10.3.0.0/16",
"10.4.0.0/16",
],
"name": "route2",
"next_hop_ip_address": "10.0.0.65",
},
],
"static_routes_config": {
"vnet_local_route_override_criteria": azure_native.network.VnetLocalRouteOverrideCriteria.EQUAL,
},
},
},
virtual_hub_name="virtualHub1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const hubVirtualNetworkConnection = new azure_native.network.HubVirtualNetworkConnection("hubVirtualNetworkConnection", {
connectionName: "connection1",
enableInternetSecurity: false,
remoteVirtualNetwork: {
id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1",
},
resourceGroupName: "rg1",
routingConfiguration: {
associatedRouteTable: {
id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1",
},
inboundRouteMap: {
id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1",
},
outboundRouteMap: {
id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2",
},
propagatedRouteTables: {
ids: [{
id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1",
}],
labels: [
"label1",
"label2",
],
},
vnetRoutes: {
staticRoutes: [
{
addressPrefixes: [
"10.1.0.0/16",
"10.2.0.0/16",
],
name: "route1",
nextHopIpAddress: "10.0.0.68",
},
{
addressPrefixes: [
"10.3.0.0/16",
"10.4.0.0/16",
],
name: "route2",
nextHopIpAddress: "10.0.0.65",
},
],
staticRoutesConfig: {
vnetLocalRouteOverrideCriteria: azure_native.network.VnetLocalRouteOverrideCriteria.Equal,
},
},
},
virtualHubName: "virtualHub1",
});
resources:
hubVirtualNetworkConnection:
type: azure-native:network:HubVirtualNetworkConnection
properties:
connectionName: connection1
enableInternetSecurity: false
remoteVirtualNetwork:
id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1
resourceGroupName: rg1
routingConfiguration:
associatedRouteTable:
id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1
inboundRouteMap:
id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1
outboundRouteMap:
id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2
propagatedRouteTables:
ids:
- id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1
labels:
- label1
- label2
vnetRoutes:
staticRoutes:
- addressPrefixes:
- 10.1.0.0/16
- 10.2.0.0/16
name: route1
nextHopIpAddress: 10.0.0.68
- addressPrefixes:
- 10.3.0.0/16
- 10.4.0.0/16
name: route2
nextHopIpAddress: 10.0.0.65
staticRoutesConfig:
vnetLocalRouteOverrideCriteria: Equal
virtualHubName: virtualHub1
Create HubVirtualNetworkConnection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new HubVirtualNetworkConnection(name: string, args: HubVirtualNetworkConnectionArgs, opts?: CustomResourceOptions);
@overload
def HubVirtualNetworkConnection(resource_name: str,
args: HubVirtualNetworkConnectionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def HubVirtualNetworkConnection(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
virtual_hub_name: Optional[str] = None,
allow_hub_to_remote_vnet_transit: Optional[bool] = None,
allow_remote_vnet_to_use_hub_vnet_gateways: Optional[bool] = None,
connection_name: Optional[str] = None,
enable_internet_security: Optional[bool] = None,
id: Optional[str] = None,
name: Optional[str] = None,
remote_virtual_network: Optional[SubResourceArgs] = None,
routing_configuration: Optional[RoutingConfigurationArgs] = None)
func NewHubVirtualNetworkConnection(ctx *Context, name string, args HubVirtualNetworkConnectionArgs, opts ...ResourceOption) (*HubVirtualNetworkConnection, error)
public HubVirtualNetworkConnection(string name, HubVirtualNetworkConnectionArgs args, CustomResourceOptions? opts = null)
public HubVirtualNetworkConnection(String name, HubVirtualNetworkConnectionArgs args)
public HubVirtualNetworkConnection(String name, HubVirtualNetworkConnectionArgs args, CustomResourceOptions options)
type: azure-native:network:HubVirtualNetworkConnection
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args HubVirtualNetworkConnectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args HubVirtualNetworkConnectionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args HubVirtualNetworkConnectionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args HubVirtualNetworkConnectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args HubVirtualNetworkConnectionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var hubVirtualNetworkConnectionResource = new AzureNative.Network.HubVirtualNetworkConnection("hubVirtualNetworkConnectionResource", new()
{
ResourceGroupName = "string",
VirtualHubName = "string",
AllowHubToRemoteVnetTransit = false,
AllowRemoteVnetToUseHubVnetGateways = false,
ConnectionName = "string",
EnableInternetSecurity = false,
Id = "string",
Name = "string",
RemoteVirtualNetwork = new AzureNative.Network.Inputs.SubResourceArgs
{
Id = "string",
},
RoutingConfiguration = new AzureNative.Network.Inputs.RoutingConfigurationArgs
{
AssociatedRouteTable = new AzureNative.Network.Inputs.SubResourceArgs
{
Id = "string",
},
InboundRouteMap = new AzureNative.Network.Inputs.SubResourceArgs
{
Id = "string",
},
OutboundRouteMap = new AzureNative.Network.Inputs.SubResourceArgs
{
Id = "string",
},
PropagatedRouteTables = new AzureNative.Network.Inputs.PropagatedRouteTableArgs
{
Ids = new[]
{
new AzureNative.Network.Inputs.SubResourceArgs
{
Id = "string",
},
},
Labels = new[]
{
"string",
},
},
VnetRoutes = new AzureNative.Network.Inputs.VnetRouteArgs
{
StaticRoutes = new[]
{
new AzureNative.Network.Inputs.StaticRouteArgs
{
AddressPrefixes = new[]
{
"string",
},
Name = "string",
NextHopIpAddress = "string",
},
},
StaticRoutesConfig = new AzureNative.Network.Inputs.StaticRoutesConfigArgs
{
VnetLocalRouteOverrideCriteria = "string",
},
},
},
});
example, err := network.NewHubVirtualNetworkConnection(ctx, "hubVirtualNetworkConnectionResource", &network.HubVirtualNetworkConnectionArgs{
ResourceGroupName: pulumi.String("string"),
VirtualHubName: pulumi.String("string"),
AllowHubToRemoteVnetTransit: pulumi.Bool(false),
AllowRemoteVnetToUseHubVnetGateways: pulumi.Bool(false),
ConnectionName: pulumi.String("string"),
EnableInternetSecurity: pulumi.Bool(false),
Id: pulumi.String("string"),
Name: pulumi.String("string"),
RemoteVirtualNetwork: &network.SubResourceArgs{
Id: pulumi.String("string"),
},
RoutingConfiguration: &network.RoutingConfigurationArgs{
AssociatedRouteTable: &network.SubResourceArgs{
Id: pulumi.String("string"),
},
InboundRouteMap: &network.SubResourceArgs{
Id: pulumi.String("string"),
},
OutboundRouteMap: &network.SubResourceArgs{
Id: pulumi.String("string"),
},
PropagatedRouteTables: &network.PropagatedRouteTableArgs{
Ids: network.SubResourceArray{
&network.SubResourceArgs{
Id: pulumi.String("string"),
},
},
Labels: pulumi.StringArray{
pulumi.String("string"),
},
},
VnetRoutes: &network.VnetRouteArgs{
StaticRoutes: network.StaticRouteArray{
&network.StaticRouteArgs{
AddressPrefixes: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
NextHopIpAddress: pulumi.String("string"),
},
},
StaticRoutesConfig: &network.StaticRoutesConfigArgs{
VnetLocalRouteOverrideCriteria: pulumi.String("string"),
},
},
},
})
var hubVirtualNetworkConnectionResource = new HubVirtualNetworkConnection("hubVirtualNetworkConnectionResource", HubVirtualNetworkConnectionArgs.builder()
.resourceGroupName("string")
.virtualHubName("string")
.allowHubToRemoteVnetTransit(false)
.allowRemoteVnetToUseHubVnetGateways(false)
.connectionName("string")
.enableInternetSecurity(false)
.id("string")
.name("string")
.remoteVirtualNetwork(SubResourceArgs.builder()
.id("string")
.build())
.routingConfiguration(RoutingConfigurationArgs.builder()
.associatedRouteTable(SubResourceArgs.builder()
.id("string")
.build())
.inboundRouteMap(SubResourceArgs.builder()
.id("string")
.build())
.outboundRouteMap(SubResourceArgs.builder()
.id("string")
.build())
.propagatedRouteTables(PropagatedRouteTableArgs.builder()
.ids(SubResourceArgs.builder()
.id("string")
.build())
.labels("string")
.build())
.vnetRoutes(VnetRouteArgs.builder()
.staticRoutes(StaticRouteArgs.builder()
.addressPrefixes("string")
.name("string")
.nextHopIpAddress("string")
.build())
.staticRoutesConfig(StaticRoutesConfigArgs.builder()
.vnetLocalRouteOverrideCriteria("string")
.build())
.build())
.build())
.build());
hub_virtual_network_connection_resource = azure_native.network.HubVirtualNetworkConnection("hubVirtualNetworkConnectionResource",
resource_group_name="string",
virtual_hub_name="string",
allow_hub_to_remote_vnet_transit=False,
allow_remote_vnet_to_use_hub_vnet_gateways=False,
connection_name="string",
enable_internet_security=False,
id="string",
name="string",
remote_virtual_network={
"id": "string",
},
routing_configuration={
"associatedRouteTable": {
"id": "string",
},
"inboundRouteMap": {
"id": "string",
},
"outboundRouteMap": {
"id": "string",
},
"propagatedRouteTables": {
"ids": [{
"id": "string",
}],
"labels": ["string"],
},
"vnetRoutes": {
"staticRoutes": [{
"addressPrefixes": ["string"],
"name": "string",
"nextHopIpAddress": "string",
}],
"staticRoutesConfig": {
"vnetLocalRouteOverrideCriteria": "string",
},
},
})
const hubVirtualNetworkConnectionResource = new azure_native.network.HubVirtualNetworkConnection("hubVirtualNetworkConnectionResource", {
resourceGroupName: "string",
virtualHubName: "string",
allowHubToRemoteVnetTransit: false,
allowRemoteVnetToUseHubVnetGateways: false,
connectionName: "string",
enableInternetSecurity: false,
id: "string",
name: "string",
remoteVirtualNetwork: {
id: "string",
},
routingConfiguration: {
associatedRouteTable: {
id: "string",
},
inboundRouteMap: {
id: "string",
},
outboundRouteMap: {
id: "string",
},
propagatedRouteTables: {
ids: [{
id: "string",
}],
labels: ["string"],
},
vnetRoutes: {
staticRoutes: [{
addressPrefixes: ["string"],
name: "string",
nextHopIpAddress: "string",
}],
staticRoutesConfig: {
vnetLocalRouteOverrideCriteria: "string",
},
},
},
});
type: azure-native:network:HubVirtualNetworkConnection
properties:
allowHubToRemoteVnetTransit: false
allowRemoteVnetToUseHubVnetGateways: false
connectionName: string
enableInternetSecurity: false
id: string
name: string
remoteVirtualNetwork:
id: string
resourceGroupName: string
routingConfiguration:
associatedRouteTable:
id: string
inboundRouteMap:
id: string
outboundRouteMap:
id: string
propagatedRouteTables:
ids:
- id: string
labels:
- string
vnetRoutes:
staticRoutes:
- addressPrefixes:
- string
name: string
nextHopIpAddress: string
staticRoutesConfig:
vnetLocalRouteOverrideCriteria: string
virtualHubName: string
HubVirtualNetworkConnection Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The HubVirtualNetworkConnection resource accepts the following input properties:
- Resource
Group stringName - The resource group name of the HubVirtualNetworkConnection.
- Virtual
Hub stringName - The name of the VirtualHub.
- 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.
- Connection
Name string - The name of the HubVirtualNetworkConnection.
- 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. Inputs. Sub Resource - Reference to the remote virtual network.
- Routing
Configuration Pulumi.Azure Native. Network. Inputs. Routing Configuration - The Routing Configuration indicating the associated and propagated route tables on this connection.
- Resource
Group stringName - The resource group name of the HubVirtualNetworkConnection.
- Virtual
Hub stringName - The name of the VirtualHub.
- 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.
- Connection
Name string - The name of the HubVirtualNetworkConnection.
- 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 Args - Reference to the remote virtual network.
- Routing
Configuration RoutingConfiguration Args - The Routing Configuration indicating the associated and propagated route tables on this connection.
- resource
Group StringName - The resource group name of the HubVirtualNetworkConnection.
- virtual
Hub StringName - The name of the VirtualHub.
- 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.
- connection
Name String - The name of the HubVirtualNetworkConnection.
- 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 - Reference to the remote virtual network.
- routing
Configuration RoutingConfiguration - The Routing Configuration indicating the associated and propagated route tables on this connection.
- resource
Group stringName - The resource group name of the HubVirtualNetworkConnection.
- virtual
Hub stringName - The name of the VirtualHub.
- 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.
- connection
Name string - The name of the HubVirtualNetworkConnection.
- 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 - Reference to the remote virtual network.
- routing
Configuration RoutingConfiguration - The Routing Configuration indicating the associated and propagated route tables on this connection.
- resource_
group_ strname - The resource group name of the HubVirtualNetworkConnection.
- virtual_
hub_ strname - The name of the VirtualHub.
- 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.
- connection_
name str - The name of the HubVirtualNetworkConnection.
- 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 Args - Reference to the remote virtual network.
- routing_
configuration RoutingConfiguration Args - The Routing Configuration indicating the associated and propagated route tables on this connection.
- resource
Group StringName - The resource group name of the HubVirtualNetworkConnection.
- virtual
Hub StringName - The name of the VirtualHub.
- 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.
- connection
Name String - The name of the HubVirtualNetworkConnection.
- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the HubVirtualNetworkConnection resource produces the following output properties:
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Provisioning
State string - The provisioning state of the hub virtual network connection resource.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Provisioning
State string - The provisioning state of the hub virtual network connection resource.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- The provider-assigned unique ID for this managed resource.
- provisioning
State String - The provisioning state of the hub virtual network connection resource.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- id string
- The provider-assigned unique ID for this managed resource.
- provisioning
State string - The provisioning state of the hub virtual network connection resource.
- etag str
- A unique read-only string that changes whenever the resource is updated.
- id str
- The provider-assigned unique ID for this managed resource.
- provisioning_
state str - The provisioning state of the hub virtual network connection resource.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- The provider-assigned unique ID for this managed resource.
- provisioning
State String - The provisioning state of the hub virtual network connection resource.
Supporting Types
PropagatedRouteTable, PropagatedRouteTableArgs
- Ids
List<Pulumi.
Azure Native. Network. Inputs. Sub Resource> - The list of resource ids of all the RouteTables.
- Labels List<string>
- The list of labels.
- Ids
[]Sub
Resource - The list of resource ids of all the RouteTables.
- Labels []string
- The list of labels.
- ids
List<Sub
Resource> - The list of resource ids of all the RouteTables.
- labels List<String>
- The list of labels.
- ids
Sub
Resource[] - The list of resource ids of all the RouteTables.
- labels string[]
- The list of labels.
- ids
Sequence[Sub
Resource] - 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.
PropagatedRouteTableResponse, PropagatedRouteTableResponseArgs
- 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.
RoutingConfiguration, RoutingConfigurationArgs
- Associated
Route Pulumi.Table Azure Native. Network. Inputs. Sub Resource - The resource id RouteTable associated with this RoutingConfiguration.
- Inbound
Route Pulumi.Map Azure Native. Network. Inputs. Sub Resource - The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- Outbound
Route Pulumi.Map Azure Native. Network. Inputs. Sub Resource - The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- Propagated
Route Pulumi.Tables Azure Native. Network. Inputs. Propagated Route Table - The list of RouteTables to advertise the routes to.
- Vnet
Routes Pulumi.Azure Native. Network. Inputs. Vnet Route - List of routes that control routing from VirtualHub into a virtual network connection.
- Associated
Route SubTable Resource - The resource id RouteTable associated with this RoutingConfiguration.
- Inbound
Route SubMap Resource - The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- Outbound
Route SubMap Resource - The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- Propagated
Route PropagatedTables Route Table - The list of RouteTables to advertise the routes to.
- Vnet
Routes VnetRoute - List of routes that control routing from VirtualHub into a virtual network connection.
- associated
Route SubTable Resource - The resource id RouteTable associated with this RoutingConfiguration.
- inbound
Route SubMap Resource - The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- outbound
Route SubMap Resource - The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- propagated
Route PropagatedTables Route Table - The list of RouteTables to advertise the routes to.
- vnet
Routes VnetRoute - List of routes that control routing from VirtualHub into a virtual network connection.
- associated
Route SubTable Resource - The resource id RouteTable associated with this RoutingConfiguration.
- inbound
Route SubMap Resource - The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- outbound
Route SubMap Resource - The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- propagated
Route PropagatedTables Route Table - The list of RouteTables to advertise the routes to.
- vnet
Routes VnetRoute - List of routes that control routing from VirtualHub into a virtual network connection.
- associated_
route_ Subtable Resource - The resource id RouteTable associated with this RoutingConfiguration.
- inbound_
route_ Submap Resource - The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
- outbound_
route_ Submap Resource - The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
- propagated_
route_ Propagatedtables Route Table - The list of RouteTables to advertise the routes to.
- vnet_
routes VnetRoute - 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.
RoutingConfigurationResponse, RoutingConfigurationResponseArgs
- 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.
StaticRoute, StaticRouteArgs
- 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.
StaticRouteResponse, StaticRouteResponseArgs
- 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.
StaticRoutesConfig, StaticRoutesConfigArgs
- Vnet
Local string | Pulumi.Route Override Criteria Azure Native. Network. Vnet Local Route Override Criteria - Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
- Vnet
Local string | VnetRoute Override Criteria Local Route Override Criteria - Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
- vnet
Local String | VnetRoute Override Criteria Local Route Override Criteria - Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
- vnet
Local string | VnetRoute Override Criteria Local Route Override Criteria - Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
- vnet_
local_ str | Vnetroute_ override_ criteria Local Route Override Criteria - Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
- vnet
Local String | "Contains" | "Equal"Route Override Criteria - Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
StaticRoutesConfigResponse, StaticRoutesConfigResponseArgs
- 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.
SubResource, SubResourceArgs
- Id string
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- Id string
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id String
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id string
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id str
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id String
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
SubResourceResponse, SubResourceResponseArgs
- Id string
- Resource ID.
- Id string
- Resource ID.
- id String
- Resource ID.
- id string
- Resource ID.
- id str
- Resource ID.
- id String
- Resource ID.
VnetLocalRouteOverrideCriteria, VnetLocalRouteOverrideCriteriaArgs
- Contains
- Contains
- Equal
- Equal
- Vnet
Local Route Override Criteria Contains - Contains
- Vnet
Local Route Override Criteria Equal - Equal
- Contains
- Contains
- Equal
- Equal
- Contains
- Contains
- Equal
- Equal
- CONTAINS
- Contains
- EQUAL
- Equal
- "Contains"
- Contains
- "Equal"
- Equal
VnetRoute, VnetRouteArgs
- Static
Routes List<Pulumi.Azure Native. Network. Inputs. Static Route> - List of all Static Routes.
- Static
Routes Pulumi.Config Azure Native. Network. Inputs. Static Routes Config - Configuration for static routes on this HubVnetConnection.
- Static
Routes []StaticRoute - List of all Static Routes.
- Static
Routes StaticConfig Routes Config - Configuration for static routes on this HubVnetConnection.
- static
Routes List<StaticRoute> - List of all Static Routes.
- static
Routes StaticConfig Routes Config - Configuration for static routes on this HubVnetConnection.
- static
Routes StaticRoute[] - List of all Static Routes.
- static
Routes StaticConfig Routes Config - Configuration for static routes on this HubVnetConnection.
- static_
routes Sequence[StaticRoute] - List of all Static Routes.
- static_
routes_ Staticconfig Routes Config - Configuration for static routes on this HubVnetConnection.
- static
Routes List<Property Map> - List of all Static Routes.
- static
Routes Property MapConfig - Configuration for static routes on this HubVnetConnection.
VnetRouteResponse, VnetRouteResponseArgs
- 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.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:network:HubVirtualNetworkConnection connection1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections/{connectionName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0