vkcs.VpnaasSiteConnection
Explore with Pulumi AI
Manages a IPSec site connection resource within VKCS.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as vkcs from "@pulumi/vkcs";
const connection = new vkcs.VpnaasSiteConnection("connection", {
ikepolicyId: vkcs_vpnaas_ike_policy.data_center.id,
ipsecpolicyId: vkcs_vpnaas_ipsec_policy.data_center.id,
vpnserviceId: vkcs_vpnaas_service.vpn_to_datacenter.id,
psk: "secret",
peerAddress: "192.168.10.1",
peerId: "192.168.10.1",
localEpGroupId: vkcs_vpnaas_endpoint_group.subnet_hosts.id,
peerEpGroupId: vkcs_vpnaas_endpoint_group.allowed_hosts.id,
dpds: [{
action: "restart",
timeout: 42,
interval: 21,
}],
}, {
dependsOn: [vkcs_dc_interface.internet],
});
import pulumi
import pulumi_vkcs as vkcs
connection = vkcs.VpnaasSiteConnection("connection",
ikepolicy_id=vkcs_vpnaas_ike_policy["data_center"]["id"],
ipsecpolicy_id=vkcs_vpnaas_ipsec_policy["data_center"]["id"],
vpnservice_id=vkcs_vpnaas_service["vpn_to_datacenter"]["id"],
psk="secret",
peer_address="192.168.10.1",
peer_id="192.168.10.1",
local_ep_group_id=vkcs_vpnaas_endpoint_group["subnet_hosts"]["id"],
peer_ep_group_id=vkcs_vpnaas_endpoint_group["allowed_hosts"]["id"],
dpds=[{
"action": "restart",
"timeout": 42,
"interval": 21,
}],
opts = pulumi.ResourceOptions(depends_on=[vkcs_dc_interface["internet"]]))
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/vkcs/vkcs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vkcs.NewVpnaasSiteConnection(ctx, "connection", &vkcs.VpnaasSiteConnectionArgs{
IkepolicyId: pulumi.Any(vkcs_vpnaas_ike_policy.Data_center.Id),
IpsecpolicyId: pulumi.Any(vkcs_vpnaas_ipsec_policy.Data_center.Id),
VpnserviceId: pulumi.Any(vkcs_vpnaas_service.Vpn_to_datacenter.Id),
Psk: pulumi.String("secret"),
PeerAddress: pulumi.String("192.168.10.1"),
PeerId: pulumi.String("192.168.10.1"),
LocalEpGroupId: pulumi.Any(vkcs_vpnaas_endpoint_group.Subnet_hosts.Id),
PeerEpGroupId: pulumi.Any(vkcs_vpnaas_endpoint_group.Allowed_hosts.Id),
Dpds: vkcs.VpnaasSiteConnectionDpdArray{
&vkcs.VpnaasSiteConnectionDpdArgs{
Action: pulumi.String("restart"),
Timeout: pulumi.Float64(42),
Interval: pulumi.Float64(21),
},
},
}, pulumi.DependsOn([]pulumi.Resource{
vkcs_dc_interface.Internet,
}))
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vkcs = Pulumi.Vkcs;
return await Deployment.RunAsync(() =>
{
var connection = new Vkcs.VpnaasSiteConnection("connection", new()
{
IkepolicyId = vkcs_vpnaas_ike_policy.Data_center.Id,
IpsecpolicyId = vkcs_vpnaas_ipsec_policy.Data_center.Id,
VpnserviceId = vkcs_vpnaas_service.Vpn_to_datacenter.Id,
Psk = "secret",
PeerAddress = "192.168.10.1",
PeerId = "192.168.10.1",
LocalEpGroupId = vkcs_vpnaas_endpoint_group.Subnet_hosts.Id,
PeerEpGroupId = vkcs_vpnaas_endpoint_group.Allowed_hosts.Id,
Dpds = new[]
{
new Vkcs.Inputs.VpnaasSiteConnectionDpdArgs
{
Action = "restart",
Timeout = 42,
Interval = 21,
},
},
}, new CustomResourceOptions
{
DependsOn =
{
vkcs_dc_interface.Internet,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vkcs.VpnaasSiteConnection;
import com.pulumi.vkcs.VpnaasSiteConnectionArgs;
import com.pulumi.vkcs.inputs.VpnaasSiteConnectionDpdArgs;
import com.pulumi.resources.CustomResourceOptions;
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 connection = new VpnaasSiteConnection("connection", VpnaasSiteConnectionArgs.builder()
.ikepolicyId(vkcs_vpnaas_ike_policy.data_center().id())
.ipsecpolicyId(vkcs_vpnaas_ipsec_policy.data_center().id())
.vpnserviceId(vkcs_vpnaas_service.vpn_to_datacenter().id())
.psk("secret")
.peerAddress("192.168.10.1")
.peerId("192.168.10.1")
.localEpGroupId(vkcs_vpnaas_endpoint_group.subnet_hosts().id())
.peerEpGroupId(vkcs_vpnaas_endpoint_group.allowed_hosts().id())
.dpds(VpnaasSiteConnectionDpdArgs.builder()
.action("restart")
.timeout(42)
.interval(21)
.build())
.build(), CustomResourceOptions.builder()
.dependsOn(vkcs_dc_interface.internet())
.build());
}
}
resources:
connection:
type: vkcs:VpnaasSiteConnection
properties:
ikepolicyId: ${vkcs_vpnaas_ike_policy.data_center.id}
ipsecpolicyId: ${vkcs_vpnaas_ipsec_policy.data_center.id}
vpnserviceId: ${vkcs_vpnaas_service.vpn_to_datacenter.id}
psk: secret
peerAddress: 192.168.10.1
peerId: 192.168.10.1
localEpGroupId: ${vkcs_vpnaas_endpoint_group.subnet_hosts.id}
peerEpGroupId: ${vkcs_vpnaas_endpoint_group.allowed_hosts.id}
dpds:
- action: restart
timeout: 42
interval: 21
options:
dependsOn:
- ${vkcs_dc_interface.internet}
Create VpnaasSiteConnection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VpnaasSiteConnection(name: string, args: VpnaasSiteConnectionArgs, opts?: CustomResourceOptions);
@overload
def VpnaasSiteConnection(resource_name: str,
args: VpnaasSiteConnectionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VpnaasSiteConnection(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,
name: Optional[str] = None,
description: Optional[str] = None,
peer_ep_group_id: Optional[str] = None,
admin_state_up: Optional[bool] = None,
local_id: Optional[str] = None,
initiator: Optional[str] = None,
region: Optional[str] = None,
sdn: Optional[str] = None,
timeouts: Optional[VpnaasSiteConnectionTimeoutsArgs] = None,
traffic_selector_ep_merge: Optional[bool] = None,
vpnaas_site_connection_id: Optional[str] = None,
dpds: Optional[Sequence[VpnaasSiteConnectionDpdArgs]] = None)
func NewVpnaasSiteConnection(ctx *Context, name string, args VpnaasSiteConnectionArgs, opts ...ResourceOption) (*VpnaasSiteConnection, error)
public VpnaasSiteConnection(string name, VpnaasSiteConnectionArgs args, CustomResourceOptions? opts = null)
public VpnaasSiteConnection(String name, VpnaasSiteConnectionArgs args)
public VpnaasSiteConnection(String name, VpnaasSiteConnectionArgs args, CustomResourceOptions options)
type: vkcs:VpnaasSiteConnection
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 VpnaasSiteConnectionArgs
- 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 VpnaasSiteConnectionArgs
- 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 VpnaasSiteConnectionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VpnaasSiteConnectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VpnaasSiteConnectionArgs
- 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 vpnaasSiteConnectionResource = new Vkcs.VpnaasSiteConnection("vpnaasSiteConnectionResource", new()
{
PeerAddress = "string",
PeerId = "string",
VpnserviceId = "string",
IkepolicyId = "string",
Psk = "string",
IpsecpolicyId = "string",
PeerCidrs = new[]
{
"string",
},
LocalEpGroupId = "string",
Mtu = 0,
Name = "string",
Description = "string",
PeerEpGroupId = "string",
AdminStateUp = false,
LocalId = "string",
Initiator = "string",
Region = "string",
Sdn = "string",
Timeouts = new Vkcs.Inputs.VpnaasSiteConnectionTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
TrafficSelectorEpMerge = false,
VpnaasSiteConnectionId = "string",
Dpds = new[]
{
new Vkcs.Inputs.VpnaasSiteConnectionDpdArgs
{
Action = "string",
Interval = 0,
Timeout = 0,
},
},
});
example, err := vkcs.NewVpnaasSiteConnection(ctx, "vpnaasSiteConnectionResource", &vkcs.VpnaasSiteConnectionArgs{
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),
Name: pulumi.String("string"),
Description: pulumi.String("string"),
PeerEpGroupId: pulumi.String("string"),
AdminStateUp: pulumi.Bool(false),
LocalId: pulumi.String("string"),
Initiator: pulumi.String("string"),
Region: pulumi.String("string"),
Sdn: pulumi.String("string"),
Timeouts: &vkcs.VpnaasSiteConnectionTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
TrafficSelectorEpMerge: pulumi.Bool(false),
VpnaasSiteConnectionId: pulumi.String("string"),
Dpds: vkcs.VpnaasSiteConnectionDpdArray{
&vkcs.VpnaasSiteConnectionDpdArgs{
Action: pulumi.String("string"),
Interval: pulumi.Float64(0),
Timeout: pulumi.Float64(0),
},
},
})
var vpnaasSiteConnectionResource = new VpnaasSiteConnection("vpnaasSiteConnectionResource", VpnaasSiteConnectionArgs.builder()
.peerAddress("string")
.peerId("string")
.vpnserviceId("string")
.ikepolicyId("string")
.psk("string")
.ipsecpolicyId("string")
.peerCidrs("string")
.localEpGroupId("string")
.mtu(0)
.name("string")
.description("string")
.peerEpGroupId("string")
.adminStateUp(false)
.localId("string")
.initiator("string")
.region("string")
.sdn("string")
.timeouts(VpnaasSiteConnectionTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.trafficSelectorEpMerge(false)
.vpnaasSiteConnectionId("string")
.dpds(VpnaasSiteConnectionDpdArgs.builder()
.action("string")
.interval(0)
.timeout(0)
.build())
.build());
vpnaas_site_connection_resource = vkcs.VpnaasSiteConnection("vpnaasSiteConnectionResource",
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,
name="string",
description="string",
peer_ep_group_id="string",
admin_state_up=False,
local_id="string",
initiator="string",
region="string",
sdn="string",
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
traffic_selector_ep_merge=False,
vpnaas_site_connection_id="string",
dpds=[{
"action": "string",
"interval": 0,
"timeout": 0,
}])
const vpnaasSiteConnectionResource = new vkcs.VpnaasSiteConnection("vpnaasSiteConnectionResource", {
peerAddress: "string",
peerId: "string",
vpnserviceId: "string",
ikepolicyId: "string",
psk: "string",
ipsecpolicyId: "string",
peerCidrs: ["string"],
localEpGroupId: "string",
mtu: 0,
name: "string",
description: "string",
peerEpGroupId: "string",
adminStateUp: false,
localId: "string",
initiator: "string",
region: "string",
sdn: "string",
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
trafficSelectorEpMerge: false,
vpnaasSiteConnectionId: "string",
dpds: [{
action: "string",
interval: 0,
timeout: 0,
}],
});
type: vkcs:VpnaasSiteConnection
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
sdn: string
timeouts:
create: string
delete: string
update: string
trafficSelectorEpMerge: false
vpnaasSiteConnectionId: string
vpnserviceId: string
VpnaasSiteConnection 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 VpnaasSiteConnection resource accepts the following input properties:
- Ikepolicy
Id string - required string → The ID of the IKE policy. Changing this creates a new connection.
- Ipsecpolicy
Id string - required string → The ID of the IPsec policy. Changing this creates a new connection.
- Peer
Address string - required string → The peer gateway public IPv4 or IPv6 address or FQDN.
- Peer
Id string - required 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
- required string → The pre-shared key. A valid value is any string.
- Vpnservice
Id string - required string → The ID of the VPN service. Changing this creates a new connection.
- Admin
State boolUp - optional boolean → 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
- optional string → The human-readable description for the connection. Changing this updates the description of the existing connection.
- Dpds
List<Vpnaas
Site Connection Dpd> - optional → A dictionary with dead peer detection (DPD) protocol controls.
- Initiator string
- optional string → A valid value is response-only or bi-directional. Default is bi-directional.
- Local
Ep stringGroup Id - optional string → 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 where peer_cidrs is provided with a subnet_id for the VPN service. Changing this updates the existing connection.
- Local
Id string - optional 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
- optional number → The maximum transmission unit (MTU) value to address fragmentation. Minimum value is 68 for IPv4, and 1280 for IPv6.
- Name string
- optional string → The name of the connection. Changing this updates the name of the existing connection.
- Peer
Cidrs List<string> - optional string → Unique list of valid peer private CIDRs in the form < net_address > / < prefix >.
- Peer
Ep stringGroup Id - optional string → The ID for the endpoint group that contains private CIDRs in the form < net_address > / < prefix > for the peer side of the connection. You must specify this parameter with the local_ep_group_id parameter unless in backward-compatible mode where peer_cidrs is provided with a subnet_id for the VPN service.
- Region string
- optional string → The region in which to obtain the 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. - Sdn string
- optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.New since v0.5.3.
- Timeouts
Vpnaas
Site Connection Timeouts - Traffic
Selector boolEp Merge - optional boolean → This argument controls whether multiple traffic selection rules for an IPSec site connection should be merged into one rule, or applied independently. When set to "true", this parameter results in single IPsec SA negotiation with multiple IP prefixes, while providing a separate negotiation that results in the multiple IPsec tunnels when set to "false". Note: Available only in sprut SDN. Default value is true.New since v0.7.4.
- Vpnaas
Site stringConnection Id - string → ID of the resource.
- Ikepolicy
Id string - required string → The ID of the IKE policy. Changing this creates a new connection.
- Ipsecpolicy
Id string - required string → The ID of the IPsec policy. Changing this creates a new connection.
- Peer
Address string - required string → The peer gateway public IPv4 or IPv6 address or FQDN.
- Peer
Id string - required 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
- required string → The pre-shared key. A valid value is any string.
- Vpnservice
Id string - required string → The ID of the VPN service. Changing this creates a new connection.
- Admin
State boolUp - optional boolean → 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
- optional string → The human-readable description for the connection. Changing this updates the description of the existing connection.
- Dpds
[]Vpnaas
Site Connection Dpd Args - optional → A dictionary with dead peer detection (DPD) protocol controls.
- Initiator string
- optional string → A valid value is response-only or bi-directional. Default is bi-directional.
- Local
Ep stringGroup Id - optional string → 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 where peer_cidrs is provided with a subnet_id for the VPN service. Changing this updates the existing connection.
- Local
Id string - optional 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
- optional number → The maximum transmission unit (MTU) value to address fragmentation. Minimum value is 68 for IPv4, and 1280 for IPv6.
- Name string
- optional string → The name of the connection. Changing this updates the name of the existing connection.
- Peer
Cidrs []string - optional string → Unique list of valid peer private CIDRs in the form < net_address > / < prefix >.
- Peer
Ep stringGroup Id - optional string → The ID for the endpoint group that contains private CIDRs in the form < net_address > / < prefix > for the peer side of the connection. You must specify this parameter with the local_ep_group_id parameter unless in backward-compatible mode where peer_cidrs is provided with a subnet_id for the VPN service.
- Region string
- optional string → The region in which to obtain the 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. - Sdn string
- optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.New since v0.5.3.
- Timeouts
Vpnaas
Site Connection Timeouts Args - Traffic
Selector boolEp Merge - optional boolean → This argument controls whether multiple traffic selection rules for an IPSec site connection should be merged into one rule, or applied independently. When set to "true", this parameter results in single IPsec SA negotiation with multiple IP prefixes, while providing a separate negotiation that results in the multiple IPsec tunnels when set to "false". Note: Available only in sprut SDN. Default value is true.New since v0.7.4.
- Vpnaas
Site stringConnection Id - string → ID of the resource.
- ikepolicy
Id String - required string → The ID of the IKE policy. Changing this creates a new connection.
- ipsecpolicy
Id String - required string → The ID of the IPsec policy. Changing this creates a new connection.
- peer
Address String - required string → The peer gateway public IPv4 or IPv6 address or FQDN.
- peer
Id String - required 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
- required string → The pre-shared key. A valid value is any string.
- vpnservice
Id String - required string → The ID of the VPN service. Changing this creates a new connection.
- admin
State BooleanUp - optional boolean → 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
- optional string → The human-readable description for the connection. Changing this updates the description of the existing connection.
- dpds
List<Vpnaas
Site Connection Dpd> - optional → A dictionary with dead peer detection (DPD) protocol controls.
- initiator String
- optional string → A valid value is response-only or bi-directional. Default is bi-directional.
- local
Ep StringGroup Id - optional string → 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 where peer_cidrs is provided with a subnet_id for the VPN service. Changing this updates the existing connection.
- local
Id String - optional 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
- optional number → The maximum transmission unit (MTU) value to address fragmentation. Minimum value is 68 for IPv4, and 1280 for IPv6.
- name String
- optional string → The name of the connection. Changing this updates the name of the existing connection.
- peer
Cidrs List<String> - optional string → Unique list of valid peer private CIDRs in the form < net_address > / < prefix >.
- peer
Ep StringGroup Id - optional string → The ID for the endpoint group that contains private CIDRs in the form < net_address > / < prefix > for the peer side of the connection. You must specify this parameter with the local_ep_group_id parameter unless in backward-compatible mode where peer_cidrs is provided with a subnet_id for the VPN service.
- region String
- optional string → The region in which to obtain the 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. - sdn String
- optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.New since v0.5.3.
- timeouts
Vpnaas
Site Connection Timeouts - traffic
Selector BooleanEp Merge - optional boolean → This argument controls whether multiple traffic selection rules for an IPSec site connection should be merged into one rule, or applied independently. When set to "true", this parameter results in single IPsec SA negotiation with multiple IP prefixes, while providing a separate negotiation that results in the multiple IPsec tunnels when set to "false". Note: Available only in sprut SDN. Default value is true.New since v0.7.4.
- vpnaas
Site StringConnection Id - string → ID of the resource.
- ikepolicy
Id string - required string → The ID of the IKE policy. Changing this creates a new connection.
- ipsecpolicy
Id string - required string → The ID of the IPsec policy. Changing this creates a new connection.
- peer
Address string - required string → The peer gateway public IPv4 or IPv6 address or FQDN.
- peer
Id string - required 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
- required string → The pre-shared key. A valid value is any string.
- vpnservice
Id string - required string → The ID of the VPN service. Changing this creates a new connection.
- admin
State booleanUp - optional boolean → 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
- optional string → The human-readable description for the connection. Changing this updates the description of the existing connection.
- dpds
Vpnaas
Site Connection Dpd[] - optional → A dictionary with dead peer detection (DPD) protocol controls.
- initiator string
- optional string → A valid value is response-only or bi-directional. Default is bi-directional.
- local
Ep stringGroup Id - optional string → 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 where peer_cidrs is provided with a subnet_id for the VPN service. Changing this updates the existing connection.
- local
Id string - optional 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
- optional number → The maximum transmission unit (MTU) value to address fragmentation. Minimum value is 68 for IPv4, and 1280 for IPv6.
- name string
- optional string → The name of the connection. Changing this updates the name of the existing connection.
- peer
Cidrs string[] - optional string → Unique list of valid peer private CIDRs in the form < net_address > / < prefix >.
- peer
Ep stringGroup Id - optional string → The ID for the endpoint group that contains private CIDRs in the form < net_address > / < prefix > for the peer side of the connection. You must specify this parameter with the local_ep_group_id parameter unless in backward-compatible mode where peer_cidrs is provided with a subnet_id for the VPN service.
- region string
- optional string → The region in which to obtain the 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. - sdn string
- optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.New since v0.5.3.
- timeouts
Vpnaas
Site Connection Timeouts - traffic
Selector booleanEp Merge - optional boolean → This argument controls whether multiple traffic selection rules for an IPSec site connection should be merged into one rule, or applied independently. When set to "true", this parameter results in single IPsec SA negotiation with multiple IP prefixes, while providing a separate negotiation that results in the multiple IPsec tunnels when set to "false". Note: Available only in sprut SDN. Default value is true.New since v0.7.4.
- vpnaas
Site stringConnection Id - string → ID of the resource.
- ikepolicy_
id str - required string → The ID of the IKE policy. Changing this creates a new connection.
- ipsecpolicy_
id str - required string → The ID of the IPsec policy. Changing this creates a new connection.
- peer_
address str - required string → The peer gateway public IPv4 or IPv6 address or FQDN.
- peer_
id str - required 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 str
- required string → The pre-shared key. A valid value is any string.
- vpnservice_
id str - required string → The ID of the VPN service. Changing this creates a new connection.
- admin_
state_ boolup - optional boolean → 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
- optional string → The human-readable description for the connection. Changing this updates the description of the existing connection.
- dpds
Sequence[Vpnaas
Site Connection Dpd Args] - optional → A dictionary with dead peer detection (DPD) protocol controls.
- initiator str
- optional string → A valid value is response-only or bi-directional. Default is bi-directional.
- local_
ep_ strgroup_ id - optional string → 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 where peer_cidrs is provided with a subnet_id for the VPN service. Changing this updates the existing connection.
- local_
id str - optional 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 float
- optional number → The maximum transmission unit (MTU) value to address fragmentation. Minimum value is 68 for IPv4, and 1280 for IPv6.
- name str
- optional string → The name of the connection. Changing this updates the name of the existing connection.
- peer_
cidrs Sequence[str] - optional string → Unique list of valid peer private CIDRs in the form < net_address > / < prefix >.
- peer_
ep_ strgroup_ id - optional string → The ID for the endpoint group that contains private CIDRs in the form < net_address > / < prefix > for the peer side of the connection. You must specify this parameter with the local_ep_group_id parameter unless in backward-compatible mode where peer_cidrs is provided with a subnet_id for the VPN service.
- region str
- optional string → The region in which to obtain the 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. - sdn str
- optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.New since v0.5.3.
- timeouts
Vpnaas
Site Connection Timeouts Args - traffic_
selector_ boolep_ merge - optional boolean → This argument controls whether multiple traffic selection rules for an IPSec site connection should be merged into one rule, or applied independently. When set to "true", this parameter results in single IPsec SA negotiation with multiple IP prefixes, while providing a separate negotiation that results in the multiple IPsec tunnels when set to "false". Note: Available only in sprut SDN. Default value is true.New since v0.7.4.
- vpnaas_
site_ strconnection_ id - string → ID of the resource.
- ikepolicy
Id String - required string → The ID of the IKE policy. Changing this creates a new connection.
- ipsecpolicy
Id String - required string → The ID of the IPsec policy. Changing this creates a new connection.
- peer
Address String - required string → The peer gateway public IPv4 or IPv6 address or FQDN.
- peer
Id String - required 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
- required string → The pre-shared key. A valid value is any string.
- vpnservice
Id String - required string → The ID of the VPN service. Changing this creates a new connection.
- admin
State BooleanUp - optional boolean → 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
- optional string → The human-readable description for the connection. Changing this updates the description of the existing connection.
- dpds List<Property Map>
- optional → A dictionary with dead peer detection (DPD) protocol controls.
- initiator String
- optional string → A valid value is response-only or bi-directional. Default is bi-directional.
- local
Ep StringGroup Id - optional string → 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 where peer_cidrs is provided with a subnet_id for the VPN service. Changing this updates the existing connection.
- local
Id String - optional 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
- optional number → The maximum transmission unit (MTU) value to address fragmentation. Minimum value is 68 for IPv4, and 1280 for IPv6.
- name String
- optional string → The name of the connection. Changing this updates the name of the existing connection.
- peer
Cidrs List<String> - optional string → Unique list of valid peer private CIDRs in the form < net_address > / < prefix >.
- peer
Ep StringGroup Id - optional string → The ID for the endpoint group that contains private CIDRs in the form < net_address > / < prefix > for the peer side of the connection. You must specify this parameter with the local_ep_group_id parameter unless in backward-compatible mode where peer_cidrs is provided with a subnet_id for the VPN service.
- region String
- optional string → The region in which to obtain the 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. - sdn String
- optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.New since v0.5.3.
- timeouts Property Map
- traffic
Selector BooleanEp Merge - optional boolean → This argument controls whether multiple traffic selection rules for an IPSec site connection should be merged into one rule, or applied independently. When set to "true", this parameter results in single IPsec SA negotiation with multiple IP prefixes, while providing a separate negotiation that results in the multiple IPsec tunnels when set to "false". Note: Available only in sprut SDN. Default value is true.New since v0.7.4.
- vpnaas
Site StringConnection Id - string → ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the VpnaasSiteConnection 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 VpnaasSiteConnection Resource
Get an existing VpnaasSiteConnection 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?: VpnaasSiteConnectionState, opts?: CustomResourceOptions): VpnaasSiteConnection
@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[VpnaasSiteConnectionDpdArgs]] = 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,
sdn: Optional[str] = None,
timeouts: Optional[VpnaasSiteConnectionTimeoutsArgs] = None,
traffic_selector_ep_merge: Optional[bool] = None,
vpnaas_site_connection_id: Optional[str] = None,
vpnservice_id: Optional[str] = None) -> VpnaasSiteConnection
func GetVpnaasSiteConnection(ctx *Context, name string, id IDInput, state *VpnaasSiteConnectionState, opts ...ResourceOption) (*VpnaasSiteConnection, error)
public static VpnaasSiteConnection Get(string name, Input<string> id, VpnaasSiteConnectionState? state, CustomResourceOptions? opts = null)
public static VpnaasSiteConnection get(String name, Output<String> id, VpnaasSiteConnectionState state, CustomResourceOptions options)
resources: _: type: vkcs:VpnaasSiteConnection 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 - optional boolean → 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
- optional string → The human-readable description for the connection. Changing this updates the description of the existing connection.
- Dpds
List<Vpnaas
Site Connection Dpd> - optional → A dictionary with dead peer detection (DPD) protocol controls.
- Ikepolicy
Id string - required string → The ID of the IKE policy. Changing this creates a new connection.
- Initiator string
- optional string → A valid value is response-only or bi-directional. Default is bi-directional.
- Ipsecpolicy
Id string - required string → The ID of the IPsec policy. Changing this creates a new connection.
- Local
Ep stringGroup Id - optional string → 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 where peer_cidrs is provided with a subnet_id for the VPN service. Changing this updates the existing connection.
- Local
Id string - optional 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
- optional number → The maximum transmission unit (MTU) value to address fragmentation. Minimum value is 68 for IPv4, and 1280 for IPv6.
- Name string
- optional string → The name of the connection. Changing this updates the name of the existing connection.
- Peer
Address string - required string → The peer gateway public IPv4 or IPv6 address or FQDN.
- Peer
Cidrs List<string> - optional string → Unique list of valid peer private CIDRs in the form < net_address > / < prefix >.
- Peer
Ep stringGroup Id - optional string → The ID for the endpoint group that contains private CIDRs in the form < net_address > / < prefix > for the peer side of the connection. You must specify this parameter with the local_ep_group_id parameter unless in backward-compatible mode where peer_cidrs is provided with a subnet_id for the VPN service.
- Peer
Id string - required 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
- required string → The pre-shared key. A valid value is any string.
- Region string
- optional string → The region in which to obtain the 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. - Sdn string
- optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.New since v0.5.3.
- Timeouts
Vpnaas
Site Connection Timeouts - Traffic
Selector boolEp Merge - optional boolean → This argument controls whether multiple traffic selection rules for an IPSec site connection should be merged into one rule, or applied independently. When set to "true", this parameter results in single IPsec SA negotiation with multiple IP prefixes, while providing a separate negotiation that results in the multiple IPsec tunnels when set to "false". Note: Available only in sprut SDN. Default value is true.New since v0.7.4.
- Vpnaas
Site stringConnection Id - string → ID of the resource.
- Vpnservice
Id string - required string → The ID of the VPN service. Changing this creates a new connection.
- Admin
State boolUp - optional boolean → 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
- optional string → The human-readable description for the connection. Changing this updates the description of the existing connection.
- Dpds
[]Vpnaas
Site Connection Dpd Args - optional → A dictionary with dead peer detection (DPD) protocol controls.
- Ikepolicy
Id string - required string → The ID of the IKE policy. Changing this creates a new connection.
- Initiator string
- optional string → A valid value is response-only or bi-directional. Default is bi-directional.
- Ipsecpolicy
Id string - required string → The ID of the IPsec policy. Changing this creates a new connection.
- Local
Ep stringGroup Id - optional string → 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 where peer_cidrs is provided with a subnet_id for the VPN service. Changing this updates the existing connection.
- Local
Id string - optional 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
- optional number → The maximum transmission unit (MTU) value to address fragmentation. Minimum value is 68 for IPv4, and 1280 for IPv6.
- Name string
- optional string → The name of the connection. Changing this updates the name of the existing connection.
- Peer
Address string - required string → The peer gateway public IPv4 or IPv6 address or FQDN.
- Peer
Cidrs []string - optional string → Unique list of valid peer private CIDRs in the form < net_address > / < prefix >.
- Peer
Ep stringGroup Id - optional string → The ID for the endpoint group that contains private CIDRs in the form < net_address > / < prefix > for the peer side of the connection. You must specify this parameter with the local_ep_group_id parameter unless in backward-compatible mode where peer_cidrs is provided with a subnet_id for the VPN service.
- Peer
Id string - required 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
- required string → The pre-shared key. A valid value is any string.
- Region string
- optional string → The region in which to obtain the 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. - Sdn string
- optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.New since v0.5.3.
- Timeouts
Vpnaas
Site Connection Timeouts Args - Traffic
Selector boolEp Merge - optional boolean → This argument controls whether multiple traffic selection rules for an IPSec site connection should be merged into one rule, or applied independently. When set to "true", this parameter results in single IPsec SA negotiation with multiple IP prefixes, while providing a separate negotiation that results in the multiple IPsec tunnels when set to "false". Note: Available only in sprut SDN. Default value is true.New since v0.7.4.
- Vpnaas
Site stringConnection Id - string → ID of the resource.
- Vpnservice
Id string - required string → The ID of the VPN service. Changing this creates a new connection.
- admin
State BooleanUp - optional boolean → 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
- optional string → The human-readable description for the connection. Changing this updates the description of the existing connection.
- dpds
List<Vpnaas
Site Connection Dpd> - optional → A dictionary with dead peer detection (DPD) protocol controls.
- ikepolicy
Id String - required string → The ID of the IKE policy. Changing this creates a new connection.
- initiator String
- optional string → A valid value is response-only or bi-directional. Default is bi-directional.
- ipsecpolicy
Id String - required string → The ID of the IPsec policy. Changing this creates a new connection.
- local
Ep StringGroup Id - optional string → 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 where peer_cidrs is provided with a subnet_id for the VPN service. Changing this updates the existing connection.
- local
Id String - optional 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
- optional number → The maximum transmission unit (MTU) value to address fragmentation. Minimum value is 68 for IPv4, and 1280 for IPv6.
- name String
- optional string → The name of the connection. Changing this updates the name of the existing connection.
- peer
Address String - required string → The peer gateway public IPv4 or IPv6 address or FQDN.
- peer
Cidrs List<String> - optional string → Unique list of valid peer private CIDRs in the form < net_address > / < prefix >.
- peer
Ep StringGroup Id - optional string → The ID for the endpoint group that contains private CIDRs in the form < net_address > / < prefix > for the peer side of the connection. You must specify this parameter with the local_ep_group_id parameter unless in backward-compatible mode where peer_cidrs is provided with a subnet_id for the VPN service.
- peer
Id String - required 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
- required string → The pre-shared key. A valid value is any string.
- region String
- optional string → The region in which to obtain the 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. - sdn String
- optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.New since v0.5.3.
- timeouts
Vpnaas
Site Connection Timeouts - traffic
Selector BooleanEp Merge - optional boolean → This argument controls whether multiple traffic selection rules for an IPSec site connection should be merged into one rule, or applied independently. When set to "true", this parameter results in single IPsec SA negotiation with multiple IP prefixes, while providing a separate negotiation that results in the multiple IPsec tunnels when set to "false". Note: Available only in sprut SDN. Default value is true.New since v0.7.4.
- vpnaas
Site StringConnection Id - string → ID of the resource.
- vpnservice
Id String - required string → The ID of the VPN service. Changing this creates a new connection.
- admin
State booleanUp - optional boolean → 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
- optional string → The human-readable description for the connection. Changing this updates the description of the existing connection.
- dpds
Vpnaas
Site Connection Dpd[] - optional → A dictionary with dead peer detection (DPD) protocol controls.
- ikepolicy
Id string - required string → The ID of the IKE policy. Changing this creates a new connection.
- initiator string
- optional string → A valid value is response-only or bi-directional. Default is bi-directional.
- ipsecpolicy
Id string - required string → The ID of the IPsec policy. Changing this creates a new connection.
- local
Ep stringGroup Id - optional string → 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 where peer_cidrs is provided with a subnet_id for the VPN service. Changing this updates the existing connection.
- local
Id string - optional 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
- optional number → The maximum transmission unit (MTU) value to address fragmentation. Minimum value is 68 for IPv4, and 1280 for IPv6.
- name string
- optional string → The name of the connection. Changing this updates the name of the existing connection.
- peer
Address string - required string → The peer gateway public IPv4 or IPv6 address or FQDN.
- peer
Cidrs string[] - optional string → Unique list of valid peer private CIDRs in the form < net_address > / < prefix >.
- peer
Ep stringGroup Id - optional string → The ID for the endpoint group that contains private CIDRs in the form < net_address > / < prefix > for the peer side of the connection. You must specify this parameter with the local_ep_group_id parameter unless in backward-compatible mode where peer_cidrs is provided with a subnet_id for the VPN service.
- peer
Id string - required 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
- required string → The pre-shared key. A valid value is any string.
- region string
- optional string → The region in which to obtain the 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. - sdn string
- optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.New since v0.5.3.
- timeouts
Vpnaas
Site Connection Timeouts - traffic
Selector booleanEp Merge - optional boolean → This argument controls whether multiple traffic selection rules for an IPSec site connection should be merged into one rule, or applied independently. When set to "true", this parameter results in single IPsec SA negotiation with multiple IP prefixes, while providing a separate negotiation that results in the multiple IPsec tunnels when set to "false". Note: Available only in sprut SDN. Default value is true.New since v0.7.4.
- vpnaas
Site stringConnection Id - string → ID of the resource.
- vpnservice
Id string - required string → The ID of the VPN service. Changing this creates a new connection.
- admin_
state_ boolup - optional boolean → 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
- optional string → The human-readable description for the connection. Changing this updates the description of the existing connection.
- dpds
Sequence[Vpnaas
Site Connection Dpd Args] - optional → A dictionary with dead peer detection (DPD) protocol controls.
- ikepolicy_
id str - required string → The ID of the IKE policy. Changing this creates a new connection.
- initiator str
- optional string → A valid value is response-only or bi-directional. Default is bi-directional.
- ipsecpolicy_
id str - required string → The ID of the IPsec policy. Changing this creates a new connection.
- local_
ep_ strgroup_ id - optional string → 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 where peer_cidrs is provided with a subnet_id for the VPN service. Changing this updates the existing connection.
- local_
id str - optional 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 float
- optional number → The maximum transmission unit (MTU) value to address fragmentation. Minimum value is 68 for IPv4, and 1280 for IPv6.
- name str
- optional string → The name of the connection. Changing this updates the name of the existing connection.
- peer_
address str - required string → The peer gateway public IPv4 or IPv6 address or FQDN.
- peer_
cidrs Sequence[str] - optional string → Unique list of valid peer private CIDRs in the form < net_address > / < prefix >.
- peer_
ep_ strgroup_ id - optional string → The ID for the endpoint group that contains private CIDRs in the form < net_address > / < prefix > for the peer side of the connection. You must specify this parameter with the local_ep_group_id parameter unless in backward-compatible mode where peer_cidrs is provided with a subnet_id for the VPN service.
- peer_
id str - required 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 str
- required string → The pre-shared key. A valid value is any string.
- region str
- optional string → The region in which to obtain the 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. - sdn str
- optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.New since v0.5.3.
- timeouts
Vpnaas
Site Connection Timeouts Args - traffic_
selector_ boolep_ merge - optional boolean → This argument controls whether multiple traffic selection rules for an IPSec site connection should be merged into one rule, or applied independently. When set to "true", this parameter results in single IPsec SA negotiation with multiple IP prefixes, while providing a separate negotiation that results in the multiple IPsec tunnels when set to "false". Note: Available only in sprut SDN. Default value is true.New since v0.7.4.
- vpnaas_
site_ strconnection_ id - string → ID of the resource.
- vpnservice_
id str - required string → The ID of the VPN service. Changing this creates a new connection.
- admin
State BooleanUp - optional boolean → 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
- optional string → The human-readable description for the connection. Changing this updates the description of the existing connection.
- dpds List<Property Map>
- optional → A dictionary with dead peer detection (DPD) protocol controls.
- ikepolicy
Id String - required string → The ID of the IKE policy. Changing this creates a new connection.
- initiator String
- optional string → A valid value is response-only or bi-directional. Default is bi-directional.
- ipsecpolicy
Id String - required string → The ID of the IPsec policy. Changing this creates a new connection.
- local
Ep StringGroup Id - optional string → 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 where peer_cidrs is provided with a subnet_id for the VPN service. Changing this updates the existing connection.
- local
Id String - optional 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
- optional number → The maximum transmission unit (MTU) value to address fragmentation. Minimum value is 68 for IPv4, and 1280 for IPv6.
- name String
- optional string → The name of the connection. Changing this updates the name of the existing connection.
- peer
Address String - required string → The peer gateway public IPv4 or IPv6 address or FQDN.
- peer
Cidrs List<String> - optional string → Unique list of valid peer private CIDRs in the form < net_address > / < prefix >.
- peer
Ep StringGroup Id - optional string → The ID for the endpoint group that contains private CIDRs in the form < net_address > / < prefix > for the peer side of the connection. You must specify this parameter with the local_ep_group_id parameter unless in backward-compatible mode where peer_cidrs is provided with a subnet_id for the VPN service.
- peer
Id String - required 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
- required string → The pre-shared key. A valid value is any string.
- region String
- optional string → The region in which to obtain the 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. - sdn String
- optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.New since v0.5.3.
- timeouts Property Map
- traffic
Selector BooleanEp Merge - optional boolean → This argument controls whether multiple traffic selection rules for an IPSec site connection should be merged into one rule, or applied independently. When set to "true", this parameter results in single IPsec SA negotiation with multiple IP prefixes, while providing a separate negotiation that results in the multiple IPsec tunnels when set to "false". Note: Available only in sprut SDN. Default value is true.New since v0.7.4.
- vpnaas
Site StringConnection Id - string → ID of the resource.
- vpnservice
Id String - required string → The ID of the VPN service. Changing this creates a new connection.
Supporting Types
VpnaasSiteConnectionDpd, VpnaasSiteConnectionDpdArgs
- Action string
- optional string → The dead peer detection (DPD) action. A valid value is clear, hold, restart, disabled, or restart-by-peer. Default value is hold.
- Interval double
- optional number → The dead peer detection (DPD) interval, in seconds. A valid value is a positive integer. Default is 30.
- Timeout double
- optional 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 string
- optional string → The dead peer detection (DPD) action. A valid value is clear, hold, restart, disabled, or restart-by-peer. Default value is hold.
- Interval float64
- optional number → The dead peer detection (DPD) interval, in seconds. A valid value is a positive integer. Default is 30.
- Timeout float64
- optional 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 String
- optional string → The dead peer detection (DPD) action. A valid value is clear, hold, restart, disabled, or restart-by-peer. Default value is hold.
- interval Double
- optional number → The dead peer detection (DPD) interval, in seconds. A valid value is a positive integer. Default is 30.
- timeout Double
- optional 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 string
- optional string → The dead peer detection (DPD) action. A valid value is clear, hold, restart, disabled, or restart-by-peer. Default value is hold.
- interval number
- optional number → The dead peer detection (DPD) interval, in seconds. A valid value is a positive integer. Default is 30.
- timeout number
- optional 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
- optional string → The dead peer detection (DPD) action. A valid value is clear, hold, restart, disabled, or restart-by-peer. Default value is hold.
- interval float
- optional number → The dead peer detection (DPD) interval, in seconds. A valid value is a positive integer. Default is 30.
- timeout float
- optional 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 String
- optional string → The dead peer detection (DPD) action. A valid value is clear, hold, restart, disabled, or restart-by-peer. Default value is hold.
- interval Number
- optional number → The dead peer detection (DPD) interval, in seconds. A valid value is a positive integer. Default is 30.
- timeout Number
- optional 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.
VpnaasSiteConnectionTimeouts, VpnaasSiteConnectionTimeoutsArgs
Import
Services can be imported using the id
, e.g.
$ pulumi import vkcs:index/vpnaasSiteConnection:VpnaasSiteConnection conn_1 832cb7f3-59fe-40cf-8f64-8350ffc03272
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- vkcs vk-cs/terraform-provider-vkcs
- License
- Notes
- This Pulumi package is based on the
vkcs
Terraform Provider.