Cisco ISE v0.2.1 published on Saturday, Mar 15, 2025 by Pulumi
ise.networkaccess.getDictionary
Explore with Pulumi AI
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)
public static Output<GetDictionaryResult> getDictionary(GetDictionaryArgs args, InvokeOptions options)
fn::invoke:
  function: ise:networkaccess/getDictionary:getDictionary
  arguments:
    # arguments dictionaryThe following arguments are supported:
getDictionary Result
The following output properties are available:
- Description string
- The description of the dictionary
- DictionaryAttr stringType 
- 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
- DictionaryAttr stringType 
- 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
- dictionaryAttr StringType 
- 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
- dictionaryAttr stringType 
- 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_ strtype 
- 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
- dictionaryAttr StringType 
- 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 iseTerraform Provider.
