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

ise.networkaccess.getDictionary

Explore with Pulumi AI

Cisco ISE v0.2.1 published on Saturday, Mar 15, 2025 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",
});
Copy
import pulumi
import pulumi_ise as ise

example = ise.networkaccess.get_dictionary(id="Dict1")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: ise:networkaccess:getDictionary
      arguments:
        id: Dict1
Copy

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>
Copy
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]
Copy
func LookupDictionary(ctx *Context, args *LookupDictionaryArgs, opts ...InvokeOption) (*LookupDictionaryResult, error)
func LookupDictionaryOutput(ctx *Context, args *LookupDictionaryOutputArgs, opts ...InvokeOption) LookupDictionaryResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetDictionaryResult> getDictionary(GetDictionaryArgs args, InvokeOptions options)
public static Output<GetDictionaryResult> getDictionary(GetDictionaryArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: ise:networkaccess/getDictionary:getDictionary
  arguments:
    # arguments dictionary
Copy

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.
Cisco ISE v0.2.1 published on Saturday, Mar 15, 2025 by Pulumi