ibm.IsIpsecPolicy
Explore with Pulumi AI
Create, update, or delete an ipsec policy resource. For more information, about ipsec policy, see creating an IPsec policy.
Note:
VPC infrastructure services are a regional specific based endpoint, by default targets to us-south
. Please make sure to target right region in the provider block as shown in the provider.tf
file, if VPC service is created in region other than us-south
.
provider.tf
import * as pulumi from "@pulumi/pulumi";
import pulumi
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
return await Deployment.RunAsync(() =>
{
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
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) {
}
}
{}
Example Usage
In the following example, you can create a IPsec policy:
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const example = new ibm.IsIpsecPolicy("example", {
authenticationAlgorithm: "sha256",
encryptionAlgorithm: "aes128",
pfs: "disabled",
});
import pulumi
import pulumi_ibm as ibm
example = ibm.IsIpsecPolicy("example",
authentication_algorithm="sha256",
encryption_algorithm="aes128",
pfs="disabled")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.NewIsIpsecPolicy(ctx, "example", &ibm.IsIpsecPolicyArgs{
AuthenticationAlgorithm: pulumi.String("sha256"),
EncryptionAlgorithm: pulumi.String("aes128"),
Pfs: pulumi.String("disabled"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var example = new Ibm.IsIpsecPolicy("example", new()
{
AuthenticationAlgorithm = "sha256",
EncryptionAlgorithm = "aes128",
Pfs = "disabled",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsIpsecPolicy;
import com.pulumi.ibm.IsIpsecPolicyArgs;
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 example = new IsIpsecPolicy("example", IsIpsecPolicyArgs.builder()
.authenticationAlgorithm("sha256")
.encryptionAlgorithm("aes128")
.pfs("disabled")
.build());
}
}
resources:
example:
type: ibm:IsIpsecPolicy
properties:
authenticationAlgorithm: sha256
encryptionAlgorithm: aes128
pfs: disabled
Create IsIpsecPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IsIpsecPolicy(name: string, args: IsIpsecPolicyArgs, opts?: CustomResourceOptions);
@overload
def IsIpsecPolicy(resource_name: str,
args: IsIpsecPolicyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IsIpsecPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
authentication_algorithm: Optional[str] = None,
encryption_algorithm: Optional[str] = None,
pfs: Optional[str] = None,
is_ipsec_policy_id: Optional[str] = None,
key_lifetime: Optional[float] = None,
name: Optional[str] = None,
resource_group: Optional[str] = None)
func NewIsIpsecPolicy(ctx *Context, name string, args IsIpsecPolicyArgs, opts ...ResourceOption) (*IsIpsecPolicy, error)
public IsIpsecPolicy(string name, IsIpsecPolicyArgs args, CustomResourceOptions? opts = null)
public IsIpsecPolicy(String name, IsIpsecPolicyArgs args)
public IsIpsecPolicy(String name, IsIpsecPolicyArgs args, CustomResourceOptions options)
type: ibm:IsIpsecPolicy
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 IsIpsecPolicyArgs
- 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 IsIpsecPolicyArgs
- 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 IsIpsecPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IsIpsecPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IsIpsecPolicyArgs
- 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 isIpsecPolicyResource = new Ibm.IsIpsecPolicy("isIpsecPolicyResource", new()
{
AuthenticationAlgorithm = "string",
EncryptionAlgorithm = "string",
Pfs = "string",
IsIpsecPolicyId = "string",
KeyLifetime = 0,
Name = "string",
ResourceGroup = "string",
});
example, err := ibm.NewIsIpsecPolicy(ctx, "isIpsecPolicyResource", &ibm.IsIpsecPolicyArgs{
AuthenticationAlgorithm: pulumi.String("string"),
EncryptionAlgorithm: pulumi.String("string"),
Pfs: pulumi.String("string"),
IsIpsecPolicyId: pulumi.String("string"),
KeyLifetime: pulumi.Float64(0),
Name: pulumi.String("string"),
ResourceGroup: pulumi.String("string"),
})
var isIpsecPolicyResource = new IsIpsecPolicy("isIpsecPolicyResource", IsIpsecPolicyArgs.builder()
.authenticationAlgorithm("string")
.encryptionAlgorithm("string")
.pfs("string")
.isIpsecPolicyId("string")
.keyLifetime(0)
.name("string")
.resourceGroup("string")
.build());
is_ipsec_policy_resource = ibm.IsIpsecPolicy("isIpsecPolicyResource",
authentication_algorithm="string",
encryption_algorithm="string",
pfs="string",
is_ipsec_policy_id="string",
key_lifetime=0,
name="string",
resource_group="string")
const isIpsecPolicyResource = new ibm.IsIpsecPolicy("isIpsecPolicyResource", {
authenticationAlgorithm: "string",
encryptionAlgorithm: "string",
pfs: "string",
isIpsecPolicyId: "string",
keyLifetime: 0,
name: "string",
resourceGroup: "string",
});
type: ibm:IsIpsecPolicy
properties:
authenticationAlgorithm: string
encryptionAlgorithm: string
isIpsecPolicyId: string
keyLifetime: 0
name: string
pfs: string
resourceGroup: string
IsIpsecPolicy 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 IsIpsecPolicy resource accepts the following input properties:
- Authentication
Algorithm string Enter the algorithm that you want to use to authenticate
IPSec
peers. Available options aresha256
,sha512
,sha384
,disabled
.Note
authentication_algorithm
must be set todisabled
if and only if theencryption_algorithm
isaes128gcm16
,aes192gcm16
, oraes256gcm16
- Encryption
Algorithm string - Enter the algorithm that you want to use to encrypt data. Available options are:
aes128
,aes192
,aes256
,aes128gcm16
,aes192gcm16
,aes256gcm16
- Pfs string
- Enter the Perfect Forward Secrecy protocol that you want to use during a session. Available options are
disabled
,group_2
,group_5
, andgroup_14
. - Is
Ipsec stringPolicy Id - (String) The unique identifier of a VPN connection.
- Key
Lifetime double - Enter the time in seconds that your encryption key can be used before it expires. You must enter a number between 300 and 86400. If you do not specify this option, 3600 seconds is used.
- Name string
- Enter the name for your IPSec policy.
- Resource
Group string - Enter the ID of the resource group where you want to create the IPSec policy. To list available resource groups, run
ibmcloud resource groups
. If you do not specify a resource group, the IPSec policy is created in thedefault
resource group.
- Authentication
Algorithm string Enter the algorithm that you want to use to authenticate
IPSec
peers. Available options aresha256
,sha512
,sha384
,disabled
.Note
authentication_algorithm
must be set todisabled
if and only if theencryption_algorithm
isaes128gcm16
,aes192gcm16
, oraes256gcm16
- Encryption
Algorithm string - Enter the algorithm that you want to use to encrypt data. Available options are:
aes128
,aes192
,aes256
,aes128gcm16
,aes192gcm16
,aes256gcm16
- Pfs string
- Enter the Perfect Forward Secrecy protocol that you want to use during a session. Available options are
disabled
,group_2
,group_5
, andgroup_14
. - Is
Ipsec stringPolicy Id - (String) The unique identifier of a VPN connection.
- Key
Lifetime float64 - Enter the time in seconds that your encryption key can be used before it expires. You must enter a number between 300 and 86400. If you do not specify this option, 3600 seconds is used.
- Name string
- Enter the name for your IPSec policy.
- Resource
Group string - Enter the ID of the resource group where you want to create the IPSec policy. To list available resource groups, run
ibmcloud resource groups
. If you do not specify a resource group, the IPSec policy is created in thedefault
resource group.
- authentication
Algorithm String Enter the algorithm that you want to use to authenticate
IPSec
peers. Available options aresha256
,sha512
,sha384
,disabled
.Note
authentication_algorithm
must be set todisabled
if and only if theencryption_algorithm
isaes128gcm16
,aes192gcm16
, oraes256gcm16
- encryption
Algorithm String - Enter the algorithm that you want to use to encrypt data. Available options are:
aes128
,aes192
,aes256
,aes128gcm16
,aes192gcm16
,aes256gcm16
- pfs String
- Enter the Perfect Forward Secrecy protocol that you want to use during a session. Available options are
disabled
,group_2
,group_5
, andgroup_14
. - is
Ipsec StringPolicy Id - (String) The unique identifier of a VPN connection.
- key
Lifetime Double - Enter the time in seconds that your encryption key can be used before it expires. You must enter a number between 300 and 86400. If you do not specify this option, 3600 seconds is used.
- name String
- Enter the name for your IPSec policy.
- resource
Group String - Enter the ID of the resource group where you want to create the IPSec policy. To list available resource groups, run
ibmcloud resource groups
. If you do not specify a resource group, the IPSec policy is created in thedefault
resource group.
- authentication
Algorithm string Enter the algorithm that you want to use to authenticate
IPSec
peers. Available options aresha256
,sha512
,sha384
,disabled
.Note
authentication_algorithm
must be set todisabled
if and only if theencryption_algorithm
isaes128gcm16
,aes192gcm16
, oraes256gcm16
- encryption
Algorithm string - Enter the algorithm that you want to use to encrypt data. Available options are:
aes128
,aes192
,aes256
,aes128gcm16
,aes192gcm16
,aes256gcm16
- pfs string
- Enter the Perfect Forward Secrecy protocol that you want to use during a session. Available options are
disabled
,group_2
,group_5
, andgroup_14
. - is
Ipsec stringPolicy Id - (String) The unique identifier of a VPN connection.
- key
Lifetime number - Enter the time in seconds that your encryption key can be used before it expires. You must enter a number between 300 and 86400. If you do not specify this option, 3600 seconds is used.
- name string
- Enter the name for your IPSec policy.
- resource
Group string - Enter the ID of the resource group where you want to create the IPSec policy. To list available resource groups, run
ibmcloud resource groups
. If you do not specify a resource group, the IPSec policy is created in thedefault
resource group.
- authentication_
algorithm str Enter the algorithm that you want to use to authenticate
IPSec
peers. Available options aresha256
,sha512
,sha384
,disabled
.Note
authentication_algorithm
must be set todisabled
if and only if theencryption_algorithm
isaes128gcm16
,aes192gcm16
, oraes256gcm16
- encryption_
algorithm str - Enter the algorithm that you want to use to encrypt data. Available options are:
aes128
,aes192
,aes256
,aes128gcm16
,aes192gcm16
,aes256gcm16
- pfs str
- Enter the Perfect Forward Secrecy protocol that you want to use during a session. Available options are
disabled
,group_2
,group_5
, andgroup_14
. - is_
ipsec_ strpolicy_ id - (String) The unique identifier of a VPN connection.
- key_
lifetime float - Enter the time in seconds that your encryption key can be used before it expires. You must enter a number between 300 and 86400. If you do not specify this option, 3600 seconds is used.
- name str
- Enter the name for your IPSec policy.
- resource_
group str - Enter the ID of the resource group where you want to create the IPSec policy. To list available resource groups, run
ibmcloud resource groups
. If you do not specify a resource group, the IPSec policy is created in thedefault
resource group.
- authentication
Algorithm String Enter the algorithm that you want to use to authenticate
IPSec
peers. Available options aresha256
,sha512
,sha384
,disabled
.Note
authentication_algorithm
must be set todisabled
if and only if theencryption_algorithm
isaes128gcm16
,aes192gcm16
, oraes256gcm16
- encryption
Algorithm String - Enter the algorithm that you want to use to encrypt data. Available options are:
aes128
,aes192
,aes256
,aes128gcm16
,aes192gcm16
,aes256gcm16
- pfs String
- Enter the Perfect Forward Secrecy protocol that you want to use during a session. Available options are
disabled
,group_2
,group_5
, andgroup_14
. - is
Ipsec StringPolicy Id - (String) The unique identifier of a VPN connection.
- key
Lifetime Number - Enter the time in seconds that your encryption key can be used before it expires. You must enter a number between 300 and 86400. If you do not specify this option, 3600 seconds is used.
- name String
- Enter the name for your IPSec policy.
- resource
Group String - Enter the ID of the resource group where you want to create the IPSec policy. To list available resource groups, run
ibmcloud resource groups
. If you do not specify a resource group, the IPSec policy is created in thedefault
resource group.
Outputs
All input properties are implicitly available as output properties. Additionally, the IsIpsecPolicy resource produces the following output properties:
- Encapsulation
Mode string - (String) The encapsulation mode that was set for your IPSec policy. Only
tunnel
is supported. - Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Controller stringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- Resource
Crn string - The crn of the resource
- Resource
Group stringName - The resource group name in which resource is provisioned
- Resource
Name string - The name of the resource
- Transform
Protocol string - (String) The transform protocol that is used in your IPSec policy. Only the
esp
protocol is supported that uses the triple DES (3DES) encryption algorithm to encrypt your data. - Vpn
Connections List<IsIpsec Policy Vpn Connection> - (List) A collection of VPN connections that use the IPSec policy.
- Encapsulation
Mode string - (String) The encapsulation mode that was set for your IPSec policy. Only
tunnel
is supported. - Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Controller stringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- Resource
Crn string - The crn of the resource
- Resource
Group stringName - The resource group name in which resource is provisioned
- Resource
Name string - The name of the resource
- Transform
Protocol string - (String) The transform protocol that is used in your IPSec policy. Only the
esp
protocol is supported that uses the triple DES (3DES) encryption algorithm to encrypt your data. - Vpn
Connections []IsIpsec Policy Vpn Connection - (List) A collection of VPN connections that use the IPSec policy.
- encapsulation
Mode String - (String) The encapsulation mode that was set for your IPSec policy. Only
tunnel
is supported. - id String
- The provider-assigned unique ID for this managed resource.
- resource
Controller StringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- resource
Crn String - The crn of the resource
- resource
Group StringName - The resource group name in which resource is provisioned
- resource
Name String - The name of the resource
- transform
Protocol String - (String) The transform protocol that is used in your IPSec policy. Only the
esp
protocol is supported that uses the triple DES (3DES) encryption algorithm to encrypt your data. - vpn
Connections List<IsIpsec Policy Vpn Connection> - (List) A collection of VPN connections that use the IPSec policy.
- encapsulation
Mode string - (String) The encapsulation mode that was set for your IPSec policy. Only
tunnel
is supported. - id string
- The provider-assigned unique ID for this managed resource.
- resource
Controller stringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- resource
Crn string - The crn of the resource
- resource
Group stringName - The resource group name in which resource is provisioned
- resource
Name string - The name of the resource
- transform
Protocol string - (String) The transform protocol that is used in your IPSec policy. Only the
esp
protocol is supported that uses the triple DES (3DES) encryption algorithm to encrypt your data. - vpn
Connections IsIpsec Policy Vpn Connection[] - (List) A collection of VPN connections that use the IPSec policy.
- encapsulation_
mode str - (String) The encapsulation mode that was set for your IPSec policy. Only
tunnel
is supported. - id str
- The provider-assigned unique ID for this managed resource.
- resource_
controller_ strurl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- resource_
crn str - The crn of the resource
- resource_
group_ strname - The resource group name in which resource is provisioned
- resource_
name str - The name of the resource
- transform_
protocol str - (String) The transform protocol that is used in your IPSec policy. Only the
esp
protocol is supported that uses the triple DES (3DES) encryption algorithm to encrypt your data. - vpn_
connections Sequence[IsIpsec Policy Vpn Connection] - (List) A collection of VPN connections that use the IPSec policy.
- encapsulation
Mode String - (String) The encapsulation mode that was set for your IPSec policy. Only
tunnel
is supported. - id String
- The provider-assigned unique ID for this managed resource.
- resource
Controller StringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- resource
Crn String - The crn of the resource
- resource
Group StringName - The resource group name in which resource is provisioned
- resource
Name String - The name of the resource
- transform
Protocol String - (String) The transform protocol that is used in your IPSec policy. Only the
esp
protocol is supported that uses the triple DES (3DES) encryption algorithm to encrypt your data. - vpn
Connections List<Property Map> - (List) A collection of VPN connections that use the IPSec policy.
Look up Existing IsIpsecPolicy Resource
Get an existing IsIpsecPolicy 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?: IsIpsecPolicyState, opts?: CustomResourceOptions): IsIpsecPolicy
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
authentication_algorithm: Optional[str] = None,
encapsulation_mode: Optional[str] = None,
encryption_algorithm: Optional[str] = None,
is_ipsec_policy_id: Optional[str] = None,
key_lifetime: Optional[float] = None,
name: Optional[str] = None,
pfs: Optional[str] = None,
resource_controller_url: Optional[str] = None,
resource_crn: Optional[str] = None,
resource_group: Optional[str] = None,
resource_group_name: Optional[str] = None,
resource_name: Optional[str] = None,
transform_protocol: Optional[str] = None,
vpn_connections: Optional[Sequence[IsIpsecPolicyVpnConnectionArgs]] = None) -> IsIpsecPolicy
func GetIsIpsecPolicy(ctx *Context, name string, id IDInput, state *IsIpsecPolicyState, opts ...ResourceOption) (*IsIpsecPolicy, error)
public static IsIpsecPolicy Get(string name, Input<string> id, IsIpsecPolicyState? state, CustomResourceOptions? opts = null)
public static IsIpsecPolicy get(String name, Output<String> id, IsIpsecPolicyState state, CustomResourceOptions options)
resources: _: type: ibm:IsIpsecPolicy 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.
- Authentication
Algorithm string Enter the algorithm that you want to use to authenticate
IPSec
peers. Available options aresha256
,sha512
,sha384
,disabled
.Note
authentication_algorithm
must be set todisabled
if and only if theencryption_algorithm
isaes128gcm16
,aes192gcm16
, oraes256gcm16
- Encapsulation
Mode string - (String) The encapsulation mode that was set for your IPSec policy. Only
tunnel
is supported. - Encryption
Algorithm string - Enter the algorithm that you want to use to encrypt data. Available options are:
aes128
,aes192
,aes256
,aes128gcm16
,aes192gcm16
,aes256gcm16
- Is
Ipsec stringPolicy Id - (String) The unique identifier of a VPN connection.
- Key
Lifetime double - Enter the time in seconds that your encryption key can be used before it expires. You must enter a number between 300 and 86400. If you do not specify this option, 3600 seconds is used.
- Name string
- Enter the name for your IPSec policy.
- Pfs string
- Enter the Perfect Forward Secrecy protocol that you want to use during a session. Available options are
disabled
,group_2
,group_5
, andgroup_14
. - Resource
Controller stringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- Resource
Crn string - The crn of the resource
- Resource
Group string - Enter the ID of the resource group where you want to create the IPSec policy. To list available resource groups, run
ibmcloud resource groups
. If you do not specify a resource group, the IPSec policy is created in thedefault
resource group. - Resource
Group stringName - The resource group name in which resource is provisioned
- Resource
Name string - The name of the resource
- Transform
Protocol string - (String) The transform protocol that is used in your IPSec policy. Only the
esp
protocol is supported that uses the triple DES (3DES) encryption algorithm to encrypt your data. - Vpn
Connections List<IsIpsec Policy Vpn Connection> - (List) A collection of VPN connections that use the IPSec policy.
- Authentication
Algorithm string Enter the algorithm that you want to use to authenticate
IPSec
peers. Available options aresha256
,sha512
,sha384
,disabled
.Note
authentication_algorithm
must be set todisabled
if and only if theencryption_algorithm
isaes128gcm16
,aes192gcm16
, oraes256gcm16
- Encapsulation
Mode string - (String) The encapsulation mode that was set for your IPSec policy. Only
tunnel
is supported. - Encryption
Algorithm string - Enter the algorithm that you want to use to encrypt data. Available options are:
aes128
,aes192
,aes256
,aes128gcm16
,aes192gcm16
,aes256gcm16
- Is
Ipsec stringPolicy Id - (String) The unique identifier of a VPN connection.
- Key
Lifetime float64 - Enter the time in seconds that your encryption key can be used before it expires. You must enter a number between 300 and 86400. If you do not specify this option, 3600 seconds is used.
- Name string
- Enter the name for your IPSec policy.
- Pfs string
- Enter the Perfect Forward Secrecy protocol that you want to use during a session. Available options are
disabled
,group_2
,group_5
, andgroup_14
. - Resource
Controller stringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- Resource
Crn string - The crn of the resource
- Resource
Group string - Enter the ID of the resource group where you want to create the IPSec policy. To list available resource groups, run
ibmcloud resource groups
. If you do not specify a resource group, the IPSec policy is created in thedefault
resource group. - Resource
Group stringName - The resource group name in which resource is provisioned
- Resource
Name string - The name of the resource
- Transform
Protocol string - (String) The transform protocol that is used in your IPSec policy. Only the
esp
protocol is supported that uses the triple DES (3DES) encryption algorithm to encrypt your data. - Vpn
Connections []IsIpsec Policy Vpn Connection Args - (List) A collection of VPN connections that use the IPSec policy.
- authentication
Algorithm String Enter the algorithm that you want to use to authenticate
IPSec
peers. Available options aresha256
,sha512
,sha384
,disabled
.Note
authentication_algorithm
must be set todisabled
if and only if theencryption_algorithm
isaes128gcm16
,aes192gcm16
, oraes256gcm16
- encapsulation
Mode String - (String) The encapsulation mode that was set for your IPSec policy. Only
tunnel
is supported. - encryption
Algorithm String - Enter the algorithm that you want to use to encrypt data. Available options are:
aes128
,aes192
,aes256
,aes128gcm16
,aes192gcm16
,aes256gcm16
- is
Ipsec StringPolicy Id - (String) The unique identifier of a VPN connection.
- key
Lifetime Double - Enter the time in seconds that your encryption key can be used before it expires. You must enter a number between 300 and 86400. If you do not specify this option, 3600 seconds is used.
- name String
- Enter the name for your IPSec policy.
- pfs String
- Enter the Perfect Forward Secrecy protocol that you want to use during a session. Available options are
disabled
,group_2
,group_5
, andgroup_14
. - resource
Controller StringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- resource
Crn String - The crn of the resource
- resource
Group String - Enter the ID of the resource group where you want to create the IPSec policy. To list available resource groups, run
ibmcloud resource groups
. If you do not specify a resource group, the IPSec policy is created in thedefault
resource group. - resource
Group StringName - The resource group name in which resource is provisioned
- resource
Name String - The name of the resource
- transform
Protocol String - (String) The transform protocol that is used in your IPSec policy. Only the
esp
protocol is supported that uses the triple DES (3DES) encryption algorithm to encrypt your data. - vpn
Connections List<IsIpsec Policy Vpn Connection> - (List) A collection of VPN connections that use the IPSec policy.
- authentication
Algorithm string Enter the algorithm that you want to use to authenticate
IPSec
peers. Available options aresha256
,sha512
,sha384
,disabled
.Note
authentication_algorithm
must be set todisabled
if and only if theencryption_algorithm
isaes128gcm16
,aes192gcm16
, oraes256gcm16
- encapsulation
Mode string - (String) The encapsulation mode that was set for your IPSec policy. Only
tunnel
is supported. - encryption
Algorithm string - Enter the algorithm that you want to use to encrypt data. Available options are:
aes128
,aes192
,aes256
,aes128gcm16
,aes192gcm16
,aes256gcm16
- is
Ipsec stringPolicy Id - (String) The unique identifier of a VPN connection.
- key
Lifetime number - Enter the time in seconds that your encryption key can be used before it expires. You must enter a number between 300 and 86400. If you do not specify this option, 3600 seconds is used.
- name string
- Enter the name for your IPSec policy.
- pfs string
- Enter the Perfect Forward Secrecy protocol that you want to use during a session. Available options are
disabled
,group_2
,group_5
, andgroup_14
. - resource
Controller stringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- resource
Crn string - The crn of the resource
- resource
Group string - Enter the ID of the resource group where you want to create the IPSec policy. To list available resource groups, run
ibmcloud resource groups
. If you do not specify a resource group, the IPSec policy is created in thedefault
resource group. - resource
Group stringName - The resource group name in which resource is provisioned
- resource
Name string - The name of the resource
- transform
Protocol string - (String) The transform protocol that is used in your IPSec policy. Only the
esp
protocol is supported that uses the triple DES (3DES) encryption algorithm to encrypt your data. - vpn
Connections IsIpsec Policy Vpn Connection[] - (List) A collection of VPN connections that use the IPSec policy.
- authentication_
algorithm str Enter the algorithm that you want to use to authenticate
IPSec
peers. Available options aresha256
,sha512
,sha384
,disabled
.Note
authentication_algorithm
must be set todisabled
if and only if theencryption_algorithm
isaes128gcm16
,aes192gcm16
, oraes256gcm16
- encapsulation_
mode str - (String) The encapsulation mode that was set for your IPSec policy. Only
tunnel
is supported. - encryption_
algorithm str - Enter the algorithm that you want to use to encrypt data. Available options are:
aes128
,aes192
,aes256
,aes128gcm16
,aes192gcm16
,aes256gcm16
- is_
ipsec_ strpolicy_ id - (String) The unique identifier of a VPN connection.
- key_
lifetime float - Enter the time in seconds that your encryption key can be used before it expires. You must enter a number between 300 and 86400. If you do not specify this option, 3600 seconds is used.
- name str
- Enter the name for your IPSec policy.
- pfs str
- Enter the Perfect Forward Secrecy protocol that you want to use during a session. Available options are
disabled
,group_2
,group_5
, andgroup_14
. - resource_
controller_ strurl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- resource_
crn str - The crn of the resource
- resource_
group str - Enter the ID of the resource group where you want to create the IPSec policy. To list available resource groups, run
ibmcloud resource groups
. If you do not specify a resource group, the IPSec policy is created in thedefault
resource group. - resource_
group_ strname - The resource group name in which resource is provisioned
- resource_
name str - The name of the resource
- transform_
protocol str - (String) The transform protocol that is used in your IPSec policy. Only the
esp
protocol is supported that uses the triple DES (3DES) encryption algorithm to encrypt your data. - vpn_
connections Sequence[IsIpsec Policy Vpn Connection Args] - (List) A collection of VPN connections that use the IPSec policy.
- authentication
Algorithm String Enter the algorithm that you want to use to authenticate
IPSec
peers. Available options aresha256
,sha512
,sha384
,disabled
.Note
authentication_algorithm
must be set todisabled
if and only if theencryption_algorithm
isaes128gcm16
,aes192gcm16
, oraes256gcm16
- encapsulation
Mode String - (String) The encapsulation mode that was set for your IPSec policy. Only
tunnel
is supported. - encryption
Algorithm String - Enter the algorithm that you want to use to encrypt data. Available options are:
aes128
,aes192
,aes256
,aes128gcm16
,aes192gcm16
,aes256gcm16
- is
Ipsec StringPolicy Id - (String) The unique identifier of a VPN connection.
- key
Lifetime Number - Enter the time in seconds that your encryption key can be used before it expires. You must enter a number between 300 and 86400. If you do not specify this option, 3600 seconds is used.
- name String
- Enter the name for your IPSec policy.
- pfs String
- Enter the Perfect Forward Secrecy protocol that you want to use during a session. Available options are
disabled
,group_2
,group_5
, andgroup_14
. - resource
Controller StringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- resource
Crn String - The crn of the resource
- resource
Group String - Enter the ID of the resource group where you want to create the IPSec policy. To list available resource groups, run
ibmcloud resource groups
. If you do not specify a resource group, the IPSec policy is created in thedefault
resource group. - resource
Group StringName - The resource group name in which resource is provisioned
- resource
Name String - The name of the resource
- transform
Protocol String - (String) The transform protocol that is used in your IPSec policy. Only the
esp
protocol is supported that uses the triple DES (3DES) encryption algorithm to encrypt your data. - vpn
Connections List<Property Map> - (List) A collection of VPN connections that use the IPSec policy.
Supporting Types
IsIpsecPolicyVpnConnection, IsIpsecPolicyVpnConnectionArgs
Import
The ibm_is_ipsec_policy
resource can be imported by using ID.
Example
$ pulumi import ibm:index/isIpsecPolicy:IsIpsecPolicy example d7bec597-4726-451f-8a63-e62e6f19c32c
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.