@pulumi/juniper-mist 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +177 -0
- package/README.md +50 -0
- package/config/index.d.ts +1 -0
- package/config/index.js +21 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +27 -0
- package/config/vars.js +43 -0
- package/config/vars.js.map +1 -0
- package/device/ap.d.ts +381 -0
- package/device/ap.js +145 -0
- package/device/ap.js.map +1 -0
- package/device/base.d.ts +221 -0
- package/device/base.js +113 -0
- package/device/base.js.map +1 -0
- package/device/gateway.d.ts +432 -0
- package/device/gateway.js +163 -0
- package/device/gateway.js.map +1 -0
- package/device/gatewayCluster.d.ts +70 -0
- package/device/gatewayCluster.js +85 -0
- package/device/gatewayCluster.js.map +1 -0
- package/device/getApStats.d.ts +100 -0
- package/device/getApStats.js +53 -0
- package/device/getApStats.js.map +1 -0
- package/device/getGatewayStats.d.ts +100 -0
- package/device/getGatewayStats.js +53 -0
- package/device/getGatewayStats.js.map +1 -0
- package/device/getSwitchStats.d.ts +124 -0
- package/device/getSwitchStats.js +55 -0
- package/device/getSwitchStats.js.map +1 -0
- package/device/index.d.ts +24 -0
- package/device/index.js +51 -0
- package/device/index.js.map +1 -0
- package/device/switch.d.ts +518 -0
- package/device/switch.js +158 -0
- package/device/switch.js.map +1 -0
- package/getConstAppCategories.d.ts +38 -0
- package/getConstAppCategories.js +41 -0
- package/getConstAppCategories.js.map +1 -0
- package/getConstAppSubCategories.d.ts +38 -0
- package/getConstAppSubCategories.js +41 -0
- package/getConstAppSubCategories.js.map +1 -0
- package/getConstApplications.d.ts +38 -0
- package/getConstApplications.js +41 -0
- package/getConstApplications.js.map +1 -0
- package/getConstCountries.d.ts +38 -0
- package/getConstCountries.js +41 -0
- package/getConstCountries.js.map +1 -0
- package/getConstTrafficTypes.d.ts +38 -0
- package/getConstTrafficTypes.js +41 -0
- package/getConstTrafficTypes.js.map +1 -0
- package/getSites.d.ts +55 -0
- package/getSites.js +47 -0
- package/getSites.js.map +1 -0
- package/index.d.ts +27 -0
- package/index.js +48 -0
- package/index.js.map +1 -0
- package/org/base.d.ts +88 -0
- package/org/base.js +75 -0
- package/org/base.js.map +1 -0
- package/org/deviceprofileAp.d.ts +264 -0
- package/org/deviceprofileAp.js +112 -0
- package/org/deviceprofileAp.js.map +1 -0
- package/org/deviceprofileAssign.d.ts +64 -0
- package/org/deviceprofileAssign.js +81 -0
- package/org/deviceprofileAssign.js.map +1 -0
- package/org/deviceprofileGateway.d.ts +325 -0
- package/org/deviceprofileGateway.js +109 -0
- package/org/deviceprofileGateway.js.map +1 -0
- package/org/gatewaytemplate.d.ts +323 -0
- package/org/gatewaytemplate.js +105 -0
- package/org/gatewaytemplate.js.map +1 -0
- package/org/getDeviceprofilesAp.d.ts +55 -0
- package/org/getDeviceprofilesAp.js +47 -0
- package/org/getDeviceprofilesAp.js.map +1 -0
- package/org/getDeviceprofilesGateway.d.ts +55 -0
- package/org/getDeviceprofilesGateway.js +47 -0
- package/org/getDeviceprofilesGateway.js.map +1 -0
- package/org/getGatewaytemplates.d.ts +55 -0
- package/org/getGatewaytemplates.js +47 -0
- package/org/getGatewaytemplates.js.map +1 -0
- package/org/getIdpprofiles.d.ts +55 -0
- package/org/getIdpprofiles.js +47 -0
- package/org/getIdpprofiles.js.map +1 -0
- package/org/getInventory.d.ts +139 -0
- package/org/getInventory.js +54 -0
- package/org/getInventory.js.map +1 -0
- package/org/getNacrules.d.ts +55 -0
- package/org/getNacrules.js +47 -0
- package/org/getNacrules.js.map +1 -0
- package/org/getNactags.d.ts +55 -0
- package/org/getNactags.js +47 -0
- package/org/getNactags.js.map +1 -0
- package/org/getNetworks.d.ts +55 -0
- package/org/getNetworks.js +47 -0
- package/org/getNetworks.js.map +1 -0
- package/org/getNetworktemplates.d.ts +55 -0
- package/org/getNetworktemplates.js +47 -0
- package/org/getNetworktemplates.js.map +1 -0
- package/org/getRftemplates.d.ts +55 -0
- package/org/getRftemplates.js +47 -0
- package/org/getRftemplates.js.map +1 -0
- package/org/getServicepolicies.d.ts +55 -0
- package/org/getServicepolicies.js +47 -0
- package/org/getServicepolicies.js.map +1 -0
- package/org/getServices.d.ts +55 -0
- package/org/getServices.js +47 -0
- package/org/getServices.js.map +1 -0
- package/org/getSitegroups.d.ts +55 -0
- package/org/getSitegroups.js +47 -0
- package/org/getSitegroups.js.map +1 -0
- package/org/getVpns.d.ts +33 -0
- package/org/getVpns.js +25 -0
- package/org/getVpns.js.map +1 -0
- package/org/getWlantemplates.d.ts +55 -0
- package/org/getWlantemplates.js +47 -0
- package/org/getWlantemplates.js.map +1 -0
- package/org/getWxtags.d.ts +55 -0
- package/org/getWxtags.js +47 -0
- package/org/getWxtags.js.map +1 -0
- package/org/idpprofile.d.ts +62 -0
- package/org/idpprofile.js +64 -0
- package/org/idpprofile.js.map +1 -0
- package/org/index.d.ts +111 -0
- package/org/index.js +171 -0
- package/org/index.js.map +1 -0
- package/org/inventory.d.ts +47 -0
- package/org/inventory.js +57 -0
- package/org/inventory.js.map +1 -0
- package/org/nacrule.d.ts +101 -0
- package/org/nacrule.js +75 -0
- package/org/nacrule.js.map +1 -0
- package/org/nactag.d.ts +225 -0
- package/org/nactag.js +99 -0
- package/org/nactag.js.map +1 -0
- package/org/network.d.ts +154 -0
- package/org/network.js +98 -0
- package/org/network.js.map +1 -0
- package/org/networktemplate.d.ts +260 -0
- package/org/networktemplate.js +97 -0
- package/org/networktemplate.js.map +1 -0
- package/org/rftemplate.d.ts +167 -0
- package/org/rftemplate.js +79 -0
- package/org/rftemplate.js.map +1 -0
- package/org/service.d.ts +212 -0
- package/org/service.js +93 -0
- package/org/service.js.map +1 -0
- package/org/servicepolicy.d.ts +110 -0
- package/org/servicepolicy.js +73 -0
- package/org/servicepolicy.js.map +1 -0
- package/org/setting.d.ts +253 -0
- package/org/setting.js +125 -0
- package/org/setting.js.map +1 -0
- package/org/sitegroup.d.ts +57 -0
- package/org/sitegroup.js +69 -0
- package/org/sitegroup.js.map +1 -0
- package/org/vpn.d.ts +56 -0
- package/org/vpn.js +62 -0
- package/org/vpn.js.map +1 -0
- package/org/wlan.d.ts +1114 -0
- package/org/wlan.js +268 -0
- package/org/wlan.js.map +1 -0
- package/org/wlantemplate.d.ts +95 -0
- package/org/wlantemplate.js +65 -0
- package/org/wlantemplate.js.map +1 -0
- package/org/wxrule.d.ts +149 -0
- package/org/wxrule.js +102 -0
- package/org/wxrule.js.map +1 -0
- package/org/wxtag.d.ts +177 -0
- package/org/wxtag.js +90 -0
- package/org/wxtag.js.map +1 -0
- package/package.json +31 -0
- package/provider.d.ts +76 -0
- package/provider.js +52 -0
- package/provider.js.map +1 -0
- package/site/index.d.ts +15 -0
- package/site/index.js +42 -0
- package/site/index.js.map +1 -0
- package/site/networktemplate.d.ts +260 -0
- package/site/networktemplate.js +94 -0
- package/site/networktemplate.js.map +1 -0
- package/site/setting.d.ts +430 -0
- package/site/setting.js +135 -0
- package/site/setting.js.map +1 -0
- package/site/wlan.d.ts +1112 -0
- package/site/wlan.js +264 -0
- package/site/wlan.js.map +1 -0
- package/site/wxrule.d.ts +150 -0
- package/site/wxrule.js +100 -0
- package/site/wxrule.js.map +1 -0
- package/site/wxtag.d.ts +179 -0
- package/site/wxtag.js +92 -0
- package/site/wxtag.js.map +1 -0
- package/types/index.d.ts +3 -0
- package/types/index.js +11 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +9877 -0
- package/types/input.js +5 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +11698 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/utilities.d.ts +8 -0
- package/utilities.js +101 -0
- package/utilities.js.map +1 -0
package/site/wxtag.d.ts
ADDED
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* 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
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as junipermist from "@pulumi/juniper-mist";
|
|
12
|
+
*
|
|
13
|
+
* const wtagOne = new junipermist.site.Wxtag("wtag_one", {
|
|
14
|
+
* siteId: terraformTest.id,
|
|
15
|
+
* name: "wtag_one",
|
|
16
|
+
* values: ["10.3.0.0/16"],
|
|
17
|
+
* op: "in",
|
|
18
|
+
* type: "match",
|
|
19
|
+
* match: "ip_range_subnet",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare class Wxtag extends pulumi.CustomResource {
|
|
24
|
+
/**
|
|
25
|
+
* Get an existing Wxtag resource's state with the given name, ID, and optional extra
|
|
26
|
+
* properties used to qualify the lookup.
|
|
27
|
+
*
|
|
28
|
+
* @param name The _unique_ name of the resulting resource.
|
|
29
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
30
|
+
* @param state Any extra arguments used during the lookup.
|
|
31
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
32
|
+
*/
|
|
33
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: WxtagState, opts?: pulumi.CustomResourceOptions): Wxtag;
|
|
34
|
+
/**
|
|
35
|
+
* Returns true if the given object is an instance of Wxtag. This is designed to work even
|
|
36
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
37
|
+
*/
|
|
38
|
+
static isInstance(obj: any): obj is Wxtag;
|
|
39
|
+
/**
|
|
40
|
+
* if `type`==`client`, Client MAC Address
|
|
41
|
+
*/
|
|
42
|
+
readonly mac: pulumi.Output<string | undefined>;
|
|
43
|
+
/**
|
|
44
|
+
* required if `type`==`match`. enum: `apId`, `app`, `assetMac`, `clientMac`, `hostname`, `ipRangeSubnet`, `port`,
|
|
45
|
+
* `pskName`, `pskRole`, `radiusAttr`, `radiusClass`, `radiusGroup`, `radiusUsername`, `sdkclientUuid`, `wlanId`
|
|
46
|
+
*/
|
|
47
|
+
readonly match: pulumi.Output<string | undefined>;
|
|
48
|
+
/**
|
|
49
|
+
* The name
|
|
50
|
+
*/
|
|
51
|
+
readonly name: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* required if `type`==`match`, type of tag (inclusive/exclusive). enum: `in`, `notIn`
|
|
54
|
+
*/
|
|
55
|
+
readonly op: pulumi.Output<string>;
|
|
56
|
+
readonly orgId: pulumi.Output<string>;
|
|
57
|
+
readonly siteId: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* if `type`==`spec`
|
|
60
|
+
*/
|
|
61
|
+
readonly specs: pulumi.Output<outputs.site.WxtagSpec[] | undefined>;
|
|
62
|
+
/**
|
|
63
|
+
* enum: `client`, `match`, `resource`, `spec`, `subnet`, `vlan`
|
|
64
|
+
*/
|
|
65
|
+
readonly type: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* required if `type`==`match` and * `match`==`apId`: list of AP IDs * `match`==`app`: list of Application Names *
|
|
68
|
+
* `match`==`assetMac`: list of Asset MAC Addresses * `match`==`clientMac`: list of Client MAC Addresses *
|
|
69
|
+
* `match`==`hostname`: list of Resources Hostnames * `match`==`ipRangeSubnet`: list of IP Addresses and/or CIDRs *
|
|
70
|
+
* `match`==`pskName`: list of PSK Names * `match`==`pskRole`: list of PSK Roles * `match`==`port`: list of Ports or Port
|
|
71
|
+
* Ranges * `match`==`radiusAttr`: list of RADIUS Attributes. The values are [ “6=1”, “26=10.2.3.4” ], this support
|
|
72
|
+
* other RADIUS attributes where we know the type * `match`==`radiusClass`: list of RADIUS Classes. This matches the
|
|
73
|
+
* ATTR-Class(25) * `match`==`radiusGroup`: list of RADIUS Groups. This is a smart tag that matches RADIUS-Filter-ID,
|
|
74
|
+
* Airespace-ACL-Name (VendorID=14179, VendorType=6) / Aruba-User-Role (VendorID=14823, VendorType=1) *
|
|
75
|
+
* `match`==`radiusUsername`: list of RADIUS Usernames. This matches the ATTR-User-Name(1) * `match`==`sdkclientUuid`: list
|
|
76
|
+
* of SDK UUIDs * `match`==`wlanId`: list of WLAN IDs **Notes**: Variables are not allowed
|
|
77
|
+
*/
|
|
78
|
+
readonly values: pulumi.Output<string[] | undefined>;
|
|
79
|
+
readonly vlanId: pulumi.Output<string | undefined>;
|
|
80
|
+
/**
|
|
81
|
+
* Create a Wxtag resource with the given unique name, arguments, and options.
|
|
82
|
+
*
|
|
83
|
+
* @param name The _unique_ name of the resource.
|
|
84
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
85
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
86
|
+
*/
|
|
87
|
+
constructor(name: string, args: WxtagArgs, opts?: pulumi.CustomResourceOptions);
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Input properties used for looking up and filtering Wxtag resources.
|
|
91
|
+
*/
|
|
92
|
+
export interface WxtagState {
|
|
93
|
+
/**
|
|
94
|
+
* if `type`==`client`, Client MAC Address
|
|
95
|
+
*/
|
|
96
|
+
mac?: pulumi.Input<string>;
|
|
97
|
+
/**
|
|
98
|
+
* required if `type`==`match`. enum: `apId`, `app`, `assetMac`, `clientMac`, `hostname`, `ipRangeSubnet`, `port`,
|
|
99
|
+
* `pskName`, `pskRole`, `radiusAttr`, `radiusClass`, `radiusGroup`, `radiusUsername`, `sdkclientUuid`, `wlanId`
|
|
100
|
+
*/
|
|
101
|
+
match?: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* The name
|
|
104
|
+
*/
|
|
105
|
+
name?: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* required if `type`==`match`, type of tag (inclusive/exclusive). enum: `in`, `notIn`
|
|
108
|
+
*/
|
|
109
|
+
op?: pulumi.Input<string>;
|
|
110
|
+
orgId?: pulumi.Input<string>;
|
|
111
|
+
siteId?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* if `type`==`spec`
|
|
114
|
+
*/
|
|
115
|
+
specs?: pulumi.Input<pulumi.Input<inputs.site.WxtagSpec>[]>;
|
|
116
|
+
/**
|
|
117
|
+
* enum: `client`, `match`, `resource`, `spec`, `subnet`, `vlan`
|
|
118
|
+
*/
|
|
119
|
+
type?: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* required if `type`==`match` and * `match`==`apId`: list of AP IDs * `match`==`app`: list of Application Names *
|
|
122
|
+
* `match`==`assetMac`: list of Asset MAC Addresses * `match`==`clientMac`: list of Client MAC Addresses *
|
|
123
|
+
* `match`==`hostname`: list of Resources Hostnames * `match`==`ipRangeSubnet`: list of IP Addresses and/or CIDRs *
|
|
124
|
+
* `match`==`pskName`: list of PSK Names * `match`==`pskRole`: list of PSK Roles * `match`==`port`: list of Ports or Port
|
|
125
|
+
* Ranges * `match`==`radiusAttr`: list of RADIUS Attributes. The values are [ “6=1”, “26=10.2.3.4” ], this support
|
|
126
|
+
* other RADIUS attributes where we know the type * `match`==`radiusClass`: list of RADIUS Classes. This matches the
|
|
127
|
+
* ATTR-Class(25) * `match`==`radiusGroup`: list of RADIUS Groups. This is a smart tag that matches RADIUS-Filter-ID,
|
|
128
|
+
* Airespace-ACL-Name (VendorID=14179, VendorType=6) / Aruba-User-Role (VendorID=14823, VendorType=1) *
|
|
129
|
+
* `match`==`radiusUsername`: list of RADIUS Usernames. This matches the ATTR-User-Name(1) * `match`==`sdkclientUuid`: list
|
|
130
|
+
* of SDK UUIDs * `match`==`wlanId`: list of WLAN IDs **Notes**: Variables are not allowed
|
|
131
|
+
*/
|
|
132
|
+
values?: pulumi.Input<pulumi.Input<string>[]>;
|
|
133
|
+
vlanId?: pulumi.Input<string>;
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* The set of arguments for constructing a Wxtag resource.
|
|
137
|
+
*/
|
|
138
|
+
export interface WxtagArgs {
|
|
139
|
+
/**
|
|
140
|
+
* if `type`==`client`, Client MAC Address
|
|
141
|
+
*/
|
|
142
|
+
mac?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* required if `type`==`match`. enum: `apId`, `app`, `assetMac`, `clientMac`, `hostname`, `ipRangeSubnet`, `port`,
|
|
145
|
+
* `pskName`, `pskRole`, `radiusAttr`, `radiusClass`, `radiusGroup`, `radiusUsername`, `sdkclientUuid`, `wlanId`
|
|
146
|
+
*/
|
|
147
|
+
match?: pulumi.Input<string>;
|
|
148
|
+
/**
|
|
149
|
+
* The name
|
|
150
|
+
*/
|
|
151
|
+
name?: pulumi.Input<string>;
|
|
152
|
+
/**
|
|
153
|
+
* required if `type`==`match`, type of tag (inclusive/exclusive). enum: `in`, `notIn`
|
|
154
|
+
*/
|
|
155
|
+
op?: pulumi.Input<string>;
|
|
156
|
+
siteId: pulumi.Input<string>;
|
|
157
|
+
/**
|
|
158
|
+
* if `type`==`spec`
|
|
159
|
+
*/
|
|
160
|
+
specs?: pulumi.Input<pulumi.Input<inputs.site.WxtagSpec>[]>;
|
|
161
|
+
/**
|
|
162
|
+
* enum: `client`, `match`, `resource`, `spec`, `subnet`, `vlan`
|
|
163
|
+
*/
|
|
164
|
+
type: pulumi.Input<string>;
|
|
165
|
+
/**
|
|
166
|
+
* required if `type`==`match` and * `match`==`apId`: list of AP IDs * `match`==`app`: list of Application Names *
|
|
167
|
+
* `match`==`assetMac`: list of Asset MAC Addresses * `match`==`clientMac`: list of Client MAC Addresses *
|
|
168
|
+
* `match`==`hostname`: list of Resources Hostnames * `match`==`ipRangeSubnet`: list of IP Addresses and/or CIDRs *
|
|
169
|
+
* `match`==`pskName`: list of PSK Names * `match`==`pskRole`: list of PSK Roles * `match`==`port`: list of Ports or Port
|
|
170
|
+
* Ranges * `match`==`radiusAttr`: list of RADIUS Attributes. The values are [ “6=1”, “26=10.2.3.4” ], this support
|
|
171
|
+
* other RADIUS attributes where we know the type * `match`==`radiusClass`: list of RADIUS Classes. This matches the
|
|
172
|
+
* ATTR-Class(25) * `match`==`radiusGroup`: list of RADIUS Groups. This is a smart tag that matches RADIUS-Filter-ID,
|
|
173
|
+
* Airespace-ACL-Name (VendorID=14179, VendorType=6) / Aruba-User-Role (VendorID=14823, VendorType=1) *
|
|
174
|
+
* `match`==`radiusUsername`: list of RADIUS Usernames. This matches the ATTR-User-Name(1) * `match`==`sdkclientUuid`: list
|
|
175
|
+
* of SDK UUIDs * `match`==`wlanId`: list of WLAN IDs **Notes**: Variables are not allowed
|
|
176
|
+
*/
|
|
177
|
+
values?: pulumi.Input<pulumi.Input<string>[]>;
|
|
178
|
+
vlanId?: pulumi.Input<string>;
|
|
179
|
+
}
|
package/site/wxtag.js
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Wxtag = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* 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
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as junipermist from "@pulumi/juniper-mist";
|
|
16
|
+
*
|
|
17
|
+
* const wtagOne = new junipermist.site.Wxtag("wtag_one", {
|
|
18
|
+
* siteId: terraformTest.id,
|
|
19
|
+
* name: "wtag_one",
|
|
20
|
+
* values: ["10.3.0.0/16"],
|
|
21
|
+
* op: "in",
|
|
22
|
+
* type: "match",
|
|
23
|
+
* match: "ip_range_subnet",
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
class Wxtag extends pulumi.CustomResource {
|
|
28
|
+
/**
|
|
29
|
+
* Get an existing Wxtag resource's state with the given name, ID, and optional extra
|
|
30
|
+
* properties used to qualify the lookup.
|
|
31
|
+
*
|
|
32
|
+
* @param name The _unique_ name of the resulting resource.
|
|
33
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
34
|
+
* @param state Any extra arguments used during the lookup.
|
|
35
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
36
|
+
*/
|
|
37
|
+
static get(name, id, state, opts) {
|
|
38
|
+
return new Wxtag(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Returns true if the given object is an instance of Wxtag. This is designed to work even
|
|
42
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
43
|
+
*/
|
|
44
|
+
static isInstance(obj) {
|
|
45
|
+
if (obj === undefined || obj === null) {
|
|
46
|
+
return false;
|
|
47
|
+
}
|
|
48
|
+
return obj['__pulumiType'] === Wxtag.__pulumiType;
|
|
49
|
+
}
|
|
50
|
+
constructor(name, argsOrState, opts) {
|
|
51
|
+
let resourceInputs = {};
|
|
52
|
+
opts = opts || {};
|
|
53
|
+
if (opts.id) {
|
|
54
|
+
const state = argsOrState;
|
|
55
|
+
resourceInputs["mac"] = state ? state.mac : undefined;
|
|
56
|
+
resourceInputs["match"] = state ? state.match : undefined;
|
|
57
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
58
|
+
resourceInputs["op"] = state ? state.op : undefined;
|
|
59
|
+
resourceInputs["orgId"] = state ? state.orgId : undefined;
|
|
60
|
+
resourceInputs["siteId"] = state ? state.siteId : undefined;
|
|
61
|
+
resourceInputs["specs"] = state ? state.specs : undefined;
|
|
62
|
+
resourceInputs["type"] = state ? state.type : undefined;
|
|
63
|
+
resourceInputs["values"] = state ? state.values : undefined;
|
|
64
|
+
resourceInputs["vlanId"] = state ? state.vlanId : undefined;
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
const args = argsOrState;
|
|
68
|
+
if ((!args || args.siteId === undefined) && !opts.urn) {
|
|
69
|
+
throw new Error("Missing required property 'siteId'");
|
|
70
|
+
}
|
|
71
|
+
if ((!args || args.type === undefined) && !opts.urn) {
|
|
72
|
+
throw new Error("Missing required property 'type'");
|
|
73
|
+
}
|
|
74
|
+
resourceInputs["mac"] = args ? args.mac : undefined;
|
|
75
|
+
resourceInputs["match"] = args ? args.match : undefined;
|
|
76
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
77
|
+
resourceInputs["op"] = args ? args.op : undefined;
|
|
78
|
+
resourceInputs["siteId"] = args ? args.siteId : undefined;
|
|
79
|
+
resourceInputs["specs"] = args ? args.specs : undefined;
|
|
80
|
+
resourceInputs["type"] = args ? args.type : undefined;
|
|
81
|
+
resourceInputs["values"] = args ? args.values : undefined;
|
|
82
|
+
resourceInputs["vlanId"] = args ? args.vlanId : undefined;
|
|
83
|
+
resourceInputs["orgId"] = undefined /*out*/;
|
|
84
|
+
}
|
|
85
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
86
|
+
super(Wxtag.__pulumiType, name, resourceInputs, opts);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
exports.Wxtag = Wxtag;
|
|
90
|
+
/** @internal */
|
|
91
|
+
Wxtag.__pulumiType = 'junipermist:site/wxtag:Wxtag';
|
|
92
|
+
//# sourceMappingURL=wxtag.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wxtag.js","sourceRoot":"","sources":["../../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gen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.output = exports.input = void 0;
|
|
6
|
+
// Export sub-modules:
|
|
7
|
+
const input = require("./input");
|
|
8
|
+
exports.input = input;
|
|
9
|
+
const output = require("./output");
|
|
10
|
+
exports.output = output;
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAIjF,sBAAsB;AACtB,iCAAiC;AAI7B,sBAAK;AAHT,mCAAmC;AAI/B,wBAAM"}
|