1. Packages
  2. Vkcs Provider
  3. API Docs
  4. VpnaasIkePolicy
vkcs 0.9.3 published on Tuesday, Apr 15, 2025 by vk-cs

vkcs.VpnaasIkePolicy

Explore with Pulumi AI

vkcs logo
vkcs 0.9.3 published on Tuesday, Apr 15, 2025 by vk-cs

    Manages a IKE policy resource within VKCS.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as vkcs from "@pulumi/vkcs";
    
    const dataCenter = new vkcs.VpnaasIkePolicy("dataCenter", {
        authAlgorithm: "sha256",
        description: "Policy that restricts remote working users to connect to our data ceneter over VPN",
    });
    
    import pulumi
    import pulumi_vkcs as vkcs
    
    data_center = vkcs.VpnaasIkePolicy("dataCenter",
        auth_algorithm="sha256",
        description="Policy that restricts remote working users to connect to our data ceneter over VPN")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/vkcs/vkcs"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := vkcs.NewVpnaasIkePolicy(ctx, "dataCenter", &vkcs.VpnaasIkePolicyArgs{
    			AuthAlgorithm: pulumi.String("sha256"),
    			Description:   pulumi.String("Policy that restricts remote working users to connect to our data ceneter over VPN"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Vkcs = Pulumi.Vkcs;
    
    return await Deployment.RunAsync(() => 
    {
        var dataCenter = new Vkcs.VpnaasIkePolicy("dataCenter", new()
        {
            AuthAlgorithm = "sha256",
            Description = "Policy that restricts remote working users to connect to our data ceneter over VPN",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vkcs.VpnaasIkePolicy;
    import com.pulumi.vkcs.VpnaasIkePolicyArgs;
    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 dataCenter = new VpnaasIkePolicy("dataCenter", VpnaasIkePolicyArgs.builder()
                .authAlgorithm("sha256")
                .description("Policy that restricts remote working users to connect to our data ceneter over VPN")
                .build());
    
        }
    }
    
    resources:
      dataCenter:
        type: vkcs:VpnaasIkePolicy
        properties:
          authAlgorithm: sha256
          description: Policy that restricts remote working users to connect to our data ceneter over VPN
    

    Create VpnaasIkePolicy Resource

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

    Constructor syntax

    new VpnaasIkePolicy(name: string, args?: VpnaasIkePolicyArgs, opts?: CustomResourceOptions);
    @overload
    def VpnaasIkePolicy(resource_name: str,
                        args: Optional[VpnaasIkePolicyArgs] = None,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def VpnaasIkePolicy(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[VpnaasIkePolicyLifetimeArgs]] = None,
                        name: Optional[str] = None,
                        pfs: Optional[str] = None,
                        phase1_negotiation_mode: Optional[str] = None,
                        region: Optional[str] = None,
                        sdn: Optional[str] = None,
                        timeouts: Optional[VpnaasIkePolicyTimeoutsArgs] = None,
                        vpnaas_ike_policy_id: Optional[str] = None)
    func NewVpnaasIkePolicy(ctx *Context, name string, args *VpnaasIkePolicyArgs, opts ...ResourceOption) (*VpnaasIkePolicy, error)
    public VpnaasIkePolicy(string name, VpnaasIkePolicyArgs? args = null, CustomResourceOptions? opts = null)
    public VpnaasIkePolicy(String name, VpnaasIkePolicyArgs args)
    public VpnaasIkePolicy(String name, VpnaasIkePolicyArgs args, CustomResourceOptions options)
    
    type: vkcs:VpnaasIkePolicy
    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 VpnaasIkePolicyArgs
    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 VpnaasIkePolicyArgs
    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 VpnaasIkePolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VpnaasIkePolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VpnaasIkePolicyArgs
    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 vpnaasIkePolicyResource = new Vkcs.VpnaasIkePolicy("vpnaasIkePolicyResource", new()
    {
        AuthAlgorithm = "string",
        Description = "string",
        EncryptionAlgorithm = "string",
        IkeVersion = "string",
        Lifetimes = new[]
        {
            new Vkcs.Inputs.VpnaasIkePolicyLifetimeArgs
            {
                Units = "string",
                Value = 0,
            },
        },
        Name = "string",
        Pfs = "string",
        Phase1NegotiationMode = "string",
        Region = "string",
        Sdn = "string",
        Timeouts = new Vkcs.Inputs.VpnaasIkePolicyTimeoutsArgs
        {
            Create = "string",
        },
        VpnaasIkePolicyId = "string",
    });
    
    example, err := vkcs.NewVpnaasIkePolicy(ctx, "vpnaasIkePolicyResource", &vkcs.VpnaasIkePolicyArgs{
    AuthAlgorithm: pulumi.String("string"),
    Description: pulumi.String("string"),
    EncryptionAlgorithm: pulumi.String("string"),
    IkeVersion: pulumi.String("string"),
    Lifetimes: .VpnaasIkePolicyLifetimeArray{
    &.VpnaasIkePolicyLifetimeArgs{
    Units: pulumi.String("string"),
    Value: pulumi.Float64(0),
    },
    },
    Name: pulumi.String("string"),
    Pfs: pulumi.String("string"),
    Phase1NegotiationMode: pulumi.String("string"),
    Region: pulumi.String("string"),
    Sdn: pulumi.String("string"),
    Timeouts: &.VpnaasIkePolicyTimeoutsArgs{
    Create: pulumi.String("string"),
    },
    VpnaasIkePolicyId: pulumi.String("string"),
    })
    
    var vpnaasIkePolicyResource = new VpnaasIkePolicy("vpnaasIkePolicyResource", VpnaasIkePolicyArgs.builder()
        .authAlgorithm("string")
        .description("string")
        .encryptionAlgorithm("string")
        .ikeVersion("string")
        .lifetimes(VpnaasIkePolicyLifetimeArgs.builder()
            .units("string")
            .value(0)
            .build())
        .name("string")
        .pfs("string")
        .phase1NegotiationMode("string")
        .region("string")
        .sdn("string")
        .timeouts(VpnaasIkePolicyTimeoutsArgs.builder()
            .create("string")
            .build())
        .vpnaasIkePolicyId("string")
        .build());
    
    vpnaas_ike_policy_resource = vkcs.VpnaasIkePolicy("vpnaasIkePolicyResource",
        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",
        sdn="string",
        timeouts={
            "create": "string",
        },
        vpnaas_ike_policy_id="string")
    
    const vpnaasIkePolicyResource = new vkcs.VpnaasIkePolicy("vpnaasIkePolicyResource", {
        authAlgorithm: "string",
        description: "string",
        encryptionAlgorithm: "string",
        ikeVersion: "string",
        lifetimes: [{
            units: "string",
            value: 0,
        }],
        name: "string",
        pfs: "string",
        phase1NegotiationMode: "string",
        region: "string",
        sdn: "string",
        timeouts: {
            create: "string",
        },
        vpnaasIkePolicyId: "string",
    });
    
    type: vkcs:VpnaasIkePolicy
    properties:
        authAlgorithm: string
        description: string
        encryptionAlgorithm: string
        ikeVersion: string
        lifetimes:
            - units: string
              value: 0
        name: string
        pfs: string
        phase1NegotiationMode: string
        region: string
        sdn: string
        timeouts:
            create: string
        vpnaasIkePolicyId: string
    

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

    AuthAlgorithm string
    optional 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
    optional string → The human-readable description for the policy. Changing this updates the description of the existing policy.
    EncryptionAlgorithm string
    optional 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
    optional string → The IKE mode. A valid value is v1 or v2. Default is v1. Changing this updates the existing policy.
    Lifetimes List<VpnaasIkePolicyLifetime>
    optional → The lifetime of the security association. Consists of Unit and Value.
    Name string
    optional string → The name of the policy. Changing this updates the name of the existing policy.
    Pfs string
    optional string → The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5. Changing this updates the existing policy.
    Phase1NegotiationMode string
    optional string → The IKE mode. A valid value is main, which is the default. Changing this updates the existing policy.
    Region string
    optional string → The region in which to obtain the 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.
    Sdn string
    optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.New since v0.5.3.
    Timeouts VpnaasIkePolicyTimeouts
    VpnaasIkePolicyId string
    string → ID of the resource.
    AuthAlgorithm string
    optional 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
    optional string → The human-readable description for the policy. Changing this updates the description of the existing policy.
    EncryptionAlgorithm string
    optional 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
    optional string → The IKE mode. A valid value is v1 or v2. Default is v1. Changing this updates the existing policy.
    Lifetimes []VpnaasIkePolicyLifetimeArgs
    optional → The lifetime of the security association. Consists of Unit and Value.
    Name string
    optional string → The name of the policy. Changing this updates the name of the existing policy.
    Pfs string
    optional string → The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5. Changing this updates the existing policy.
    Phase1NegotiationMode string
    optional string → The IKE mode. A valid value is main, which is the default. Changing this updates the existing policy.
    Region string
    optional string → The region in which to obtain the 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.
    Sdn string
    optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.New since v0.5.3.
    Timeouts VpnaasIkePolicyTimeoutsArgs
    VpnaasIkePolicyId string
    string → ID of the resource.
    authAlgorithm String
    optional 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
    optional string → The human-readable description for the policy. Changing this updates the description of the existing policy.
    encryptionAlgorithm String
    optional 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
    optional string → The IKE mode. A valid value is v1 or v2. Default is v1. Changing this updates the existing policy.
    lifetimes List<VpnaasIkePolicyLifetime>
    optional → The lifetime of the security association. Consists of Unit and Value.
    name String
    optional string → The name of the policy. Changing this updates the name of the existing policy.
    pfs String
    optional string → The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5. Changing this updates the existing policy.
    phase1NegotiationMode String
    optional string → The IKE mode. A valid value is main, which is the default. Changing this updates the existing policy.
    region String
    optional string → The region in which to obtain the 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.
    sdn String
    optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.New since v0.5.3.
    timeouts VpnaasIkePolicyTimeouts
    vpnaasIkePolicyId String
    string → ID of the resource.
    authAlgorithm string
    optional 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
    optional string → The human-readable description for the policy. Changing this updates the description of the existing policy.
    encryptionAlgorithm string
    optional 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
    optional string → The IKE mode. A valid value is v1 or v2. Default is v1. Changing this updates the existing policy.
    lifetimes VpnaasIkePolicyLifetime[]
    optional → The lifetime of the security association. Consists of Unit and Value.
    name string
    optional string → The name of the policy. Changing this updates the name of the existing policy.
    pfs string
    optional string → The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5. Changing this updates the existing policy.
    phase1NegotiationMode string
    optional string → The IKE mode. A valid value is main, which is the default. Changing this updates the existing policy.
    region string
    optional string → The region in which to obtain the 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.
    sdn string
    optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.New since v0.5.3.
    timeouts VpnaasIkePolicyTimeouts
    vpnaasIkePolicyId string
    string → ID of the resource.
    auth_algorithm str
    optional 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 str
    optional string → The human-readable description for the policy. Changing this updates the description of the existing policy.
    encryption_algorithm str
    optional 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.
    ike_version str
    optional string → The IKE mode. A valid value is v1 or v2. Default is v1. Changing this updates the existing policy.
    lifetimes Sequence[VpnaasIkePolicyLifetimeArgs]
    optional → The lifetime of the security association. Consists of Unit and Value.
    name str
    optional string → The name of the policy. Changing this updates the name of the existing policy.
    pfs str
    optional string → 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
    optional string → The IKE mode. A valid value is main, which is the default. Changing this updates the existing policy.
    region str
    optional string → The region in which to obtain the 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.
    sdn str
    optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.New since v0.5.3.
    timeouts VpnaasIkePolicyTimeoutsArgs
    vpnaas_ike_policy_id str
    string → ID of the resource.
    authAlgorithm String
    optional 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
    optional string → The human-readable description for the policy. Changing this updates the description of the existing policy.
    encryptionAlgorithm String
    optional 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
    optional string → The IKE mode. A valid value is v1 or v2. Default is v1. Changing this updates the existing policy.
    lifetimes List<Property Map>
    optional → The lifetime of the security association. Consists of Unit and Value.
    name String
    optional string → The name of the policy. Changing this updates the name of the existing policy.
    pfs String
    optional string → The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5. Changing this updates the existing policy.
    phase1NegotiationMode String
    optional string → The IKE mode. A valid value is main, which is the default. Changing this updates the existing policy.
    region String
    optional string → The region in which to obtain the 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.
    sdn String
    optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.New since v0.5.3.
    timeouts Property Map
    vpnaasIkePolicyId String
    string → ID of the resource.

    Outputs

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

    Get an existing VpnaasIkePolicy 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?: VpnaasIkePolicyState, opts?: CustomResourceOptions): VpnaasIkePolicy
    @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[VpnaasIkePolicyLifetimeArgs]] = None,
            name: Optional[str] = None,
            pfs: Optional[str] = None,
            phase1_negotiation_mode: Optional[str] = None,
            region: Optional[str] = None,
            sdn: Optional[str] = None,
            timeouts: Optional[VpnaasIkePolicyTimeoutsArgs] = None,
            vpnaas_ike_policy_id: Optional[str] = None) -> VpnaasIkePolicy
    func GetVpnaasIkePolicy(ctx *Context, name string, id IDInput, state *VpnaasIkePolicyState, opts ...ResourceOption) (*VpnaasIkePolicy, error)
    public static VpnaasIkePolicy Get(string name, Input<string> id, VpnaasIkePolicyState? state, CustomResourceOptions? opts = null)
    public static VpnaasIkePolicy get(String name, Output<String> id, VpnaasIkePolicyState state, CustomResourceOptions options)
    resources:  _:    type: vkcs:VpnaasIkePolicy    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
    optional 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
    optional string → The human-readable description for the policy. Changing this updates the description of the existing policy.
    EncryptionAlgorithm string
    optional 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
    optional string → The IKE mode. A valid value is v1 or v2. Default is v1. Changing this updates the existing policy.
    Lifetimes List<VpnaasIkePolicyLifetime>
    optional → The lifetime of the security association. Consists of Unit and Value.
    Name string
    optional string → The name of the policy. Changing this updates the name of the existing policy.
    Pfs string
    optional string → The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5. Changing this updates the existing policy.
    Phase1NegotiationMode string
    optional string → The IKE mode. A valid value is main, which is the default. Changing this updates the existing policy.
    Region string
    optional string → The region in which to obtain the 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.
    Sdn string
    optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.New since v0.5.3.
    Timeouts VpnaasIkePolicyTimeouts
    VpnaasIkePolicyId string
    string → ID of the resource.
    AuthAlgorithm string
    optional 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
    optional string → The human-readable description for the policy. Changing this updates the description of the existing policy.
    EncryptionAlgorithm string
    optional 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
    optional string → The IKE mode. A valid value is v1 or v2. Default is v1. Changing this updates the existing policy.
    Lifetimes []VpnaasIkePolicyLifetimeArgs
    optional → The lifetime of the security association. Consists of Unit and Value.
    Name string
    optional string → The name of the policy. Changing this updates the name of the existing policy.
    Pfs string
    optional string → The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5. Changing this updates the existing policy.
    Phase1NegotiationMode string
    optional string → The IKE mode. A valid value is main, which is the default. Changing this updates the existing policy.
    Region string
    optional string → The region in which to obtain the 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.
    Sdn string
    optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.New since v0.5.3.
    Timeouts VpnaasIkePolicyTimeoutsArgs
    VpnaasIkePolicyId string
    string → ID of the resource.
    authAlgorithm String
    optional 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
    optional string → The human-readable description for the policy. Changing this updates the description of the existing policy.
    encryptionAlgorithm String
    optional 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
    optional string → The IKE mode. A valid value is v1 or v2. Default is v1. Changing this updates the existing policy.
    lifetimes List<VpnaasIkePolicyLifetime>
    optional → The lifetime of the security association. Consists of Unit and Value.
    name String
    optional string → The name of the policy. Changing this updates the name of the existing policy.
    pfs String
    optional string → The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5. Changing this updates the existing policy.
    phase1NegotiationMode String
    optional string → The IKE mode. A valid value is main, which is the default. Changing this updates the existing policy.
    region String
    optional string → The region in which to obtain the 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.
    sdn String
    optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.New since v0.5.3.
    timeouts VpnaasIkePolicyTimeouts
    vpnaasIkePolicyId String
    string → ID of the resource.
    authAlgorithm string
    optional 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
    optional string → The human-readable description for the policy. Changing this updates the description of the existing policy.
    encryptionAlgorithm string
    optional 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
    optional string → The IKE mode. A valid value is v1 or v2. Default is v1. Changing this updates the existing policy.
    lifetimes VpnaasIkePolicyLifetime[]
    optional → The lifetime of the security association. Consists of Unit and Value.
    name string
    optional string → The name of the policy. Changing this updates the name of the existing policy.
    pfs string
    optional string → The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5. Changing this updates the existing policy.
    phase1NegotiationMode string
    optional string → The IKE mode. A valid value is main, which is the default. Changing this updates the existing policy.
    region string
    optional string → The region in which to obtain the 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.
    sdn string
    optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.New since v0.5.3.
    timeouts VpnaasIkePolicyTimeouts
    vpnaasIkePolicyId string
    string → ID of the resource.
    auth_algorithm str
    optional 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 str
    optional string → The human-readable description for the policy. Changing this updates the description of the existing policy.
    encryption_algorithm str
    optional 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.
    ike_version str
    optional string → The IKE mode. A valid value is v1 or v2. Default is v1. Changing this updates the existing policy.
    lifetimes Sequence[VpnaasIkePolicyLifetimeArgs]
    optional → The lifetime of the security association. Consists of Unit and Value.
    name str
    optional string → The name of the policy. Changing this updates the name of the existing policy.
    pfs str
    optional string → 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
    optional string → The IKE mode. A valid value is main, which is the default. Changing this updates the existing policy.
    region str
    optional string → The region in which to obtain the 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.
    sdn str
    optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.New since v0.5.3.
    timeouts VpnaasIkePolicyTimeoutsArgs
    vpnaas_ike_policy_id str
    string → ID of the resource.
    authAlgorithm String
    optional 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
    optional string → The human-readable description for the policy. Changing this updates the description of the existing policy.
    encryptionAlgorithm String
    optional 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
    optional string → The IKE mode. A valid value is v1 or v2. Default is v1. Changing this updates the existing policy.
    lifetimes List<Property Map>
    optional → The lifetime of the security association. Consists of Unit and Value.
    name String
    optional string → The name of the policy. Changing this updates the name of the existing policy.
    pfs String
    optional string → The perfect forward secrecy mode. Valid values are Group2, Group5 and Group14. Default is Group5. Changing this updates the existing policy.
    phase1NegotiationMode String
    optional string → The IKE mode. A valid value is main, which is the default. Changing this updates the existing policy.
    region String
    optional string → The region in which to obtain the 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.
    sdn String
    optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.New since v0.5.3.
    timeouts Property Map
    vpnaasIkePolicyId String
    string → ID of the resource.

    Supporting Types

    VpnaasIkePolicyLifetime, VpnaasIkePolicyLifetimeArgs

    Units string
    optional string → The units for the lifetime of the security association. Can be either seconds or kilobytes. Default is seconds.
    Value double
    optional number → The value for the lifetime of the security association. Must be a positive integer. Default is 3600.
    Units string
    optional string → The units for the lifetime of the security association. Can be either seconds or kilobytes. Default is seconds.
    Value float64
    optional number → The value for the lifetime of the security association. Must be a positive integer. Default is 3600.
    units String
    optional string → The units for the lifetime of the security association. Can be either seconds or kilobytes. Default is seconds.
    value Double
    optional number → The value for the lifetime of the security association. Must be a positive integer. Default is 3600.
    units string
    optional string → The units for the lifetime of the security association. Can be either seconds or kilobytes. Default is seconds.
    value number
    optional number → The value for the lifetime of the security association. Must be a positive integer. Default is 3600.
    units str
    optional string → The units for the lifetime of the security association. Can be either seconds or kilobytes. Default is seconds.
    value float
    optional number → The value for the lifetime of the security association. Must be a positive integer. Default is 3600.
    units String
    optional string → The units for the lifetime of the security association. Can be either seconds or kilobytes. Default is seconds.
    value Number
    optional number → The value for the lifetime of the security association. Must be a positive integer. Default is 3600.

    VpnaasIkePolicyTimeouts, VpnaasIkePolicyTimeoutsArgs

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

    Import

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

    $ pulumi import vkcs:index/vpnaasIkePolicy:VpnaasIkePolicy policy_1 832cb7f3-59fe-40cf-8f64-8350ffc03272
    

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

    Package Details

    Repository
    vkcs vk-cs/terraform-provider-vkcs
    License
    Notes
    This Pulumi package is based on the vkcs Terraform Provider.
    vkcs logo
    vkcs 0.9.3 published on Tuesday, Apr 15, 2025 by vk-cs