@pulumi/juniper-mist 0.0.4 → 0.0.6-alpha.1724168236
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/device/base.d.ts +4 -1
- package/device/base.js +6 -1
- package/device/base.js.map +1 -1
- package/package.json +2 -2
- package/site/base.d.ts +221 -0
- package/site/base.js +115 -0
- package/site/base.js.map +1 -0
- package/site/index.d.ts +3 -0
- package/site/index.js +6 -1
- package/site/index.js.map +1 -1
- package/types/input.d.ts +4 -0
- package/types/output.d.ts +4 -0
package/device/base.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import * as outputs from "../types/output";
|
|
|
10
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
11
|
* import * as junipermist from "@pulumi/juniper-mist";
|
|
12
12
|
*
|
|
13
|
-
* const juniperFrance = new junipermist.
|
|
13
|
+
* const juniperFrance = new junipermist.site.Base("juniper_france", {
|
|
14
14
|
* orgId: terraformTest.id,
|
|
15
15
|
* name: "JNP-FR-PAR",
|
|
16
16
|
* countryCode: "FR",
|
|
@@ -30,6 +30,8 @@ import * as outputs from "../types/output";
|
|
|
30
30
|
* gatewaytemplateId: test_api.id,
|
|
31
31
|
* });
|
|
32
32
|
* ```
|
|
33
|
+
*
|
|
34
|
+
* @deprecated junipermist.device/base.base has been deprecated in favor of junipermist.site/base.base
|
|
33
35
|
*/
|
|
34
36
|
export declare class Base extends pulumi.CustomResource {
|
|
35
37
|
/**
|
|
@@ -105,6 +107,7 @@ export declare class Base extends pulumi.CustomResource {
|
|
|
105
107
|
* @param args The arguments to use to populate this resource's properties.
|
|
106
108
|
* @param opts A bag of options that control this resource's behavior.
|
|
107
109
|
*/
|
|
110
|
+
/** @deprecated junipermist.device/base.base has been deprecated in favor of junipermist.site/base.base */
|
|
108
111
|
constructor(name: string, args: BaseArgs, opts?: pulumi.CustomResourceOptions);
|
|
109
112
|
}
|
|
110
113
|
/**
|
package/device/base.js
CHANGED
|
@@ -14,7 +14,7 @@ const utilities = require("../utilities");
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as junipermist from "@pulumi/juniper-mist";
|
|
16
16
|
*
|
|
17
|
-
* const juniperFrance = new junipermist.
|
|
17
|
+
* const juniperFrance = new junipermist.site.Base("juniper_france", {
|
|
18
18
|
* orgId: terraformTest.id,
|
|
19
19
|
* name: "JNP-FR-PAR",
|
|
20
20
|
* countryCode: "FR",
|
|
@@ -34,6 +34,8 @@ const utilities = require("../utilities");
|
|
|
34
34
|
* gatewaytemplateId: test_api.id,
|
|
35
35
|
* });
|
|
36
36
|
* ```
|
|
37
|
+
*
|
|
38
|
+
* @deprecated junipermist.device/base.base has been deprecated in favor of junipermist.site/base.base
|
|
37
39
|
*/
|
|
38
40
|
class Base extends pulumi.CustomResource {
|
|
39
41
|
/**
|
|
@@ -46,6 +48,7 @@ class Base extends pulumi.CustomResource {
|
|
|
46
48
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
47
49
|
*/
|
|
48
50
|
static get(name, id, state, opts) {
|
|
51
|
+
pulumi.log.warn("Base is deprecated: junipermist.device/base.base has been deprecated in favor of junipermist.site/base.base");
|
|
49
52
|
return new Base(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
50
53
|
}
|
|
51
54
|
/**
|
|
@@ -58,7 +61,9 @@ class Base extends pulumi.CustomResource {
|
|
|
58
61
|
}
|
|
59
62
|
return obj['__pulumiType'] === Base.__pulumiType;
|
|
60
63
|
}
|
|
64
|
+
/** @deprecated junipermist.device/base.base has been deprecated in favor of junipermist.site/base.base */
|
|
61
65
|
constructor(name, argsOrState, opts) {
|
|
66
|
+
pulumi.log.warn("Base is deprecated: junipermist.device/base.base has been deprecated in favor of junipermist.site/base.base");
|
|
62
67
|
let resourceInputs = {};
|
|
63
68
|
opts = opts || {};
|
|
64
69
|
if (opts.id) {
|
package/device/base.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../device/base.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../device/base.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,6GAA6G,CAAC,CAAA;QAC9H,OAAO,IAAI,IAAI,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC,YAAY,CAAC;IACrD,CAAC;IA+DD,0GAA0G;IAC1G,YAAY,IAAY,EAAE,WAAkC,EAAE,IAAmC;QAC7F,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,6GAA6G,CAAC,CAAA;QAC9H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoC,CAAC;YACnD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,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,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AA1IL,oBA2IC;AA5HG,gBAAgB;AACO,iBAAY,GAAG,8BAA8B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/juniper-mist",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6-alpha.1724168236",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Juniper Mist resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"pulumi": {
|
|
26
26
|
"resource": true,
|
|
27
27
|
"name": "junipermist",
|
|
28
|
-
"version": "0.0.
|
|
28
|
+
"version": "0.0.6-alpha.1724168236",
|
|
29
29
|
"server": "github://api.github.com/pulumi/pulumi-junipermist"
|
|
30
30
|
}
|
|
31
31
|
}
|
package/site/base.d.ts
ADDED
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* This resources manages the Site basic information.This resource can be used to assign templates to a site, or to change basic information (e.g. Site Address)
|
|
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 juniperFrance = new junipermist.site.Base("juniper_france", {
|
|
14
|
+
* orgId: terraformTest.id,
|
|
15
|
+
* name: "JNP-FR-PAR",
|
|
16
|
+
* countryCode: "FR",
|
|
17
|
+
* timezone: "Europe/Paris",
|
|
18
|
+
* address: "41 Rue de Villiers, 92100 Neuilly sur Seine, France",
|
|
19
|
+
* notes: "Created with Terraform, Updated with Terraform",
|
|
20
|
+
* latlng: {
|
|
21
|
+
* lat: 48.899268,
|
|
22
|
+
* lng: 2.214447,
|
|
23
|
+
* },
|
|
24
|
+
* sitegroupIds: [
|
|
25
|
+
* testGroup.id,
|
|
26
|
+
* testGroup2.id,
|
|
27
|
+
* ],
|
|
28
|
+
* networktemplateId: switchTemplate.id,
|
|
29
|
+
* rftemplateId: testRf.id,
|
|
30
|
+
* gatewaytemplateId: test_api.id,
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
export declare class Base extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing Base resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param state Any extra arguments used during the lookup.
|
|
42
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
43
|
+
*/
|
|
44
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BaseState, opts?: pulumi.CustomResourceOptions): Base;
|
|
45
|
+
/**
|
|
46
|
+
* Returns true if the given object is an instance of Base. This is designed to work even
|
|
47
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
48
|
+
*/
|
|
49
|
+
static isInstance(obj: any): obj is Base;
|
|
50
|
+
/**
|
|
51
|
+
* full address of the site
|
|
52
|
+
*/
|
|
53
|
+
readonly address: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Alarm Template ID, this takes precedence over the Org-level alarmtemplate_id
|
|
56
|
+
*/
|
|
57
|
+
readonly alarmtemplateId: pulumi.Output<string | undefined>;
|
|
58
|
+
/**
|
|
59
|
+
* AP Template ID, used by APs
|
|
60
|
+
*/
|
|
61
|
+
readonly aptemplateId: pulumi.Output<string | undefined>;
|
|
62
|
+
/**
|
|
63
|
+
* country code for the site (for AP config generation), in two-character
|
|
64
|
+
*/
|
|
65
|
+
readonly countryCode: pulumi.Output<string | undefined>;
|
|
66
|
+
/**
|
|
67
|
+
* Gateway Template ID, used by gateways
|
|
68
|
+
*/
|
|
69
|
+
readonly gatewaytemplateId: pulumi.Output<string | undefined>;
|
|
70
|
+
readonly latlng: pulumi.Output<outputs.site.BaseLatlng | undefined>;
|
|
71
|
+
readonly name: pulumi.Output<string>;
|
|
72
|
+
/**
|
|
73
|
+
* Network Template ID, this takes precedence over Site Settings
|
|
74
|
+
*/
|
|
75
|
+
readonly networktemplateId: pulumi.Output<string | undefined>;
|
|
76
|
+
/**
|
|
77
|
+
* optional, any notes about the site
|
|
78
|
+
*/
|
|
79
|
+
readonly notes: pulumi.Output<string | undefined>;
|
|
80
|
+
readonly orgId: pulumi.Output<string>;
|
|
81
|
+
/**
|
|
82
|
+
* RF Template ID, this takes precedence over Site Settings
|
|
83
|
+
*/
|
|
84
|
+
readonly rftemplateId: pulumi.Output<string | undefined>;
|
|
85
|
+
/**
|
|
86
|
+
* SecPolicy ID
|
|
87
|
+
*/
|
|
88
|
+
readonly secpolicyId: pulumi.Output<string | undefined>;
|
|
89
|
+
/**
|
|
90
|
+
* sitegroups this site belongs to
|
|
91
|
+
*/
|
|
92
|
+
readonly sitegroupIds: pulumi.Output<string[] | undefined>;
|
|
93
|
+
/**
|
|
94
|
+
* Site Template ID
|
|
95
|
+
*/
|
|
96
|
+
readonly sitetemplateId: pulumi.Output<string | undefined>;
|
|
97
|
+
/**
|
|
98
|
+
* Timezone the site is at
|
|
99
|
+
*/
|
|
100
|
+
readonly timezone: pulumi.Output<string | undefined>;
|
|
101
|
+
/**
|
|
102
|
+
* Create a Base resource with the given unique name, arguments, and options.
|
|
103
|
+
*
|
|
104
|
+
* @param name The _unique_ name of the resource.
|
|
105
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
106
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
107
|
+
*/
|
|
108
|
+
constructor(name: string, args: BaseArgs, opts?: pulumi.CustomResourceOptions);
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Input properties used for looking up and filtering base resources.
|
|
112
|
+
*/
|
|
113
|
+
export interface BaseState {
|
|
114
|
+
/**
|
|
115
|
+
* full address of the site
|
|
116
|
+
*/
|
|
117
|
+
address?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* Alarm Template ID, this takes precedence over the Org-level alarmtemplate_id
|
|
120
|
+
*/
|
|
121
|
+
alarmtemplateId?: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* AP Template ID, used by APs
|
|
124
|
+
*/
|
|
125
|
+
aptemplateId?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* country code for the site (for AP config generation), in two-character
|
|
128
|
+
*/
|
|
129
|
+
countryCode?: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* Gateway Template ID, used by gateways
|
|
132
|
+
*/
|
|
133
|
+
gatewaytemplateId?: pulumi.Input<string>;
|
|
134
|
+
latlng?: pulumi.Input<inputs.site.BaseLatlng>;
|
|
135
|
+
name?: pulumi.Input<string>;
|
|
136
|
+
/**
|
|
137
|
+
* Network Template ID, this takes precedence over Site Settings
|
|
138
|
+
*/
|
|
139
|
+
networktemplateId?: pulumi.Input<string>;
|
|
140
|
+
/**
|
|
141
|
+
* optional, any notes about the site
|
|
142
|
+
*/
|
|
143
|
+
notes?: pulumi.Input<string>;
|
|
144
|
+
orgId?: pulumi.Input<string>;
|
|
145
|
+
/**
|
|
146
|
+
* RF Template ID, this takes precedence over Site Settings
|
|
147
|
+
*/
|
|
148
|
+
rftemplateId?: pulumi.Input<string>;
|
|
149
|
+
/**
|
|
150
|
+
* SecPolicy ID
|
|
151
|
+
*/
|
|
152
|
+
secpolicyId?: pulumi.Input<string>;
|
|
153
|
+
/**
|
|
154
|
+
* sitegroups this site belongs to
|
|
155
|
+
*/
|
|
156
|
+
sitegroupIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
157
|
+
/**
|
|
158
|
+
* Site Template ID
|
|
159
|
+
*/
|
|
160
|
+
sitetemplateId?: pulumi.Input<string>;
|
|
161
|
+
/**
|
|
162
|
+
* Timezone the site is at
|
|
163
|
+
*/
|
|
164
|
+
timezone?: pulumi.Input<string>;
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* The set of arguments for constructing a Base resource.
|
|
168
|
+
*/
|
|
169
|
+
export interface BaseArgs {
|
|
170
|
+
/**
|
|
171
|
+
* full address of the site
|
|
172
|
+
*/
|
|
173
|
+
address: pulumi.Input<string>;
|
|
174
|
+
/**
|
|
175
|
+
* Alarm Template ID, this takes precedence over the Org-level alarmtemplate_id
|
|
176
|
+
*/
|
|
177
|
+
alarmtemplateId?: pulumi.Input<string>;
|
|
178
|
+
/**
|
|
179
|
+
* AP Template ID, used by APs
|
|
180
|
+
*/
|
|
181
|
+
aptemplateId?: pulumi.Input<string>;
|
|
182
|
+
/**
|
|
183
|
+
* country code for the site (for AP config generation), in two-character
|
|
184
|
+
*/
|
|
185
|
+
countryCode?: pulumi.Input<string>;
|
|
186
|
+
/**
|
|
187
|
+
* Gateway Template ID, used by gateways
|
|
188
|
+
*/
|
|
189
|
+
gatewaytemplateId?: pulumi.Input<string>;
|
|
190
|
+
latlng?: pulumi.Input<inputs.site.BaseLatlng>;
|
|
191
|
+
name?: pulumi.Input<string>;
|
|
192
|
+
/**
|
|
193
|
+
* Network Template ID, this takes precedence over Site Settings
|
|
194
|
+
*/
|
|
195
|
+
networktemplateId?: pulumi.Input<string>;
|
|
196
|
+
/**
|
|
197
|
+
* optional, any notes about the site
|
|
198
|
+
*/
|
|
199
|
+
notes?: pulumi.Input<string>;
|
|
200
|
+
orgId: pulumi.Input<string>;
|
|
201
|
+
/**
|
|
202
|
+
* RF Template ID, this takes precedence over Site Settings
|
|
203
|
+
*/
|
|
204
|
+
rftemplateId?: pulumi.Input<string>;
|
|
205
|
+
/**
|
|
206
|
+
* SecPolicy ID
|
|
207
|
+
*/
|
|
208
|
+
secpolicyId?: pulumi.Input<string>;
|
|
209
|
+
/**
|
|
210
|
+
* sitegroups this site belongs to
|
|
211
|
+
*/
|
|
212
|
+
sitegroupIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
213
|
+
/**
|
|
214
|
+
* Site Template ID
|
|
215
|
+
*/
|
|
216
|
+
sitetemplateId?: pulumi.Input<string>;
|
|
217
|
+
/**
|
|
218
|
+
* Timezone the site is at
|
|
219
|
+
*/
|
|
220
|
+
timezone?: pulumi.Input<string>;
|
|
221
|
+
}
|
package/site/base.js
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
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.Base = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resources manages the Site basic information.This resource can be used to assign templates to a site, or to change basic information (e.g. Site Address)
|
|
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 juniperFrance = new junipermist.site.Base("juniper_france", {
|
|
18
|
+
* orgId: terraformTest.id,
|
|
19
|
+
* name: "JNP-FR-PAR",
|
|
20
|
+
* countryCode: "FR",
|
|
21
|
+
* timezone: "Europe/Paris",
|
|
22
|
+
* address: "41 Rue de Villiers, 92100 Neuilly sur Seine, France",
|
|
23
|
+
* notes: "Created with Terraform, Updated with Terraform",
|
|
24
|
+
* latlng: {
|
|
25
|
+
* lat: 48.899268,
|
|
26
|
+
* lng: 2.214447,
|
|
27
|
+
* },
|
|
28
|
+
* sitegroupIds: [
|
|
29
|
+
* testGroup.id,
|
|
30
|
+
* testGroup2.id,
|
|
31
|
+
* ],
|
|
32
|
+
* networktemplateId: switchTemplate.id,
|
|
33
|
+
* rftemplateId: testRf.id,
|
|
34
|
+
* gatewaytemplateId: test_api.id,
|
|
35
|
+
* });
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
class Base extends pulumi.CustomResource {
|
|
39
|
+
/**
|
|
40
|
+
* Get an existing Base resource's state with the given name, ID, and optional extra
|
|
41
|
+
* properties used to qualify the lookup.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resulting resource.
|
|
44
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
45
|
+
* @param state Any extra arguments used during the lookup.
|
|
46
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
47
|
+
*/
|
|
48
|
+
static get(name, id, state, opts) {
|
|
49
|
+
return new Base(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Returns true if the given object is an instance of Base. This is designed to work even
|
|
53
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
54
|
+
*/
|
|
55
|
+
static isInstance(obj) {
|
|
56
|
+
if (obj === undefined || obj === null) {
|
|
57
|
+
return false;
|
|
58
|
+
}
|
|
59
|
+
return obj['__pulumiType'] === Base.__pulumiType;
|
|
60
|
+
}
|
|
61
|
+
constructor(name, argsOrState, opts) {
|
|
62
|
+
let resourceInputs = {};
|
|
63
|
+
opts = opts || {};
|
|
64
|
+
if (opts.id) {
|
|
65
|
+
const state = argsOrState;
|
|
66
|
+
resourceInputs["address"] = state ? state.address : undefined;
|
|
67
|
+
resourceInputs["alarmtemplateId"] = state ? state.alarmtemplateId : undefined;
|
|
68
|
+
resourceInputs["aptemplateId"] = state ? state.aptemplateId : undefined;
|
|
69
|
+
resourceInputs["countryCode"] = state ? state.countryCode : undefined;
|
|
70
|
+
resourceInputs["gatewaytemplateId"] = state ? state.gatewaytemplateId : undefined;
|
|
71
|
+
resourceInputs["latlng"] = state ? state.latlng : undefined;
|
|
72
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
73
|
+
resourceInputs["networktemplateId"] = state ? state.networktemplateId : undefined;
|
|
74
|
+
resourceInputs["notes"] = state ? state.notes : undefined;
|
|
75
|
+
resourceInputs["orgId"] = state ? state.orgId : undefined;
|
|
76
|
+
resourceInputs["rftemplateId"] = state ? state.rftemplateId : undefined;
|
|
77
|
+
resourceInputs["secpolicyId"] = state ? state.secpolicyId : undefined;
|
|
78
|
+
resourceInputs["sitegroupIds"] = state ? state.sitegroupIds : undefined;
|
|
79
|
+
resourceInputs["sitetemplateId"] = state ? state.sitetemplateId : undefined;
|
|
80
|
+
resourceInputs["timezone"] = state ? state.timezone : undefined;
|
|
81
|
+
}
|
|
82
|
+
else {
|
|
83
|
+
const args = argsOrState;
|
|
84
|
+
if ((!args || args.address === undefined) && !opts.urn) {
|
|
85
|
+
throw new Error("Missing required property 'address'");
|
|
86
|
+
}
|
|
87
|
+
if ((!args || args.orgId === undefined) && !opts.urn) {
|
|
88
|
+
throw new Error("Missing required property 'orgId'");
|
|
89
|
+
}
|
|
90
|
+
resourceInputs["address"] = args ? args.address : undefined;
|
|
91
|
+
resourceInputs["alarmtemplateId"] = args ? args.alarmtemplateId : undefined;
|
|
92
|
+
resourceInputs["aptemplateId"] = args ? args.aptemplateId : undefined;
|
|
93
|
+
resourceInputs["countryCode"] = args ? args.countryCode : undefined;
|
|
94
|
+
resourceInputs["gatewaytemplateId"] = args ? args.gatewaytemplateId : undefined;
|
|
95
|
+
resourceInputs["latlng"] = args ? args.latlng : undefined;
|
|
96
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
97
|
+
resourceInputs["networktemplateId"] = args ? args.networktemplateId : undefined;
|
|
98
|
+
resourceInputs["notes"] = args ? args.notes : undefined;
|
|
99
|
+
resourceInputs["orgId"] = args ? args.orgId : undefined;
|
|
100
|
+
resourceInputs["rftemplateId"] = args ? args.rftemplateId : undefined;
|
|
101
|
+
resourceInputs["secpolicyId"] = args ? args.secpolicyId : undefined;
|
|
102
|
+
resourceInputs["sitegroupIds"] = args ? args.sitegroupIds : undefined;
|
|
103
|
+
resourceInputs["sitetemplateId"] = args ? args.sitetemplateId : undefined;
|
|
104
|
+
resourceInputs["timezone"] = args ? args.timezone : undefined;
|
|
105
|
+
}
|
|
106
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
107
|
+
const aliasOpts = { aliases: [{ type: "junipermist:device/base:base" }] };
|
|
108
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
109
|
+
super(Base.__pulumiType, name, resourceInputs, opts);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
exports.Base = Base;
|
|
113
|
+
/** @internal */
|
|
114
|
+
Base.__pulumiType = 'junipermist:site/base:base';
|
|
115
|
+
//# sourceMappingURL=base.js.map
|
package/site/base.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../site/base.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,OAAO,IAAI,IAAI,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAA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AAS,CAAC;YACtE,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,SAAS,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,8BAA8B,EAAE,CAAC,EAAE,CAAC;QAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AAxIL,oBAyIC;AA3HG,gBAAgB;AACO,iBAAY,GAAG,4BAA4B,CAAC"}
|
package/site/index.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
export { BaseArgs, BaseState } from "./base";
|
|
2
|
+
export type Base = import("./base").Base;
|
|
3
|
+
export declare const Base: typeof import("./base").Base;
|
|
1
4
|
export { NetworktemplateArgs, NetworktemplateState } from "./networktemplate";
|
|
2
5
|
export type Networktemplate = import("./networktemplate").Networktemplate;
|
|
3
6
|
export declare const Networktemplate: typeof import("./networktemplate").Networktemplate;
|
package/site/index.js
CHANGED
|
@@ -2,9 +2,11 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.Wxtag = exports.Wxrule = exports.Wlan = exports.Setting = exports.Networktemplate = void 0;
|
|
5
|
+
exports.Wxtag = exports.Wxrule = exports.Wlan = exports.Setting = exports.Networktemplate = exports.Base = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
|
+
exports.Base = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["Base"], () => require("./base"));
|
|
8
10
|
exports.Networktemplate = null;
|
|
9
11
|
utilities.lazyLoad(exports, ["Networktemplate"], () => require("./networktemplate"));
|
|
10
12
|
exports.Setting = null;
|
|
@@ -19,6 +21,8 @@ const _module = {
|
|
|
19
21
|
version: utilities.getVersion(),
|
|
20
22
|
construct: (name, type, urn) => {
|
|
21
23
|
switch (type) {
|
|
24
|
+
case "junipermist:site/base:base":
|
|
25
|
+
return new exports.Base(name, undefined, { urn });
|
|
22
26
|
case "junipermist:site/networktemplate:Networktemplate":
|
|
23
27
|
return new exports.Networktemplate(name, undefined, { urn });
|
|
24
28
|
case "junipermist:site/setting:Setting":
|
|
@@ -34,6 +38,7 @@ const _module = {
|
|
|
34
38
|
}
|
|
35
39
|
},
|
|
36
40
|
};
|
|
41
|
+
pulumi.runtime.registerResourceModule("junipermist", "site/base", _module);
|
|
37
42
|
pulumi.runtime.registerResourceModule("junipermist", "site/networktemplate", _module);
|
|
38
43
|
pulumi.runtime.registerResourceModule("junipermist", "site/setting", _module);
|
|
39
44
|
pulumi.runtime.registerResourceModule("junipermist", "site/wlan", _module);
|
package/site/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../site/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,eAAe,GAAuD,IAAW,CAAC;AAC/F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,iBAAiB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC;AAIxE,QAAA,OAAO,G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,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACnD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,aAAa,EAAE,WAAW,EAAE,OAAO,CAAC,CAAA;AAC1E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,aAAa,EAAE,sBAAsB,EAAE,OAAO,CAAC,CAAA;AACrF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,aAAa,EAAE,cAAc,EAAE,OAAO,CAAC,CAAA;AAC7E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,aAAa,EAAE,WAAW,EAAE,OAAO,CAAC,CAAA;AAC1E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,aAAa,EAAE,aAAa,EAAE,OAAO,CAAC,CAAA;AAC5E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,aAAa,EAAE,YAAY,EAAE,OAAO,CAAC,CAAA"}
|
package/types/input.d.ts
CHANGED
|
@@ -7785,6 +7785,10 @@ export declare namespace org {
|
|
|
7785
7785
|
}
|
|
7786
7786
|
}
|
|
7787
7787
|
export declare namespace site {
|
|
7788
|
+
interface BaseLatlng {
|
|
7789
|
+
lat: pulumi.Input<number>;
|
|
7790
|
+
lng: pulumi.Input<number>;
|
|
7791
|
+
}
|
|
7788
7792
|
interface NetworktemplateAclPolicy {
|
|
7789
7793
|
/**
|
|
7790
7794
|
* - for GBP-based policy, all srcTags and dstTags have to be gbp-based
|
package/types/output.d.ts
CHANGED
|
@@ -9606,6 +9606,10 @@ export declare namespace org {
|
|
|
9606
9606
|
}
|
|
9607
9607
|
}
|
|
9608
9608
|
export declare namespace site {
|
|
9609
|
+
interface BaseLatlng {
|
|
9610
|
+
lat: number;
|
|
9611
|
+
lng: number;
|
|
9612
|
+
}
|
|
9609
9613
|
interface NetworktemplateAclPolicy {
|
|
9610
9614
|
/**
|
|
9611
9615
|
* - for GBP-based policy, all srcTags and dstTags have to be gbp-based
|