1. Packages
  2. Packages
  3. Cisco ISE Provider
  4. API Docs
  5. networkaccess
  6. DictionaryAttribute
Viewing docs for Cisco ISE v0.3.1
published on Friday, May 8, 2026 by Pulumi
ise logo
Viewing docs for Cisco ISE v0.3.1
published on Friday, May 8, 2026 by Pulumi

    This resource can manage a Network Access Dictionary Attribute.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ise from "@pulumi/ise";
    
    const example = new ise.networkaccess.DictionaryAttribute("example", {
        dictionaryName: "CustomDict",
        name: "Custom-Attr",
        description: "My custom dictionary attribute",
        dataType: "STRING",
        directionType: "BOTH",
        internalName: "Custom-Attr",
        allowedValues: [{
            key: "key1",
            value: "value1",
        }],
    });
    
    import pulumi
    import pulumi_ise as ise
    
    example = ise.networkaccess.DictionaryAttribute("example",
        dictionary_name="CustomDict",
        name="Custom-Attr",
        description="My custom dictionary attribute",
        data_type="STRING",
        direction_type="BOTH",
        internal_name="Custom-Attr",
        allowed_values=[{
            "key": "key1",
            "value": "value1",
        }])
    
    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.NewDictionaryAttribute(ctx, "example", &networkaccess.DictionaryAttributeArgs{
    			DictionaryName: pulumi.String("CustomDict"),
    			Name:           pulumi.String("Custom-Attr"),
    			Description:    pulumi.String("My custom dictionary attribute"),
    			DataType:       pulumi.String("STRING"),
    			DirectionType:  pulumi.String("BOTH"),
    			InternalName:   pulumi.String("Custom-Attr"),
    			AllowedValues: networkaccess.DictionaryAttributeAllowedValueArray{
    				&networkaccess.DictionaryAttributeAllowedValueArgs{
    					Key:   pulumi.String("key1"),
    					Value: pulumi.String("value1"),
    				},
    			},
    		})
    		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 = new Ise.NetworkAccess.DictionaryAttribute("example", new()
        {
            DictionaryName = "CustomDict",
            Name = "Custom-Attr",
            Description = "My custom dictionary attribute",
            DataType = "STRING",
            DirectionType = "BOTH",
            InternalName = "Custom-Attr",
            AllowedValues = new[]
            {
                new Ise.NetworkAccess.Inputs.DictionaryAttributeAllowedValueArgs
                {
                    Key = "key1",
                    Value = "value1",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ise.networkaccess.DictionaryAttribute;
    import com.pulumi.ise.networkaccess.DictionaryAttributeArgs;
    import com.pulumi.ise.networkaccess.inputs.DictionaryAttributeAllowedValueArgs;
    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 DictionaryAttribute("example", DictionaryAttributeArgs.builder()
                .dictionaryName("CustomDict")
                .name("Custom-Attr")
                .description("My custom dictionary attribute")
                .dataType("STRING")
                .directionType("BOTH")
                .internalName("Custom-Attr")
                .allowedValues(DictionaryAttributeAllowedValueArgs.builder()
                    .key("key1")
                    .value("value1")
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: ise:networkaccess:DictionaryAttribute
        properties:
          dictionaryName: CustomDict
          name: Custom-Attr
          description: My custom dictionary attribute
          dataType: STRING
          directionType: BOTH
          internalName: Custom-Attr
          allowedValues:
            - key: key1
              value: value1
    

    Create DictionaryAttribute Resource

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

    Constructor syntax

    new DictionaryAttribute(name: string, args: DictionaryAttributeArgs, opts?: CustomResourceOptions);
    @overload
    def DictionaryAttribute(resource_name: str,
                            args: DictionaryAttributeArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def DictionaryAttribute(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            data_type: Optional[str] = None,
                            dictionary_name: Optional[str] = None,
                            allowed_values: Optional[Sequence[DictionaryAttributeAllowedValueArgs]] = None,
                            description: Optional[str] = None,
                            direction_type: Optional[str] = None,
                            internal_name: Optional[str] = None,
                            name: Optional[str] = None)
    func NewDictionaryAttribute(ctx *Context, name string, args DictionaryAttributeArgs, opts ...ResourceOption) (*DictionaryAttribute, error)
    public DictionaryAttribute(string name, DictionaryAttributeArgs args, CustomResourceOptions? opts = null)
    public DictionaryAttribute(String name, DictionaryAttributeArgs args)
    public DictionaryAttribute(String name, DictionaryAttributeArgs args, CustomResourceOptions options)
    
    type: ise:networkaccess:DictionaryAttribute
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args DictionaryAttributeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args DictionaryAttributeArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args DictionaryAttributeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DictionaryAttributeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DictionaryAttributeArgs
    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 dictionaryAttributeResource = new Ise.NetworkAccess.DictionaryAttribute("dictionaryAttributeResource", new()
    {
        DataType = "string",
        DictionaryName = "string",
        AllowedValues = new[]
        {
            new Ise.NetworkAccess.Inputs.DictionaryAttributeAllowedValueArgs
            {
                Key = "string",
                Value = "string",
            },
        },
        Description = "string",
        DirectionType = "string",
        InternalName = "string",
        Name = "string",
    });
    
    example, err := networkaccess.NewDictionaryAttribute(ctx, "dictionaryAttributeResource", &networkaccess.DictionaryAttributeArgs{
    	DataType:       pulumi.String("string"),
    	DictionaryName: pulumi.String("string"),
    	AllowedValues: networkaccess.DictionaryAttributeAllowedValueArray{
    		&networkaccess.DictionaryAttributeAllowedValueArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    	Description:   pulumi.String("string"),
    	DirectionType: pulumi.String("string"),
    	InternalName:  pulumi.String("string"),
    	Name:          pulumi.String("string"),
    })
    
    var dictionaryAttributeResource = new DictionaryAttribute("dictionaryAttributeResource", DictionaryAttributeArgs.builder()
        .dataType("string")
        .dictionaryName("string")
        .allowedValues(DictionaryAttributeAllowedValueArgs.builder()
            .key("string")
            .value("string")
            .build())
        .description("string")
        .directionType("string")
        .internalName("string")
        .name("string")
        .build());
    
    dictionary_attribute_resource = ise.networkaccess.DictionaryAttribute("dictionaryAttributeResource",
        data_type="string",
        dictionary_name="string",
        allowed_values=[{
            "key": "string",
            "value": "string",
        }],
        description="string",
        direction_type="string",
        internal_name="string",
        name="string")
    
    const dictionaryAttributeResource = new ise.networkaccess.DictionaryAttribute("dictionaryAttributeResource", {
        dataType: "string",
        dictionaryName: "string",
        allowedValues: [{
            key: "string",
            value: "string",
        }],
        description: "string",
        directionType: "string",
        internalName: "string",
        name: "string",
    });
    
    type: ise:networkaccess:DictionaryAttribute
    properties:
        allowedValues:
            - key: string
              value: string
        dataType: string
        description: string
        dictionaryName: string
        directionType: string
        internalName: string
        name: string
    

    DictionaryAttribute 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 DictionaryAttribute resource accepts the following input properties:

    DataType string
    The data type for the dictionary attribute

    • Choices: BOOLEAN, DATE, FLOAT, INT, IP, IPv4, IPv6, IPV6PREFIX, LONG, OCTET_STRING, STRING, UNIT32, UNIT64
    DictionaryName string
    The name of the dictionary the attribute belongs to
    AllowedValues List<DictionaryAttributeAllowedValue>
    List of allowed values for the attribute
    Description string
    The description of the dictionary attribute
    DirectionType string
    The direction type for the dictionary attribute

    • Choices: BOTH, IN, NONE, OUT
    InternalName string
    The internal name of the dictionary attribute
    Name string
    The dictionary attribute name
    DataType string
    The data type for the dictionary attribute

    • Choices: BOOLEAN, DATE, FLOAT, INT, IP, IPv4, IPv6, IPV6PREFIX, LONG, OCTET_STRING, STRING, UNIT32, UNIT64
    DictionaryName string
    The name of the dictionary the attribute belongs to
    AllowedValues []DictionaryAttributeAllowedValueArgs
    List of allowed values for the attribute
    Description string
    The description of the dictionary attribute
    DirectionType string
    The direction type for the dictionary attribute

    • Choices: BOTH, IN, NONE, OUT
    InternalName string
    The internal name of the dictionary attribute
    Name string
    The dictionary attribute name
    dataType String
    The data type for the dictionary attribute

    • Choices: BOOLEAN, DATE, FLOAT, INT, IP, IPv4, IPv6, IPV6PREFIX, LONG, OCTET_STRING, STRING, UNIT32, UNIT64
    dictionaryName String
    The name of the dictionary the attribute belongs to
    allowedValues List<DictionaryAttributeAllowedValue>
    List of allowed values for the attribute
    description String
    The description of the dictionary attribute
    directionType String
    The direction type for the dictionary attribute

    • Choices: BOTH, IN, NONE, OUT
    internalName String
    The internal name of the dictionary attribute
    name String
    The dictionary attribute name
    dataType string
    The data type for the dictionary attribute

    • Choices: BOOLEAN, DATE, FLOAT, INT, IP, IPv4, IPv6, IPV6PREFIX, LONG, OCTET_STRING, STRING, UNIT32, UNIT64
    dictionaryName string
    The name of the dictionary the attribute belongs to
    allowedValues DictionaryAttributeAllowedValue[]
    List of allowed values for the attribute
    description string
    The description of the dictionary attribute
    directionType string
    The direction type for the dictionary attribute

    • Choices: BOTH, IN, NONE, OUT
    internalName string
    The internal name of the dictionary attribute
    name string
    The dictionary attribute name
    data_type str
    The data type for the dictionary attribute

    • Choices: BOOLEAN, DATE, FLOAT, INT, IP, IPv4, IPv6, IPV6PREFIX, LONG, OCTET_STRING, STRING, UNIT32, UNIT64
    dictionary_name str
    The name of the dictionary the attribute belongs to
    allowed_values Sequence[DictionaryAttributeAllowedValueArgs]
    List of allowed values for the attribute
    description str
    The description of the dictionary attribute
    direction_type str
    The direction type for the dictionary attribute

    • Choices: BOTH, IN, NONE, OUT
    internal_name str
    The internal name of the dictionary attribute
    name str
    The dictionary attribute name
    dataType String
    The data type for the dictionary attribute

    • Choices: BOOLEAN, DATE, FLOAT, INT, IP, IPv4, IPv6, IPV6PREFIX, LONG, OCTET_STRING, STRING, UNIT32, UNIT64
    dictionaryName String
    The name of the dictionary the attribute belongs to
    allowedValues List<Property Map>
    List of allowed values for the attribute
    description String
    The description of the dictionary attribute
    directionType String
    The direction type for the dictionary attribute

    • Choices: BOTH, IN, NONE, OUT
    internalName String
    The internal name of the dictionary attribute
    name String
    The dictionary attribute name

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DictionaryAttribute 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 DictionaryAttribute Resource

    Get an existing DictionaryAttribute 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?: DictionaryAttributeState, opts?: CustomResourceOptions): DictionaryAttribute
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            allowed_values: Optional[Sequence[DictionaryAttributeAllowedValueArgs]] = None,
            data_type: Optional[str] = None,
            description: Optional[str] = None,
            dictionary_name: Optional[str] = None,
            direction_type: Optional[str] = None,
            internal_name: Optional[str] = None,
            name: Optional[str] = None) -> DictionaryAttribute
    func GetDictionaryAttribute(ctx *Context, name string, id IDInput, state *DictionaryAttributeState, opts ...ResourceOption) (*DictionaryAttribute, error)
    public static DictionaryAttribute Get(string name, Input<string> id, DictionaryAttributeState? state, CustomResourceOptions? opts = null)
    public static DictionaryAttribute get(String name, Output<String> id, DictionaryAttributeState state, CustomResourceOptions options)
    resources:  _:    type: ise:networkaccess:DictionaryAttribute    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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:
    AllowedValues List<DictionaryAttributeAllowedValue>
    List of allowed values for the attribute
    DataType string
    The data type for the dictionary attribute

    • Choices: BOOLEAN, DATE, FLOAT, INT, IP, IPv4, IPv6, IPV6PREFIX, LONG, OCTET_STRING, STRING, UNIT32, UNIT64
    Description string
    The description of the dictionary attribute
    DictionaryName string
    The name of the dictionary the attribute belongs to
    DirectionType string
    The direction type for the dictionary attribute

    • Choices: BOTH, IN, NONE, OUT
    InternalName string
    The internal name of the dictionary attribute
    Name string
    The dictionary attribute name
    AllowedValues []DictionaryAttributeAllowedValueArgs
    List of allowed values for the attribute
    DataType string
    The data type for the dictionary attribute

    • Choices: BOOLEAN, DATE, FLOAT, INT, IP, IPv4, IPv6, IPV6PREFIX, LONG, OCTET_STRING, STRING, UNIT32, UNIT64
    Description string
    The description of the dictionary attribute
    DictionaryName string
    The name of the dictionary the attribute belongs to
    DirectionType string
    The direction type for the dictionary attribute

    • Choices: BOTH, IN, NONE, OUT
    InternalName string
    The internal name of the dictionary attribute
    Name string
    The dictionary attribute name
    allowedValues List<DictionaryAttributeAllowedValue>
    List of allowed values for the attribute
    dataType String
    The data type for the dictionary attribute

    • Choices: BOOLEAN, DATE, FLOAT, INT, IP, IPv4, IPv6, IPV6PREFIX, LONG, OCTET_STRING, STRING, UNIT32, UNIT64
    description String
    The description of the dictionary attribute
    dictionaryName String
    The name of the dictionary the attribute belongs to
    directionType String
    The direction type for the dictionary attribute

    • Choices: BOTH, IN, NONE, OUT
    internalName String
    The internal name of the dictionary attribute
    name String
    The dictionary attribute name
    allowedValues DictionaryAttributeAllowedValue[]
    List of allowed values for the attribute
    dataType string
    The data type for the dictionary attribute

    • Choices: BOOLEAN, DATE, FLOAT, INT, IP, IPv4, IPv6, IPV6PREFIX, LONG, OCTET_STRING, STRING, UNIT32, UNIT64
    description string
    The description of the dictionary attribute
    dictionaryName string
    The name of the dictionary the attribute belongs to
    directionType string
    The direction type for the dictionary attribute

    • Choices: BOTH, IN, NONE, OUT
    internalName string
    The internal name of the dictionary attribute
    name string
    The dictionary attribute name
    allowed_values Sequence[DictionaryAttributeAllowedValueArgs]
    List of allowed values for the attribute
    data_type str
    The data type for the dictionary attribute

    • Choices: BOOLEAN, DATE, FLOAT, INT, IP, IPv4, IPv6, IPV6PREFIX, LONG, OCTET_STRING, STRING, UNIT32, UNIT64
    description str
    The description of the dictionary attribute
    dictionary_name str
    The name of the dictionary the attribute belongs to
    direction_type str
    The direction type for the dictionary attribute

    • Choices: BOTH, IN, NONE, OUT
    internal_name str
    The internal name of the dictionary attribute
    name str
    The dictionary attribute name
    allowedValues List<Property Map>
    List of allowed values for the attribute
    dataType String
    The data type for the dictionary attribute

    • Choices: BOOLEAN, DATE, FLOAT, INT, IP, IPv4, IPv6, IPV6PREFIX, LONG, OCTET_STRING, STRING, UNIT32, UNIT64
    description String
    The description of the dictionary attribute
    dictionaryName String
    The name of the dictionary the attribute belongs to
    directionType String
    The direction type for the dictionary attribute

    • Choices: BOTH, IN, NONE, OUT
    internalName String
    The internal name of the dictionary attribute
    name String
    The dictionary attribute name

    Supporting Types

    DictionaryAttributeAllowedValue, DictionaryAttributeAllowedValueArgs

    Key string
    The allowed value key
    Value string
    The allowed value
    Key string
    The allowed value key
    Value string
    The allowed value
    key String
    The allowed value key
    value String
    The allowed value
    key string
    The allowed value key
    value string
    The allowed value
    key str
    The allowed value key
    value str
    The allowed value
    key String
    The allowed value key
    value String
    The allowed value

    Import

    The pulumi import command can be used, for example:

    $ pulumi import ise:networkaccess/dictionaryAttribute:DictionaryAttribute example "CustomDict,Custom-Attr"
    

    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.
    ise logo
    Viewing docs for Cisco ISE v0.3.1
    published on Friday, May 8, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.