1. Packages
  2. Outscale Provider
  3. API Docs
  4. VpnConnection
outscale 1.0.1 published on Thursday, Mar 13, 2025 by outscale

outscale.VpnConnection

Explore with Pulumi AI

Manages a VPN connection.

For more information on this resource, see the User Guide.
For more information on this resource actions, see the API documentation.

Example Usage

Required resources

import * as pulumi from "@pulumi/pulumi";
import * as outscale from "@pulumi/outscale";

const clientGateway01 = new outscale.ClientGateway("clientGateway01", {
    bgpAsn: 65000,
    connectionType: "ipsec.1",
    publicIp: "111.11.11.111",
});
const virtualGateway01 = new outscale.VirtualGateway("virtualGateway01", {connectionType: "ipsec.1"});
Copy
import pulumi
import pulumi_outscale as outscale

client_gateway01 = outscale.ClientGateway("clientGateway01",
    bgp_asn=65000,
    connection_type="ipsec.1",
    public_ip="111.11.11.111")
virtual_gateway01 = outscale.VirtualGateway("virtualGateway01", connection_type="ipsec.1")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/outscale/outscale"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := outscale.NewClientGateway(ctx, "clientGateway01", &outscale.ClientGatewayArgs{
			BgpAsn:         pulumi.Float64(65000),
			ConnectionType: pulumi.String("ipsec.1"),
			PublicIp:       pulumi.String("111.11.11.111"),
		})
		if err != nil {
			return err
		}
		_, err = outscale.NewVirtualGateway(ctx, "virtualGateway01", &outscale.VirtualGatewayArgs{
			ConnectionType: pulumi.String("ipsec.1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Outscale = Pulumi.Outscale;

return await Deployment.RunAsync(() => 
{
    var clientGateway01 = new Outscale.ClientGateway("clientGateway01", new()
    {
        BgpAsn = 65000,
        ConnectionType = "ipsec.1",
        PublicIp = "111.11.11.111",
    });

    var virtualGateway01 = new Outscale.VirtualGateway("virtualGateway01", new()
    {
        ConnectionType = "ipsec.1",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.outscale.ClientGateway;
import com.pulumi.outscale.ClientGatewayArgs;
import com.pulumi.outscale.VirtualGateway;
import com.pulumi.outscale.VirtualGatewayArgs;
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 clientGateway01 = new ClientGateway("clientGateway01", ClientGatewayArgs.builder()
            .bgpAsn(65000)
            .connectionType("ipsec.1")
            .publicIp("111.11.11.111")
            .build());

        var virtualGateway01 = new VirtualGateway("virtualGateway01", VirtualGatewayArgs.builder()
            .connectionType("ipsec.1")
            .build());

    }
}
Copy
resources:
  clientGateway01:
    type: outscale:ClientGateway
    properties:
      bgpAsn: 65000
      connectionType: ipsec.1
      publicIp: 111.11.11.111
  virtualGateway01:
    type: outscale:VirtualGateway
    properties:
      connectionType: ipsec.1
Copy

Create a VPN connection

import * as pulumi from "@pulumi/pulumi";
import * as outscale from "@pulumi/outscale";

const vpnConnection01 = new outscale.VpnConnection("vpnConnection01", {
    clientGatewayId: outscale_client_gateway.client_gateway01.client_gateway_id,
    virtualGatewayId: outscale_virtual_gateway.virtual_gateway01.virtual_gateway_id,
    connectionType: "ipsec.1",
    staticRoutesOnly: true,
    tags: [{
        key: "Name",
        value: "vpn01",
    }],
});
Copy
import pulumi
import pulumi_outscale as outscale

vpn_connection01 = outscale.VpnConnection("vpnConnection01",
    client_gateway_id=outscale_client_gateway["client_gateway01"]["client_gateway_id"],
    virtual_gateway_id=outscale_virtual_gateway["virtual_gateway01"]["virtual_gateway_id"],
    connection_type="ipsec.1",
    static_routes_only=True,
    tags=[{
        "key": "Name",
        "value": "vpn01",
    }])
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/outscale/outscale"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := outscale.NewVpnConnection(ctx, "vpnConnection01", &outscale.VpnConnectionArgs{
			ClientGatewayId:  pulumi.Any(outscale_client_gateway.Client_gateway01.Client_gateway_id),
			VirtualGatewayId: pulumi.Any(outscale_virtual_gateway.Virtual_gateway01.Virtual_gateway_id),
			ConnectionType:   pulumi.String("ipsec.1"),
			StaticRoutesOnly: pulumi.Bool(true),
			Tags: outscale.VpnConnectionTagArray{
				&outscale.VpnConnectionTagArgs{
					Key:   pulumi.String("Name"),
					Value: pulumi.String("vpn01"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Outscale = Pulumi.Outscale;

return await Deployment.RunAsync(() => 
{
    var vpnConnection01 = new Outscale.VpnConnection("vpnConnection01", new()
    {
        ClientGatewayId = outscale_client_gateway.Client_gateway01.Client_gateway_id,
        VirtualGatewayId = outscale_virtual_gateway.Virtual_gateway01.Virtual_gateway_id,
        ConnectionType = "ipsec.1",
        StaticRoutesOnly = true,
        Tags = new[]
        {
            new Outscale.Inputs.VpnConnectionTagArgs
            {
                Key = "Name",
                Value = "vpn01",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.outscale.VpnConnection;
import com.pulumi.outscale.VpnConnectionArgs;
import com.pulumi.outscale.inputs.VpnConnectionTagArgs;
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 vpnConnection01 = new VpnConnection("vpnConnection01", VpnConnectionArgs.builder()
            .clientGatewayId(outscale_client_gateway.client_gateway01().client_gateway_id())
            .virtualGatewayId(outscale_virtual_gateway.virtual_gateway01().virtual_gateway_id())
            .connectionType("ipsec.1")
            .staticRoutesOnly(true)
            .tags(VpnConnectionTagArgs.builder()
                .key("Name")
                .value("vpn01")
                .build())
            .build());

    }
}
Copy
resources:
  vpnConnection01:
    type: outscale:VpnConnection
    properties:
      clientGatewayId: ${outscale_client_gateway.client_gateway01.client_gateway_id}
      virtualGatewayId: ${outscale_virtual_gateway.virtual_gateway01.virtual_gateway_id}
      connectionType: ipsec.1
      staticRoutesOnly: true
      tags:
        - key: Name
          value: vpn01
Copy

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: VpnConnectionArgs,
                  opts: Optional[ResourceOptions] = None)

@overload
def VpnConnection(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  client_gateway_id: Optional[str] = None,
                  connection_type: Optional[str] = None,
                  virtual_gateway_id: Optional[str] = None,
                  outscale_vpn_connection_id: Optional[str] = None,
                  static_routes_only: Optional[bool] = None,
                  tags: Optional[Sequence[VpnConnectionTagArgs]] = None,
                  timeouts: Optional[VpnConnectionTimeoutsArgs] = 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: outscale:VpnConnection
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. VpnConnectionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. VpnConnectionArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. VpnConnectionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. VpnConnectionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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 Outscale.VpnConnection("vpnConnectionResource", new()
{
    ClientGatewayId = "string",
    ConnectionType = "string",
    VirtualGatewayId = "string",
    OutscaleVpnConnectionId = "string",
    StaticRoutesOnly = false,
    Tags = new[]
    {
        new Outscale.Inputs.VpnConnectionTagArgs
        {
            Key = "string",
            Value = "string",
        },
    },
    Timeouts = new Outscale.Inputs.VpnConnectionTimeoutsArgs
    {
        Create = "string",
        Delete = "string",
        Update = "string",
    },
});
Copy
example, err := outscale.NewVpnConnection(ctx, "vpnConnectionResource", &outscale.VpnConnectionArgs{
ClientGatewayId: pulumi.String("string"),
ConnectionType: pulumi.String("string"),
VirtualGatewayId: pulumi.String("string"),
OutscaleVpnConnectionId: pulumi.String("string"),
StaticRoutesOnly: pulumi.Bool(false),
Tags: .VpnConnectionTagArray{
&.VpnConnectionTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Timeouts: &.VpnConnectionTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
Copy
var vpnConnectionResource = new VpnConnection("vpnConnectionResource", VpnConnectionArgs.builder()
    .clientGatewayId("string")
    .connectionType("string")
    .virtualGatewayId("string")
    .outscaleVpnConnectionId("string")
    .staticRoutesOnly(false)
    .tags(VpnConnectionTagArgs.builder()
        .key("string")
        .value("string")
        .build())
    .timeouts(VpnConnectionTimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .update("string")
        .build())
    .build());
Copy
vpn_connection_resource = outscale.VpnConnection("vpnConnectionResource",
    client_gateway_id="string",
    connection_type="string",
    virtual_gateway_id="string",
    outscale_vpn_connection_id="string",
    static_routes_only=False,
    tags=[{
        "key": "string",
        "value": "string",
    }],
    timeouts={
        "create": "string",
        "delete": "string",
        "update": "string",
    })
Copy
const vpnConnectionResource = new outscale.VpnConnection("vpnConnectionResource", {
    clientGatewayId: "string",
    connectionType: "string",
    virtualGatewayId: "string",
    outscaleVpnConnectionId: "string",
    staticRoutesOnly: false,
    tags: [{
        key: "string",
        value: "string",
    }],
    timeouts: {
        create: "string",
        "delete": "string",
        update: "string",
    },
});
Copy
type: outscale:VpnConnection
properties:
    clientGatewayId: string
    connectionType: string
    outscaleVpnConnectionId: string
    staticRoutesOnly: false
    tags:
        - key: string
          value: string
    timeouts:
        create: string
        delete: string
        update: string
    virtualGatewayId: string
Copy

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:

ClientGatewayId This property is required. string
The ID of the client gateway.
ConnectionType This property is required. string
The type of VPN connection (always ipsec.1).
VirtualGatewayId This property is required. string
The ID of the virtual gateway.
OutscaleVpnConnectionId string
StaticRoutesOnly bool
By default or if false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see CreateVpnConnectionRoute and DeleteVpnConnectionRoute.
Tags List<VpnConnectionTag>
A tag to add to this resource. You can specify this argument several times.
Timeouts VpnConnectionTimeouts
ClientGatewayId This property is required. string
The ID of the client gateway.
ConnectionType This property is required. string
The type of VPN connection (always ipsec.1).
VirtualGatewayId This property is required. string
The ID of the virtual gateway.
OutscaleVpnConnectionId string
StaticRoutesOnly bool
By default or if false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see CreateVpnConnectionRoute and DeleteVpnConnectionRoute.
Tags []VpnConnectionTagArgs
A tag to add to this resource. You can specify this argument several times.
Timeouts VpnConnectionTimeoutsArgs
clientGatewayId This property is required. String
The ID of the client gateway.
connectionType This property is required. String
The type of VPN connection (always ipsec.1).
virtualGatewayId This property is required. String
The ID of the virtual gateway.
outscaleVpnConnectionId String
staticRoutesOnly Boolean
By default or if false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see CreateVpnConnectionRoute and DeleteVpnConnectionRoute.
tags List<VpnConnectionTag>
A tag to add to this resource. You can specify this argument several times.
timeouts VpnConnectionTimeouts
clientGatewayId This property is required. string
The ID of the client gateway.
connectionType This property is required. string
The type of VPN connection (always ipsec.1).
virtualGatewayId This property is required. string
The ID of the virtual gateway.
outscaleVpnConnectionId string
staticRoutesOnly boolean
By default or if false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see CreateVpnConnectionRoute and DeleteVpnConnectionRoute.
tags VpnConnectionTag[]
A tag to add to this resource. You can specify this argument several times.
timeouts VpnConnectionTimeouts
client_gateway_id This property is required. str
The ID of the client gateway.
connection_type This property is required. str
The type of VPN connection (always ipsec.1).
virtual_gateway_id This property is required. str
The ID of the virtual gateway.
outscale_vpn_connection_id str
static_routes_only bool
By default or if false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see CreateVpnConnectionRoute and DeleteVpnConnectionRoute.
tags Sequence[VpnConnectionTagArgs]
A tag to add to this resource. You can specify this argument several times.
timeouts VpnConnectionTimeoutsArgs
clientGatewayId This property is required. String
The ID of the client gateway.
connectionType This property is required. String
The type of VPN connection (always ipsec.1).
virtualGatewayId This property is required. String
The ID of the virtual gateway.
outscaleVpnConnectionId String
staticRoutesOnly Boolean
By default or if false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see CreateVpnConnectionRoute and DeleteVpnConnectionRoute.
tags List<Property Map>
A tag to add to this resource. You can specify this argument several times.
timeouts Property Map

Outputs

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

ClientGatewayConfiguration string
Example configuration for the client gateway.
Id string
The provider-assigned unique ID for this managed resource.
RequestId string
Routes List<VpnConnectionRoute>
Information about one or more static routes associated with the VPN connection, if any.
State string
The state of the IPSEC tunnel (UP | DOWN).
VgwTelemetries List<VpnConnectionVgwTelemetry>
Information about the current state of one or more of the VPN tunnels.
VpnConnectionId string
The ID of the VPN connection.
ClientGatewayConfiguration string
Example configuration for the client gateway.
Id string
The provider-assigned unique ID for this managed resource.
RequestId string
Routes []VpnConnectionRouteType
Information about one or more static routes associated with the VPN connection, if any.
State string
The state of the IPSEC tunnel (UP | DOWN).
VgwTelemetries []VpnConnectionVgwTelemetry
Information about the current state of one or more of the VPN tunnels.
VpnConnectionId string
The ID of the VPN connection.
clientGatewayConfiguration String
Example configuration for the client gateway.
id String
The provider-assigned unique ID for this managed resource.
requestId String
routes List<VpnConnectionRoute>
Information about one or more static routes associated with the VPN connection, if any.
state String
The state of the IPSEC tunnel (UP | DOWN).
vgwTelemetries List<VpnConnectionVgwTelemetry>
Information about the current state of one or more of the VPN tunnels.
vpnConnectionId String
The ID of the VPN connection.
clientGatewayConfiguration string
Example configuration for the client gateway.
id string
The provider-assigned unique ID for this managed resource.
requestId string
routes VpnConnectionRoute[]
Information about one or more static routes associated with the VPN connection, if any.
state string
The state of the IPSEC tunnel (UP | DOWN).
vgwTelemetries VpnConnectionVgwTelemetry[]
Information about the current state of one or more of the VPN tunnels.
vpnConnectionId string
The ID of the VPN connection.
client_gateway_configuration str
Example configuration for the client gateway.
id str
The provider-assigned unique ID for this managed resource.
request_id str
routes Sequence[VpnConnectionRoute]
Information about one or more static routes associated with the VPN connection, if any.
state str
The state of the IPSEC tunnel (UP | DOWN).
vgw_telemetries Sequence[VpnConnectionVgwTelemetry]
Information about the current state of one or more of the VPN tunnels.
vpn_connection_id str
The ID of the VPN connection.
clientGatewayConfiguration String
Example configuration for the client gateway.
id String
The provider-assigned unique ID for this managed resource.
requestId String
routes List<Property Map>
Information about one or more static routes associated with the VPN connection, if any.
state String
The state of the IPSEC tunnel (UP | DOWN).
vgwTelemetries List<Property Map>
Information about the current state of one or more of the VPN tunnels.
vpnConnectionId String
The ID of the VPN connection.

Look up Existing VpnConnection Resource

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

public static get(name: string, id: Input<ID>, state?: VpnConnectionState, opts?: CustomResourceOptions): VpnConnection
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        client_gateway_configuration: Optional[str] = None,
        client_gateway_id: Optional[str] = None,
        connection_type: Optional[str] = None,
        outscale_vpn_connection_id: Optional[str] = None,
        request_id: Optional[str] = None,
        routes: Optional[Sequence[VpnConnectionRouteArgs]] = None,
        state: Optional[str] = None,
        static_routes_only: Optional[bool] = None,
        tags: Optional[Sequence[VpnConnectionTagArgs]] = None,
        timeouts: Optional[VpnConnectionTimeoutsArgs] = None,
        vgw_telemetries: Optional[Sequence[VpnConnectionVgwTelemetryArgs]] = None,
        virtual_gateway_id: Optional[str] = None,
        vpn_connection_id: Optional[str] = None) -> VpnConnection
func GetVpnConnection(ctx *Context, name string, id IDInput, state *VpnConnectionState, opts ...ResourceOption) (*VpnConnection, error)
public static VpnConnection Get(string name, Input<string> id, VpnConnectionState? state, CustomResourceOptions? opts = null)
public static VpnConnection get(String name, Output<String> id, VpnConnectionState state, CustomResourceOptions options)
resources:  _:    type: outscale:VpnConnection    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
ClientGatewayConfiguration string
Example configuration for the client gateway.
ClientGatewayId string
The ID of the client gateway.
ConnectionType string
The type of VPN connection (always ipsec.1).
OutscaleVpnConnectionId string
RequestId string
Routes List<VpnConnectionRoute>
Information about one or more static routes associated with the VPN connection, if any.
State string
The state of the IPSEC tunnel (UP | DOWN).
StaticRoutesOnly bool
By default or if false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see CreateVpnConnectionRoute and DeleteVpnConnectionRoute.
Tags List<VpnConnectionTag>
A tag to add to this resource. You can specify this argument several times.
Timeouts VpnConnectionTimeouts
VgwTelemetries List<VpnConnectionVgwTelemetry>
Information about the current state of one or more of the VPN tunnels.
VirtualGatewayId string
The ID of the virtual gateway.
VpnConnectionId string
The ID of the VPN connection.
ClientGatewayConfiguration string
Example configuration for the client gateway.
ClientGatewayId string
The ID of the client gateway.
ConnectionType string
The type of VPN connection (always ipsec.1).
OutscaleVpnConnectionId string
RequestId string
Routes []VpnConnectionRouteTypeArgs
Information about one or more static routes associated with the VPN connection, if any.
State string
The state of the IPSEC tunnel (UP | DOWN).
StaticRoutesOnly bool
By default or if false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see CreateVpnConnectionRoute and DeleteVpnConnectionRoute.
Tags []VpnConnectionTagArgs
A tag to add to this resource. You can specify this argument several times.
Timeouts VpnConnectionTimeoutsArgs
VgwTelemetries []VpnConnectionVgwTelemetryArgs
Information about the current state of one or more of the VPN tunnels.
VirtualGatewayId string
The ID of the virtual gateway.
VpnConnectionId string
The ID of the VPN connection.
clientGatewayConfiguration String
Example configuration for the client gateway.
clientGatewayId String
The ID of the client gateway.
connectionType String
The type of VPN connection (always ipsec.1).
outscaleVpnConnectionId String
requestId String
routes List<VpnConnectionRoute>
Information about one or more static routes associated with the VPN connection, if any.
state String
The state of the IPSEC tunnel (UP | DOWN).
staticRoutesOnly Boolean
By default or if false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see CreateVpnConnectionRoute and DeleteVpnConnectionRoute.
tags List<VpnConnectionTag>
A tag to add to this resource. You can specify this argument several times.
timeouts VpnConnectionTimeouts
vgwTelemetries List<VpnConnectionVgwTelemetry>
Information about the current state of one or more of the VPN tunnels.
virtualGatewayId String
The ID of the virtual gateway.
vpnConnectionId String
The ID of the VPN connection.
clientGatewayConfiguration string
Example configuration for the client gateway.
clientGatewayId string
The ID of the client gateway.
connectionType string
The type of VPN connection (always ipsec.1).
outscaleVpnConnectionId string
requestId string
routes VpnConnectionRoute[]
Information about one or more static routes associated with the VPN connection, if any.
state string
The state of the IPSEC tunnel (UP | DOWN).
staticRoutesOnly boolean
By default or if false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see CreateVpnConnectionRoute and DeleteVpnConnectionRoute.
tags VpnConnectionTag[]
A tag to add to this resource. You can specify this argument several times.
timeouts VpnConnectionTimeouts
vgwTelemetries VpnConnectionVgwTelemetry[]
Information about the current state of one or more of the VPN tunnels.
virtualGatewayId string
The ID of the virtual gateway.
vpnConnectionId string
The ID of the VPN connection.
client_gateway_configuration str
Example configuration for the client gateway.
client_gateway_id str
The ID of the client gateway.
connection_type str
The type of VPN connection (always ipsec.1).
outscale_vpn_connection_id str
request_id str
routes Sequence[VpnConnectionRouteArgs]
Information about one or more static routes associated with the VPN connection, if any.
state str
The state of the IPSEC tunnel (UP | DOWN).
static_routes_only bool
By default or if false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see CreateVpnConnectionRoute and DeleteVpnConnectionRoute.
tags Sequence[VpnConnectionTagArgs]
A tag to add to this resource. You can specify this argument several times.
timeouts VpnConnectionTimeoutsArgs
vgw_telemetries Sequence[VpnConnectionVgwTelemetryArgs]
Information about the current state of one or more of the VPN tunnels.
virtual_gateway_id str
The ID of the virtual gateway.
vpn_connection_id str
The ID of the VPN connection.
clientGatewayConfiguration String
Example configuration for the client gateway.
clientGatewayId String
The ID of the client gateway.
connectionType String
The type of VPN connection (always ipsec.1).
outscaleVpnConnectionId String
requestId String
routes List<Property Map>
Information about one or more static routes associated with the VPN connection, if any.
state String
The state of the IPSEC tunnel (UP | DOWN).
staticRoutesOnly Boolean
By default or if false, the VPN connection uses dynamic routing with Border Gateway Protocol (BGP). If true, routing is controlled using static routes. For more information about how to create and delete static routes, see CreateVpnConnectionRoute and DeleteVpnConnectionRoute.
tags List<Property Map>
A tag to add to this resource. You can specify this argument several times.
timeouts Property Map
vgwTelemetries List<Property Map>
Information about the current state of one or more of the VPN tunnels.
virtualGatewayId String
The ID of the virtual gateway.
vpnConnectionId String
The ID of the VPN connection.

Supporting Types

VpnConnectionRoute
, VpnConnectionRouteArgs

DestinationIpRange This property is required. string
The IP range used for the destination match, in CIDR notation (for example, 10.0.0.0/24).
RouteType This property is required. string
The type of route (always static).
State This property is required. string
The state of the IPSEC tunnel (UP | DOWN).
DestinationIpRange This property is required. string
The IP range used for the destination match, in CIDR notation (for example, 10.0.0.0/24).
RouteType This property is required. string
The type of route (always static).
State This property is required. string
The state of the IPSEC tunnel (UP | DOWN).
destinationIpRange This property is required. String
The IP range used for the destination match, in CIDR notation (for example, 10.0.0.0/24).
routeType This property is required. String
The type of route (always static).
state This property is required. String
The state of the IPSEC tunnel (UP | DOWN).
destinationIpRange This property is required. string
The IP range used for the destination match, in CIDR notation (for example, 10.0.0.0/24).
routeType This property is required. string
The type of route (always static).
state This property is required. string
The state of the IPSEC tunnel (UP | DOWN).
destination_ip_range This property is required. str
The IP range used for the destination match, in CIDR notation (for example, 10.0.0.0/24).
route_type This property is required. str
The type of route (always static).
state This property is required. str
The state of the IPSEC tunnel (UP | DOWN).
destinationIpRange This property is required. String
The IP range used for the destination match, in CIDR notation (for example, 10.0.0.0/24).
routeType This property is required. String
The type of route (always static).
state This property is required. String
The state of the IPSEC tunnel (UP | DOWN).

VpnConnectionTag
, VpnConnectionTagArgs

Key string
The key of the tag, with a minimum of 1 character.
Value string
The value of the tag, between 0 and 255 characters.
Key string
The key of the tag, with a minimum of 1 character.
Value string
The value of the tag, between 0 and 255 characters.
key String
The key of the tag, with a minimum of 1 character.
value String
The value of the tag, between 0 and 255 characters.
key string
The key of the tag, with a minimum of 1 character.
value string
The value of the tag, between 0 and 255 characters.
key str
The key of the tag, with a minimum of 1 character.
value str
The value of the tag, between 0 and 255 characters.
key String
The key of the tag, with a minimum of 1 character.
value String
The value of the tag, between 0 and 255 characters.

VpnConnectionTimeouts
, VpnConnectionTimeoutsArgs

Create string
Delete string
Update string
Create string
Delete string
Update string
create String
delete String
update String
create string
delete string
update string
create str
delete str
update str
create String
delete String
update String

VpnConnectionVgwTelemetry
, VpnConnectionVgwTelemetryArgs

AcceptedRouteCount This property is required. double
The number of routes accepted through BGP (Border Gateway Protocol) route exchanges.
LastStateChangeDate This property is required. string
The date and time (UTC) of the latest state update.
OutsideIpAddress This property is required. string
The IP on the OUTSCALE side of the tunnel.
State This property is required. string
The state of the IPSEC tunnel (UP | DOWN).
StateDescription This property is required. string
A description of the current state of the tunnel.
AcceptedRouteCount This property is required. float64
The number of routes accepted through BGP (Border Gateway Protocol) route exchanges.
LastStateChangeDate This property is required. string
The date and time (UTC) of the latest state update.
OutsideIpAddress This property is required. string
The IP on the OUTSCALE side of the tunnel.
State This property is required. string
The state of the IPSEC tunnel (UP | DOWN).
StateDescription This property is required. string
A description of the current state of the tunnel.
acceptedRouteCount This property is required. Double
The number of routes accepted through BGP (Border Gateway Protocol) route exchanges.
lastStateChangeDate This property is required. String
The date and time (UTC) of the latest state update.
outsideIpAddress This property is required. String
The IP on the OUTSCALE side of the tunnel.
state This property is required. String
The state of the IPSEC tunnel (UP | DOWN).
stateDescription This property is required. String
A description of the current state of the tunnel.
acceptedRouteCount This property is required. number
The number of routes accepted through BGP (Border Gateway Protocol) route exchanges.
lastStateChangeDate This property is required. string
The date and time (UTC) of the latest state update.
outsideIpAddress This property is required. string
The IP on the OUTSCALE side of the tunnel.
state This property is required. string
The state of the IPSEC tunnel (UP | DOWN).
stateDescription This property is required. string
A description of the current state of the tunnel.
accepted_route_count This property is required. float
The number of routes accepted through BGP (Border Gateway Protocol) route exchanges.
last_state_change_date This property is required. str
The date and time (UTC) of the latest state update.
outside_ip_address This property is required. str
The IP on the OUTSCALE side of the tunnel.
state This property is required. str
The state of the IPSEC tunnel (UP | DOWN).
state_description This property is required. str
A description of the current state of the tunnel.
acceptedRouteCount This property is required. Number
The number of routes accepted through BGP (Border Gateway Protocol) route exchanges.
lastStateChangeDate This property is required. String
The date and time (UTC) of the latest state update.
outsideIpAddress This property is required. String
The IP on the OUTSCALE side of the tunnel.
state This property is required. String
The state of the IPSEC tunnel (UP | DOWN).
stateDescription This property is required. String
A description of the current state of the tunnel.

Import

A VPN connection can be imported using its ID. For example:

console

$ pulumi import outscale:index/vpnConnection:VpnConnection ImportedVPN vpn-12345678
Copy

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

Package Details

Repository
outscale outscale/terraform-provider-outscale
License
Notes
This Pulumi package is based on the outscale Terraform Provider.