1. Packages
  2. Juniper Mist Provider
  3. API Docs
  4. org
  5. getWxtags
Juniper Mist v0.5.0 published on Saturday, Jun 28, 2025 by Pulumi

junipermist.org.getWxtags

Explore with Pulumi AI

junipermist logo
Juniper Mist v0.5.0 published on Saturday, Jun 28, 2025 by Pulumi

    This resource provides the list of Org 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_org_wxrule.dst_allow_wxtags
      • mist_org_wxrule.dst_deny_wxtags
      • mist_org_wxrule.dst_wxtags
      • mist_org_wxrule.src_wxtags
    • within the Org WxRules to assign specific VLAN:
      • mist_org_wxrule.apply_tags
    • in the WLANs configuration to assign a WLAN to specific APs:
      • mist_org_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 switchStats = junipermist.device.getSwitchStats({
        orgId: "15fca2ac-b1a6-47cc-9953-cc6906281550",
    });
    
    import pulumi
    import pulumi_junipermist as junipermist
    
    switch_stats = junipermist.device.get_switch_stats(org_id="15fca2ac-b1a6-47cc-9953-cc6906281550")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-junipermist/sdk/go/junipermist/device"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := device.GetSwitchStats(ctx, &device.GetSwitchStatsArgs{
    			OrgId: "15fca2ac-b1a6-47cc-9953-cc6906281550",
    		}, nil)
    		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 switchStats = JuniperMist.Device.GetSwitchStats.Invoke(new()
        {
            OrgId = "15fca2ac-b1a6-47cc-9953-cc6906281550",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.junipermist.device.DeviceFunctions;
    import com.pulumi.junipermist.device.inputs.GetSwitchStatsArgs;
    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) {
            final var switchStats = DeviceFunctions.getSwitchStats(GetSwitchStatsArgs.builder()
                .orgId("15fca2ac-b1a6-47cc-9953-cc6906281550")
                .build());
    
        }
    }
    
    variables:
      switchStats:
        fn::invoke:
          function: junipermist:device:getSwitchStats
          arguments:
            orgId: 15fca2ac-b1a6-47cc-9953-cc6906281550
    

    Using getWxtags

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getWxtags(args: GetWxtagsArgs, opts?: InvokeOptions): Promise<GetWxtagsResult>
    function getWxtagsOutput(args: GetWxtagsOutputArgs, opts?: InvokeOptions): Output<GetWxtagsResult>
    def get_wxtags(org_id: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetWxtagsResult
    def get_wxtags_output(org_id: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetWxtagsResult]
    func GetWxtags(ctx *Context, args *GetWxtagsArgs, opts ...InvokeOption) (*GetWxtagsResult, error)
    func GetWxtagsOutput(ctx *Context, args *GetWxtagsOutputArgs, opts ...InvokeOption) GetWxtagsResultOutput

    > Note: This function is named GetWxtags in the Go SDK.

    public static class GetWxtags 
    {
        public static Task<GetWxtagsResult> InvokeAsync(GetWxtagsArgs args, InvokeOptions? opts = null)
        public static Output<GetWxtagsResult> Invoke(GetWxtagsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetWxtagsResult> getWxtags(GetWxtagsArgs args, InvokeOptions options)
    public static Output<GetWxtagsResult> getWxtags(GetWxtagsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: junipermist:org/getWxtags:getWxtags
      arguments:
        # arguments dictionary

    The following arguments are supported:

    OrgId string
    OrgId string
    orgId String
    orgId string
    org_id str
    orgId String

    getWxtags Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    OrgId string
    OrgWxtags List<Pulumi.JuniperMist.Org.Outputs.GetWxtagsOrgWxtag>
    Id string
    The provider-assigned unique ID for this managed resource.
    OrgId string
    OrgWxtags []GetWxtagsOrgWxtag
    id String
    The provider-assigned unique ID for this managed resource.
    orgId String
    orgWxtags List<GetWxtagsOrgWxtag>
    id string
    The provider-assigned unique ID for this managed resource.
    orgId string
    orgWxtags GetWxtagsOrgWxtag[]
    id str
    The provider-assigned unique ID for this managed resource.
    org_id str
    org_wxtags Sequence[GetWxtagsOrgWxtag]
    id String
    The provider-assigned unique ID for this managed resource.
    orgId String
    orgWxtags List<Property Map>

    Supporting Types

    GetWxtagsOrgWxtag

    CreatedTime double
    When the object has been created, in epoch
    Id string
    Unique ID of the object instance in the Mist Organization
    LastIps List<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
    ModifiedTime double
    When the object has been modified for the last time, in epoch
    Name string
    The name
    Op string
    required if type==match, type of tag (inclusive/exclusive). enum: in, not_in
    OrgId string
    ResourceMac string
    Services List<string>
    SiteId string
    Specs List<Pulumi.JuniperMist.Org.Inputs.GetWxtagsOrgWxtagSpec>
    If type==spec
    Subnet string
    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
    CreatedTime float64
    When the object has been created, in epoch
    Id string
    Unique ID of the object instance in the Mist Organization
    LastIps []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
    ModifiedTime float64
    When the object has been modified for the last time, in epoch
    Name string
    The name
    Op string
    required if type==match, type of tag (inclusive/exclusive). enum: in, not_in
    OrgId string
    ResourceMac string
    Services []string
    SiteId string
    Specs []GetWxtagsOrgWxtagSpec
    If type==spec
    Subnet string
    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
    createdTime Double
    When the object has been created, in epoch
    id String
    Unique ID of the object instance in the Mist Organization
    lastIps List<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
    modifiedTime Double
    When the object has been modified for the last time, in epoch
    name String
    The name
    op String
    required if type==match, type of tag (inclusive/exclusive). enum: in, not_in
    orgId String
    resourceMac String
    services List<String>
    siteId String
    specs List<GetWxtagsOrgWxtagSpec>
    If type==spec
    subnet String
    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
    createdTime number
    When the object has been created, in epoch
    id string
    Unique ID of the object instance in the Mist Organization
    lastIps 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
    modifiedTime number
    When the object has been modified for the last time, in epoch
    name string
    The name
    op string
    required if type==match, type of tag (inclusive/exclusive). enum: in, not_in
    orgId string
    resourceMac string
    services string[]
    siteId string
    specs GetWxtagsOrgWxtagSpec[]
    If type==spec
    subnet string
    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
    created_time float
    When the object has been created, in epoch
    id str
    Unique ID of the object instance in the Mist Organization
    last_ips Sequence[str]
    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
    modified_time float
    When the object has been modified for the last time, in epoch
    name str
    The name
    op str
    required if type==match, type of tag (inclusive/exclusive). enum: in, not_in
    org_id str
    resource_mac str
    services Sequence[str]
    site_id str
    specs Sequence[GetWxtagsOrgWxtagSpec]
    If type==spec
    subnet str
    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
    createdTime Number
    When the object has been created, in epoch
    id String
    Unique ID of the object instance in the Mist Organization
    lastIps List<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
    modifiedTime Number
    When the object has been modified for the last time, in epoch
    name String
    The name
    op String
    required if type==match, type of tag (inclusive/exclusive). enum: in, not_in
    orgId String
    resourceMac String
    services List<String>
    siteId String
    specs List<Property Map>
    If type==spec
    subnet String
    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

    GetWxtagsOrgWxtagSpec

    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

    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.5.0 published on Saturday, Jun 28, 2025 by Pulumi