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

opentelekomcloud.VpnaasIkePolicyV2

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

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

    Manages a V2 IKE policy 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 policy1 = new opentelekomcloud.VpnaasIkePolicyV2("policy1", {});
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    policy1 = opentelekomcloud.VpnaasIkePolicyV2("policy1")
    
    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.NewVpnaasIkePolicyV2(ctx, "policy1", nil)
    		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 policy1 = new Opentelekomcloud.VpnaasIkePolicyV2("policy1");
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.VpnaasIkePolicyV2;
    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 policy1 = new VpnaasIkePolicyV2("policy1");
    
        }
    }
    
    resources:
      policy1:
        type: opentelekomcloud:VpnaasIkePolicyV2
    

    Create VpnaasIkePolicyV2 Resource

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

    Constructor syntax

    new VpnaasIkePolicyV2(name: string, args?: VpnaasIkePolicyV2Args, opts?: CustomResourceOptions);
    @overload
    def VpnaasIkePolicyV2(resource_name: str,
                          args: Optional[VpnaasIkePolicyV2Args] = None,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def VpnaasIkePolicyV2(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          auth_algorithm: Optional[str] = None,
                          description: Optional[str] = None,
                          encryption_algorithm: Optional[str] = None,
                          ike_version: Optional[str] = None,
                          lifetimes: Optional[Sequence[VpnaasIkePolicyV2LifetimeArgs]] = None,
                          name: Optional[str] = None,
                          pfs: Optional[str] = None,
                          phase1_negotiation_mode: Optional[str] = None,
                          region: Optional[str] = None,
                          tenant_id: Optional[str] = None,
                          timeouts: Optional[VpnaasIkePolicyV2TimeoutsArgs] = None,
                          value_specs: Optional[Mapping[str, str]] = None,
                          vpnaas_ike_policy_v2_id: Optional[str] = None)
    func NewVpnaasIkePolicyV2(ctx *Context, name string, args *VpnaasIkePolicyV2Args, opts ...ResourceOption) (*VpnaasIkePolicyV2, error)
    public VpnaasIkePolicyV2(string name, VpnaasIkePolicyV2Args? args = null, CustomResourceOptions? opts = null)
    public VpnaasIkePolicyV2(String name, VpnaasIkePolicyV2Args args)
    public VpnaasIkePolicyV2(String name, VpnaasIkePolicyV2Args args, CustomResourceOptions options)
    
    type: opentelekomcloud:VpnaasIkePolicyV2
    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 VpnaasIkePolicyV2Args
    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 VpnaasIkePolicyV2Args
    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 VpnaasIkePolicyV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VpnaasIkePolicyV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VpnaasIkePolicyV2Args
    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 vpnaasIkePolicyV2Resource = new Opentelekomcloud.VpnaasIkePolicyV2("vpnaasIkePolicyV2Resource", new()
    {
        AuthAlgorithm = "string",
        Description = "string",
        EncryptionAlgorithm = "string",
        IkeVersion = "string",
        Lifetimes = new[]
        {
            new Opentelekomcloud.Inputs.VpnaasIkePolicyV2LifetimeArgs
            {
                Units = "string",
                Value = 0,
            },
        },
        Name = "string",
        Pfs = "string",
        Phase1NegotiationMode = "string",
        Region = "string",
        TenantId = "string",
        Timeouts = new Opentelekomcloud.Inputs.VpnaasIkePolicyV2TimeoutsArgs
        {
            Create = "string",
        },
        ValueSpecs = 
        {
            { "string", "string" },
        },
        VpnaasIkePolicyV2Id = "string",
    });
    
    example, err := opentelekomcloud.NewVpnaasIkePolicyV2(ctx, "vpnaasIkePolicyV2Resource", &opentelekomcloud.VpnaasIkePolicyV2Args{
    	AuthAlgorithm:       pulumi.String("string"),
    	Description:         pulumi.String("string"),
    	EncryptionAlgorithm: pulumi.String("string"),
    	IkeVersion:          pulumi.String("string"),
    	Lifetimes: opentelekomcloud.VpnaasIkePolicyV2LifetimeArray{
    		&opentelekomcloud.VpnaasIkePolicyV2LifetimeArgs{
    			Units: pulumi.String("string"),
    			Value: pulumi.Float64(0),
    		},
    	},
    	Name:                  pulumi.String("string"),
    	Pfs:                   pulumi.String("string"),
    	Phase1NegotiationMode: pulumi.String("string"),
    	Region:                pulumi.String("string"),
    	TenantId:              pulumi.String("string"),
    	Timeouts: &opentelekomcloud.VpnaasIkePolicyV2TimeoutsArgs{
    		Create: pulumi.String("string"),
    	},
    	ValueSpecs: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	VpnaasIkePolicyV2Id: pulumi.String("string"),
    })
    
    var vpnaasIkePolicyV2Resource = new VpnaasIkePolicyV2("vpnaasIkePolicyV2Resource", VpnaasIkePolicyV2Args.builder()
        .authAlgorithm("string")
        .description("string")
        .encryptionAlgorithm("string")
        .ikeVersion("string")
        .lifetimes(VpnaasIkePolicyV2LifetimeArgs.builder()
            .units("string")
            .value(0)
            .build())
        .name("string")
        .pfs("string")
        .phase1NegotiationMode("string")
        .region("string")
        .tenantId("string")
        .timeouts(VpnaasIkePolicyV2TimeoutsArgs.builder()
            .create("string")
            .build())
        .valueSpecs(Map.of("string", "string"))
        .vpnaasIkePolicyV2Id("string")
        .build());
    
    vpnaas_ike_policy_v2_resource = opentelekomcloud.VpnaasIkePolicyV2("vpnaasIkePolicyV2Resource",
        auth_algorithm="string",
        description="string",
        encryption_algorithm="string",
        ike_version="string",
        lifetimes=[{
            "units": "string",
            "value": 0,
        }],
        name="string",
        pfs="string",
        phase1_negotiation_mode="string",
        region="string",
        tenant_id="string",
        timeouts={
            "create": "string",
        },
        value_specs={
            "string": "string",
        },
        vpnaas_ike_policy_v2_id="string")
    
    const vpnaasIkePolicyV2Resource = new opentelekomcloud.VpnaasIkePolicyV2("vpnaasIkePolicyV2Resource", {
        authAlgorithm: "string",
        description: "string",
        encryptionAlgorithm: "string",
        ikeVersion: "string",
        lifetimes: [{
            units: "string",
            value: 0,
        }],
        name: "string",
        pfs: "string",
        phase1NegotiationMode: "string",
        region: "string",
        tenantId: "string",
        timeouts: {
            create: "string",
        },
        valueSpecs: {
            string: "string",
        },
        vpnaasIkePolicyV2Id: "string",
    });
    
    type: opentelekomcloud:VpnaasIkePolicyV2
    properties:
        authAlgorithm: string
        description: string
        encryptionAlgorithm: string
        ikeVersion: string
        lifetimes:
            - units: string
              value: 0
        name: string
        pfs: string
        phase1NegotiationMode: string
        region: string
        tenantId: string
        timeouts:
            create: string
        valueSpecs:
            string: string
        vpnaasIkePolicyV2Id: string
    

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

    AuthAlgorithm string
    The authentication hash algorithm. Valid values are md5, sha1, sha2-256, sha2-384, sha2-512. Default is sha1.
    Description string
    The human-readable description for the policy.
    EncryptionAlgorithm string
    The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on. The default value is aes-128.
    IkeVersion string
    The IKE mode. Valid values are v1 and v2. Default is v1.
    Lifetimes List<VpnaasIkePolicyV2Lifetime>
    The lifetime of the security association. Consists of Unit and Value.
    Name string
    The name of the policy.
    Pfs string
    The perfect forward secrecy mode. Valid values are group1, group2, group5 and so on. Default is group5.
    Phase1NegotiationMode string
    The IKE mode. Valid values are main and aggressive. Default is main.
    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.
    TenantId string
    The owner of the policy. Required if admin wants to create a service for another policy. Changing this creates a new policy.
    Timeouts VpnaasIkePolicyV2Timeouts
    ValueSpecs Dictionary<string, string>
    Map of additional options.
    VpnaasIkePolicyV2Id string
    AuthAlgorithm string
    The authentication hash algorithm. Valid values are md5, sha1, sha2-256, sha2-384, sha2-512. Default is sha1.
    Description string
    The human-readable description for the policy.
    EncryptionAlgorithm string
    The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on. The default value is aes-128.
    IkeVersion string
    The IKE mode. Valid values are v1 and v2. Default is v1.
    Lifetimes []VpnaasIkePolicyV2LifetimeArgs
    The lifetime of the security association. Consists of Unit and Value.
    Name string
    The name of the policy.
    Pfs string
    The perfect forward secrecy mode. Valid values are group1, group2, group5 and so on. Default is group5.
    Phase1NegotiationMode string
    The IKE mode. Valid values are main and aggressive. Default is main.
    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.
    TenantId string
    The owner of the policy. Required if admin wants to create a service for another policy. Changing this creates a new policy.
    Timeouts VpnaasIkePolicyV2TimeoutsArgs
    ValueSpecs map[string]string
    Map of additional options.
    VpnaasIkePolicyV2Id string
    authAlgorithm String
    The authentication hash algorithm. Valid values are md5, sha1, sha2-256, sha2-384, sha2-512. Default is sha1.
    description String
    The human-readable description for the policy.
    encryptionAlgorithm String
    The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on. The default value is aes-128.
    ikeVersion String
    The IKE mode. Valid values are v1 and v2. Default is v1.
    lifetimes List<VpnaasIkePolicyV2Lifetime>
    The lifetime of the security association. Consists of Unit and Value.
    name String
    The name of the policy.
    pfs String
    The perfect forward secrecy mode. Valid values are group1, group2, group5 and so on. Default is group5.
    phase1NegotiationMode String
    The IKE mode. Valid values are main and aggressive. Default is main.
    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.
    tenantId String
    The owner of the policy. Required if admin wants to create a service for another policy. Changing this creates a new policy.
    timeouts VpnaasIkePolicyV2Timeouts
    valueSpecs Map<String,String>
    Map of additional options.
    vpnaasIkePolicyV2Id String
    authAlgorithm string
    The authentication hash algorithm. Valid values are md5, sha1, sha2-256, sha2-384, sha2-512. Default is sha1.
    description string
    The human-readable description for the policy.
    encryptionAlgorithm string
    The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on. The default value is aes-128.
    ikeVersion string
    The IKE mode. Valid values are v1 and v2. Default is v1.
    lifetimes VpnaasIkePolicyV2Lifetime[]
    The lifetime of the security association. Consists of Unit and Value.
    name string
    The name of the policy.
    pfs string
    The perfect forward secrecy mode. Valid values are group1, group2, group5 and so on. Default is group5.
    phase1NegotiationMode string
    The IKE mode. Valid values are main and aggressive. Default is main.
    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.
    tenantId string
    The owner of the policy. Required if admin wants to create a service for another policy. Changing this creates a new policy.
    timeouts VpnaasIkePolicyV2Timeouts
    valueSpecs {[key: string]: string}
    Map of additional options.
    vpnaasIkePolicyV2Id string
    auth_algorithm str
    The authentication hash algorithm. Valid values are md5, sha1, sha2-256, sha2-384, sha2-512. Default is sha1.
    description str
    The human-readable description for the policy.
    encryption_algorithm str
    The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on. The default value is aes-128.
    ike_version str
    The IKE mode. Valid values are v1 and v2. Default is v1.
    lifetimes Sequence[VpnaasIkePolicyV2LifetimeArgs]
    The lifetime of the security association. Consists of Unit and Value.
    name str
    The name of the policy.
    pfs str
    The perfect forward secrecy mode. Valid values are group1, group2, group5 and so on. Default is group5.
    phase1_negotiation_mode str
    The IKE mode. Valid values are main and aggressive. Default is main.
    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.
    tenant_id str
    The owner of the policy. Required if admin wants to create a service for another policy. Changing this creates a new policy.
    timeouts VpnaasIkePolicyV2TimeoutsArgs
    value_specs Mapping[str, str]
    Map of additional options.
    vpnaas_ike_policy_v2_id str
    authAlgorithm String
    The authentication hash algorithm. Valid values are md5, sha1, sha2-256, sha2-384, sha2-512. Default is sha1.
    description String
    The human-readable description for the policy.
    encryptionAlgorithm String
    The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on. The default value is aes-128.
    ikeVersion String
    The IKE mode. Valid values are v1 and v2. Default is v1.
    lifetimes List<Property Map>
    The lifetime of the security association. Consists of Unit and Value.
    name String
    The name of the policy.
    pfs String
    The perfect forward secrecy mode. Valid values are group1, group2, group5 and so on. Default is group5.
    phase1NegotiationMode String
    The IKE mode. Valid values are main and aggressive. Default is main.
    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.
    tenantId String
    The owner of the policy. Required if admin wants to create a service for another policy. Changing this creates a new policy.
    timeouts Property Map
    valueSpecs Map<String>
    Map of additional options.
    vpnaasIkePolicyV2Id String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the VpnaasIkePolicyV2 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 VpnaasIkePolicyV2 Resource

    Get an existing VpnaasIkePolicyV2 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?: VpnaasIkePolicyV2State, opts?: CustomResourceOptions): VpnaasIkePolicyV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auth_algorithm: Optional[str] = None,
            description: Optional[str] = None,
            encryption_algorithm: Optional[str] = None,
            ike_version: Optional[str] = None,
            lifetimes: Optional[Sequence[VpnaasIkePolicyV2LifetimeArgs]] = None,
            name: Optional[str] = None,
            pfs: Optional[str] = None,
            phase1_negotiation_mode: Optional[str] = None,
            region: Optional[str] = None,
            tenant_id: Optional[str] = None,
            timeouts: Optional[VpnaasIkePolicyV2TimeoutsArgs] = None,
            value_specs: Optional[Mapping[str, str]] = None,
            vpnaas_ike_policy_v2_id: Optional[str] = None) -> VpnaasIkePolicyV2
    func GetVpnaasIkePolicyV2(ctx *Context, name string, id IDInput, state *VpnaasIkePolicyV2State, opts ...ResourceOption) (*VpnaasIkePolicyV2, error)
    public static VpnaasIkePolicyV2 Get(string name, Input<string> id, VpnaasIkePolicyV2State? state, CustomResourceOptions? opts = null)
    public static VpnaasIkePolicyV2 get(String name, Output<String> id, VpnaasIkePolicyV2State state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:VpnaasIkePolicyV2    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.
    The following state arguments are supported:
    AuthAlgorithm string
    The authentication hash algorithm. Valid values are md5, sha1, sha2-256, sha2-384, sha2-512. Default is sha1.
    Description string
    The human-readable description for the policy.
    EncryptionAlgorithm string
    The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on. The default value is aes-128.
    IkeVersion string
    The IKE mode. Valid values are v1 and v2. Default is v1.
    Lifetimes List<VpnaasIkePolicyV2Lifetime>
    The lifetime of the security association. Consists of Unit and Value.
    Name string
    The name of the policy.
    Pfs string
    The perfect forward secrecy mode. Valid values are group1, group2, group5 and so on. Default is group5.
    Phase1NegotiationMode string
    The IKE mode. Valid values are main and aggressive. Default is main.
    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.
    TenantId string
    The owner of the policy. Required if admin wants to create a service for another policy. Changing this creates a new policy.
    Timeouts VpnaasIkePolicyV2Timeouts
    ValueSpecs Dictionary<string, string>
    Map of additional options.
    VpnaasIkePolicyV2Id string
    AuthAlgorithm string
    The authentication hash algorithm. Valid values are md5, sha1, sha2-256, sha2-384, sha2-512. Default is sha1.
    Description string
    The human-readable description for the policy.
    EncryptionAlgorithm string
    The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on. The default value is aes-128.
    IkeVersion string
    The IKE mode. Valid values are v1 and v2. Default is v1.
    Lifetimes []VpnaasIkePolicyV2LifetimeArgs
    The lifetime of the security association. Consists of Unit and Value.
    Name string
    The name of the policy.
    Pfs string
    The perfect forward secrecy mode. Valid values are group1, group2, group5 and so on. Default is group5.
    Phase1NegotiationMode string
    The IKE mode. Valid values are main and aggressive. Default is main.
    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.
    TenantId string
    The owner of the policy. Required if admin wants to create a service for another policy. Changing this creates a new policy.
    Timeouts VpnaasIkePolicyV2TimeoutsArgs
    ValueSpecs map[string]string
    Map of additional options.
    VpnaasIkePolicyV2Id string
    authAlgorithm String
    The authentication hash algorithm. Valid values are md5, sha1, sha2-256, sha2-384, sha2-512. Default is sha1.
    description String
    The human-readable description for the policy.
    encryptionAlgorithm String
    The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on. The default value is aes-128.
    ikeVersion String
    The IKE mode. Valid values are v1 and v2. Default is v1.
    lifetimes List<VpnaasIkePolicyV2Lifetime>
    The lifetime of the security association. Consists of Unit and Value.
    name String
    The name of the policy.
    pfs String
    The perfect forward secrecy mode. Valid values are group1, group2, group5 and so on. Default is group5.
    phase1NegotiationMode String
    The IKE mode. Valid values are main and aggressive. Default is main.
    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.
    tenantId String
    The owner of the policy. Required if admin wants to create a service for another policy. Changing this creates a new policy.
    timeouts VpnaasIkePolicyV2Timeouts
    valueSpecs Map<String,String>
    Map of additional options.
    vpnaasIkePolicyV2Id String
    authAlgorithm string
    The authentication hash algorithm. Valid values are md5, sha1, sha2-256, sha2-384, sha2-512. Default is sha1.
    description string
    The human-readable description for the policy.
    encryptionAlgorithm string
    The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on. The default value is aes-128.
    ikeVersion string
    The IKE mode. Valid values are v1 and v2. Default is v1.
    lifetimes VpnaasIkePolicyV2Lifetime[]
    The lifetime of the security association. Consists of Unit and Value.
    name string
    The name of the policy.
    pfs string
    The perfect forward secrecy mode. Valid values are group1, group2, group5 and so on. Default is group5.
    phase1NegotiationMode string
    The IKE mode. Valid values are main and aggressive. Default is main.
    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.
    tenantId string
    The owner of the policy. Required if admin wants to create a service for another policy. Changing this creates a new policy.
    timeouts VpnaasIkePolicyV2Timeouts
    valueSpecs {[key: string]: string}
    Map of additional options.
    vpnaasIkePolicyV2Id string
    auth_algorithm str
    The authentication hash algorithm. Valid values are md5, sha1, sha2-256, sha2-384, sha2-512. Default is sha1.
    description str
    The human-readable description for the policy.
    encryption_algorithm str
    The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on. The default value is aes-128.
    ike_version str
    The IKE mode. Valid values are v1 and v2. Default is v1.
    lifetimes Sequence[VpnaasIkePolicyV2LifetimeArgs]
    The lifetime of the security association. Consists of Unit and Value.
    name str
    The name of the policy.
    pfs str
    The perfect forward secrecy mode. Valid values are group1, group2, group5 and so on. Default is group5.
    phase1_negotiation_mode str
    The IKE mode. Valid values are main and aggressive. Default is main.
    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.
    tenant_id str
    The owner of the policy. Required if admin wants to create a service for another policy. Changing this creates a new policy.
    timeouts VpnaasIkePolicyV2TimeoutsArgs
    value_specs Mapping[str, str]
    Map of additional options.
    vpnaas_ike_policy_v2_id str
    authAlgorithm String
    The authentication hash algorithm. Valid values are md5, sha1, sha2-256, sha2-384, sha2-512. Default is sha1.
    description String
    The human-readable description for the policy.
    encryptionAlgorithm String
    The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on. The default value is aes-128.
    ikeVersion String
    The IKE mode. Valid values are v1 and v2. Default is v1.
    lifetimes List<Property Map>
    The lifetime of the security association. Consists of Unit and Value.
    name String
    The name of the policy.
    pfs String
    The perfect forward secrecy mode. Valid values are group1, group2, group5 and so on. Default is group5.
    phase1NegotiationMode String
    The IKE mode. Valid values are main and aggressive. Default is main.
    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.
    tenantId String
    The owner of the policy. Required if admin wants to create a service for another policy. Changing this creates a new policy.
    timeouts Property Map
    valueSpecs Map<String>
    Map of additional options.
    vpnaasIkePolicyV2Id String

    Supporting Types

    VpnaasIkePolicyV2Lifetime, VpnaasIkePolicyV2LifetimeArgs

    Units string
    Value double
    The value for the lifetime of the security association. Default is 3600.
    Units string
    Value float64
    The value for the lifetime of the security association. Default is 3600.
    units String
    value Double
    The value for the lifetime of the security association. Default is 3600.
    units string
    value number
    The value for the lifetime of the security association. Default is 3600.
    units str
    value float
    The value for the lifetime of the security association. Default is 3600.
    units String
    value Number
    The value for the lifetime of the security association. Default is 3600.

    VpnaasIkePolicyV2Timeouts, VpnaasIkePolicyV2TimeoutsArgs

    Create string
    Create string
    create String
    create string
    create str
    create String

    Import

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

    $ pulumi import opentelekomcloud:index/vpnaasIkePolicyV2:VpnaasIkePolicyV2 policy_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.
    opentelekomcloud logo
    opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud