1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. getTacacsServerProfile
Strata Cloud Manager v1.0.4 published on Saturday, Feb 14, 2026 by Pulumi
scm logo
Strata Cloud Manager v1.0.4 published on Saturday, Feb 14, 2026 by Pulumi

    TacacsServerProfile data source

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    // Look up the multi-tag address object by its ID.
    const scmTacacsServerProfile5Ds = scm.getTacacsServerProfile({
        id: "1967a784-402b-4c20-aa48-aab64d73cc06",
    });
    export const profileDataSourceResults = {
        name: scmTacacsServerProfile5Ds.then(scmTacacsServerProfile5Ds => scmTacacsServerProfile5Ds.name),
        protocol: scmTacacsServerProfile5Ds.then(scmTacacsServerProfile5Ds => scmTacacsServerProfile5Ds.protocol),
        timeout: scmTacacsServerProfile5Ds.then(scmTacacsServerProfile5Ds => scmTacacsServerProfile5Ds.timeout),
        folder: scmTacacsServerProfile5Ds.then(scmTacacsServerProfile5Ds => scmTacacsServerProfile5Ds.folder),
        useSingleConnection: scmTacacsServerProfile5Ds.then(scmTacacsServerProfile5Ds => scmTacacsServerProfile5Ds.useSingleConnection),
    };
    
    import pulumi
    import pulumi_scm as scm
    
    # Look up the multi-tag address object by its ID.
    scm_tacacs_server_profile5_ds = scm.get_tacacs_server_profile(id="1967a784-402b-4c20-aa48-aab64d73cc06")
    pulumi.export("profileDataSourceResults", {
        "name": scm_tacacs_server_profile5_ds.name,
        "protocol": scm_tacacs_server_profile5_ds.protocol,
        "timeout": scm_tacacs_server_profile5_ds.timeout,
        "folder": scm_tacacs_server_profile5_ds.folder,
        "useSingleConnection": scm_tacacs_server_profile5_ds.use_single_connection,
    })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-scm/sdk/go/scm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Look up the multi-tag address object by its ID.
    		scmTacacsServerProfile5Ds, err := scm.LookupTacacsServerProfile(ctx, &scm.LookupTacacsServerProfileArgs{
    			Id: "1967a784-402b-4c20-aa48-aab64d73cc06",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("profileDataSourceResults", pulumi.Map{
    			"name":                scmTacacsServerProfile5Ds.Name,
    			"protocol":            scmTacacsServerProfile5Ds.Protocol,
    			"timeout":             scmTacacsServerProfile5Ds.Timeout,
    			"folder":              scmTacacsServerProfile5Ds.Folder,
    			"useSingleConnection": scmTacacsServerProfile5Ds.UseSingleConnection,
    		})
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scm = Pulumi.Scm;
    
    return await Deployment.RunAsync(() => 
    {
        // Look up the multi-tag address object by its ID.
        var scmTacacsServerProfile5Ds = Scm.GetTacacsServerProfile.Invoke(new()
        {
            Id = "1967a784-402b-4c20-aa48-aab64d73cc06",
        });
    
        return new Dictionary<string, object?>
        {
            ["profileDataSourceResults"] = 
            {
                { "name", scmTacacsServerProfile5Ds.Apply(getTacacsServerProfileResult => getTacacsServerProfileResult.Name) },
                { "protocol", scmTacacsServerProfile5Ds.Apply(getTacacsServerProfileResult => getTacacsServerProfileResult.Protocol) },
                { "timeout", scmTacacsServerProfile5Ds.Apply(getTacacsServerProfileResult => getTacacsServerProfileResult.Timeout) },
                { "folder", scmTacacsServerProfile5Ds.Apply(getTacacsServerProfileResult => getTacacsServerProfileResult.Folder) },
                { "useSingleConnection", scmTacacsServerProfile5Ds.Apply(getTacacsServerProfileResult => getTacacsServerProfileResult.UseSingleConnection) },
            },
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scm.ScmFunctions;
    import com.pulumi.scm.inputs.GetTacacsServerProfileArgs;
    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) {
            // Look up the multi-tag address object by its ID.
            final var scmTacacsServerProfile5Ds = ScmFunctions.getTacacsServerProfile(GetTacacsServerProfileArgs.builder()
                .id("1967a784-402b-4c20-aa48-aab64d73cc06")
                .build());
    
            ctx.export("profileDataSourceResults", Map.ofEntries(
                Map.entry("name", scmTacacsServerProfile5Ds.name()),
                Map.entry("protocol", scmTacacsServerProfile5Ds.protocol()),
                Map.entry("timeout", scmTacacsServerProfile5Ds.timeout()),
                Map.entry("folder", scmTacacsServerProfile5Ds.folder()),
                Map.entry("useSingleConnection", scmTacacsServerProfile5Ds.useSingleConnection())
            ));
        }
    }
    
    variables:
      # Look up the multi-tag address object by its ID.
      scmTacacsServerProfile5Ds:
        fn::invoke:
          function: scm:getTacacsServerProfile
          arguments:
            id: 1967a784-402b-4c20-aa48-aab64d73cc06
    outputs:
      # Output various attributes from the found objects to verify the lookups were successful.
      profileDataSourceResults:
        name: ${scmTacacsServerProfile5Ds.name}
        protocol: ${scmTacacsServerProfile5Ds.protocol}
        timeout: ${scmTacacsServerProfile5Ds.timeout}
        folder: ${scmTacacsServerProfile5Ds.folder}
        useSingleConnection: ${scmTacacsServerProfile5Ds.useSingleConnection}
    

    Using getTacacsServerProfile

    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 getTacacsServerProfile(args: GetTacacsServerProfileArgs, opts?: InvokeOptions): Promise<GetTacacsServerProfileResult>
    function getTacacsServerProfileOutput(args: GetTacacsServerProfileOutputArgs, opts?: InvokeOptions): Output<GetTacacsServerProfileResult>
    def get_tacacs_server_profile(device: Optional[str] = None,
                                  folder: Optional[str] = None,
                                  id: Optional[str] = None,
                                  name: Optional[str] = None,
                                  snippet: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetTacacsServerProfileResult
    def get_tacacs_server_profile_output(device: Optional[pulumi.Input[str]] = None,
                                  folder: Optional[pulumi.Input[str]] = None,
                                  id: Optional[pulumi.Input[str]] = None,
                                  name: Optional[pulumi.Input[str]] = None,
                                  snippet: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetTacacsServerProfileResult]
    func LookupTacacsServerProfile(ctx *Context, args *LookupTacacsServerProfileArgs, opts ...InvokeOption) (*LookupTacacsServerProfileResult, error)
    func LookupTacacsServerProfileOutput(ctx *Context, args *LookupTacacsServerProfileOutputArgs, opts ...InvokeOption) LookupTacacsServerProfileResultOutput

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

    public static class GetTacacsServerProfile 
    {
        public static Task<GetTacacsServerProfileResult> InvokeAsync(GetTacacsServerProfileArgs args, InvokeOptions? opts = null)
        public static Output<GetTacacsServerProfileResult> Invoke(GetTacacsServerProfileInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTacacsServerProfileResult> getTacacsServerProfile(GetTacacsServerProfileArgs args, InvokeOptions options)
    public static Output<GetTacacsServerProfileResult> getTacacsServerProfile(GetTacacsServerProfileArgs args, InvokeOptions options)
    
    fn::invoke:
      function: scm:index/getTacacsServerProfile:getTacacsServerProfile
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The UUID of the TACACS+ server profile
    Device string
    The device in which the resource is defined
    Folder string
    Name string
    Snippet string
    Id string
    The UUID of the TACACS+ server profile
    Device string
    The device in which the resource is defined
    Folder string
    Name string
    Snippet string
    id String
    The UUID of the TACACS+ server profile
    device String
    The device in which the resource is defined
    folder String
    name String
    snippet String
    id string
    The UUID of the TACACS+ server profile
    device string
    The device in which the resource is defined
    folder string
    name string
    snippet string
    id str
    The UUID of the TACACS+ server profile
    device str
    The device in which the resource is defined
    folder str
    name str
    snippet str
    id String
    The UUID of the TACACS+ server profile
    device String
    The device in which the resource is defined
    folder String
    name String
    snippet String

    getTacacsServerProfile Result

    The following output properties are available:

    Device string
    The device in which the resource is defined
    EncryptedValues Dictionary<string, string>
    Folder string
    Id string
    The UUID of the TACACS+ server profile
    Name string
    Protocol string
    Servers List<GetTacacsServerProfileServer>
    Snippet string
    Tfid string
    Timeout int
    UseSingleConnection bool
    Device string
    The device in which the resource is defined
    EncryptedValues map[string]string
    Folder string
    Id string
    The UUID of the TACACS+ server profile
    Name string
    Protocol string
    Servers []GetTacacsServerProfileServer
    Snippet string
    Tfid string
    Timeout int
    UseSingleConnection bool
    device String
    The device in which the resource is defined
    encryptedValues Map<String,String>
    folder String
    id String
    The UUID of the TACACS+ server profile
    name String
    protocol String
    servers List<GetTacacsServerProfileServer>
    snippet String
    tfid String
    timeout Integer
    useSingleConnection Boolean
    device string
    The device in which the resource is defined
    encryptedValues {[key: string]: string}
    folder string
    id string
    The UUID of the TACACS+ server profile
    name string
    protocol string
    servers GetTacacsServerProfileServer[]
    snippet string
    tfid string
    timeout number
    useSingleConnection boolean
    device str
    The device in which the resource is defined
    encrypted_values Mapping[str, str]
    folder str
    id str
    The UUID of the TACACS+ server profile
    name str
    protocol str
    servers Sequence[GetTacacsServerProfileServer]
    snippet str
    tfid str
    timeout int
    use_single_connection bool
    device String
    The device in which the resource is defined
    encryptedValues Map<String>
    folder String
    id String
    The UUID of the TACACS+ server profile
    name String
    protocol String
    servers List<Property Map>
    snippet String
    tfid String
    timeout Number
    useSingleConnection Boolean

    Supporting Types

    GetTacacsServerProfileServer

    Address string
    The IP address of the TACACS+ server
    Name string
    The name of the TACACS+ server
    Port int
    The TACACS+ server port
    Secret string
    The TACACS+ secret
    Address string
    The IP address of the TACACS+ server
    Name string
    The name of the TACACS+ server
    Port int
    The TACACS+ server port
    Secret string
    The TACACS+ secret
    address String
    The IP address of the TACACS+ server
    name String
    The name of the TACACS+ server
    port Integer
    The TACACS+ server port
    secret String
    The TACACS+ secret
    address string
    The IP address of the TACACS+ server
    name string
    The name of the TACACS+ server
    port number
    The TACACS+ server port
    secret string
    The TACACS+ secret
    address str
    The IP address of the TACACS+ server
    name str
    The name of the TACACS+ server
    port int
    The TACACS+ server port
    secret str
    The TACACS+ secret
    address String
    The IP address of the TACACS+ server
    name String
    The name of the TACACS+ server
    port Number
    The TACACS+ server port
    secret String
    The TACACS+ secret

    Package Details

    Repository
    scm pulumi/pulumi-scm
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scm Terraform Provider.
    scm logo
    Strata Cloud Manager v1.0.4 published on Saturday, Feb 14, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate