1. Packages
  2. Juniper Mist Provider
  3. API Docs
  4. org
  5. Nactag
Juniper Mist v0.3.1 published on Monday, Apr 14, 2025 by Pulumi

junipermist.org.Nactag

Explore with Pulumi AI

This resource manages NAC Tags (Auth Policy Labels).

The NAC Tags can be used in the NAC Rules to define the matching criteria or the returned RADIUS Attributes

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as junipermist from "@pulumi/juniper-mist";

const tagOne = new junipermist.org.Nactag("tag_one", {
    name: "tag_one",
    type: "match",
    match: "client_mac",
    orgId: terraformTest.id,
    values: ["5c5b35*"],
});
Copy
import pulumi
import pulumi_juniper_mist as junipermist

tag_one = junipermist.org.Nactag("tag_one",
    name="tag_one",
    type="match",
    match="client_mac",
    org_id=terraform_test["id"],
    values=["5c5b35*"])
Copy
package main

import (
	"github.com/pulumi/pulumi-junipermist/sdk/go/junipermist/org"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := org.NewNactag(ctx, "tag_one", &org.NactagArgs{
			Name:  pulumi.String("tag_one"),
			Type:  pulumi.String("match"),
			Match: pulumi.String("client_mac"),
			OrgId: pulumi.Any(terraformTest.Id),
			Values: pulumi.StringArray{
				pulumi.String("5c5b35*"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using JuniperMist = Pulumi.JuniperMist;

return await Deployment.RunAsync(() => 
{
    var tagOne = new JuniperMist.Org.Nactag("tag_one", new()
    {
        Name = "tag_one",
        Type = "match",
        Match = "client_mac",
        OrgId = terraformTest.Id,
        Values = new[]
        {
            "5c5b35*",
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.junipermist.org.Nactag;
import com.pulumi.junipermist.org.NactagArgs;
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 tagOne = new Nactag("tagOne", NactagArgs.builder()
            .name("tag_one")
            .type("match")
            .match("client_mac")
            .orgId(terraformTest.id())
            .values("5c5b35*")
            .build());

    }
}
Copy
resources:
  tagOne:
    type: junipermist:org:Nactag
    name: tag_one
    properties:
      name: tag_one
      type: match
      match: client_mac
      orgId: ${terraformTest.id}
      values:
        - 5c5b35*
Copy

Create Nactag Resource

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

Constructor syntax

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

@overload
def Nactag(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           org_id: Optional[str] = None,
           type: Optional[str] = None,
           match: Optional[str] = None,
           allow_usermac_override: Optional[bool] = None,
           match_all: Optional[bool] = None,
           name: Optional[str] = None,
           gbp_tag: Optional[str] = None,
           radius_attrs: Optional[Sequence[str]] = None,
           radius_group: Optional[str] = None,
           radius_vendor_attrs: Optional[Sequence[str]] = None,
           session_timeout: Optional[int] = None,
           egress_vlan_names: Optional[Sequence[str]] = None,
           username_attr: Optional[str] = None,
           values: Optional[Sequence[str]] = None,
           vlan: Optional[str] = None)
func NewNactag(ctx *Context, name string, args NactagArgs, opts ...ResourceOption) (*Nactag, error)
public Nactag(string name, NactagArgs args, CustomResourceOptions? opts = null)
public Nactag(String name, NactagArgs args)
public Nactag(String name, NactagArgs args, CustomResourceOptions options)
type: junipermist:org:Nactag
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. NactagArgs
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. NactagArgs
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. NactagArgs
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. NactagArgs
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. NactagArgs
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 nactagResource = new JuniperMist.Org.Nactag("nactagResource", new()
{
    OrgId = "string",
    Type = "string",
    Match = "string",
    AllowUsermacOverride = false,
    MatchAll = false,
    Name = "string",
    GbpTag = "string",
    RadiusAttrs = new[]
    {
        "string",
    },
    RadiusGroup = "string",
    RadiusVendorAttrs = new[]
    {
        "string",
    },
    SessionTimeout = 0,
    EgressVlanNames = new[]
    {
        "string",
    },
    UsernameAttr = "string",
    Values = new[]
    {
        "string",
    },
    Vlan = "string",
});
Copy
example, err := org.NewNactag(ctx, "nactagResource", &org.NactagArgs{
	OrgId:                pulumi.String("string"),
	Type:                 pulumi.String("string"),
	Match:                pulumi.String("string"),
	AllowUsermacOverride: pulumi.Bool(false),
	MatchAll:             pulumi.Bool(false),
	Name:                 pulumi.String("string"),
	GbpTag:               pulumi.String("string"),
	RadiusAttrs: pulumi.StringArray{
		pulumi.String("string"),
	},
	RadiusGroup: pulumi.String("string"),
	RadiusVendorAttrs: pulumi.StringArray{
		pulumi.String("string"),
	},
	SessionTimeout: pulumi.Int(0),
	EgressVlanNames: pulumi.StringArray{
		pulumi.String("string"),
	},
	UsernameAttr: pulumi.String("string"),
	Values: pulumi.StringArray{
		pulumi.String("string"),
	},
	Vlan: pulumi.String("string"),
})
Copy
var nactagResource = new Nactag("nactagResource", NactagArgs.builder()
    .orgId("string")
    .type("string")
    .match("string")
    .allowUsermacOverride(false)
    .matchAll(false)
    .name("string")
    .gbpTag("string")
    .radiusAttrs("string")
    .radiusGroup("string")
    .radiusVendorAttrs("string")
    .sessionTimeout(0)
    .egressVlanNames("string")
    .usernameAttr("string")
    .values("string")
    .vlan("string")
    .build());
Copy
nactag_resource = junipermist.org.Nactag("nactagResource",
    org_id="string",
    type="string",
    match="string",
    allow_usermac_override=False,
    match_all=False,
    name="string",
    gbp_tag="string",
    radius_attrs=["string"],
    radius_group="string",
    radius_vendor_attrs=["string"],
    session_timeout=0,
    egress_vlan_names=["string"],
    username_attr="string",
    values=["string"],
    vlan="string")
Copy
const nactagResource = new junipermist.org.Nactag("nactagResource", {
    orgId: "string",
    type: "string",
    match: "string",
    allowUsermacOverride: false,
    matchAll: false,
    name: "string",
    gbpTag: "string",
    radiusAttrs: ["string"],
    radiusGroup: "string",
    radiusVendorAttrs: ["string"],
    sessionTimeout: 0,
    egressVlanNames: ["string"],
    usernameAttr: "string",
    values: ["string"],
    vlan: "string",
});
Copy
type: junipermist:org:Nactag
properties:
    allowUsermacOverride: false
    egressVlanNames:
        - string
    gbpTag: string
    match: string
    matchAll: false
    name: string
    orgId: string
    radiusAttrs:
        - string
    radiusGroup: string
    radiusVendorAttrs:
        - string
    sessionTimeout: 0
    type: string
    usernameAttr: string
    values:
        - string
    vlan: string
Copy

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

OrgId This property is required. string
Type This property is required. string
enum: egress_vlan_names, gbp_tag, match, radius_attrs, radius_group, radius_vendor_attrs, session_timeout, username_attr, vlan
AllowUsermacOverride bool
Can be set to true to allow the override by usermac result
EgressVlanNames List<string>
If type==egress_vlan_names, list of egress vlans to return
GbpTag string
Match string
if type==match. enum: cert_cn, cert_issuer, cert_san, cert_serial, cert_sub, cert_template, client_mac, idp_role, ingress_vlan, mdm_status, nas_ip, radius_group, realm, ssid, user_name, usermac_label
MatchAll bool
This field is applicable only when type==match * false: means it is sufficient to match any of the values (i.e., match-any behavior) * true: means all values should be matched (i.e., match-all behavior) Currently it makes sense to set this field to true only if the match==idp_role or match==usermac_label
Name string
RadiusAttrs List<string>
If type==radius_attrs, user can specify a list of one or more standard attributes in the field "radius_attrs". It is the responsibility of the user to provide a syntactically correct string, otherwise it may not work as expected. Note that it is allowed to have more than one radius_attrs in the result of a given rule.
RadiusGroup string
If type==radius_group
RadiusVendorAttrs List<string>
If type==radius_vendor_attrs, user can specify a list of one or more vendor-specific attributes in the field "radius_vendor_attrs". It is the responsibility of the user to provide a syntactically correct string, otherwise it may not work as expected. Note that it is allowed to have more than one radius_vendor_attrs in the result of a given rule.
SessionTimeout int
If type==`session_timeout, in seconds
UsernameAttr string
enum: automatic, cn, dns, email, upn
Values List<string>
If type==match
Vlan string
If type==vlan
OrgId This property is required. string
Type This property is required. string
enum: egress_vlan_names, gbp_tag, match, radius_attrs, radius_group, radius_vendor_attrs, session_timeout, username_attr, vlan
AllowUsermacOverride bool
Can be set to true to allow the override by usermac result
EgressVlanNames []string
If type==egress_vlan_names, list of egress vlans to return
GbpTag string
Match string
if type==match. enum: cert_cn, cert_issuer, cert_san, cert_serial, cert_sub, cert_template, client_mac, idp_role, ingress_vlan, mdm_status, nas_ip, radius_group, realm, ssid, user_name, usermac_label
MatchAll bool
This field is applicable only when type==match * false: means it is sufficient to match any of the values (i.e., match-any behavior) * true: means all values should be matched (i.e., match-all behavior) Currently it makes sense to set this field to true only if the match==idp_role or match==usermac_label
Name string
RadiusAttrs []string
If type==radius_attrs, user can specify a list of one or more standard attributes in the field "radius_attrs". It is the responsibility of the user to provide a syntactically correct string, otherwise it may not work as expected. Note that it is allowed to have more than one radius_attrs in the result of a given rule.
RadiusGroup string
If type==radius_group
RadiusVendorAttrs []string
If type==radius_vendor_attrs, user can specify a list of one or more vendor-specific attributes in the field "radius_vendor_attrs". It is the responsibility of the user to provide a syntactically correct string, otherwise it may not work as expected. Note that it is allowed to have more than one radius_vendor_attrs in the result of a given rule.
SessionTimeout int
If type==`session_timeout, in seconds
UsernameAttr string
enum: automatic, cn, dns, email, upn
Values []string
If type==match
Vlan string
If type==vlan
orgId This property is required. String
type This property is required. String
enum: egress_vlan_names, gbp_tag, match, radius_attrs, radius_group, radius_vendor_attrs, session_timeout, username_attr, vlan
allowUsermacOverride Boolean
Can be set to true to allow the override by usermac result
egressVlanNames List<String>
If type==egress_vlan_names, list of egress vlans to return
gbpTag String
match String
if type==match. enum: cert_cn, cert_issuer, cert_san, cert_serial, cert_sub, cert_template, client_mac, idp_role, ingress_vlan, mdm_status, nas_ip, radius_group, realm, ssid, user_name, usermac_label
matchAll Boolean
This field is applicable only when type==match * false: means it is sufficient to match any of the values (i.e., match-any behavior) * true: means all values should be matched (i.e., match-all behavior) Currently it makes sense to set this field to true only if the match==idp_role or match==usermac_label
name String
radiusAttrs List<String>
If type==radius_attrs, user can specify a list of one or more standard attributes in the field "radius_attrs". It is the responsibility of the user to provide a syntactically correct string, otherwise it may not work as expected. Note that it is allowed to have more than one radius_attrs in the result of a given rule.
radiusGroup String
If type==radius_group
radiusVendorAttrs List<String>
If type==radius_vendor_attrs, user can specify a list of one or more vendor-specific attributes in the field "radius_vendor_attrs". It is the responsibility of the user to provide a syntactically correct string, otherwise it may not work as expected. Note that it is allowed to have more than one radius_vendor_attrs in the result of a given rule.
sessionTimeout Integer
If type==`session_timeout, in seconds
usernameAttr String
enum: automatic, cn, dns, email, upn
values List<String>
If type==match
vlan String
If type==vlan
orgId This property is required. string
type This property is required. string
enum: egress_vlan_names, gbp_tag, match, radius_attrs, radius_group, radius_vendor_attrs, session_timeout, username_attr, vlan
allowUsermacOverride boolean
Can be set to true to allow the override by usermac result
egressVlanNames string[]
If type==egress_vlan_names, list of egress vlans to return
gbpTag string
match string
if type==match. enum: cert_cn, cert_issuer, cert_san, cert_serial, cert_sub, cert_template, client_mac, idp_role, ingress_vlan, mdm_status, nas_ip, radius_group, realm, ssid, user_name, usermac_label
matchAll boolean
This field is applicable only when type==match * false: means it is sufficient to match any of the values (i.e., match-any behavior) * true: means all values should be matched (i.e., match-all behavior) Currently it makes sense to set this field to true only if the match==idp_role or match==usermac_label
name string
radiusAttrs string[]
If type==radius_attrs, user can specify a list of one or more standard attributes in the field "radius_attrs". It is the responsibility of the user to provide a syntactically correct string, otherwise it may not work as expected. Note that it is allowed to have more than one radius_attrs in the result of a given rule.
radiusGroup string
If type==radius_group
radiusVendorAttrs string[]
If type==radius_vendor_attrs, user can specify a list of one or more vendor-specific attributes in the field "radius_vendor_attrs". It is the responsibility of the user to provide a syntactically correct string, otherwise it may not work as expected. Note that it is allowed to have more than one radius_vendor_attrs in the result of a given rule.
sessionTimeout number
If type==`session_timeout, in seconds
usernameAttr string
enum: automatic, cn, dns, email, upn
values string[]
If type==match
vlan string
If type==vlan
org_id This property is required. str
type This property is required. str
enum: egress_vlan_names, gbp_tag, match, radius_attrs, radius_group, radius_vendor_attrs, session_timeout, username_attr, vlan
allow_usermac_override bool
Can be set to true to allow the override by usermac result
egress_vlan_names Sequence[str]
If type==egress_vlan_names, list of egress vlans to return
gbp_tag str
match str
if type==match. enum: cert_cn, cert_issuer, cert_san, cert_serial, cert_sub, cert_template, client_mac, idp_role, ingress_vlan, mdm_status, nas_ip, radius_group, realm, ssid, user_name, usermac_label
match_all bool
This field is applicable only when type==match * false: means it is sufficient to match any of the values (i.e., match-any behavior) * true: means all values should be matched (i.e., match-all behavior) Currently it makes sense to set this field to true only if the match==idp_role or match==usermac_label
name str
radius_attrs Sequence[str]
If type==radius_attrs, user can specify a list of one or more standard attributes in the field "radius_attrs". It is the responsibility of the user to provide a syntactically correct string, otherwise it may not work as expected. Note that it is allowed to have more than one radius_attrs in the result of a given rule.
radius_group str
If type==radius_group
radius_vendor_attrs Sequence[str]
If type==radius_vendor_attrs, user can specify a list of one or more vendor-specific attributes in the field "radius_vendor_attrs". It is the responsibility of the user to provide a syntactically correct string, otherwise it may not work as expected. Note that it is allowed to have more than one radius_vendor_attrs in the result of a given rule.
session_timeout int
If type==`session_timeout, in seconds
username_attr str
enum: automatic, cn, dns, email, upn
values Sequence[str]
If type==match
vlan str
If type==vlan
orgId This property is required. String
type This property is required. String
enum: egress_vlan_names, gbp_tag, match, radius_attrs, radius_group, radius_vendor_attrs, session_timeout, username_attr, vlan
allowUsermacOverride Boolean
Can be set to true to allow the override by usermac result
egressVlanNames List<String>
If type==egress_vlan_names, list of egress vlans to return
gbpTag String
match String
if type==match. enum: cert_cn, cert_issuer, cert_san, cert_serial, cert_sub, cert_template, client_mac, idp_role, ingress_vlan, mdm_status, nas_ip, radius_group, realm, ssid, user_name, usermac_label
matchAll Boolean
This field is applicable only when type==match * false: means it is sufficient to match any of the values (i.e., match-any behavior) * true: means all values should be matched (i.e., match-all behavior) Currently it makes sense to set this field to true only if the match==idp_role or match==usermac_label
name String
radiusAttrs List<String>
If type==radius_attrs, user can specify a list of one or more standard attributes in the field "radius_attrs". It is the responsibility of the user to provide a syntactically correct string, otherwise it may not work as expected. Note that it is allowed to have more than one radius_attrs in the result of a given rule.
radiusGroup String
If type==radius_group
radiusVendorAttrs List<String>
If type==radius_vendor_attrs, user can specify a list of one or more vendor-specific attributes in the field "radius_vendor_attrs". It is the responsibility of the user to provide a syntactically correct string, otherwise it may not work as expected. Note that it is allowed to have more than one radius_vendor_attrs in the result of a given rule.
sessionTimeout Number
If type==`session_timeout, in seconds
usernameAttr String
enum: automatic, cn, dns, email, upn
values List<String>
If type==match
vlan String
If type==vlan

Outputs

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

Get an existing Nactag 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?: NactagState, opts?: CustomResourceOptions): Nactag
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        allow_usermac_override: Optional[bool] = None,
        egress_vlan_names: Optional[Sequence[str]] = None,
        gbp_tag: Optional[str] = None,
        match: Optional[str] = None,
        match_all: Optional[bool] = None,
        name: Optional[str] = None,
        org_id: Optional[str] = None,
        radius_attrs: Optional[Sequence[str]] = None,
        radius_group: Optional[str] = None,
        radius_vendor_attrs: Optional[Sequence[str]] = None,
        session_timeout: Optional[int] = None,
        type: Optional[str] = None,
        username_attr: Optional[str] = None,
        values: Optional[Sequence[str]] = None,
        vlan: Optional[str] = None) -> Nactag
func GetNactag(ctx *Context, name string, id IDInput, state *NactagState, opts ...ResourceOption) (*Nactag, error)
public static Nactag Get(string name, Input<string> id, NactagState? state, CustomResourceOptions? opts = null)
public static Nactag get(String name, Output<String> id, NactagState state, CustomResourceOptions options)
resources:  _:    type: junipermist:org:Nactag    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:
AllowUsermacOverride bool
Can be set to true to allow the override by usermac result
EgressVlanNames List<string>
If type==egress_vlan_names, list of egress vlans to return
GbpTag string
Match string
if type==match. enum: cert_cn, cert_issuer, cert_san, cert_serial, cert_sub, cert_template, client_mac, idp_role, ingress_vlan, mdm_status, nas_ip, radius_group, realm, ssid, user_name, usermac_label
MatchAll bool
This field is applicable only when type==match * false: means it is sufficient to match any of the values (i.e., match-any behavior) * true: means all values should be matched (i.e., match-all behavior) Currently it makes sense to set this field to true only if the match==idp_role or match==usermac_label
Name string
OrgId string
RadiusAttrs List<string>
If type==radius_attrs, user can specify a list of one or more standard attributes in the field "radius_attrs". It is the responsibility of the user to provide a syntactically correct string, otherwise it may not work as expected. Note that it is allowed to have more than one radius_attrs in the result of a given rule.
RadiusGroup string
If type==radius_group
RadiusVendorAttrs List<string>
If type==radius_vendor_attrs, user can specify a list of one or more vendor-specific attributes in the field "radius_vendor_attrs". It is the responsibility of the user to provide a syntactically correct string, otherwise it may not work as expected. Note that it is allowed to have more than one radius_vendor_attrs in the result of a given rule.
SessionTimeout int
If type==`session_timeout, in seconds
Type string
enum: egress_vlan_names, gbp_tag, match, radius_attrs, radius_group, radius_vendor_attrs, session_timeout, username_attr, vlan
UsernameAttr string
enum: automatic, cn, dns, email, upn
Values List<string>
If type==match
Vlan string
If type==vlan
AllowUsermacOverride bool
Can be set to true to allow the override by usermac result
EgressVlanNames []string
If type==egress_vlan_names, list of egress vlans to return
GbpTag string
Match string
if type==match. enum: cert_cn, cert_issuer, cert_san, cert_serial, cert_sub, cert_template, client_mac, idp_role, ingress_vlan, mdm_status, nas_ip, radius_group, realm, ssid, user_name, usermac_label
MatchAll bool
This field is applicable only when type==match * false: means it is sufficient to match any of the values (i.e., match-any behavior) * true: means all values should be matched (i.e., match-all behavior) Currently it makes sense to set this field to true only if the match==idp_role or match==usermac_label
Name string
OrgId string
RadiusAttrs []string
If type==radius_attrs, user can specify a list of one or more standard attributes in the field "radius_attrs". It is the responsibility of the user to provide a syntactically correct string, otherwise it may not work as expected. Note that it is allowed to have more than one radius_attrs in the result of a given rule.
RadiusGroup string
If type==radius_group
RadiusVendorAttrs []string
If type==radius_vendor_attrs, user can specify a list of one or more vendor-specific attributes in the field "radius_vendor_attrs". It is the responsibility of the user to provide a syntactically correct string, otherwise it may not work as expected. Note that it is allowed to have more than one radius_vendor_attrs in the result of a given rule.
SessionTimeout int
If type==`session_timeout, in seconds
Type string
enum: egress_vlan_names, gbp_tag, match, radius_attrs, radius_group, radius_vendor_attrs, session_timeout, username_attr, vlan
UsernameAttr string
enum: automatic, cn, dns, email, upn
Values []string
If type==match
Vlan string
If type==vlan
allowUsermacOverride Boolean
Can be set to true to allow the override by usermac result
egressVlanNames List<String>
If type==egress_vlan_names, list of egress vlans to return
gbpTag String
match String
if type==match. enum: cert_cn, cert_issuer, cert_san, cert_serial, cert_sub, cert_template, client_mac, idp_role, ingress_vlan, mdm_status, nas_ip, radius_group, realm, ssid, user_name, usermac_label
matchAll Boolean
This field is applicable only when type==match * false: means it is sufficient to match any of the values (i.e., match-any behavior) * true: means all values should be matched (i.e., match-all behavior) Currently it makes sense to set this field to true only if the match==idp_role or match==usermac_label
name String
orgId String
radiusAttrs List<String>
If type==radius_attrs, user can specify a list of one or more standard attributes in the field "radius_attrs". It is the responsibility of the user to provide a syntactically correct string, otherwise it may not work as expected. Note that it is allowed to have more than one radius_attrs in the result of a given rule.
radiusGroup String
If type==radius_group
radiusVendorAttrs List<String>
If type==radius_vendor_attrs, user can specify a list of one or more vendor-specific attributes in the field "radius_vendor_attrs". It is the responsibility of the user to provide a syntactically correct string, otherwise it may not work as expected. Note that it is allowed to have more than one radius_vendor_attrs in the result of a given rule.
sessionTimeout Integer
If type==`session_timeout, in seconds
type String
enum: egress_vlan_names, gbp_tag, match, radius_attrs, radius_group, radius_vendor_attrs, session_timeout, username_attr, vlan
usernameAttr String
enum: automatic, cn, dns, email, upn
values List<String>
If type==match
vlan String
If type==vlan
allowUsermacOverride boolean
Can be set to true to allow the override by usermac result
egressVlanNames string[]
If type==egress_vlan_names, list of egress vlans to return
gbpTag string
match string
if type==match. enum: cert_cn, cert_issuer, cert_san, cert_serial, cert_sub, cert_template, client_mac, idp_role, ingress_vlan, mdm_status, nas_ip, radius_group, realm, ssid, user_name, usermac_label
matchAll boolean
This field is applicable only when type==match * false: means it is sufficient to match any of the values (i.e., match-any behavior) * true: means all values should be matched (i.e., match-all behavior) Currently it makes sense to set this field to true only if the match==idp_role or match==usermac_label
name string
orgId string
radiusAttrs string[]
If type==radius_attrs, user can specify a list of one or more standard attributes in the field "radius_attrs". It is the responsibility of the user to provide a syntactically correct string, otherwise it may not work as expected. Note that it is allowed to have more than one radius_attrs in the result of a given rule.
radiusGroup string
If type==radius_group
radiusVendorAttrs string[]
If type==radius_vendor_attrs, user can specify a list of one or more vendor-specific attributes in the field "radius_vendor_attrs". It is the responsibility of the user to provide a syntactically correct string, otherwise it may not work as expected. Note that it is allowed to have more than one radius_vendor_attrs in the result of a given rule.
sessionTimeout number
If type==`session_timeout, in seconds
type string
enum: egress_vlan_names, gbp_tag, match, radius_attrs, radius_group, radius_vendor_attrs, session_timeout, username_attr, vlan
usernameAttr string
enum: automatic, cn, dns, email, upn
values string[]
If type==match
vlan string
If type==vlan
allow_usermac_override bool
Can be set to true to allow the override by usermac result
egress_vlan_names Sequence[str]
If type==egress_vlan_names, list of egress vlans to return
gbp_tag str
match str
if type==match. enum: cert_cn, cert_issuer, cert_san, cert_serial, cert_sub, cert_template, client_mac, idp_role, ingress_vlan, mdm_status, nas_ip, radius_group, realm, ssid, user_name, usermac_label
match_all bool
This field is applicable only when type==match * false: means it is sufficient to match any of the values (i.e., match-any behavior) * true: means all values should be matched (i.e., match-all behavior) Currently it makes sense to set this field to true only if the match==idp_role or match==usermac_label
name str
org_id str
radius_attrs Sequence[str]
If type==radius_attrs, user can specify a list of one or more standard attributes in the field "radius_attrs". It is the responsibility of the user to provide a syntactically correct string, otherwise it may not work as expected. Note that it is allowed to have more than one radius_attrs in the result of a given rule.
radius_group str
If type==radius_group
radius_vendor_attrs Sequence[str]
If type==radius_vendor_attrs, user can specify a list of one or more vendor-specific attributes in the field "radius_vendor_attrs". It is the responsibility of the user to provide a syntactically correct string, otherwise it may not work as expected. Note that it is allowed to have more than one radius_vendor_attrs in the result of a given rule.
session_timeout int
If type==`session_timeout, in seconds
type str
enum: egress_vlan_names, gbp_tag, match, radius_attrs, radius_group, radius_vendor_attrs, session_timeout, username_attr, vlan
username_attr str
enum: automatic, cn, dns, email, upn
values Sequence[str]
If type==match
vlan str
If type==vlan
allowUsermacOverride Boolean
Can be set to true to allow the override by usermac result
egressVlanNames List<String>
If type==egress_vlan_names, list of egress vlans to return
gbpTag String
match String
if type==match. enum: cert_cn, cert_issuer, cert_san, cert_serial, cert_sub, cert_template, client_mac, idp_role, ingress_vlan, mdm_status, nas_ip, radius_group, realm, ssid, user_name, usermac_label
matchAll Boolean
This field is applicable only when type==match * false: means it is sufficient to match any of the values (i.e., match-any behavior) * true: means all values should be matched (i.e., match-all behavior) Currently it makes sense to set this field to true only if the match==idp_role or match==usermac_label
name String
orgId String
radiusAttrs List<String>
If type==radius_attrs, user can specify a list of one or more standard attributes in the field "radius_attrs". It is the responsibility of the user to provide a syntactically correct string, otherwise it may not work as expected. Note that it is allowed to have more than one radius_attrs in the result of a given rule.
radiusGroup String
If type==radius_group
radiusVendorAttrs List<String>
If type==radius_vendor_attrs, user can specify a list of one or more vendor-specific attributes in the field "radius_vendor_attrs". It is the responsibility of the user to provide a syntactically correct string, otherwise it may not work as expected. Note that it is allowed to have more than one radius_vendor_attrs in the result of a given rule.
sessionTimeout Number
If type==`session_timeout, in seconds
type String
enum: egress_vlan_names, gbp_tag, match, radius_attrs, radius_group, radius_vendor_attrs, session_timeout, username_attr, vlan
usernameAttr String
enum: automatic, cn, dns, email, upn
values List<String>
If type==match
vlan String
If type==vlan

Import

Using pulumi import, import mist_org_nactag with:

NAC Tag can be imported by specifying the org_id and the nactag_id

$ pulumi import junipermist:org/nactag:Nactag nactag_one 17b46405-3a6d-4715-8bb4-6bb6d06f316a.d3c42998-9012-4859-9743-6b9bee475309
Copy

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

Package Details

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