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

ise.networkaccess.getDictionary

Explore with Pulumi AI

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

    This data source can read the Network Access Dictionary.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ise from "@pulumi/ise";
    
    const example = ise.networkaccess.getDictionary({
        id: "Dict1",
    });
    
    import pulumi
    import pulumi_ise as ise
    
    example = ise.networkaccess.get_dictionary(id="Dict1")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-ise/sdk/go/ise/networkaccess"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := networkaccess.LookupDictionary(ctx, &networkaccess.LookupDictionaryArgs{
    			Id: pulumi.StringRef("Dict1"),
    		}, 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.NetworkAccess.GetDictionary.Invoke(new()
        {
            Id = "Dict1",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ise.networkaccess.NetworkaccessFunctions;
    import com.pulumi.ise.networkaccess.inputs.GetDictionaryArgs;
    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 = NetworkaccessFunctions.getDictionary(GetDictionaryArgs.builder()
                .id("Dict1")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: ise:networkaccess:getDictionary
          Arguments:
            id: Dict1
    

    Using getDictionary

    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 getDictionary(args: GetDictionaryArgs, opts?: InvokeOptions): Promise<GetDictionaryResult>
    function getDictionaryOutput(args: GetDictionaryOutputArgs, opts?: InvokeOptions): Output<GetDictionaryResult>
    def get_dictionary(id: Optional[str] = None,
                       name: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetDictionaryResult
    def get_dictionary_output(id: Optional[pulumi.Input[str]] = None,
                       name: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetDictionaryResult]
    func LookupDictionary(ctx *Context, args *LookupDictionaryArgs, opts ...InvokeOption) (*LookupDictionaryResult, error)
    func LookupDictionaryOutput(ctx *Context, args *LookupDictionaryOutputArgs, opts ...InvokeOption) LookupDictionaryResultOutput

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

    public static class GetDictionary 
    {
        public static Task<GetDictionaryResult> InvokeAsync(GetDictionaryArgs args, InvokeOptions? opts = null)
        public static Output<GetDictionaryResult> Invoke(GetDictionaryInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDictionaryResult> getDictionary(GetDictionaryArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: ise:networkaccess/getDictionary:getDictionary
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The id of the object
    Name string
    The dictionary name
    Id string
    The id of the object
    Name string
    The dictionary name
    id String
    The id of the object
    name String
    The dictionary name
    id string
    The id of the object
    name string
    The dictionary name
    id str
    The id of the object
    name str
    The dictionary name
    id String
    The id of the object
    name String
    The dictionary name

    getDictionary Result

    The following output properties are available:

    Description string
    The description of the dictionary
    DictionaryAttrType string
    The dictionary attribute type
    Id string
    The id of the object
    Name string
    The dictionary name
    Version string
    The version of the dictionary
    Description string
    The description of the dictionary
    DictionaryAttrType string
    The dictionary attribute type
    Id string
    The id of the object
    Name string
    The dictionary name
    Version string
    The version of the dictionary
    description String
    The description of the dictionary
    dictionaryAttrType String
    The dictionary attribute type
    id String
    The id of the object
    name String
    The dictionary name
    version String
    The version of the dictionary
    description string
    The description of the dictionary
    dictionaryAttrType string
    The dictionary attribute type
    id string
    The id of the object
    name string
    The dictionary name
    version string
    The version of the dictionary
    description str
    The description of the dictionary
    dictionary_attr_type str
    The dictionary attribute type
    id str
    The id of the object
    name str
    The dictionary name
    version str
    The version of the dictionary
    description String
    The description of the dictionary
    dictionaryAttrType String
    The dictionary attribute type
    id String
    The id of the object
    name String
    The dictionary name
    version String
    The version of the dictionary

    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