1. Packages
  2. Azure Native
  3. API Docs
  4. network
  5. VpnConnection
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.network.VpnConnection

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

    VpnConnection Resource. Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01.

    Other available API versions: 2018-04-01, 2018-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01.

    Example Usage

    VpnConnectionPut

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var vpnConnection = new AzureNative.Network.VpnConnection("vpnConnection", new()
        {
            ConnectionName = "vpnConnection1",
            GatewayName = "gateway1",
            RemoteVpnSite = new AzureNative.Network.Inputs.SubResourceArgs
            {
                Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1",
            },
            ResourceGroupName = "rg1",
            RoutingConfiguration = new AzureNative.Network.Inputs.RoutingConfigurationArgs
            {
                AssociatedRouteTable = new AzureNative.Network.Inputs.SubResourceArgs
                {
                    Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/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/hub1/hubRouteTables/hubRouteTable1",
                        },
                        new AzureNative.Network.Inputs.SubResourceArgs
                        {
                            Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable2",
                        },
                        new AzureNative.Network.Inputs.SubResourceArgs
                        {
                            Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable3",
                        },
                    },
                    Labels = new[]
                    {
                        "label1",
                        "label2",
                    },
                },
            },
            TrafficSelectorPolicies = new[] {},
            VpnLinkConnections = new[]
            {
                new AzureNative.Network.Inputs.VpnSiteLinkConnectionArgs
                {
                    ConnectionBandwidth = 200,
                    Name = "Connection-Link1",
                    SharedKey = "key",
                    UsePolicyBasedTrafficSelectors = false,
                    VpnConnectionProtocolType = AzureNative.Network.VirtualNetworkGatewayConnectionProtocol.IKEv2,
                    VpnLinkConnectionMode = AzureNative.Network.VpnLinkConnectionMode.Default,
                    VpnSiteLink = new AzureNative.Network.Inputs.SubResourceArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1",
                    },
                },
            },
        });
    
    });
    
    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.NewVpnConnection(ctx, "vpnConnection", &network.VpnConnectionArgs{
    			ConnectionName: pulumi.String("vpnConnection1"),
    			GatewayName:    pulumi.String("gateway1"),
    			RemoteVpnSite: &network.SubResourceArgs{
    				Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"),
    			},
    			ResourceGroupName: pulumi.String("rg1"),
    			RoutingConfiguration: &network.RoutingConfigurationArgs{
    				AssociatedRouteTable: &network.SubResourceArgs{
    					Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/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/hub1/hubRouteTables/hubRouteTable1"),
    						},
    						&network.SubResourceArgs{
    							Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable2"),
    						},
    						&network.SubResourceArgs{
    							Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable3"),
    						},
    					},
    					Labels: pulumi.StringArray{
    						pulumi.String("label1"),
    						pulumi.String("label2"),
    					},
    				},
    			},
    			TrafficSelectorPolicies: network.TrafficSelectorPolicyArray{},
    			VpnLinkConnections: network.VpnSiteLinkConnectionArray{
    				&network.VpnSiteLinkConnectionArgs{
    					ConnectionBandwidth:            pulumi.Int(200),
    					Name:                           pulumi.String("Connection-Link1"),
    					SharedKey:                      pulumi.String("key"),
    					UsePolicyBasedTrafficSelectors: pulumi.Bool(false),
    					VpnConnectionProtocolType:      pulumi.String(network.VirtualNetworkGatewayConnectionProtocolIKEv2),
    					VpnLinkConnectionMode:          pulumi.String(network.VpnLinkConnectionModeDefault),
    					VpnSiteLink: &network.SubResourceArgs{
    						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1"),
    					},
    				},
    			},
    		})
    		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.VpnConnection;
    import com.pulumi.azurenative.network.VpnConnectionArgs;
    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.VpnSiteLinkConnectionArgs;
    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 vpnConnection = new VpnConnection("vpnConnection", VpnConnectionArgs.builder()
                .connectionName("vpnConnection1")
                .gatewayName("gateway1")
                .remoteVpnSite(SubResourceArgs.builder()
                    .id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1")
                    .build())
                .resourceGroupName("rg1")
                .routingConfiguration(RoutingConfigurationArgs.builder()
                    .associatedRouteTable(SubResourceArgs.builder()
                        .id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/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/hub1/hubRouteTables/hubRouteTable1")
                                .build(),
                            SubResourceArgs.builder()
                                .id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable2")
                                .build(),
                            SubResourceArgs.builder()
                                .id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable3")
                                .build())
                        .labels(                    
                            "label1",
                            "label2")
                        .build())
                    .build())
                .trafficSelectorPolicies()
                .vpnLinkConnections(VpnSiteLinkConnectionArgs.builder()
                    .connectionBandwidth(200)
                    .name("Connection-Link1")
                    .sharedKey("key")
                    .usePolicyBasedTrafficSelectors(false)
                    .vpnConnectionProtocolType("IKEv2")
                    .vpnLinkConnectionMode("Default")
                    .vpnSiteLink(SubResourceArgs.builder()
                        .id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    vpn_connection = azure_native.network.VpnConnection("vpnConnection",
        connection_name="vpnConnection1",
        gateway_name="gateway1",
        remote_vpn_site=azure_native.network.SubResourceArgs(
            id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1",
        ),
        resource_group_name="rg1",
        routing_configuration=azure_native.network.RoutingConfigurationArgs(
            associated_route_table=azure_native.network.SubResourceArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1",
            ),
            inbound_route_map=azure_native.network.SubResourceArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1",
            ),
            outbound_route_map=azure_native.network.SubResourceArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2",
            ),
            propagated_route_tables=azure_native.network.PropagatedRouteTableArgs(
                ids=[
                    azure_native.network.SubResourceArgs(
                        id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1",
                    ),
                    azure_native.network.SubResourceArgs(
                        id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable2",
                    ),
                    azure_native.network.SubResourceArgs(
                        id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable3",
                    ),
                ],
                labels=[
                    "label1",
                    "label2",
                ],
            ),
        ),
        traffic_selector_policies=[],
        vpn_link_connections=[azure_native.network.VpnSiteLinkConnectionArgs(
            connection_bandwidth=200,
            name="Connection-Link1",
            shared_key="key",
            use_policy_based_traffic_selectors=False,
            vpn_connection_protocol_type=azure_native.network.VirtualNetworkGatewayConnectionProtocol.IK_EV2,
            vpn_link_connection_mode=azure_native.network.VpnLinkConnectionMode.DEFAULT,
            vpn_site_link=azure_native.network.SubResourceArgs(
                id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1",
            ),
        )])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const vpnConnection = new azure_native.network.VpnConnection("vpnConnection", {
        connectionName: "vpnConnection1",
        gatewayName: "gateway1",
        remoteVpnSite: {
            id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1",
        },
        resourceGroupName: "rg1",
        routingConfiguration: {
            associatedRouteTable: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/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/hub1/hubRouteTables/hubRouteTable1",
                    },
                    {
                        id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable2",
                    },
                    {
                        id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable3",
                    },
                ],
                labels: [
                    "label1",
                    "label2",
                ],
            },
        },
        trafficSelectorPolicies: [],
        vpnLinkConnections: [{
            connectionBandwidth: 200,
            name: "Connection-Link1",
            sharedKey: "key",
            usePolicyBasedTrafficSelectors: false,
            vpnConnectionProtocolType: azure_native.network.VirtualNetworkGatewayConnectionProtocol.IKEv2,
            vpnLinkConnectionMode: azure_native.network.VpnLinkConnectionMode.Default,
            vpnSiteLink: {
                id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1",
            },
        }],
    });
    
    resources:
      vpnConnection:
        type: azure-native:network:VpnConnection
        properties:
          connectionName: vpnConnection1
          gatewayName: gateway1
          remoteVpnSite:
            id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1
          resourceGroupName: rg1
          routingConfiguration:
            associatedRouteTable:
              id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/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/hub1/hubRouteTables/hubRouteTable1
                - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable2
                - id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable3
              labels:
                - label1
                - label2
          trafficSelectorPolicies: []
          vpnLinkConnections:
            - connectionBandwidth: 200
              name: Connection-Link1
              sharedKey: key
              usePolicyBasedTrafficSelectors: false
              vpnConnectionProtocolType: IKEv2
              vpnLinkConnectionMode: Default
              vpnSiteLink:
                id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1
    

    Create VpnConnection Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new VpnConnection(name: string, args: VpnConnectionArgs, opts?: CustomResourceOptions);
    @overload
    def VpnConnection(resource_name: str,
                      args: VpnConnectionInitArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def VpnConnection(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      gateway_name: Optional[str] = None,
                      resource_group_name: Optional[str] = None,
                      remote_vpn_site: Optional[SubResourceArgs] = None,
                      connection_name: Optional[str] = None,
                      enable_internet_security: Optional[bool] = None,
                      enable_rate_limiting: Optional[bool] = None,
                      dpd_timeout_seconds: Optional[int] = None,
                      id: Optional[str] = None,
                      ipsec_policies: Optional[Sequence[IpsecPolicyArgs]] = None,
                      name: Optional[str] = None,
                      connection_bandwidth: Optional[int] = None,
                      enable_bgp: Optional[bool] = None,
                      routing_configuration: Optional[RoutingConfigurationArgs] = None,
                      routing_weight: Optional[int] = None,
                      shared_key: Optional[str] = None,
                      traffic_selector_policies: Optional[Sequence[TrafficSelectorPolicyArgs]] = None,
                      use_local_azure_ip_address: Optional[bool] = None,
                      use_policy_based_traffic_selectors: Optional[bool] = None,
                      vpn_connection_protocol_type: Optional[Union[str, VirtualNetworkGatewayConnectionProtocol]] = None,
                      vpn_link_connections: Optional[Sequence[VpnSiteLinkConnectionArgs]] = None)
    func NewVpnConnection(ctx *Context, name string, args VpnConnectionArgs, opts ...ResourceOption) (*VpnConnection, error)
    public VpnConnection(string name, VpnConnectionArgs args, CustomResourceOptions? opts = null)
    public VpnConnection(String name, VpnConnectionArgs args)
    public VpnConnection(String name, VpnConnectionArgs args, CustomResourceOptions options)
    
    type: azure-native:network:VpnConnection
    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 VpnConnectionArgs
    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 VpnConnectionInitArgs
    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 VpnConnectionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VpnConnectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VpnConnectionArgs
    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 vpnConnectionResource = new AzureNative.Network.VpnConnection("vpnConnectionResource", new()
    {
        GatewayName = "string",
        ResourceGroupName = "string",
        RemoteVpnSite = new AzureNative.Network.Inputs.SubResourceArgs
        {
            Id = "string",
        },
        ConnectionName = "string",
        EnableInternetSecurity = false,
        EnableRateLimiting = false,
        DpdTimeoutSeconds = 0,
        Id = "string",
        IpsecPolicies = new[]
        {
            new AzureNative.Network.Inputs.IpsecPolicyArgs
            {
                DhGroup = "string",
                IkeEncryption = "string",
                IkeIntegrity = "string",
                IpsecEncryption = "string",
                IpsecIntegrity = "string",
                PfsGroup = "string",
                SaDataSizeKilobytes = 0,
                SaLifeTimeSeconds = 0,
            },
        },
        Name = "string",
        ConnectionBandwidth = 0,
        EnableBgp = false,
        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",
                },
            },
        },
        RoutingWeight = 0,
        SharedKey = "string",
        TrafficSelectorPolicies = new[]
        {
            new AzureNative.Network.Inputs.TrafficSelectorPolicyArgs
            {
                LocalAddressRanges = new[]
                {
                    "string",
                },
                RemoteAddressRanges = new[]
                {
                    "string",
                },
            },
        },
        UseLocalAzureIpAddress = false,
        UsePolicyBasedTrafficSelectors = false,
        VpnConnectionProtocolType = "string",
        VpnLinkConnections = new[]
        {
            new AzureNative.Network.Inputs.VpnSiteLinkConnectionArgs
            {
                ConnectionBandwidth = 0,
                EgressNatRules = new[]
                {
                    new AzureNative.Network.Inputs.SubResourceArgs
                    {
                        Id = "string",
                    },
                },
                EnableBgp = false,
                EnableRateLimiting = false,
                Id = "string",
                IngressNatRules = new[]
                {
                    new AzureNative.Network.Inputs.SubResourceArgs
                    {
                        Id = "string",
                    },
                },
                IpsecPolicies = new[]
                {
                    new AzureNative.Network.Inputs.IpsecPolicyArgs
                    {
                        DhGroup = "string",
                        IkeEncryption = "string",
                        IkeIntegrity = "string",
                        IpsecEncryption = "string",
                        IpsecIntegrity = "string",
                        PfsGroup = "string",
                        SaDataSizeKilobytes = 0,
                        SaLifeTimeSeconds = 0,
                    },
                },
                Name = "string",
                RoutingWeight = 0,
                SharedKey = "string",
                UseLocalAzureIpAddress = false,
                UsePolicyBasedTrafficSelectors = false,
                VpnConnectionProtocolType = "string",
                VpnGatewayCustomBgpAddresses = new[]
                {
                    new AzureNative.Network.Inputs.GatewayCustomBgpIpAddressIpConfigurationArgs
                    {
                        CustomBgpIpAddress = "string",
                        IpConfigurationId = "string",
                    },
                },
                VpnLinkConnectionMode = "string",
                VpnSiteLink = new AzureNative.Network.Inputs.SubResourceArgs
                {
                    Id = "string",
                },
            },
        },
    });
    
    example, err := network.NewVpnConnection(ctx, "vpnConnectionResource", &network.VpnConnectionArgs{
    GatewayName: pulumi.String("string"),
    ResourceGroupName: pulumi.String("string"),
    RemoteVpnSite: &network.SubResourceArgs{
    Id: pulumi.String("string"),
    },
    ConnectionName: pulumi.String("string"),
    EnableInternetSecurity: pulumi.Bool(false),
    EnableRateLimiting: pulumi.Bool(false),
    DpdTimeoutSeconds: pulumi.Int(0),
    Id: pulumi.String("string"),
    IpsecPolicies: network.IpsecPolicyArray{
    &network.IpsecPolicyArgs{
    DhGroup: pulumi.String("string"),
    IkeEncryption: pulumi.String("string"),
    IkeIntegrity: pulumi.String("string"),
    IpsecEncryption: pulumi.String("string"),
    IpsecIntegrity: pulumi.String("string"),
    PfsGroup: pulumi.String("string"),
    SaDataSizeKilobytes: pulumi.Int(0),
    SaLifeTimeSeconds: pulumi.Int(0),
    },
    },
    Name: pulumi.String("string"),
    ConnectionBandwidth: pulumi.Int(0),
    EnableBgp: pulumi.Bool(false),
    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"),
    },
    },
    },
    RoutingWeight: pulumi.Int(0),
    SharedKey: pulumi.String("string"),
    TrafficSelectorPolicies: network.TrafficSelectorPolicyArray{
    &network.TrafficSelectorPolicyArgs{
    LocalAddressRanges: pulumi.StringArray{
    pulumi.String("string"),
    },
    RemoteAddressRanges: pulumi.StringArray{
    pulumi.String("string"),
    },
    },
    },
    UseLocalAzureIpAddress: pulumi.Bool(false),
    UsePolicyBasedTrafficSelectors: pulumi.Bool(false),
    VpnConnectionProtocolType: pulumi.String("string"),
    VpnLinkConnections: network.VpnSiteLinkConnectionArray{
    &network.VpnSiteLinkConnectionArgs{
    ConnectionBandwidth: pulumi.Int(0),
    EgressNatRules: network.SubResourceArray{
    &network.SubResourceArgs{
    Id: pulumi.String("string"),
    },
    },
    EnableBgp: pulumi.Bool(false),
    EnableRateLimiting: pulumi.Bool(false),
    Id: pulumi.String("string"),
    IngressNatRules: network.SubResourceArray{
    &network.SubResourceArgs{
    Id: pulumi.String("string"),
    },
    },
    IpsecPolicies: network.IpsecPolicyArray{
    &network.IpsecPolicyArgs{
    DhGroup: pulumi.String("string"),
    IkeEncryption: pulumi.String("string"),
    IkeIntegrity: pulumi.String("string"),
    IpsecEncryption: pulumi.String("string"),
    IpsecIntegrity: pulumi.String("string"),
    PfsGroup: pulumi.String("string"),
    SaDataSizeKilobytes: pulumi.Int(0),
    SaLifeTimeSeconds: pulumi.Int(0),
    },
    },
    Name: pulumi.String("string"),
    RoutingWeight: pulumi.Int(0),
    SharedKey: pulumi.String("string"),
    UseLocalAzureIpAddress: pulumi.Bool(false),
    UsePolicyBasedTrafficSelectors: pulumi.Bool(false),
    VpnConnectionProtocolType: pulumi.String("string"),
    VpnGatewayCustomBgpAddresses: network.GatewayCustomBgpIpAddressIpConfigurationArray{
    &network.GatewayCustomBgpIpAddressIpConfigurationArgs{
    CustomBgpIpAddress: pulumi.String("string"),
    IpConfigurationId: pulumi.String("string"),
    },
    },
    VpnLinkConnectionMode: pulumi.String("string"),
    VpnSiteLink: &network.SubResourceArgs{
    Id: pulumi.String("string"),
    },
    },
    },
    })
    
    var vpnConnectionResource = new VpnConnection("vpnConnectionResource", VpnConnectionArgs.builder()
        .gatewayName("string")
        .resourceGroupName("string")
        .remoteVpnSite(SubResourceArgs.builder()
            .id("string")
            .build())
        .connectionName("string")
        .enableInternetSecurity(false)
        .enableRateLimiting(false)
        .dpdTimeoutSeconds(0)
        .id("string")
        .ipsecPolicies(IpsecPolicyArgs.builder()
            .dhGroup("string")
            .ikeEncryption("string")
            .ikeIntegrity("string")
            .ipsecEncryption("string")
            .ipsecIntegrity("string")
            .pfsGroup("string")
            .saDataSizeKilobytes(0)
            .saLifeTimeSeconds(0)
            .build())
        .name("string")
        .connectionBandwidth(0)
        .enableBgp(false)
        .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())
        .routingWeight(0)
        .sharedKey("string")
        .trafficSelectorPolicies(TrafficSelectorPolicyArgs.builder()
            .localAddressRanges("string")
            .remoteAddressRanges("string")
            .build())
        .useLocalAzureIpAddress(false)
        .usePolicyBasedTrafficSelectors(false)
        .vpnConnectionProtocolType("string")
        .vpnLinkConnections(VpnSiteLinkConnectionArgs.builder()
            .connectionBandwidth(0)
            .egressNatRules(SubResourceArgs.builder()
                .id("string")
                .build())
            .enableBgp(false)
            .enableRateLimiting(false)
            .id("string")
            .ingressNatRules(SubResourceArgs.builder()
                .id("string")
                .build())
            .ipsecPolicies(IpsecPolicyArgs.builder()
                .dhGroup("string")
                .ikeEncryption("string")
                .ikeIntegrity("string")
                .ipsecEncryption("string")
                .ipsecIntegrity("string")
                .pfsGroup("string")
                .saDataSizeKilobytes(0)
                .saLifeTimeSeconds(0)
                .build())
            .name("string")
            .routingWeight(0)
            .sharedKey("string")
            .useLocalAzureIpAddress(false)
            .usePolicyBasedTrafficSelectors(false)
            .vpnConnectionProtocolType("string")
            .vpnGatewayCustomBgpAddresses(GatewayCustomBgpIpAddressIpConfigurationArgs.builder()
                .customBgpIpAddress("string")
                .ipConfigurationId("string")
                .build())
            .vpnLinkConnectionMode("string")
            .vpnSiteLink(SubResourceArgs.builder()
                .id("string")
                .build())
            .build())
        .build());
    
    vpn_connection_resource = azure_native.network.VpnConnection("vpnConnectionResource",
        gateway_name="string",
        resource_group_name="string",
        remote_vpn_site=azure_native.network.SubResourceArgs(
            id="string",
        ),
        connection_name="string",
        enable_internet_security=False,
        enable_rate_limiting=False,
        dpd_timeout_seconds=0,
        id="string",
        ipsec_policies=[azure_native.network.IpsecPolicyArgs(
            dh_group="string",
            ike_encryption="string",
            ike_integrity="string",
            ipsec_encryption="string",
            ipsec_integrity="string",
            pfs_group="string",
            sa_data_size_kilobytes=0,
            sa_life_time_seconds=0,
        )],
        name="string",
        connection_bandwidth=0,
        enable_bgp=False,
        routing_configuration=azure_native.network.RoutingConfigurationArgs(
            associated_route_table=azure_native.network.SubResourceArgs(
                id="string",
            ),
            inbound_route_map=azure_native.network.SubResourceArgs(
                id="string",
            ),
            outbound_route_map=azure_native.network.SubResourceArgs(
                id="string",
            ),
            propagated_route_tables=azure_native.network.PropagatedRouteTableArgs(
                ids=[azure_native.network.SubResourceArgs(
                    id="string",
                )],
                labels=["string"],
            ),
            vnet_routes=azure_native.network.VnetRouteArgs(
                static_routes=[azure_native.network.StaticRouteArgs(
                    address_prefixes=["string"],
                    name="string",
                    next_hop_ip_address="string",
                )],
                static_routes_config=azure_native.network.StaticRoutesConfigArgs(
                    vnet_local_route_override_criteria="string",
                ),
            ),
        ),
        routing_weight=0,
        shared_key="string",
        traffic_selector_policies=[azure_native.network.TrafficSelectorPolicyArgs(
            local_address_ranges=["string"],
            remote_address_ranges=["string"],
        )],
        use_local_azure_ip_address=False,
        use_policy_based_traffic_selectors=False,
        vpn_connection_protocol_type="string",
        vpn_link_connections=[azure_native.network.VpnSiteLinkConnectionArgs(
            connection_bandwidth=0,
            egress_nat_rules=[azure_native.network.SubResourceArgs(
                id="string",
            )],
            enable_bgp=False,
            enable_rate_limiting=False,
            id="string",
            ingress_nat_rules=[azure_native.network.SubResourceArgs(
                id="string",
            )],
            ipsec_policies=[azure_native.network.IpsecPolicyArgs(
                dh_group="string",
                ike_encryption="string",
                ike_integrity="string",
                ipsec_encryption="string",
                ipsec_integrity="string",
                pfs_group="string",
                sa_data_size_kilobytes=0,
                sa_life_time_seconds=0,
            )],
            name="string",
            routing_weight=0,
            shared_key="string",
            use_local_azure_ip_address=False,
            use_policy_based_traffic_selectors=False,
            vpn_connection_protocol_type="string",
            vpn_gateway_custom_bgp_addresses=[azure_native.network.GatewayCustomBgpIpAddressIpConfigurationArgs(
                custom_bgp_ip_address="string",
                ip_configuration_id="string",
            )],
            vpn_link_connection_mode="string",
            vpn_site_link=azure_native.network.SubResourceArgs(
                id="string",
            ),
        )])
    
    const vpnConnectionResource = new azure_native.network.VpnConnection("vpnConnectionResource", {
        gatewayName: "string",
        resourceGroupName: "string",
        remoteVpnSite: {
            id: "string",
        },
        connectionName: "string",
        enableInternetSecurity: false,
        enableRateLimiting: false,
        dpdTimeoutSeconds: 0,
        id: "string",
        ipsecPolicies: [{
            dhGroup: "string",
            ikeEncryption: "string",
            ikeIntegrity: "string",
            ipsecEncryption: "string",
            ipsecIntegrity: "string",
            pfsGroup: "string",
            saDataSizeKilobytes: 0,
            saLifeTimeSeconds: 0,
        }],
        name: "string",
        connectionBandwidth: 0,
        enableBgp: false,
        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",
                },
            },
        },
        routingWeight: 0,
        sharedKey: "string",
        trafficSelectorPolicies: [{
            localAddressRanges: ["string"],
            remoteAddressRanges: ["string"],
        }],
        useLocalAzureIpAddress: false,
        usePolicyBasedTrafficSelectors: false,
        vpnConnectionProtocolType: "string",
        vpnLinkConnections: [{
            connectionBandwidth: 0,
            egressNatRules: [{
                id: "string",
            }],
            enableBgp: false,
            enableRateLimiting: false,
            id: "string",
            ingressNatRules: [{
                id: "string",
            }],
            ipsecPolicies: [{
                dhGroup: "string",
                ikeEncryption: "string",
                ikeIntegrity: "string",
                ipsecEncryption: "string",
                ipsecIntegrity: "string",
                pfsGroup: "string",
                saDataSizeKilobytes: 0,
                saLifeTimeSeconds: 0,
            }],
            name: "string",
            routingWeight: 0,
            sharedKey: "string",
            useLocalAzureIpAddress: false,
            usePolicyBasedTrafficSelectors: false,
            vpnConnectionProtocolType: "string",
            vpnGatewayCustomBgpAddresses: [{
                customBgpIpAddress: "string",
                ipConfigurationId: "string",
            }],
            vpnLinkConnectionMode: "string",
            vpnSiteLink: {
                id: "string",
            },
        }],
    });
    
    type: azure-native:network:VpnConnection
    properties:
        connectionBandwidth: 0
        connectionName: string
        dpdTimeoutSeconds: 0
        enableBgp: false
        enableInternetSecurity: false
        enableRateLimiting: false
        gatewayName: string
        id: string
        ipsecPolicies:
            - dhGroup: string
              ikeEncryption: string
              ikeIntegrity: string
              ipsecEncryption: string
              ipsecIntegrity: string
              pfsGroup: string
              saDataSizeKilobytes: 0
              saLifeTimeSeconds: 0
        name: string
        remoteVpnSite:
            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
        routingWeight: 0
        sharedKey: string
        trafficSelectorPolicies:
            - localAddressRanges:
                - string
              remoteAddressRanges:
                - string
        useLocalAzureIpAddress: false
        usePolicyBasedTrafficSelectors: false
        vpnConnectionProtocolType: string
        vpnLinkConnections:
            - connectionBandwidth: 0
              egressNatRules:
                - id: string
              enableBgp: false
              enableRateLimiting: false
              id: string
              ingressNatRules:
                - id: string
              ipsecPolicies:
                - dhGroup: string
                  ikeEncryption: string
                  ikeIntegrity: string
                  ipsecEncryption: string
                  ipsecIntegrity: string
                  pfsGroup: string
                  saDataSizeKilobytes: 0
                  saLifeTimeSeconds: 0
              name: string
              routingWeight: 0
              sharedKey: string
              useLocalAzureIpAddress: false
              usePolicyBasedTrafficSelectors: false
              vpnConnectionProtocolType: string
              vpnGatewayCustomBgpAddresses:
                - customBgpIpAddress: string
                  ipConfigurationId: string
              vpnLinkConnectionMode: string
              vpnSiteLink:
                id: string
    

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

    GatewayName string
    The name of the gateway.
    ResourceGroupName string
    The resource group name of the VpnGateway.
    ConnectionBandwidth int
    Expected bandwidth in MBPS.
    ConnectionName string
    The name of the connection.
    DpdTimeoutSeconds int
    DPD timeout in seconds for vpn connection.
    EnableBgp bool
    EnableBgp flag.
    EnableInternetSecurity bool
    Enable internet security.
    EnableRateLimiting bool
    EnableBgp flag.
    Id string
    Resource ID.
    IpsecPolicies List<Pulumi.AzureNative.Network.Inputs.IpsecPolicy>
    The IPSec Policies to be considered by this connection.
    Name string
    The name of the resource that is unique within a resource group. This name can be used to access the resource.
    RemoteVpnSite Pulumi.AzureNative.Network.Inputs.SubResource
    Id of the connected vpn site.
    RoutingConfiguration Pulumi.AzureNative.Network.Inputs.RoutingConfiguration
    The Routing Configuration indicating the associated and propagated route tables on this connection.
    RoutingWeight int
    Routing weight for vpn connection.
    SharedKey string
    SharedKey for the vpn connection.
    TrafficSelectorPolicies List<Pulumi.AzureNative.Network.Inputs.TrafficSelectorPolicy>
    The Traffic Selector Policies to be considered by this connection.
    UseLocalAzureIpAddress bool
    Use local azure ip to initiate connection.
    UsePolicyBasedTrafficSelectors bool
    Enable policy-based traffic selectors.
    VpnConnectionProtocolType string | Pulumi.AzureNative.Network.VirtualNetworkGatewayConnectionProtocol
    Connection protocol used for this connection.
    VpnLinkConnections List<Pulumi.AzureNative.Network.Inputs.VpnSiteLinkConnection>
    List of all vpn site link connections to the gateway.
    GatewayName string
    The name of the gateway.
    ResourceGroupName string
    The resource group name of the VpnGateway.
    ConnectionBandwidth int
    Expected bandwidth in MBPS.
    ConnectionName string
    The name of the connection.
    DpdTimeoutSeconds int
    DPD timeout in seconds for vpn connection.
    EnableBgp bool
    EnableBgp flag.
    EnableInternetSecurity bool
    Enable internet security.
    EnableRateLimiting bool
    EnableBgp flag.
    Id string
    Resource ID.
    IpsecPolicies []IpsecPolicyArgs
    The IPSec Policies to be considered by this connection.
    Name string
    The name of the resource that is unique within a resource group. This name can be used to access the resource.
    RemoteVpnSite SubResourceArgs
    Id of the connected vpn site.
    RoutingConfiguration RoutingConfigurationArgs
    The Routing Configuration indicating the associated and propagated route tables on this connection.
    RoutingWeight int
    Routing weight for vpn connection.
    SharedKey string
    SharedKey for the vpn connection.
    TrafficSelectorPolicies []TrafficSelectorPolicyArgs
    The Traffic Selector Policies to be considered by this connection.
    UseLocalAzureIpAddress bool
    Use local azure ip to initiate connection.
    UsePolicyBasedTrafficSelectors bool
    Enable policy-based traffic selectors.
    VpnConnectionProtocolType string | VirtualNetworkGatewayConnectionProtocol
    Connection protocol used for this connection.
    VpnLinkConnections []VpnSiteLinkConnectionArgs
    List of all vpn site link connections to the gateway.
    gatewayName String
    The name of the gateway.
    resourceGroupName String
    The resource group name of the VpnGateway.
    connectionBandwidth Integer
    Expected bandwidth in MBPS.
    connectionName String
    The name of the connection.
    dpdTimeoutSeconds Integer
    DPD timeout in seconds for vpn connection.
    enableBgp Boolean
    EnableBgp flag.
    enableInternetSecurity Boolean
    Enable internet security.
    enableRateLimiting Boolean
    EnableBgp flag.
    id String
    Resource ID.
    ipsecPolicies List<IpsecPolicy>
    The IPSec Policies to be considered by this connection.
    name String
    The name of the resource that is unique within a resource group. This name can be used to access the resource.
    remoteVpnSite SubResource
    Id of the connected vpn site.
    routingConfiguration RoutingConfiguration
    The Routing Configuration indicating the associated and propagated route tables on this connection.
    routingWeight Integer
    Routing weight for vpn connection.
    sharedKey String
    SharedKey for the vpn connection.
    trafficSelectorPolicies List<TrafficSelectorPolicy>
    The Traffic Selector Policies to be considered by this connection.
    useLocalAzureIpAddress Boolean
    Use local azure ip to initiate connection.
    usePolicyBasedTrafficSelectors Boolean
    Enable policy-based traffic selectors.
    vpnConnectionProtocolType String | VirtualNetworkGatewayConnectionProtocol
    Connection protocol used for this connection.
    vpnLinkConnections List<VpnSiteLinkConnection>
    List of all vpn site link connections to the gateway.
    gatewayName string
    The name of the gateway.
    resourceGroupName string
    The resource group name of the VpnGateway.
    connectionBandwidth number
    Expected bandwidth in MBPS.
    connectionName string
    The name of the connection.
    dpdTimeoutSeconds number
    DPD timeout in seconds for vpn connection.
    enableBgp boolean
    EnableBgp flag.
    enableInternetSecurity boolean
    Enable internet security.
    enableRateLimiting boolean
    EnableBgp flag.
    id string
    Resource ID.
    ipsecPolicies IpsecPolicy[]
    The IPSec Policies to be considered by this connection.
    name string
    The name of the resource that is unique within a resource group. This name can be used to access the resource.
    remoteVpnSite SubResource
    Id of the connected vpn site.
    routingConfiguration RoutingConfiguration
    The Routing Configuration indicating the associated and propagated route tables on this connection.
    routingWeight number
    Routing weight for vpn connection.
    sharedKey string
    SharedKey for the vpn connection.
    trafficSelectorPolicies TrafficSelectorPolicy[]
    The Traffic Selector Policies to be considered by this connection.
    useLocalAzureIpAddress boolean
    Use local azure ip to initiate connection.
    usePolicyBasedTrafficSelectors boolean
    Enable policy-based traffic selectors.
    vpnConnectionProtocolType string | VirtualNetworkGatewayConnectionProtocol
    Connection protocol used for this connection.
    vpnLinkConnections VpnSiteLinkConnection[]
    List of all vpn site link connections to the gateway.
    gateway_name str
    The name of the gateway.
    resource_group_name str
    The resource group name of the VpnGateway.
    connection_bandwidth int
    Expected bandwidth in MBPS.
    connection_name str
    The name of the connection.
    dpd_timeout_seconds int
    DPD timeout in seconds for vpn connection.
    enable_bgp bool
    EnableBgp flag.
    enable_internet_security bool
    Enable internet security.
    enable_rate_limiting bool
    EnableBgp flag.
    id str
    Resource ID.
    ipsec_policies Sequence[IpsecPolicyArgs]
    The IPSec Policies to be considered by this connection.
    name str
    The name of the resource that is unique within a resource group. This name can be used to access the resource.
    remote_vpn_site SubResourceArgs
    Id of the connected vpn site.
    routing_configuration RoutingConfigurationArgs
    The Routing Configuration indicating the associated and propagated route tables on this connection.
    routing_weight int
    Routing weight for vpn connection.
    shared_key str
    SharedKey for the vpn connection.
    traffic_selector_policies Sequence[TrafficSelectorPolicyArgs]
    The Traffic Selector Policies to be considered by this connection.
    use_local_azure_ip_address bool
    Use local azure ip to initiate connection.
    use_policy_based_traffic_selectors bool
    Enable policy-based traffic selectors.
    vpn_connection_protocol_type str | VirtualNetworkGatewayConnectionProtocol
    Connection protocol used for this connection.
    vpn_link_connections Sequence[VpnSiteLinkConnectionArgs]
    List of all vpn site link connections to the gateway.
    gatewayName String
    The name of the gateway.
    resourceGroupName String
    The resource group name of the VpnGateway.
    connectionBandwidth Number
    Expected bandwidth in MBPS.
    connectionName String
    The name of the connection.
    dpdTimeoutSeconds Number
    DPD timeout in seconds for vpn connection.
    enableBgp Boolean
    EnableBgp flag.
    enableInternetSecurity Boolean
    Enable internet security.
    enableRateLimiting Boolean
    EnableBgp flag.
    id String
    Resource ID.
    ipsecPolicies List<Property Map>
    The IPSec Policies to be considered by this connection.
    name String
    The name of the resource that is unique within a resource group. This name can be used to access the resource.
    remoteVpnSite Property Map
    Id of the connected vpn site.
    routingConfiguration Property Map
    The Routing Configuration indicating the associated and propagated route tables on this connection.
    routingWeight Number
    Routing weight for vpn connection.
    sharedKey String
    SharedKey for the vpn connection.
    trafficSelectorPolicies List<Property Map>
    The Traffic Selector Policies to be considered by this connection.
    useLocalAzureIpAddress Boolean
    Use local azure ip to initiate connection.
    usePolicyBasedTrafficSelectors Boolean
    Enable policy-based traffic selectors.
    vpnConnectionProtocolType String | "IKEv2" | "IKEv1"
    Connection protocol used for this connection.
    vpnLinkConnections List<Property Map>
    List of all vpn site link connections to the gateway.

    Outputs

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

    ConnectionStatus string
    The connection status.
    EgressBytesTransferred double
    Egress bytes transferred.
    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.
    IngressBytesTransferred double
    Ingress bytes transferred.
    ProvisioningState string
    The provisioning state of the VPN connection resource.
    ConnectionStatus string
    The connection status.
    EgressBytesTransferred float64
    Egress bytes transferred.
    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.
    IngressBytesTransferred float64
    Ingress bytes transferred.
    ProvisioningState string
    The provisioning state of the VPN connection resource.
    connectionStatus String
    The connection status.
    egressBytesTransferred Double
    Egress bytes transferred.
    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.
    ingressBytesTransferred Double
    Ingress bytes transferred.
    provisioningState String
    The provisioning state of the VPN connection resource.
    connectionStatus string
    The connection status.
    egressBytesTransferred number
    Egress bytes transferred.
    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.
    ingressBytesTransferred number
    Ingress bytes transferred.
    provisioningState string
    The provisioning state of the VPN connection resource.
    connection_status str
    The connection status.
    egress_bytes_transferred float
    Egress bytes transferred.
    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.
    ingress_bytes_transferred float
    Ingress bytes transferred.
    provisioning_state str
    The provisioning state of the VPN connection resource.
    connectionStatus String
    The connection status.
    egressBytesTransferred Number
    Egress bytes transferred.
    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.
    ingressBytesTransferred Number
    Ingress bytes transferred.
    provisioningState String
    The provisioning state of the VPN connection resource.

    Supporting Types

    DhGroup, DhGroupArgs

    None
    None
    DHGroup1
    DHGroup1
    DHGroup2
    DHGroup2
    DHGroup14
    DHGroup14
    DHGroup2048
    DHGroup2048
    ECP256
    ECP256
    ECP384
    ECP384
    DHGroup24
    DHGroup24
    DhGroupNone
    None
    DhGroupDHGroup1
    DHGroup1
    DhGroupDHGroup2
    DHGroup2
    DhGroupDHGroup14
    DHGroup14
    DhGroupDHGroup2048
    DHGroup2048
    DhGroupECP256
    ECP256
    DhGroupECP384
    ECP384
    DhGroupDHGroup24
    DHGroup24
    None
    None
    DHGroup1
    DHGroup1
    DHGroup2
    DHGroup2
    DHGroup14
    DHGroup14
    DHGroup2048
    DHGroup2048
    ECP256
    ECP256
    ECP384
    ECP384
    DHGroup24
    DHGroup24
    None
    None
    DHGroup1
    DHGroup1
    DHGroup2
    DHGroup2
    DHGroup14
    DHGroup14
    DHGroup2048
    DHGroup2048
    ECP256
    ECP256
    ECP384
    ECP384
    DHGroup24
    DHGroup24
    NONE
    None
    DH_GROUP1
    DHGroup1
    DH_GROUP2
    DHGroup2
    DH_GROUP14
    DHGroup14
    DH_GROUP2048
    DHGroup2048
    ECP256
    ECP256
    ECP384
    ECP384
    DH_GROUP24
    DHGroup24
    "None"
    None
    "DHGroup1"
    DHGroup1
    "DHGroup2"
    DHGroup2
    "DHGroup14"
    DHGroup14
    "DHGroup2048"
    DHGroup2048
    "ECP256"
    ECP256
    "ECP384"
    ECP384
    "DHGroup24"
    DHGroup24

    GatewayCustomBgpIpAddressIpConfiguration, GatewayCustomBgpIpAddressIpConfigurationArgs

    CustomBgpIpAddress string
    The custom BgpPeeringAddress which belongs to IpconfigurationId.
    IpConfigurationId string
    The IpconfigurationId of ipconfiguration which belongs to gateway.
    CustomBgpIpAddress string
    The custom BgpPeeringAddress which belongs to IpconfigurationId.
    IpConfigurationId string
    The IpconfigurationId of ipconfiguration which belongs to gateway.
    customBgpIpAddress String
    The custom BgpPeeringAddress which belongs to IpconfigurationId.
    ipConfigurationId String
    The IpconfigurationId of ipconfiguration which belongs to gateway.
    customBgpIpAddress string
    The custom BgpPeeringAddress which belongs to IpconfigurationId.
    ipConfigurationId string
    The IpconfigurationId of ipconfiguration which belongs to gateway.
    custom_bgp_ip_address str
    The custom BgpPeeringAddress which belongs to IpconfigurationId.
    ip_configuration_id str
    The IpconfigurationId of ipconfiguration which belongs to gateway.
    customBgpIpAddress String
    The custom BgpPeeringAddress which belongs to IpconfigurationId.
    ipConfigurationId String
    The IpconfigurationId of ipconfiguration which belongs to gateway.

    GatewayCustomBgpIpAddressIpConfigurationResponse, GatewayCustomBgpIpAddressIpConfigurationResponseArgs

    CustomBgpIpAddress string
    The custom BgpPeeringAddress which belongs to IpconfigurationId.
    IpConfigurationId string
    The IpconfigurationId of ipconfiguration which belongs to gateway.
    CustomBgpIpAddress string
    The custom BgpPeeringAddress which belongs to IpconfigurationId.
    IpConfigurationId string
    The IpconfigurationId of ipconfiguration which belongs to gateway.
    customBgpIpAddress String
    The custom BgpPeeringAddress which belongs to IpconfigurationId.
    ipConfigurationId String
    The IpconfigurationId of ipconfiguration which belongs to gateway.
    customBgpIpAddress string
    The custom BgpPeeringAddress which belongs to IpconfigurationId.
    ipConfigurationId string
    The IpconfigurationId of ipconfiguration which belongs to gateway.
    custom_bgp_ip_address str
    The custom BgpPeeringAddress which belongs to IpconfigurationId.
    ip_configuration_id str
    The IpconfigurationId of ipconfiguration which belongs to gateway.
    customBgpIpAddress String
    The custom BgpPeeringAddress which belongs to IpconfigurationId.
    ipConfigurationId String
    The IpconfigurationId of ipconfiguration which belongs to gateway.

    IkeEncryption, IkeEncryptionArgs

    DES
    DES
    DES3
    DES3
    AES128
    AES128
    AES192
    AES192
    AES256
    AES256
    GCMAES256
    GCMAES256
    GCMAES128
    GCMAES128
    IkeEncryptionDES
    DES
    IkeEncryptionDES3
    DES3
    IkeEncryptionAES128
    AES128
    IkeEncryptionAES192
    AES192
    IkeEncryptionAES256
    AES256
    IkeEncryptionGCMAES256
    GCMAES256
    IkeEncryptionGCMAES128
    GCMAES128
    DES
    DES
    DES3
    DES3
    AES128
    AES128
    AES192
    AES192
    AES256
    AES256
    GCMAES256
    GCMAES256
    GCMAES128
    GCMAES128
    DES
    DES
    DES3
    DES3
    AES128
    AES128
    AES192
    AES192
    AES256
    AES256
    GCMAES256
    GCMAES256
    GCMAES128
    GCMAES128
    DES
    DES
    DES3
    DES3
    AES128
    AES128
    AES192
    AES192
    AES256
    AES256
    GCMAES256
    GCMAES256
    GCMAES128
    GCMAES128
    "DES"
    DES
    "DES3"
    DES3
    "AES128"
    AES128
    "AES192"
    AES192
    "AES256"
    AES256
    "GCMAES256"
    GCMAES256
    "GCMAES128"
    GCMAES128

    IkeIntegrity, IkeIntegrityArgs

    MD5
    MD5
    SHA1
    SHA1
    SHA256
    SHA256
    SHA384
    SHA384
    GCMAES256
    GCMAES256
    GCMAES128
    GCMAES128
    IkeIntegrityMD5
    MD5
    IkeIntegritySHA1
    SHA1
    IkeIntegritySHA256
    SHA256
    IkeIntegritySHA384
    SHA384
    IkeIntegrityGCMAES256
    GCMAES256
    IkeIntegrityGCMAES128
    GCMAES128
    MD5
    MD5
    SHA1
    SHA1
    SHA256
    SHA256
    SHA384
    SHA384
    GCMAES256
    GCMAES256
    GCMAES128
    GCMAES128
    MD5
    MD5
    SHA1
    SHA1
    SHA256
    SHA256
    SHA384
    SHA384
    GCMAES256
    GCMAES256
    GCMAES128
    GCMAES128
    MD5
    MD5
    SHA1
    SHA1
    SHA256
    SHA256
    SHA384
    SHA384
    GCMAES256
    GCMAES256
    GCMAES128
    GCMAES128
    "MD5"
    MD5
    "SHA1"
    SHA1
    "SHA256"
    SHA256
    "SHA384"
    SHA384
    "GCMAES256"
    GCMAES256
    "GCMAES128"
    GCMAES128

    IpsecEncryption, IpsecEncryptionArgs

    None
    None
    DES
    DES
    DES3
    DES3
    AES128
    AES128
    AES192
    AES192
    AES256
    AES256
    GCMAES128
    GCMAES128
    GCMAES192
    GCMAES192
    GCMAES256
    GCMAES256
    IpsecEncryptionNone
    None
    IpsecEncryptionDES
    DES
    IpsecEncryptionDES3
    DES3
    IpsecEncryptionAES128
    AES128
    IpsecEncryptionAES192
    AES192
    IpsecEncryptionAES256
    AES256
    IpsecEncryptionGCMAES128
    GCMAES128
    IpsecEncryptionGCMAES192
    GCMAES192
    IpsecEncryptionGCMAES256
    GCMAES256
    None
    None
    DES
    DES
    DES3
    DES3
    AES128
    AES128
    AES192
    AES192
    AES256
    AES256
    GCMAES128
    GCMAES128
    GCMAES192
    GCMAES192
    GCMAES256
    GCMAES256
    None
    None
    DES
    DES
    DES3
    DES3
    AES128
    AES128
    AES192
    AES192
    AES256
    AES256
    GCMAES128
    GCMAES128
    GCMAES192
    GCMAES192
    GCMAES256
    GCMAES256
    NONE
    None
    DES
    DES
    DES3
    DES3
    AES128
    AES128
    AES192
    AES192
    AES256
    AES256
    GCMAES128
    GCMAES128
    GCMAES192
    GCMAES192
    GCMAES256
    GCMAES256
    "None"
    None
    "DES"
    DES
    "DES3"
    DES3
    "AES128"
    AES128
    "AES192"
    AES192
    "AES256"
    AES256
    "GCMAES128"
    GCMAES128
    "GCMAES192"
    GCMAES192
    "GCMAES256"
    GCMAES256

    IpsecIntegrity, IpsecIntegrityArgs

    MD5
    MD5
    SHA1
    SHA1
    SHA256
    SHA256
    GCMAES128
    GCMAES128
    GCMAES192
    GCMAES192
    GCMAES256
    GCMAES256
    IpsecIntegrityMD5
    MD5
    IpsecIntegritySHA1
    SHA1
    IpsecIntegritySHA256
    SHA256
    IpsecIntegrityGCMAES128
    GCMAES128
    IpsecIntegrityGCMAES192
    GCMAES192
    IpsecIntegrityGCMAES256
    GCMAES256
    MD5
    MD5
    SHA1
    SHA1
    SHA256
    SHA256
    GCMAES128
    GCMAES128
    GCMAES192
    GCMAES192
    GCMAES256
    GCMAES256
    MD5
    MD5
    SHA1
    SHA1
    SHA256
    SHA256
    GCMAES128
    GCMAES128
    GCMAES192
    GCMAES192
    GCMAES256
    GCMAES256
    MD5
    MD5
    SHA1
    SHA1
    SHA256
    SHA256
    GCMAES128
    GCMAES128
    GCMAES192
    GCMAES192
    GCMAES256
    GCMAES256
    "MD5"
    MD5
    "SHA1"
    SHA1
    "SHA256"
    SHA256
    "GCMAES128"
    GCMAES128
    "GCMAES192"
    GCMAES192
    "GCMAES256"
    GCMAES256

    IpsecPolicy, IpsecPolicyArgs

    DhGroup string | Pulumi.AzureNative.Network.DhGroup
    The DH Group used in IKE Phase 1 for initial SA.
    IkeEncryption string | Pulumi.AzureNative.Network.IkeEncryption
    The IKE encryption algorithm (IKE phase 2).
    IkeIntegrity string | Pulumi.AzureNative.Network.IkeIntegrity
    The IKE integrity algorithm (IKE phase 2).
    IpsecEncryption string | Pulumi.AzureNative.Network.IpsecEncryption
    The IPSec encryption algorithm (IKE phase 1).
    IpsecIntegrity string | Pulumi.AzureNative.Network.IpsecIntegrity
    The IPSec integrity algorithm (IKE phase 1).
    PfsGroup string | Pulumi.AzureNative.Network.PfsGroup
    The Pfs Group used in IKE Phase 2 for new child SA.
    SaDataSizeKilobytes int
    The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.
    SaLifeTimeSeconds int
    The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.
    DhGroup string | DhGroup
    The DH Group used in IKE Phase 1 for initial SA.
    IkeEncryption string | IkeEncryption
    The IKE encryption algorithm (IKE phase 2).
    IkeIntegrity string | IkeIntegrity
    The IKE integrity algorithm (IKE phase 2).
    IpsecEncryption string | IpsecEncryption
    The IPSec encryption algorithm (IKE phase 1).
    IpsecIntegrity string | IpsecIntegrity
    The IPSec integrity algorithm (IKE phase 1).
    PfsGroup string | PfsGroup
    The Pfs Group used in IKE Phase 2 for new child SA.
    SaDataSizeKilobytes int
    The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.
    SaLifeTimeSeconds int
    The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.
    dhGroup String | DhGroup
    The DH Group used in IKE Phase 1 for initial SA.
    ikeEncryption String | IkeEncryption
    The IKE encryption algorithm (IKE phase 2).
    ikeIntegrity String | IkeIntegrity
    The IKE integrity algorithm (IKE phase 2).
    ipsecEncryption String | IpsecEncryption
    The IPSec encryption algorithm (IKE phase 1).
    ipsecIntegrity String | IpsecIntegrity
    The IPSec integrity algorithm (IKE phase 1).
    pfsGroup String | PfsGroup
    The Pfs Group used in IKE Phase 2 for new child SA.
    saDataSizeKilobytes Integer
    The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.
    saLifeTimeSeconds Integer
    The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.
    dhGroup string | DhGroup
    The DH Group used in IKE Phase 1 for initial SA.
    ikeEncryption string | IkeEncryption
    The IKE encryption algorithm (IKE phase 2).
    ikeIntegrity string | IkeIntegrity
    The IKE integrity algorithm (IKE phase 2).
    ipsecEncryption string | IpsecEncryption
    The IPSec encryption algorithm (IKE phase 1).
    ipsecIntegrity string | IpsecIntegrity
    The IPSec integrity algorithm (IKE phase 1).
    pfsGroup string | PfsGroup
    The Pfs Group used in IKE Phase 2 for new child SA.
    saDataSizeKilobytes number
    The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.
    saLifeTimeSeconds number
    The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.
    dh_group str | DhGroup
    The DH Group used in IKE Phase 1 for initial SA.
    ike_encryption str | IkeEncryption
    The IKE encryption algorithm (IKE phase 2).
    ike_integrity str | IkeIntegrity
    The IKE integrity algorithm (IKE phase 2).
    ipsec_encryption str | IpsecEncryption
    The IPSec encryption algorithm (IKE phase 1).
    ipsec_integrity str | IpsecIntegrity
    The IPSec integrity algorithm (IKE phase 1).
    pfs_group str | PfsGroup
    The Pfs Group used in IKE Phase 2 for new child SA.
    sa_data_size_kilobytes int
    The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.
    sa_life_time_seconds int
    The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.
    dhGroup String | "None" | "DHGroup1" | "DHGroup2" | "DHGroup14" | "DHGroup2048" | "ECP256" | "ECP384" | "DHGroup24"
    The DH Group used in IKE Phase 1 for initial SA.
    ikeEncryption String | "DES" | "DES3" | "AES128" | "AES192" | "AES256" | "GCMAES256" | "GCMAES128"
    The IKE encryption algorithm (IKE phase 2).
    ikeIntegrity String | "MD5" | "SHA1" | "SHA256" | "SHA384" | "GCMAES256" | "GCMAES128"
    The IKE integrity algorithm (IKE phase 2).
    ipsecEncryption String | "None" | "DES" | "DES3" | "AES128" | "AES192" | "AES256" | "GCMAES128" | "GCMAES192" | "GCMAES256"
    The IPSec encryption algorithm (IKE phase 1).
    ipsecIntegrity String | "MD5" | "SHA1" | "SHA256" | "GCMAES128" | "GCMAES192" | "GCMAES256"
    The IPSec integrity algorithm (IKE phase 1).
    pfsGroup String | "None" | "PFS1" | "PFS2" | "PFS2048" | "ECP256" | "ECP384" | "PFS24" | "PFS14" | "PFSMM"
    The Pfs Group used in IKE Phase 2 for new child SA.
    saDataSizeKilobytes Number
    The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.
    saLifeTimeSeconds Number
    The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.

    IpsecPolicyResponse, IpsecPolicyResponseArgs

    DhGroup string
    The DH Group used in IKE Phase 1 for initial SA.
    IkeEncryption string
    The IKE encryption algorithm (IKE phase 2).
    IkeIntegrity string
    The IKE integrity algorithm (IKE phase 2).
    IpsecEncryption string
    The IPSec encryption algorithm (IKE phase 1).
    IpsecIntegrity string
    The IPSec integrity algorithm (IKE phase 1).
    PfsGroup string
    The Pfs Group used in IKE Phase 2 for new child SA.
    SaDataSizeKilobytes int
    The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.
    SaLifeTimeSeconds int
    The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.
    DhGroup string
    The DH Group used in IKE Phase 1 for initial SA.
    IkeEncryption string
    The IKE encryption algorithm (IKE phase 2).
    IkeIntegrity string
    The IKE integrity algorithm (IKE phase 2).
    IpsecEncryption string
    The IPSec encryption algorithm (IKE phase 1).
    IpsecIntegrity string
    The IPSec integrity algorithm (IKE phase 1).
    PfsGroup string
    The Pfs Group used in IKE Phase 2 for new child SA.
    SaDataSizeKilobytes int
    The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.
    SaLifeTimeSeconds int
    The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.
    dhGroup String
    The DH Group used in IKE Phase 1 for initial SA.
    ikeEncryption String
    The IKE encryption algorithm (IKE phase 2).
    ikeIntegrity String
    The IKE integrity algorithm (IKE phase 2).
    ipsecEncryption String
    The IPSec encryption algorithm (IKE phase 1).
    ipsecIntegrity String
    The IPSec integrity algorithm (IKE phase 1).
    pfsGroup String
    The Pfs Group used in IKE Phase 2 for new child SA.
    saDataSizeKilobytes Integer
    The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.
    saLifeTimeSeconds Integer
    The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.
    dhGroup string
    The DH Group used in IKE Phase 1 for initial SA.
    ikeEncryption string
    The IKE encryption algorithm (IKE phase 2).
    ikeIntegrity string
    The IKE integrity algorithm (IKE phase 2).
    ipsecEncryption string
    The IPSec encryption algorithm (IKE phase 1).
    ipsecIntegrity string
    The IPSec integrity algorithm (IKE phase 1).
    pfsGroup string
    The Pfs Group used in IKE Phase 2 for new child SA.
    saDataSizeKilobytes number
    The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.
    saLifeTimeSeconds number
    The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.
    dh_group str
    The DH Group used in IKE Phase 1 for initial SA.
    ike_encryption str
    The IKE encryption algorithm (IKE phase 2).
    ike_integrity str
    The IKE integrity algorithm (IKE phase 2).
    ipsec_encryption str
    The IPSec encryption algorithm (IKE phase 1).
    ipsec_integrity str
    The IPSec integrity algorithm (IKE phase 1).
    pfs_group str
    The Pfs Group used in IKE Phase 2 for new child SA.
    sa_data_size_kilobytes int
    The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.
    sa_life_time_seconds int
    The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.
    dhGroup String
    The DH Group used in IKE Phase 1 for initial SA.
    ikeEncryption String
    The IKE encryption algorithm (IKE phase 2).
    ikeIntegrity String
    The IKE integrity algorithm (IKE phase 2).
    ipsecEncryption String
    The IPSec encryption algorithm (IKE phase 1).
    ipsecIntegrity String
    The IPSec integrity algorithm (IKE phase 1).
    pfsGroup String
    The Pfs Group used in IKE Phase 2 for new child SA.
    saDataSizeKilobytes Number
    The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.
    saLifeTimeSeconds Number
    The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.

    PfsGroup, PfsGroupArgs

    None
    None
    PFS1
    PFS1
    PFS2
    PFS2
    PFS2048
    PFS2048
    ECP256
    ECP256
    ECP384
    ECP384
    PFS24
    PFS24
    PFS14
    PFS14
    PFSMM
    PFSMM
    PfsGroupNone
    None
    PfsGroupPFS1
    PFS1
    PfsGroupPFS2
    PFS2
    PfsGroupPFS2048
    PFS2048
    PfsGroupECP256
    ECP256
    PfsGroupECP384
    ECP384
    PfsGroupPFS24
    PFS24
    PfsGroupPFS14
    PFS14
    PfsGroupPFSMM
    PFSMM
    None
    None
    PFS1
    PFS1
    PFS2
    PFS2
    PFS2048
    PFS2048
    ECP256
    ECP256
    ECP384
    ECP384
    PFS24
    PFS24
    PFS14
    PFS14
    PFSMM
    PFSMM
    None
    None
    PFS1
    PFS1
    PFS2
    PFS2
    PFS2048
    PFS2048
    ECP256
    ECP256
    ECP384
    ECP384
    PFS24
    PFS24
    PFS14
    PFS14
    PFSMM
    PFSMM
    NONE
    None
    PFS1
    PFS1
    PFS2
    PFS2
    PFS2048
    PFS2048
    ECP256
    ECP256
    ECP384
    ECP384
    PFS24
    PFS24
    PFS14
    PFS14
    PFSMM
    PFSMM
    "None"
    None
    "PFS1"
    PFS1
    "PFS2"
    PFS2
    "PFS2048"
    PFS2048
    "ECP256"
    ECP256
    "ECP384"
    ECP384
    "PFS24"
    PFS24
    "PFS14"
    PFS14
    "PFSMM"
    PFSMM

    PropagatedRouteTable, PropagatedRouteTableArgs

    Ids List<Pulumi.AzureNative.Network.Inputs.SubResource>
    The list of resource ids of all the RouteTables.
    Labels List<string>
    The list of labels.
    Ids []SubResource
    The list of resource ids of all the RouteTables.
    Labels []string
    The list of labels.
    ids List<SubResource>
    The list of resource ids of all the RouteTables.
    labels List<String>
    The list of labels.
    ids SubResource[]
    The list of resource ids of all the RouteTables.
    labels string[]
    The list of labels.
    ids Sequence[SubResource]
    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.AzureNative.Network.Inputs.SubResourceResponse>
    The list of resource ids of all the RouteTables.
    Labels List<string>
    The list of labels.
    Ids []SubResourceResponse
    The list of resource ids of all the RouteTables.
    Labels []string
    The list of labels.
    ids List<SubResourceResponse>
    The list of resource ids of all the RouteTables.
    labels List<String>
    The list of labels.
    ids SubResourceResponse[]
    The list of resource ids of all the RouteTables.
    labels string[]
    The list of labels.
    ids Sequence[SubResourceResponse]
    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

    AssociatedRouteTable Pulumi.AzureNative.Network.Inputs.SubResource
    The resource id RouteTable associated with this RoutingConfiguration.
    InboundRouteMap Pulumi.AzureNative.Network.Inputs.SubResource
    The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
    OutboundRouteMap Pulumi.AzureNative.Network.Inputs.SubResource
    The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
    PropagatedRouteTables Pulumi.AzureNative.Network.Inputs.PropagatedRouteTable
    The list of RouteTables to advertise the routes to.
    VnetRoutes Pulumi.AzureNative.Network.Inputs.VnetRoute
    List of routes that control routing from VirtualHub into a virtual network connection.
    AssociatedRouteTable SubResource
    The resource id RouteTable associated with this RoutingConfiguration.
    InboundRouteMap SubResource
    The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
    OutboundRouteMap SubResource
    The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
    PropagatedRouteTables PropagatedRouteTable
    The list of RouteTables to advertise the routes to.
    VnetRoutes VnetRoute
    List of routes that control routing from VirtualHub into a virtual network connection.
    associatedRouteTable SubResource
    The resource id RouteTable associated with this RoutingConfiguration.
    inboundRouteMap SubResource
    The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
    outboundRouteMap SubResource
    The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
    propagatedRouteTables PropagatedRouteTable
    The list of RouteTables to advertise the routes to.
    vnetRoutes VnetRoute
    List of routes that control routing from VirtualHub into a virtual network connection.
    associatedRouteTable SubResource
    The resource id RouteTable associated with this RoutingConfiguration.
    inboundRouteMap SubResource
    The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
    outboundRouteMap SubResource
    The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
    propagatedRouteTables PropagatedRouteTable
    The list of RouteTables to advertise the routes to.
    vnetRoutes VnetRoute
    List of routes that control routing from VirtualHub into a virtual network connection.
    associated_route_table SubResource
    The resource id RouteTable associated with this RoutingConfiguration.
    inbound_route_map SubResource
    The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
    outbound_route_map SubResource
    The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
    propagated_route_tables PropagatedRouteTable
    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.
    associatedRouteTable Property Map
    The resource id RouteTable associated with this RoutingConfiguration.
    inboundRouteMap Property Map
    The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
    outboundRouteMap Property Map
    The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
    propagatedRouteTables Property Map
    The list of RouteTables to advertise the routes to.
    vnetRoutes Property Map
    List of routes that control routing from VirtualHub into a virtual network connection.

    RoutingConfigurationResponse, RoutingConfigurationResponseArgs

    AssociatedRouteTable Pulumi.AzureNative.Network.Inputs.SubResourceResponse
    The resource id RouteTable associated with this RoutingConfiguration.
    InboundRouteMap Pulumi.AzureNative.Network.Inputs.SubResourceResponse
    The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
    OutboundRouteMap Pulumi.AzureNative.Network.Inputs.SubResourceResponse
    The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
    PropagatedRouteTables Pulumi.AzureNative.Network.Inputs.PropagatedRouteTableResponse
    The list of RouteTables to advertise the routes to.
    VnetRoutes Pulumi.AzureNative.Network.Inputs.VnetRouteResponse
    List of routes that control routing from VirtualHub into a virtual network connection.
    AssociatedRouteTable SubResourceResponse
    The resource id RouteTable associated with this RoutingConfiguration.
    InboundRouteMap SubResourceResponse
    The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
    OutboundRouteMap SubResourceResponse
    The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
    PropagatedRouteTables PropagatedRouteTableResponse
    The list of RouteTables to advertise the routes to.
    VnetRoutes VnetRouteResponse
    List of routes that control routing from VirtualHub into a virtual network connection.
    associatedRouteTable SubResourceResponse
    The resource id RouteTable associated with this RoutingConfiguration.
    inboundRouteMap SubResourceResponse
    The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
    outboundRouteMap SubResourceResponse
    The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
    propagatedRouteTables PropagatedRouteTableResponse
    The list of RouteTables to advertise the routes to.
    vnetRoutes VnetRouteResponse
    List of routes that control routing from VirtualHub into a virtual network connection.
    associatedRouteTable SubResourceResponse
    The resource id RouteTable associated with this RoutingConfiguration.
    inboundRouteMap SubResourceResponse
    The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
    outboundRouteMap SubResourceResponse
    The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
    propagatedRouteTables PropagatedRouteTableResponse
    The list of RouteTables to advertise the routes to.
    vnetRoutes VnetRouteResponse
    List of routes that control routing from VirtualHub into a virtual network connection.
    associated_route_table SubResourceResponse
    The resource id RouteTable associated with this RoutingConfiguration.
    inbound_route_map SubResourceResponse
    The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
    outbound_route_map SubResourceResponse
    The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
    propagated_route_tables PropagatedRouteTableResponse
    The list of RouteTables to advertise the routes to.
    vnet_routes VnetRouteResponse
    List of routes that control routing from VirtualHub into a virtual network connection.
    associatedRouteTable Property Map
    The resource id RouteTable associated with this RoutingConfiguration.
    inboundRouteMap Property Map
    The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
    outboundRouteMap Property Map
    The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
    propagatedRouteTables Property Map
    The list of RouteTables to advertise the routes to.
    vnetRoutes Property Map
    List of routes that control routing from VirtualHub into a virtual network connection.

    StaticRoute, StaticRouteArgs

    AddressPrefixes List<string>
    List of all address prefixes.
    Name string
    The name of the StaticRoute that is unique within a VnetRoute.
    NextHopIpAddress string
    The ip address of the next hop.
    AddressPrefixes []string
    List of all address prefixes.
    Name string
    The name of the StaticRoute that is unique within a VnetRoute.
    NextHopIpAddress string
    The ip address of the next hop.
    addressPrefixes List<String>
    List of all address prefixes.
    name String
    The name of the StaticRoute that is unique within a VnetRoute.
    nextHopIpAddress String
    The ip address of the next hop.
    addressPrefixes string[]
    List of all address prefixes.
    name string
    The name of the StaticRoute that is unique within a VnetRoute.
    nextHopIpAddress string
    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_ip_address str
    The ip address of the next hop.
    addressPrefixes List<String>
    List of all address prefixes.
    name String
    The name of the StaticRoute that is unique within a VnetRoute.
    nextHopIpAddress String
    The ip address of the next hop.

    StaticRouteResponse, StaticRouteResponseArgs

    AddressPrefixes List<string>
    List of all address prefixes.
    Name string
    The name of the StaticRoute that is unique within a VnetRoute.
    NextHopIpAddress string
    The ip address of the next hop.
    AddressPrefixes []string
    List of all address prefixes.
    Name string
    The name of the StaticRoute that is unique within a VnetRoute.
    NextHopIpAddress string
    The ip address of the next hop.
    addressPrefixes List<String>
    List of all address prefixes.
    name String
    The name of the StaticRoute that is unique within a VnetRoute.
    nextHopIpAddress String
    The ip address of the next hop.
    addressPrefixes string[]
    List of all address prefixes.
    name string
    The name of the StaticRoute that is unique within a VnetRoute.
    nextHopIpAddress string
    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_ip_address str
    The ip address of the next hop.
    addressPrefixes List<String>
    List of all address prefixes.
    name String
    The name of the StaticRoute that is unique within a VnetRoute.
    nextHopIpAddress String
    The ip address of the next hop.

    StaticRoutesConfig, StaticRoutesConfigArgs

    VnetLocalRouteOverrideCriteria string | Pulumi.AzureNative.Network.VnetLocalRouteOverrideCriteria
    Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
    VnetLocalRouteOverrideCriteria string | VnetLocalRouteOverrideCriteria
    Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
    vnetLocalRouteOverrideCriteria String | VnetLocalRouteOverrideCriteria
    Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
    vnetLocalRouteOverrideCriteria string | VnetLocalRouteOverrideCriteria
    Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
    vnet_local_route_override_criteria str | VnetLocalRouteOverrideCriteria
    Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
    vnetLocalRouteOverrideCriteria String | "Contains" | "Equal"
    Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.

    StaticRoutesConfigResponse, StaticRoutesConfigResponseArgs

    PropagateStaticRoutes bool
    Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
    VnetLocalRouteOverrideCriteria string
    Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
    PropagateStaticRoutes bool
    Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
    VnetLocalRouteOverrideCriteria string
    Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
    propagateStaticRoutes Boolean
    Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
    vnetLocalRouteOverrideCriteria String
    Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
    propagateStaticRoutes boolean
    Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
    vnetLocalRouteOverrideCriteria string
    Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
    propagate_static_routes bool
    Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
    vnet_local_route_override_criteria str
    Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
    propagateStaticRoutes Boolean
    Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
    vnetLocalRouteOverrideCriteria String
    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.

    TrafficSelectorPolicy, TrafficSelectorPolicyArgs

    LocalAddressRanges List<string>
    A collection of local address spaces in CIDR format.
    RemoteAddressRanges List<string>
    A collection of remote address spaces in CIDR format.
    LocalAddressRanges []string
    A collection of local address spaces in CIDR format.
    RemoteAddressRanges []string
    A collection of remote address spaces in CIDR format.
    localAddressRanges List<String>
    A collection of local address spaces in CIDR format.
    remoteAddressRanges List<String>
    A collection of remote address spaces in CIDR format.
    localAddressRanges string[]
    A collection of local address spaces in CIDR format.
    remoteAddressRanges string[]
    A collection of remote address spaces in CIDR format.
    local_address_ranges Sequence[str]
    A collection of local address spaces in CIDR format.
    remote_address_ranges Sequence[str]
    A collection of remote address spaces in CIDR format.
    localAddressRanges List<String>
    A collection of local address spaces in CIDR format.
    remoteAddressRanges List<String>
    A collection of remote address spaces in CIDR format.

    TrafficSelectorPolicyResponse, TrafficSelectorPolicyResponseArgs

    LocalAddressRanges List<string>
    A collection of local address spaces in CIDR format.
    RemoteAddressRanges List<string>
    A collection of remote address spaces in CIDR format.
    LocalAddressRanges []string
    A collection of local address spaces in CIDR format.
    RemoteAddressRanges []string
    A collection of remote address spaces in CIDR format.
    localAddressRanges List<String>
    A collection of local address spaces in CIDR format.
    remoteAddressRanges List<String>
    A collection of remote address spaces in CIDR format.
    localAddressRanges string[]
    A collection of local address spaces in CIDR format.
    remoteAddressRanges string[]
    A collection of remote address spaces in CIDR format.
    local_address_ranges Sequence[str]
    A collection of local address spaces in CIDR format.
    remote_address_ranges Sequence[str]
    A collection of remote address spaces in CIDR format.
    localAddressRanges List<String>
    A collection of local address spaces in CIDR format.
    remoteAddressRanges List<String>
    A collection of remote address spaces in CIDR format.

    VirtualNetworkGatewayConnectionProtocol, VirtualNetworkGatewayConnectionProtocolArgs

    IKEv2
    IKEv2
    IKEv1
    IKEv1
    VirtualNetworkGatewayConnectionProtocolIKEv2
    IKEv2
    VirtualNetworkGatewayConnectionProtocolIKEv1
    IKEv1
    IKEv2
    IKEv2
    IKEv1
    IKEv1
    IKEv2
    IKEv2
    IKEv1
    IKEv1
    IK_EV2
    IKEv2
    IK_EV1
    IKEv1
    "IKEv2"
    IKEv2
    "IKEv1"
    IKEv1

    VnetLocalRouteOverrideCriteria, VnetLocalRouteOverrideCriteriaArgs

    Contains
    Contains
    Equal
    Equal
    VnetLocalRouteOverrideCriteriaContains
    Contains
    VnetLocalRouteOverrideCriteriaEqual
    Equal
    Contains
    Contains
    Equal
    Equal
    Contains
    Contains
    Equal
    Equal
    CONTAINS
    Contains
    EQUAL
    Equal
    "Contains"
    Contains
    "Equal"
    Equal

    VnetRoute, VnetRouteArgs

    StaticRoutes []StaticRoute
    List of all Static Routes.
    StaticRoutesConfig StaticRoutesConfig
    Configuration for static routes on this HubVnetConnection.
    staticRoutes List<StaticRoute>
    List of all Static Routes.
    staticRoutesConfig StaticRoutesConfig
    Configuration for static routes on this HubVnetConnection.
    staticRoutes StaticRoute[]
    List of all Static Routes.
    staticRoutesConfig StaticRoutesConfig
    Configuration for static routes on this HubVnetConnection.
    static_routes Sequence[StaticRoute]
    List of all Static Routes.
    static_routes_config StaticRoutesConfig
    Configuration for static routes on this HubVnetConnection.
    staticRoutes List<Property Map>
    List of all Static Routes.
    staticRoutesConfig Property Map
    Configuration for static routes on this HubVnetConnection.

    VnetRouteResponse, VnetRouteResponseArgs

    BgpConnections []SubResourceResponse
    The list of references to HubBgpConnection objects.
    StaticRoutes []StaticRouteResponse
    List of all Static Routes.
    StaticRoutesConfig StaticRoutesConfigResponse
    Configuration for static routes on this HubVnetConnection.
    bgpConnections List<SubResourceResponse>
    The list of references to HubBgpConnection objects.
    staticRoutes List<StaticRouteResponse>
    List of all Static Routes.
    staticRoutesConfig StaticRoutesConfigResponse
    Configuration for static routes on this HubVnetConnection.
    bgpConnections SubResourceResponse[]
    The list of references to HubBgpConnection objects.
    staticRoutes StaticRouteResponse[]
    List of all Static Routes.
    staticRoutesConfig StaticRoutesConfigResponse
    Configuration for static routes on this HubVnetConnection.
    bgp_connections Sequence[SubResourceResponse]
    The list of references to HubBgpConnection objects.
    static_routes Sequence[StaticRouteResponse]
    List of all Static Routes.
    static_routes_config StaticRoutesConfigResponse
    Configuration for static routes on this HubVnetConnection.
    bgpConnections List<Property Map>
    The list of references to HubBgpConnection objects.
    staticRoutes List<Property Map>
    List of all Static Routes.
    staticRoutesConfig Property Map
    Configuration for static routes on this HubVnetConnection.

    VpnLinkConnectionMode, VpnLinkConnectionModeArgs

    Default
    Default
    ResponderOnly
    ResponderOnly
    InitiatorOnly
    InitiatorOnly
    VpnLinkConnectionModeDefault
    Default
    VpnLinkConnectionModeResponderOnly
    ResponderOnly
    VpnLinkConnectionModeInitiatorOnly
    InitiatorOnly
    Default
    Default
    ResponderOnly
    ResponderOnly
    InitiatorOnly
    InitiatorOnly
    Default
    Default
    ResponderOnly
    ResponderOnly
    InitiatorOnly
    InitiatorOnly
    DEFAULT
    Default
    RESPONDER_ONLY
    ResponderOnly
    INITIATOR_ONLY
    InitiatorOnly
    "Default"
    Default
    "ResponderOnly"
    ResponderOnly
    "InitiatorOnly"
    InitiatorOnly

    VpnSiteLinkConnection, VpnSiteLinkConnectionArgs

    ConnectionBandwidth int
    Expected bandwidth in MBPS.
    EgressNatRules List<Pulumi.AzureNative.Network.Inputs.SubResource>
    List of egress NatRules.
    EnableBgp bool
    EnableBgp flag.
    EnableRateLimiting bool
    EnableBgp flag.
    Id string
    Resource ID.
    IngressNatRules List<Pulumi.AzureNative.Network.Inputs.SubResource>
    List of ingress NatRules.
    IpsecPolicies List<Pulumi.AzureNative.Network.Inputs.IpsecPolicy>
    The IPSec Policies to be considered by this connection.
    Name string
    The name of the resource that is unique within a resource group. This name can be used to access the resource.
    RoutingWeight int
    Routing weight for vpn connection.
    SharedKey string
    SharedKey for the vpn connection.
    UseLocalAzureIpAddress bool
    Use local azure ip to initiate connection.
    UsePolicyBasedTrafficSelectors bool
    Enable policy-based traffic selectors.
    VpnConnectionProtocolType string | Pulumi.AzureNative.Network.VirtualNetworkGatewayConnectionProtocol
    Connection protocol used for this connection.
    VpnGatewayCustomBgpAddresses List<Pulumi.AzureNative.Network.Inputs.GatewayCustomBgpIpAddressIpConfiguration>
    vpnGatewayCustomBgpAddresses used by this connection.
    VpnLinkConnectionMode string | Pulumi.AzureNative.Network.VpnLinkConnectionMode
    Vpn link connection mode.
    VpnSiteLink Pulumi.AzureNative.Network.Inputs.SubResource
    Id of the connected vpn site link.
    ConnectionBandwidth int
    Expected bandwidth in MBPS.
    EgressNatRules []SubResource
    List of egress NatRules.
    EnableBgp bool
    EnableBgp flag.
    EnableRateLimiting bool
    EnableBgp flag.
    Id string
    Resource ID.
    IngressNatRules []SubResource
    List of ingress NatRules.
    IpsecPolicies []IpsecPolicy
    The IPSec Policies to be considered by this connection.
    Name string
    The name of the resource that is unique within a resource group. This name can be used to access the resource.
    RoutingWeight int
    Routing weight for vpn connection.
    SharedKey string
    SharedKey for the vpn connection.
    UseLocalAzureIpAddress bool
    Use local azure ip to initiate connection.
    UsePolicyBasedTrafficSelectors bool
    Enable policy-based traffic selectors.
    VpnConnectionProtocolType string | VirtualNetworkGatewayConnectionProtocol
    Connection protocol used for this connection.
    VpnGatewayCustomBgpAddresses []GatewayCustomBgpIpAddressIpConfiguration
    vpnGatewayCustomBgpAddresses used by this connection.
    VpnLinkConnectionMode string | VpnLinkConnectionMode
    Vpn link connection mode.
    VpnSiteLink SubResource
    Id of the connected vpn site link.
    connectionBandwidth Integer
    Expected bandwidth in MBPS.
    egressNatRules List<SubResource>
    List of egress NatRules.
    enableBgp Boolean
    EnableBgp flag.
    enableRateLimiting Boolean
    EnableBgp flag.
    id String
    Resource ID.
    ingressNatRules List<SubResource>
    List of ingress NatRules.
    ipsecPolicies List<IpsecPolicy>
    The IPSec Policies to be considered by this connection.
    name String
    The name of the resource that is unique within a resource group. This name can be used to access the resource.
    routingWeight Integer
    Routing weight for vpn connection.
    sharedKey String
    SharedKey for the vpn connection.
    useLocalAzureIpAddress Boolean
    Use local azure ip to initiate connection.
    usePolicyBasedTrafficSelectors Boolean
    Enable policy-based traffic selectors.
    vpnConnectionProtocolType String | VirtualNetworkGatewayConnectionProtocol
    Connection protocol used for this connection.
    vpnGatewayCustomBgpAddresses List<GatewayCustomBgpIpAddressIpConfiguration>
    vpnGatewayCustomBgpAddresses used by this connection.
    vpnLinkConnectionMode String | VpnLinkConnectionMode
    Vpn link connection mode.
    vpnSiteLink SubResource
    Id of the connected vpn site link.
    connectionBandwidth number
    Expected bandwidth in MBPS.
    egressNatRules SubResource[]
    List of egress NatRules.
    enableBgp boolean
    EnableBgp flag.
    enableRateLimiting boolean
    EnableBgp flag.
    id string
    Resource ID.
    ingressNatRules SubResource[]
    List of ingress NatRules.
    ipsecPolicies IpsecPolicy[]
    The IPSec Policies to be considered by this connection.
    name string
    The name of the resource that is unique within a resource group. This name can be used to access the resource.
    routingWeight number
    Routing weight for vpn connection.
    sharedKey string
    SharedKey for the vpn connection.
    useLocalAzureIpAddress boolean
    Use local azure ip to initiate connection.
    usePolicyBasedTrafficSelectors boolean
    Enable policy-based traffic selectors.
    vpnConnectionProtocolType string | VirtualNetworkGatewayConnectionProtocol
    Connection protocol used for this connection.
    vpnGatewayCustomBgpAddresses GatewayCustomBgpIpAddressIpConfiguration[]
    vpnGatewayCustomBgpAddresses used by this connection.
    vpnLinkConnectionMode string | VpnLinkConnectionMode
    Vpn link connection mode.
    vpnSiteLink SubResource
    Id of the connected vpn site link.
    connection_bandwidth int
    Expected bandwidth in MBPS.
    egress_nat_rules Sequence[SubResource]
    List of egress NatRules.
    enable_bgp bool
    EnableBgp flag.
    enable_rate_limiting bool
    EnableBgp flag.
    id str
    Resource ID.
    ingress_nat_rules Sequence[SubResource]
    List of ingress NatRules.
    ipsec_policies Sequence[IpsecPolicy]
    The IPSec Policies to be considered by this connection.
    name str
    The name of the resource that is unique within a resource group. This name can be used to access the resource.
    routing_weight int
    Routing weight for vpn connection.
    shared_key str
    SharedKey for the vpn connection.
    use_local_azure_ip_address bool
    Use local azure ip to initiate connection.
    use_policy_based_traffic_selectors bool
    Enable policy-based traffic selectors.
    vpn_connection_protocol_type str | VirtualNetworkGatewayConnectionProtocol
    Connection protocol used for this connection.
    vpn_gateway_custom_bgp_addresses Sequence[GatewayCustomBgpIpAddressIpConfiguration]
    vpnGatewayCustomBgpAddresses used by this connection.
    vpn_link_connection_mode str | VpnLinkConnectionMode
    Vpn link connection mode.
    vpn_site_link SubResource
    Id of the connected vpn site link.
    connectionBandwidth Number
    Expected bandwidth in MBPS.
    egressNatRules List<Property Map>
    List of egress NatRules.
    enableBgp Boolean
    EnableBgp flag.
    enableRateLimiting Boolean
    EnableBgp flag.
    id String
    Resource ID.
    ingressNatRules List<Property Map>
    List of ingress NatRules.
    ipsecPolicies List<Property Map>
    The IPSec Policies to be considered by this connection.
    name String
    The name of the resource that is unique within a resource group. This name can be used to access the resource.
    routingWeight Number
    Routing weight for vpn connection.
    sharedKey String
    SharedKey for the vpn connection.
    useLocalAzureIpAddress Boolean
    Use local azure ip to initiate connection.
    usePolicyBasedTrafficSelectors Boolean
    Enable policy-based traffic selectors.
    vpnConnectionProtocolType String | "IKEv2" | "IKEv1"
    Connection protocol used for this connection.
    vpnGatewayCustomBgpAddresses List<Property Map>
    vpnGatewayCustomBgpAddresses used by this connection.
    vpnLinkConnectionMode String | "Default" | "ResponderOnly" | "InitiatorOnly"
    Vpn link connection mode.
    vpnSiteLink Property Map
    Id of the connected vpn site link.

    VpnSiteLinkConnectionResponse, VpnSiteLinkConnectionResponseArgs

    ConnectionStatus string
    The connection status.
    EgressBytesTransferred double
    Egress bytes transferred.
    Etag string
    A unique read-only string that changes whenever the resource is updated.
    IngressBytesTransferred double
    Ingress bytes transferred.
    ProvisioningState string
    The provisioning state of the VPN site link connection resource.
    Type string
    Resource type.
    ConnectionBandwidth int
    Expected bandwidth in MBPS.
    EgressNatRules List<Pulumi.AzureNative.Network.Inputs.SubResourceResponse>
    List of egress NatRules.
    EnableBgp bool
    EnableBgp flag.
    EnableRateLimiting bool
    EnableBgp flag.
    Id string
    Resource ID.
    IngressNatRules List<Pulumi.AzureNative.Network.Inputs.SubResourceResponse>
    List of ingress NatRules.
    IpsecPolicies List<Pulumi.AzureNative.Network.Inputs.IpsecPolicyResponse>
    The IPSec Policies to be considered by this connection.
    Name string
    The name of the resource that is unique within a resource group. This name can be used to access the resource.
    RoutingWeight int
    Routing weight for vpn connection.
    SharedKey string
    SharedKey for the vpn connection.
    UseLocalAzureIpAddress bool
    Use local azure ip to initiate connection.
    UsePolicyBasedTrafficSelectors bool
    Enable policy-based traffic selectors.
    VpnConnectionProtocolType string
    Connection protocol used for this connection.
    VpnGatewayCustomBgpAddresses List<Pulumi.AzureNative.Network.Inputs.GatewayCustomBgpIpAddressIpConfigurationResponse>
    vpnGatewayCustomBgpAddresses used by this connection.
    VpnLinkConnectionMode string
    Vpn link connection mode.
    VpnSiteLink Pulumi.AzureNative.Network.Inputs.SubResourceResponse
    Id of the connected vpn site link.
    ConnectionStatus string
    The connection status.
    EgressBytesTransferred float64
    Egress bytes transferred.
    Etag string
    A unique read-only string that changes whenever the resource is updated.
    IngressBytesTransferred float64
    Ingress bytes transferred.
    ProvisioningState string
    The provisioning state of the VPN site link connection resource.
    Type string
    Resource type.
    ConnectionBandwidth int
    Expected bandwidth in MBPS.
    EgressNatRules []SubResourceResponse
    List of egress NatRules.
    EnableBgp bool
    EnableBgp flag.
    EnableRateLimiting bool
    EnableBgp flag.
    Id string
    Resource ID.
    IngressNatRules []SubResourceResponse
    List of ingress NatRules.
    IpsecPolicies []IpsecPolicyResponse
    The IPSec Policies to be considered by this connection.
    Name string
    The name of the resource that is unique within a resource group. This name can be used to access the resource.
    RoutingWeight int
    Routing weight for vpn connection.
    SharedKey string
    SharedKey for the vpn connection.
    UseLocalAzureIpAddress bool
    Use local azure ip to initiate connection.
    UsePolicyBasedTrafficSelectors bool
    Enable policy-based traffic selectors.
    VpnConnectionProtocolType string
    Connection protocol used for this connection.
    VpnGatewayCustomBgpAddresses []GatewayCustomBgpIpAddressIpConfigurationResponse
    vpnGatewayCustomBgpAddresses used by this connection.
    VpnLinkConnectionMode string
    Vpn link connection mode.
    VpnSiteLink SubResourceResponse
    Id of the connected vpn site link.
    connectionStatus String
    The connection status.
    egressBytesTransferred Double
    Egress bytes transferred.
    etag String
    A unique read-only string that changes whenever the resource is updated.
    ingressBytesTransferred Double
    Ingress bytes transferred.
    provisioningState String
    The provisioning state of the VPN site link connection resource.
    type String
    Resource type.
    connectionBandwidth Integer
    Expected bandwidth in MBPS.
    egressNatRules List<SubResourceResponse>
    List of egress NatRules.
    enableBgp Boolean
    EnableBgp flag.
    enableRateLimiting Boolean
    EnableBgp flag.
    id String
    Resource ID.
    ingressNatRules List<SubResourceResponse>
    List of ingress NatRules.
    ipsecPolicies List<IpsecPolicyResponse>
    The IPSec Policies to be considered by this connection.
    name String
    The name of the resource that is unique within a resource group. This name can be used to access the resource.
    routingWeight Integer
    Routing weight for vpn connection.
    sharedKey String
    SharedKey for the vpn connection.
    useLocalAzureIpAddress Boolean
    Use local azure ip to initiate connection.
    usePolicyBasedTrafficSelectors Boolean
    Enable policy-based traffic selectors.
    vpnConnectionProtocolType String
    Connection protocol used for this connection.
    vpnGatewayCustomBgpAddresses List<GatewayCustomBgpIpAddressIpConfigurationResponse>
    vpnGatewayCustomBgpAddresses used by this connection.
    vpnLinkConnectionMode String
    Vpn link connection mode.
    vpnSiteLink SubResourceResponse
    Id of the connected vpn site link.
    connectionStatus string
    The connection status.
    egressBytesTransferred number
    Egress bytes transferred.
    etag string
    A unique read-only string that changes whenever the resource is updated.
    ingressBytesTransferred number
    Ingress bytes transferred.
    provisioningState string
    The provisioning state of the VPN site link connection resource.
    type string
    Resource type.
    connectionBandwidth number
    Expected bandwidth in MBPS.
    egressNatRules SubResourceResponse[]
    List of egress NatRules.
    enableBgp boolean
    EnableBgp flag.
    enableRateLimiting boolean
    EnableBgp flag.
    id string
    Resource ID.
    ingressNatRules SubResourceResponse[]
    List of ingress NatRules.
    ipsecPolicies IpsecPolicyResponse[]
    The IPSec Policies to be considered by this connection.
    name string
    The name of the resource that is unique within a resource group. This name can be used to access the resource.
    routingWeight number
    Routing weight for vpn connection.
    sharedKey string
    SharedKey for the vpn connection.
    useLocalAzureIpAddress boolean
    Use local azure ip to initiate connection.
    usePolicyBasedTrafficSelectors boolean
    Enable policy-based traffic selectors.
    vpnConnectionProtocolType string
    Connection protocol used for this connection.
    vpnGatewayCustomBgpAddresses GatewayCustomBgpIpAddressIpConfigurationResponse[]
    vpnGatewayCustomBgpAddresses used by this connection.
    vpnLinkConnectionMode string
    Vpn link connection mode.
    vpnSiteLink SubResourceResponse
    Id of the connected vpn site link.
    connection_status str
    The connection status.
    egress_bytes_transferred float
    Egress bytes transferred.
    etag str
    A unique read-only string that changes whenever the resource is updated.
    ingress_bytes_transferred float
    Ingress bytes transferred.
    provisioning_state str
    The provisioning state of the VPN site link connection resource.
    type str
    Resource type.
    connection_bandwidth int
    Expected bandwidth in MBPS.
    egress_nat_rules Sequence[SubResourceResponse]
    List of egress NatRules.
    enable_bgp bool
    EnableBgp flag.
    enable_rate_limiting bool
    EnableBgp flag.
    id str
    Resource ID.
    ingress_nat_rules Sequence[SubResourceResponse]
    List of ingress NatRules.
    ipsec_policies Sequence[IpsecPolicyResponse]
    The IPSec Policies to be considered by this connection.
    name str
    The name of the resource that is unique within a resource group. This name can be used to access the resource.
    routing_weight int
    Routing weight for vpn connection.
    shared_key str
    SharedKey for the vpn connection.
    use_local_azure_ip_address bool
    Use local azure ip to initiate connection.
    use_policy_based_traffic_selectors bool
    Enable policy-based traffic selectors.
    vpn_connection_protocol_type str
    Connection protocol used for this connection.
    vpn_gateway_custom_bgp_addresses Sequence[GatewayCustomBgpIpAddressIpConfigurationResponse]
    vpnGatewayCustomBgpAddresses used by this connection.
    vpn_link_connection_mode str
    Vpn link connection mode.
    vpn_site_link SubResourceResponse
    Id of the connected vpn site link.
    connectionStatus String
    The connection status.
    egressBytesTransferred Number
    Egress bytes transferred.
    etag String
    A unique read-only string that changes whenever the resource is updated.
    ingressBytesTransferred Number
    Ingress bytes transferred.
    provisioningState String
    The provisioning state of the VPN site link connection resource.
    type String
    Resource type.
    connectionBandwidth Number
    Expected bandwidth in MBPS.
    egressNatRules List<Property Map>
    List of egress NatRules.
    enableBgp Boolean
    EnableBgp flag.
    enableRateLimiting Boolean
    EnableBgp flag.
    id String
    Resource ID.
    ingressNatRules List<Property Map>
    List of ingress NatRules.
    ipsecPolicies List<Property Map>
    The IPSec Policies to be considered by this connection.
    name String
    The name of the resource that is unique within a resource group. This name can be used to access the resource.
    routingWeight Number
    Routing weight for vpn connection.
    sharedKey String
    SharedKey for the vpn connection.
    useLocalAzureIpAddress Boolean
    Use local azure ip to initiate connection.
    usePolicyBasedTrafficSelectors Boolean
    Enable policy-based traffic selectors.
    vpnConnectionProtocolType String
    Connection protocol used for this connection.
    vpnGatewayCustomBgpAddresses List<Property Map>
    vpnGatewayCustomBgpAddresses used by this connection.
    vpnLinkConnectionMode String
    Vpn link connection mode.
    vpnSiteLink Property Map
    Id of the connected vpn site link.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:network:VpnConnection vpnConnection1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{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
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi