@pulumi/juniper-mist 0.2.0 → 0.2.2

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.
@@ -0,0 +1,83 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * This data source provides the list of available Firmware Versions.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as junipermist from "@pulumi/junipermist";
11
+ *
12
+ * const ap24Versions = junipermist.device.getVersions({
13
+ * orgId: "15fca2ac-b1a6-47cc-9953-cc6906281550",
14
+ * type: "ap",
15
+ * model: "AP24",
16
+ * });
17
+ * ```
18
+ */
19
+ export declare function getVersions(args: GetVersionsArgs, opts?: pulumi.InvokeOptions): Promise<GetVersionsResult>;
20
+ /**
21
+ * A collection of arguments for invoking getVersions.
22
+ */
23
+ export interface GetVersionsArgs {
24
+ /**
25
+ * Fetch version for device model, use/combine with `type` as needed (for switch and gateway devices)
26
+ */
27
+ model: string;
28
+ orgId: string;
29
+ /**
30
+ * enum: `ap`, `gateway`, `switch`
31
+ */
32
+ type: string;
33
+ }
34
+ /**
35
+ * A collection of values returned by getVersions.
36
+ */
37
+ export interface GetVersionsResult {
38
+ readonly deviceVersions: outputs.device.GetVersionsDeviceVersion[];
39
+ /**
40
+ * The provider-assigned unique ID for this managed resource.
41
+ */
42
+ readonly id: string;
43
+ /**
44
+ * Fetch version for device model, use/combine with `type` as needed (for switch and gateway devices)
45
+ */
46
+ readonly model: string;
47
+ readonly orgId: string;
48
+ /**
49
+ * enum: `ap`, `gateway`, `switch`
50
+ */
51
+ readonly type: string;
52
+ }
53
+ /**
54
+ * This data source provides the list of available Firmware Versions.
55
+ *
56
+ * ## Example Usage
57
+ *
58
+ * ```typescript
59
+ * import * as pulumi from "@pulumi/pulumi";
60
+ * import * as junipermist from "@pulumi/junipermist";
61
+ *
62
+ * const ap24Versions = junipermist.device.getVersions({
63
+ * orgId: "15fca2ac-b1a6-47cc-9953-cc6906281550",
64
+ * type: "ap",
65
+ * model: "AP24",
66
+ * });
67
+ * ```
68
+ */
69
+ export declare function getVersionsOutput(args: GetVersionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVersionsResult>;
70
+ /**
71
+ * A collection of arguments for invoking getVersions.
72
+ */
73
+ export interface GetVersionsOutputArgs {
74
+ /**
75
+ * Fetch version for device model, use/combine with `type` as needed (for switch and gateway devices)
76
+ */
77
+ model: pulumi.Input<string>;
78
+ orgId: pulumi.Input<string>;
79
+ /**
80
+ * enum: `ap`, `gateway`, `switch`
81
+ */
82
+ type: pulumi.Input<string>;
83
+ }
@@ -0,0 +1,58 @@
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.getVersionsOutput = exports.getVersions = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * This data source provides the list of available Firmware Versions.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as junipermist from "@pulumi/junipermist";
16
+ *
17
+ * const ap24Versions = junipermist.device.getVersions({
18
+ * orgId: "15fca2ac-b1a6-47cc-9953-cc6906281550",
19
+ * type: "ap",
20
+ * model: "AP24",
21
+ * });
22
+ * ```
23
+ */
24
+ function getVersions(args, opts) {
25
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
26
+ return pulumi.runtime.invoke("junipermist:device/getVersions:getVersions", {
27
+ "model": args.model,
28
+ "orgId": args.orgId,
29
+ "type": args.type,
30
+ }, opts);
31
+ }
32
+ exports.getVersions = getVersions;
33
+ /**
34
+ * This data source provides the list of available Firmware Versions.
35
+ *
36
+ * ## Example Usage
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as junipermist from "@pulumi/junipermist";
41
+ *
42
+ * const ap24Versions = junipermist.device.getVersions({
43
+ * orgId: "15fca2ac-b1a6-47cc-9953-cc6906281550",
44
+ * type: "ap",
45
+ * model: "AP24",
46
+ * });
47
+ * ```
48
+ */
49
+ function getVersionsOutput(args, opts) {
50
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
51
+ return pulumi.runtime.invokeOutput("junipermist:device/getVersions:getVersions", {
52
+ "model": args.model,
53
+ "orgId": args.orgId,
54
+ "type": args.type,
55
+ }, opts);
56
+ }
57
+ exports.getVersionsOutput = getVersionsOutput;
58
+ //# sourceMappingURL=getVersions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getVersions.js","sourceRoot":"","sources":["../../device/getVersions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kCAOC;AAoCD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAAiC;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4CAA4C,EAAE;QAC7E,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8CAOC"}
package/device/index.d.ts CHANGED
@@ -19,6 +19,9 @@ export declare const getGatewayStatsOutput: typeof import("./getGatewayStats").g
19
19
  export { GetSwitchStatsArgs, GetSwitchStatsResult, GetSwitchStatsOutputArgs } from "./getSwitchStats";
20
20
  export declare const getSwitchStats: typeof import("./getSwitchStats").getSwitchStats;
21
21
  export declare const getSwitchStatsOutput: typeof import("./getSwitchStats").getSwitchStatsOutput;
22
+ export { GetVersionsArgs, GetVersionsResult, GetVersionsOutputArgs } from "./getVersions";
23
+ export declare const getVersions: typeof import("./getVersions").getVersions;
24
+ export declare const getVersionsOutput: typeof import("./getVersions").getVersionsOutput;
22
25
  export { ImageArgs, ImageState } from "./image";
23
26
  export type Image = import("./image").Image;
24
27
  export declare const Image: typeof import("./image").Image;
package/device/index.js CHANGED
@@ -2,7 +2,7 @@
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.Switch = exports.Image = exports.getSwitchStatsOutput = exports.getSwitchStats = exports.getGatewayStatsOutput = exports.getGatewayStats = exports.getApStatsOutput = exports.getApStats = exports.GatewayCluster = exports.Gateway = exports.Base = exports.Ap = void 0;
5
+ exports.Switch = exports.Image = exports.getVersionsOutput = exports.getVersions = exports.getSwitchStatsOutput = exports.getSwitchStats = exports.getGatewayStatsOutput = exports.getGatewayStats = exports.getApStatsOutput = exports.getApStats = exports.GatewayCluster = exports.Gateway = exports.Base = exports.Ap = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  exports.Ap = null;
@@ -22,6 +22,9 @@ utilities.lazyLoad(exports, ["getGatewayStats", "getGatewayStatsOutput"], () =>
22
22
  exports.getSwitchStats = null;
23
23
  exports.getSwitchStatsOutput = null;
24
24
  utilities.lazyLoad(exports, ["getSwitchStats", "getSwitchStatsOutput"], () => require("./getSwitchStats"));
25
+ exports.getVersions = null;
26
+ exports.getVersionsOutput = null;
27
+ utilities.lazyLoad(exports, ["getVersions", "getVersionsOutput"], () => require("./getVersions"));
25
28
  exports.Image = null;
26
29
  utilities.lazyLoad(exports, ["Image"], () => require("./image"));
27
30
  exports.Switch = null;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../device/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,EAAE,GAA6B,IAAW,CAAC;AACxD,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC;AAI9C,QAAA,IAAI,GAAiC,IAAW,CAAC;AAC9D,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;AAIlD,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAIxD,QAAA,cAAc,GAAqD,IAAW,CAAC;AAC5F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,gBAAgB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAGtE,QAAA,UAAU,GAA6C,IAAW,CAAC;AACnE,QAAA,gBAAgB,GAAmD,IAAW,CA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,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACnD,KAAK,kCAAkC;gBACnC,OAAO,IAAI,cAAM,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACpD;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,aAAa,EAAE,OAAO,CAAC,CAAA;AAC5E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,aAAa,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA;AAC/E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,aAAa,EAAE,uBAAuB,EAAE,OAAO,CAAC,CAAA;AACtF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,aAAa,EAAE,cAAc,EAAE,OAAO,CAAC,CAAA;AAC7E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,aAAa,EAAE,eAAe,EAAE,OAAO,CAAC,CAAA"}
package/index.d.ts CHANGED
@@ -25,6 +25,9 @@ export declare const getSitesOutput: typeof import("./getSites").getSitesOutput;
25
25
  export { ProviderArgs } from "./provider";
26
26
  export type Provider = import("./provider").Provider;
27
27
  export declare const Provider: typeof import("./provider").Provider;
28
+ export { UpgradeDeviceArgs, UpgradeDeviceState } from "./upgradeDevice";
29
+ export type UpgradeDevice = import("./upgradeDevice").UpgradeDevice;
30
+ export declare const UpgradeDevice: typeof import("./upgradeDevice").UpgradeDevice;
28
31
  import * as config from "./config";
29
32
  import * as device from "./device";
30
33
  import * as org from "./org";
package/index.js CHANGED
@@ -2,7 +2,7 @@
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.types = exports.site = exports.org = exports.device = exports.config = exports.Provider = exports.getSitesOutput = exports.getSites = exports.getConstWebhooksOutput = exports.getConstWebhooks = exports.getConstTrafficTypesOutput = exports.getConstTrafficTypes = exports.getConstCountriesOutput = exports.getConstCountries = exports.getConstApplicationsOutput = exports.getConstApplications = exports.getConstAppSubCategoriesOutput = exports.getConstAppSubCategories = exports.getConstAppCategoriesOutput = exports.getConstAppCategories = exports.getConstAlarmsOutput = exports.getConstAlarms = void 0;
5
+ exports.types = exports.site = exports.org = exports.device = exports.config = exports.UpgradeDevice = exports.Provider = exports.getSitesOutput = exports.getSites = exports.getConstWebhooksOutput = exports.getConstWebhooks = exports.getConstTrafficTypesOutput = exports.getConstTrafficTypes = exports.getConstCountriesOutput = exports.getConstCountries = exports.getConstApplicationsOutput = exports.getConstApplications = exports.getConstAppSubCategoriesOutput = exports.getConstAppSubCategories = exports.getConstAppCategoriesOutput = exports.getConstAppCategories = exports.getConstAlarmsOutput = exports.getConstAlarms = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  exports.getConstAlarms = null;
@@ -31,6 +31,8 @@ exports.getSitesOutput = null;
31
31
  utilities.lazyLoad(exports, ["getSites", "getSitesOutput"], () => require("./getSites"));
32
32
  exports.Provider = null;
33
33
  utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
34
+ exports.UpgradeDevice = null;
35
+ utilities.lazyLoad(exports, ["UpgradeDevice"], () => require("./upgradeDevice"));
34
36
  // Export sub-modules:
35
37
  const config = require("./config");
36
38
  exports.config = config;
@@ -42,6 +44,18 @@ const site = require("./site");
42
44
  exports.site = site;
43
45
  const types = require("./types");
44
46
  exports.types = types;
47
+ const _module = {
48
+ version: utilities.getVersion(),
49
+ construct: (name, type, urn) => {
50
+ switch (type) {
51
+ case "junipermist:index/upgradeDevice:UpgradeDevice":
52
+ return new exports.UpgradeDevice(name, undefined, { urn });
53
+ default:
54
+ throw new Error(`unknown resource type ${type}`);
55
+ }
56
+ },
57
+ };
58
+ pulumi.runtime.registerResourceModule("junipermist", "index/upgradeDevice", _module);
45
59
  pulumi.runtime.registerResourcePackage("junipermist", {
46
60
  version: utilities.getVersion(),
47
61
  constructProvider: (name, type, urn) => {
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAI5B,QAAA,cAAc,GAAqD,IAAW,CAAC;AAC/E,QAAA,oBAAoB,GAA2D,IAAW,CAAC;AACxG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,gBAAgB,EAAC,sBAAsB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAG7F,QAAA,qBAAqB,GAAmE,IAAW,CAAC;AACpG,QAAA,2BAA2B,GAAyE,IAAW,CAAC;AAC7H,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,uBAAuB,EAAC,6BAA6B,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,yBAAyB,CAAC,CAAC,CAAC;AAGlH,QAAA,wBAAwB,GAAyE,IAAW,CAAC;AAC7G,QAAA,8BAA8B,GAA+E,IAAW,CAAC;AACtI,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,0BAA0B,EAAC,gCAAgC,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,4BAA4B,CAAC,CAAC,CAAC;AAG3H,QAAA,oBAAoB,GAAiE,IAAW,CAAC;AACjG,QAAA,0BAA0B,GAAuE,IAAW,CAAC;AAC1H,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,sBAAsB,EAAC,4BAA4B,CAAC,EAAE,GAAG,EAAE,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"0.2.0",
3
+ "version": "0.2.2",
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.2.0",
28
+ "version": "0.2.2",
29
29
  "server": "github://api.github.com/pulumi/pulumi-junipermist"
30
30
  }
31
31
  }
package/types/input.d.ts CHANGED
@@ -1,5 +1,15 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "../types/input";
3
+ export interface UpgradeDeviceFwupdate {
4
+ progress?: pulumi.Input<number>;
5
+ /**
6
+ * enum: `inprogress`, `failed`, `upgraded`
7
+ */
8
+ status?: pulumi.Input<string>;
9
+ statusId?: pulumi.Input<number>;
10
+ timestamp?: pulumi.Input<number>;
11
+ willRetry?: pulumi.Input<boolean>;
12
+ }
3
13
  export declare namespace device {
4
14
  interface ApAeroscout {
5
15
  /**
@@ -8305,7 +8315,7 @@ Please update your configurations.
8305
8315
  * | `mxedgeAdmin` | `admin` | can view and manage Mist edges and Mist tunnels |
8306
8316
  * | `lobbyAdmin` | `admin` | full access to Org and Site Pre-shared keys |
8307
8317
  */
8308
- views?: pulumi.Input<string>;
8318
+ views?: pulumi.Input<pulumi.Input<string>[]>;
8309
8319
  }
8310
8320
  interface VpnPaths {
8311
8321
  /**
package/types/output.d.ts CHANGED
@@ -161,6 +161,16 @@ export interface GetSitesSiteLatlng {
161
161
  lat: number;
162
162
  lng: number;
163
163
  }
164
+ export interface UpgradeDeviceFwupdate {
165
+ progress: number;
166
+ /**
167
+ * enum: `inprogress`, `failed`, `upgraded`
168
+ */
169
+ status: string;
170
+ statusId: number;
171
+ timestamp: number;
172
+ willRetry: boolean;
173
+ }
164
174
  export declare namespace device {
165
175
  interface ApAeroscout {
166
176
  /**
@@ -3381,6 +3391,20 @@ export declare namespace device {
3381
3391
  configType: string;
3382
3392
  errMissingDevIdFpc: boolean;
3383
3393
  }
3394
+ interface GetVersionsDeviceVersion {
3395
+ /**
3396
+ * Device model (as seen in the device stats)
3397
+ */
3398
+ model: string;
3399
+ /**
3400
+ * Annotation, stable / beta / alpha. Or it can be empty or nothing which is likely a dev build
3401
+ */
3402
+ tag: string;
3403
+ /**
3404
+ * Firmware version
3405
+ */
3406
+ version: string;
3407
+ }
3384
3408
  interface SwitchAclPolicy {
3385
3409
  /**
3386
3410
  * ACL Policy Actions:
@@ -8403,7 +8427,7 @@ export declare namespace org {
8403
8427
  }
8404
8428
  interface GetSsoRolesOrgSsoRole {
8405
8429
  /**
8406
- * when the object has been created, in epoch
8430
+ * When the object has been created, in epoch
8407
8431
  */
8408
8432
  createdTime: number;
8409
8433
  /**
@@ -8411,7 +8435,7 @@ export declare namespace org {
8411
8435
  */
8412
8436
  id: string;
8413
8437
  /**
8414
- * when the object has been modified for the last time, in epoch
8438
+ * When the object has been modified for the last time, in epoch
8415
8439
  */
8416
8440
  modifiedTime: number;
8417
8441
  name: string;
@@ -8428,11 +8452,11 @@ export declare namespace org {
8428
8452
  */
8429
8453
  scope: string;
8430
8454
  /**
8431
- * if `scope`==`site`
8455
+ * If `scope`==`site`
8432
8456
  */
8433
8457
  siteId: string;
8434
8458
  /**
8435
- * if `scope`==`sitegroup`
8459
+ * If `scope`==`sitegroup`
8436
8460
  */
8437
8461
  sitegroupId: string;
8438
8462
  /**
@@ -8451,7 +8475,7 @@ export declare namespace org {
8451
8475
  * | `mxedgeAdmin` | `admin` | can view and manage Mist edges and Mist tunnels |
8452
8476
  * | `lobbyAdmin` | `admin` | full access to Org and Site Pre-shared keys |
8453
8477
  */
8454
- views: string;
8478
+ views: string[];
8455
8479
  }
8456
8480
  interface GetVpnsOrgVpn {
8457
8481
  createdTime: number;
@@ -8476,15 +8500,15 @@ export declare namespace org {
8476
8500
  }
8477
8501
  interface GetWebhooksOrgWebhook {
8478
8502
  /**
8479
- * when the object has been created, in epoch
8503
+ * When the object has been created, in epoch
8480
8504
  */
8481
8505
  createdTime: number;
8482
8506
  /**
8483
- * whether webhook is enabled
8507
+ * Whether webhook is enabled
8484
8508
  */
8485
8509
  enabled: boolean;
8486
8510
  /**
8487
- * if `type`=`http-post`, additional custom HTTP headers to add. The headers name and value must be string, total bytes of headers name and value must be less than 1000
8511
+ * If `type`=`http-post`, additional custom HTTP headers to add. The headers name and value must be string, total bytes of headers name and value must be less than 1000
8488
8512
  */
8489
8513
  headers: {
8490
8514
  [key: string]: string;
@@ -8494,19 +8518,19 @@ export declare namespace org {
8494
8518
  */
8495
8519
  id: string;
8496
8520
  /**
8497
- * when the object has been modified for the last time, in epoch
8521
+ * When the object has been modified for the last time, in epoch
8498
8522
  */
8499
8523
  modifiedTime: number;
8500
8524
  /**
8501
- * name of the webhook
8525
+ * Name of the webhook
8502
8526
  */
8503
8527
  name: string;
8504
8528
  /**
8505
- * required when `oauth2GrantType`==`clientCredentials`
8529
+ * Required when `oauth2GrantType`==`clientCredentials`
8506
8530
  */
8507
8531
  oauth2ClientId: string;
8508
8532
  /**
8509
- * required when `oauth2GrantType`==`clientCredentials`
8533
+ * Required when `oauth2GrantType`==`clientCredentials`
8510
8534
  */
8511
8535
  oauth2ClientSecret: string;
8512
8536
  /**
@@ -8514,29 +8538,28 @@ export declare namespace org {
8514
8538
  */
8515
8539
  oauth2GrantType: string;
8516
8540
  /**
8517
- * required when `oauth2GrantType`==`password`
8541
+ * Required when `oauth2GrantType`==`password`
8518
8542
  */
8519
8543
  oauth2Password: string;
8520
8544
  /**
8521
- * required when `type`==`oauth2`, if provided, will be used in the token request
8545
+ * Required when `type`==`oauth2`, if provided, will be used in the token request
8522
8546
  */
8523
8547
  oauth2Scopes: string[];
8524
8548
  /**
8525
- * required when `type`==`oauth2`
8549
+ * Required when `type`==`oauth2`
8526
8550
  */
8527
8551
  oauth2TokenUrl: string;
8528
8552
  /**
8529
- * required when `oauth2GrantType`==`password`
8553
+ * Required when `oauth2GrantType`==`password`
8530
8554
  */
8531
8555
  oauth2Username: string;
8532
8556
  orgId: string;
8533
8557
  /**
8534
- * only if `type`=`http-post`
8558
+ * Only if `type`=`http-post`
8535
8559
  */
8536
8560
  secret: string;
8537
- siteId: string;
8538
8561
  /**
8539
- * required if `type`=`splunk`. If splunkToken is not defined for a type Splunk webhook, it will not send, regardless if the webhook receiver is configured to accept it.'
8562
+ * Required if `type`=`splunk`. If splunkToken is not defined for a type Splunk webhook, it will not send, regardless if the webhook receiver is configured to accept it.'
8540
8563
  */
8541
8564
  splunkToken: string;
8542
8565
  /**
@@ -8549,7 +8572,7 @@ export declare namespace org {
8549
8572
  type: string;
8550
8573
  url: string;
8551
8574
  /**
8552
- * when url uses HTTPS, whether to verify the certificate
8575
+ * When url uses HTTPS, whether to verify the certificate
8553
8576
  */
8554
8577
  verifyCert: boolean;
8555
8578
  }
@@ -11696,7 +11719,7 @@ Please update your configurations.
11696
11719
  * | `mxedgeAdmin` | `admin` | can view and manage Mist edges and Mist tunnels |
11697
11720
  * | `lobbyAdmin` | `admin` | full access to Org and Site Pre-shared keys |
11698
11721
  */
11699
- views?: string;
11722
+ views: string[];
11700
11723
  }
11701
11724
  interface VpnPaths {
11702
11725
  /**
@@ -13263,15 +13286,15 @@ export declare namespace site {
13263
13286
  }
13264
13287
  interface GetWebhooksSiteWebhook {
13265
13288
  /**
13266
- * when the object has been created, in epoch
13289
+ * When the object has been created, in epoch
13267
13290
  */
13268
13291
  createdTime: number;
13269
13292
  /**
13270
- * whether webhook is enabled
13293
+ * Whether webhook is enabled
13271
13294
  */
13272
13295
  enabled: boolean;
13273
13296
  /**
13274
- * if `type`=`http-post`, additional custom HTTP headers to add. The headers name and value must be string, total bytes of headers name and value must be less than 1000
13297
+ * If `type`=`http-post`, additional custom HTTP headers to add. The headers name and value must be string, total bytes of headers name and value must be less than 1000
13275
13298
  */
13276
13299
  headers: {
13277
13300
  [key: string]: string;
@@ -13281,19 +13304,19 @@ export declare namespace site {
13281
13304
  */
13282
13305
  id: string;
13283
13306
  /**
13284
- * when the object has been modified for the last time, in epoch
13307
+ * When the object has been modified for the last time, in epoch
13285
13308
  */
13286
13309
  modifiedTime: number;
13287
13310
  /**
13288
- * name of the webhook
13311
+ * Name of the webhook
13289
13312
  */
13290
13313
  name: string;
13291
13314
  /**
13292
- * required when `oauth2GrantType`==`clientCredentials`
13315
+ * Required when `oauth2GrantType`==`clientCredentials`
13293
13316
  */
13294
13317
  oauth2ClientId: string;
13295
13318
  /**
13296
- * required when `oauth2GrantType`==`clientCredentials`
13319
+ * Required when `oauth2GrantType`==`clientCredentials`
13297
13320
  */
13298
13321
  oauth2ClientSecret: string;
13299
13322
  /**
@@ -13301,29 +13324,29 @@ export declare namespace site {
13301
13324
  */
13302
13325
  oauth2GrantType: string;
13303
13326
  /**
13304
- * required when `oauth2GrantType`==`password`
13327
+ * Required when `oauth2GrantType`==`password`
13305
13328
  */
13306
13329
  oauth2Password: string;
13307
13330
  /**
13308
- * required when `type`==`oauth2`, if provided, will be used in the token request
13331
+ * Required when `type`==`oauth2`, if provided, will be used in the token request
13309
13332
  */
13310
13333
  oauth2Scopes: string[];
13311
13334
  /**
13312
- * required when `type`==`oauth2`
13335
+ * Required when `type`==`oauth2`
13313
13336
  */
13314
13337
  oauth2TokenUrl: string;
13315
13338
  /**
13316
- * required when `oauth2GrantType`==`password`
13339
+ * Required when `oauth2GrantType`==`password`
13317
13340
  */
13318
13341
  oauth2Username: string;
13319
13342
  orgId: string;
13320
13343
  /**
13321
- * only if `type`=`http-post`
13344
+ * Only if `type`=`http-post`
13322
13345
  */
13323
13346
  secret: string;
13324
13347
  siteId: string;
13325
13348
  /**
13326
- * required if `type`=`splunk`. If splunkToken is not defined for a type Splunk webhook, it will not send, regardless if the webhook receiver is configured to accept it.'
13349
+ * Required if `type`=`splunk`. If splunkToken is not defined for a type Splunk webhook, it will not send, regardless if the webhook receiver is configured to accept it.'
13327
13350
  */
13328
13351
  splunkToken: string;
13329
13352
  /**
@@ -13336,7 +13359,7 @@ export declare namespace site {
13336
13359
  type: string;
13337
13360
  url: string;
13338
13361
  /**
13339
- * when url uses HTTPS, whether to verify the certificate
13362
+ * When url uses HTTPS, whether to verify the certificate
13340
13363
  */
13341
13364
  verifyCert: boolean;
13342
13365
  }
@@ -0,0 +1,208 @@
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 can be used to upgrade the frimware of a single device (Wi-Fi Access Points, Switches and SRX/SSR Gateways).
6
+ *
7
+ * The resource will send the upgrade command to Mist, which will take care of deploying the new firmware version to the device, and reboot it if required.
8
+ *
9
+ * The time required to upgrade a device depends on the type of device and its hardware. By default, the resource will track the upgrade process and only return the result once the device is upgraded and rebooted (unless `reboot`==`false` or `rebootAt` is set).\
10
+ * If required it is possible to run the upgrade in async mode (attribute `sync`=`false`). In this case, the resource will only trigger the upgrade and return the Mist response, but will not track the upgrade progress.
11
+ *
12
+ * The list of available firmware versions can be retrieved with the `junipermist.device.getVersions` data source.
13
+ *
14
+ * ## Example Usage
15
+ *
16
+ * ```typescript
17
+ * import * as pulumi from "@pulumi/pulumi";
18
+ * import * as junipermist from "@pulumi/juniper-mist";
19
+ *
20
+ * const apUpgrade = new junipermist.UpgradeDevice("ap_upgrade", {
21
+ * siteId: terraformTest.id,
22
+ * deviceId: apOne.id,
23
+ * targetVersion: "0.14.29543",
24
+ * });
25
+ * const switchUpgrade = new junipermist.UpgradeDevice("switch_upgrade", {
26
+ * siteId: terraformTest.id,
27
+ * deviceId: switchOne.id,
28
+ * targetVersion: "24.2R1-S1.10",
29
+ * reboot: true,
30
+ * syncUpgradeTimeout: 3600,
31
+ * });
32
+ * ```
33
+ */
34
+ export declare class UpgradeDevice extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing UpgradeDevice 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?: UpgradeDeviceState, opts?: pulumi.CustomResourceOptions): UpgradeDevice;
45
+ /**
46
+ * Returns true if the given object is an instance of UpgradeDevice. 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 UpgradeDevice;
50
+ readonly deviceId: pulumi.Output<string>;
51
+ /**
52
+ * current device firmware version
53
+ */
54
+ readonly deviceVersion: pulumi.Output<string>;
55
+ readonly fwupdate: pulumi.Output<outputs.UpgradeDeviceFwupdate>;
56
+ /**
57
+ * For Switches and Gateways only (APs are automatically rebooted). Reboot device immediately after upgrade is completed
58
+ */
59
+ readonly reboot: pulumi.Output<boolean>;
60
+ /**
61
+ * For Switches and Gateways only and if `reboot`==`true`. Reboot start time in epoch seconds, default is `startTime`
62
+ */
63
+ readonly rebootAt: pulumi.Output<number | undefined>;
64
+ readonly siteId: pulumi.Output<string>;
65
+ /**
66
+ * For Junos devices only. Perform recovery snapshot after device is rebooted
67
+ */
68
+ readonly snapshot: pulumi.Output<boolean>;
69
+ /**
70
+ * Firmware download start time in epoch
71
+ */
72
+ readonly startTime: pulumi.Output<number | undefined>;
73
+ /**
74
+ * enum: `error`, `inprogress`, `scheduled`, `starting`, `success`
75
+ */
76
+ readonly status: pulumi.Output<string>;
77
+ /**
78
+ * if set to `false`, the provider will just trigger the upgrade and not wait for the end of the upgrade process. Default is `true`
79
+ */
80
+ readonly syncUpgrade: pulumi.Output<boolean>;
81
+ /**
82
+ * if set to `syncUpgrade`==`true`, how long to wait between each refresh of the upgrade status, in seconds. Default is 30, minimum is 15
83
+ */
84
+ readonly syncUpgradeRefreshInterval: pulumi.Output<number>;
85
+ /**
86
+ * if set to `syncUpgrade`==`true`, how long to wait for the upgrade to start before raising an error, in seconds. Default is 60, minimum is 60
87
+ */
88
+ readonly syncUpgradeStartTimeout: pulumi.Output<number>;
89
+ /**
90
+ * if set to `syncUpgrade`==`true`, how long to wait for the upgrade to end before raising an error, in seconds. Default is 1800
91
+ */
92
+ readonly syncUpgradeTimeout: pulumi.Output<number>;
93
+ /**
94
+ * firmware version to deploy to the device. Use the `junipermist.device.getVersions` datasource to get the list of available firmware versions
95
+ */
96
+ readonly targetVersion: pulumi.Output<string>;
97
+ /**
98
+ * Timestamp
99
+ */
100
+ readonly timestamp: pulumi.Output<number>;
101
+ /**
102
+ * Create a UpgradeDevice 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: UpgradeDeviceArgs, opts?: pulumi.CustomResourceOptions);
109
+ }
110
+ /**
111
+ * Input properties used for looking up and filtering UpgradeDevice resources.
112
+ */
113
+ export interface UpgradeDeviceState {
114
+ deviceId?: pulumi.Input<string>;
115
+ /**
116
+ * current device firmware version
117
+ */
118
+ deviceVersion?: pulumi.Input<string>;
119
+ fwupdate?: pulumi.Input<inputs.UpgradeDeviceFwupdate>;
120
+ /**
121
+ * For Switches and Gateways only (APs are automatically rebooted). Reboot device immediately after upgrade is completed
122
+ */
123
+ reboot?: pulumi.Input<boolean>;
124
+ /**
125
+ * For Switches and Gateways only and if `reboot`==`true`. Reboot start time in epoch seconds, default is `startTime`
126
+ */
127
+ rebootAt?: pulumi.Input<number>;
128
+ siteId?: pulumi.Input<string>;
129
+ /**
130
+ * For Junos devices only. Perform recovery snapshot after device is rebooted
131
+ */
132
+ snapshot?: pulumi.Input<boolean>;
133
+ /**
134
+ * Firmware download start time in epoch
135
+ */
136
+ startTime?: pulumi.Input<number>;
137
+ /**
138
+ * enum: `error`, `inprogress`, `scheduled`, `starting`, `success`
139
+ */
140
+ status?: pulumi.Input<string>;
141
+ /**
142
+ * if set to `false`, the provider will just trigger the upgrade and not wait for the end of the upgrade process. Default is `true`
143
+ */
144
+ syncUpgrade?: pulumi.Input<boolean>;
145
+ /**
146
+ * if set to `syncUpgrade`==`true`, how long to wait between each refresh of the upgrade status, in seconds. Default is 30, minimum is 15
147
+ */
148
+ syncUpgradeRefreshInterval?: pulumi.Input<number>;
149
+ /**
150
+ * if set to `syncUpgrade`==`true`, how long to wait for the upgrade to start before raising an error, in seconds. Default is 60, minimum is 60
151
+ */
152
+ syncUpgradeStartTimeout?: pulumi.Input<number>;
153
+ /**
154
+ * if set to `syncUpgrade`==`true`, how long to wait for the upgrade to end before raising an error, in seconds. Default is 1800
155
+ */
156
+ syncUpgradeTimeout?: pulumi.Input<number>;
157
+ /**
158
+ * firmware version to deploy to the device. Use the `junipermist.device.getVersions` datasource to get the list of available firmware versions
159
+ */
160
+ targetVersion?: pulumi.Input<string>;
161
+ /**
162
+ * Timestamp
163
+ */
164
+ timestamp?: pulumi.Input<number>;
165
+ }
166
+ /**
167
+ * The set of arguments for constructing a UpgradeDevice resource.
168
+ */
169
+ export interface UpgradeDeviceArgs {
170
+ deviceId: pulumi.Input<string>;
171
+ /**
172
+ * For Switches and Gateways only (APs are automatically rebooted). Reboot device immediately after upgrade is completed
173
+ */
174
+ reboot?: pulumi.Input<boolean>;
175
+ /**
176
+ * For Switches and Gateways only and if `reboot`==`true`. Reboot start time in epoch seconds, default is `startTime`
177
+ */
178
+ rebootAt?: pulumi.Input<number>;
179
+ siteId: pulumi.Input<string>;
180
+ /**
181
+ * For Junos devices only. Perform recovery snapshot after device is rebooted
182
+ */
183
+ snapshot?: pulumi.Input<boolean>;
184
+ /**
185
+ * Firmware download start time in epoch
186
+ */
187
+ startTime?: pulumi.Input<number>;
188
+ /**
189
+ * if set to `false`, the provider will just trigger the upgrade and not wait for the end of the upgrade process. Default is `true`
190
+ */
191
+ syncUpgrade?: pulumi.Input<boolean>;
192
+ /**
193
+ * if set to `syncUpgrade`==`true`, how long to wait between each refresh of the upgrade status, in seconds. Default is 30, minimum is 15
194
+ */
195
+ syncUpgradeRefreshInterval?: pulumi.Input<number>;
196
+ /**
197
+ * if set to `syncUpgrade`==`true`, how long to wait for the upgrade to start before raising an error, in seconds. Default is 60, minimum is 60
198
+ */
199
+ syncUpgradeStartTimeout?: pulumi.Input<number>;
200
+ /**
201
+ * if set to `syncUpgrade`==`true`, how long to wait for the upgrade to end before raising an error, in seconds. Default is 1800
202
+ */
203
+ syncUpgradeTimeout?: pulumi.Input<number>;
204
+ /**
205
+ * firmware version to deploy to the device. Use the `junipermist.device.getVersions` datasource to get the list of available firmware versions
206
+ */
207
+ targetVersion: pulumi.Input<string>;
208
+ }
@@ -0,0 +1,116 @@
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.UpgradeDevice = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * This resource can be used to upgrade the frimware of a single device (Wi-Fi Access Points, Switches and SRX/SSR Gateways).
10
+ *
11
+ * The resource will send the upgrade command to Mist, which will take care of deploying the new firmware version to the device, and reboot it if required.
12
+ *
13
+ * The time required to upgrade a device depends on the type of device and its hardware. By default, the resource will track the upgrade process and only return the result once the device is upgraded and rebooted (unless `reboot`==`false` or `rebootAt` is set).\
14
+ * If required it is possible to run the upgrade in async mode (attribute `sync`=`false`). In this case, the resource will only trigger the upgrade and return the Mist response, but will not track the upgrade progress.
15
+ *
16
+ * The list of available firmware versions can be retrieved with the `junipermist.device.getVersions` data source.
17
+ *
18
+ * ## Example Usage
19
+ *
20
+ * ```typescript
21
+ * import * as pulumi from "@pulumi/pulumi";
22
+ * import * as junipermist from "@pulumi/juniper-mist";
23
+ *
24
+ * const apUpgrade = new junipermist.UpgradeDevice("ap_upgrade", {
25
+ * siteId: terraformTest.id,
26
+ * deviceId: apOne.id,
27
+ * targetVersion: "0.14.29543",
28
+ * });
29
+ * const switchUpgrade = new junipermist.UpgradeDevice("switch_upgrade", {
30
+ * siteId: terraformTest.id,
31
+ * deviceId: switchOne.id,
32
+ * targetVersion: "24.2R1-S1.10",
33
+ * reboot: true,
34
+ * syncUpgradeTimeout: 3600,
35
+ * });
36
+ * ```
37
+ */
38
+ class UpgradeDevice extends pulumi.CustomResource {
39
+ /**
40
+ * Get an existing UpgradeDevice 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 UpgradeDevice(name, state, Object.assign(Object.assign({}, opts), { id: id }));
50
+ }
51
+ /**
52
+ * Returns true if the given object is an instance of UpgradeDevice. 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'] === UpgradeDevice.__pulumiType;
60
+ }
61
+ constructor(name, argsOrState, opts) {
62
+ let resourceInputs = {};
63
+ opts = opts || {};
64
+ if (opts.id) {
65
+ const state = argsOrState;
66
+ resourceInputs["deviceId"] = state ? state.deviceId : undefined;
67
+ resourceInputs["deviceVersion"] = state ? state.deviceVersion : undefined;
68
+ resourceInputs["fwupdate"] = state ? state.fwupdate : undefined;
69
+ resourceInputs["reboot"] = state ? state.reboot : undefined;
70
+ resourceInputs["rebootAt"] = state ? state.rebootAt : undefined;
71
+ resourceInputs["siteId"] = state ? state.siteId : undefined;
72
+ resourceInputs["snapshot"] = state ? state.snapshot : undefined;
73
+ resourceInputs["startTime"] = state ? state.startTime : undefined;
74
+ resourceInputs["status"] = state ? state.status : undefined;
75
+ resourceInputs["syncUpgrade"] = state ? state.syncUpgrade : undefined;
76
+ resourceInputs["syncUpgradeRefreshInterval"] = state ? state.syncUpgradeRefreshInterval : undefined;
77
+ resourceInputs["syncUpgradeStartTimeout"] = state ? state.syncUpgradeStartTimeout : undefined;
78
+ resourceInputs["syncUpgradeTimeout"] = state ? state.syncUpgradeTimeout : undefined;
79
+ resourceInputs["targetVersion"] = state ? state.targetVersion : undefined;
80
+ resourceInputs["timestamp"] = state ? state.timestamp : undefined;
81
+ }
82
+ else {
83
+ const args = argsOrState;
84
+ if ((!args || args.deviceId === undefined) && !opts.urn) {
85
+ throw new Error("Missing required property 'deviceId'");
86
+ }
87
+ if ((!args || args.siteId === undefined) && !opts.urn) {
88
+ throw new Error("Missing required property 'siteId'");
89
+ }
90
+ if ((!args || args.targetVersion === undefined) && !opts.urn) {
91
+ throw new Error("Missing required property 'targetVersion'");
92
+ }
93
+ resourceInputs["deviceId"] = args ? args.deviceId : undefined;
94
+ resourceInputs["reboot"] = args ? args.reboot : undefined;
95
+ resourceInputs["rebootAt"] = args ? args.rebootAt : undefined;
96
+ resourceInputs["siteId"] = args ? args.siteId : undefined;
97
+ resourceInputs["snapshot"] = args ? args.snapshot : undefined;
98
+ resourceInputs["startTime"] = args ? args.startTime : undefined;
99
+ resourceInputs["syncUpgrade"] = args ? args.syncUpgrade : undefined;
100
+ resourceInputs["syncUpgradeRefreshInterval"] = args ? args.syncUpgradeRefreshInterval : undefined;
101
+ resourceInputs["syncUpgradeStartTimeout"] = args ? args.syncUpgradeStartTimeout : undefined;
102
+ resourceInputs["syncUpgradeTimeout"] = args ? args.syncUpgradeTimeout : undefined;
103
+ resourceInputs["targetVersion"] = args ? args.targetVersion : undefined;
104
+ resourceInputs["deviceVersion"] = undefined /*out*/;
105
+ resourceInputs["fwupdate"] = undefined /*out*/;
106
+ resourceInputs["status"] = undefined /*out*/;
107
+ resourceInputs["timestamp"] = undefined /*out*/;
108
+ }
109
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
110
+ super(UpgradeDevice.__pulumiType, name, resourceInputs, opts);
111
+ }
112
+ }
113
+ exports.UpgradeDevice = UpgradeDevice;
114
+ /** @internal */
115
+ UpgradeDevice.__pulumiType = 'junipermist:index/upgradeDevice:UpgradeDevice';
116
+ //# sourceMappingURL=upgradeDevice.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upgradeDevice.js","sourceRoot":"","sources":["../upgradeDevice.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IA8DD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6C,CAAC;YAC5D,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CA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