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 WxRules to create filtering rules, or assign specific VLAN * in the WLANs configuration to assign a WLAN to specific APs * 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 wtagOne = new junipermist.site.Wxtag("wtag_one", {
siteId: terraformTest.id,
name: "wtag_one",
values: ["10.3.0.0/16"],
op: "in",
type: "match",
match: "ip_range_subnet",
});
import pulumi
import pulumi_juniper_mist as junipermist
wtag_one = junipermist.site.Wxtag("wtag_one",
site_id=terraform_test["id"],
name="wtag_one",
values=["10.3.0.0/16"],
op="in",
type="match",
match="ip_range_subnet")
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, "wtag_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
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using JuniperMist = Pulumi.JuniperMist;
return await Deployment.RunAsync(() =>
{
var wtagOne = new JuniperMist.Site.Wxtag("wtag_one", new()
{
SiteId = terraformTest.Id,
Name = "wtag_one",
Values = new[]
{
"10.3.0.0/16",
},
Op = "in",
Type = "match",
Match = "ip_range_subnet",
});
});
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 wtagOne = new Wxtag("wtagOne", WxtagArgs.builder()
.siteId(terraformTest.id())
.name("wtag_one")
.values("10.3.0.0/16")
.op("in")
.type("match")
.match("ip_range_subnet")
.build());
}
}
resources:
wtagOne:
type: junipermist:site:Wxtag
name: wtag_one
properties:
siteId: ${terraformTest.id}
name: wtag_one
values:
- 10.3.0.0/16
op: in
type: match
match: ip_range_subnet
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)
type: junipermist:site:Wxtag
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 WxtagArgs
- 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 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 string
- The unique name of the resource.
- args WxtagArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WxtagArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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
{
Subnets = new[]
{
"string",
},
PortRange = "string",
Protocol = "string",
},
},
Values = new[]
{
"string",
},
VlanId = "string",
});
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{
Subnets: pulumi.StringArray{
pulumi.String("string"),
},
PortRange: pulumi.String("string"),
Protocol: pulumi.String("string"),
},
},
Values: pulumi.StringArray{
pulumi.String("string"),
},
VlanId: pulumi.String("string"),
})
var junipermistWxtagResource = new Wxtag("junipermistWxtagResource", WxtagArgs.builder()
.siteId("string")
.type("string")
.mac("string")
.match("string")
.name("string")
.op("string")
.specs(WxtagSpecArgs.builder()
.subnets("string")
.portRange("string")
.protocol("string")
.build())
.values("string")
.vlanId("string")
.build());
junipermist_wxtag_resource = junipermist.site.Wxtag("junipermistWxtagResource",
site_id="string",
type="string",
mac="string",
match="string",
name="string",
op="string",
specs=[{
"subnets": ["string"],
"port_range": "string",
"protocol": "string",
}],
values=["string"],
vlan_id="string")
const junipermistWxtagResource = new junipermist.site.Wxtag("junipermistWxtagResource", {
siteId: "string",
type: "string",
mac: "string",
match: "string",
name: "string",
op: "string",
specs: [{
subnets: ["string"],
portRange: "string",
protocol: "string",
}],
values: ["string"],
vlanId: "string",
});
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
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:
- Site
Id string - Type 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.
Juniper Mist. Site. Inputs. Wxtag Spec> - 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 - Vlan
Id string
- Site
Id string - Type 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
[]Wxtag
Spec Args - 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 - Vlan
Id string
- site
Id String - type 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<Wxtag
Spec> - 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 - vlan
Id String
- site
Id string - type 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
Wxtag
Spec[] - 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 - vlan
Id string
- site_
id str - type 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[Wxtag
Spec Args] - 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
- site
Id String - type 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 - vlan
Id 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)
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.
- 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
- Site
Id string - Specs
List<Pulumi.
Juniper Mist. Site. Inputs. Wxtag Spec> - 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 - Vlan
Id 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
- Site
Id string - Specs
[]Wxtag
Spec Args - 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 - Vlan
Id 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
- site
Id String - specs
List<Wxtag
Spec> - 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 - vlan
Id 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
- site
Id string - specs
Wxtag
Spec[] - 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 - vlan
Id 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[Wxtag
Spec Args] - 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
- site
Id 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 - vlan
Id String
Supporting Types
WxtagSpec, WxtagSpecArgs
- subnets Sequence[str]
- 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
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
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.