published on Monday, Nov 16, 2026 by e-breuninger
published on Monday, Nov 16, 2026 by e-breuninger
An IPSec profile (vpn.ipsecprofile): an IKE policy and an IPSec policy applied together to tunnels.
From the official documentation:
An IPSec profile defines an IKE policy, IPSec policy, and IPSec mode used for establishing an IPSec tunnel.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as netbox from "@pulumi/netbox";
const test = new netbox.IkeProposal("test", {
name: "test-ike-proposal",
authenticationMethod: "preshared-keys",
encryptionAlgorithm: "aes-256-cbc",
group: 14,
});
const testIkePolicy = new netbox.IkePolicy("test", {
name: "test-ike-policy",
version: 2,
ikeProposalIds: [test.ikeProposalId],
});
const testIpsecProposal = new netbox.IpsecProposal("test", {
name: "test-ipsec-proposal",
encryptionAlgorithm: "aes-256-cbc",
});
const testIpsecPolicy = new netbox.IpsecPolicy("test", {
name: "test-ipsec-policy",
ipsecProposalIds: [testIpsecProposal.ipsecProposalId],
});
const testIpsecProfile = new netbox.IpsecProfile("test", {
name: "test-ipsec-profile",
mode: "esp",
ikePolicyId: testIkePolicy.ikePolicyId,
ipsecPolicyId: testIpsecPolicy.ipsecPolicyId,
description: "test-description",
});
import pulumi
import pulumi_netbox as netbox
test = netbox.IkeProposal("test",
name="test-ike-proposal",
authentication_method="preshared-keys",
encryption_algorithm="aes-256-cbc",
group=14)
test_ike_policy = netbox.IkePolicy("test",
name="test-ike-policy",
version=2,
ike_proposal_ids=[test.ike_proposal_id])
test_ipsec_proposal = netbox.IpsecProposal("test",
name="test-ipsec-proposal",
encryption_algorithm="aes-256-cbc")
test_ipsec_policy = netbox.IpsecPolicy("test",
name="test-ipsec-policy",
ipsec_proposal_ids=[test_ipsec_proposal.ipsec_proposal_id])
test_ipsec_profile = netbox.IpsecProfile("test",
name="test-ipsec-profile",
mode="esp",
ike_policy_id=test_ike_policy.ike_policy_id,
ipsec_policy_id=test_ipsec_policy.ipsec_policy_id,
description="test-description")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/netbox/v6/netbox"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
test, err := netbox.NewIkeProposal(ctx, "test", &netbox.IkeProposalArgs{
Name: pulumi.String("test-ike-proposal"),
AuthenticationMethod: pulumi.String("preshared-keys"),
EncryptionAlgorithm: pulumi.String("aes-256-cbc"),
Group: pulumi.Float64(14),
})
if err != nil {
return err
}
testIkePolicy, err := netbox.NewIkePolicy(ctx, "test", &netbox.IkePolicyArgs{
Name: pulumi.String("test-ike-policy"),
Version: pulumi.Float64(2),
IkeProposalIds: pulumi.Float64Array{
test.IkeProposalId,
},
})
if err != nil {
return err
}
testIpsecProposal, err := netbox.NewIpsecProposal(ctx, "test", &netbox.IpsecProposalArgs{
Name: pulumi.String("test-ipsec-proposal"),
EncryptionAlgorithm: pulumi.String("aes-256-cbc"),
})
if err != nil {
return err
}
testIpsecPolicy, err := netbox.NewIpsecPolicy(ctx, "test", &netbox.IpsecPolicyArgs{
Name: pulumi.String("test-ipsec-policy"),
IpsecProposalIds: pulumi.Float64Array{
testIpsecProposal.IpsecProposalId,
},
})
if err != nil {
return err
}
_, err = netbox.NewIpsecProfile(ctx, "test", &netbox.IpsecProfileArgs{
Name: pulumi.String("test-ipsec-profile"),
Mode: pulumi.String("esp"),
IkePolicyId: testIkePolicy.IkePolicyId,
IpsecPolicyId: testIpsecPolicy.IpsecPolicyId,
Description: pulumi.String("test-description"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Netbox = Pulumi.Netbox;
return await Deployment.RunAsync(() =>
{
var test = new Netbox.IkeProposal("test", new()
{
Name = "test-ike-proposal",
AuthenticationMethod = "preshared-keys",
EncryptionAlgorithm = "aes-256-cbc",
Group = 14,
});
var testIkePolicy = new Netbox.IkePolicy("test", new()
{
Name = "test-ike-policy",
Version = 2,
IkeProposalIds = new[]
{
test.IkeProposalId,
},
});
var testIpsecProposal = new Netbox.IpsecProposal("test", new()
{
Name = "test-ipsec-proposal",
EncryptionAlgorithm = "aes-256-cbc",
});
var testIpsecPolicy = new Netbox.IpsecPolicy("test", new()
{
Name = "test-ipsec-policy",
IpsecProposalIds = new[]
{
testIpsecProposal.IpsecProposalId,
},
});
var testIpsecProfile = new Netbox.IpsecProfile("test", new()
{
Name = "test-ipsec-profile",
Mode = "esp",
IkePolicyId = testIkePolicy.IkePolicyId,
IpsecPolicyId = testIpsecPolicy.IpsecPolicyId,
Description = "test-description",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.netbox.IkeProposal;
import com.pulumi.netbox.IkeProposalArgs;
import com.pulumi.netbox.IkePolicy;
import com.pulumi.netbox.IkePolicyArgs;
import com.pulumi.netbox.IpsecProposal;
import com.pulumi.netbox.IpsecProposalArgs;
import com.pulumi.netbox.IpsecPolicy;
import com.pulumi.netbox.IpsecPolicyArgs;
import com.pulumi.netbox.IpsecProfile;
import com.pulumi.netbox.IpsecProfileArgs;
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 test = new IkeProposal("test", IkeProposalArgs.builder()
.name("test-ike-proposal")
.authenticationMethod("preshared-keys")
.encryptionAlgorithm("aes-256-cbc")
.group(14.0)
.build());
var testIkePolicy = new IkePolicy("testIkePolicy", IkePolicyArgs.builder()
.name("test-ike-policy")
.version(2.0)
.ikeProposalIds(test.ikeProposalId())
.build());
var testIpsecProposal = new IpsecProposal("testIpsecProposal", IpsecProposalArgs.builder()
.name("test-ipsec-proposal")
.encryptionAlgorithm("aes-256-cbc")
.build());
var testIpsecPolicy = new IpsecPolicy("testIpsecPolicy", IpsecPolicyArgs.builder()
.name("test-ipsec-policy")
.ipsecProposalIds(testIpsecProposal.ipsecProposalId())
.build());
var testIpsecProfile = new IpsecProfile("testIpsecProfile", IpsecProfileArgs.builder()
.name("test-ipsec-profile")
.mode("esp")
.ikePolicyId(testIkePolicy.ikePolicyId())
.ipsecPolicyId(testIpsecPolicy.ipsecPolicyId())
.description("test-description")
.build());
}
}
resources:
test:
type: netbox:IkeProposal
properties:
name: test-ike-proposal
authenticationMethod: preshared-keys
encryptionAlgorithm: aes-256-cbc
group: 14
testIkePolicy:
type: netbox:IkePolicy
name: test
properties:
name: test-ike-policy
version: 2
ikeProposalIds:
- ${test.ikeProposalId}
testIpsecProposal:
type: netbox:IpsecProposal
name: test
properties:
name: test-ipsec-proposal
encryptionAlgorithm: aes-256-cbc
testIpsecPolicy:
type: netbox:IpsecPolicy
name: test
properties:
name: test-ipsec-policy
ipsecProposalIds:
- ${testIpsecProposal.ipsecProposalId}
testIpsecProfile:
type: netbox:IpsecProfile
name: test
properties:
name: test-ipsec-profile
mode: esp
ikePolicyId: ${testIkePolicy.ikePolicyId}
ipsecPolicyId: ${testIpsecPolicy.ipsecPolicyId}
description: test-description
Example coming soon!
Create IpsecProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IpsecProfile(name: string, args: IpsecProfileArgs, opts?: CustomResourceOptions);@overload
def IpsecProfile(resource_name: str,
args: IpsecProfileArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IpsecProfile(resource_name: str,
opts: Optional[ResourceOptions] = None,
ike_policy_id: Optional[float] = None,
ipsec_policy_id: Optional[float] = None,
mode: Optional[str] = None,
comments: Optional[str] = None,
custom_fields: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
name: Optional[str] = None,
owner_id: Optional[float] = None,
tags: Optional[Sequence[str]] = None)func NewIpsecProfile(ctx *Context, name string, args IpsecProfileArgs, opts ...ResourceOption) (*IpsecProfile, error)public IpsecProfile(string name, IpsecProfileArgs args, CustomResourceOptions? opts = null)
public IpsecProfile(String name, IpsecProfileArgs args)
public IpsecProfile(String name, IpsecProfileArgs args, CustomResourceOptions options)
type: netbox:IpsecProfile
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "netbox_ipsec_profile" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args IpsecProfileArgs
- 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 IpsecProfileArgs
- 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 IpsecProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IpsecProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IpsecProfileArgs
- 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 ipsecProfileResource = new Netbox.IpsecProfile("ipsecProfileResource", new()
{
IkePolicyId = 0.0,
IpsecPolicyId = 0.0,
Mode = "string",
Comments = "string",
CustomFields =
{
{ "string", "string" },
},
Description = "string",
Name = "string",
OwnerId = 0.0,
Tags = new[]
{
"string",
},
});
example, err := netbox.NewIpsecProfile(ctx, "ipsecProfileResource", &netbox.IpsecProfileArgs{
IkePolicyId: pulumi.Float64(0),
IpsecPolicyId: pulumi.Float64(0),
Mode: pulumi.String("string"),
Comments: pulumi.String("string"),
CustomFields: pulumi.StringMap{
"string": pulumi.String("string"),
},
Description: pulumi.String("string"),
Name: pulumi.String("string"),
OwnerId: pulumi.Float64(0),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
})
resource "netbox_ipsec_profile" "ipsecProfileResource" {
lifecycle {
create_before_destroy = true
}
ike_policy_id = 0
ipsec_policy_id = 0
mode = "string"
comments = "string"
custom_fields = {
"string" = "string"
}
description = "string"
name = "string"
owner_id = 0
tags = ["string"]
}
var ipsecProfileResource = new IpsecProfile("ipsecProfileResource", IpsecProfileArgs.builder()
.ikePolicyId(0.0)
.ipsecPolicyId(0.0)
.mode("string")
.comments("string")
.customFields(Map.of("string", "string"))
.description("string")
.name("string")
.ownerId(0.0)
.tags("string")
.build());
ipsec_profile_resource = netbox.IpsecProfile("ipsecProfileResource",
ike_policy_id=float(0),
ipsec_policy_id=float(0),
mode="string",
comments="string",
custom_fields={
"string": "string",
},
description="string",
name="string",
owner_id=float(0),
tags=["string"])
const ipsecProfileResource = new netbox.IpsecProfile("ipsecProfileResource", {
ikePolicyId: 0,
ipsecPolicyId: 0,
mode: "string",
comments: "string",
customFields: {
string: "string",
},
description: "string",
name: "string",
ownerId: 0,
tags: ["string"],
});
type: netbox:IpsecProfile
properties:
comments: string
customFields:
string: string
description: string
ikePolicyId: 0
ipsecPolicyId: 0
mode: string
name: string
ownerId: 0
tags:
- string
IpsecProfile 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 IpsecProfile resource accepts the following input properties:
- Ike
Policy doubleId - Id of the IKE policy.
- Ipsec
Policy doubleId - Id of the IPSec policy.
- Mode string
- IPSec mode. One of: esp, ah.
- Comments string
- Custom
Fields Dictionary<string, string> - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- Description string
- Name string
- Owner
Id double - Id of the owner the object is assigned to.
- List<string>
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- Ike
Policy float64Id - Id of the IKE policy.
- Ipsec
Policy float64Id - Id of the IPSec policy.
- Mode string
- IPSec mode. One of: esp, ah.
- Comments string
- Custom
Fields map[string]string - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- Description string
- Name string
- Owner
Id float64 - Id of the owner the object is assigned to.
- []string
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- ike_
policy_ numberid - Id of the IKE policy.
- ipsec_
policy_ numberid - Id of the IPSec policy.
- mode string
- IPSec mode. One of: esp, ah.
- comments string
- custom_
fields map(string) - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- description string
- name string
- owner_
id number - Id of the owner the object is assigned to.
- list(string)
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- ike
Policy DoubleId - Id of the IKE policy.
- ipsec
Policy DoubleId - Id of the IPSec policy.
- mode String
- IPSec mode. One of: esp, ah.
- comments String
- custom
Fields Map<String,String> - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- description String
- name String
- owner
Id Double - Id of the owner the object is assigned to.
- List<String>
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- ike
Policy numberId - Id of the IKE policy.
- ipsec
Policy numberId - Id of the IPSec policy.
- mode string
- IPSec mode. One of: esp, ah.
- comments string
- custom
Fields {[key: string]: string} - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- description string
- name string
- owner
Id number - Id of the owner the object is assigned to.
- string[]
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- ike_
policy_ floatid - Id of the IKE policy.
- ipsec_
policy_ floatid - Id of the IPSec policy.
- mode str
- IPSec mode. One of: esp, ah.
- comments str
- custom_
fields Mapping[str, str] - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- description str
- name str
- owner_
id float - Id of the owner the object is assigned to.
- Sequence[str]
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- ike
Policy NumberId - Id of the IKE policy.
- ipsec
Policy NumberId - Id of the IPSec policy.
- mode String
- IPSec mode. One of: esp, ah.
- comments String
- custom
Fields Map<String> - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- description String
- name String
- owner
Id Number - Id of the owner the object is assigned to.
- List<String>
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
Outputs
All input properties are implicitly available as output properties. Additionally, the IpsecProfile resource produces the following output properties:
- Created string
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipsec
Profile doubleId - NetBox id.
- Last
Updated string - List<string>
- Slugs of all tags on the object, including the provider's default_tags.
- Url string
- Created string
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipsec
Profile float64Id - NetBox id.
- Last
Updated string - []string
- Slugs of all tags on the object, including the provider's default_tags.
- Url string
- created string
- id string
- The provider-assigned unique ID for this managed resource.
- ipsec_
profile_ numberid - NetBox id.
- last_
updated string - list(string)
- Slugs of all tags on the object, including the provider's default_tags.
- url string
- created String
- id String
- The provider-assigned unique ID for this managed resource.
- ipsec
Profile DoubleId - NetBox id.
- last
Updated String - List<String>
- Slugs of all tags on the object, including the provider's default_tags.
- url String
- created string
- id string
- The provider-assigned unique ID for this managed resource.
- ipsec
Profile numberId - NetBox id.
- last
Updated string - string[]
- Slugs of all tags on the object, including the provider's default_tags.
- url string
- created str
- id str
- The provider-assigned unique ID for this managed resource.
- ipsec_
profile_ floatid - NetBox id.
- last_
updated str - Sequence[str]
- Slugs of all tags on the object, including the provider's default_tags.
- url str
- created String
- id String
- The provider-assigned unique ID for this managed resource.
- ipsec
Profile NumberId - NetBox id.
- last
Updated String - List<String>
- Slugs of all tags on the object, including the provider's default_tags.
- url String
Look up Existing IpsecProfile Resource
Get an existing IpsecProfile 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?: IpsecProfileState, opts?: CustomResourceOptions): IpsecProfile@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
comments: Optional[str] = None,
created: Optional[str] = None,
custom_fields: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
ike_policy_id: Optional[float] = None,
ipsec_policy_id: Optional[float] = None,
ipsec_profile_id: Optional[float] = None,
last_updated: Optional[str] = None,
mode: Optional[str] = None,
name: Optional[str] = None,
owner_id: Optional[float] = None,
tags: Optional[Sequence[str]] = None,
tags_alls: Optional[Sequence[str]] = None,
url: Optional[str] = None) -> IpsecProfilefunc GetIpsecProfile(ctx *Context, name string, id IDInput, state *IpsecProfileState, opts ...ResourceOption) (*IpsecProfile, error)public static IpsecProfile Get(string name, Input<string> id, IpsecProfileState? state, CustomResourceOptions? opts = null)public static IpsecProfile get(String name, Output<String> id, IpsecProfileState state, CustomResourceOptions options)resources: existingIpsecProfile: type: netbox:IpsecProfile get: id: ${id}import {
to = netbox_ipsec_profile.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- state IpsecProfileState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state IpsecProfileState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- state IpsecProfileState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- state IpsecProfileState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
- Comments string
- Created string
- Custom
Fields Dictionary<string, string> - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- Description string
- Ike
Policy doubleId - Id of the IKE policy.
- Ipsec
Policy doubleId - Id of the IPSec policy.
- Ipsec
Profile doubleId - NetBox id.
- Last
Updated string - Mode string
- IPSec mode. One of: esp, ah.
- Name string
- Owner
Id double - Id of the owner the object is assigned to.
- List<string>
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- List<string>
- Slugs of all tags on the object, including the provider's default_tags.
- Url string
- Comments string
- Created string
- Custom
Fields map[string]string - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- Description string
- Ike
Policy float64Id - Id of the IKE policy.
- Ipsec
Policy float64Id - Id of the IPSec policy.
- Ipsec
Profile float64Id - NetBox id.
- Last
Updated string - Mode string
- IPSec mode. One of: esp, ah.
- Name string
- Owner
Id float64 - Id of the owner the object is assigned to.
- []string
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- []string
- Slugs of all tags on the object, including the provider's default_tags.
- Url string
- comments string
- created string
- custom_
fields map(string) - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- description string
- ike_
policy_ numberid - Id of the IKE policy.
- ipsec_
policy_ numberid - Id of the IPSec policy.
- ipsec_
profile_ numberid - NetBox id.
- last_
updated string - mode string
- IPSec mode. One of: esp, ah.
- name string
- owner_
id number - Id of the owner the object is assigned to.
- list(string)
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- list(string)
- Slugs of all tags on the object, including the provider's default_tags.
- url string
- comments String
- created String
- custom
Fields Map<String,String> - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- description String
- ike
Policy DoubleId - Id of the IKE policy.
- ipsec
Policy DoubleId - Id of the IPSec policy.
- ipsec
Profile DoubleId - NetBox id.
- last
Updated String - mode String
- IPSec mode. One of: esp, ah.
- name String
- owner
Id Double - Id of the owner the object is assigned to.
- List<String>
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- List<String>
- Slugs of all tags on the object, including the provider's default_tags.
- url String
- comments string
- created string
- custom
Fields {[key: string]: string} - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- description string
- ike
Policy numberId - Id of the IKE policy.
- ipsec
Policy numberId - Id of the IPSec policy.
- ipsec
Profile numberId - NetBox id.
- last
Updated string - mode string
- IPSec mode. One of: esp, ah.
- name string
- owner
Id number - Id of the owner the object is assigned to.
- string[]
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- string[]
- Slugs of all tags on the object, including the provider's default_tags.
- url string
- comments str
- created str
- custom_
fields Mapping[str, str] - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- description str
- ike_
policy_ floatid - Id of the IKE policy.
- ipsec_
policy_ floatid - Id of the IPSec policy.
- ipsec_
profile_ floatid - NetBox id.
- last_
updated str - mode str
- IPSec mode. One of: esp, ah.
- name str
- owner_
id float - Id of the owner the object is assigned to.
- Sequence[str]
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- Sequence[str]
- Slugs of all tags on the object, including the provider's default_tags.
- url str
- comments String
- created String
- custom
Fields Map<String> - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- description String
- ike
Policy NumberId - Id of the IKE policy.
- ipsec
Policy NumberId - Id of the IPSec policy.
- ipsec
Profile NumberId - NetBox id.
- last
Updated String - mode String
- IPSec mode. One of: esp, ah.
- name String
- owner
Id Number - Id of the owner the object is assigned to.
- List<String>
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- List<String>
- Slugs of all tags on the object, including the provider's default_tags.
- url String
Import
In Terraform v1.5.0 and later, the import block can be used with the id attribute, for example:
terraform
import {
to = netbox_ipsec_profile.test
id = “123”
}
The pulumi import command can be used, for example:
$ pulumi import netbox:index/ipsecProfile:IpsecProfile test 123
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- netbox e-breuninger/terraform-provider-netbox
- License
- Notes
- This Pulumi package is based on the
netboxTerraform Provider.
published on Monday, Nov 16, 2026 by e-breuninger