published on Thursday, May 14, 2026 by Pulumi
published on Thursday, May 14, 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.ArrayList;
import java.util.Arrays;
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
Example coming soon!
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.
resource "ise_networkaccess_dictionaryattribute" "name" {
# resource properties
}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"),
})
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"
}
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:
- Data
Type string - The data type for the dictionary attribute
- Choices:
BOOLEAN,DATE,FLOAT,INT,IP,IPv4,IPv6,IPV6PREFIX,LONG,OCTET_STRING,STRING,UNIT32,UNIT64
- Choices:
- Dictionary
Name string - The name of the dictionary the attribute belongs to
- Allowed
Values List<DictionaryAttribute Allowed Value> - List of allowed values for the attribute
- Description string
- The description of the dictionary attribute
- Direction
Type string - The direction type for the dictionary attribute
- Choices:
BOTH,IN,NONE,OUT
- Choices:
- Internal
Name string - The internal name of the dictionary attribute
- Name string
- The dictionary attribute name
- Data
Type string - The data type for the dictionary attribute
- Choices:
BOOLEAN,DATE,FLOAT,INT,IP,IPv4,IPv6,IPV6PREFIX,LONG,OCTET_STRING,STRING,UNIT32,UNIT64
- Choices:
- Dictionary
Name string - The name of the dictionary the attribute belongs to
- Allowed
Values []DictionaryAttribute Allowed Value Args - List of allowed values for the attribute
- Description string
- The description of the dictionary attribute
- Direction
Type string - The direction type for the dictionary attribute
- Choices:
BOTH,IN,NONE,OUT
- Choices:
- Internal
Name string - The internal name of the dictionary attribute
- Name string
- The dictionary attribute name
- data_
type string - The data type for the dictionary attribute
- Choices:
BOOLEAN,DATE,FLOAT,INT,IP,IPv4,IPv6,IPV6PREFIX,LONG,OCTET_STRING,STRING,UNIT32,UNIT64
- Choices:
- dictionary_
name string - The name of the dictionary the attribute belongs to
- allowed_
values list(object) - List of allowed values for the attribute
- description string
- The description of the dictionary attribute
- direction_
type string - The direction type for the dictionary attribute
- Choices:
BOTH,IN,NONE,OUT
- Choices:
- internal_
name string - The internal name of the dictionary attribute
- name string
- The dictionary attribute name
- data
Type String - The data type for the dictionary attribute
- Choices:
BOOLEAN,DATE,FLOAT,INT,IP,IPv4,IPv6,IPV6PREFIX,LONG,OCTET_STRING,STRING,UNIT32,UNIT64
- Choices:
- dictionary
Name String - The name of the dictionary the attribute belongs to
- allowed
Values List<DictionaryAttribute Allowed Value> - List of allowed values for the attribute
- description String
- The description of the dictionary attribute
- direction
Type String - The direction type for the dictionary attribute
- Choices:
BOTH,IN,NONE,OUT
- Choices:
- internal
Name String - The internal name of the dictionary attribute
- name String
- The dictionary attribute name
- data
Type string - The data type for the dictionary attribute
- Choices:
BOOLEAN,DATE,FLOAT,INT,IP,IPv4,IPv6,IPV6PREFIX,LONG,OCTET_STRING,STRING,UNIT32,UNIT64
- Choices:
- dictionary
Name string - The name of the dictionary the attribute belongs to
- allowed
Values DictionaryAttribute Allowed Value[] - List of allowed values for the attribute
- description string
- The description of the dictionary attribute
- direction
Type string - The direction type for the dictionary attribute
- Choices:
BOTH,IN,NONE,OUT
- Choices:
- internal
Name 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
- Choices:
- dictionary_
name str - The name of the dictionary the attribute belongs to
- allowed_
values Sequence[DictionaryAttribute Allowed Value Args] - 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
- Choices:
- internal_
name str - The internal name of the dictionary attribute
- name str
- The dictionary attribute name
- data
Type String - The data type for the dictionary attribute
- Choices:
BOOLEAN,DATE,FLOAT,INT,IP,IPv4,IPv6,IPV6PREFIX,LONG,OCTET_STRING,STRING,UNIT32,UNIT64
- Choices:
- dictionary
Name String - The name of the dictionary the attribute belongs to
- allowed
Values List<Property Map> - List of allowed values for the attribute
- description String
- The description of the dictionary attribute
- direction
Type String - The direction type for the dictionary attribute
- Choices:
BOTH,IN,NONE,OUT
- Choices:
- internal
Name 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 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) -> DictionaryAttributefunc 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}import {
to = ise_networkaccess_dictionaryattribute.example
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.
- Allowed
Values List<DictionaryAttribute Allowed Value> - List of allowed values for the attribute
- Data
Type string - The data type for the dictionary attribute
- Choices:
BOOLEAN,DATE,FLOAT,INT,IP,IPv4,IPv6,IPV6PREFIX,LONG,OCTET_STRING,STRING,UNIT32,UNIT64
- Choices:
- Description string
- The description of the dictionary attribute
- Dictionary
Name string - The name of the dictionary the attribute belongs to
- Direction
Type string - The direction type for the dictionary attribute
- Choices:
BOTH,IN,NONE,OUT
- Choices:
- Internal
Name string - The internal name of the dictionary attribute
- Name string
- The dictionary attribute name
- Allowed
Values []DictionaryAttribute Allowed Value Args - List of allowed values for the attribute
- Data
Type string - The data type for the dictionary attribute
- Choices:
BOOLEAN,DATE,FLOAT,INT,IP,IPv4,IPv6,IPV6PREFIX,LONG,OCTET_STRING,STRING,UNIT32,UNIT64
- Choices:
- Description string
- The description of the dictionary attribute
- Dictionary
Name string - The name of the dictionary the attribute belongs to
- Direction
Type string - The direction type for the dictionary attribute
- Choices:
BOTH,IN,NONE,OUT
- Choices:
- Internal
Name string - The internal name of the dictionary attribute
- Name string
- The dictionary attribute name
- allowed_
values list(object) - List of allowed values for the attribute
- data_
type string - The data type for the dictionary attribute
- Choices:
BOOLEAN,DATE,FLOAT,INT,IP,IPv4,IPv6,IPV6PREFIX,LONG,OCTET_STRING,STRING,UNIT32,UNIT64
- Choices:
- description string
- The description of the dictionary attribute
- dictionary_
name string - The name of the dictionary the attribute belongs to
- direction_
type string - The direction type for the dictionary attribute
- Choices:
BOTH,IN,NONE,OUT
- Choices:
- internal_
name string - The internal name of the dictionary attribute
- name string
- The dictionary attribute name
- allowed
Values List<DictionaryAttribute Allowed Value> - List of allowed values for the attribute
- data
Type String - The data type for the dictionary attribute
- Choices:
BOOLEAN,DATE,FLOAT,INT,IP,IPv4,IPv6,IPV6PREFIX,LONG,OCTET_STRING,STRING,UNIT32,UNIT64
- Choices:
- description String
- The description of the dictionary attribute
- dictionary
Name String - The name of the dictionary the attribute belongs to
- direction
Type String - The direction type for the dictionary attribute
- Choices:
BOTH,IN,NONE,OUT
- Choices:
- internal
Name String - The internal name of the dictionary attribute
- name String
- The dictionary attribute name
- allowed
Values DictionaryAttribute Allowed Value[] - List of allowed values for the attribute
- data
Type string - The data type for the dictionary attribute
- Choices:
BOOLEAN,DATE,FLOAT,INT,IP,IPv4,IPv6,IPV6PREFIX,LONG,OCTET_STRING,STRING,UNIT32,UNIT64
- Choices:
- description string
- The description of the dictionary attribute
- dictionary
Name string - The name of the dictionary the attribute belongs to
- direction
Type string - The direction type for the dictionary attribute
- Choices:
BOTH,IN,NONE,OUT
- Choices:
- internal
Name string - The internal name of the dictionary attribute
- name string
- The dictionary attribute name
- allowed_
values Sequence[DictionaryAttribute Allowed Value Args] - 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
- Choices:
- 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
- Choices:
- internal_
name str - The internal name of the dictionary attribute
- name str
- The dictionary attribute name
- allowed
Values List<Property Map> - List of allowed values for the attribute
- data
Type String - The data type for the dictionary attribute
- Choices:
BOOLEAN,DATE,FLOAT,INT,IP,IPv4,IPv6,IPV6PREFIX,LONG,OCTET_STRING,STRING,UNIT32,UNIT64
- Choices:
- description String
- The description of the dictionary attribute
- dictionary
Name String - The name of the dictionary the attribute belongs to
- direction
Type String - The direction type for the dictionary attribute
- Choices:
BOTH,IN,NONE,OUT
- Choices:
- internal
Name String - The internal name of the dictionary attribute
- name String
- The dictionary attribute name
Supporting Types
DictionaryAttributeAllowedValue, DictionaryAttributeAllowedValueArgs
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
iseTerraform Provider.
published on Thursday, May 14, 2026 by Pulumi
