1. Registry
  2. Packages
  3. Cisco ISE Provider
  4. API Docs
  5. trustsec
  6. getSxpVpn
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 data source can read the SXP VPN.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ise from "@pulumi/ise";
    
    const example = ise.trustsec.getSxpVpn({
        id: "76d24097-41c4-4558-a4d0-a8c07ac08470",
    });
    
    import pulumi
    import pulumi_ise as ise
    
    example = ise.trustsec.get_sxp_vpn(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
    
    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.LookupSxpVpn(ctx, &trustsec.LookupSxpVpnArgs{
    			Id: pulumi.StringRef("76d24097-41c4-4558-a4d0-a8c07ac08470"),
    		}, nil)
    		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 = Ise.TrustSec.GetSxpVpn.Invoke(new()
        {
            Id = "76d24097-41c4-4558-a4d0-a8c07ac08470",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ise.trustsec.TrustsecFunctions;
    import com.pulumi.ise.trustsec.inputs.GetSxpVpnArgs;
    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) {
            final var example = TrustsecFunctions.getSxpVpn(GetSxpVpnArgs.builder()
                .id("76d24097-41c4-4558-a4d0-a8c07ac08470")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: ise:trustsec:getSxpVpn
          arguments:
            id: 76d24097-41c4-4558-a4d0-a8c07ac08470
    
    pulumi {
      required_providers {
        ise = {
          source = "pulumi/ise"
        }
      }
    }
    
    data "ise_trustsec_getsxpvpn" "example" {
      id = "76d24097-41c4-4558-a4d0-a8c07ac08470"
    }
    

    Using getSxpVpn

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getSxpVpn(args: GetSxpVpnArgs, opts?: InvokeOptions): Promise<GetSxpVpnResult>
    function getSxpVpnOutput(args: GetSxpVpnOutputArgs, opts?: InvokeOutputOptions): Output<GetSxpVpnResult>
    def get_sxp_vpn(id: Optional[str] = None,
                    name: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetSxpVpnResult
    def get_sxp_vpn_output(id: pulumi.Input[Optional[str]] = None,
                    name: pulumi.Input[Optional[str]] = None,
                    opts: Optional[InvokeOutputOptions] = None) -> Output[GetSxpVpnResult]
    func LookupSxpVpn(ctx *Context, args *LookupSxpVpnArgs, opts ...InvokeOption) (*LookupSxpVpnResult, error)
    func LookupSxpVpnOutput(ctx *Context, args *LookupSxpVpnOutputArgs, opts ...InvokeOption) LookupSxpVpnResultOutput

    > Note: This function is named LookupSxpVpn in the Go SDK.

    public static class GetSxpVpn 
    {
        public static Task<GetSxpVpnResult> InvokeAsync(GetSxpVpnArgs args, InvokeOptions? opts = null)
        public static Output<GetSxpVpnResult> Invoke(GetSxpVpnInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetSxpVpnResult> Invoke(GetSxpVpnInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetSxpVpnResult> getSxpVpn(GetSxpVpnArgs args, InvokeOptions options)
    public static Output<GetSxpVpnResult> getSxpVpn(GetSxpVpnArgs args, InvokeOptions options)
    public static Output<GetSxpVpnResult> getSxpVpn(GetSxpVpnArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: ise:trustsec/getSxpVpn:getSxpVpn
      arguments:
        # arguments dictionary
    data "ise_trustsec_get_sxp_vpn" "name" {
        # arguments
    }

    The following arguments are supported:

    Id string
    The id of the object
    Name string
    The name of the SXP VPN.
    Id string
    The id of the object
    Name string
    The name of the SXP VPN.
    id string
    The id of the object
    name string
    The name of the SXP VPN.
    id String
    The id of the object
    name String
    The name of the SXP VPN.
    id string
    The id of the object
    name string
    The name of the SXP VPN.
    id str
    The id of the object
    name str
    The name of the SXP VPN.
    id String
    The id of the object
    name String
    The name of the SXP VPN.

    getSxpVpn Result

    The following output properties are available:

    Description string
    The description of the SXP VPN.
    Id string
    The id of the object
    Name string
    The name of the SXP VPN.
    SxpVpnName string
    The name of the SXP VPN domain, for example default.
    Description string
    The description of the SXP VPN.
    Id string
    The id of the object
    Name string
    The name of the SXP VPN.
    SxpVpnName string
    The name of the SXP VPN domain, for example default.
    description string
    The description of the SXP VPN.
    id string
    The id of the object
    name string
    The name of the SXP VPN.
    sxp_vpn_name string
    The name of the SXP VPN domain, for example default.
    description String
    The description of the SXP VPN.
    id String
    The id of the object
    name String
    The name of the SXP VPN.
    sxpVpnName String
    The name of the SXP VPN domain, for example default.
    description string
    The description of the SXP VPN.
    id string
    The id of the object
    name string
    The name of the SXP VPN.
    sxpVpnName string
    The name of the SXP VPN domain, for example default.
    description str
    The description of the SXP VPN.
    id str
    The id of the object
    name str
    The name of the SXP VPN.
    sxp_vpn_name str
    The name of the SXP VPN domain, for example default.
    description String
    The description of the SXP VPN.
    id String
    The id of the object
    name String
    The name of the SXP VPN.
    sxpVpnName String
    The name of the SXP VPN domain, for example default.

    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