opentelekomcloud.VpnaasSiteConnectionV2
Explore with Pulumi AI
Up-to-date reference of API arguments for VPNAAS site connection you can get at documentation portal
Manages a V2 site connection resource within OpenTelekomCloud.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const conn1 = new opentelekomcloud.VpnaasSiteConnectionV2("conn1", {
ikepolicyId: opentelekomcloud_vpnaas_ike_policy_v2.policy_2.id,
ipsecpolicyId: opentelekomcloud_vpnaas_ipsec_policy_v2.policy_1.id,
vpnserviceId: opentelekomcloud_vpnaas_service_v2.service_1.id,
psk: "secret",
peerAddress: "192.168.10.1",
peerId: "192.168.10.1",
localEpGroupId: opentelekomcloud_vpnaas_endpoint_group_v2.group_2.id,
peerEpGroupId: opentelekomcloud_vpnaas_endpoint_group_v2.group_1.id,
tags: {
foo: "bar",
key: "value",
},
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
conn1 = opentelekomcloud.VpnaasSiteConnectionV2("conn1",
ikepolicy_id=opentelekomcloud_vpnaas_ike_policy_v2["policy_2"]["id"],
ipsecpolicy_id=opentelekomcloud_vpnaas_ipsec_policy_v2["policy_1"]["id"],
vpnservice_id=opentelekomcloud_vpnaas_service_v2["service_1"]["id"],
psk="secret",
peer_address="192.168.10.1",
peer_id="192.168.10.1",
local_ep_group_id=opentelekomcloud_vpnaas_endpoint_group_v2["group_2"]["id"],
peer_ep_group_id=opentelekomcloud_vpnaas_endpoint_group_v2["group_1"]["id"],
tags={
"foo": "bar",
"key": "value",
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := opentelekomcloud.NewVpnaasSiteConnectionV2(ctx, "conn1", &opentelekomcloud.VpnaasSiteConnectionV2Args{
IkepolicyId: pulumi.Any(opentelekomcloud_vpnaas_ike_policy_v2.Policy_2.Id),
IpsecpolicyId: pulumi.Any(opentelekomcloud_vpnaas_ipsec_policy_v2.Policy_1.Id),
VpnserviceId: pulumi.Any(opentelekomcloud_vpnaas_service_v2.Service_1.Id),
Psk: pulumi.String("secret"),
PeerAddress: pulumi.String("192.168.10.1"),
PeerId: pulumi.String("192.168.10.1"),
LocalEpGroupId: pulumi.Any(opentelekomcloud_vpnaas_endpoint_group_v2.Group_2.Id),
PeerEpGroupId: pulumi.Any(opentelekomcloud_vpnaas_endpoint_group_v2.Group_1.Id),
Tags: pulumi.StringMap{
"foo": pulumi.String("bar"),
"key": pulumi.String("value"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var conn1 = new Opentelekomcloud.VpnaasSiteConnectionV2("conn1", new()
{
IkepolicyId = opentelekomcloud_vpnaas_ike_policy_v2.Policy_2.Id,
IpsecpolicyId = opentelekomcloud_vpnaas_ipsec_policy_v2.Policy_1.Id,
VpnserviceId = opentelekomcloud_vpnaas_service_v2.Service_1.Id,
Psk = "secret",
PeerAddress = "192.168.10.1",
PeerId = "192.168.10.1",
LocalEpGroupId = opentelekomcloud_vpnaas_endpoint_group_v2.Group_2.Id,
PeerEpGroupId = opentelekomcloud_vpnaas_endpoint_group_v2.Group_1.Id,
Tags =
{
{ "foo", "bar" },
{ "key", "value" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.VpnaasSiteConnectionV2;
import com.pulumi.opentelekomcloud.VpnaasSiteConnectionV2Args;
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 conn1 = new VpnaasSiteConnectionV2("conn1", VpnaasSiteConnectionV2Args.builder()
.ikepolicyId(opentelekomcloud_vpnaas_ike_policy_v2.policy_2().id())
.ipsecpolicyId(opentelekomcloud_vpnaas_ipsec_policy_v2.policy_1().id())
.vpnserviceId(opentelekomcloud_vpnaas_service_v2.service_1().id())
.psk("secret")
.peerAddress("192.168.10.1")
.peerId("192.168.10.1")
.localEpGroupId(opentelekomcloud_vpnaas_endpoint_group_v2.group_2().id())
.peerEpGroupId(opentelekomcloud_vpnaas_endpoint_group_v2.group_1().id())
.tags(Map.ofEntries(
Map.entry("foo", "bar"),
Map.entry("key", "value")
))
.build());
}
}
resources:
conn1:
type: opentelekomcloud:VpnaasSiteConnectionV2
properties:
ikepolicyId: ${opentelekomcloud_vpnaas_ike_policy_v2.policy_2.id}
ipsecpolicyId: ${opentelekomcloud_vpnaas_ipsec_policy_v2.policy_1.id}
vpnserviceId: ${opentelekomcloud_vpnaas_service_v2.service_1.id}
psk: secret
peerAddress: 192.168.10.1
peerId: 192.168.10.1
localEpGroupId: ${opentelekomcloud_vpnaas_endpoint_group_v2.group_2.id}
peerEpGroupId: ${opentelekomcloud_vpnaas_endpoint_group_v2.group_1.id}
tags:
foo: bar
key: value
Create VpnaasSiteConnectionV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VpnaasSiteConnectionV2(name: string, args: VpnaasSiteConnectionV2Args, opts?: CustomResourceOptions);
@overload
def VpnaasSiteConnectionV2(resource_name: str,
args: VpnaasSiteConnectionV2Args,
opts: Optional[ResourceOptions] = None)
@overload
def VpnaasSiteConnectionV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
peer_address: Optional[str] = None,
peer_id: Optional[str] = None,
vpnservice_id: Optional[str] = None,
ikepolicy_id: Optional[str] = None,
psk: Optional[str] = None,
ipsecpolicy_id: Optional[str] = None,
peer_cidrs: Optional[Sequence[str]] = None,
local_ep_group_id: Optional[str] = None,
mtu: Optional[float] = None,
peer_ep_group_id: Optional[str] = None,
description: Optional[str] = None,
admin_state_up: Optional[bool] = None,
name: Optional[str] = None,
local_id: Optional[str] = None,
initiator: Optional[str] = None,
region: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tenant_id: Optional[str] = None,
timeouts: Optional[VpnaasSiteConnectionV2TimeoutsArgs] = None,
value_specs: Optional[Mapping[str, str]] = None,
vpnaas_site_connection_v2_id: Optional[str] = None,
dpds: Optional[Sequence[VpnaasSiteConnectionV2DpdArgs]] = None)
func NewVpnaasSiteConnectionV2(ctx *Context, name string, args VpnaasSiteConnectionV2Args, opts ...ResourceOption) (*VpnaasSiteConnectionV2, error)
public VpnaasSiteConnectionV2(string name, VpnaasSiteConnectionV2Args args, CustomResourceOptions? opts = null)
public VpnaasSiteConnectionV2(String name, VpnaasSiteConnectionV2Args args)
public VpnaasSiteConnectionV2(String name, VpnaasSiteConnectionV2Args args, CustomResourceOptions options)
type: opentelekomcloud:VpnaasSiteConnectionV2
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 VpnaasSiteConnectionV2Args
- 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 VpnaasSiteConnectionV2Args
- 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 VpnaasSiteConnectionV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VpnaasSiteConnectionV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VpnaasSiteConnectionV2Args
- 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 vpnaasSiteConnectionV2Resource = new Opentelekomcloud.VpnaasSiteConnectionV2("vpnaasSiteConnectionV2Resource", new()
{
PeerAddress = "string",
PeerId = "string",
VpnserviceId = "string",
IkepolicyId = "string",
Psk = "string",
IpsecpolicyId = "string",
PeerCidrs = new[]
{
"string",
},
LocalEpGroupId = "string",
Mtu = 0,
PeerEpGroupId = "string",
Description = "string",
AdminStateUp = false,
Name = "string",
LocalId = "string",
Initiator = "string",
Region = "string",
Tags =
{
{ "string", "string" },
},
TenantId = "string",
Timeouts = new Opentelekomcloud.Inputs.VpnaasSiteConnectionV2TimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
ValueSpecs =
{
{ "string", "string" },
},
VpnaasSiteConnectionV2Id = "string",
Dpds = new[]
{
new Opentelekomcloud.Inputs.VpnaasSiteConnectionV2DpdArgs
{
Action = "string",
Interval = 0,
Timeout = 0,
},
},
});
example, err := opentelekomcloud.NewVpnaasSiteConnectionV2(ctx, "vpnaasSiteConnectionV2Resource", &opentelekomcloud.VpnaasSiteConnectionV2Args{
PeerAddress: pulumi.String("string"),
PeerId: pulumi.String("string"),
VpnserviceId: pulumi.String("string"),
IkepolicyId: pulumi.String("string"),
Psk: pulumi.String("string"),
IpsecpolicyId: pulumi.String("string"),
PeerCidrs: pulumi.StringArray{
pulumi.String("string"),
},
LocalEpGroupId: pulumi.String("string"),
Mtu: pulumi.Float64(0),
PeerEpGroupId: pulumi.String("string"),
Description: pulumi.String("string"),
AdminStateUp: pulumi.Bool(false),
Name: pulumi.String("string"),
LocalId: pulumi.String("string"),
Initiator: pulumi.String("string"),
Region: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
TenantId: pulumi.String("string"),
Timeouts: &opentelekomcloud.VpnaasSiteConnectionV2TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
ValueSpecs: pulumi.StringMap{
"string": pulumi.String("string"),
},
VpnaasSiteConnectionV2Id: pulumi.String("string"),
Dpds: opentelekomcloud.VpnaasSiteConnectionV2DpdArray{
&opentelekomcloud.VpnaasSiteConnectionV2DpdArgs{
Action: pulumi.String("string"),
Interval: pulumi.Float64(0),
Timeout: pulumi.Float64(0),
},
},
})
var vpnaasSiteConnectionV2Resource = new VpnaasSiteConnectionV2("vpnaasSiteConnectionV2Resource", VpnaasSiteConnectionV2Args.builder()
.peerAddress("string")
.peerId("string")
.vpnserviceId("string")
.ikepolicyId("string")
.psk("string")
.ipsecpolicyId("string")
.peerCidrs("string")
.localEpGroupId("string")
.mtu(0)
.peerEpGroupId("string")
.description("string")
.adminStateUp(false)
.name("string")
.localId("string")
.initiator("string")
.region("string")
.tags(Map.of("string", "string"))
.tenantId("string")
.timeouts(VpnaasSiteConnectionV2TimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.valueSpecs(Map.of("string", "string"))
.vpnaasSiteConnectionV2Id("string")
.dpds(VpnaasSiteConnectionV2DpdArgs.builder()
.action("string")
.interval(0)
.timeout(0)
.build())
.build());
vpnaas_site_connection_v2_resource = opentelekomcloud.VpnaasSiteConnectionV2("vpnaasSiteConnectionV2Resource",
peer_address="string",
peer_id="string",
vpnservice_id="string",
ikepolicy_id="string",
psk="string",
ipsecpolicy_id="string",
peer_cidrs=["string"],
local_ep_group_id="string",
mtu=0,
peer_ep_group_id="string",
description="string",
admin_state_up=False,
name="string",
local_id="string",
initiator="string",
region="string",
tags={
"string": "string",
},
tenant_id="string",
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
value_specs={
"string": "string",
},
vpnaas_site_connection_v2_id="string",
dpds=[{
"action": "string",
"interval": 0,
"timeout": 0,
}])
const vpnaasSiteConnectionV2Resource = new opentelekomcloud.VpnaasSiteConnectionV2("vpnaasSiteConnectionV2Resource", {
peerAddress: "string",
peerId: "string",
vpnserviceId: "string",
ikepolicyId: "string",
psk: "string",
ipsecpolicyId: "string",
peerCidrs: ["string"],
localEpGroupId: "string",
mtu: 0,
peerEpGroupId: "string",
description: "string",
adminStateUp: false,
name: "string",
localId: "string",
initiator: "string",
region: "string",
tags: {
string: "string",
},
tenantId: "string",
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
valueSpecs: {
string: "string",
},
vpnaasSiteConnectionV2Id: "string",
dpds: [{
action: "string",
interval: 0,
timeout: 0,
}],
});
type: opentelekomcloud:VpnaasSiteConnectionV2
properties:
adminStateUp: false
description: string
dpds:
- action: string
interval: 0
timeout: 0
ikepolicyId: string
initiator: string
ipsecpolicyId: string
localEpGroupId: string
localId: string
mtu: 0
name: string
peerAddress: string
peerCidrs:
- string
peerEpGroupId: string
peerId: string
psk: string
region: string
tags:
string: string
tenantId: string
timeouts:
create: string
delete: string
update: string
valueSpecs:
string: string
vpnaasSiteConnectionV2Id: string
vpnserviceId: string
VpnaasSiteConnectionV2 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 VpnaasSiteConnectionV2 resource accepts the following input properties:
- Ikepolicy
Id string - The ID of the IKE policy. Changing this creates a new connection.
- Ipsecpolicy
Id string - The ID of the IPsec policy. Changing this creates a new connection.
- Peer
Address string - The peer gateway public IPv4 or IPv6 address or FQDN.
- Peer
Id string - The peer router identity for authentication. A valid value is an IPv4 address, IPv6 address, e-mail address, key ID, or FQDN. Typically, this value matches the peer_address value. Changing this updates the existing policy.
- Psk string
- The pre-shared key. A PSK can contain 6 to 128 characters. Spaces and the following special characters are not allowed:
<>&?*'"
. - Vpnservice
Id string - The ID of the VPN service. Changing this creates a new connection.
- Admin
State boolUp - The administrative state of the resource. Can either be up(
true
) or down(false
). Changing this updates the administrative state of the existing connection. - Description string
- The human-readable description for the connection. Changing this updates the description of the existing connection.
- Dpds
List<Vpnaas
Site Connection V2Dpd> - A dictionary with dead peer detection (DPD) protocol controls.
- Initiator string
- A valid value is
response-only
orbi-directional
. - Local
Ep stringGroup Id - The ID for the endpoint group that contains private subnets for the
local side of the connection. You must specify this parameter with the
peer_ep_group_id
parameter unless in backward-compatible mode wherepeer_cidrs
is provided with asubnet_id
for the VPN service. Changing this updates the existing connection. - Local
Id string - An ID to be used instead of the external IP address for a virtual router used in traffic between instances on different networks in east-west traffic. Most often, local ID would be domain name, email address, etc. If this is not configured then the external IP address will be used as the ID.
- Mtu double
- The maximum transmission unit (MTU) value to address fragmentation. Minimum value is 68 for IPv4, and 1280 for IPv6.
- Name string
- The name of the connection. Changing this updates the name of the existing connection.
- Peer
Cidrs List<string> - Unique list of valid peer private CIDRs in the form <net_address>/.
- Peer
Ep stringGroup Id - The ID for the endpoint group that contains private CIDRs in the form
<net_address>/ for the peer side of the connection. You must specify this parameter with the
local_ep_group_id
parameter unless in backward-compatible mode wherepeer_cidrs
is provided with asubnet_id
for the VPN service. - Region string
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an IPSec site connection. If omitted, the
region
argument of the provider is used. Changing this creates a new site connection. - Dictionary<string, string>
- The key/value pairs to associate with the connection.
- Tenant
Id string - The owner of the connection. Required if admin wants to create a connection for another project. Changing this creates a new connection.
- Timeouts
Vpnaas
Site Connection V2Timeouts - Value
Specs Dictionary<string, string> - Map of additional options.
- Vpnaas
Site stringConnection V2Id
- Ikepolicy
Id string - The ID of the IKE policy. Changing this creates a new connection.
- Ipsecpolicy
Id string - The ID of the IPsec policy. Changing this creates a new connection.
- Peer
Address string - The peer gateway public IPv4 or IPv6 address or FQDN.
- Peer
Id string - The peer router identity for authentication. A valid value is an IPv4 address, IPv6 address, e-mail address, key ID, or FQDN. Typically, this value matches the peer_address value. Changing this updates the existing policy.
- Psk string
- The pre-shared key. A PSK can contain 6 to 128 characters. Spaces and the following special characters are not allowed:
<>&?*'"
. - Vpnservice
Id string - The ID of the VPN service. Changing this creates a new connection.
- Admin
State boolUp - The administrative state of the resource. Can either be up(
true
) or down(false
). Changing this updates the administrative state of the existing connection. - Description string
- The human-readable description for the connection. Changing this updates the description of the existing connection.
- Dpds
[]Vpnaas
Site Connection V2Dpd Args - A dictionary with dead peer detection (DPD) protocol controls.
- Initiator string
- A valid value is
response-only
orbi-directional
. - Local
Ep stringGroup Id - The ID for the endpoint group that contains private subnets for the
local side of the connection. You must specify this parameter with the
peer_ep_group_id
parameter unless in backward-compatible mode wherepeer_cidrs
is provided with asubnet_id
for the VPN service. Changing this updates the existing connection. - Local
Id string - An ID to be used instead of the external IP address for a virtual router used in traffic between instances on different networks in east-west traffic. Most often, local ID would be domain name, email address, etc. If this is not configured then the external IP address will be used as the ID.
- Mtu float64
- The maximum transmission unit (MTU) value to address fragmentation. Minimum value is 68 for IPv4, and 1280 for IPv6.
- Name string
- The name of the connection. Changing this updates the name of the existing connection.
- Peer
Cidrs []string - Unique list of valid peer private CIDRs in the form <net_address>/.
- Peer
Ep stringGroup Id - The ID for the endpoint group that contains private CIDRs in the form
<net_address>/ for the peer side of the connection. You must specify this parameter with the
local_ep_group_id
parameter unless in backward-compatible mode wherepeer_cidrs
is provided with asubnet_id
for the VPN service. - Region string
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an IPSec site connection. If omitted, the
region
argument of the provider is used. Changing this creates a new site connection. - map[string]string
- The key/value pairs to associate with the connection.
- Tenant
Id string - The owner of the connection. Required if admin wants to create a connection for another project. Changing this creates a new connection.
- Timeouts
Vpnaas
Site Connection V2Timeouts Args - Value
Specs map[string]string - Map of additional options.
- Vpnaas
Site stringConnection V2Id
- ikepolicy
Id String - The ID of the IKE policy. Changing this creates a new connection.
- ipsecpolicy
Id String - The ID of the IPsec policy. Changing this creates a new connection.
- peer
Address String - The peer gateway public IPv4 or IPv6 address or FQDN.
- peer
Id String - The peer router identity for authentication. A valid value is an IPv4 address, IPv6 address, e-mail address, key ID, or FQDN. Typically, this value matches the peer_address value. Changing this updates the existing policy.
- psk String
- The pre-shared key. A PSK can contain 6 to 128 characters. Spaces and the following special characters are not allowed:
<>&?*'"
. - vpnservice
Id String - The ID of the VPN service. Changing this creates a new connection.
- admin
State BooleanUp - The administrative state of the resource. Can either be up(
true
) or down(false
). Changing this updates the administrative state of the existing connection. - description String
- The human-readable description for the connection. Changing this updates the description of the existing connection.
- dpds
List<Vpnaas
Site Connection V2Dpd> - A dictionary with dead peer detection (DPD) protocol controls.
- initiator String
- A valid value is
response-only
orbi-directional
. - local
Ep StringGroup Id - The ID for the endpoint group that contains private subnets for the
local side of the connection. You must specify this parameter with the
peer_ep_group_id
parameter unless in backward-compatible mode wherepeer_cidrs
is provided with asubnet_id
for the VPN service. Changing this updates the existing connection. - local
Id String - An ID to be used instead of the external IP address for a virtual router used in traffic between instances on different networks in east-west traffic. Most often, local ID would be domain name, email address, etc. If this is not configured then the external IP address will be used as the ID.
- mtu Double
- The maximum transmission unit (MTU) value to address fragmentation. Minimum value is 68 for IPv4, and 1280 for IPv6.
- name String
- The name of the connection. Changing this updates the name of the existing connection.
- peer
Cidrs List<String> - Unique list of valid peer private CIDRs in the form <net_address>/.
- peer
Ep StringGroup Id - The ID for the endpoint group that contains private CIDRs in the form
<net_address>/ for the peer side of the connection. You must specify this parameter with the
local_ep_group_id
parameter unless in backward-compatible mode wherepeer_cidrs
is provided with asubnet_id
for the VPN service. - region String
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an IPSec site connection. If omitted, the
region
argument of the provider is used. Changing this creates a new site connection. - Map<String,String>
- The key/value pairs to associate with the connection.
- tenant
Id String - The owner of the connection. Required if admin wants to create a connection for another project. Changing this creates a new connection.
- timeouts
Vpnaas
Site Connection V2Timeouts - value
Specs Map<String,String> - Map of additional options.
- vpnaas
Site StringConnection V2Id
- ikepolicy
Id string - The ID of the IKE policy. Changing this creates a new connection.
- ipsecpolicy
Id string - The ID of the IPsec policy. Changing this creates a new connection.
- peer
Address string - The peer gateway public IPv4 or IPv6 address or FQDN.
- peer
Id string - The peer router identity for authentication. A valid value is an IPv4 address, IPv6 address, e-mail address, key ID, or FQDN. Typically, this value matches the peer_address value. Changing this updates the existing policy.
- psk string
- The pre-shared key. A PSK can contain 6 to 128 characters. Spaces and the following special characters are not allowed:
<>&?*'"
. - vpnservice
Id string - The ID of the VPN service. Changing this creates a new connection.
- admin
State booleanUp - The administrative state of the resource. Can either be up(
true
) or down(false
). Changing this updates the administrative state of the existing connection. - description string
- The human-readable description for the connection. Changing this updates the description of the existing connection.
- dpds
Vpnaas
Site Connection V2Dpd[] - A dictionary with dead peer detection (DPD) protocol controls.
- initiator string
- A valid value is
response-only
orbi-directional
. - local
Ep stringGroup Id - The ID for the endpoint group that contains private subnets for the
local side of the connection. You must specify this parameter with the
peer_ep_group_id
parameter unless in backward-compatible mode wherepeer_cidrs
is provided with asubnet_id
for the VPN service. Changing this updates the existing connection. - local
Id string - An ID to be used instead of the external IP address for a virtual router used in traffic between instances on different networks in east-west traffic. Most often, local ID would be domain name, email address, etc. If this is not configured then the external IP address will be used as the ID.
- mtu number
- The maximum transmission unit (MTU) value to address fragmentation. Minimum value is 68 for IPv4, and 1280 for IPv6.
- name string
- The name of the connection. Changing this updates the name of the existing connection.
- peer
Cidrs string[] - Unique list of valid peer private CIDRs in the form <net_address>/.
- peer
Ep stringGroup Id - The ID for the endpoint group that contains private CIDRs in the form
<net_address>/ for the peer side of the connection. You must specify this parameter with the
local_ep_group_id
parameter unless in backward-compatible mode wherepeer_cidrs
is provided with asubnet_id
for the VPN service. - region string
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an IPSec site connection. If omitted, the
region
argument of the provider is used. Changing this creates a new site connection. - {[key: string]: string}
- The key/value pairs to associate with the connection.
- tenant
Id string - The owner of the connection. Required if admin wants to create a connection for another project. Changing this creates a new connection.
- timeouts
Vpnaas
Site Connection V2Timeouts - value
Specs {[key: string]: string} - Map of additional options.
- vpnaas
Site stringConnection V2Id
- ikepolicy_
id str - The ID of the IKE policy. Changing this creates a new connection.
- ipsecpolicy_
id str - The ID of the IPsec policy. Changing this creates a new connection.
- peer_
address str - The peer gateway public IPv4 or IPv6 address or FQDN.
- peer_
id str - The peer router identity for authentication. A valid value is an IPv4 address, IPv6 address, e-mail address, key ID, or FQDN. Typically, this value matches the peer_address value. Changing this updates the existing policy.
- psk str
- The pre-shared key. A PSK can contain 6 to 128 characters. Spaces and the following special characters are not allowed:
<>&?*'"
. - vpnservice_
id str - The ID of the VPN service. Changing this creates a new connection.
- admin_
state_ boolup - The administrative state of the resource. Can either be up(
true
) or down(false
). Changing this updates the administrative state of the existing connection. - description str
- The human-readable description for the connection. Changing this updates the description of the existing connection.
- dpds
Sequence[Vpnaas
Site Connection V2Dpd Args] - A dictionary with dead peer detection (DPD) protocol controls.
- initiator str
- A valid value is
response-only
orbi-directional
. - local_
ep_ strgroup_ id - The ID for the endpoint group that contains private subnets for the
local side of the connection. You must specify this parameter with the
peer_ep_group_id
parameter unless in backward-compatible mode wherepeer_cidrs
is provided with asubnet_id
for the VPN service. Changing this updates the existing connection. - local_
id str - An ID to be used instead of the external IP address for a virtual router used in traffic between instances on different networks in east-west traffic. Most often, local ID would be domain name, email address, etc. If this is not configured then the external IP address will be used as the ID.
- mtu float
- The maximum transmission unit (MTU) value to address fragmentation. Minimum value is 68 for IPv4, and 1280 for IPv6.
- name str
- The name of the connection. Changing this updates the name of the existing connection.
- peer_
cidrs Sequence[str] - Unique list of valid peer private CIDRs in the form <net_address>/.
- peer_
ep_ strgroup_ id - The ID for the endpoint group that contains private CIDRs in the form
<net_address>/ for the peer side of the connection. You must specify this parameter with the
local_ep_group_id
parameter unless in backward-compatible mode wherepeer_cidrs
is provided with asubnet_id
for the VPN service. - region str
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an IPSec site connection. If omitted, the
region
argument of the provider is used. Changing this creates a new site connection. - Mapping[str, str]
- The key/value pairs to associate with the connection.
- tenant_
id str - The owner of the connection. Required if admin wants to create a connection for another project. Changing this creates a new connection.
- timeouts
Vpnaas
Site Connection V2Timeouts Args - value_
specs Mapping[str, str] - Map of additional options.
- vpnaas_
site_ strconnection_ v2_ id
- ikepolicy
Id String - The ID of the IKE policy. Changing this creates a new connection.
- ipsecpolicy
Id String - The ID of the IPsec policy. Changing this creates a new connection.
- peer
Address String - The peer gateway public IPv4 or IPv6 address or FQDN.
- peer
Id String - The peer router identity for authentication. A valid value is an IPv4 address, IPv6 address, e-mail address, key ID, or FQDN. Typically, this value matches the peer_address value. Changing this updates the existing policy.
- psk String
- The pre-shared key. A PSK can contain 6 to 128 characters. Spaces and the following special characters are not allowed:
<>&?*'"
. - vpnservice
Id String - The ID of the VPN service. Changing this creates a new connection.
- admin
State BooleanUp - The administrative state of the resource. Can either be up(
true
) or down(false
). Changing this updates the administrative state of the existing connection. - description String
- The human-readable description for the connection. Changing this updates the description of the existing connection.
- dpds List<Property Map>
- A dictionary with dead peer detection (DPD) protocol controls.
- initiator String
- A valid value is
response-only
orbi-directional
. - local
Ep StringGroup Id - The ID for the endpoint group that contains private subnets for the
local side of the connection. You must specify this parameter with the
peer_ep_group_id
parameter unless in backward-compatible mode wherepeer_cidrs
is provided with asubnet_id
for the VPN service. Changing this updates the existing connection. - local
Id String - An ID to be used instead of the external IP address for a virtual router used in traffic between instances on different networks in east-west traffic. Most often, local ID would be domain name, email address, etc. If this is not configured then the external IP address will be used as the ID.
- mtu Number
- The maximum transmission unit (MTU) value to address fragmentation. Minimum value is 68 for IPv4, and 1280 for IPv6.
- name String
- The name of the connection. Changing this updates the name of the existing connection.
- peer
Cidrs List<String> - Unique list of valid peer private CIDRs in the form <net_address>/.
- peer
Ep StringGroup Id - The ID for the endpoint group that contains private CIDRs in the form
<net_address>/ for the peer side of the connection. You must specify this parameter with the
local_ep_group_id
parameter unless in backward-compatible mode wherepeer_cidrs
is provided with asubnet_id
for the VPN service. - region String
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an IPSec site connection. If omitted, the
region
argument of the provider is used. Changing this creates a new site connection. - Map<String>
- The key/value pairs to associate with the connection.
- tenant
Id String - The owner of the connection. Required if admin wants to create a connection for another project. Changing this creates a new connection.
- timeouts Property Map
- value
Specs Map<String> - Map of additional options.
- vpnaas
Site StringConnection V2Id
Outputs
All input properties are implicitly available as output properties. Additionally, the VpnaasSiteConnectionV2 resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing VpnaasSiteConnectionV2 Resource
Get an existing VpnaasSiteConnectionV2 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?: VpnaasSiteConnectionV2State, opts?: CustomResourceOptions): VpnaasSiteConnectionV2
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
admin_state_up: Optional[bool] = None,
description: Optional[str] = None,
dpds: Optional[Sequence[VpnaasSiteConnectionV2DpdArgs]] = None,
ikepolicy_id: Optional[str] = None,
initiator: Optional[str] = None,
ipsecpolicy_id: Optional[str] = None,
local_ep_group_id: Optional[str] = None,
local_id: Optional[str] = None,
mtu: Optional[float] = None,
name: Optional[str] = None,
peer_address: Optional[str] = None,
peer_cidrs: Optional[Sequence[str]] = None,
peer_ep_group_id: Optional[str] = None,
peer_id: Optional[str] = None,
psk: Optional[str] = None,
region: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tenant_id: Optional[str] = None,
timeouts: Optional[VpnaasSiteConnectionV2TimeoutsArgs] = None,
value_specs: Optional[Mapping[str, str]] = None,
vpnaas_site_connection_v2_id: Optional[str] = None,
vpnservice_id: Optional[str] = None) -> VpnaasSiteConnectionV2
func GetVpnaasSiteConnectionV2(ctx *Context, name string, id IDInput, state *VpnaasSiteConnectionV2State, opts ...ResourceOption) (*VpnaasSiteConnectionV2, error)
public static VpnaasSiteConnectionV2 Get(string name, Input<string> id, VpnaasSiteConnectionV2State? state, CustomResourceOptions? opts = null)
public static VpnaasSiteConnectionV2 get(String name, Output<String> id, VpnaasSiteConnectionV2State state, CustomResourceOptions options)
resources: _: type: opentelekomcloud:VpnaasSiteConnectionV2 get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Admin
State boolUp - The administrative state of the resource. Can either be up(
true
) or down(false
). Changing this updates the administrative state of the existing connection. - Description string
- The human-readable description for the connection. Changing this updates the description of the existing connection.
- Dpds
List<Vpnaas
Site Connection V2Dpd> - A dictionary with dead peer detection (DPD) protocol controls.
- Ikepolicy
Id string - The ID of the IKE policy. Changing this creates a new connection.
- Initiator string
- A valid value is
response-only
orbi-directional
. - Ipsecpolicy
Id string - The ID of the IPsec policy. Changing this creates a new connection.
- Local
Ep stringGroup Id - The ID for the endpoint group that contains private subnets for the
local side of the connection. You must specify this parameter with the
peer_ep_group_id
parameter unless in backward-compatible mode wherepeer_cidrs
is provided with asubnet_id
for the VPN service. Changing this updates the existing connection. - Local
Id string - An ID to be used instead of the external IP address for a virtual router used in traffic between instances on different networks in east-west traffic. Most often, local ID would be domain name, email address, etc. If this is not configured then the external IP address will be used as the ID.
- Mtu double
- The maximum transmission unit (MTU) value to address fragmentation. Minimum value is 68 for IPv4, and 1280 for IPv6.
- Name string
- The name of the connection. Changing this updates the name of the existing connection.
- Peer
Address string - The peer gateway public IPv4 or IPv6 address or FQDN.
- Peer
Cidrs List<string> - Unique list of valid peer private CIDRs in the form <net_address>/.
- Peer
Ep stringGroup Id - The ID for the endpoint group that contains private CIDRs in the form
<net_address>/ for the peer side of the connection. You must specify this parameter with the
local_ep_group_id
parameter unless in backward-compatible mode wherepeer_cidrs
is provided with asubnet_id
for the VPN service. - Peer
Id string - The peer router identity for authentication. A valid value is an IPv4 address, IPv6 address, e-mail address, key ID, or FQDN. Typically, this value matches the peer_address value. Changing this updates the existing policy.
- Psk string
- The pre-shared key. A PSK can contain 6 to 128 characters. Spaces and the following special characters are not allowed:
<>&?*'"
. - Region string
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an IPSec site connection. If omitted, the
region
argument of the provider is used. Changing this creates a new site connection. - Dictionary<string, string>
- The key/value pairs to associate with the connection.
- Tenant
Id string - The owner of the connection. Required if admin wants to create a connection for another project. Changing this creates a new connection.
- Timeouts
Vpnaas
Site Connection V2Timeouts - Value
Specs Dictionary<string, string> - Map of additional options.
- Vpnaas
Site stringConnection V2Id - Vpnservice
Id string - The ID of the VPN service. Changing this creates a new connection.
- Admin
State boolUp - The administrative state of the resource. Can either be up(
true
) or down(false
). Changing this updates the administrative state of the existing connection. - Description string
- The human-readable description for the connection. Changing this updates the description of the existing connection.
- Dpds
[]Vpnaas
Site Connection V2Dpd Args - A dictionary with dead peer detection (DPD) protocol controls.
- Ikepolicy
Id string - The ID of the IKE policy. Changing this creates a new connection.
- Initiator string
- A valid value is
response-only
orbi-directional
. - Ipsecpolicy
Id string - The ID of the IPsec policy. Changing this creates a new connection.
- Local
Ep stringGroup Id - The ID for the endpoint group that contains private subnets for the
local side of the connection. You must specify this parameter with the
peer_ep_group_id
parameter unless in backward-compatible mode wherepeer_cidrs
is provided with asubnet_id
for the VPN service. Changing this updates the existing connection. - Local
Id string - An ID to be used instead of the external IP address for a virtual router used in traffic between instances on different networks in east-west traffic. Most often, local ID would be domain name, email address, etc. If this is not configured then the external IP address will be used as the ID.
- Mtu float64
- The maximum transmission unit (MTU) value to address fragmentation. Minimum value is 68 for IPv4, and 1280 for IPv6.
- Name string
- The name of the connection. Changing this updates the name of the existing connection.
- Peer
Address string - The peer gateway public IPv4 or IPv6 address or FQDN.
- Peer
Cidrs []string - Unique list of valid peer private CIDRs in the form <net_address>/.
- Peer
Ep stringGroup Id - The ID for the endpoint group that contains private CIDRs in the form
<net_address>/ for the peer side of the connection. You must specify this parameter with the
local_ep_group_id
parameter unless in backward-compatible mode wherepeer_cidrs
is provided with asubnet_id
for the VPN service. - Peer
Id string - The peer router identity for authentication. A valid value is an IPv4 address, IPv6 address, e-mail address, key ID, or FQDN. Typically, this value matches the peer_address value. Changing this updates the existing policy.
- Psk string
- The pre-shared key. A PSK can contain 6 to 128 characters. Spaces and the following special characters are not allowed:
<>&?*'"
. - Region string
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an IPSec site connection. If omitted, the
region
argument of the provider is used. Changing this creates a new site connection. - map[string]string
- The key/value pairs to associate with the connection.
- Tenant
Id string - The owner of the connection. Required if admin wants to create a connection for another project. Changing this creates a new connection.
- Timeouts
Vpnaas
Site Connection V2Timeouts Args - Value
Specs map[string]string - Map of additional options.
- Vpnaas
Site stringConnection V2Id - Vpnservice
Id string - The ID of the VPN service. Changing this creates a new connection.
- admin
State BooleanUp - The administrative state of the resource. Can either be up(
true
) or down(false
). Changing this updates the administrative state of the existing connection. - description String
- The human-readable description for the connection. Changing this updates the description of the existing connection.
- dpds
List<Vpnaas
Site Connection V2Dpd> - A dictionary with dead peer detection (DPD) protocol controls.
- ikepolicy
Id String - The ID of the IKE policy. Changing this creates a new connection.
- initiator String
- A valid value is
response-only
orbi-directional
. - ipsecpolicy
Id String - The ID of the IPsec policy. Changing this creates a new connection.
- local
Ep StringGroup Id - The ID for the endpoint group that contains private subnets for the
local side of the connection. You must specify this parameter with the
peer_ep_group_id
parameter unless in backward-compatible mode wherepeer_cidrs
is provided with asubnet_id
for the VPN service. Changing this updates the existing connection. - local
Id String - An ID to be used instead of the external IP address for a virtual router used in traffic between instances on different networks in east-west traffic. Most often, local ID would be domain name, email address, etc. If this is not configured then the external IP address will be used as the ID.
- mtu Double
- The maximum transmission unit (MTU) value to address fragmentation. Minimum value is 68 for IPv4, and 1280 for IPv6.
- name String
- The name of the connection. Changing this updates the name of the existing connection.
- peer
Address String - The peer gateway public IPv4 or IPv6 address or FQDN.
- peer
Cidrs List<String> - Unique list of valid peer private CIDRs in the form <net_address>/.
- peer
Ep StringGroup Id - The ID for the endpoint group that contains private CIDRs in the form
<net_address>/ for the peer side of the connection. You must specify this parameter with the
local_ep_group_id
parameter unless in backward-compatible mode wherepeer_cidrs
is provided with asubnet_id
for the VPN service. - peer
Id String - The peer router identity for authentication. A valid value is an IPv4 address, IPv6 address, e-mail address, key ID, or FQDN. Typically, this value matches the peer_address value. Changing this updates the existing policy.
- psk String
- The pre-shared key. A PSK can contain 6 to 128 characters. Spaces and the following special characters are not allowed:
<>&?*'"
. - region String
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an IPSec site connection. If omitted, the
region
argument of the provider is used. Changing this creates a new site connection. - Map<String,String>
- The key/value pairs to associate with the connection.
- tenant
Id String - The owner of the connection. Required if admin wants to create a connection for another project. Changing this creates a new connection.
- timeouts
Vpnaas
Site Connection V2Timeouts - value
Specs Map<String,String> - Map of additional options.
- vpnaas
Site StringConnection V2Id - vpnservice
Id String - The ID of the VPN service. Changing this creates a new connection.
- admin
State booleanUp - The administrative state of the resource. Can either be up(
true
) or down(false
). Changing this updates the administrative state of the existing connection. - description string
- The human-readable description for the connection. Changing this updates the description of the existing connection.
- dpds
Vpnaas
Site Connection V2Dpd[] - A dictionary with dead peer detection (DPD) protocol controls.
- ikepolicy
Id string - The ID of the IKE policy. Changing this creates a new connection.
- initiator string
- A valid value is
response-only
orbi-directional
. - ipsecpolicy
Id string - The ID of the IPsec policy. Changing this creates a new connection.
- local
Ep stringGroup Id - The ID for the endpoint group that contains private subnets for the
local side of the connection. You must specify this parameter with the
peer_ep_group_id
parameter unless in backward-compatible mode wherepeer_cidrs
is provided with asubnet_id
for the VPN service. Changing this updates the existing connection. - local
Id string - An ID to be used instead of the external IP address for a virtual router used in traffic between instances on different networks in east-west traffic. Most often, local ID would be domain name, email address, etc. If this is not configured then the external IP address will be used as the ID.
- mtu number
- The maximum transmission unit (MTU) value to address fragmentation. Minimum value is 68 for IPv4, and 1280 for IPv6.
- name string
- The name of the connection. Changing this updates the name of the existing connection.
- peer
Address string - The peer gateway public IPv4 or IPv6 address or FQDN.
- peer
Cidrs string[] - Unique list of valid peer private CIDRs in the form <net_address>/.
- peer
Ep stringGroup Id - The ID for the endpoint group that contains private CIDRs in the form
<net_address>/ for the peer side of the connection. You must specify this parameter with the
local_ep_group_id
parameter unless in backward-compatible mode wherepeer_cidrs
is provided with asubnet_id
for the VPN service. - peer
Id string - The peer router identity for authentication. A valid value is an IPv4 address, IPv6 address, e-mail address, key ID, or FQDN. Typically, this value matches the peer_address value. Changing this updates the existing policy.
- psk string
- The pre-shared key. A PSK can contain 6 to 128 characters. Spaces and the following special characters are not allowed:
<>&?*'"
. - region string
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an IPSec site connection. If omitted, the
region
argument of the provider is used. Changing this creates a new site connection. - {[key: string]: string}
- The key/value pairs to associate with the connection.
- tenant
Id string - The owner of the connection. Required if admin wants to create a connection for another project. Changing this creates a new connection.
- timeouts
Vpnaas
Site Connection V2Timeouts - value
Specs {[key: string]: string} - Map of additional options.
- vpnaas
Site stringConnection V2Id - vpnservice
Id string - The ID of the VPN service. Changing this creates a new connection.
- admin_
state_ boolup - The administrative state of the resource. Can either be up(
true
) or down(false
). Changing this updates the administrative state of the existing connection. - description str
- The human-readable description for the connection. Changing this updates the description of the existing connection.
- dpds
Sequence[Vpnaas
Site Connection V2Dpd Args] - A dictionary with dead peer detection (DPD) protocol controls.
- ikepolicy_
id str - The ID of the IKE policy. Changing this creates a new connection.
- initiator str
- A valid value is
response-only
orbi-directional
. - ipsecpolicy_
id str - The ID of the IPsec policy. Changing this creates a new connection.
- local_
ep_ strgroup_ id - The ID for the endpoint group that contains private subnets for the
local side of the connection. You must specify this parameter with the
peer_ep_group_id
parameter unless in backward-compatible mode wherepeer_cidrs
is provided with asubnet_id
for the VPN service. Changing this updates the existing connection. - local_
id str - An ID to be used instead of the external IP address for a virtual router used in traffic between instances on different networks in east-west traffic. Most often, local ID would be domain name, email address, etc. If this is not configured then the external IP address will be used as the ID.
- mtu float
- The maximum transmission unit (MTU) value to address fragmentation. Minimum value is 68 for IPv4, and 1280 for IPv6.
- name str
- The name of the connection. Changing this updates the name of the existing connection.
- peer_
address str - The peer gateway public IPv4 or IPv6 address or FQDN.
- peer_
cidrs Sequence[str] - Unique list of valid peer private CIDRs in the form <net_address>/.
- peer_
ep_ strgroup_ id - The ID for the endpoint group that contains private CIDRs in the form
<net_address>/ for the peer side of the connection. You must specify this parameter with the
local_ep_group_id
parameter unless in backward-compatible mode wherepeer_cidrs
is provided with asubnet_id
for the VPN service. - peer_
id str - The peer router identity for authentication. A valid value is an IPv4 address, IPv6 address, e-mail address, key ID, or FQDN. Typically, this value matches the peer_address value. Changing this updates the existing policy.
- psk str
- The pre-shared key. A PSK can contain 6 to 128 characters. Spaces and the following special characters are not allowed:
<>&?*'"
. - region str
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an IPSec site connection. If omitted, the
region
argument of the provider is used. Changing this creates a new site connection. - Mapping[str, str]
- The key/value pairs to associate with the connection.
- tenant_
id str - The owner of the connection. Required if admin wants to create a connection for another project. Changing this creates a new connection.
- timeouts
Vpnaas
Site Connection V2Timeouts Args - value_
specs Mapping[str, str] - Map of additional options.
- vpnaas_
site_ strconnection_ v2_ id - vpnservice_
id str - The ID of the VPN service. Changing this creates a new connection.
- admin
State BooleanUp - The administrative state of the resource. Can either be up(
true
) or down(false
). Changing this updates the administrative state of the existing connection. - description String
- The human-readable description for the connection. Changing this updates the description of the existing connection.
- dpds List<Property Map>
- A dictionary with dead peer detection (DPD) protocol controls.
- ikepolicy
Id String - The ID of the IKE policy. Changing this creates a new connection.
- initiator String
- A valid value is
response-only
orbi-directional
. - ipsecpolicy
Id String - The ID of the IPsec policy. Changing this creates a new connection.
- local
Ep StringGroup Id - The ID for the endpoint group that contains private subnets for the
local side of the connection. You must specify this parameter with the
peer_ep_group_id
parameter unless in backward-compatible mode wherepeer_cidrs
is provided with asubnet_id
for the VPN service. Changing this updates the existing connection. - local
Id String - An ID to be used instead of the external IP address for a virtual router used in traffic between instances on different networks in east-west traffic. Most often, local ID would be domain name, email address, etc. If this is not configured then the external IP address will be used as the ID.
- mtu Number
- The maximum transmission unit (MTU) value to address fragmentation. Minimum value is 68 for IPv4, and 1280 for IPv6.
- name String
- The name of the connection. Changing this updates the name of the existing connection.
- peer
Address String - The peer gateway public IPv4 or IPv6 address or FQDN.
- peer
Cidrs List<String> - Unique list of valid peer private CIDRs in the form <net_address>/.
- peer
Ep StringGroup Id - The ID for the endpoint group that contains private CIDRs in the form
<net_address>/ for the peer side of the connection. You must specify this parameter with the
local_ep_group_id
parameter unless in backward-compatible mode wherepeer_cidrs
is provided with asubnet_id
for the VPN service. - peer
Id String - The peer router identity for authentication. A valid value is an IPv4 address, IPv6 address, e-mail address, key ID, or FQDN. Typically, this value matches the peer_address value. Changing this updates the existing policy.
- psk String
- The pre-shared key. A PSK can contain 6 to 128 characters. Spaces and the following special characters are not allowed:
<>&?*'"
. - region String
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an IPSec site connection. If omitted, the
region
argument of the provider is used. Changing this creates a new site connection. - Map<String>
- The key/value pairs to associate with the connection.
- tenant
Id String - The owner of the connection. Required if admin wants to create a connection for another project. Changing this creates a new connection.
- timeouts Property Map
- value
Specs Map<String> - Map of additional options.
- vpnaas
Site StringConnection V2Id - vpnservice
Id String - The ID of the VPN service. Changing this creates a new connection.
Supporting Types
VpnaasSiteConnectionV2Dpd, VpnaasSiteConnectionV2DpdArgs
- Action string
- The dead peer detection (DPD) action.
A valid value is
clear
,hold
,restart
,disabled
orrestart-by-peer
. Default value ishold
. - Interval double
- The dead peer detection (DPD) interval, in seconds.
A valid value is a positive integer. Default is
30
. - Timeout double
- The dead peer detection (DPD) timeout in seconds.
A valid value is a positive integer that is greater than the DPD interval value. Default is
120
.
- Action string
- The dead peer detection (DPD) action.
A valid value is
clear
,hold
,restart
,disabled
orrestart-by-peer
. Default value ishold
. - Interval float64
- The dead peer detection (DPD) interval, in seconds.
A valid value is a positive integer. Default is
30
. - Timeout float64
- The dead peer detection (DPD) timeout in seconds.
A valid value is a positive integer that is greater than the DPD interval value. Default is
120
.
- action String
- The dead peer detection (DPD) action.
A valid value is
clear
,hold
,restart
,disabled
orrestart-by-peer
. Default value ishold
. - interval Double
- The dead peer detection (DPD) interval, in seconds.
A valid value is a positive integer. Default is
30
. - timeout Double
- The dead peer detection (DPD) timeout in seconds.
A valid value is a positive integer that is greater than the DPD interval value. Default is
120
.
- action string
- The dead peer detection (DPD) action.
A valid value is
clear
,hold
,restart
,disabled
orrestart-by-peer
. Default value ishold
. - interval number
- The dead peer detection (DPD) interval, in seconds.
A valid value is a positive integer. Default is
30
. - timeout number
- The dead peer detection (DPD) timeout in seconds.
A valid value is a positive integer that is greater than the DPD interval value. Default is
120
.
- action str
- The dead peer detection (DPD) action.
A valid value is
clear
,hold
,restart
,disabled
orrestart-by-peer
. Default value ishold
. - interval float
- The dead peer detection (DPD) interval, in seconds.
A valid value is a positive integer. Default is
30
. - timeout float
- The dead peer detection (DPD) timeout in seconds.
A valid value is a positive integer that is greater than the DPD interval value. Default is
120
.
- action String
- The dead peer detection (DPD) action.
A valid value is
clear
,hold
,restart
,disabled
orrestart-by-peer
. Default value ishold
. - interval Number
- The dead peer detection (DPD) interval, in seconds.
A valid value is a positive integer. Default is
30
. - timeout Number
- The dead peer detection (DPD) timeout in seconds.
A valid value is a positive integer that is greater than the DPD interval value. Default is
120
.
VpnaasSiteConnectionV2Timeouts, VpnaasSiteConnectionV2TimeoutsArgs
Import
Site Connections can be imported using the id
, e.g.
$ pulumi import opentelekomcloud:index/vpnaasSiteConnectionV2:VpnaasSiteConnectionV2 conn_1 832cb7f3-59fe-40cf-8f64-8350ffc03272
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.