1. Packages
  2. Cisco ISE Provider
  3. API Docs
  4. deviceadmin
  5. getTacacsProfile
Cisco ISE v0.2.1 published on Saturday, Mar 15, 2025 by Pulumi

ise.deviceadmin.getTacacsProfile

Explore with Pulumi AI

Cisco ISE v0.2.1 published on Saturday, Mar 15, 2025 by Pulumi

This data source can read the TACACS Profile.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as ise from "@pulumi/ise";

const example = ise.deviceadmin.getTacacsProfile({
    id: "76d24097-41c4-4558-a4d0-a8c07ac08470",
});
Copy
import pulumi
import pulumi_ise as ise

example = ise.deviceadmin.get_tacacs_profile(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
Copy
package main

import (
	"github.com/pulumi/pulumi-ise/sdk/go/ise/deviceadmin"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := deviceadmin.LookupTacacsProfile(ctx, &deviceadmin.LookupTacacsProfileArgs{
			Id: pulumi.StringRef("76d24097-41c4-4558-a4d0-a8c07ac08470"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ise = Pulumi.Ise;

return await Deployment.RunAsync(() => 
{
    var example = Ise.DeviceAdmin.GetTacacsProfile.Invoke(new()
    {
        Id = "76d24097-41c4-4558-a4d0-a8c07ac08470",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ise.deviceadmin.DeviceadminFunctions;
import com.pulumi.ise.deviceadmin.inputs.GetTacacsProfileArgs;
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) {
        final var example = DeviceadminFunctions.getTacacsProfile(GetTacacsProfileArgs.builder()
            .id("76d24097-41c4-4558-a4d0-a8c07ac08470")
            .build());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: ise:deviceadmin:getTacacsProfile
      arguments:
        id: 76d24097-41c4-4558-a4d0-a8c07ac08470
Copy

Using getTacacsProfile

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 getTacacsProfile(args: GetTacacsProfileArgs, opts?: InvokeOptions): Promise<GetTacacsProfileResult>
function getTacacsProfileOutput(args: GetTacacsProfileOutputArgs, opts?: InvokeOptions): Output<GetTacacsProfileResult>
Copy
def get_tacacs_profile(id: Optional[str] = None,
                       name: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetTacacsProfileResult
def get_tacacs_profile_output(id: Optional[pulumi.Input[str]] = None,
                       name: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetTacacsProfileResult]
Copy
func LookupTacacsProfile(ctx *Context, args *LookupTacacsProfileArgs, opts ...InvokeOption) (*LookupTacacsProfileResult, error)
func LookupTacacsProfileOutput(ctx *Context, args *LookupTacacsProfileOutputArgs, opts ...InvokeOption) LookupTacacsProfileResultOutput
Copy

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

public static class GetTacacsProfile 
{
    public static Task<GetTacacsProfileResult> InvokeAsync(GetTacacsProfileArgs args, InvokeOptions? opts = null)
    public static Output<GetTacacsProfileResult> Invoke(GetTacacsProfileInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetTacacsProfileResult> getTacacsProfile(GetTacacsProfileArgs args, InvokeOptions options)
public static Output<GetTacacsProfileResult> getTacacsProfile(GetTacacsProfileArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: ise:deviceadmin/getTacacsProfile:getTacacsProfile
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id string
The id of the object
Name string
The name of the TACACS profile
Id string
The id of the object
Name string
The name of the TACACS profile
id String
The id of the object
name String
The name of the TACACS profile
id string
The id of the object
name string
The name of the TACACS profile
id str
The id of the object
name str
The name of the TACACS profile
id String
The id of the object
name String
The name of the TACACS profile

getTacacsProfile Result

The following output properties are available:

Description string
Description
Id string
The id of the object
Name string
The name of the TACACS profile
SessionAttributes List<GetTacacsProfileSessionAttribute>
Description string
Description
Id string
The id of the object
Name string
The name of the TACACS profile
SessionAttributes []GetTacacsProfileSessionAttribute
description String
Description
id String
The id of the object
name String
The name of the TACACS profile
sessionAttributes List<GetTacacsProfileSessionAttribute>
description string
Description
id string
The id of the object
name string
The name of the TACACS profile
sessionAttributes GetTacacsProfileSessionAttribute[]
description str
Description
id str
The id of the object
name str
The name of the TACACS profile
session_attributes Sequence[GetTacacsProfileSessionAttribute]
description String
Description
id String
The id of the object
name String
The name of the TACACS profile
sessionAttributes List<Property Map>

Supporting Types

GetTacacsProfileSessionAttribute

Name This property is required. string
Name
Type This property is required. string
Type
Value This property is required. string
Value
Name This property is required. string
Name
Type This property is required. string
Type
Value This property is required. string
Value
name This property is required. String
Name
type This property is required. String
Type
value This property is required. String
Value
name This property is required. string
Name
type This property is required. string
Type
value This property is required. string
Value
name This property is required. str
Name
type This property is required. str
Type
value This property is required. str
Value
name This property is required. String
Name
type This property is required. String
Type
value This property is required. String
Value

Package Details

Repository
ise pulumi/pulumi-ise
License
Apache-2.0
Notes
This Pulumi package is based on the ise Terraform Provider.
Cisco ISE v0.2.1 published on Saturday, Mar 15, 2025 by Pulumi