1. Packages
  2. Juniper Mist Provider
  3. API Docs
  4. site
  5. Wxtag
Juniper Mist v0.4.0 published on Wednesday, Apr 16, 2025 by Pulumi

junipermist.site.Wxtag

Explore with Pulumi AI

This resource manages the Site Wxlan tags (labels). A WxTag is a label or tag used in the mist system to classify and categorize applications, users, and resources for the purpose of creating policies and making network management decisions.They can be used

  • within the Org WxRules to create filtering rules:
    • mist_site_wxrule.dst_allow_wxtags
    • mist_site_wxrule.dst_deny_wxtags
    • mist_site_wxrule.dst_wxtags
    • mist_site_wxrule.src_wxtags
  • within the Org WxRules to assign specific VLAN:
    • mist_site_wxrule.apply_tags
  • in the WLANs configuration to assign a WLAN to specific APs:
    • mist_site_wlan.wxtag_ids
  • to identify unknown application used by Wi-Fi clients

Example Usage

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

const wxtagOne = new junipermist.site.Wxtag("wxtag_one", {
    siteId: terraformTest.id,
    name: "wtag_one",
    values: ["10.3.0.0/16"],
    op: "in",
    type: "match",
    match: "ip_range_subnet",
});
Copy
import pulumi
import pulumi_juniper_mist as junipermist

wxtag_one = junipermist.site.Wxtag("wxtag_one",
    site_id=terraform_test["id"],
    name="wtag_one",
    values=["10.3.0.0/16"],
    op="in",
    type="match",
    match="ip_range_subnet")
Copy
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := site.NewWxtag(ctx, "wxtag_one", &site.WxtagArgs{
			SiteId: pulumi.Any(terraformTest.Id),
			Name:   pulumi.String("wtag_one"),
			Values: pulumi.StringArray{
				pulumi.String("10.3.0.0/16"),
			},
			Op:    pulumi.String("in"),
			Type:  pulumi.String("match"),
			Match: pulumi.String("ip_range_subnet"),
		})
		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 wxtagOne = new JuniperMist.Site.Wxtag("wxtag_one", new()
    {
        SiteId = terraformTest.Id,
        Name = "wtag_one",
        Values = new[]
        {
            "10.3.0.0/16",
        },
        Op = "in",
        Type = "match",
        Match = "ip_range_subnet",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.junipermist.site.Wxtag;
import com.pulumi.junipermist.site.WxtagArgs;
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 wxtagOne = new Wxtag("wxtagOne", WxtagArgs.builder()
            .siteId(terraformTest.id())
            .name("wtag_one")
            .values("10.3.0.0/16")
            .op("in")
            .type("match")
            .match("ip_range_subnet")
            .build());

    }
}
Copy
resources:
  wxtagOne:
    type: junipermist:site:Wxtag
    name: wxtag_one
    properties:
      siteId: ${terraformTest.id}
      name: wtag_one
      values:
        - 10.3.0.0/16
      op: in
      type: match
      match: ip_range_subnet
Copy

Create Wxtag Resource

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

Constructor syntax

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

@overload
def Wxtag(resource_name: str,
          opts: Optional[ResourceOptions] = None,
          site_id: Optional[str] = None,
          type: Optional[str] = None,
          mac: Optional[str] = None,
          match: Optional[str] = None,
          name: Optional[str] = None,
          op: Optional[str] = None,
          specs: Optional[Sequence[WxtagSpecArgs]] = None,
          values: Optional[Sequence[str]] = None,
          vlan_id: Optional[str] = None)
func NewWxtag(ctx *Context, name string, args WxtagArgs, opts ...ResourceOption) (*Wxtag, error)
public Wxtag(string name, WxtagArgs args, CustomResourceOptions? opts = null)
public Wxtag(String name, WxtagArgs args)
public Wxtag(String name, WxtagArgs args, CustomResourceOptions options)
type: junipermist:site:Wxtag
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. WxtagArgs
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. WxtagArgs
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. WxtagArgs
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. WxtagArgs
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. WxtagArgs
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 junipermistWxtagResource = new JuniperMist.Site.Wxtag("junipermistWxtagResource", new()
{
    SiteId = "string",
    Type = "string",
    Mac = "string",
    Match = "string",
    Name = "string",
    Op = "string",
    Specs = new[]
    {
        new JuniperMist.Site.Inputs.WxtagSpecArgs
        {
            PortRange = "string",
            Protocol = "string",
            Subnets = new[]
            {
                "string",
            },
        },
    },
    Values = new[]
    {
        "string",
    },
    VlanId = "string",
});
Copy
example, err := site.NewWxtag(ctx, "junipermistWxtagResource", &site.WxtagArgs{
	SiteId: pulumi.String("string"),
	Type:   pulumi.String("string"),
	Mac:    pulumi.String("string"),
	Match:  pulumi.String("string"),
	Name:   pulumi.String("string"),
	Op:     pulumi.String("string"),
	Specs: site.WxtagSpecArray{
		&site.WxtagSpecArgs{
			PortRange: pulumi.String("string"),
			Protocol:  pulumi.String("string"),
			Subnets: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
	},
	Values: pulumi.StringArray{
		pulumi.String("string"),
	},
	VlanId: pulumi.String("string"),
})
Copy
var junipermistWxtagResource = new com.pulumi.junipermist.site.Wxtag("junipermistWxtagResource", com.pulumi.junipermist.site.WxtagArgs.builder()
    .siteId("string")
    .type("string")
    .mac("string")
    .match("string")
    .name("string")
    .op("string")
    .specs(WxtagSpecArgs.builder()
        .portRange("string")
        .protocol("string")
        .subnets("string")
        .build())
    .values("string")
    .vlanId("string")
    .build());
Copy
junipermist_wxtag_resource = junipermist.site.Wxtag("junipermistWxtagResource",
    site_id="string",
    type="string",
    mac="string",
    match="string",
    name="string",
    op="string",
    specs=[{
        "port_range": "string",
        "protocol": "string",
        "subnets": ["string"],
    }],
    values=["string"],
    vlan_id="string")
Copy
const junipermistWxtagResource = new junipermist.site.Wxtag("junipermistWxtagResource", {
    siteId: "string",
    type: "string",
    mac: "string",
    match: "string",
    name: "string",
    op: "string",
    specs: [{
        portRange: "string",
        protocol: "string",
        subnets: ["string"],
    }],
    values: ["string"],
    vlanId: "string",
});
Copy
type: junipermist:site:Wxtag
properties:
    mac: string
    match: string
    name: string
    op: string
    siteId: string
    specs:
        - portRange: string
          protocol: string
          subnets:
            - string
    type: string
    values:
        - string
    vlanId: string
Copy

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

SiteId This property is required. string
Type This property is required. string
enum: client, match, resource, spec, subnet, vlan
Mac string
If type==client, Client MAC Address
Match string
required if type==match. enum: ap_id, app, asset_mac, client_mac, hostname, ip_range_subnet, port, psk_name, psk_role, radius_attr, radius_class, radius_group, radius_username, sdkclient_uuid, wlan_id
Name string
The name
Op string
required if type==match, type of tag (inclusive/exclusive). enum: in, not_in
Specs List<Pulumi.JuniperMist.Site.Inputs.WxtagSpec>
If type==spec
Values List<string>
Required if type==match and * match==ap_id: list of AP IDs * match==app: list of Application Names * match==asset_mac: list of Asset MAC Addresses * match==client_mac: list of Client MAC Addresses * match==hostname: list of Resources Hostnames * match==ip_range_subnet: list of IP Addresses and/or CIDRs * match==psk_name: list of PSK Names * match==psk_role: list of PSK Roles * match==port: list of Ports or Port Ranges * match==radius_attr: list of RADIUS Attributes. The values are [ "6=1", "26=10.2.3.4" ], this support other RADIUS attributes where we know the type * match==radius_class: list of RADIUS Classes. This matches the ATTR-Class(25) * match==radius_group: list of RADIUS Groups. This is a smart tag that matches RADIUS-Filter-ID, Airespace-ACL-Name (VendorID=14179, VendorType=6) / Aruba-User-Role (VendorID=14823, VendorType=1) * match==radius_username: list of RADIUS Usernames. This matches the ATTR-User-Name(1) * match==sdkclient_uuid: list of SDK UUIDs * match==wlan_id: list of WLAN IDs Notes: Variables are not allowed
VlanId string
SiteId This property is required. string
Type This property is required. string
enum: client, match, resource, spec, subnet, vlan
Mac string
If type==client, Client MAC Address
Match string
required if type==match. enum: ap_id, app, asset_mac, client_mac, hostname, ip_range_subnet, port, psk_name, psk_role, radius_attr, radius_class, radius_group, radius_username, sdkclient_uuid, wlan_id
Name string
The name
Op string
required if type==match, type of tag (inclusive/exclusive). enum: in, not_in
Specs []WxtagSpecArgs
If type==spec
Values []string
Required if type==match and * match==ap_id: list of AP IDs * match==app: list of Application Names * match==asset_mac: list of Asset MAC Addresses * match==client_mac: list of Client MAC Addresses * match==hostname: list of Resources Hostnames * match==ip_range_subnet: list of IP Addresses and/or CIDRs * match==psk_name: list of PSK Names * match==psk_role: list of PSK Roles * match==port: list of Ports or Port Ranges * match==radius_attr: list of RADIUS Attributes. The values are [ "6=1", "26=10.2.3.4" ], this support other RADIUS attributes where we know the type * match==radius_class: list of RADIUS Classes. This matches the ATTR-Class(25) * match==radius_group: list of RADIUS Groups. This is a smart tag that matches RADIUS-Filter-ID, Airespace-ACL-Name (VendorID=14179, VendorType=6) / Aruba-User-Role (VendorID=14823, VendorType=1) * match==radius_username: list of RADIUS Usernames. This matches the ATTR-User-Name(1) * match==sdkclient_uuid: list of SDK UUIDs * match==wlan_id: list of WLAN IDs Notes: Variables are not allowed
VlanId string
siteId This property is required. String
type This property is required. String
enum: client, match, resource, spec, subnet, vlan
mac String
If type==client, Client MAC Address
match String
required if type==match. enum: ap_id, app, asset_mac, client_mac, hostname, ip_range_subnet, port, psk_name, psk_role, radius_attr, radius_class, radius_group, radius_username, sdkclient_uuid, wlan_id
name String
The name
op String
required if type==match, type of tag (inclusive/exclusive). enum: in, not_in
specs List<WxtagSpec>
If type==spec
values List<String>
Required if type==match and * match==ap_id: list of AP IDs * match==app: list of Application Names * match==asset_mac: list of Asset MAC Addresses * match==client_mac: list of Client MAC Addresses * match==hostname: list of Resources Hostnames * match==ip_range_subnet: list of IP Addresses and/or CIDRs * match==psk_name: list of PSK Names * match==psk_role: list of PSK Roles * match==port: list of Ports or Port Ranges * match==radius_attr: list of RADIUS Attributes. The values are [ "6=1", "26=10.2.3.4" ], this support other RADIUS attributes where we know the type * match==radius_class: list of RADIUS Classes. This matches the ATTR-Class(25) * match==radius_group: list of RADIUS Groups. This is a smart tag that matches RADIUS-Filter-ID, Airespace-ACL-Name (VendorID=14179, VendorType=6) / Aruba-User-Role (VendorID=14823, VendorType=1) * match==radius_username: list of RADIUS Usernames. This matches the ATTR-User-Name(1) * match==sdkclient_uuid: list of SDK UUIDs * match==wlan_id: list of WLAN IDs Notes: Variables are not allowed
vlanId String
siteId This property is required. string
type This property is required. string
enum: client, match, resource, spec, subnet, vlan
mac string
If type==client, Client MAC Address
match string
required if type==match. enum: ap_id, app, asset_mac, client_mac, hostname, ip_range_subnet, port, psk_name, psk_role, radius_attr, radius_class, radius_group, radius_username, sdkclient_uuid, wlan_id
name string
The name
op string
required if type==match, type of tag (inclusive/exclusive). enum: in, not_in
specs WxtagSpec[]
If type==spec
values string[]
Required if type==match and * match==ap_id: list of AP IDs * match==app: list of Application Names * match==asset_mac: list of Asset MAC Addresses * match==client_mac: list of Client MAC Addresses * match==hostname: list of Resources Hostnames * match==ip_range_subnet: list of IP Addresses and/or CIDRs * match==psk_name: list of PSK Names * match==psk_role: list of PSK Roles * match==port: list of Ports or Port Ranges * match==radius_attr: list of RADIUS Attributes. The values are [ "6=1", "26=10.2.3.4" ], this support other RADIUS attributes where we know the type * match==radius_class: list of RADIUS Classes. This matches the ATTR-Class(25) * match==radius_group: list of RADIUS Groups. This is a smart tag that matches RADIUS-Filter-ID, Airespace-ACL-Name (VendorID=14179, VendorType=6) / Aruba-User-Role (VendorID=14823, VendorType=1) * match==radius_username: list of RADIUS Usernames. This matches the ATTR-User-Name(1) * match==sdkclient_uuid: list of SDK UUIDs * match==wlan_id: list of WLAN IDs Notes: Variables are not allowed
vlanId string
site_id This property is required. str
type This property is required. str
enum: client, match, resource, spec, subnet, vlan
mac str
If type==client, Client MAC Address
match str
required if type==match. enum: ap_id, app, asset_mac, client_mac, hostname, ip_range_subnet, port, psk_name, psk_role, radius_attr, radius_class, radius_group, radius_username, sdkclient_uuid, wlan_id
name str
The name
op str
required if type==match, type of tag (inclusive/exclusive). enum: in, not_in
specs Sequence[WxtagSpecArgs]
If type==spec
values Sequence[str]
Required if type==match and * match==ap_id: list of AP IDs * match==app: list of Application Names * match==asset_mac: list of Asset MAC Addresses * match==client_mac: list of Client MAC Addresses * match==hostname: list of Resources Hostnames * match==ip_range_subnet: list of IP Addresses and/or CIDRs * match==psk_name: list of PSK Names * match==psk_role: list of PSK Roles * match==port: list of Ports or Port Ranges * match==radius_attr: list of RADIUS Attributes. The values are [ "6=1", "26=10.2.3.4" ], this support other RADIUS attributes where we know the type * match==radius_class: list of RADIUS Classes. This matches the ATTR-Class(25) * match==radius_group: list of RADIUS Groups. This is a smart tag that matches RADIUS-Filter-ID, Airespace-ACL-Name (VendorID=14179, VendorType=6) / Aruba-User-Role (VendorID=14823, VendorType=1) * match==radius_username: list of RADIUS Usernames. This matches the ATTR-User-Name(1) * match==sdkclient_uuid: list of SDK UUIDs * match==wlan_id: list of WLAN IDs Notes: Variables are not allowed
vlan_id str
siteId This property is required. String
type This property is required. String
enum: client, match, resource, spec, subnet, vlan
mac String
If type==client, Client MAC Address
match String
required if type==match. enum: ap_id, app, asset_mac, client_mac, hostname, ip_range_subnet, port, psk_name, psk_role, radius_attr, radius_class, radius_group, radius_username, sdkclient_uuid, wlan_id
name String
The name
op String
required if type==match, type of tag (inclusive/exclusive). enum: in, not_in
specs List<Property Map>
If type==spec
values List<String>
Required if type==match and * match==ap_id: list of AP IDs * match==app: list of Application Names * match==asset_mac: list of Asset MAC Addresses * match==client_mac: list of Client MAC Addresses * match==hostname: list of Resources Hostnames * match==ip_range_subnet: list of IP Addresses and/or CIDRs * match==psk_name: list of PSK Names * match==psk_role: list of PSK Roles * match==port: list of Ports or Port Ranges * match==radius_attr: list of RADIUS Attributes. The values are [ "6=1", "26=10.2.3.4" ], this support other RADIUS attributes where we know the type * match==radius_class: list of RADIUS Classes. This matches the ATTR-Class(25) * match==radius_group: list of RADIUS Groups. This is a smart tag that matches RADIUS-Filter-ID, Airespace-ACL-Name (VendorID=14179, VendorType=6) / Aruba-User-Role (VendorID=14823, VendorType=1) * match==radius_username: list of RADIUS Usernames. This matches the ATTR-User-Name(1) * match==sdkclient_uuid: list of SDK UUIDs * match==wlan_id: list of WLAN IDs Notes: Variables are not allowed
vlanId String

Outputs

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

Get an existing Wxtag 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?: WxtagState, opts?: CustomResourceOptions): Wxtag
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        mac: Optional[str] = None,
        match: Optional[str] = None,
        name: Optional[str] = None,
        op: Optional[str] = None,
        site_id: Optional[str] = None,
        specs: Optional[Sequence[WxtagSpecArgs]] = None,
        type: Optional[str] = None,
        values: Optional[Sequence[str]] = None,
        vlan_id: Optional[str] = None) -> Wxtag
func GetWxtag(ctx *Context, name string, id IDInput, state *WxtagState, opts ...ResourceOption) (*Wxtag, error)
public static Wxtag Get(string name, Input<string> id, WxtagState? state, CustomResourceOptions? opts = null)
public static Wxtag get(String name, Output<String> id, WxtagState state, CustomResourceOptions options)
resources:  _:    type: junipermist:site:Wxtag    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:
Mac string
If type==client, Client MAC Address
Match string
required if type==match. enum: ap_id, app, asset_mac, client_mac, hostname, ip_range_subnet, port, psk_name, psk_role, radius_attr, radius_class, radius_group, radius_username, sdkclient_uuid, wlan_id
Name string
The name
Op string
required if type==match, type of tag (inclusive/exclusive). enum: in, not_in
SiteId string
Specs List<Pulumi.JuniperMist.Site.Inputs.WxtagSpec>
If type==spec
Type string
enum: client, match, resource, spec, subnet, vlan
Values List<string>
Required if type==match and * match==ap_id: list of AP IDs * match==app: list of Application Names * match==asset_mac: list of Asset MAC Addresses * match==client_mac: list of Client MAC Addresses * match==hostname: list of Resources Hostnames * match==ip_range_subnet: list of IP Addresses and/or CIDRs * match==psk_name: list of PSK Names * match==psk_role: list of PSK Roles * match==port: list of Ports or Port Ranges * match==radius_attr: list of RADIUS Attributes. The values are [ "6=1", "26=10.2.3.4" ], this support other RADIUS attributes where we know the type * match==radius_class: list of RADIUS Classes. This matches the ATTR-Class(25) * match==radius_group: list of RADIUS Groups. This is a smart tag that matches RADIUS-Filter-ID, Airespace-ACL-Name (VendorID=14179, VendorType=6) / Aruba-User-Role (VendorID=14823, VendorType=1) * match==radius_username: list of RADIUS Usernames. This matches the ATTR-User-Name(1) * match==sdkclient_uuid: list of SDK UUIDs * match==wlan_id: list of WLAN IDs Notes: Variables are not allowed
VlanId string
Mac string
If type==client, Client MAC Address
Match string
required if type==match. enum: ap_id, app, asset_mac, client_mac, hostname, ip_range_subnet, port, psk_name, psk_role, radius_attr, radius_class, radius_group, radius_username, sdkclient_uuid, wlan_id
Name string
The name
Op string
required if type==match, type of tag (inclusive/exclusive). enum: in, not_in
SiteId string
Specs []WxtagSpecArgs
If type==spec
Type string
enum: client, match, resource, spec, subnet, vlan
Values []string
Required if type==match and * match==ap_id: list of AP IDs * match==app: list of Application Names * match==asset_mac: list of Asset MAC Addresses * match==client_mac: list of Client MAC Addresses * match==hostname: list of Resources Hostnames * match==ip_range_subnet: list of IP Addresses and/or CIDRs * match==psk_name: list of PSK Names * match==psk_role: list of PSK Roles * match==port: list of Ports or Port Ranges * match==radius_attr: list of RADIUS Attributes. The values are [ "6=1", "26=10.2.3.4" ], this support other RADIUS attributes where we know the type * match==radius_class: list of RADIUS Classes. This matches the ATTR-Class(25) * match==radius_group: list of RADIUS Groups. This is a smart tag that matches RADIUS-Filter-ID, Airespace-ACL-Name (VendorID=14179, VendorType=6) / Aruba-User-Role (VendorID=14823, VendorType=1) * match==radius_username: list of RADIUS Usernames. This matches the ATTR-User-Name(1) * match==sdkclient_uuid: list of SDK UUIDs * match==wlan_id: list of WLAN IDs Notes: Variables are not allowed
VlanId string
mac String
If type==client, Client MAC Address
match String
required if type==match. enum: ap_id, app, asset_mac, client_mac, hostname, ip_range_subnet, port, psk_name, psk_role, radius_attr, radius_class, radius_group, radius_username, sdkclient_uuid, wlan_id
name String
The name
op String
required if type==match, type of tag (inclusive/exclusive). enum: in, not_in
siteId String
specs List<WxtagSpec>
If type==spec
type String
enum: client, match, resource, spec, subnet, vlan
values List<String>
Required if type==match and * match==ap_id: list of AP IDs * match==app: list of Application Names * match==asset_mac: list of Asset MAC Addresses * match==client_mac: list of Client MAC Addresses * match==hostname: list of Resources Hostnames * match==ip_range_subnet: list of IP Addresses and/or CIDRs * match==psk_name: list of PSK Names * match==psk_role: list of PSK Roles * match==port: list of Ports or Port Ranges * match==radius_attr: list of RADIUS Attributes. The values are [ "6=1", "26=10.2.3.4" ], this support other RADIUS attributes where we know the type * match==radius_class: list of RADIUS Classes. This matches the ATTR-Class(25) * match==radius_group: list of RADIUS Groups. This is a smart tag that matches RADIUS-Filter-ID, Airespace-ACL-Name (VendorID=14179, VendorType=6) / Aruba-User-Role (VendorID=14823, VendorType=1) * match==radius_username: list of RADIUS Usernames. This matches the ATTR-User-Name(1) * match==sdkclient_uuid: list of SDK UUIDs * match==wlan_id: list of WLAN IDs Notes: Variables are not allowed
vlanId String
mac string
If type==client, Client MAC Address
match string
required if type==match. enum: ap_id, app, asset_mac, client_mac, hostname, ip_range_subnet, port, psk_name, psk_role, radius_attr, radius_class, radius_group, radius_username, sdkclient_uuid, wlan_id
name string
The name
op string
required if type==match, type of tag (inclusive/exclusive). enum: in, not_in
siteId string
specs WxtagSpec[]
If type==spec
type string
enum: client, match, resource, spec, subnet, vlan
values string[]
Required if type==match and * match==ap_id: list of AP IDs * match==app: list of Application Names * match==asset_mac: list of Asset MAC Addresses * match==client_mac: list of Client MAC Addresses * match==hostname: list of Resources Hostnames * match==ip_range_subnet: list of IP Addresses and/or CIDRs * match==psk_name: list of PSK Names * match==psk_role: list of PSK Roles * match==port: list of Ports or Port Ranges * match==radius_attr: list of RADIUS Attributes. The values are [ "6=1", "26=10.2.3.4" ], this support other RADIUS attributes where we know the type * match==radius_class: list of RADIUS Classes. This matches the ATTR-Class(25) * match==radius_group: list of RADIUS Groups. This is a smart tag that matches RADIUS-Filter-ID, Airespace-ACL-Name (VendorID=14179, VendorType=6) / Aruba-User-Role (VendorID=14823, VendorType=1) * match==radius_username: list of RADIUS Usernames. This matches the ATTR-User-Name(1) * match==sdkclient_uuid: list of SDK UUIDs * match==wlan_id: list of WLAN IDs Notes: Variables are not allowed
vlanId string
mac str
If type==client, Client MAC Address
match str
required if type==match. enum: ap_id, app, asset_mac, client_mac, hostname, ip_range_subnet, port, psk_name, psk_role, radius_attr, radius_class, radius_group, radius_username, sdkclient_uuid, wlan_id
name str
The name
op str
required if type==match, type of tag (inclusive/exclusive). enum: in, not_in
site_id str
specs Sequence[WxtagSpecArgs]
If type==spec
type str
enum: client, match, resource, spec, subnet, vlan
values Sequence[str]
Required if type==match and * match==ap_id: list of AP IDs * match==app: list of Application Names * match==asset_mac: list of Asset MAC Addresses * match==client_mac: list of Client MAC Addresses * match==hostname: list of Resources Hostnames * match==ip_range_subnet: list of IP Addresses and/or CIDRs * match==psk_name: list of PSK Names * match==psk_role: list of PSK Roles * match==port: list of Ports or Port Ranges * match==radius_attr: list of RADIUS Attributes. The values are [ "6=1", "26=10.2.3.4" ], this support other RADIUS attributes where we know the type * match==radius_class: list of RADIUS Classes. This matches the ATTR-Class(25) * match==radius_group: list of RADIUS Groups. This is a smart tag that matches RADIUS-Filter-ID, Airespace-ACL-Name (VendorID=14179, VendorType=6) / Aruba-User-Role (VendorID=14823, VendorType=1) * match==radius_username: list of RADIUS Usernames. This matches the ATTR-User-Name(1) * match==sdkclient_uuid: list of SDK UUIDs * match==wlan_id: list of WLAN IDs Notes: Variables are not allowed
vlan_id str
mac String
If type==client, Client MAC Address
match String
required if type==match. enum: ap_id, app, asset_mac, client_mac, hostname, ip_range_subnet, port, psk_name, psk_role, radius_attr, radius_class, radius_group, radius_username, sdkclient_uuid, wlan_id
name String
The name
op String
required if type==match, type of tag (inclusive/exclusive). enum: in, not_in
siteId String
specs List<Property Map>
If type==spec
type String
enum: client, match, resource, spec, subnet, vlan
values List<String>
Required if type==match and * match==ap_id: list of AP IDs * match==app: list of Application Names * match==asset_mac: list of Asset MAC Addresses * match==client_mac: list of Client MAC Addresses * match==hostname: list of Resources Hostnames * match==ip_range_subnet: list of IP Addresses and/or CIDRs * match==psk_name: list of PSK Names * match==psk_role: list of PSK Roles * match==port: list of Ports or Port Ranges * match==radius_attr: list of RADIUS Attributes. The values are [ "6=1", "26=10.2.3.4" ], this support other RADIUS attributes where we know the type * match==radius_class: list of RADIUS Classes. This matches the ATTR-Class(25) * match==radius_group: list of RADIUS Groups. This is a smart tag that matches RADIUS-Filter-ID, Airespace-ACL-Name (VendorID=14179, VendorType=6) / Aruba-User-Role (VendorID=14823, VendorType=1) * match==radius_username: list of RADIUS Usernames. This matches the ATTR-User-Name(1) * match==sdkclient_uuid: list of SDK UUIDs * match==wlan_id: list of WLAN IDs Notes: Variables are not allowed
vlanId String

Supporting Types

WxtagSpec
, WxtagSpecArgs

PortRange string
Matched destination port, "0" means any
Protocol string
tcp / udp / icmp / gre / any / ":protocol_number", protocol_number is between 1-254
Subnets List<string>
Matched destination subnets and/or IP Addresses
PortRange string
Matched destination port, "0" means any
Protocol string
tcp / udp / icmp / gre / any / ":protocol_number", protocol_number is between 1-254
Subnets []string
Matched destination subnets and/or IP Addresses
portRange String
Matched destination port, "0" means any
protocol String
tcp / udp / icmp / gre / any / ":protocol_number", protocol_number is between 1-254
subnets List<String>
Matched destination subnets and/or IP Addresses
portRange string
Matched destination port, "0" means any
protocol string
tcp / udp / icmp / gre / any / ":protocol_number", protocol_number is between 1-254
subnets string[]
Matched destination subnets and/or IP Addresses
port_range str
Matched destination port, "0" means any
protocol str
tcp / udp / icmp / gre / any / ":protocol_number", protocol_number is between 1-254
subnets Sequence[str]
Matched destination subnets and/or IP Addresses
portRange String
Matched destination port, "0" means any
protocol String
tcp / udp / icmp / gre / any / ":protocol_number", protocol_number is between 1-254
subnets List<String>
Matched destination subnets and/or IP Addresses

Import

Using pulumi import, import mist_site_wxtag with:

Site WxTag can be imported by specifying the site_id and the wxtag_id

$ pulumi import junipermist:site/wxtag:Wxtag wxtag_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.