@pulumi/juniper-mist
Version:
A Pulumi package for creating and managing Juniper Mist resources.
186 lines • 6.61 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* 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
*
* ```typescript
* 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",
* });
* ```
*
* ## Import
*
* Using `pulumi import`, import `junipermist.site.Wxtag` with:
* Site WxTag can be imported by specifying the siteId and the wxtagId
*
* ```sh
* $ pulumi import junipermist:site/wxtag:Wxtag wxtag_one 17b46405-3a6d-4715-8bb4-6bb6d06f316a.d3c42998-9012-4859-9743-6b9bee475309
* ```
*/
export declare class Wxtag extends pulumi.CustomResource {
/**
* Get an existing Wxtag resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: WxtagState, opts?: pulumi.CustomResourceOptions): Wxtag;
/**
* Returns true if the given object is an instance of Wxtag. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is Wxtag;
/**
* If `type`==`client`, Client MAC address
*/
readonly mac: pulumi.Output<string | undefined>;
/**
* Required if `type`==`match`; attribute compared against `values`
*/
readonly match: pulumi.Output<string | undefined>;
/**
* Display name of the WxLAN tag
*/
readonly name: pulumi.Output<string>;
/**
* Required if `type`==`match`; whether `values` are inclusive or exclusive matches
*/
readonly op: pulumi.Output<string | undefined>;
/**
* Mist site associated with this WxLAN tag, when site-scoped
*/
readonly siteId: pulumi.Output<string>;
/**
* Traffic match specifications used when `type`==`spec`
*/
readonly specs: pulumi.Output<outputs.site.WxtagSpec[] | undefined>;
/**
* Kind of WxLAN tag and how it is populated
*/
readonly type: pulumi.Output<string>;
/**
* Comparison values for the selected `match` attribute when `type`==`match`
*/
readonly values: pulumi.Output<string[] | undefined>;
/**
* Identifier of the VLAN associated with this WxLAN tag when `type`==`vlan`
*/
readonly vlanId: pulumi.Output<string | undefined>;
/**
* Create a Wxtag resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: WxtagArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering Wxtag resources.
*/
export interface WxtagState {
/**
* If `type`==`client`, Client MAC address
*/
mac?: pulumi.Input<string | undefined>;
/**
* Required if `type`==`match`; attribute compared against `values`
*/
match?: pulumi.Input<string | undefined>;
/**
* Display name of the WxLAN tag
*/
name?: pulumi.Input<string | undefined>;
/**
* Required if `type`==`match`; whether `values` are inclusive or exclusive matches
*/
op?: pulumi.Input<string | undefined>;
/**
* Mist site associated with this WxLAN tag, when site-scoped
*/
siteId?: pulumi.Input<string | undefined>;
/**
* Traffic match specifications used when `type`==`spec`
*/
specs?: pulumi.Input<pulumi.Input<inputs.site.WxtagSpec>[] | undefined>;
/**
* Kind of WxLAN tag and how it is populated
*/
type?: pulumi.Input<string | undefined>;
/**
* Comparison values for the selected `match` attribute when `type`==`match`
*/
values?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* Identifier of the VLAN associated with this WxLAN tag when `type`==`vlan`
*/
vlanId?: pulumi.Input<string | undefined>;
}
/**
* The set of arguments for constructing a Wxtag resource.
*/
export interface WxtagArgs {
/**
* If `type`==`client`, Client MAC address
*/
mac?: pulumi.Input<string | undefined>;
/**
* Required if `type`==`match`; attribute compared against `values`
*/
match?: pulumi.Input<string | undefined>;
/**
* Display name of the WxLAN tag
*/
name?: pulumi.Input<string | undefined>;
/**
* Required if `type`==`match`; whether `values` are inclusive or exclusive matches
*/
op?: pulumi.Input<string | undefined>;
/**
* Mist site associated with this WxLAN tag, when site-scoped
*/
siteId: pulumi.Input<string>;
/**
* Traffic match specifications used when `type`==`spec`
*/
specs?: pulumi.Input<pulumi.Input<inputs.site.WxtagSpec>[] | undefined>;
/**
* Kind of WxLAN tag and how it is populated
*/
type: pulumi.Input<string>;
/**
* Comparison values for the selected `match` attribute when `type`==`match`
*/
values?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* Identifier of the VLAN associated with this WxLAN tag when `type`==`vlan`
*/
vlanId?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=wxtag.d.ts.map