ibm.IsIkePolicy
Explore with Pulumi AI
Create, update, or cancel an Internet Key Exchange (IKE) policy. IKE is an IPSec (Internet Protocol Security) standard protocol that is used to ensure secure communication over the VPC VPN service. For more information, see Using VPC with your VPC.
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 IKE policy:
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const example = new ibm.IsIkePolicy("example", {
authenticationAlgorithm: "sha256",
dhGroup: 14,
encryptionAlgorithm: "aes128",
ikeVersion: 1,
});
import pulumi
import pulumi_ibm as ibm
example = ibm.IsIkePolicy("example",
authentication_algorithm="sha256",
dh_group=14,
encryption_algorithm="aes128",
ike_version=1)
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.NewIsIkePolicy(ctx, "example", &ibm.IsIkePolicyArgs{
AuthenticationAlgorithm: pulumi.String("sha256"),
DhGroup: pulumi.Float64(14),
EncryptionAlgorithm: pulumi.String("aes128"),
IkeVersion: pulumi.Float64(1),
})
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.IsIkePolicy("example", new()
{
AuthenticationAlgorithm = "sha256",
DhGroup = 14,
EncryptionAlgorithm = "aes128",
IkeVersion = 1,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsIkePolicy;
import com.pulumi.ibm.IsIkePolicyArgs;
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 IsIkePolicy("example", IsIkePolicyArgs.builder()
.authenticationAlgorithm("sha256")
.dhGroup(14)
.encryptionAlgorithm("aes128")
.ikeVersion(1)
.build());
}
}
resources:
example:
type: ibm:IsIkePolicy
properties:
authenticationAlgorithm: sha256
dhGroup: 14
encryptionAlgorithm: aes128
ikeVersion: 1
Create IsIkePolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IsIkePolicy(name: string, args: IsIkePolicyArgs, opts?: CustomResourceOptions);
@overload
def IsIkePolicy(resource_name: str,
args: IsIkePolicyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IsIkePolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
authentication_algorithm: Optional[str] = None,
dh_group: Optional[float] = None,
encryption_algorithm: Optional[str] = None,
ike_version: Optional[float] = None,
is_ike_policy_id: Optional[str] = None,
key_lifetime: Optional[float] = None,
name: Optional[str] = None,
resource_group: Optional[str] = None)
func NewIsIkePolicy(ctx *Context, name string, args IsIkePolicyArgs, opts ...ResourceOption) (*IsIkePolicy, error)
public IsIkePolicy(string name, IsIkePolicyArgs args, CustomResourceOptions? opts = null)
public IsIkePolicy(String name, IsIkePolicyArgs args)
public IsIkePolicy(String name, IsIkePolicyArgs args, CustomResourceOptions options)
type: ibm:IsIkePolicy
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 IsIkePolicyArgs
- 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 IsIkePolicyArgs
- 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 IsIkePolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IsIkePolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IsIkePolicyArgs
- 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 isIkePolicyResource = new Ibm.IsIkePolicy("isIkePolicyResource", new()
{
AuthenticationAlgorithm = "string",
DhGroup = 0,
EncryptionAlgorithm = "string",
IkeVersion = 0,
IsIkePolicyId = "string",
KeyLifetime = 0,
Name = "string",
ResourceGroup = "string",
});
example, err := ibm.NewIsIkePolicy(ctx, "isIkePolicyResource", &ibm.IsIkePolicyArgs{
AuthenticationAlgorithm: pulumi.String("string"),
DhGroup: pulumi.Float64(0),
EncryptionAlgorithm: pulumi.String("string"),
IkeVersion: pulumi.Float64(0),
IsIkePolicyId: pulumi.String("string"),
KeyLifetime: pulumi.Float64(0),
Name: pulumi.String("string"),
ResourceGroup: pulumi.String("string"),
})
var isIkePolicyResource = new IsIkePolicy("isIkePolicyResource", IsIkePolicyArgs.builder()
.authenticationAlgorithm("string")
.dhGroup(0)
.encryptionAlgorithm("string")
.ikeVersion(0)
.isIkePolicyId("string")
.keyLifetime(0)
.name("string")
.resourceGroup("string")
.build());
is_ike_policy_resource = ibm.IsIkePolicy("isIkePolicyResource",
authentication_algorithm="string",
dh_group=0,
encryption_algorithm="string",
ike_version=0,
is_ike_policy_id="string",
key_lifetime=0,
name="string",
resource_group="string")
const isIkePolicyResource = new ibm.IsIkePolicy("isIkePolicyResource", {
authenticationAlgorithm: "string",
dhGroup: 0,
encryptionAlgorithm: "string",
ikeVersion: 0,
isIkePolicyId: "string",
keyLifetime: 0,
name: "string",
resourceGroup: "string",
});
type: ibm:IsIkePolicy
properties:
authenticationAlgorithm: string
dhGroup: 0
encryptionAlgorithm: string
ikeVersion: 0
isIkePolicyId: string
keyLifetime: 0
name: string
resourceGroup: string
IsIkePolicy 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 IsIkePolicy resource accepts the following input properties:
- Authentication
Algorithm string - Enter the algorithm that you want to use to authenticate
IKE
peers. Available options aresha256
,sha512
,sha384
. - Dh
Group double - Enter the Diffie-Hellman group that you want to use for the encryption key. Available enumeration type are
14
,19
,15
,16
,17
,18
,20
,21
,22
,23
,24
,31
- Encryption
Algorithm string - Enter the algorithm that you want to use to encrypt data. Available options are:
aes128
,aes192
,aes256
. - Ike
Version double - Enter the IKE protocol version that you want to use. Available options are
1
, or2
. - Is
Ike stringPolicy Id - (String) The unique identifier of a VPN connection.
- Key
Lifetime double - The key lifetime in seconds.
Maximum: 86400
,Minimum: 1800
. Default is28800
. - Name string
- Enter a name for your IKE policy.
- Resource
Group string - Enter the ID of the resource group where you want to create the IKE policy. To list available resource groups, run
ibmcloud resource groups
. If you do not specify a resource group, the IKE policy is created in thedefault
resource group.
- Authentication
Algorithm string - Enter the algorithm that you want to use to authenticate
IKE
peers. Available options aresha256
,sha512
,sha384
. - Dh
Group float64 - Enter the Diffie-Hellman group that you want to use for the encryption key. Available enumeration type are
14
,19
,15
,16
,17
,18
,20
,21
,22
,23
,24
,31
- Encryption
Algorithm string - Enter the algorithm that you want to use to encrypt data. Available options are:
aes128
,aes192
,aes256
. - Ike
Version float64 - Enter the IKE protocol version that you want to use. Available options are
1
, or2
. - Is
Ike stringPolicy Id - (String) The unique identifier of a VPN connection.
- Key
Lifetime float64 - The key lifetime in seconds.
Maximum: 86400
,Minimum: 1800
. Default is28800
. - Name string
- Enter a name for your IKE policy.
- Resource
Group string - Enter the ID of the resource group where you want to create the IKE policy. To list available resource groups, run
ibmcloud resource groups
. If you do not specify a resource group, the IKE policy is created in thedefault
resource group.
- authentication
Algorithm String - Enter the algorithm that you want to use to authenticate
IKE
peers. Available options aresha256
,sha512
,sha384
. - dh
Group Double - Enter the Diffie-Hellman group that you want to use for the encryption key. Available enumeration type are
14
,19
,15
,16
,17
,18
,20
,21
,22
,23
,24
,31
- encryption
Algorithm String - Enter the algorithm that you want to use to encrypt data. Available options are:
aes128
,aes192
,aes256
. - ike
Version Double - Enter the IKE protocol version that you want to use. Available options are
1
, or2
. - is
Ike StringPolicy Id - (String) The unique identifier of a VPN connection.
- key
Lifetime Double - The key lifetime in seconds.
Maximum: 86400
,Minimum: 1800
. Default is28800
. - name String
- Enter a name for your IKE policy.
- resource
Group String - Enter the ID of the resource group where you want to create the IKE policy. To list available resource groups, run
ibmcloud resource groups
. If you do not specify a resource group, the IKE policy is created in thedefault
resource group.
- authentication
Algorithm string - Enter the algorithm that you want to use to authenticate
IKE
peers. Available options aresha256
,sha512
,sha384
. - dh
Group number - Enter the Diffie-Hellman group that you want to use for the encryption key. Available enumeration type are
14
,19
,15
,16
,17
,18
,20
,21
,22
,23
,24
,31
- encryption
Algorithm string - Enter the algorithm that you want to use to encrypt data. Available options are:
aes128
,aes192
,aes256
. - ike
Version number - Enter the IKE protocol version that you want to use. Available options are
1
, or2
. - is
Ike stringPolicy Id - (String) The unique identifier of a VPN connection.
- key
Lifetime number - The key lifetime in seconds.
Maximum: 86400
,Minimum: 1800
. Default is28800
. - name string
- Enter a name for your IKE policy.
- resource
Group string - Enter the ID of the resource group where you want to create the IKE policy. To list available resource groups, run
ibmcloud resource groups
. If you do not specify a resource group, the IKE policy is created in thedefault
resource group.
- authentication_
algorithm str - Enter the algorithm that you want to use to authenticate
IKE
peers. Available options aresha256
,sha512
,sha384
. - dh_
group float - Enter the Diffie-Hellman group that you want to use for the encryption key. Available enumeration type are
14
,19
,15
,16
,17
,18
,20
,21
,22
,23
,24
,31
- encryption_
algorithm str - Enter the algorithm that you want to use to encrypt data. Available options are:
aes128
,aes192
,aes256
. - ike_
version float - Enter the IKE protocol version that you want to use. Available options are
1
, or2
. - is_
ike_ strpolicy_ id - (String) The unique identifier of a VPN connection.
- key_
lifetime float - The key lifetime in seconds.
Maximum: 86400
,Minimum: 1800
. Default is28800
. - name str
- Enter a name for your IKE policy.
- resource_
group str - Enter the ID of the resource group where you want to create the IKE policy. To list available resource groups, run
ibmcloud resource groups
. If you do not specify a resource group, the IKE policy is created in thedefault
resource group.
- authentication
Algorithm String - Enter the algorithm that you want to use to authenticate
IKE
peers. Available options aresha256
,sha512
,sha384
. - dh
Group Number - Enter the Diffie-Hellman group that you want to use for the encryption key. Available enumeration type are
14
,19
,15
,16
,17
,18
,20
,21
,22
,23
,24
,31
- encryption
Algorithm String - Enter the algorithm that you want to use to encrypt data. Available options are:
aes128
,aes192
,aes256
. - ike
Version Number - Enter the IKE protocol version that you want to use. Available options are
1
, or2
. - is
Ike StringPolicy Id - (String) The unique identifier of a VPN connection.
- key
Lifetime Number - The key lifetime in seconds.
Maximum: 86400
,Minimum: 1800
. Default is28800
. - name String
- Enter a name for your IKE policy.
- resource
Group String - Enter the ID of the resource group where you want to create the IKE policy. To list available resource groups, run
ibmcloud resource groups
. If you do not specify a resource group, the IKE policy is created in thedefault
resource group.
Outputs
All input properties are implicitly available as output properties. Additionally, the IsIkePolicy resource produces the following output properties:
- Href string
- (String) The VPN connection's canonical URL.
- Id string
- The provider-assigned unique ID for this managed resource.
- Negotiation
Mode string - (String) The IKE negotiation mode that was set for your IKE policy. Only
main
is supported. - Resource
Controller stringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- Resource
Group stringName - The resource group name in which resource is provisioned
- Resource
Name string - The name of the resource
- Vpn
Connections List<IsIke Policy Vpn Connection> - List - A collection of VPN connections that use the IKE policy.
- Href string
- (String) The VPN connection's canonical URL.
- Id string
- The provider-assigned unique ID for this managed resource.
- Negotiation
Mode string - (String) The IKE negotiation mode that was set for your IKE policy. Only
main
is supported. - Resource
Controller stringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- Resource
Group stringName - The resource group name in which resource is provisioned
- Resource
Name string - The name of the resource
- Vpn
Connections []IsIke Policy Vpn Connection - List - A collection of VPN connections that use the IKE policy.
- href String
- (String) The VPN connection's canonical URL.
- id String
- The provider-assigned unique ID for this managed resource.
- negotiation
Mode String - (String) The IKE negotiation mode that was set for your IKE policy. Only
main
is supported. - resource
Controller StringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- resource
Group StringName - The resource group name in which resource is provisioned
- resource
Name String - The name of the resource
- vpn
Connections List<IsIke Policy Vpn Connection> - List - A collection of VPN connections that use the IKE policy.
- href string
- (String) The VPN connection's canonical URL.
- id string
- The provider-assigned unique ID for this managed resource.
- negotiation
Mode string - (String) The IKE negotiation mode that was set for your IKE policy. Only
main
is supported. - resource
Controller stringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- resource
Group stringName - The resource group name in which resource is provisioned
- resource
Name string - The name of the resource
- vpn
Connections IsIke Policy Vpn Connection[] - List - A collection of VPN connections that use the IKE policy.
- href str
- (String) The VPN connection's canonical URL.
- id str
- The provider-assigned unique ID for this managed resource.
- negotiation_
mode str - (String) The IKE negotiation mode that was set for your IKE policy. Only
main
is supported. - resource_
controller_ strurl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- resource_
group_ strname - The resource group name in which resource is provisioned
- resource_
name str - The name of the resource
- vpn_
connections Sequence[IsIke Policy Vpn Connection] - List - A collection of VPN connections that use the IKE policy.
- href String
- (String) The VPN connection's canonical URL.
- id String
- The provider-assigned unique ID for this managed resource.
- negotiation
Mode String - (String) The IKE negotiation mode that was set for your IKE policy. Only
main
is supported. - resource
Controller StringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- resource
Group StringName - The resource group name in which resource is provisioned
- resource
Name String - The name of the resource
- vpn
Connections List<Property Map> - List - A collection of VPN connections that use the IKE policy.
Look up Existing IsIkePolicy Resource
Get an existing IsIkePolicy 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?: IsIkePolicyState, opts?: CustomResourceOptions): IsIkePolicy
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
authentication_algorithm: Optional[str] = None,
dh_group: Optional[float] = None,
encryption_algorithm: Optional[str] = None,
href: Optional[str] = None,
ike_version: Optional[float] = None,
is_ike_policy_id: Optional[str] = None,
key_lifetime: Optional[float] = None,
name: Optional[str] = None,
negotiation_mode: Optional[str] = None,
resource_controller_url: Optional[str] = None,
resource_group: Optional[str] = None,
resource_group_name: Optional[str] = None,
resource_name: Optional[str] = None,
vpn_connections: Optional[Sequence[IsIkePolicyVpnConnectionArgs]] = None) -> IsIkePolicy
func GetIsIkePolicy(ctx *Context, name string, id IDInput, state *IsIkePolicyState, opts ...ResourceOption) (*IsIkePolicy, error)
public static IsIkePolicy Get(string name, Input<string> id, IsIkePolicyState? state, CustomResourceOptions? opts = null)
public static IsIkePolicy get(String name, Output<String> id, IsIkePolicyState state, CustomResourceOptions options)
resources: _: type: ibm:IsIkePolicy 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
IKE
peers. Available options aresha256
,sha512
,sha384
. - Dh
Group double - Enter the Diffie-Hellman group that you want to use for the encryption key. Available enumeration type are
14
,19
,15
,16
,17
,18
,20
,21
,22
,23
,24
,31
- Encryption
Algorithm string - Enter the algorithm that you want to use to encrypt data. Available options are:
aes128
,aes192
,aes256
. - Href string
- (String) The VPN connection's canonical URL.
- Ike
Version double - Enter the IKE protocol version that you want to use. Available options are
1
, or2
. - Is
Ike stringPolicy Id - (String) The unique identifier of a VPN connection.
- Key
Lifetime double - The key lifetime in seconds.
Maximum: 86400
,Minimum: 1800
. Default is28800
. - Name string
- Enter a name for your IKE policy.
- Negotiation
Mode string - (String) The IKE negotiation mode that was set for your IKE policy. Only
main
is supported. - Resource
Controller stringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- Resource
Group string - Enter the ID of the resource group where you want to create the IKE policy. To list available resource groups, run
ibmcloud resource groups
. If you do not specify a resource group, the IKE 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
- Vpn
Connections List<IsIke Policy Vpn Connection> - List - A collection of VPN connections that use the IKE policy.
- Authentication
Algorithm string - Enter the algorithm that you want to use to authenticate
IKE
peers. Available options aresha256
,sha512
,sha384
. - Dh
Group float64 - Enter the Diffie-Hellman group that you want to use for the encryption key. Available enumeration type are
14
,19
,15
,16
,17
,18
,20
,21
,22
,23
,24
,31
- Encryption
Algorithm string - Enter the algorithm that you want to use to encrypt data. Available options are:
aes128
,aes192
,aes256
. - Href string
- (String) The VPN connection's canonical URL.
- Ike
Version float64 - Enter the IKE protocol version that you want to use. Available options are
1
, or2
. - Is
Ike stringPolicy Id - (String) The unique identifier of a VPN connection.
- Key
Lifetime float64 - The key lifetime in seconds.
Maximum: 86400
,Minimum: 1800
. Default is28800
. - Name string
- Enter a name for your IKE policy.
- Negotiation
Mode string - (String) The IKE negotiation mode that was set for your IKE policy. Only
main
is supported. - Resource
Controller stringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- Resource
Group string - Enter the ID of the resource group where you want to create the IKE policy. To list available resource groups, run
ibmcloud resource groups
. If you do not specify a resource group, the IKE 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
- Vpn
Connections []IsIke Policy Vpn Connection Args - List - A collection of VPN connections that use the IKE policy.
- authentication
Algorithm String - Enter the algorithm that you want to use to authenticate
IKE
peers. Available options aresha256
,sha512
,sha384
. - dh
Group Double - Enter the Diffie-Hellman group that you want to use for the encryption key. Available enumeration type are
14
,19
,15
,16
,17
,18
,20
,21
,22
,23
,24
,31
- encryption
Algorithm String - Enter the algorithm that you want to use to encrypt data. Available options are:
aes128
,aes192
,aes256
. - href String
- (String) The VPN connection's canonical URL.
- ike
Version Double - Enter the IKE protocol version that you want to use. Available options are
1
, or2
. - is
Ike StringPolicy Id - (String) The unique identifier of a VPN connection.
- key
Lifetime Double - The key lifetime in seconds.
Maximum: 86400
,Minimum: 1800
. Default is28800
. - name String
- Enter a name for your IKE policy.
- negotiation
Mode String - (String) The IKE negotiation mode that was set for your IKE policy. Only
main
is supported. - resource
Controller StringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- resource
Group String - Enter the ID of the resource group where you want to create the IKE policy. To list available resource groups, run
ibmcloud resource groups
. If you do not specify a resource group, the IKE 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
- vpn
Connections List<IsIke Policy Vpn Connection> - List - A collection of VPN connections that use the IKE policy.
- authentication
Algorithm string - Enter the algorithm that you want to use to authenticate
IKE
peers. Available options aresha256
,sha512
,sha384
. - dh
Group number - Enter the Diffie-Hellman group that you want to use for the encryption key. Available enumeration type are
14
,19
,15
,16
,17
,18
,20
,21
,22
,23
,24
,31
- encryption
Algorithm string - Enter the algorithm that you want to use to encrypt data. Available options are:
aes128
,aes192
,aes256
. - href string
- (String) The VPN connection's canonical URL.
- ike
Version number - Enter the IKE protocol version that you want to use. Available options are
1
, or2
. - is
Ike stringPolicy Id - (String) The unique identifier of a VPN connection.
- key
Lifetime number - The key lifetime in seconds.
Maximum: 86400
,Minimum: 1800
. Default is28800
. - name string
- Enter a name for your IKE policy.
- negotiation
Mode string - (String) The IKE negotiation mode that was set for your IKE policy. Only
main
is supported. - resource
Controller stringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- resource
Group string - Enter the ID of the resource group where you want to create the IKE policy. To list available resource groups, run
ibmcloud resource groups
. If you do not specify a resource group, the IKE 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
- vpn
Connections IsIke Policy Vpn Connection[] - List - A collection of VPN connections that use the IKE policy.
- authentication_
algorithm str - Enter the algorithm that you want to use to authenticate
IKE
peers. Available options aresha256
,sha512
,sha384
. - dh_
group float - Enter the Diffie-Hellman group that you want to use for the encryption key. Available enumeration type are
14
,19
,15
,16
,17
,18
,20
,21
,22
,23
,24
,31
- encryption_
algorithm str - Enter the algorithm that you want to use to encrypt data. Available options are:
aes128
,aes192
,aes256
. - href str
- (String) The VPN connection's canonical URL.
- ike_
version float - Enter the IKE protocol version that you want to use. Available options are
1
, or2
. - is_
ike_ strpolicy_ id - (String) The unique identifier of a VPN connection.
- key_
lifetime float - The key lifetime in seconds.
Maximum: 86400
,Minimum: 1800
. Default is28800
. - name str
- Enter a name for your IKE policy.
- negotiation_
mode str - (String) The IKE negotiation mode that was set for your IKE policy. Only
main
is supported. - resource_
controller_ strurl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- resource_
group str - Enter the ID of the resource group where you want to create the IKE policy. To list available resource groups, run
ibmcloud resource groups
. If you do not specify a resource group, the IKE 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
- vpn_
connections Sequence[IsIke Policy Vpn Connection Args] - List - A collection of VPN connections that use the IKE policy.
- authentication
Algorithm String - Enter the algorithm that you want to use to authenticate
IKE
peers. Available options aresha256
,sha512
,sha384
. - dh
Group Number - Enter the Diffie-Hellman group that you want to use for the encryption key. Available enumeration type are
14
,19
,15
,16
,17
,18
,20
,21
,22
,23
,24
,31
- encryption
Algorithm String - Enter the algorithm that you want to use to encrypt data. Available options are:
aes128
,aes192
,aes256
. - href String
- (String) The VPN connection's canonical URL.
- ike
Version Number - Enter the IKE protocol version that you want to use. Available options are
1
, or2
. - is
Ike StringPolicy Id - (String) The unique identifier of a VPN connection.
- key
Lifetime Number - The key lifetime in seconds.
Maximum: 86400
,Minimum: 1800
. Default is28800
. - name String
- Enter a name for your IKE policy.
- negotiation
Mode String - (String) The IKE negotiation mode that was set for your IKE policy. Only
main
is supported. - resource
Controller StringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- resource
Group String - Enter the ID of the resource group where you want to create the IKE policy. To list available resource groups, run
ibmcloud resource groups
. If you do not specify a resource group, the IKE 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
- vpn
Connections List<Property Map> - List - A collection of VPN connections that use the IKE policy.
Supporting Types
IsIkePolicyVpnConnection, IsIkePolicyVpnConnectionArgs
Import
The ibm_is_ike_policy
resource can be imported by using IKE Policy ID.
Example
$ pulumi import ibm:index/isIkePolicy:IsIkePolicy 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.