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

ise.networkaccess.Dictionary

Explore with Pulumi AI

This resource can manage a Network Access Dictionary.

Example Usage

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

const example = new ise.networkaccess.Dictionary("example", {
    name: "Dict1",
    description: "My description",
    version: "1.1",
    dictionaryAttrType: "ENTITY_ATTR",
});
Copy
import pulumi
import pulumi_ise as ise

example = ise.networkaccess.Dictionary("example",
    name="Dict1",
    description="My description",
    version="1.1",
    dictionary_attr_type="ENTITY_ATTR")
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.NewDictionary(ctx, "example", &networkaccess.DictionaryArgs{
			Name:               pulumi.String("Dict1"),
			Description:        pulumi.String("My description"),
			Version:            pulumi.String("1.1"),
			DictionaryAttrType: pulumi.String("ENTITY_ATTR"),
		})
		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 = new Ise.NetworkAccess.Dictionary("example", new()
    {
        Name = "Dict1",
        Description = "My description",
        Version = "1.1",
        DictionaryAttrType = "ENTITY_ATTR",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ise.networkaccess.Dictionary;
import com.pulumi.ise.networkaccess.DictionaryArgs;
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) {
        var example = new Dictionary("example", DictionaryArgs.builder()
            .name("Dict1")
            .description("My description")
            .version("1.1")
            .dictionaryAttrType("ENTITY_ATTR")
            .build());

    }
}
Copy
resources:
  example:
    type: ise:networkaccess:Dictionary
    properties:
      name: Dict1
      description: My description
      version: '1.1'
      dictionaryAttrType: ENTITY_ATTR
Copy

Create Dictionary Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Dictionary(name: string, args: DictionaryArgs, opts?: CustomResourceOptions);
@overload
def Dictionary(resource_name: str,
               args: DictionaryArgs,
               opts: Optional[ResourceOptions] = None)

@overload
def Dictionary(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               dictionary_attr_type: Optional[str] = None,
               version: Optional[str] = None,
               description: Optional[str] = None,
               name: Optional[str] = None)
func NewDictionary(ctx *Context, name string, args DictionaryArgs, opts ...ResourceOption) (*Dictionary, error)
public Dictionary(string name, DictionaryArgs args, CustomResourceOptions? opts = null)
public Dictionary(String name, DictionaryArgs args)
public Dictionary(String name, DictionaryArgs args, CustomResourceOptions options)
type: ise:networkaccess:Dictionary
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. DictionaryArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. DictionaryArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. DictionaryArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. DictionaryArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. DictionaryArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var dictionaryResource = new Ise.NetworkAccess.Dictionary("dictionaryResource", new()
{
    DictionaryAttrType = "string",
    Version = "string",
    Description = "string",
    Name = "string",
});
Copy
example, err := networkaccess.NewDictionary(ctx, "dictionaryResource", &networkaccess.DictionaryArgs{
	DictionaryAttrType: pulumi.String("string"),
	Version:            pulumi.String("string"),
	Description:        pulumi.String("string"),
	Name:               pulumi.String("string"),
})
Copy
var dictionaryResource = new Dictionary("dictionaryResource", DictionaryArgs.builder()
    .dictionaryAttrType("string")
    .version("string")
    .description("string")
    .name("string")
    .build());
Copy
dictionary_resource = ise.networkaccess.Dictionary("dictionaryResource",
    dictionary_attr_type="string",
    version="string",
    description="string",
    name="string")
Copy
const dictionaryResource = new ise.networkaccess.Dictionary("dictionaryResource", {
    dictionaryAttrType: "string",
    version: "string",
    description: "string",
    name: "string",
});
Copy
type: ise:networkaccess:Dictionary
properties:
    description: string
    dictionaryAttrType: string
    name: string
    version: string
Copy

Dictionary Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Dictionary resource accepts the following input properties:

DictionaryAttrType This property is required. string
The dictionary attribute type - Choices: ENTITY_ATTR, MSG_ATTR, PIP_ATTR
Version This property is required. string
The version of the dictionary
Description string
The description of the dictionary
Name string
The dictionary name
DictionaryAttrType This property is required. string
The dictionary attribute type - Choices: ENTITY_ATTR, MSG_ATTR, PIP_ATTR
Version This property is required. string
The version of the dictionary
Description string
The description of the dictionary
Name string
The dictionary name
dictionaryAttrType This property is required. String
The dictionary attribute type - Choices: ENTITY_ATTR, MSG_ATTR, PIP_ATTR
version This property is required. String
The version of the dictionary
description String
The description of the dictionary
name String
The dictionary name
dictionaryAttrType This property is required. string
The dictionary attribute type - Choices: ENTITY_ATTR, MSG_ATTR, PIP_ATTR
version This property is required. string
The version of the dictionary
description string
The description of the dictionary
name string
The dictionary name
dictionary_attr_type This property is required. str
The dictionary attribute type - Choices: ENTITY_ATTR, MSG_ATTR, PIP_ATTR
version This property is required. str
The version of the dictionary
description str
The description of the dictionary
name str
The dictionary name
dictionaryAttrType This property is required. String
The dictionary attribute type - Choices: ENTITY_ATTR, MSG_ATTR, PIP_ATTR
version This property is required. String
The version of the dictionary
description String
The description of the dictionary
name String
The dictionary name

Outputs

All input properties are implicitly available as output properties. Additionally, the Dictionary resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing Dictionary Resource

Get an existing Dictionary resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: DictionaryState, opts?: CustomResourceOptions): Dictionary
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        description: Optional[str] = None,
        dictionary_attr_type: Optional[str] = None,
        name: Optional[str] = None,
        version: Optional[str] = None) -> Dictionary
func GetDictionary(ctx *Context, name string, id IDInput, state *DictionaryState, opts ...ResourceOption) (*Dictionary, error)
public static Dictionary Get(string name, Input<string> id, DictionaryState? state, CustomResourceOptions? opts = null)
public static Dictionary get(String name, Output<String> id, DictionaryState state, CustomResourceOptions options)
resources:  _:    type: ise:networkaccess:Dictionary    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Description string
The description of the dictionary
DictionaryAttrType string
The dictionary attribute type - Choices: ENTITY_ATTR, MSG_ATTR, PIP_ATTR
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 - Choices: ENTITY_ATTR, MSG_ATTR, PIP_ATTR
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 - Choices: ENTITY_ATTR, MSG_ATTR, PIP_ATTR
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 - Choices: ENTITY_ATTR, MSG_ATTR, PIP_ATTR
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 - Choices: ENTITY_ATTR, MSG_ATTR, PIP_ATTR
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 - Choices: ENTITY_ATTR, MSG_ATTR, PIP_ATTR
name String
The dictionary name
version String
The version of the dictionary

Import

$ pulumi import ise:networkaccess/dictionary:Dictionary example "Dict1"
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
ise pulumi/pulumi-ise
License
Apache-2.0
Notes
This Pulumi package is based on the ise Terraform Provider.