opentelekomcloud.VpnaasIkePolicyV2
Explore with Pulumi AI
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:
- Auth
Algorithm string - The authentication hash algorithm. Valid values are
md5
,sha1
,sha2-256
,sha2-384
,sha2-512
. Default issha1
. - Description string
- The human-readable description for the policy.
- Encryption
Algorithm string - The encryption algorithm. Valid values are
3des
,aes-128
,aes-192
and so on. The default value isaes-128
. - Ike
Version string - The IKE mode. Valid values are
v1
andv2
. Default isv1
. - Lifetimes
List<Vpnaas
Ike Policy V2Lifetime> - 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 isgroup5
. - Phase1Negotiation
Mode string - The IKE mode. Valid values are
main
andaggressive
. Default ismain
. - 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. - Tenant
Id string - The owner of the policy. Required if admin wants to create a service for another policy. Changing this creates a new policy.
- Timeouts
Vpnaas
Ike Policy V2Timeouts - Value
Specs Dictionary<string, string> - Map of additional options.
- Vpnaas
Ike stringPolicy V2Id
- Auth
Algorithm string - The authentication hash algorithm. Valid values are
md5
,sha1
,sha2-256
,sha2-384
,sha2-512
. Default issha1
. - Description string
- The human-readable description for the policy.
- Encryption
Algorithm string - The encryption algorithm. Valid values are
3des
,aes-128
,aes-192
and so on. The default value isaes-128
. - Ike
Version string - The IKE mode. Valid values are
v1
andv2
. Default isv1
. - Lifetimes
[]Vpnaas
Ike Policy V2Lifetime Args - 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 isgroup5
. - Phase1Negotiation
Mode string - The IKE mode. Valid values are
main
andaggressive
. Default ismain
. - 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. - Tenant
Id string - The owner of the policy. Required if admin wants to create a service for another policy. Changing this creates a new policy.
- Timeouts
Vpnaas
Ike Policy V2Timeouts Args - Value
Specs map[string]string - Map of additional options.
- Vpnaas
Ike stringPolicy V2Id
- auth
Algorithm String - The authentication hash algorithm. Valid values are
md5
,sha1
,sha2-256
,sha2-384
,sha2-512
. Default issha1
. - description String
- The human-readable description for the policy.
- encryption
Algorithm String - The encryption algorithm. Valid values are
3des
,aes-128
,aes-192
and so on. The default value isaes-128
. - ike
Version String - The IKE mode. Valid values are
v1
andv2
. Default isv1
. - lifetimes
List<Vpnaas
Ike Policy V2Lifetime> - 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 isgroup5
. - phase1Negotiation
Mode String - The IKE mode. Valid values are
main
andaggressive
. Default ismain
. - 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. - tenant
Id String - The owner of the policy. Required if admin wants to create a service for another policy. Changing this creates a new policy.
- timeouts
Vpnaas
Ike Policy V2Timeouts - value
Specs Map<String,String> - Map of additional options.
- vpnaas
Ike StringPolicy V2Id
- auth
Algorithm string - The authentication hash algorithm. Valid values are
md5
,sha1
,sha2-256
,sha2-384
,sha2-512
. Default issha1
. - description string
- The human-readable description for the policy.
- encryption
Algorithm string - The encryption algorithm. Valid values are
3des
,aes-128
,aes-192
and so on. The default value isaes-128
. - ike
Version string - The IKE mode. Valid values are
v1
andv2
. Default isv1
. - lifetimes
Vpnaas
Ike Policy V2Lifetime[] - 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 isgroup5
. - phase1Negotiation
Mode string - The IKE mode. Valid values are
main
andaggressive
. Default ismain
. - 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. - tenant
Id string - The owner of the policy. Required if admin wants to create a service for another policy. Changing this creates a new policy.
- timeouts
Vpnaas
Ike Policy V2Timeouts - value
Specs {[key: string]: string} - Map of additional options.
- vpnaas
Ike stringPolicy V2Id
- auth_
algorithm str - The authentication hash algorithm. Valid values are
md5
,sha1
,sha2-256
,sha2-384
,sha2-512
. Default issha1
. - 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 isaes-128
. - ike_
version str - The IKE mode. Valid values are
v1
andv2
. Default isv1
. - lifetimes
Sequence[Vpnaas
Ike Policy V2Lifetime Args] - 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 isgroup5
. - phase1_
negotiation_ strmode - The IKE mode. Valid values are
main
andaggressive
. Default ismain
. - 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
Vpnaas
Ike Policy V2Timeouts Args - value_
specs Mapping[str, str] - Map of additional options.
- vpnaas_
ike_ strpolicy_ v2_ id
- auth
Algorithm String - The authentication hash algorithm. Valid values are
md5
,sha1
,sha2-256
,sha2-384
,sha2-512
. Default issha1
. - description String
- The human-readable description for the policy.
- encryption
Algorithm String - The encryption algorithm. Valid values are
3des
,aes-128
,aes-192
and so on. The default value isaes-128
. - ike
Version String - The IKE mode. Valid values are
v1
andv2
. Default isv1
. - 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 isgroup5
. - phase1Negotiation
Mode String - The IKE mode. Valid values are
main
andaggressive
. Default ismain
. - 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. - tenant
Id 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
- value
Specs Map<String> - Map of additional options.
- vpnaas
Ike StringPolicy V2Id
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.
- Auth
Algorithm string - The authentication hash algorithm. Valid values are
md5
,sha1
,sha2-256
,sha2-384
,sha2-512
. Default issha1
. - Description string
- The human-readable description for the policy.
- Encryption
Algorithm string - The encryption algorithm. Valid values are
3des
,aes-128
,aes-192
and so on. The default value isaes-128
. - Ike
Version string - The IKE mode. Valid values are
v1
andv2
. Default isv1
. - Lifetimes
List<Vpnaas
Ike Policy V2Lifetime> - 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 isgroup5
. - Phase1Negotiation
Mode string - The IKE mode. Valid values are
main
andaggressive
. Default ismain
. - 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. - Tenant
Id string - The owner of the policy. Required if admin wants to create a service for another policy. Changing this creates a new policy.
- Timeouts
Vpnaas
Ike Policy V2Timeouts - Value
Specs Dictionary<string, string> - Map of additional options.
- Vpnaas
Ike stringPolicy V2Id
- Auth
Algorithm string - The authentication hash algorithm. Valid values are
md5
,sha1
,sha2-256
,sha2-384
,sha2-512
. Default issha1
. - Description string
- The human-readable description for the policy.
- Encryption
Algorithm string - The encryption algorithm. Valid values are
3des
,aes-128
,aes-192
and so on. The default value isaes-128
. - Ike
Version string - The IKE mode. Valid values are
v1
andv2
. Default isv1
. - Lifetimes
[]Vpnaas
Ike Policy V2Lifetime Args - 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 isgroup5
. - Phase1Negotiation
Mode string - The IKE mode. Valid values are
main
andaggressive
. Default ismain
. - 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. - Tenant
Id string - The owner of the policy. Required if admin wants to create a service for another policy. Changing this creates a new policy.
- Timeouts
Vpnaas
Ike Policy V2Timeouts Args - Value
Specs map[string]string - Map of additional options.
- Vpnaas
Ike stringPolicy V2Id
- auth
Algorithm String - The authentication hash algorithm. Valid values are
md5
,sha1
,sha2-256
,sha2-384
,sha2-512
. Default issha1
. - description String
- The human-readable description for the policy.
- encryption
Algorithm String - The encryption algorithm. Valid values are
3des
,aes-128
,aes-192
and so on. The default value isaes-128
. - ike
Version String - The IKE mode. Valid values are
v1
andv2
. Default isv1
. - lifetimes
List<Vpnaas
Ike Policy V2Lifetime> - 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 isgroup5
. - phase1Negotiation
Mode String - The IKE mode. Valid values are
main
andaggressive
. Default ismain
. - 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. - tenant
Id String - The owner of the policy. Required if admin wants to create a service for another policy. Changing this creates a new policy.
- timeouts
Vpnaas
Ike Policy V2Timeouts - value
Specs Map<String,String> - Map of additional options.
- vpnaas
Ike StringPolicy V2Id
- auth
Algorithm string - The authentication hash algorithm. Valid values are
md5
,sha1
,sha2-256
,sha2-384
,sha2-512
. Default issha1
. - description string
- The human-readable description for the policy.
- encryption
Algorithm string - The encryption algorithm. Valid values are
3des
,aes-128
,aes-192
and so on. The default value isaes-128
. - ike
Version string - The IKE mode. Valid values are
v1
andv2
. Default isv1
. - lifetimes
Vpnaas
Ike Policy V2Lifetime[] - 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 isgroup5
. - phase1Negotiation
Mode string - The IKE mode. Valid values are
main
andaggressive
. Default ismain
. - 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. - tenant
Id string - The owner of the policy. Required if admin wants to create a service for another policy. Changing this creates a new policy.
- timeouts
Vpnaas
Ike Policy V2Timeouts - value
Specs {[key: string]: string} - Map of additional options.
- vpnaas
Ike stringPolicy V2Id
- auth_
algorithm str - The authentication hash algorithm. Valid values are
md5
,sha1
,sha2-256
,sha2-384
,sha2-512
. Default issha1
. - 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 isaes-128
. - ike_
version str - The IKE mode. Valid values are
v1
andv2
. Default isv1
. - lifetimes
Sequence[Vpnaas
Ike Policy V2Lifetime Args] - 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 isgroup5
. - phase1_
negotiation_ strmode - The IKE mode. Valid values are
main
andaggressive
. Default ismain
. - 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
Vpnaas
Ike Policy V2Timeouts Args - value_
specs Mapping[str, str] - Map of additional options.
- vpnaas_
ike_ strpolicy_ v2_ id
- auth
Algorithm String - The authentication hash algorithm. Valid values are
md5
,sha1
,sha2-256
,sha2-384
,sha2-512
. Default issha1
. - description String
- The human-readable description for the policy.
- encryption
Algorithm String - The encryption algorithm. Valid values are
3des
,aes-128
,aes-192
and so on. The default value isaes-128
. - ike
Version String - The IKE mode. Valid values are
v1
andv2
. Default isv1
. - 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 isgroup5
. - phase1Negotiation
Mode String - The IKE mode. Valid values are
main
andaggressive
. Default ismain
. - 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. - tenant
Id 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
- value
Specs Map<String> - Map of additional options.
- vpnaas
Ike StringPolicy V2Id
Supporting Types
VpnaasIkePolicyV2Lifetime, VpnaasIkePolicyV2LifetimeArgs
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.