1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. VpnaasServiceV2
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

opentelekomcloud.VpnaasServiceV2

Explore with Pulumi AI

Up-to-date reference of API arguments for VPNAAS service you can get at documentation portal

Manages a V2 VPN service resource within OpenTelekomCloud.

~> Resource is deprecated for eu-de region, use enterprise vpn solution instead

Example Usage

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

const service1 = new opentelekomcloud.VpnaasServiceV2("service1", {
    adminStateUp: true,
    routerId: "14a75700-fc03-4602-9294-26ee44f366b3",
});
Copy
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud

service1 = opentelekomcloud.VpnaasServiceV2("service1",
    admin_state_up=True,
    router_id="14a75700-fc03-4602-9294-26ee44f366b3")
Copy
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.NewVpnaasServiceV2(ctx, "service1", &opentelekomcloud.VpnaasServiceV2Args{
			AdminStateUp: pulumi.Bool(true),
			RouterId:     pulumi.String("14a75700-fc03-4602-9294-26ee44f366b3"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;

return await Deployment.RunAsync(() => 
{
    var service1 = new Opentelekomcloud.VpnaasServiceV2("service1", new()
    {
        AdminStateUp = true,
        RouterId = "14a75700-fc03-4602-9294-26ee44f366b3",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.VpnaasServiceV2;
import com.pulumi.opentelekomcloud.VpnaasServiceV2Args;
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 service1 = new VpnaasServiceV2("service1", VpnaasServiceV2Args.builder()
            .adminStateUp("true")
            .routerId("14a75700-fc03-4602-9294-26ee44f366b3")
            .build());

    }
}
Copy
resources:
  service1:
    type: opentelekomcloud:VpnaasServiceV2
    properties:
      adminStateUp: 'true'
      routerId: 14a75700-fc03-4602-9294-26ee44f366b3
Copy

Create VpnaasServiceV2 Resource

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

Constructor syntax

new VpnaasServiceV2(name: string, args: VpnaasServiceV2Args, opts?: CustomResourceOptions);
@overload
def VpnaasServiceV2(resource_name: str,
                    args: VpnaasServiceV2Args,
                    opts: Optional[ResourceOptions] = None)

@overload
def VpnaasServiceV2(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    router_id: Optional[str] = None,
                    admin_state_up: Optional[bool] = None,
                    description: Optional[str] = None,
                    name: Optional[str] = None,
                    region: Optional[str] = None,
                    subnet_id: Optional[str] = None,
                    tenant_id: Optional[str] = None,
                    timeouts: Optional[VpnaasServiceV2TimeoutsArgs] = None,
                    value_specs: Optional[Mapping[str, str]] = None,
                    vpnaas_service_v2_id: Optional[str] = None)
func NewVpnaasServiceV2(ctx *Context, name string, args VpnaasServiceV2Args, opts ...ResourceOption) (*VpnaasServiceV2, error)
public VpnaasServiceV2(string name, VpnaasServiceV2Args args, CustomResourceOptions? opts = null)
public VpnaasServiceV2(String name, VpnaasServiceV2Args args)
public VpnaasServiceV2(String name, VpnaasServiceV2Args args, CustomResourceOptions options)
type: opentelekomcloud:VpnaasServiceV2
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. VpnaasServiceV2Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. VpnaasServiceV2Args
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. VpnaasServiceV2Args
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. VpnaasServiceV2Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. VpnaasServiceV2Args
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 vpnaasServiceV2Resource = new Opentelekomcloud.VpnaasServiceV2("vpnaasServiceV2Resource", new()
{
    RouterId = "string",
    AdminStateUp = false,
    Description = "string",
    Name = "string",
    Region = "string",
    SubnetId = "string",
    TenantId = "string",
    Timeouts = new Opentelekomcloud.Inputs.VpnaasServiceV2TimeoutsArgs
    {
        Create = "string",
        Delete = "string",
        Update = "string",
    },
    ValueSpecs = 
    {
        { "string", "string" },
    },
    VpnaasServiceV2Id = "string",
});
Copy
example, err := opentelekomcloud.NewVpnaasServiceV2(ctx, "vpnaasServiceV2Resource", &opentelekomcloud.VpnaasServiceV2Args{
	RouterId:     pulumi.String("string"),
	AdminStateUp: pulumi.Bool(false),
	Description:  pulumi.String("string"),
	Name:         pulumi.String("string"),
	Region:       pulumi.String("string"),
	SubnetId:     pulumi.String("string"),
	TenantId:     pulumi.String("string"),
	Timeouts: &opentelekomcloud.VpnaasServiceV2TimeoutsArgs{
		Create: pulumi.String("string"),
		Delete: pulumi.String("string"),
		Update: pulumi.String("string"),
	},
	ValueSpecs: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	VpnaasServiceV2Id: pulumi.String("string"),
})
Copy
var vpnaasServiceV2Resource = new VpnaasServiceV2("vpnaasServiceV2Resource", VpnaasServiceV2Args.builder()
    .routerId("string")
    .adminStateUp(false)
    .description("string")
    .name("string")
    .region("string")
    .subnetId("string")
    .tenantId("string")
    .timeouts(VpnaasServiceV2TimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .update("string")
        .build())
    .valueSpecs(Map.of("string", "string"))
    .vpnaasServiceV2Id("string")
    .build());
Copy
vpnaas_service_v2_resource = opentelekomcloud.VpnaasServiceV2("vpnaasServiceV2Resource",
    router_id="string",
    admin_state_up=False,
    description="string",
    name="string",
    region="string",
    subnet_id="string",
    tenant_id="string",
    timeouts={
        "create": "string",
        "delete": "string",
        "update": "string",
    },
    value_specs={
        "string": "string",
    },
    vpnaas_service_v2_id="string")
Copy
const vpnaasServiceV2Resource = new opentelekomcloud.VpnaasServiceV2("vpnaasServiceV2Resource", {
    routerId: "string",
    adminStateUp: false,
    description: "string",
    name: "string",
    region: "string",
    subnetId: "string",
    tenantId: "string",
    timeouts: {
        create: "string",
        "delete": "string",
        update: "string",
    },
    valueSpecs: {
        string: "string",
    },
    vpnaasServiceV2Id: "string",
});
Copy
type: opentelekomcloud:VpnaasServiceV2
properties:
    adminStateUp: false
    description: string
    name: string
    region: string
    routerId: string
    subnetId: string
    tenantId: string
    timeouts:
        create: string
        delete: string
        update: string
    valueSpecs:
        string: string
    vpnaasServiceV2Id: string
Copy

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

RouterId This property is required. string
The ID of the router. Changing this creates a new service.
AdminStateUp bool
The administrative state of the resource. Can either be true (Up) or false (Down). Changing this updates the administrative state of the existing service.
Description string
The human-readable description for the service. Changing this updates the description of the existing service.
Name string
The name of the service. Changing this updates the name of the existing service.
Region string
The region in which to obtain the V2 Networking client. A Networking client is needed to create a VPN service. If omitted, the region argument of the provider is used. Changing this creates a new service.
SubnetId string
SubnetID is the ID of the subnet. Default is null.
TenantId string
The owner of the service. Required if admin wants to create a service for another project. Changing this creates a new service.
Timeouts VpnaasServiceV2Timeouts
ValueSpecs Dictionary<string, string>
Map of additional options.
VpnaasServiceV2Id string
RouterId This property is required. string
The ID of the router. Changing this creates a new service.
AdminStateUp bool
The administrative state of the resource. Can either be true (Up) or false (Down). Changing this updates the administrative state of the existing service.
Description string
The human-readable description for the service. Changing this updates the description of the existing service.
Name string
The name of the service. Changing this updates the name of the existing service.
Region string
The region in which to obtain the V2 Networking client. A Networking client is needed to create a VPN service. If omitted, the region argument of the provider is used. Changing this creates a new service.
SubnetId string
SubnetID is the ID of the subnet. Default is null.
TenantId string
The owner of the service. Required if admin wants to create a service for another project. Changing this creates a new service.
Timeouts VpnaasServiceV2TimeoutsArgs
ValueSpecs map[string]string
Map of additional options.
VpnaasServiceV2Id string
routerId This property is required. String
The ID of the router. Changing this creates a new service.
adminStateUp Boolean
The administrative state of the resource. Can either be true (Up) or false (Down). Changing this updates the administrative state of the existing service.
description String
The human-readable description for the service. Changing this updates the description of the existing service.
name String
The name of the service. Changing this updates the name of the existing service.
region String
The region in which to obtain the V2 Networking client. A Networking client is needed to create a VPN service. If omitted, the region argument of the provider is used. Changing this creates a new service.
subnetId String
SubnetID is the ID of the subnet. Default is null.
tenantId String
The owner of the service. Required if admin wants to create a service for another project. Changing this creates a new service.
timeouts VpnaasServiceV2Timeouts
valueSpecs Map<String,String>
Map of additional options.
vpnaasServiceV2Id String
routerId This property is required. string
The ID of the router. Changing this creates a new service.
adminStateUp boolean
The administrative state of the resource. Can either be true (Up) or false (Down). Changing this updates the administrative state of the existing service.
description string
The human-readable description for the service. Changing this updates the description of the existing service.
name string
The name of the service. Changing this updates the name of the existing service.
region string
The region in which to obtain the V2 Networking client. A Networking client is needed to create a VPN service. If omitted, the region argument of the provider is used. Changing this creates a new service.
subnetId string
SubnetID is the ID of the subnet. Default is null.
tenantId string
The owner of the service. Required if admin wants to create a service for another project. Changing this creates a new service.
timeouts VpnaasServiceV2Timeouts
valueSpecs {[key: string]: string}
Map of additional options.
vpnaasServiceV2Id string
router_id This property is required. str
The ID of the router. Changing this creates a new service.
admin_state_up bool
The administrative state of the resource. Can either be true (Up) or false (Down). Changing this updates the administrative state of the existing service.
description str
The human-readable description for the service. Changing this updates the description of the existing service.
name str
The name of the service. Changing this updates the name of the existing service.
region str
The region in which to obtain the V2 Networking client. A Networking client is needed to create a VPN service. If omitted, the region argument of the provider is used. Changing this creates a new service.
subnet_id str
SubnetID is the ID of the subnet. Default is null.
tenant_id str
The owner of the service. Required if admin wants to create a service for another project. Changing this creates a new service.
timeouts VpnaasServiceV2TimeoutsArgs
value_specs Mapping[str, str]
Map of additional options.
vpnaas_service_v2_id str
routerId This property is required. String
The ID of the router. Changing this creates a new service.
adminStateUp Boolean
The administrative state of the resource. Can either be true (Up) or false (Down). Changing this updates the administrative state of the existing service.
description String
The human-readable description for the service. Changing this updates the description of the existing service.
name String
The name of the service. Changing this updates the name of the existing service.
region String
The region in which to obtain the V2 Networking client. A Networking client is needed to create a VPN service. If omitted, the region argument of the provider is used. Changing this creates a new service.
subnetId String
SubnetID is the ID of the subnet. Default is null.
tenantId String
The owner of the service. Required if admin wants to create a service for another project. Changing this creates a new service.
timeouts Property Map
valueSpecs Map<String>
Map of additional options.
vpnaasServiceV2Id String

Outputs

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

ExternalV4Ip string
The read-only external (public) IPv4 address that is used for the VPN service.
ExternalV6Ip string
The read-only external (public) IPv6 address that is used for the VPN service.
Id string
The provider-assigned unique ID for this managed resource.
Status string
Indicates whether IPsec VPN service is currently operational. Values are ACTIVE, DOWN, BUILD, ERROR, PENDING_CREATE, PENDING_UPDATE or PENDING_DELETE.
ExternalV4Ip string
The read-only external (public) IPv4 address that is used for the VPN service.
ExternalV6Ip string
The read-only external (public) IPv6 address that is used for the VPN service.
Id string
The provider-assigned unique ID for this managed resource.
Status string
Indicates whether IPsec VPN service is currently operational. Values are ACTIVE, DOWN, BUILD, ERROR, PENDING_CREATE, PENDING_UPDATE or PENDING_DELETE.
externalV4Ip String
The read-only external (public) IPv4 address that is used for the VPN service.
externalV6Ip String
The read-only external (public) IPv6 address that is used for the VPN service.
id String
The provider-assigned unique ID for this managed resource.
status String
Indicates whether IPsec VPN service is currently operational. Values are ACTIVE, DOWN, BUILD, ERROR, PENDING_CREATE, PENDING_UPDATE or PENDING_DELETE.
externalV4Ip string
The read-only external (public) IPv4 address that is used for the VPN service.
externalV6Ip string
The read-only external (public) IPv6 address that is used for the VPN service.
id string
The provider-assigned unique ID for this managed resource.
status string
Indicates whether IPsec VPN service is currently operational. Values are ACTIVE, DOWN, BUILD, ERROR, PENDING_CREATE, PENDING_UPDATE or PENDING_DELETE.
external_v4_ip str
The read-only external (public) IPv4 address that is used for the VPN service.
external_v6_ip str
The read-only external (public) IPv6 address that is used for the VPN service.
id str
The provider-assigned unique ID for this managed resource.
status str
Indicates whether IPsec VPN service is currently operational. Values are ACTIVE, DOWN, BUILD, ERROR, PENDING_CREATE, PENDING_UPDATE or PENDING_DELETE.
externalV4Ip String
The read-only external (public) IPv4 address that is used for the VPN service.
externalV6Ip String
The read-only external (public) IPv6 address that is used for the VPN service.
id String
The provider-assigned unique ID for this managed resource.
status String
Indicates whether IPsec VPN service is currently operational. Values are ACTIVE, DOWN, BUILD, ERROR, PENDING_CREATE, PENDING_UPDATE or PENDING_DELETE.

Look up Existing VpnaasServiceV2 Resource

Get an existing VpnaasServiceV2 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?: VpnaasServiceV2State, opts?: CustomResourceOptions): VpnaasServiceV2
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        admin_state_up: Optional[bool] = None,
        description: Optional[str] = None,
        external_v4_ip: Optional[str] = None,
        external_v6_ip: Optional[str] = None,
        name: Optional[str] = None,
        region: Optional[str] = None,
        router_id: Optional[str] = None,
        status: Optional[str] = None,
        subnet_id: Optional[str] = None,
        tenant_id: Optional[str] = None,
        timeouts: Optional[VpnaasServiceV2TimeoutsArgs] = None,
        value_specs: Optional[Mapping[str, str]] = None,
        vpnaas_service_v2_id: Optional[str] = None) -> VpnaasServiceV2
func GetVpnaasServiceV2(ctx *Context, name string, id IDInput, state *VpnaasServiceV2State, opts ...ResourceOption) (*VpnaasServiceV2, error)
public static VpnaasServiceV2 Get(string name, Input<string> id, VpnaasServiceV2State? state, CustomResourceOptions? opts = null)
public static VpnaasServiceV2 get(String name, Output<String> id, VpnaasServiceV2State state, CustomResourceOptions options)
resources:  _:    type: opentelekomcloud:VpnaasServiceV2    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AdminStateUp bool
The administrative state of the resource. Can either be true (Up) or false (Down). Changing this updates the administrative state of the existing service.
Description string
The human-readable description for the service. Changing this updates the description of the existing service.
ExternalV4Ip string
The read-only external (public) IPv4 address that is used for the VPN service.
ExternalV6Ip string
The read-only external (public) IPv6 address that is used for the VPN service.
Name string
The name of the service. Changing this updates the name of the existing service.
Region string
The region in which to obtain the V2 Networking client. A Networking client is needed to create a VPN service. If omitted, the region argument of the provider is used. Changing this creates a new service.
RouterId string
The ID of the router. Changing this creates a new service.
Status string
Indicates whether IPsec VPN service is currently operational. Values are ACTIVE, DOWN, BUILD, ERROR, PENDING_CREATE, PENDING_UPDATE or PENDING_DELETE.
SubnetId string
SubnetID is the ID of the subnet. Default is null.
TenantId string
The owner of the service. Required if admin wants to create a service for another project. Changing this creates a new service.
Timeouts VpnaasServiceV2Timeouts
ValueSpecs Dictionary<string, string>
Map of additional options.
VpnaasServiceV2Id string
AdminStateUp bool
The administrative state of the resource. Can either be true (Up) or false (Down). Changing this updates the administrative state of the existing service.
Description string
The human-readable description for the service. Changing this updates the description of the existing service.
ExternalV4Ip string
The read-only external (public) IPv4 address that is used for the VPN service.
ExternalV6Ip string
The read-only external (public) IPv6 address that is used for the VPN service.
Name string
The name of the service. Changing this updates the name of the existing service.
Region string
The region in which to obtain the V2 Networking client. A Networking client is needed to create a VPN service. If omitted, the region argument of the provider is used. Changing this creates a new service.
RouterId string
The ID of the router. Changing this creates a new service.
Status string
Indicates whether IPsec VPN service is currently operational. Values are ACTIVE, DOWN, BUILD, ERROR, PENDING_CREATE, PENDING_UPDATE or PENDING_DELETE.
SubnetId string
SubnetID is the ID of the subnet. Default is null.
TenantId string
The owner of the service. Required if admin wants to create a service for another project. Changing this creates a new service.
Timeouts VpnaasServiceV2TimeoutsArgs
ValueSpecs map[string]string
Map of additional options.
VpnaasServiceV2Id string
adminStateUp Boolean
The administrative state of the resource. Can either be true (Up) or false (Down). Changing this updates the administrative state of the existing service.
description String
The human-readable description for the service. Changing this updates the description of the existing service.
externalV4Ip String
The read-only external (public) IPv4 address that is used for the VPN service.
externalV6Ip String
The read-only external (public) IPv6 address that is used for the VPN service.
name String
The name of the service. Changing this updates the name of the existing service.
region String
The region in which to obtain the V2 Networking client. A Networking client is needed to create a VPN service. If omitted, the region argument of the provider is used. Changing this creates a new service.
routerId String
The ID of the router. Changing this creates a new service.
status String
Indicates whether IPsec VPN service is currently operational. Values are ACTIVE, DOWN, BUILD, ERROR, PENDING_CREATE, PENDING_UPDATE or PENDING_DELETE.
subnetId String
SubnetID is the ID of the subnet. Default is null.
tenantId String
The owner of the service. Required if admin wants to create a service for another project. Changing this creates a new service.
timeouts VpnaasServiceV2Timeouts
valueSpecs Map<String,String>
Map of additional options.
vpnaasServiceV2Id String
adminStateUp boolean
The administrative state of the resource. Can either be true (Up) or false (Down). Changing this updates the administrative state of the existing service.
description string
The human-readable description for the service. Changing this updates the description of the existing service.
externalV4Ip string
The read-only external (public) IPv4 address that is used for the VPN service.
externalV6Ip string
The read-only external (public) IPv6 address that is used for the VPN service.
name string
The name of the service. Changing this updates the name of the existing service.
region string
The region in which to obtain the V2 Networking client. A Networking client is needed to create a VPN service. If omitted, the region argument of the provider is used. Changing this creates a new service.
routerId string
The ID of the router. Changing this creates a new service.
status string
Indicates whether IPsec VPN service is currently operational. Values are ACTIVE, DOWN, BUILD, ERROR, PENDING_CREATE, PENDING_UPDATE or PENDING_DELETE.
subnetId string
SubnetID is the ID of the subnet. Default is null.
tenantId string
The owner of the service. Required if admin wants to create a service for another project. Changing this creates a new service.
timeouts VpnaasServiceV2Timeouts
valueSpecs {[key: string]: string}
Map of additional options.
vpnaasServiceV2Id string
admin_state_up bool
The administrative state of the resource. Can either be true (Up) or false (Down). Changing this updates the administrative state of the existing service.
description str
The human-readable description for the service. Changing this updates the description of the existing service.
external_v4_ip str
The read-only external (public) IPv4 address that is used for the VPN service.
external_v6_ip str
The read-only external (public) IPv6 address that is used for the VPN service.
name str
The name of the service. Changing this updates the name of the existing service.
region str
The region in which to obtain the V2 Networking client. A Networking client is needed to create a VPN service. If omitted, the region argument of the provider is used. Changing this creates a new service.
router_id str
The ID of the router. Changing this creates a new service.
status str
Indicates whether IPsec VPN service is currently operational. Values are ACTIVE, DOWN, BUILD, ERROR, PENDING_CREATE, PENDING_UPDATE or PENDING_DELETE.
subnet_id str
SubnetID is the ID of the subnet. Default is null.
tenant_id str
The owner of the service. Required if admin wants to create a service for another project. Changing this creates a new service.
timeouts VpnaasServiceV2TimeoutsArgs
value_specs Mapping[str, str]
Map of additional options.
vpnaas_service_v2_id str
adminStateUp Boolean
The administrative state of the resource. Can either be true (Up) or false (Down). Changing this updates the administrative state of the existing service.
description String
The human-readable description for the service. Changing this updates the description of the existing service.
externalV4Ip String
The read-only external (public) IPv4 address that is used for the VPN service.
externalV6Ip String
The read-only external (public) IPv6 address that is used for the VPN service.
name String
The name of the service. Changing this updates the name of the existing service.
region String
The region in which to obtain the V2 Networking client. A Networking client is needed to create a VPN service. If omitted, the region argument of the provider is used. Changing this creates a new service.
routerId String
The ID of the router. Changing this creates a new service.
status String
Indicates whether IPsec VPN service is currently operational. Values are ACTIVE, DOWN, BUILD, ERROR, PENDING_CREATE, PENDING_UPDATE or PENDING_DELETE.
subnetId String
SubnetID is the ID of the subnet. Default is null.
tenantId String
The owner of the service. Required if admin wants to create a service for another project. Changing this creates a new service.
timeouts Property Map
valueSpecs Map<String>
Map of additional options.
vpnaasServiceV2Id String

Supporting Types

VpnaasServiceV2Timeouts
, VpnaasServiceV2TimeoutsArgs

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

Import

Services can be imported using the id, e.g.

$ pulumi import opentelekomcloud:index/vpnaasServiceV2:VpnaasServiceV2 service_1 832cb7f3-59fe-40cf-8f64-8350ffc03272
Copy

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.