junipermist.org.getWxtags
Explore with Pulumi AI
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:
- Org
Id string
- Org
Id string
- org
Id String
- org
Id string
- org_
id str
- org
Id String
getWxtags Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Org
Id string - List<Pulumi.
Juniper Mist. Org. Outputs. Get Wxtags Org Wxtag>
- Id string
- The provider-assigned unique ID for this managed resource.
- Org
Id string - []Get
Wxtags Org Wxtag
- id String
- The provider-assigned unique ID for this managed resource.
- org
Id String - List<Get
Wxtags Org Wxtag>
- id string
- The provider-assigned unique ID for this managed resource.
- org
Id string - Get
Wxtags Org Wxtag[]
- id str
- The provider-assigned unique ID for this managed resource.
- org_
id str - Sequence[Get
Wxtags Org Wxtag]
- id String
- The provider-assigned unique ID for this managed resource.
- org
Id String - List<Property Map>
Supporting Types
GetWxtagsOrgWxtag
- Created
Time double - When the object has been created, in epoch
- Id string
- Unique ID of the object instance in the Mist Organization
- Last
Ips 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
- Modified
Time 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
- Org
Id string - Resource
Mac string - Services List<string>
- Site
Id string - Specs
List<Pulumi.
Juniper Mist. Org. Inputs. Get Wxtags Org Wxtag Spec> - If
type
==spec
- Subnet string
- Type string
- enum:
client
,match
,resource
,spec
,subnet
,vlan
- Values List<string>
Required if
type
==match
andmatch
==ap_id
: list of AP IDsmatch
==app
: list of Application Namesmatch
==asset_mac
: list of Asset MAC Addressesmatch
==client_mac
: list of Client MAC Addressesmatch
==hostname
: list of Resources Hostnamesmatch
==ip_range_subnet
: list of IP Addresses and/or CIDRsmatch
==psk_name
: list of PSK Namesmatch
==psk_role
: list of PSK Rolesmatch
==port
: list of Ports or Port Rangesmatch
==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 typematch
==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 UUIDsmatch
==wlan_id
: list of WLAN IDs
Notes: Variables are not allowed
- Vlan
Id string
- Created
Time float64 - When the object has been created, in epoch
- Id string
- Unique ID of the object instance in the Mist Organization
- Last
Ips []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
- Modified
Time 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
- Org
Id string - Resource
Mac string - Services []string
- Site
Id string - Specs
[]Get
Wxtags Org Wxtag Spec - If
type
==spec
- Subnet string
- Type string
- enum:
client
,match
,resource
,spec
,subnet
,vlan
- Values []string
Required if
type
==match
andmatch
==ap_id
: list of AP IDsmatch
==app
: list of Application Namesmatch
==asset_mac
: list of Asset MAC Addressesmatch
==client_mac
: list of Client MAC Addressesmatch
==hostname
: list of Resources Hostnamesmatch
==ip_range_subnet
: list of IP Addresses and/or CIDRsmatch
==psk_name
: list of PSK Namesmatch
==psk_role
: list of PSK Rolesmatch
==port
: list of Ports or Port Rangesmatch
==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 typematch
==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 UUIDsmatch
==wlan_id
: list of WLAN IDs
Notes: Variables are not allowed
- Vlan
Id string
- created
Time Double - When the object has been created, in epoch
- id String
- Unique ID of the object instance in the Mist Organization
- last
Ips 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
- modified
Time 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
- org
Id String - resource
Mac String - services List<String>
- site
Id String - specs
List<Get
Wxtags Org Wxtag Spec> - If
type
==spec
- subnet String
- type String
- enum:
client
,match
,resource
,spec
,subnet
,vlan
- values List<String>
Required if
type
==match
andmatch
==ap_id
: list of AP IDsmatch
==app
: list of Application Namesmatch
==asset_mac
: list of Asset MAC Addressesmatch
==client_mac
: list of Client MAC Addressesmatch
==hostname
: list of Resources Hostnamesmatch
==ip_range_subnet
: list of IP Addresses and/or CIDRsmatch
==psk_name
: list of PSK Namesmatch
==psk_role
: list of PSK Rolesmatch
==port
: list of Ports or Port Rangesmatch
==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 typematch
==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 UUIDsmatch
==wlan_id
: list of WLAN IDs
Notes: Variables are not allowed
- vlan
Id String
- created
Time number - When the object has been created, in epoch
- id string
- Unique ID of the object instance in the Mist Organization
- last
Ips 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
- modified
Time 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
- org
Id string - resource
Mac string - services string[]
- site
Id string - specs
Get
Wxtags Org Wxtag Spec[] - If
type
==spec
- subnet string
- type string
- enum:
client
,match
,resource
,spec
,subnet
,vlan
- values string[]
Required if
type
==match
andmatch
==ap_id
: list of AP IDsmatch
==app
: list of Application Namesmatch
==asset_mac
: list of Asset MAC Addressesmatch
==client_mac
: list of Client MAC Addressesmatch
==hostname
: list of Resources Hostnamesmatch
==ip_range_subnet
: list of IP Addresses and/or CIDRsmatch
==psk_name
: list of PSK Namesmatch
==psk_role
: list of PSK Rolesmatch
==port
: list of Ports or Port Rangesmatch
==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 typematch
==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 UUIDsmatch
==wlan_id
: list of WLAN IDs
Notes: Variables are not allowed
- vlan
Id 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[Get
Wxtags Org Wxtag Spec] - If
type
==spec
- subnet str
- type str
- enum:
client
,match
,resource
,spec
,subnet
,vlan
- values Sequence[str]
Required if
type
==match
andmatch
==ap_id
: list of AP IDsmatch
==app
: list of Application Namesmatch
==asset_mac
: list of Asset MAC Addressesmatch
==client_mac
: list of Client MAC Addressesmatch
==hostname
: list of Resources Hostnamesmatch
==ip_range_subnet
: list of IP Addresses and/or CIDRsmatch
==psk_name
: list of PSK Namesmatch
==psk_role
: list of PSK Rolesmatch
==port
: list of Ports or Port Rangesmatch
==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 typematch
==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 UUIDsmatch
==wlan_id
: list of WLAN IDs
Notes: Variables are not allowed
- vlan_
id str
- created
Time Number - When the object has been created, in epoch
- id String
- Unique ID of the object instance in the Mist Organization
- last
Ips 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
- modified
Time 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
- org
Id String - resource
Mac String - services List<String>
- site
Id 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
andmatch
==ap_id
: list of AP IDsmatch
==app
: list of Application Namesmatch
==asset_mac
: list of Asset MAC Addressesmatch
==client_mac
: list of Client MAC Addressesmatch
==hostname
: list of Resources Hostnamesmatch
==ip_range_subnet
: list of IP Addresses and/or CIDRsmatch
==psk_name
: list of PSK Namesmatch
==psk_role
: list of PSK Rolesmatch
==port
: list of Ports or Port Rangesmatch
==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 typematch
==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 UUIDsmatch
==wlan_id
: list of WLAN IDs
Notes: Variables are not allowed
- vlan
Id String
GetWxtagsOrgWxtagSpec
- 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
Package Details
- Repository
- junipermist pulumi/pulumi-junipermist
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
mist
Terraform Provider.