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 criterias 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*"],
});
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*"])
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
	})
}
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*",
        },
    });
});
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());
    }
}
resources:
  tagOne:
    type: junipermist:org:Nactag
    name: tag_one
    properties:
      name: tag_one
      type: match
      match: client_mac
      orgId: ${terraformTest.id}
      values:
        - 5c5b35*
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[int] = 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 string
- The unique name of the resource.
- args NactagArgs
- 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 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 string
- The unique name of the resource.
- args NactagArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NactagArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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 = 0,
    RadiusAttrs = new[]
    {
        "string",
    },
    RadiusGroup = "string",
    RadiusVendorAttrs = new[]
    {
        "string",
    },
    SessionTimeout = 0,
    EgressVlanNames = new[]
    {
        "string",
    },
    UsernameAttr = "string",
    Values = new[]
    {
        "string",
    },
    Vlan = "string",
});
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.Int(0),
	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"),
})
var nactagResource = new Nactag("nactagResource", NactagArgs.builder()
    .orgId("string")
    .type("string")
    .match("string")
    .allowUsermacOverride(false)
    .matchAll(false)
    .name("string")
    .gbpTag(0)
    .radiusAttrs("string")
    .radiusGroup("string")
    .radiusVendorAttrs("string")
    .sessionTimeout(0)
    .egressVlanNames("string")
    .usernameAttr("string")
    .values("string")
    .vlan("string")
    .build());
nactag_resource = junipermist.org.Nactag("nactagResource",
    org_id="string",
    type="string",
    match="string",
    allow_usermac_override=False,
    match_all=False,
    name="string",
    gbp_tag=0,
    radius_attrs=["string"],
    radius_group="string",
    radius_vendor_attrs=["string"],
    session_timeout=0,
    egress_vlan_names=["string"],
    username_attr="string",
    values=["string"],
    vlan="string")
const nactagResource = new junipermist.org.Nactag("nactagResource", {
    orgId: "string",
    type: "string",
    match: "string",
    allowUsermacOverride: false,
    matchAll: false,
    name: "string",
    gbpTag: 0,
    radiusAttrs: ["string"],
    radiusGroup: "string",
    radiusVendorAttrs: ["string"],
    sessionTimeout: 0,
    egressVlanNames: ["string"],
    usernameAttr: "string",
    values: ["string"],
    vlan: "string",
});
type: junipermist:org:Nactag
properties:
    allowUsermacOverride: false
    egressVlanNames:
        - string
    gbpTag: 0
    match: string
    matchAll: false
    name: string
    orgId: string
    radiusAttrs:
        - string
    radiusGroup: string
    radiusVendorAttrs:
        - string
    sessionTimeout: 0
    type: string
    usernameAttr: string
    values:
        - string
    vlan: string
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 string
- Type string
- enum: egress_vlan_names,gbp_tag,match,radius_attrs,radius_group,radius_vendor_attrs,session_timeout,username_attr,vlan
- AllowUsermac boolOverride 
- Can be set to true to allow the override by usermac result
- EgressVlan List<string>Names 
- If type==egress_vlan_names, list of egress vlans to return
- GbpTag int
- If type==gbp_tag
- 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 totrueonly if thematch==idp_roleormatch==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
- RadiusVendor List<string>Attrs 
- 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 string
- Type string
- enum: egress_vlan_names,gbp_tag,match,radius_attrs,radius_group,radius_vendor_attrs,session_timeout,username_attr,vlan
- AllowUsermac boolOverride 
- Can be set to true to allow the override by usermac result
- EgressVlan []stringNames 
- If type==egress_vlan_names, list of egress vlans to return
- GbpTag int
- If type==gbp_tag
- 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 totrueonly if thematch==idp_roleormatch==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
- RadiusVendor []stringAttrs 
- 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 String
- type String
- enum: egress_vlan_names,gbp_tag,match,radius_attrs,radius_group,radius_vendor_attrs,session_timeout,username_attr,vlan
- allowUsermac BooleanOverride 
- Can be set to true to allow the override by usermac result
- egressVlan List<String>Names 
- If type==egress_vlan_names, list of egress vlans to return
- gbpTag Integer
- If type==gbp_tag
- 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 totrueonly if thematch==idp_roleormatch==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
- radiusVendor List<String>Attrs 
- 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 string
- type string
- enum: egress_vlan_names,gbp_tag,match,radius_attrs,radius_group,radius_vendor_attrs,session_timeout,username_attr,vlan
- allowUsermac booleanOverride 
- Can be set to true to allow the override by usermac result
- egressVlan string[]Names 
- If type==egress_vlan_names, list of egress vlans to return
- gbpTag number
- If type==gbp_tag
- 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 totrueonly if thematch==idp_roleormatch==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
- radiusVendor string[]Attrs 
- 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 str
- type str
- enum: egress_vlan_names,gbp_tag,match,radius_attrs,radius_group,radius_vendor_attrs,session_timeout,username_attr,vlan
- allow_usermac_ booloverride 
- Can be set to true to allow the override by usermac result
- egress_vlan_ Sequence[str]names 
- If type==egress_vlan_names, list of egress vlans to return
- gbp_tag int
- If type==gbp_tag
- 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 totrueonly if thematch==idp_roleormatch==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_ Sequence[str]attrs 
- 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 String
- type String
- enum: egress_vlan_names,gbp_tag,match,radius_attrs,radius_group,radius_vendor_attrs,session_timeout,username_attr,vlan
- allowUsermac BooleanOverride 
- Can be set to true to allow the override by usermac result
- egressVlan List<String>Names 
- If type==egress_vlan_names, list of egress vlans to return
- gbpTag Number
- If type==gbp_tag
- 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 totrueonly if thematch==idp_roleormatch==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
- radiusVendor List<String>Attrs 
- 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[int] = 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) -> Nactagfunc 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
- 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.
- AllowUsermac boolOverride 
- Can be set to true to allow the override by usermac result
- EgressVlan List<string>Names 
- If type==egress_vlan_names, list of egress vlans to return
- GbpTag int
- If type==gbp_tag
- 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 totrueonly if thematch==idp_roleormatch==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
- RadiusVendor List<string>Attrs 
- 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
- AllowUsermac boolOverride 
- Can be set to true to allow the override by usermac result
- EgressVlan []stringNames 
- If type==egress_vlan_names, list of egress vlans to return
- GbpTag int
- If type==gbp_tag
- 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 totrueonly if thematch==idp_roleormatch==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
- RadiusVendor []stringAttrs 
- 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
- allowUsermac BooleanOverride 
- Can be set to true to allow the override by usermac result
- egressVlan List<String>Names 
- If type==egress_vlan_names, list of egress vlans to return
- gbpTag Integer
- If type==gbp_tag
- 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 totrueonly if thematch==idp_roleormatch==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
- radiusVendor List<String>Attrs 
- 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
- allowUsermac booleanOverride 
- Can be set to true to allow the override by usermac result
- egressVlan string[]Names 
- If type==egress_vlan_names, list of egress vlans to return
- gbpTag number
- If type==gbp_tag
- 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 totrueonly if thematch==idp_roleormatch==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
- radiusVendor string[]Attrs 
- 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_ booloverride 
- Can be set to true to allow the override by usermac result
- egress_vlan_ Sequence[str]names 
- If type==egress_vlan_names, list of egress vlans to return
- gbp_tag int
- If type==gbp_tag
- 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 totrueonly if thematch==idp_roleormatch==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_ Sequence[str]attrs 
- 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
- allowUsermac BooleanOverride 
- Can be set to true to allow the override by usermac result
- egressVlan List<String>Names 
- If type==egress_vlan_names, list of egress vlans to return
- gbpTag Number
- If type==gbp_tag
- 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 totrueonly if thematch==idp_roleormatch==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
- radiusVendor List<String>Attrs 
- 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
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 mistTerraform Provider.
