1. Packages
  2. Azure Native v1
  3. API Docs
  4. network
  5. VpnConnection
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.network.VpnConnection

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    VpnConnection Resource. API Version: 2020-11-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",
            TrafficSelectorPolicies = new[] {},
            VpnLinkConnections = new[]
            {
                new AzureNative.Network.Inputs.VpnSiteLinkConnectionArgs
                {
                    ConnectionBandwidth = 200,
                    Name = "Connection-Link1",
                    SharedKey = "key",
                    UsePolicyBasedTrafficSelectors = false,
                    VpnConnectionProtocolType = "IKEv2",
                    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"
    	"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"),
    			TrafficSelectorPolicies: network.TrafficSelectorPolicyArray{},
    			VpnLinkConnections: []network.VpnSiteLinkConnectionArgs{
    				{
    					ConnectionBandwidth:            pulumi.Int(200),
    					Name:                           pulumi.String("Connection-Link1"),
    					SharedKey:                      pulumi.String("key"),
    					UsePolicyBasedTrafficSelectors: pulumi.Bool(false),
    					VpnConnectionProtocolType:      pulumi.String("IKEv2"),
    					VpnLinkConnectionMode:          pulumi.String("Default"),
    					VpnSiteLink: {
    						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 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(Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"))
                .resourceGroupName("rg1")
                .trafficSelectorPolicies()
                .vpnLinkConnections(Map.ofEntries(
                    Map.entry("connectionBandwidth", 200),
                    Map.entry("name", "Connection-Link1"),
                    Map.entry("sharedKey", "key"),
                    Map.entry("usePolicyBasedTrafficSelectors", false),
                    Map.entry("vpnConnectionProtocolType", "IKEv2"),
                    Map.entry("vpnLinkConnectionMode", "Default"),
                    Map.entry("vpnSiteLink", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1"))
                ))
                .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",
        traffic_selector_policies=[],
        vpn_link_connections=[{
            "connectionBandwidth": 200,
            "name": "Connection-Link1",
            "sharedKey": "key",
            "usePolicyBasedTrafficSelectors": False,
            "vpnConnectionProtocolType": "IKEv2",
            "vpnLinkConnectionMode": "Default",
            "vpnSiteLink": 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",
        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",
            },
        }],
    });
    
    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
          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 = 
        {
            { "id", "string" },
        },
        ConnectionName = "string",
        EnableInternetSecurity = false,
        EnableRateLimiting = false,
        DpdTimeoutSeconds = 0,
        Id = "string",
        IpsecPolicies = new[]
        {
            
            {
                { "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" },
            } },
            { "propagatedRouteTables", 
            {
                { "ids", new[]
                {
                    
                    {
                        { "id", "string" },
                    },
                } },
                { "labels", new[]
                {
                    "string",
                } },
            } },
            { "vnetRoutes", 
            {
                { "staticRoutes", new[]
                {
                    
                    {
                        { "addressPrefixes", new[]
                        {
                            "string",
                        } },
                        { "name", "string" },
                        { "nextHopIpAddress", "string" },
                    },
                } },
            } },
        },
        RoutingWeight = 0,
        SharedKey = "string",
        TrafficSelectorPolicies = new[]
        {
            
            {
                { "localAddressRanges", new[]
                {
                    "string",
                } },
                { "remoteAddressRanges", new[]
                {
                    "string",
                } },
            },
        },
        UseLocalAzureIpAddress = false,
        UsePolicyBasedTrafficSelectors = false,
        VpnConnectionProtocolType = "string",
        VpnLinkConnections = new[]
        {
            
            {
                { "connectionBandwidth", 0 },
                { "egressNatRules", new[]
                {
                    
                    {
                        { "id", "string" },
                    },
                } },
                { "enableBgp", false },
                { "enableRateLimiting", false },
                { "id", "string" },
                { "ingressNatRules", new[]
                {
                    
                    {
                        { "id", "string" },
                    },
                } },
                { "ipsecPolicies", new[]
                {
                    
                    {
                        { "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" },
                { "vpnLinkConnectionMode", "string" },
                { "vpnSiteLink", 
                {
                    { "id", "string" },
                } },
            },
        },
    });
    
    example, err := network.NewVpnConnection(ctx, "vpnConnectionResource", &network.VpnConnectionArgs{
    	GatewayName:       "string",
    	ResourceGroupName: "string",
    	RemoteVpnSite: map[string]interface{}{
    		"id": "string",
    	},
    	ConnectionName:         "string",
    	EnableInternetSecurity: false,
    	EnableRateLimiting:     false,
    	DpdTimeoutSeconds:      0,
    	Id:                     "string",
    	IpsecPolicies: []map[string]interface{}{
    		map[string]interface{}{
    			"dhGroup":             "string",
    			"ikeEncryption":       "string",
    			"ikeIntegrity":        "string",
    			"ipsecEncryption":     "string",
    			"ipsecIntegrity":      "string",
    			"pfsGroup":            "string",
    			"saDataSizeKilobytes": 0,
    			"saLifeTimeSeconds":   0,
    		},
    	},
    	Name:                "string",
    	ConnectionBandwidth: 0,
    	EnableBgp:           false,
    	RoutingConfiguration: map[string]interface{}{
    		"associatedRouteTable": map[string]interface{}{
    			"id": "string",
    		},
    		"propagatedRouteTables": map[string]interface{}{
    			"ids": []map[string]interface{}{
    				map[string]interface{}{
    					"id": "string",
    				},
    			},
    			"labels": []string{
    				"string",
    			},
    		},
    		"vnetRoutes": map[string]interface{}{
    			"staticRoutes": []map[string]interface{}{
    				map[string]interface{}{
    					"addressPrefixes": []string{
    						"string",
    					},
    					"name":             "string",
    					"nextHopIpAddress": "string",
    				},
    			},
    		},
    	},
    	RoutingWeight: 0,
    	SharedKey:     "string",
    	TrafficSelectorPolicies: []map[string]interface{}{
    		map[string]interface{}{
    			"localAddressRanges": []string{
    				"string",
    			},
    			"remoteAddressRanges": []string{
    				"string",
    			},
    		},
    	},
    	UseLocalAzureIpAddress:         false,
    	UsePolicyBasedTrafficSelectors: false,
    	VpnConnectionProtocolType:      "string",
    	VpnLinkConnections: []map[string]interface{}{
    		map[string]interface{}{
    			"connectionBandwidth": 0,
    			"egressNatRules": []map[string]interface{}{
    				map[string]interface{}{
    					"id": "string",
    				},
    			},
    			"enableBgp":          false,
    			"enableRateLimiting": false,
    			"id":                 "string",
    			"ingressNatRules": []map[string]interface{}{
    				map[string]interface{}{
    					"id": "string",
    				},
    			},
    			"ipsecPolicies": []map[string]interface{}{
    				map[string]interface{}{
    					"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",
    			"vpnLinkConnectionMode":          "string",
    			"vpnSiteLink": map[string]interface{}{
    				"id": "string",
    			},
    		},
    	},
    })
    
    var vpnConnectionResource = new VpnConnection("vpnConnectionResource", VpnConnectionArgs.builder()
        .gatewayName("string")
        .resourceGroupName("string")
        .remoteVpnSite(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .connectionName("string")
        .enableInternetSecurity(false)
        .enableRateLimiting(false)
        .dpdTimeoutSeconds(0)
        .id("string")
        .ipsecPolicies(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .name("string")
        .connectionBandwidth(0)
        .enableBgp(false)
        .routingConfiguration(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .routingWeight(0)
        .sharedKey("string")
        .trafficSelectorPolicies(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .useLocalAzureIpAddress(false)
        .usePolicyBasedTrafficSelectors(false)
        .vpnConnectionProtocolType("string")
        .vpnLinkConnections(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .build());
    
    vpn_connection_resource = azure_native.network.VpnConnection("vpnConnectionResource",
        gateway_name=string,
        resource_group_name=string,
        remote_vpn_site={
            id: string,
        },
        connection_name=string,
        enable_internet_security=False,
        enable_rate_limiting=False,
        dpd_timeout_seconds=0,
        id=string,
        ipsec_policies=[{
            dhGroup: string,
            ikeEncryption: string,
            ikeIntegrity: string,
            ipsecEncryption: string,
            ipsecIntegrity: string,
            pfsGroup: string,
            saDataSizeKilobytes: 0,
            saLifeTimeSeconds: 0,
        }],
        name=string,
        connection_bandwidth=0,
        enable_bgp=False,
        routing_configuration={
            associatedRouteTable: {
                id: string,
            },
            propagatedRouteTables: {
                ids: [{
                    id: string,
                }],
                labels: [string],
            },
            vnetRoutes: {
                staticRoutes: [{
                    addressPrefixes: [string],
                    name: string,
                    nextHopIpAddress: string,
                }],
            },
        },
        routing_weight=0,
        shared_key=string,
        traffic_selector_policies=[{
            localAddressRanges: [string],
            remoteAddressRanges: [string],
        }],
        use_local_azure_ip_address=False,
        use_policy_based_traffic_selectors=False,
        vpn_connection_protocol_type=string,
        vpn_link_connections=[{
            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,
            vpnLinkConnectionMode: string,
            vpnSiteLink: {
                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",
            },
            propagatedRouteTables: {
                ids: [{
                    id: "string",
                }],
                labels: ["string"],
            },
            vnetRoutes: {
                staticRoutes: [{
                    addressPrefixes: ["string"],
                    name: "string",
                    nextHopIpAddress: "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",
            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
            propagatedRouteTables:
                ids:
                    - id: string
                labels:
                    - string
            vnetRoutes:
                staticRoutes:
                    - addressPrefixes:
                        - string
                      name: string
                      nextHopIpAddress: 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
              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

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    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

    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.
    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.
    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.
    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.
    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.
    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.
    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.
    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.
    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.
    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.
    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.
    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.
    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.

    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

    VnetRoute, VnetRouteArgs

    StaticRoutes []StaticRoute
    List of all Static Routes.
    staticRoutes List<StaticRoute>
    List of all Static Routes.
    staticRoutes StaticRoute[]
    List of all Static Routes.
    static_routes Sequence[StaticRoute]
    List of all Static Routes.
    staticRoutes List<Property Map>
    List of all Static Routes.

    VnetRouteResponse, VnetRouteResponseArgs

    StaticRoutes []StaticRouteResponse
    List of all Static Routes.
    staticRoutes List<StaticRouteResponse>
    List of all Static Routes.
    staticRoutes StaticRouteResponse[]
    List of all Static Routes.
    staticRoutes List<Property Map>
    List of all Static Routes.

    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.
    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.
    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.
    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.
    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_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.
    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.
    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.
    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.
    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.
    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_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.
    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/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi