1. Packages
  2. Azure Classic
  3. API Docs
  4. network
  5. VirtualHubConnection

We recommend using Azure Native.

Azure Classic v5.70.0 published on Wednesday, Mar 27, 2024 by Pulumi

azure.network.VirtualHubConnection

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.70.0 published on Wednesday, Mar 27, 2024 by Pulumi

    Manages a Connection for a Virtual Hub.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = new azure.core.ResourceGroup("example", {
        name: "example-resources",
        location: "West Europe",
    });
    const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
        name: "example-network",
        addressSpaces: ["172.16.0.0/12"],
        location: example.location,
        resourceGroupName: example.name,
    });
    const exampleVirtualWan = new azure.network.VirtualWan("example", {
        name: "example-vwan",
        resourceGroupName: example.name,
        location: example.location,
    });
    const exampleVirtualHub = new azure.network.VirtualHub("example", {
        name: "example-hub",
        resourceGroupName: example.name,
        location: example.location,
        virtualWanId: exampleVirtualWan.id,
        addressPrefix: "10.0.1.0/24",
    });
    const exampleVirtualHubConnection = new azure.network.VirtualHubConnection("example", {
        name: "example-vhub",
        virtualHubId: exampleVirtualHub.id,
        remoteVirtualNetworkId: exampleVirtualNetwork.id,
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="example-resources",
        location="West Europe")
    example_virtual_network = azure.network.VirtualNetwork("example",
        name="example-network",
        address_spaces=["172.16.0.0/12"],
        location=example.location,
        resource_group_name=example.name)
    example_virtual_wan = azure.network.VirtualWan("example",
        name="example-vwan",
        resource_group_name=example.name,
        location=example.location)
    example_virtual_hub = azure.network.VirtualHub("example",
        name="example-hub",
        resource_group_name=example.name,
        location=example.location,
        virtual_wan_id=example_virtual_wan.id,
        address_prefix="10.0.1.0/24")
    example_virtual_hub_connection = azure.network.VirtualHubConnection("example",
        name="example-vhub",
        virtual_hub_id=example_virtual_hub.id,
        remote_virtual_network_id=example_virtual_network.id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("example-resources"),
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "example", &network.VirtualNetworkArgs{
    			Name: pulumi.String("example-network"),
    			AddressSpaces: pulumi.StringArray{
    				pulumi.String("172.16.0.0/12"),
    			},
    			Location:          example.Location,
    			ResourceGroupName: example.Name,
    		})
    		if err != nil {
    			return err
    		}
    		exampleVirtualWan, err := network.NewVirtualWan(ctx, "example", &network.VirtualWanArgs{
    			Name:              pulumi.String("example-vwan"),
    			ResourceGroupName: example.Name,
    			Location:          example.Location,
    		})
    		if err != nil {
    			return err
    		}
    		exampleVirtualHub, err := network.NewVirtualHub(ctx, "example", &network.VirtualHubArgs{
    			Name:              pulumi.String("example-hub"),
    			ResourceGroupName: example.Name,
    			Location:          example.Location,
    			VirtualWanId:      exampleVirtualWan.ID(),
    			AddressPrefix:     pulumi.String("10.0.1.0/24"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = network.NewVirtualHubConnection(ctx, "example", &network.VirtualHubConnectionArgs{
    			Name:                   pulumi.String("example-vhub"),
    			VirtualHubId:           exampleVirtualHub.ID(),
    			RemoteVirtualNetworkId: exampleVirtualNetwork.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "example-resources",
            Location = "West Europe",
        });
    
        var exampleVirtualNetwork = new Azure.Network.VirtualNetwork("example", new()
        {
            Name = "example-network",
            AddressSpaces = new[]
            {
                "172.16.0.0/12",
            },
            Location = example.Location,
            ResourceGroupName = example.Name,
        });
    
        var exampleVirtualWan = new Azure.Network.VirtualWan("example", new()
        {
            Name = "example-vwan",
            ResourceGroupName = example.Name,
            Location = example.Location,
        });
    
        var exampleVirtualHub = new Azure.Network.VirtualHub("example", new()
        {
            Name = "example-hub",
            ResourceGroupName = example.Name,
            Location = example.Location,
            VirtualWanId = exampleVirtualWan.Id,
            AddressPrefix = "10.0.1.0/24",
        });
    
        var exampleVirtualHubConnection = new Azure.Network.VirtualHubConnection("example", new()
        {
            Name = "example-vhub",
            VirtualHubId = exampleVirtualHub.Id,
            RemoteVirtualNetworkId = exampleVirtualNetwork.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.network.VirtualNetwork;
    import com.pulumi.azure.network.VirtualNetworkArgs;
    import com.pulumi.azure.network.VirtualWan;
    import com.pulumi.azure.network.VirtualWanArgs;
    import com.pulumi.azure.network.VirtualHub;
    import com.pulumi.azure.network.VirtualHubArgs;
    import com.pulumi.azure.network.VirtualHubConnection;
    import com.pulumi.azure.network.VirtualHubConnectionArgs;
    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 example = new ResourceGroup("example", ResourceGroupArgs.builder()        
                .name("example-resources")
                .location("West Europe")
                .build());
    
            var exampleVirtualNetwork = new VirtualNetwork("exampleVirtualNetwork", VirtualNetworkArgs.builder()        
                .name("example-network")
                .addressSpaces("172.16.0.0/12")
                .location(example.location())
                .resourceGroupName(example.name())
                .build());
    
            var exampleVirtualWan = new VirtualWan("exampleVirtualWan", VirtualWanArgs.builder()        
                .name("example-vwan")
                .resourceGroupName(example.name())
                .location(example.location())
                .build());
    
            var exampleVirtualHub = new VirtualHub("exampleVirtualHub", VirtualHubArgs.builder()        
                .name("example-hub")
                .resourceGroupName(example.name())
                .location(example.location())
                .virtualWanId(exampleVirtualWan.id())
                .addressPrefix("10.0.1.0/24")
                .build());
    
            var exampleVirtualHubConnection = new VirtualHubConnection("exampleVirtualHubConnection", VirtualHubConnectionArgs.builder()        
                .name("example-vhub")
                .virtualHubId(exampleVirtualHub.id())
                .remoteVirtualNetworkId(exampleVirtualNetwork.id())
                .build());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: example-resources
          location: West Europe
      exampleVirtualNetwork:
        type: azure:network:VirtualNetwork
        name: example
        properties:
          name: example-network
          addressSpaces:
            - 172.16.0.0/12
          location: ${example.location}
          resourceGroupName: ${example.name}
      exampleVirtualWan:
        type: azure:network:VirtualWan
        name: example
        properties:
          name: example-vwan
          resourceGroupName: ${example.name}
          location: ${example.location}
      exampleVirtualHub:
        type: azure:network:VirtualHub
        name: example
        properties:
          name: example-hub
          resourceGroupName: ${example.name}
          location: ${example.location}
          virtualWanId: ${exampleVirtualWan.id}
          addressPrefix: 10.0.1.0/24
      exampleVirtualHubConnection:
        type: azure:network:VirtualHubConnection
        name: example
        properties:
          name: example-vhub
          virtualHubId: ${exampleVirtualHub.id}
          remoteVirtualNetworkId: ${exampleVirtualNetwork.id}
    

    Create VirtualHubConnection Resource

    new VirtualHubConnection(name: string, args: VirtualHubConnectionArgs, opts?: CustomResourceOptions);
    @overload
    def VirtualHubConnection(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             internet_security_enabled: Optional[bool] = None,
                             name: Optional[str] = None,
                             remote_virtual_network_id: Optional[str] = None,
                             routing: Optional[VirtualHubConnectionRoutingArgs] = None,
                             virtual_hub_id: Optional[str] = None)
    @overload
    def VirtualHubConnection(resource_name: str,
                             args: VirtualHubConnectionArgs,
                             opts: Optional[ResourceOptions] = None)
    func NewVirtualHubConnection(ctx *Context, name string, args VirtualHubConnectionArgs, opts ...ResourceOption) (*VirtualHubConnection, error)
    public VirtualHubConnection(string name, VirtualHubConnectionArgs args, CustomResourceOptions? opts = null)
    public VirtualHubConnection(String name, VirtualHubConnectionArgs args)
    public VirtualHubConnection(String name, VirtualHubConnectionArgs args, CustomResourceOptions options)
    
    type: azure:network:VirtualHubConnection
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args VirtualHubConnectionArgs
    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 VirtualHubConnectionArgs
    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 VirtualHubConnectionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VirtualHubConnectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VirtualHubConnectionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    VirtualHubConnection 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 VirtualHubConnection resource accepts the following input properties:

    RemoteVirtualNetworkId string
    The ID of the Virtual Network which the Virtual Hub should be connected to. Changing this forces a new resource to be created.
    VirtualHubId string
    The ID of the Virtual Hub within which this connection should be created. Changing this forces a new resource to be created.
    InternetSecurityEnabled bool
    Should Internet Security be enabled to secure internet traffic? Defaults to false.
    Name string
    The Name which should be used for this Connection, which must be unique within the Virtual Hub. Changing this forces a new resource to be created.
    Routing VirtualHubConnectionRouting
    A routing block as defined below.
    RemoteVirtualNetworkId string
    The ID of the Virtual Network which the Virtual Hub should be connected to. Changing this forces a new resource to be created.
    VirtualHubId string
    The ID of the Virtual Hub within which this connection should be created. Changing this forces a new resource to be created.
    InternetSecurityEnabled bool
    Should Internet Security be enabled to secure internet traffic? Defaults to false.
    Name string
    The Name which should be used for this Connection, which must be unique within the Virtual Hub. Changing this forces a new resource to be created.
    Routing VirtualHubConnectionRoutingArgs
    A routing block as defined below.
    remoteVirtualNetworkId String
    The ID of the Virtual Network which the Virtual Hub should be connected to. Changing this forces a new resource to be created.
    virtualHubId String
    The ID of the Virtual Hub within which this connection should be created. Changing this forces a new resource to be created.
    internetSecurityEnabled Boolean
    Should Internet Security be enabled to secure internet traffic? Defaults to false.
    name String
    The Name which should be used for this Connection, which must be unique within the Virtual Hub. Changing this forces a new resource to be created.
    routing VirtualHubConnectionRouting
    A routing block as defined below.
    remoteVirtualNetworkId string
    The ID of the Virtual Network which the Virtual Hub should be connected to. Changing this forces a new resource to be created.
    virtualHubId string
    The ID of the Virtual Hub within which this connection should be created. Changing this forces a new resource to be created.
    internetSecurityEnabled boolean
    Should Internet Security be enabled to secure internet traffic? Defaults to false.
    name string
    The Name which should be used for this Connection, which must be unique within the Virtual Hub. Changing this forces a new resource to be created.
    routing VirtualHubConnectionRouting
    A routing block as defined below.
    remote_virtual_network_id str
    The ID of the Virtual Network which the Virtual Hub should be connected to. Changing this forces a new resource to be created.
    virtual_hub_id str
    The ID of the Virtual Hub within which this connection should be created. Changing this forces a new resource to be created.
    internet_security_enabled bool
    Should Internet Security be enabled to secure internet traffic? Defaults to false.
    name str
    The Name which should be used for this Connection, which must be unique within the Virtual Hub. Changing this forces a new resource to be created.
    routing VirtualHubConnectionRoutingArgs
    A routing block as defined below.
    remoteVirtualNetworkId String
    The ID of the Virtual Network which the Virtual Hub should be connected to. Changing this forces a new resource to be created.
    virtualHubId String
    The ID of the Virtual Hub within which this connection should be created. Changing this forces a new resource to be created.
    internetSecurityEnabled Boolean
    Should Internet Security be enabled to secure internet traffic? Defaults to false.
    name String
    The Name which should be used for this Connection, which must be unique within the Virtual Hub. Changing this forces a new resource to be created.
    routing Property Map
    A routing block as defined below.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the VirtualHubConnection resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing VirtualHubConnection Resource

    Get an existing VirtualHubConnection resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: VirtualHubConnectionState, opts?: CustomResourceOptions): VirtualHubConnection
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            internet_security_enabled: Optional[bool] = None,
            name: Optional[str] = None,
            remote_virtual_network_id: Optional[str] = None,
            routing: Optional[VirtualHubConnectionRoutingArgs] = None,
            virtual_hub_id: Optional[str] = None) -> VirtualHubConnection
    func GetVirtualHubConnection(ctx *Context, name string, id IDInput, state *VirtualHubConnectionState, opts ...ResourceOption) (*VirtualHubConnection, error)
    public static VirtualHubConnection Get(string name, Input<string> id, VirtualHubConnectionState? state, CustomResourceOptions? opts = null)
    public static VirtualHubConnection get(String name, Output<String> id, VirtualHubConnectionState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    InternetSecurityEnabled bool
    Should Internet Security be enabled to secure internet traffic? Defaults to false.
    Name string
    The Name which should be used for this Connection, which must be unique within the Virtual Hub. Changing this forces a new resource to be created.
    RemoteVirtualNetworkId string
    The ID of the Virtual Network which the Virtual Hub should be connected to. Changing this forces a new resource to be created.
    Routing VirtualHubConnectionRouting
    A routing block as defined below.
    VirtualHubId string
    The ID of the Virtual Hub within which this connection should be created. Changing this forces a new resource to be created.
    InternetSecurityEnabled bool
    Should Internet Security be enabled to secure internet traffic? Defaults to false.
    Name string
    The Name which should be used for this Connection, which must be unique within the Virtual Hub. Changing this forces a new resource to be created.
    RemoteVirtualNetworkId string
    The ID of the Virtual Network which the Virtual Hub should be connected to. Changing this forces a new resource to be created.
    Routing VirtualHubConnectionRoutingArgs
    A routing block as defined below.
    VirtualHubId string
    The ID of the Virtual Hub within which this connection should be created. Changing this forces a new resource to be created.
    internetSecurityEnabled Boolean
    Should Internet Security be enabled to secure internet traffic? Defaults to false.
    name String
    The Name which should be used for this Connection, which must be unique within the Virtual Hub. Changing this forces a new resource to be created.
    remoteVirtualNetworkId String
    The ID of the Virtual Network which the Virtual Hub should be connected to. Changing this forces a new resource to be created.
    routing VirtualHubConnectionRouting
    A routing block as defined below.
    virtualHubId String
    The ID of the Virtual Hub within which this connection should be created. Changing this forces a new resource to be created.
    internetSecurityEnabled boolean
    Should Internet Security be enabled to secure internet traffic? Defaults to false.
    name string
    The Name which should be used for this Connection, which must be unique within the Virtual Hub. Changing this forces a new resource to be created.
    remoteVirtualNetworkId string
    The ID of the Virtual Network which the Virtual Hub should be connected to. Changing this forces a new resource to be created.
    routing VirtualHubConnectionRouting
    A routing block as defined below.
    virtualHubId string
    The ID of the Virtual Hub within which this connection should be created. Changing this forces a new resource to be created.
    internet_security_enabled bool
    Should Internet Security be enabled to secure internet traffic? Defaults to false.
    name str
    The Name which should be used for this Connection, which must be unique within the Virtual Hub. Changing this forces a new resource to be created.
    remote_virtual_network_id str
    The ID of the Virtual Network which the Virtual Hub should be connected to. Changing this forces a new resource to be created.
    routing VirtualHubConnectionRoutingArgs
    A routing block as defined below.
    virtual_hub_id str
    The ID of the Virtual Hub within which this connection should be created. Changing this forces a new resource to be created.
    internetSecurityEnabled Boolean
    Should Internet Security be enabled to secure internet traffic? Defaults to false.
    name String
    The Name which should be used for this Connection, which must be unique within the Virtual Hub. Changing this forces a new resource to be created.
    remoteVirtualNetworkId String
    The ID of the Virtual Network which the Virtual Hub should be connected to. Changing this forces a new resource to be created.
    routing Property Map
    A routing block as defined below.
    virtualHubId String
    The ID of the Virtual Hub within which this connection should be created. Changing this forces a new resource to be created.

    Supporting Types

    VirtualHubConnectionRouting, VirtualHubConnectionRoutingArgs

    AssociatedRouteTableId string
    The ID of the route table associated with this Virtual Hub connection.
    InboundRouteMapId string
    The resource ID of the Route Map associated with this Routing Configuration for inbound learned routes.
    OutboundRouteMapId string
    The resource ID of the Route Map associated with this Routing Configuration for outbound advertised routes.
    PropagatedRouteTable VirtualHubConnectionRoutingPropagatedRouteTable
    A propagated_route_table block as defined below.
    StaticVnetLocalRouteOverrideCriteria string
    The static VNet local route override criteria that is used to determine whether NVA in spoke VNet is bypassed for traffic with destination in spoke VNet. Possible values are Contains and Equal. Defaults to Contains. Changing this forces a new resource to be created.
    StaticVnetRoutes List<VirtualHubConnectionRoutingStaticVnetRoute>
    A static_vnet_route block as defined below.
    AssociatedRouteTableId string
    The ID of the route table associated with this Virtual Hub connection.
    InboundRouteMapId string
    The resource ID of the Route Map associated with this Routing Configuration for inbound learned routes.
    OutboundRouteMapId string
    The resource ID of the Route Map associated with this Routing Configuration for outbound advertised routes.
    PropagatedRouteTable VirtualHubConnectionRoutingPropagatedRouteTable
    A propagated_route_table block as defined below.
    StaticVnetLocalRouteOverrideCriteria string
    The static VNet local route override criteria that is used to determine whether NVA in spoke VNet is bypassed for traffic with destination in spoke VNet. Possible values are Contains and Equal. Defaults to Contains. Changing this forces a new resource to be created.
    StaticVnetRoutes []VirtualHubConnectionRoutingStaticVnetRoute
    A static_vnet_route block as defined below.
    associatedRouteTableId String
    The ID of the route table associated with this Virtual Hub connection.
    inboundRouteMapId String
    The resource ID of the Route Map associated with this Routing Configuration for inbound learned routes.
    outboundRouteMapId String
    The resource ID of the Route Map associated with this Routing Configuration for outbound advertised routes.
    propagatedRouteTable VirtualHubConnectionRoutingPropagatedRouteTable
    A propagated_route_table block as defined below.
    staticVnetLocalRouteOverrideCriteria String
    The static VNet local route override criteria that is used to determine whether NVA in spoke VNet is bypassed for traffic with destination in spoke VNet. Possible values are Contains and Equal. Defaults to Contains. Changing this forces a new resource to be created.
    staticVnetRoutes List<VirtualHubConnectionRoutingStaticVnetRoute>
    A static_vnet_route block as defined below.
    associatedRouteTableId string
    The ID of the route table associated with this Virtual Hub connection.
    inboundRouteMapId string
    The resource ID of the Route Map associated with this Routing Configuration for inbound learned routes.
    outboundRouteMapId string
    The resource ID of the Route Map associated with this Routing Configuration for outbound advertised routes.
    propagatedRouteTable VirtualHubConnectionRoutingPropagatedRouteTable
    A propagated_route_table block as defined below.
    staticVnetLocalRouteOverrideCriteria string
    The static VNet local route override criteria that is used to determine whether NVA in spoke VNet is bypassed for traffic with destination in spoke VNet. Possible values are Contains and Equal. Defaults to Contains. Changing this forces a new resource to be created.
    staticVnetRoutes VirtualHubConnectionRoutingStaticVnetRoute[]
    A static_vnet_route block as defined below.
    associated_route_table_id str
    The ID of the route table associated with this Virtual Hub connection.
    inbound_route_map_id str
    The resource ID of the Route Map associated with this Routing Configuration for inbound learned routes.
    outbound_route_map_id str
    The resource ID of the Route Map associated with this Routing Configuration for outbound advertised routes.
    propagated_route_table VirtualHubConnectionRoutingPropagatedRouteTable
    A propagated_route_table block as defined below.
    static_vnet_local_route_override_criteria str
    The static VNet local route override criteria that is used to determine whether NVA in spoke VNet is bypassed for traffic with destination in spoke VNet. Possible values are Contains and Equal. Defaults to Contains. Changing this forces a new resource to be created.
    static_vnet_routes Sequence[VirtualHubConnectionRoutingStaticVnetRoute]
    A static_vnet_route block as defined below.
    associatedRouteTableId String
    The ID of the route table associated with this Virtual Hub connection.
    inboundRouteMapId String
    The resource ID of the Route Map associated with this Routing Configuration for inbound learned routes.
    outboundRouteMapId String
    The resource ID of the Route Map associated with this Routing Configuration for outbound advertised routes.
    propagatedRouteTable Property Map
    A propagated_route_table block as defined below.
    staticVnetLocalRouteOverrideCriteria String
    The static VNet local route override criteria that is used to determine whether NVA in spoke VNet is bypassed for traffic with destination in spoke VNet. Possible values are Contains and Equal. Defaults to Contains. Changing this forces a new resource to be created.
    staticVnetRoutes List<Property Map>
    A static_vnet_route block as defined below.

    VirtualHubConnectionRoutingPropagatedRouteTable, VirtualHubConnectionRoutingPropagatedRouteTableArgs

    Labels List<string>
    The list of labels to assign to this route table.
    RouteTableIds List<string>
    A list of Route Table IDs to associated with this Virtual Hub Connection.
    Labels []string
    The list of labels to assign to this route table.
    RouteTableIds []string
    A list of Route Table IDs to associated with this Virtual Hub Connection.
    labels List<String>
    The list of labels to assign to this route table.
    routeTableIds List<String>
    A list of Route Table IDs to associated with this Virtual Hub Connection.
    labels string[]
    The list of labels to assign to this route table.
    routeTableIds string[]
    A list of Route Table IDs to associated with this Virtual Hub Connection.
    labels Sequence[str]
    The list of labels to assign to this route table.
    route_table_ids Sequence[str]
    A list of Route Table IDs to associated with this Virtual Hub Connection.
    labels List<String>
    The list of labels to assign to this route table.
    routeTableIds List<String>
    A list of Route Table IDs to associated with this Virtual Hub Connection.

    VirtualHubConnectionRoutingStaticVnetRoute, VirtualHubConnectionRoutingStaticVnetRouteArgs

    AddressPrefixes List<string>
    A list of CIDR Ranges which should be used as Address Prefixes.
    Name string
    The name which should be used for this Static Route.
    NextHopIpAddress string
    The IP Address which should be used for the Next Hop.
    AddressPrefixes []string
    A list of CIDR Ranges which should be used as Address Prefixes.
    Name string
    The name which should be used for this Static Route.
    NextHopIpAddress string
    The IP Address which should be used for the Next Hop.
    addressPrefixes List<String>
    A list of CIDR Ranges which should be used as Address Prefixes.
    name String
    The name which should be used for this Static Route.
    nextHopIpAddress String
    The IP Address which should be used for the Next Hop.
    addressPrefixes string[]
    A list of CIDR Ranges which should be used as Address Prefixes.
    name string
    The name which should be used for this Static Route.
    nextHopIpAddress string
    The IP Address which should be used for the Next Hop.
    address_prefixes Sequence[str]
    A list of CIDR Ranges which should be used as Address Prefixes.
    name str
    The name which should be used for this Static Route.
    next_hop_ip_address str
    The IP Address which should be used for the Next Hop.
    addressPrefixes List<String>
    A list of CIDR Ranges which should be used as Address Prefixes.
    name String
    The name which should be used for this Static Route.
    nextHopIpAddress String
    The IP Address which should be used for the Next Hop.

    Import

    Virtual Hub Connection’s can be imported using the resource id, e.g.

    $ pulumi import azure:network/virtualHubConnection:VirtualHubConnection example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Network/virtualHubs/hub1/hubVirtualNetworkConnections/connection1
    

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure Classic v5.70.0 published on Wednesday, Mar 27, 2024 by Pulumi