1. Packages
  2. OpenStack
  3. API Docs
  4. vpnaas
  5. IkePolicy
OpenStack v4.0.0 published on Tuesday, May 21, 2024 by Pulumi

openstack.vpnaas.IkePolicy

Explore with Pulumi AI

openstack logo
OpenStack v4.0.0 published on Tuesday, May 21, 2024 by Pulumi

    Manages a V2 Neutron IKE policy resource within OpenStack.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as openstack from "@pulumi/openstack";
    
    const policy1 = new openstack.vpnaas.IkePolicy("policy_1", {name: "my_policy"});
    
    import pulumi
    import pulumi_openstack as openstack
    
    policy1 = openstack.vpnaas.IkePolicy("policy_1", name="my_policy")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-openstack/sdk/v4/go/openstack/vpnaas"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := vpnaas.NewIkePolicy(ctx, "policy_1", &vpnaas.IkePolicyArgs{
    			Name: pulumi.String("my_policy"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using OpenStack = Pulumi.OpenStack;
    
    return await Deployment.RunAsync(() => 
    {
        var policy1 = new OpenStack.VPNaaS.IkePolicy("policy_1", new()
        {
            Name = "my_policy",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.openstack.vpnaas.IkePolicy;
    import com.pulumi.openstack.vpnaas.IkePolicyArgs;
    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 IkePolicy("policy1", IkePolicyArgs.builder()        
                .name("my_policy")
                .build());
    
        }
    }
    
    resources:
      policy1:
        type: openstack:vpnaas:IkePolicy
        name: policy_1
        properties:
          name: my_policy
    

    Create IkePolicy Resource

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

    Constructor syntax

    new IkePolicy(name: string, args?: IkePolicyArgs, opts?: CustomResourceOptions);
    @overload
    def IkePolicy(resource_name: str,
                  args: Optional[IkePolicyArgs] = None,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def IkePolicy(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[IkePolicyLifetimeArgs]] = None,
                  name: Optional[str] = None,
                  pfs: Optional[str] = None,
                  phase1_negotiation_mode: Optional[str] = None,
                  region: Optional[str] = None,
                  tenant_id: Optional[str] = None,
                  value_specs: Optional[Mapping[str, Any]] = None)
    func NewIkePolicy(ctx *Context, name string, args *IkePolicyArgs, opts ...ResourceOption) (*IkePolicy, error)
    public IkePolicy(string name, IkePolicyArgs? args = null, CustomResourceOptions? opts = null)
    public IkePolicy(String name, IkePolicyArgs args)
    public IkePolicy(String name, IkePolicyArgs args, CustomResourceOptions options)
    
    type: openstack:vpnaas:IkePolicy
    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 IkePolicyArgs
    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 IkePolicyArgs
    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 IkePolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IkePolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IkePolicyArgs
    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 ikePolicyResource = new OpenStack.VPNaaS.IkePolicy("ikePolicyResource", new()
    {
        AuthAlgorithm = "string",
        Description = "string",
        EncryptionAlgorithm = "string",
        IkeVersion = "string",
        Lifetimes = new[]
        {
            new OpenStack.VPNaaS.Inputs.IkePolicyLifetimeArgs
            {
                Units = "string",
                Value = 0,
            },
        },
        Name = "string",
        Pfs = "string",
        Phase1NegotiationMode = "string",
        Region = "string",
        TenantId = "string",
        ValueSpecs = 
        {
            { "string", "any" },
        },
    });
    
    example, err := vpnaas.NewIkePolicy(ctx, "ikePolicyResource", &vpnaas.IkePolicyArgs{
    	AuthAlgorithm:       pulumi.String("string"),
    	Description:         pulumi.String("string"),
    	EncryptionAlgorithm: pulumi.String("string"),
    	IkeVersion:          pulumi.String("string"),
    	Lifetimes: vpnaas.IkePolicyLifetimeArray{
    		&vpnaas.IkePolicyLifetimeArgs{
    			Units: pulumi.String("string"),
    			Value: pulumi.Int(0),
    		},
    	},
    	Name:                  pulumi.String("string"),
    	Pfs:                   pulumi.String("string"),
    	Phase1NegotiationMode: pulumi.String("string"),
    	Region:                pulumi.String("string"),
    	TenantId:              pulumi.String("string"),
    	ValueSpecs: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    })
    
    var ikePolicyResource = new IkePolicy("ikePolicyResource", IkePolicyArgs.builder()
        .authAlgorithm("string")
        .description("string")
        .encryptionAlgorithm("string")
        .ikeVersion("string")
        .lifetimes(IkePolicyLifetimeArgs.builder()
            .units("string")
            .value(0)
            .build())
        .name("string")
        .pfs("string")
        .phase1NegotiationMode("string")
        .region("string")
        .tenantId("string")
        .valueSpecs(Map.of("string", "any"))
        .build());
    
    ike_policy_resource = openstack.vpnaas.IkePolicy("ikePolicyResource",
        auth_algorithm="string",
        description="string",
        encryption_algorithm="string",
        ike_version="string",
        lifetimes=[openstack.vpnaas.IkePolicyLifetimeArgs(
            units="string",
            value=0,
        )],
        name="string",
        pfs="string",
        phase1_negotiation_mode="string",
        region="string",
        tenant_id="string",
        value_specs={
            "string": "any",
        })
    
    const ikePolicyResource = new openstack.vpnaas.IkePolicy("ikePolicyResource", {
        authAlgorithm: "string",
        description: "string",
        encryptionAlgorithm: "string",
        ikeVersion: "string",
        lifetimes: [{
            units: "string",
            value: 0,
        }],
        name: "string",
        pfs: "string",
        phase1NegotiationMode: "string",
        region: "string",
        tenantId: "string",
        valueSpecs: {
            string: "any",
        },
    });
    
    type: openstack:vpnaas:IkePolicy
    properties:
        authAlgorithm: string
        description: string
        encryptionAlgorithm: string
        ikeVersion: string
        lifetimes:
            - units: string
              value: 0
        name: string
        pfs: string
        phase1NegotiationMode: string
        region: string
        tenantId: string
        valueSpecs:
            string: any
    

    IkePolicy Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The IkePolicy resource accepts the following input properties:

    AuthAlgorithm string
    The authentication hash algorithm. Valid values are sha1, sha256, sha384, sha512. Default is sha1. Changing this updates the algorithm of the existing policy.
    Description string
    The human-readable description for the policy. Changing this updates the description of the existing policy.
    EncryptionAlgorithm string
    The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on. The default value is aes-128. Changing this updates the existing policy.
    IkeVersion string
    The IKE version. A valid value is v1 or v2. Default is v1. Changing this updates the existing policy.
    Lifetimes List<Pulumi.OpenStack.VPNaaS.Inputs.IkePolicyLifetime>
    The lifetime of the security association. Consists of Unit and Value.
    Name string
    The name of the policy. Changing this updates the name of the existing policy.
    Pfs string
    The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5. Changing this updates the existing policy.
    Phase1NegotiationMode string
    The IKE mode. A valid value is main, which is the default. Changing this updates the existing policy.
    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.
    ValueSpecs Dictionary<string, object>
    Map of additional options.
    AuthAlgorithm string
    The authentication hash algorithm. Valid values are sha1, sha256, sha384, sha512. Default is sha1. Changing this updates the algorithm of the existing policy.
    Description string
    The human-readable description for the policy. Changing this updates the description of the existing policy.
    EncryptionAlgorithm string
    The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on. The default value is aes-128. Changing this updates the existing policy.
    IkeVersion string
    The IKE version. A valid value is v1 or v2. Default is v1. Changing this updates the existing policy.
    Lifetimes []IkePolicyLifetimeArgs
    The lifetime of the security association. Consists of Unit and Value.
    Name string
    The name of the policy. Changing this updates the name of the existing policy.
    Pfs string
    The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5. Changing this updates the existing policy.
    Phase1NegotiationMode string
    The IKE mode. A valid value is main, which is the default. Changing this updates the existing policy.
    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.
    ValueSpecs map[string]interface{}
    Map of additional options.
    authAlgorithm String
    The authentication hash algorithm. Valid values are sha1, sha256, sha384, sha512. Default is sha1. Changing this updates the algorithm of the existing policy.
    description String
    The human-readable description for the policy. Changing this updates the description of the existing policy.
    encryptionAlgorithm String
    The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on. The default value is aes-128. Changing this updates the existing policy.
    ikeVersion String
    The IKE version. A valid value is v1 or v2. Default is v1. Changing this updates the existing policy.
    lifetimes List<IkePolicyLifetime>
    The lifetime of the security association. Consists of Unit and Value.
    name String
    The name of the policy. Changing this updates the name of the existing policy.
    pfs String
    The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5. Changing this updates the existing policy.
    phase1NegotiationMode String
    The IKE mode. A valid value is main, which is the default. Changing this updates the existing policy.
    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.
    valueSpecs Map<String,Object>
    Map of additional options.
    authAlgorithm string
    The authentication hash algorithm. Valid values are sha1, sha256, sha384, sha512. Default is sha1. Changing this updates the algorithm of the existing policy.
    description string
    The human-readable description for the policy. Changing this updates the description of the existing policy.
    encryptionAlgorithm string
    The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on. The default value is aes-128. Changing this updates the existing policy.
    ikeVersion string
    The IKE version. A valid value is v1 or v2. Default is v1. Changing this updates the existing policy.
    lifetimes IkePolicyLifetime[]
    The lifetime of the security association. Consists of Unit and Value.
    name string
    The name of the policy. Changing this updates the name of the existing policy.
    pfs string
    The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5. Changing this updates the existing policy.
    phase1NegotiationMode string
    The IKE mode. A valid value is main, which is the default. Changing this updates the existing policy.
    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.
    valueSpecs {[key: string]: any}
    Map of additional options.
    auth_algorithm str
    The authentication hash algorithm. Valid values are sha1, sha256, sha384, sha512. Default is sha1. Changing this updates the algorithm of the existing policy.
    description str
    The human-readable description for the policy. Changing this updates the description of the existing policy.
    encryption_algorithm str
    The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on. The default value is aes-128. Changing this updates the existing policy.
    ike_version str
    The IKE version. A valid value is v1 or v2. Default is v1. Changing this updates the existing policy.
    lifetimes Sequence[IkePolicyLifetimeArgs]
    The lifetime of the security association. Consists of Unit and Value.
    name str
    The name of the policy. Changing this updates the name of the existing policy.
    pfs str
    The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5. Changing this updates the existing policy.
    phase1_negotiation_mode str
    The IKE mode. A valid value is main, which is the default. Changing this updates the existing policy.
    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.
    value_specs Mapping[str, Any]
    Map of additional options.
    authAlgorithm String
    The authentication hash algorithm. Valid values are sha1, sha256, sha384, sha512. Default is sha1. Changing this updates the algorithm of the existing policy.
    description String
    The human-readable description for the policy. Changing this updates the description of the existing policy.
    encryptionAlgorithm String
    The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on. The default value is aes-128. Changing this updates the existing policy.
    ikeVersion String
    The IKE version. A valid value is v1 or v2. Default is v1. Changing this updates the existing policy.
    lifetimes List<Property Map>
    The lifetime of the security association. Consists of Unit and Value.
    name String
    The name of the policy. Changing this updates the name of the existing policy.
    pfs String
    The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5. Changing this updates the existing policy.
    phase1NegotiationMode String
    The IKE mode. A valid value is main, which is the default. Changing this updates the existing policy.
    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.
    valueSpecs Map<Any>
    Map of additional options.

    Outputs

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

    Get an existing IkePolicy 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?: IkePolicyState, opts?: CustomResourceOptions): IkePolicy
    @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[IkePolicyLifetimeArgs]] = None,
            name: Optional[str] = None,
            pfs: Optional[str] = None,
            phase1_negotiation_mode: Optional[str] = None,
            region: Optional[str] = None,
            tenant_id: Optional[str] = None,
            value_specs: Optional[Mapping[str, Any]] = None) -> IkePolicy
    func GetIkePolicy(ctx *Context, name string, id IDInput, state *IkePolicyState, opts ...ResourceOption) (*IkePolicy, error)
    public static IkePolicy Get(string name, Input<string> id, IkePolicyState? state, CustomResourceOptions? opts = null)
    public static IkePolicy get(String name, Output<String> id, IkePolicyState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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 sha1, sha256, sha384, sha512. Default is sha1. Changing this updates the algorithm of the existing policy.
    Description string
    The human-readable description for the policy. Changing this updates the description of the existing policy.
    EncryptionAlgorithm string
    The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on. The default value is aes-128. Changing this updates the existing policy.
    IkeVersion string
    The IKE version. A valid value is v1 or v2. Default is v1. Changing this updates the existing policy.
    Lifetimes List<Pulumi.OpenStack.VPNaaS.Inputs.IkePolicyLifetime>
    The lifetime of the security association. Consists of Unit and Value.
    Name string
    The name of the policy. Changing this updates the name of the existing policy.
    Pfs string
    The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5. Changing this updates the existing policy.
    Phase1NegotiationMode string
    The IKE mode. A valid value is main, which is the default. Changing this updates the existing policy.
    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.
    ValueSpecs Dictionary<string, object>
    Map of additional options.
    AuthAlgorithm string
    The authentication hash algorithm. Valid values are sha1, sha256, sha384, sha512. Default is sha1. Changing this updates the algorithm of the existing policy.
    Description string
    The human-readable description for the policy. Changing this updates the description of the existing policy.
    EncryptionAlgorithm string
    The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on. The default value is aes-128. Changing this updates the existing policy.
    IkeVersion string
    The IKE version. A valid value is v1 or v2. Default is v1. Changing this updates the existing policy.
    Lifetimes []IkePolicyLifetimeArgs
    The lifetime of the security association. Consists of Unit and Value.
    Name string
    The name of the policy. Changing this updates the name of the existing policy.
    Pfs string
    The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5. Changing this updates the existing policy.
    Phase1NegotiationMode string
    The IKE mode. A valid value is main, which is the default. Changing this updates the existing policy.
    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.
    ValueSpecs map[string]interface{}
    Map of additional options.
    authAlgorithm String
    The authentication hash algorithm. Valid values are sha1, sha256, sha384, sha512. Default is sha1. Changing this updates the algorithm of the existing policy.
    description String
    The human-readable description for the policy. Changing this updates the description of the existing policy.
    encryptionAlgorithm String
    The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on. The default value is aes-128. Changing this updates the existing policy.
    ikeVersion String
    The IKE version. A valid value is v1 or v2. Default is v1. Changing this updates the existing policy.
    lifetimes List<IkePolicyLifetime>
    The lifetime of the security association. Consists of Unit and Value.
    name String
    The name of the policy. Changing this updates the name of the existing policy.
    pfs String
    The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5. Changing this updates the existing policy.
    phase1NegotiationMode String
    The IKE mode. A valid value is main, which is the default. Changing this updates the existing policy.
    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.
    valueSpecs Map<String,Object>
    Map of additional options.
    authAlgorithm string
    The authentication hash algorithm. Valid values are sha1, sha256, sha384, sha512. Default is sha1. Changing this updates the algorithm of the existing policy.
    description string
    The human-readable description for the policy. Changing this updates the description of the existing policy.
    encryptionAlgorithm string
    The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on. The default value is aes-128. Changing this updates the existing policy.
    ikeVersion string
    The IKE version. A valid value is v1 or v2. Default is v1. Changing this updates the existing policy.
    lifetimes IkePolicyLifetime[]
    The lifetime of the security association. Consists of Unit and Value.
    name string
    The name of the policy. Changing this updates the name of the existing policy.
    pfs string
    The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5. Changing this updates the existing policy.
    phase1NegotiationMode string
    The IKE mode. A valid value is main, which is the default. Changing this updates the existing policy.
    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.
    valueSpecs {[key: string]: any}
    Map of additional options.
    auth_algorithm str
    The authentication hash algorithm. Valid values are sha1, sha256, sha384, sha512. Default is sha1. Changing this updates the algorithm of the existing policy.
    description str
    The human-readable description for the policy. Changing this updates the description of the existing policy.
    encryption_algorithm str
    The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on. The default value is aes-128. Changing this updates the existing policy.
    ike_version str
    The IKE version. A valid value is v1 or v2. Default is v1. Changing this updates the existing policy.
    lifetimes Sequence[IkePolicyLifetimeArgs]
    The lifetime of the security association. Consists of Unit and Value.
    name str
    The name of the policy. Changing this updates the name of the existing policy.
    pfs str
    The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5. Changing this updates the existing policy.
    phase1_negotiation_mode str
    The IKE mode. A valid value is main, which is the default. Changing this updates the existing policy.
    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.
    value_specs Mapping[str, Any]
    Map of additional options.
    authAlgorithm String
    The authentication hash algorithm. Valid values are sha1, sha256, sha384, sha512. Default is sha1. Changing this updates the algorithm of the existing policy.
    description String
    The human-readable description for the policy. Changing this updates the description of the existing policy.
    encryptionAlgorithm String
    The encryption algorithm. Valid values are 3des, aes-128, aes-192 and so on. The default value is aes-128. Changing this updates the existing policy.
    ikeVersion String
    The IKE version. A valid value is v1 or v2. Default is v1. Changing this updates the existing policy.
    lifetimes List<Property Map>
    The lifetime of the security association. Consists of Unit and Value.
    name String
    The name of the policy. Changing this updates the name of the existing policy.
    pfs String
    The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5. Changing this updates the existing policy.
    phase1NegotiationMode String
    The IKE mode. A valid value is main, which is the default. Changing this updates the existing policy.
    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.
    valueSpecs Map<Any>
    Map of additional options.

    Supporting Types

    IkePolicyLifetime, IkePolicyLifetimeArgs

    Units string
    Value int
    The value for the lifetime of the security association. Must be a positive integer. Default is 3600.
    Units string
    Value int
    The value for the lifetime of the security association. Must be a positive integer. Default is 3600.
    units String
    value Integer
    The value for the lifetime of the security association. Must be a positive integer. Default is 3600.
    units string
    value number
    The value for the lifetime of the security association. Must be a positive integer. Default is 3600.
    units str
    value int
    The value for the lifetime of the security association. Must be a positive integer. Default is 3600.
    units String
    value Number
    The value for the lifetime of the security association. Must be a positive integer. Default is 3600.

    Import

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

    $ pulumi import openstack:vpnaas/ikePolicy:IkePolicy policy_1 832cb7f3-59fe-40cf-8f64-8350ffc03272
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    OpenStack pulumi/pulumi-openstack
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the openstack Terraform Provider.
    openstack logo
    OpenStack v4.0.0 published on Tuesday, May 21, 2024 by Pulumi