Viewing docs for Strata Cloud Manager v1.2.3
published on Wednesday, Oct 28, 2026 by Pulumi
published on Wednesday, Oct 28, 2026 by Pulumi
Strata Cloud ManagerViewing docs for Strata Cloud Manager v1.2.3
published on Wednesday, Oct 28, 2026 by Pulumi
published on Wednesday, Oct 28, 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.GetTacacsServerProfile(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"] = new Dictionary<string, object?>
{
["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.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) {
// 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}
terraform {
required_providers {
scm = {
source = "pulumi/scm"
}
}
}
data "scm_tacacs_server_profile" "scmTacacsServerProfile5Ds" {
id = "1967a784-402b-4c20-aa48-aab64d73cc06"
}
# Look up the multi-tag address object by its ID.
# Output various attributes from the found objects to verify the lookups were successful.
output "profileDataSourceResults" {
value = {
"name" = data.scm_tacacs_server_profile.scmTacacsServerProfile5Ds.name
"protocol" = data.scm_tacacs_server_profile.scmTacacsServerProfile5Ds.protocol
"timeout" = data.scm_tacacs_server_profile.scmTacacsServerProfile5Ds.timeout
"folder" = data.scm_tacacs_server_profile.scmTacacsServerProfile5Ds.folder
"useSingleConnection" = data.scm_tacacs_server_profile.scmTacacsServerProfile5Ds.use_single_connection
}
}
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?: InvokeOutputOptions): 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: pulumi.Input[Optional[str]] = None,
folder: pulumi.Input[Optional[str]] = None,
id: pulumi.Input[Optional[str]] = None,
name: pulumi.Input[Optional[str]] = None,
snippet: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = 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 Output<GetTacacsServerProfileResult> Invoke(GetTacacsServerProfileInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetTacacsServerProfileResult> getTacacsServerProfile(GetTacacsServerProfileArgs args, InvokeOptions options)
public static Output<GetTacacsServerProfileResult> getTacacsServerProfile(GetTacacsServerProfileArgs args, InvokeOptions options)
public static Output<GetTacacsServerProfileResult> getTacacsServerProfile(GetTacacsServerProfileArgs args, InvokeOutputOptions options)
fn::invoke:
function: scm:index/getTacacsServerProfile:getTacacsServerProfile
arguments:
# arguments dictionarydata "scm_get_tacacs_server_profile" "name" {
# arguments
}The following arguments are supported:
getTacacsServerProfile Result
The following output properties are available:
- Device string
- The device in which the resource is defined
- Encrypted
Values Dictionary<string, string> - Map of sensitive values returned from the API.
- Folder string
- The folder in which the resource is defined
- Id string
- The UUID of the TACACS+ server profile
- Name string
- The name of the TACACS+ server profile
- Protocol string
- The TACACS+ authentication protocol. Possible values are
CHAPandPAP. - Servers
List<Get
Tacacs Server Profile Server> - The TACACS+ server configuration
- Snippet string
- The snippet in which the resource is defined
- Tfid string
- The Terraform ID.
- Timeout int
- The TACACS+ timeout (seconds)
- Use
Single boolConnection - Use a single TACACS+ connection?
- Device string
- The device in which the resource is defined
- Encrypted
Values map[string]string - Map of sensitive values returned from the API.
- Folder string
- The folder in which the resource is defined
- Id string
- The UUID of the TACACS+ server profile
- Name string
- The name of the TACACS+ server profile
- Protocol string
- The TACACS+ authentication protocol. Possible values are
CHAPandPAP. - Servers
[]Get
Tacacs Server Profile Server - The TACACS+ server configuration
- Snippet string
- The snippet in which the resource is defined
- Tfid string
- The Terraform ID.
- Timeout int
- The TACACS+ timeout (seconds)
- Use
Single boolConnection - Use a single TACACS+ connection?
- device string
- The device in which the resource is defined
- encrypted_
values map(string) - Map of sensitive values returned from the API.
- folder string
- The folder in which the resource is defined
- id string
- The UUID of the TACACS+ server profile
- name string
- The name of the TACACS+ server profile
- protocol string
- The TACACS+ authentication protocol. Possible values are
CHAPandPAP. - servers list(object)
- The TACACS+ server configuration
- snippet string
- The snippet in which the resource is defined
- tfid string
- The Terraform ID.
- timeout number
- The TACACS+ timeout (seconds)
- use_
single_ boolconnection - Use a single TACACS+ connection?
- device String
- The device in which the resource is defined
- encrypted
Values Map<String,String> - Map of sensitive values returned from the API.
- folder String
- The folder in which the resource is defined
- id String
- The UUID of the TACACS+ server profile
- name String
- The name of the TACACS+ server profile
- protocol String
- The TACACS+ authentication protocol. Possible values are
CHAPandPAP. - servers
List<Get
Tacacs Server Profile Server> - The TACACS+ server configuration
- snippet String
- The snippet in which the resource is defined
- tfid String
- The Terraform ID.
- timeout Integer
- The TACACS+ timeout (seconds)
- use
Single BooleanConnection - Use a single TACACS+ connection?
- device string
- The device in which the resource is defined
- encrypted
Values {[key: string]: string} - Map of sensitive values returned from the API.
- folder string
- The folder in which the resource is defined
- id string
- The UUID of the TACACS+ server profile
- name string
- The name of the TACACS+ server profile
- protocol string
- The TACACS+ authentication protocol. Possible values are
CHAPandPAP. - servers
Get
Tacacs Server Profile Server[] - The TACACS+ server configuration
- snippet string
- The snippet in which the resource is defined
- tfid string
- The Terraform ID.
- timeout number
- The TACACS+ timeout (seconds)
- use
Single booleanConnection - Use a single TACACS+ connection?
- device str
- The device in which the resource is defined
- encrypted_
values Mapping[str, str] - Map of sensitive values returned from the API.
- folder str
- The folder in which the resource is defined
- id str
- The UUID of the TACACS+ server profile
- name str
- The name of the TACACS+ server profile
- protocol str
- The TACACS+ authentication protocol. Possible values are
CHAPandPAP. - servers
Sequence[Get
Tacacs Server Profile Server] - The TACACS+ server configuration
- snippet str
- The snippet in which the resource is defined
- tfid str
- The Terraform ID.
- timeout int
- The TACACS+ timeout (seconds)
- use_
single_ boolconnection - Use a single TACACS+ connection?
- device String
- The device in which the resource is defined
- encrypted
Values Map<String> - Map of sensitive values returned from the API.
- folder String
- The folder in which the resource is defined
- id String
- The UUID of the TACACS+ server profile
- name String
- The name of the TACACS+ server profile
- protocol String
- The TACACS+ authentication protocol. Possible values are
CHAPandPAP. - servers List<Property Map>
- The TACACS+ server configuration
- snippet String
- The snippet in which the resource is defined
- tfid String
- The Terraform ID.
- timeout Number
- The TACACS+ timeout (seconds)
- use
Single BooleanConnection - Use a single TACACS+ connection?
Supporting Types
GetTacacsServerProfileServer
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
Strata Cloud ManagerViewing docs for Strata Cloud Manager v1.2.3
published on Wednesday, Oct 28, 2026 by Pulumi
published on Wednesday, Oct 28, 2026 by Pulumi