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",
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
service1 = opentelekomcloud.VpnaasServiceV2("service1",
admin_state_up=True,
router_id="14a75700-fc03-4602-9294-26ee44f366b3")
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
})
}
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",
});
});
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());
}
}
resources:
service1:
type: opentelekomcloud:VpnaasServiceV2
properties:
adminStateUp: 'true'
routerId: 14a75700-fc03-4602-9294-26ee44f366b3
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 string
- The unique name of the resource.
- args VpnaasServiceV2Args
- 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 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 string
- The unique name of the resource.
- args VpnaasServiceV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VpnaasServiceV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
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"),
})
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());
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")
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",
});
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
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:
- Router
Id string - The ID of the router. Changing this creates a new service.
- Admin
State boolUp - 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. - Subnet
Id string - SubnetID is the ID of the subnet. Default is
null
. - Tenant
Id string - The owner of the service. Required if admin wants to create a service for another project. Changing this creates a new service.
- Timeouts
Vpnaas
Service V2Timeouts - Value
Specs Dictionary<string, string> - Map of additional options.
- Vpnaas
Service stringV2Id
- Router
Id string - The ID of the router. Changing this creates a new service.
- Admin
State boolUp - 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. - Subnet
Id string - SubnetID is the ID of the subnet. Default is
null
. - Tenant
Id string - The owner of the service. Required if admin wants to create a service for another project. Changing this creates a new service.
- Timeouts
Vpnaas
Service V2Timeouts Args - Value
Specs map[string]string - Map of additional options.
- Vpnaas
Service stringV2Id
- router
Id String - The ID of the router. Changing this creates a new service.
- admin
State BooleanUp - 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. - subnet
Id String - SubnetID is the ID of the subnet. Default is
null
. - tenant
Id String - The owner of the service. Required if admin wants to create a service for another project. Changing this creates a new service.
- timeouts
Vpnaas
Service V2Timeouts - value
Specs Map<String,String> - Map of additional options.
- vpnaas
Service StringV2Id
- router
Id string - The ID of the router. Changing this creates a new service.
- admin
State booleanUp - 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. - subnet
Id string - SubnetID is the ID of the subnet. Default is
null
. - tenant
Id string - The owner of the service. Required if admin wants to create a service for another project. Changing this creates a new service.
- timeouts
Vpnaas
Service V2Timeouts - value
Specs {[key: string]: string} - Map of additional options.
- vpnaas
Service stringV2Id
- router_
id str - The ID of the router. Changing this creates a new service.
- admin_
state_ boolup - 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
Vpnaas
Service V2Timeouts Args - value_
specs Mapping[str, str] - Map of additional options.
- vpnaas_
service_ strv2_ id
- router
Id String - The ID of the router. Changing this creates a new service.
- admin
State BooleanUp - 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. - subnet
Id String - SubnetID is the ID of the subnet. Default is
null
. - tenant
Id 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
- value
Specs Map<String> - Map of additional options.
- vpnaas
Service StringV2Id
Outputs
All input properties are implicitly available as output properties. Additionally, the VpnaasServiceV2 resource produces the following output properties:
- External
V4Ip string - The read-only external (public) IPv4 address that is used for the VPN service.
- External
V6Ip 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
orPENDING_DELETE
.
- External
V4Ip string - The read-only external (public) IPv4 address that is used for the VPN service.
- External
V6Ip 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
orPENDING_DELETE
.
- external
V4Ip String - The read-only external (public) IPv4 address that is used for the VPN service.
- external
V6Ip 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
orPENDING_DELETE
.
- external
V4Ip string - The read-only external (public) IPv4 address that is used for the VPN service.
- external
V6Ip 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
orPENDING_DELETE
.
- external_
v4_ strip - The read-only external (public) IPv4 address that is used for the VPN service.
- external_
v6_ strip - 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
orPENDING_DELETE
.
- external
V4Ip String - The read-only external (public) IPv4 address that is used for the VPN service.
- external
V6Ip 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
orPENDING_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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Admin
State boolUp - The administrative state of the resource. Can either be 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.
- External
V4Ip string - The read-only external (public) IPv4 address that is used for the VPN service.
- External
V6Ip 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. - Router
Id 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
orPENDING_DELETE
. - Subnet
Id string - SubnetID is the ID of the subnet. Default is
null
. - Tenant
Id string - The owner of the service. Required if admin wants to create a service for another project. Changing this creates a new service.
- Timeouts
Vpnaas
Service V2Timeouts - Value
Specs Dictionary<string, string> - Map of additional options.
- Vpnaas
Service stringV2Id
- Admin
State boolUp - 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.
- External
V4Ip string - The read-only external (public) IPv4 address that is used for the VPN service.
- External
V6Ip 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. - Router
Id 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
orPENDING_DELETE
. - Subnet
Id string - SubnetID is the ID of the subnet. Default is
null
. - Tenant
Id string - The owner of the service. Required if admin wants to create a service for another project. Changing this creates a new service.
- Timeouts
Vpnaas
Service V2Timeouts Args - Value
Specs map[string]string - Map of additional options.
- Vpnaas
Service stringV2Id
- admin
State BooleanUp - 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.
- external
V4Ip String - The read-only external (public) IPv4 address that is used for the VPN service.
- external
V6Ip 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. - router
Id 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
orPENDING_DELETE
. - subnet
Id String - SubnetID is the ID of the subnet. Default is
null
. - tenant
Id String - The owner of the service. Required if admin wants to create a service for another project. Changing this creates a new service.
- timeouts
Vpnaas
Service V2Timeouts - value
Specs Map<String,String> - Map of additional options.
- vpnaas
Service StringV2Id
- admin
State booleanUp - 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.
- external
V4Ip string - The read-only external (public) IPv4 address that is used for the VPN service.
- external
V6Ip 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. - router
Id 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
orPENDING_DELETE
. - subnet
Id string - SubnetID is the ID of the subnet. Default is
null
. - tenant
Id string - The owner of the service. Required if admin wants to create a service for another project. Changing this creates a new service.
- timeouts
Vpnaas
Service V2Timeouts - value
Specs {[key: string]: string} - Map of additional options.
- vpnaas
Service stringV2Id
- admin_
state_ boolup - 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_ strip - The read-only external (public) IPv4 address that is used for the VPN service.
- external_
v6_ strip - 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
orPENDING_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
Vpnaas
Service V2Timeouts Args - value_
specs Mapping[str, str] - Map of additional options.
- vpnaas_
service_ strv2_ id
- admin
State BooleanUp - 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.
- external
V4Ip String - The read-only external (public) IPv4 address that is used for the VPN service.
- external
V6Ip 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. - router
Id 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
orPENDING_DELETE
. - subnet
Id String - SubnetID is the ID of the subnet. Default is
null
. - tenant
Id 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
- value
Specs Map<String> - Map of additional options.
- vpnaas
Service StringV2Id
Supporting Types
VpnaasServiceV2Timeouts, VpnaasServiceV2TimeoutsArgs
Import
Services can be imported using the id
, e.g.
$ pulumi import opentelekomcloud:index/vpnaasServiceV2:VpnaasServiceV2 service_1 832cb7f3-59fe-40cf-8f64-8350ffc03272
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.