1. Packages
  2. Cisco ISE
  3. API Docs
  4. deviceadmin
  5. getAllowedProtocolsTacacs
Cisco ISE v0.1.10 published on Tuesday, Nov 19, 2024 by Pulumi

ise.deviceadmin.getAllowedProtocolsTacacs

Explore with Pulumi AI

ise logo
Cisco ISE v0.1.10 published on Tuesday, Nov 19, 2024 by Pulumi

    This data source can read a TACACS allowed protocols policy element.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ise from "@pulumi/ise";
    
    const example = ise.deviceadmin.getAllowedProtocolsTacacs({
        id: "76d24097-41c4-4558-a4d0-a8c07ac08470",
    });
    
    import pulumi
    import pulumi_ise as ise
    
    example = ise.deviceadmin.get_allowed_protocols_tacacs(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
    
    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.LookupAllowedProtocolsTacacs(ctx, &deviceadmin.LookupAllowedProtocolsTacacsArgs{
    			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.DeviceAdmin.GetAllowedProtocolsTacacs.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.deviceadmin.DeviceadminFunctions;
    import com.pulumi.ise.deviceadmin.inputs.GetAllowedProtocolsTacacsArgs;
    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.getAllowedProtocolsTacacs(GetAllowedProtocolsTacacsArgs.builder()
                .id("76d24097-41c4-4558-a4d0-a8c07ac08470")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: ise:deviceadmin:getAllowedProtocolsTacacs
          Arguments:
            id: 76d24097-41c4-4558-a4d0-a8c07ac08470
    

    Using getAllowedProtocolsTacacs

    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 getAllowedProtocolsTacacs(args: GetAllowedProtocolsTacacsArgs, opts?: InvokeOptions): Promise<GetAllowedProtocolsTacacsResult>
    function getAllowedProtocolsTacacsOutput(args: GetAllowedProtocolsTacacsOutputArgs, opts?: InvokeOptions): Output<GetAllowedProtocolsTacacsResult>
    def get_allowed_protocols_tacacs(id: Optional[str] = None,
                                     name: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetAllowedProtocolsTacacsResult
    def get_allowed_protocols_tacacs_output(id: Optional[pulumi.Input[str]] = None,
                                     name: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetAllowedProtocolsTacacsResult]
    func LookupAllowedProtocolsTacacs(ctx *Context, args *LookupAllowedProtocolsTacacsArgs, opts ...InvokeOption) (*LookupAllowedProtocolsTacacsResult, error)
    func LookupAllowedProtocolsTacacsOutput(ctx *Context, args *LookupAllowedProtocolsTacacsOutputArgs, opts ...InvokeOption) LookupAllowedProtocolsTacacsResultOutput

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

    public static class GetAllowedProtocolsTacacs 
    {
        public static Task<GetAllowedProtocolsTacacsResult> InvokeAsync(GetAllowedProtocolsTacacsArgs args, InvokeOptions? opts = null)
        public static Output<GetAllowedProtocolsTacacsResult> Invoke(GetAllowedProtocolsTacacsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAllowedProtocolsTacacsResult> getAllowedProtocolsTacacs(GetAllowedProtocolsTacacsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: ise:deviceadmin/getAllowedProtocolsTacacs:getAllowedProtocolsTacacs
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The id of the object
    Name string
    The name of the allowed protocols
    Id string
    The id of the object
    Name string
    The name of the allowed protocols
    id String
    The id of the object
    name String
    The name of the allowed protocols
    id string
    The id of the object
    name string
    The name of the allowed protocols
    id str
    The id of the object
    name str
    The name of the allowed protocols
    id String
    The id of the object
    name String
    The name of the allowed protocols

    getAllowedProtocolsTacacs Result

    The following output properties are available:

    AllowChap bool
    Allow CHAP
    AllowMsChapV1 bool
    Allow MS CHAP v1
    AllowPapAscii bool
    Allow PAP ASCII
    Description string
    Description
    Id string
    The id of the object
    Name string
    The name of the allowed protocols
    AllowChap bool
    Allow CHAP
    AllowMsChapV1 bool
    Allow MS CHAP v1
    AllowPapAscii bool
    Allow PAP ASCII
    Description string
    Description
    Id string
    The id of the object
    Name string
    The name of the allowed protocols
    allowChap Boolean
    Allow CHAP
    allowMsChapV1 Boolean
    Allow MS CHAP v1
    allowPapAscii Boolean
    Allow PAP ASCII
    description String
    Description
    id String
    The id of the object
    name String
    The name of the allowed protocols
    allowChap boolean
    Allow CHAP
    allowMsChapV1 boolean
    Allow MS CHAP v1
    allowPapAscii boolean
    Allow PAP ASCII
    description string
    Description
    id string
    The id of the object
    name string
    The name of the allowed protocols
    allow_chap bool
    Allow CHAP
    allow_ms_chap_v1 bool
    Allow MS CHAP v1
    allow_pap_ascii bool
    Allow PAP ASCII
    description str
    Description
    id str
    The id of the object
    name str
    The name of the allowed protocols
    allowChap Boolean
    Allow CHAP
    allowMsChapV1 Boolean
    Allow MS CHAP v1
    allowPapAscii Boolean
    Allow PAP ASCII
    description String
    Description
    id String
    The id of the object
    name String
    The name of the allowed protocols

    Package Details

    Repository
    ise pulumi/pulumi-ise
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the ise Terraform Provider.
    ise logo
    Cisco ISE v0.1.10 published on Tuesday, Nov 19, 2024 by Pulumi