1. Registry
  2. Packages
  3. Cisco ISE Provider
  4. API Docs
  5. trustsec
  6. SxpConnection
Viewing docs for Cisco ISE v0.5.1
published on Friday, Sep 4, 2026 by Pulumi
ise logo
Viewing docs for Cisco ISE v0.5.1
published on Friday, Sep 4, 2026 by Pulumi

    This resource can manage a SXP Connection.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ise from "@pulumi/ise";
    
    const example = new ise.trustsec.SxpConnection("example", {
        name: "SXPConnection1",
        sxpPeer: "SXPPeer1",
        sxpVpn: "default",
        sxpNode: "ise1",
        ipAddress: "10.0.0.1",
        sxpMode: "SPEAKER",
        sxpVersion: "VERSION_2",
        enabled: true,
    });
    
    import pulumi
    import pulumi_ise as ise
    
    example = ise.trustsec.SxpConnection("example",
        name="SXPConnection1",
        sxp_peer="SXPPeer1",
        sxp_vpn="default",
        sxp_node="ise1",
        ip_address="10.0.0.1",
        sxp_mode="SPEAKER",
        sxp_version="VERSION_2",
        enabled=True)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-ise/sdk/go/ise/trustsec"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := trustsec.NewSxpConnection(ctx, "example", &trustsec.SxpConnectionArgs{
    			Name:       pulumi.String("SXPConnection1"),
    			SxpPeer:    pulumi.String("SXPPeer1"),
    			SxpVpn:     pulumi.String("default"),
    			SxpNode:    pulumi.String("ise1"),
    			IpAddress:  pulumi.String("10.0.0.1"),
    			SxpMode:    pulumi.String("SPEAKER"),
    			SxpVersion: pulumi.String("VERSION_2"),
    			Enabled:    pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ise = Pulumi.Ise;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Ise.TrustSec.SxpConnection("example", new()
        {
            Name = "SXPConnection1",
            SxpPeer = "SXPPeer1",
            SxpVpn = "default",
            SxpNode = "ise1",
            IpAddress = "10.0.0.1",
            SxpMode = "SPEAKER",
            SxpVersion = "VERSION_2",
            Enabled = true,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ise.trustsec.SxpConnection;
    import com.pulumi.ise.trustsec.SxpConnectionArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 SxpConnection("example", SxpConnectionArgs.builder()
                .name("SXPConnection1")
                .sxpPeer("SXPPeer1")
                .sxpVpn("default")
                .sxpNode("ise1")
                .ipAddress("10.0.0.1")
                .sxpMode("SPEAKER")
                .sxpVersion("VERSION_2")
                .enabled(true)
                .build());
    
        }
    }
    
    resources:
      example:
        type: ise:trustsec:SxpConnection
        properties:
          name: SXPConnection1
          sxpPeer: SXPPeer1
          sxpVpn: default
          sxpNode: ise1
          ipAddress: 10.0.0.1
          sxpMode: SPEAKER
          sxpVersion: VERSION_2
          enabled: true
    
    pulumi {
      required_providers {
        ise = {
          source = "pulumi/ise"
        }
      }
    }
    
    resource "ise_trustsec_sxpconnection" "example" {
      name        = "SXPConnection1"
      sxp_peer    = "SXPPeer1"
      sxp_vpn     = "default"
      sxp_node    = "ise1"
      ip_address  = "10.0.0.1"
      sxp_mode    = "SPEAKER"
      sxp_version = "VERSION_2"
      enabled     = true
    }
    

    Create SxpConnection Resource

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

    Constructor syntax

    new SxpConnection(name: string, args: SxpConnectionArgs, opts?: CustomResourceOptions);
    @overload
    def SxpConnection(resource_name: str,
                      args: SxpConnectionArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def SxpConnection(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      enabled: Optional[bool] = None,
                      ip_address: Optional[str] = None,
                      sxp_mode: Optional[str] = None,
                      sxp_node: Optional[str] = None,
                      sxp_peer: Optional[str] = None,
                      sxp_version: Optional[str] = None,
                      sxp_vpn: Optional[str] = None,
                      description: Optional[str] = None,
                      name: Optional[str] = None)
    func NewSxpConnection(ctx *Context, name string, args SxpConnectionArgs, opts ...ResourceOption) (*SxpConnection, error)
    public SxpConnection(string name, SxpConnectionArgs args, CustomResourceOptions? opts = null)
    public SxpConnection(String name, SxpConnectionArgs args)
    public SxpConnection(String name, SxpConnectionArgs args, CustomResourceOptions options)
    
    type: ise:trustsec:SxpConnection
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "ise_trustsec_sxp_connection" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args SxpConnectionArgs
    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 SxpConnectionArgs
    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 SxpConnectionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SxpConnectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SxpConnectionArgs
    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 sxpConnectionResource = new Ise.TrustSec.SxpConnection("sxpConnectionResource", new()
    {
        Enabled = false,
        IpAddress = "string",
        SxpMode = "string",
        SxpNode = "string",
        SxpPeer = "string",
        SxpVersion = "string",
        SxpVpn = "string",
        Description = "string",
        Name = "string",
    });
    
    example, err := trustsec.NewSxpConnection(ctx, "sxpConnectionResource", &trustsec.SxpConnectionArgs{
    	Enabled:     pulumi.Bool(false),
    	IpAddress:   pulumi.String("string"),
    	SxpMode:     pulumi.String("string"),
    	SxpNode:     pulumi.String("string"),
    	SxpPeer:     pulumi.String("string"),
    	SxpVersion:  pulumi.String("string"),
    	SxpVpn:      pulumi.String("string"),
    	Description: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    })
    
    resource "ise_trustsec_sxp_connection" "sxpConnectionResource" {
      lifecycle {
        create_before_destroy = true
      }
      enabled     = false
      ip_address  = "string"
      sxp_mode    = "string"
      sxp_node    = "string"
      sxp_peer    = "string"
      sxp_version = "string"
      sxp_vpn     = "string"
      description = "string"
      name        = "string"
    }
    
    var sxpConnectionResource = new SxpConnection("sxpConnectionResource", SxpConnectionArgs.builder()
        .enabled(false)
        .ipAddress("string")
        .sxpMode("string")
        .sxpNode("string")
        .sxpPeer("string")
        .sxpVersion("string")
        .sxpVpn("string")
        .description("string")
        .name("string")
        .build());
    
    sxp_connection_resource = ise.trustsec.SxpConnection("sxpConnectionResource",
        enabled=False,
        ip_address="string",
        sxp_mode="string",
        sxp_node="string",
        sxp_peer="string",
        sxp_version="string",
        sxp_vpn="string",
        description="string",
        name="string")
    
    const sxpConnectionResource = new ise.trustsec.SxpConnection("sxpConnectionResource", {
        enabled: false,
        ipAddress: "string",
        sxpMode: "string",
        sxpNode: "string",
        sxpPeer: "string",
        sxpVersion: "string",
        sxpVpn: "string",
        description: "string",
        name: "string",
    });
    
    type: ise:trustsec:SxpConnection
    properties:
        description: string
        enabled: false
        ipAddress: string
        name: string
        sxpMode: string
        sxpNode: string
        sxpPeer: string
        sxpVersion: string
        sxpVpn: string
    

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

    Enabled bool
    Enables or disables the SXP connection.
    IpAddress string
    The IP address of the SXP peer.
    SxpMode string
    The SXP connection mode

    • Choices: BOTH, LISTENER, SPEAKER
    SxpNode string
    The name of the SXP node.
    SxpPeer string
    The name of the SXP peer.
    SxpVersion string
    The SXP protocol version negotiated with the peer

    • Choices: VERSION_1, VERSION_2, VERSION_3, VERSION_4
    SxpVpn string
    The name of the SXP VPN. Since Cisco ISE 3.0, a comma-separated list of multiple SXP VPN names is supported.
    Description string
    The description of the SXP connection
    Name string
    The name of the SXP connection.
    Enabled bool
    Enables or disables the SXP connection.
    IpAddress string
    The IP address of the SXP peer.
    SxpMode string
    The SXP connection mode

    • Choices: BOTH, LISTENER, SPEAKER
    SxpNode string
    The name of the SXP node.
    SxpPeer string
    The name of the SXP peer.
    SxpVersion string
    The SXP protocol version negotiated with the peer

    • Choices: VERSION_1, VERSION_2, VERSION_3, VERSION_4
    SxpVpn string
    The name of the SXP VPN. Since Cisco ISE 3.0, a comma-separated list of multiple SXP VPN names is supported.
    Description string
    The description of the SXP connection
    Name string
    The name of the SXP connection.
    enabled bool
    Enables or disables the SXP connection.
    ip_address string
    The IP address of the SXP peer.
    sxp_mode string
    The SXP connection mode

    • Choices: BOTH, LISTENER, SPEAKER
    sxp_node string
    The name of the SXP node.
    sxp_peer string
    The name of the SXP peer.
    sxp_version string
    The SXP protocol version negotiated with the peer

    • Choices: VERSION_1, VERSION_2, VERSION_3, VERSION_4
    sxp_vpn string
    The name of the SXP VPN. Since Cisco ISE 3.0, a comma-separated list of multiple SXP VPN names is supported.
    description string
    The description of the SXP connection
    name string
    The name of the SXP connection.
    enabled Boolean
    Enables or disables the SXP connection.
    ipAddress String
    The IP address of the SXP peer.
    sxpMode String
    The SXP connection mode

    • Choices: BOTH, LISTENER, SPEAKER
    sxpNode String
    The name of the SXP node.
    sxpPeer String
    The name of the SXP peer.
    sxpVersion String
    The SXP protocol version negotiated with the peer

    • Choices: VERSION_1, VERSION_2, VERSION_3, VERSION_4
    sxpVpn String
    The name of the SXP VPN. Since Cisco ISE 3.0, a comma-separated list of multiple SXP VPN names is supported.
    description String
    The description of the SXP connection
    name String
    The name of the SXP connection.
    enabled boolean
    Enables or disables the SXP connection.
    ipAddress string
    The IP address of the SXP peer.
    sxpMode string
    The SXP connection mode

    • Choices: BOTH, LISTENER, SPEAKER
    sxpNode string
    The name of the SXP node.
    sxpPeer string
    The name of the SXP peer.
    sxpVersion string
    The SXP protocol version negotiated with the peer

    • Choices: VERSION_1, VERSION_2, VERSION_3, VERSION_4
    sxpVpn string
    The name of the SXP VPN. Since Cisco ISE 3.0, a comma-separated list of multiple SXP VPN names is supported.
    description string
    The description of the SXP connection
    name string
    The name of the SXP connection.
    enabled bool
    Enables or disables the SXP connection.
    ip_address str
    The IP address of the SXP peer.
    sxp_mode str
    The SXP connection mode

    • Choices: BOTH, LISTENER, SPEAKER
    sxp_node str
    The name of the SXP node.
    sxp_peer str
    The name of the SXP peer.
    sxp_version str
    The SXP protocol version negotiated with the peer

    • Choices: VERSION_1, VERSION_2, VERSION_3, VERSION_4
    sxp_vpn str
    The name of the SXP VPN. Since Cisco ISE 3.0, a comma-separated list of multiple SXP VPN names is supported.
    description str
    The description of the SXP connection
    name str
    The name of the SXP connection.
    enabled Boolean
    Enables or disables the SXP connection.
    ipAddress String
    The IP address of the SXP peer.
    sxpMode String
    The SXP connection mode

    • Choices: BOTH, LISTENER, SPEAKER
    sxpNode String
    The name of the SXP node.
    sxpPeer String
    The name of the SXP peer.
    sxpVersion String
    The SXP protocol version negotiated with the peer

    • Choices: VERSION_1, VERSION_2, VERSION_3, VERSION_4
    sxpVpn String
    The name of the SXP VPN. Since Cisco ISE 3.0, a comma-separated list of multiple SXP VPN names is supported.
    description String
    The description of the SXP connection
    name String
    The name of the SXP connection.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SxpConnection resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing SxpConnection Resource

    Get an existing SxpConnection 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?: SxpConnectionState, opts?: CustomResourceOptions): SxpConnection
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            enabled: Optional[bool] = None,
            ip_address: Optional[str] = None,
            name: Optional[str] = None,
            sxp_mode: Optional[str] = None,
            sxp_node: Optional[str] = None,
            sxp_peer: Optional[str] = None,
            sxp_version: Optional[str] = None,
            sxp_vpn: Optional[str] = None) -> SxpConnection
    func GetSxpConnection(ctx *Context, name string, id IDInput, state *SxpConnectionState, opts ...ResourceOption) (*SxpConnection, error)
    public static SxpConnection Get(string name, Input<string> id, SxpConnectionState? state, CustomResourceOptions? opts = null)
    public static SxpConnection get(String name, Output<String> id, SxpConnectionState state, CustomResourceOptions options)
    resources:  _:    type: ise:trustsec:SxpConnection    get:      id: ${id}
    import {
      to = ise_trustsec_sxp_connection.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Description string
    The description of the SXP connection
    Enabled bool
    Enables or disables the SXP connection.
    IpAddress string
    The IP address of the SXP peer.
    Name string
    The name of the SXP connection.
    SxpMode string
    The SXP connection mode

    • Choices: BOTH, LISTENER, SPEAKER
    SxpNode string
    The name of the SXP node.
    SxpPeer string
    The name of the SXP peer.
    SxpVersion string
    The SXP protocol version negotiated with the peer

    • Choices: VERSION_1, VERSION_2, VERSION_3, VERSION_4
    SxpVpn string
    The name of the SXP VPN. Since Cisco ISE 3.0, a comma-separated list of multiple SXP VPN names is supported.
    Description string
    The description of the SXP connection
    Enabled bool
    Enables or disables the SXP connection.
    IpAddress string
    The IP address of the SXP peer.
    Name string
    The name of the SXP connection.
    SxpMode string
    The SXP connection mode

    • Choices: BOTH, LISTENER, SPEAKER
    SxpNode string
    The name of the SXP node.
    SxpPeer string
    The name of the SXP peer.
    SxpVersion string
    The SXP protocol version negotiated with the peer

    • Choices: VERSION_1, VERSION_2, VERSION_3, VERSION_4
    SxpVpn string
    The name of the SXP VPN. Since Cisco ISE 3.0, a comma-separated list of multiple SXP VPN names is supported.
    description string
    The description of the SXP connection
    enabled bool
    Enables or disables the SXP connection.
    ip_address string
    The IP address of the SXP peer.
    name string
    The name of the SXP connection.
    sxp_mode string
    The SXP connection mode

    • Choices: BOTH, LISTENER, SPEAKER
    sxp_node string
    The name of the SXP node.
    sxp_peer string
    The name of the SXP peer.
    sxp_version string
    The SXP protocol version negotiated with the peer

    • Choices: VERSION_1, VERSION_2, VERSION_3, VERSION_4
    sxp_vpn string
    The name of the SXP VPN. Since Cisco ISE 3.0, a comma-separated list of multiple SXP VPN names is supported.
    description String
    The description of the SXP connection
    enabled Boolean
    Enables or disables the SXP connection.
    ipAddress String
    The IP address of the SXP peer.
    name String
    The name of the SXP connection.
    sxpMode String
    The SXP connection mode

    • Choices: BOTH, LISTENER, SPEAKER
    sxpNode String
    The name of the SXP node.
    sxpPeer String
    The name of the SXP peer.
    sxpVersion String
    The SXP protocol version negotiated with the peer

    • Choices: VERSION_1, VERSION_2, VERSION_3, VERSION_4
    sxpVpn String
    The name of the SXP VPN. Since Cisco ISE 3.0, a comma-separated list of multiple SXP VPN names is supported.
    description string
    The description of the SXP connection
    enabled boolean
    Enables or disables the SXP connection.
    ipAddress string
    The IP address of the SXP peer.
    name string
    The name of the SXP connection.
    sxpMode string
    The SXP connection mode

    • Choices: BOTH, LISTENER, SPEAKER
    sxpNode string
    The name of the SXP node.
    sxpPeer string
    The name of the SXP peer.
    sxpVersion string
    The SXP protocol version negotiated with the peer

    • Choices: VERSION_1, VERSION_2, VERSION_3, VERSION_4
    sxpVpn string
    The name of the SXP VPN. Since Cisco ISE 3.0, a comma-separated list of multiple SXP VPN names is supported.
    description str
    The description of the SXP connection
    enabled bool
    Enables or disables the SXP connection.
    ip_address str
    The IP address of the SXP peer.
    name str
    The name of the SXP connection.
    sxp_mode str
    The SXP connection mode

    • Choices: BOTH, LISTENER, SPEAKER
    sxp_node str
    The name of the SXP node.
    sxp_peer str
    The name of the SXP peer.
    sxp_version str
    The SXP protocol version negotiated with the peer

    • Choices: VERSION_1, VERSION_2, VERSION_3, VERSION_4
    sxp_vpn str
    The name of the SXP VPN. Since Cisco ISE 3.0, a comma-separated list of multiple SXP VPN names is supported.
    description String
    The description of the SXP connection
    enabled Boolean
    Enables or disables the SXP connection.
    ipAddress String
    The IP address of the SXP peer.
    name String
    The name of the SXP connection.
    sxpMode String
    The SXP connection mode

    • Choices: BOTH, LISTENER, SPEAKER
    sxpNode String
    The name of the SXP node.
    sxpPeer String
    The name of the SXP peer.
    sxpVersion String
    The SXP protocol version negotiated with the peer

    • Choices: VERSION_1, VERSION_2, VERSION_3, VERSION_4
    sxpVpn String
    The name of the SXP VPN. Since Cisco ISE 3.0, a comma-separated list of multiple SXP VPN names is supported.

    Import

    The pulumi import command can be used, for example:

    $ pulumi import ise:trustsec/sxpConnection:SxpConnection example "76d24097-41c4-4558-a4d0-a8c07ac08470"
    

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

    Package Details

    Repository
    ise pulumi/pulumi-ise
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the ise Terraform Provider.
    ise logo
    Viewing docs for Cisco ISE v0.5.1
    published on Friday, Sep 4, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial