1. Packages
  2. Juniper Mist
  3. API Docs
  4. org
  5. Nactag
Juniper Mist v0.1.1 published on Monday, Nov 4, 2024 by Pulumi

junipermist.org.Nactag

Explore with Pulumi AI

junipermist logo
Juniper Mist v0.1.1 published on Monday, Nov 4, 2024 by Pulumi

    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,
               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",
        },
        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"),
    	},
    	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")
        .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"],
        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"],
        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
        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, 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 int
    if type==gbp_tag
    Match string
    if type==match. enum: cert_cn, cert_issuer, cert_san, cert_serial, cert_sub, client_mac, idp_role, mdm_status, 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
    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, 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 int
    if type==gbp_tag
    Match string
    if type==match. enum: cert_cn, cert_issuer, cert_san, cert_serial, cert_sub, client_mac, idp_role, mdm_status, 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
    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, 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 Integer
    if type==gbp_tag
    match String
    if type==match. enum: cert_cn, cert_issuer, cert_san, cert_serial, cert_sub, client_mac, idp_role, mdm_status, 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
    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, 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 number
    if type==gbp_tag
    match string
    if type==match. enum: cert_cn, cert_issuer, cert_san, cert_serial, cert_sub, client_mac, idp_role, mdm_status, 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
    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, 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 int
    if type==gbp_tag
    match str
    if type==match. enum: cert_cn, cert_issuer, cert_san, cert_serial, cert_sub, client_mac, idp_role, mdm_status, 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
    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, 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 Number
    if type==gbp_tag
    match String
    if type==match. enum: cert_cn, cert_issuer, cert_san, cert_serial, cert_sub, client_mac, idp_role, mdm_status, 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
    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,
            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)
    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.
    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 int
    if type==gbp_tag
    Match string
    if type==match. enum: cert_cn, cert_issuer, cert_san, cert_serial, cert_sub, client_mac, idp_role, mdm_status, 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, vlan
    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 int
    if type==gbp_tag
    Match string
    if type==match. enum: cert_cn, cert_issuer, cert_san, cert_serial, cert_sub, client_mac, idp_role, mdm_status, 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, vlan
    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 Integer
    if type==gbp_tag
    match String
    if type==match. enum: cert_cn, cert_issuer, cert_san, cert_serial, cert_sub, client_mac, idp_role, mdm_status, 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, vlan
    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 number
    if type==gbp_tag
    match string
    if type==match. enum: cert_cn, cert_issuer, cert_san, cert_serial, cert_sub, client_mac, idp_role, mdm_status, 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, vlan
    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 int
    if type==gbp_tag
    match str
    if type==match. enum: cert_cn, cert_issuer, cert_san, cert_serial, cert_sub, client_mac, idp_role, mdm_status, 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, vlan
    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 Number
    if type==gbp_tag
    match String
    if type==match. enum: cert_cn, cert_issuer, cert_san, cert_serial, cert_sub, client_mac, idp_role, mdm_status, 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, vlan
    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 mist Terraform Provider.
    junipermist logo
    Juniper Mist v0.1.1 published on Monday, Nov 4, 2024 by Pulumi