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",
});
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")
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
})
}
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",
});
});
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());
}
}
resources:
example:
type: ise:networkaccess:Dictionary
properties:
name: Dict1
description: My description
version: '1.1'
dictionaryAttrType: ENTITY_ATTR
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 string
- The unique name of the resource.
- args DictionaryArgs
- 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 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 string
- The unique name of the resource.
- args DictionaryArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DictionaryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
example, err := networkaccess.NewDictionary(ctx, "dictionaryResource", &networkaccess.DictionaryArgs{
DictionaryAttrType: pulumi.String("string"),
Version: pulumi.String("string"),
Description: pulumi.String("string"),
Name: pulumi.String("string"),
})
var dictionaryResource = new Dictionary("dictionaryResource", DictionaryArgs.builder()
.dictionaryAttrType("string")
.version("string")
.description("string")
.name("string")
.build());
dictionary_resource = ise.networkaccess.Dictionary("dictionaryResource",
dictionary_attr_type="string",
version="string",
description="string",
name="string")
const dictionaryResource = new ise.networkaccess.Dictionary("dictionaryResource", {
dictionaryAttrType: "string",
version: "string",
description: "string",
name: "string",
});
type: ise:networkaccess:Dictionary
properties:
description: string
dictionaryAttrType: string
name: string
version: string
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:
- Dictionary
Attr stringType - The dictionary attribute type - Choices:
ENTITY_ATTR
,MSG_ATTR
,PIP_ATTR
- Version string
- The version of the dictionary
- Description string
- The description of the dictionary
- Name string
- The dictionary name
- Dictionary
Attr stringType - The dictionary attribute type - Choices:
ENTITY_ATTR
,MSG_ATTR
,PIP_ATTR
- Version string
- The version of the dictionary
- Description string
- The description of the dictionary
- Name string
- The dictionary name
- dictionary
Attr StringType - The dictionary attribute type - Choices:
ENTITY_ATTR
,MSG_ATTR
,PIP_ATTR
- version String
- The version of the dictionary
- description String
- The description of the dictionary
- name String
- The dictionary name
- dictionary
Attr stringType - The dictionary attribute type - Choices:
ENTITY_ATTR
,MSG_ATTR
,PIP_ATTR
- version string
- The version of the dictionary
- description string
- The description of the dictionary
- name string
- The dictionary name
- dictionary_
attr_ strtype - The dictionary attribute type - Choices:
ENTITY_ATTR
,MSG_ATTR
,PIP_ATTR
- version str
- The version of the dictionary
- description str
- The description of the dictionary
- name str
- The dictionary name
- dictionary
Attr StringType - The dictionary attribute type - Choices:
ENTITY_ATTR
,MSG_ATTR
,PIP_ATTR
- version 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)
Resource lookup is not supported in YAML
- 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.
- Description string
- The description of the dictionary
- Dictionary
Attr stringType - 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
- Dictionary
Attr stringType - 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
- dictionary
Attr StringType - 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
- dictionary
Attr stringType - 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_ strtype - 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
- dictionary
Attr StringType - 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"
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.