@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
|
@@ -0,0 +1,85 @@
|
|
|
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.GatewayCluster = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource manages the Gateway Clusters.It can be used to form or unset a cluster with two Gateways assigned to the same site.Please check the Juniper Documentation first to validate the cabling between the Gateways
|
|
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 clusterOne = new junipermist.device.GatewayCluster("cluster_one", {
|
|
18
|
+
* siteId: terraformSite2.id,
|
|
19
|
+
* deviceId: "00000000-0000-0000-1000-4c96143de700",
|
|
20
|
+
* nodes: [
|
|
21
|
+
* {
|
|
22
|
+
* mac: "4c961000000",
|
|
23
|
+
* },
|
|
24
|
+
* {
|
|
25
|
+
* mac: "4c961000001",
|
|
26
|
+
* },
|
|
27
|
+
* ],
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
class GatewayCluster extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing GatewayCluster resource's state with the given name, ID, and optional extra
|
|
34
|
+
* properties used to qualify the lookup.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resulting resource.
|
|
37
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
38
|
+
* @param state Any extra arguments used during the lookup.
|
|
39
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
40
|
+
*/
|
|
41
|
+
static get(name, id, state, opts) {
|
|
42
|
+
return new GatewayCluster(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Returns true if the given object is an instance of GatewayCluster. This is designed to work even
|
|
46
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
47
|
+
*/
|
|
48
|
+
static isInstance(obj) {
|
|
49
|
+
if (obj === undefined || obj === null) {
|
|
50
|
+
return false;
|
|
51
|
+
}
|
|
52
|
+
return obj['__pulumiType'] === GatewayCluster.__pulumiType;
|
|
53
|
+
}
|
|
54
|
+
constructor(name, argsOrState, opts) {
|
|
55
|
+
let resourceInputs = {};
|
|
56
|
+
opts = opts || {};
|
|
57
|
+
if (opts.id) {
|
|
58
|
+
const state = argsOrState;
|
|
59
|
+
resourceInputs["deviceId"] = state ? state.deviceId : undefined;
|
|
60
|
+
resourceInputs["nodes"] = state ? state.nodes : undefined;
|
|
61
|
+
resourceInputs["siteId"] = state ? state.siteId : undefined;
|
|
62
|
+
}
|
|
63
|
+
else {
|
|
64
|
+
const args = argsOrState;
|
|
65
|
+
if ((!args || args.deviceId === undefined) && !opts.urn) {
|
|
66
|
+
throw new Error("Missing required property 'deviceId'");
|
|
67
|
+
}
|
|
68
|
+
if ((!args || args.nodes === undefined) && !opts.urn) {
|
|
69
|
+
throw new Error("Missing required property 'nodes'");
|
|
70
|
+
}
|
|
71
|
+
if ((!args || args.siteId === undefined) && !opts.urn) {
|
|
72
|
+
throw new Error("Missing required property 'siteId'");
|
|
73
|
+
}
|
|
74
|
+
resourceInputs["deviceId"] = args ? args.deviceId : undefined;
|
|
75
|
+
resourceInputs["nodes"] = args ? args.nodes : undefined;
|
|
76
|
+
resourceInputs["siteId"] = args ? args.siteId : undefined;
|
|
77
|
+
}
|
|
78
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
79
|
+
super(GatewayCluster.__pulumiType, name, resourceInputs, opts);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.GatewayCluster = GatewayCluster;
|
|
83
|
+
/** @internal */
|
|
84
|
+
GatewayCluster.__pulumiType = 'junipermist:device/gatewayCluster:GatewayCluster';
|
|
85
|
+
//# sourceMappingURL=gatewayCluster.js.map
|
|
@@ -0,0 +1 @@
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AC3D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACrD,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAClD,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACnD,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAjEL,wCAkEC;AApDG,gBAAgB;AACO,2BAAY,GAAG,kDAAkD,CAAC"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* This data source provides the list of Wireless Access Points with their statistics.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as junipermist from "@pulumi/junipermist";
|
|
11
|
+
*
|
|
12
|
+
* const apStats = junipermist.device.getApStats({
|
|
13
|
+
* orgId: "15fca2ac-b1a6-47cc-9953-cc6906281550",
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare function getApStats(args: GetApStatsArgs, opts?: pulumi.InvokeOptions): Promise<GetApStatsResult>;
|
|
18
|
+
/**
|
|
19
|
+
* A collection of arguments for invoking getApStats.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetApStatsArgs {
|
|
22
|
+
/**
|
|
23
|
+
* duration like 7d, 2w
|
|
24
|
+
*/
|
|
25
|
+
duration?: string;
|
|
26
|
+
/**
|
|
27
|
+
* end datetime, can be epoch or relative time like -1d, -2h; now if not specified
|
|
28
|
+
*/
|
|
29
|
+
end?: number;
|
|
30
|
+
mac?: string;
|
|
31
|
+
orgId: string;
|
|
32
|
+
siteId?: string;
|
|
33
|
+
/**
|
|
34
|
+
* start datetime, can be epoch or relative time like -1d, -1w; -1d if not specified
|
|
35
|
+
*/
|
|
36
|
+
start?: number;
|
|
37
|
+
status?: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* A collection of values returned by getApStats.
|
|
41
|
+
*/
|
|
42
|
+
export interface GetApStatsResult {
|
|
43
|
+
readonly deviceApStats: outputs.device.GetApStatsDeviceApStat[];
|
|
44
|
+
/**
|
|
45
|
+
* duration like 7d, 2w
|
|
46
|
+
*/
|
|
47
|
+
readonly duration?: string;
|
|
48
|
+
/**
|
|
49
|
+
* end datetime, can be epoch or relative time like -1d, -2h; now if not specified
|
|
50
|
+
*/
|
|
51
|
+
readonly end?: number;
|
|
52
|
+
/**
|
|
53
|
+
* The provider-assigned unique ID for this managed resource.
|
|
54
|
+
*/
|
|
55
|
+
readonly id: string;
|
|
56
|
+
readonly mac?: string;
|
|
57
|
+
readonly orgId: string;
|
|
58
|
+
readonly siteId?: string;
|
|
59
|
+
/**
|
|
60
|
+
* start datetime, can be epoch or relative time like -1d, -1w; -1d if not specified
|
|
61
|
+
*/
|
|
62
|
+
readonly start?: number;
|
|
63
|
+
readonly status?: string;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* This data source provides the list of Wireless Access Points with their statistics.
|
|
67
|
+
*
|
|
68
|
+
* ## Example Usage
|
|
69
|
+
*
|
|
70
|
+
* ```typescript
|
|
71
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
72
|
+
* import * as junipermist from "@pulumi/junipermist";
|
|
73
|
+
*
|
|
74
|
+
* const apStats = junipermist.device.getApStats({
|
|
75
|
+
* orgId: "15fca2ac-b1a6-47cc-9953-cc6906281550",
|
|
76
|
+
* });
|
|
77
|
+
* ```
|
|
78
|
+
*/
|
|
79
|
+
export declare function getApStatsOutput(args: GetApStatsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetApStatsResult>;
|
|
80
|
+
/**
|
|
81
|
+
* A collection of arguments for invoking getApStats.
|
|
82
|
+
*/
|
|
83
|
+
export interface GetApStatsOutputArgs {
|
|
84
|
+
/**
|
|
85
|
+
* duration like 7d, 2w
|
|
86
|
+
*/
|
|
87
|
+
duration?: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* end datetime, can be epoch or relative time like -1d, -2h; now if not specified
|
|
90
|
+
*/
|
|
91
|
+
end?: pulumi.Input<number>;
|
|
92
|
+
mac?: pulumi.Input<string>;
|
|
93
|
+
orgId: pulumi.Input<string>;
|
|
94
|
+
siteId?: pulumi.Input<string>;
|
|
95
|
+
/**
|
|
96
|
+
* start datetime, can be epoch or relative time like -1d, -1w; -1d if not specified
|
|
97
|
+
*/
|
|
98
|
+
start?: pulumi.Input<number>;
|
|
99
|
+
status?: pulumi.Input<string>;
|
|
100
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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.getApStatsOutput = exports.getApStats = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source provides the list of Wireless Access Points with their statistics.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as junipermist from "@pulumi/junipermist";
|
|
16
|
+
*
|
|
17
|
+
* const apStats = junipermist.device.getApStats({
|
|
18
|
+
* orgId: "15fca2ac-b1a6-47cc-9953-cc6906281550",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
function getApStats(args, opts) {
|
|
23
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
24
|
+
return pulumi.runtime.invoke("junipermist:device/getApStats:getApStats", {
|
|
25
|
+
"duration": args.duration,
|
|
26
|
+
"end": args.end,
|
|
27
|
+
"mac": args.mac,
|
|
28
|
+
"orgId": args.orgId,
|
|
29
|
+
"siteId": args.siteId,
|
|
30
|
+
"start": args.start,
|
|
31
|
+
"status": args.status,
|
|
32
|
+
}, opts);
|
|
33
|
+
}
|
|
34
|
+
exports.getApStats = getApStats;
|
|
35
|
+
/**
|
|
36
|
+
* This data source provides the list of Wireless Access Points with their statistics.
|
|
37
|
+
*
|
|
38
|
+
* ## Example Usage
|
|
39
|
+
*
|
|
40
|
+
* ```typescript
|
|
41
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
42
|
+
* import * as junipermist from "@pulumi/junipermist";
|
|
43
|
+
*
|
|
44
|
+
* const apStats = junipermist.device.getApStats({
|
|
45
|
+
* orgId: "15fca2ac-b1a6-47cc-9953-cc6906281550",
|
|
46
|
+
* });
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
function getApStatsOutput(args, opts) {
|
|
50
|
+
return pulumi.output(args).apply((a) => getApStats(a, opts));
|
|
51
|
+
}
|
|
52
|
+
exports.getApStatsOutput = getApStatsOutput;
|
|
53
|
+
//# sourceMappingURL=getApStats.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getApStats.js","sourceRoot":"","sources":["../../device/getApStats.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IAExE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,gCAYC;AAkDD;;;;;;;;;;;;;GAaG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* This data source provides the list of Gateways with their statistics.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as junipermist from "@pulumi/junipermist";
|
|
11
|
+
*
|
|
12
|
+
* const gatewayStats = junipermist.device.getGatewayStats({
|
|
13
|
+
* orgId: "15fca2ac-b1a6-47cc-9953-cc6906281550",
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare function getGatewayStats(args: GetGatewayStatsArgs, opts?: pulumi.InvokeOptions): Promise<GetGatewayStatsResult>;
|
|
18
|
+
/**
|
|
19
|
+
* A collection of arguments for invoking getGatewayStats.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetGatewayStatsArgs {
|
|
22
|
+
/**
|
|
23
|
+
* duration like 7d, 2w
|
|
24
|
+
*/
|
|
25
|
+
duration?: string;
|
|
26
|
+
/**
|
|
27
|
+
* end datetime, can be epoch or relative time like -1d, -2h; now if not specified
|
|
28
|
+
*/
|
|
29
|
+
end?: number;
|
|
30
|
+
mac?: string;
|
|
31
|
+
orgId: string;
|
|
32
|
+
siteId?: string;
|
|
33
|
+
/**
|
|
34
|
+
* start datetime, can be epoch or relative time like -1d, -1w; -1d if not specified
|
|
35
|
+
*/
|
|
36
|
+
start?: number;
|
|
37
|
+
status?: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* A collection of values returned by getGatewayStats.
|
|
41
|
+
*/
|
|
42
|
+
export interface GetGatewayStatsResult {
|
|
43
|
+
readonly deviceGatewayStats: outputs.device.GetGatewayStatsDeviceGatewayStat[];
|
|
44
|
+
/**
|
|
45
|
+
* duration like 7d, 2w
|
|
46
|
+
*/
|
|
47
|
+
readonly duration?: string;
|
|
48
|
+
/**
|
|
49
|
+
* end datetime, can be epoch or relative time like -1d, -2h; now if not specified
|
|
50
|
+
*/
|
|
51
|
+
readonly end?: number;
|
|
52
|
+
/**
|
|
53
|
+
* The provider-assigned unique ID for this managed resource.
|
|
54
|
+
*/
|
|
55
|
+
readonly id: string;
|
|
56
|
+
readonly mac?: string;
|
|
57
|
+
readonly orgId: string;
|
|
58
|
+
readonly siteId?: string;
|
|
59
|
+
/**
|
|
60
|
+
* start datetime, can be epoch or relative time like -1d, -1w; -1d if not specified
|
|
61
|
+
*/
|
|
62
|
+
readonly start?: number;
|
|
63
|
+
readonly status?: string;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* This data source provides the list of Gateways with their statistics.
|
|
67
|
+
*
|
|
68
|
+
* ## Example Usage
|
|
69
|
+
*
|
|
70
|
+
* ```typescript
|
|
71
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
72
|
+
* import * as junipermist from "@pulumi/junipermist";
|
|
73
|
+
*
|
|
74
|
+
* const gatewayStats = junipermist.device.getGatewayStats({
|
|
75
|
+
* orgId: "15fca2ac-b1a6-47cc-9953-cc6906281550",
|
|
76
|
+
* });
|
|
77
|
+
* ```
|
|
78
|
+
*/
|
|
79
|
+
export declare function getGatewayStatsOutput(args: GetGatewayStatsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGatewayStatsResult>;
|
|
80
|
+
/**
|
|
81
|
+
* A collection of arguments for invoking getGatewayStats.
|
|
82
|
+
*/
|
|
83
|
+
export interface GetGatewayStatsOutputArgs {
|
|
84
|
+
/**
|
|
85
|
+
* duration like 7d, 2w
|
|
86
|
+
*/
|
|
87
|
+
duration?: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* end datetime, can be epoch or relative time like -1d, -2h; now if not specified
|
|
90
|
+
*/
|
|
91
|
+
end?: pulumi.Input<number>;
|
|
92
|
+
mac?: pulumi.Input<string>;
|
|
93
|
+
orgId: pulumi.Input<string>;
|
|
94
|
+
siteId?: pulumi.Input<string>;
|
|
95
|
+
/**
|
|
96
|
+
* start datetime, can be epoch or relative time like -1d, -1w; -1d if not specified
|
|
97
|
+
*/
|
|
98
|
+
start?: pulumi.Input<number>;
|
|
99
|
+
status?: pulumi.Input<string>;
|
|
100
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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.getGatewayStatsOutput = exports.getGatewayStats = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source provides the list of Gateways with their statistics.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as junipermist from "@pulumi/junipermist";
|
|
16
|
+
*
|
|
17
|
+
* const gatewayStats = junipermist.device.getGatewayStats({
|
|
18
|
+
* orgId: "15fca2ac-b1a6-47cc-9953-cc6906281550",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
function getGatewayStats(args, opts) {
|
|
23
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
24
|
+
return pulumi.runtime.invoke("junipermist:device/getGatewayStats:getGatewayStats", {
|
|
25
|
+
"duration": args.duration,
|
|
26
|
+
"end": args.end,
|
|
27
|
+
"mac": args.mac,
|
|
28
|
+
"orgId": args.orgId,
|
|
29
|
+
"siteId": args.siteId,
|
|
30
|
+
"start": args.start,
|
|
31
|
+
"status": args.status,
|
|
32
|
+
}, opts);
|
|
33
|
+
}
|
|
34
|
+
exports.getGatewayStats = getGatewayStats;
|
|
35
|
+
/**
|
|
36
|
+
* This data source provides the list of Gateways with their statistics.
|
|
37
|
+
*
|
|
38
|
+
* ## Example Usage
|
|
39
|
+
*
|
|
40
|
+
* ```typescript
|
|
41
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
42
|
+
* import * as junipermist from "@pulumi/junipermist";
|
|
43
|
+
*
|
|
44
|
+
* const gatewayStats = junipermist.device.getGatewayStats({
|
|
45
|
+
* orgId: "15fca2ac-b1a6-47cc-9953-cc6906281550",
|
|
46
|
+
* });
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
function getGatewayStatsOutput(args, opts) {
|
|
50
|
+
return pulumi.output(args).apply((a) => getGatewayStats(a, opts));
|
|
51
|
+
}
|
|
52
|
+
exports.getGatewayStatsOutput = getGatewayStatsOutput;
|
|
53
|
+
//# sourceMappingURL=getGatewayStats.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGatewayStats.js","sourceRoot":"","sources":["../../device/getGatewayStats.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAElF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,0CAYC;AAkDD;;;;;;;;;;;;;GAaG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,sDAEC"}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* This data source provides the list of Switches with their statistics.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as junipermist from "@pulumi/junipermist";
|
|
11
|
+
*
|
|
12
|
+
* const switchStats = junipermist.device.getSwitchStats({
|
|
13
|
+
* orgId: "15fca2ac-b1a6-47cc-9953-cc6906281550",
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare function getSwitchStats(args: GetSwitchStatsArgs, opts?: pulumi.InvokeOptions): Promise<GetSwitchStatsResult>;
|
|
18
|
+
/**
|
|
19
|
+
* A collection of arguments for invoking getSwitchStats.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetSwitchStatsArgs {
|
|
22
|
+
/**
|
|
23
|
+
* duration like 7d, 2w
|
|
24
|
+
*/
|
|
25
|
+
duration?: string;
|
|
26
|
+
/**
|
|
27
|
+
* end datetime, can be epoch or relative time like -1d, -2h; now if not specified
|
|
28
|
+
*/
|
|
29
|
+
end?: number;
|
|
30
|
+
/**
|
|
31
|
+
* if `evpnUnused`==`true`, find EVPN eligible switches which don’t belong to any EVPN Topology yet
|
|
32
|
+
*/
|
|
33
|
+
evpnUnused?: string;
|
|
34
|
+
/**
|
|
35
|
+
* EVPN Topology ID
|
|
36
|
+
*/
|
|
37
|
+
evpntopoId?: string;
|
|
38
|
+
mac?: string;
|
|
39
|
+
orgId: string;
|
|
40
|
+
siteId?: string;
|
|
41
|
+
/**
|
|
42
|
+
* start datetime, can be epoch or relative time like -1d, -1w; -1d if not specified
|
|
43
|
+
*/
|
|
44
|
+
start?: number;
|
|
45
|
+
status?: string;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* A collection of values returned by getSwitchStats.
|
|
49
|
+
*/
|
|
50
|
+
export interface GetSwitchStatsResult {
|
|
51
|
+
readonly deviceSwitchStats: outputs.device.GetSwitchStatsDeviceSwitchStat[];
|
|
52
|
+
/**
|
|
53
|
+
* duration like 7d, 2w
|
|
54
|
+
*/
|
|
55
|
+
readonly duration?: string;
|
|
56
|
+
/**
|
|
57
|
+
* end datetime, can be epoch or relative time like -1d, -2h; now if not specified
|
|
58
|
+
*/
|
|
59
|
+
readonly end?: number;
|
|
60
|
+
/**
|
|
61
|
+
* if `evpnUnused`==`true`, find EVPN eligible switches which don’t belong to any EVPN Topology yet
|
|
62
|
+
*/
|
|
63
|
+
readonly evpnUnused?: string;
|
|
64
|
+
/**
|
|
65
|
+
* EVPN Topology ID
|
|
66
|
+
*/
|
|
67
|
+
readonly evpntopoId?: string;
|
|
68
|
+
/**
|
|
69
|
+
* The provider-assigned unique ID for this managed resource.
|
|
70
|
+
*/
|
|
71
|
+
readonly id: string;
|
|
72
|
+
readonly mac?: string;
|
|
73
|
+
readonly orgId: string;
|
|
74
|
+
readonly siteId?: string;
|
|
75
|
+
/**
|
|
76
|
+
* start datetime, can be epoch or relative time like -1d, -1w; -1d if not specified
|
|
77
|
+
*/
|
|
78
|
+
readonly start?: number;
|
|
79
|
+
readonly status?: string;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* This data source provides the list of Switches with their statistics.
|
|
83
|
+
*
|
|
84
|
+
* ## Example Usage
|
|
85
|
+
*
|
|
86
|
+
* ```typescript
|
|
87
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
88
|
+
* import * as junipermist from "@pulumi/junipermist";
|
|
89
|
+
*
|
|
90
|
+
* const switchStats = junipermist.device.getSwitchStats({
|
|
91
|
+
* orgId: "15fca2ac-b1a6-47cc-9953-cc6906281550",
|
|
92
|
+
* });
|
|
93
|
+
* ```
|
|
94
|
+
*/
|
|
95
|
+
export declare function getSwitchStatsOutput(args: GetSwitchStatsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSwitchStatsResult>;
|
|
96
|
+
/**
|
|
97
|
+
* A collection of arguments for invoking getSwitchStats.
|
|
98
|
+
*/
|
|
99
|
+
export interface GetSwitchStatsOutputArgs {
|
|
100
|
+
/**
|
|
101
|
+
* duration like 7d, 2w
|
|
102
|
+
*/
|
|
103
|
+
duration?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* end datetime, can be epoch or relative time like -1d, -2h; now if not specified
|
|
106
|
+
*/
|
|
107
|
+
end?: pulumi.Input<number>;
|
|
108
|
+
/**
|
|
109
|
+
* if `evpnUnused`==`true`, find EVPN eligible switches which don’t belong to any EVPN Topology yet
|
|
110
|
+
*/
|
|
111
|
+
evpnUnused?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* EVPN Topology ID
|
|
114
|
+
*/
|
|
115
|
+
evpntopoId?: pulumi.Input<string>;
|
|
116
|
+
mac?: pulumi.Input<string>;
|
|
117
|
+
orgId: pulumi.Input<string>;
|
|
118
|
+
siteId?: pulumi.Input<string>;
|
|
119
|
+
/**
|
|
120
|
+
* start datetime, can be epoch or relative time like -1d, -1w; -1d if not specified
|
|
121
|
+
*/
|
|
122
|
+
start?: pulumi.Input<number>;
|
|
123
|
+
status?: pulumi.Input<string>;
|
|
124
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
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.getSwitchStatsOutput = exports.getSwitchStats = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source provides the list of Switches with their statistics.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as junipermist from "@pulumi/junipermist";
|
|
16
|
+
*
|
|
17
|
+
* const switchStats = junipermist.device.getSwitchStats({
|
|
18
|
+
* orgId: "15fca2ac-b1a6-47cc-9953-cc6906281550",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
function getSwitchStats(args, opts) {
|
|
23
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
24
|
+
return pulumi.runtime.invoke("junipermist:device/getSwitchStats:getSwitchStats", {
|
|
25
|
+
"duration": args.duration,
|
|
26
|
+
"end": args.end,
|
|
27
|
+
"evpnUnused": args.evpnUnused,
|
|
28
|
+
"evpntopoId": args.evpntopoId,
|
|
29
|
+
"mac": args.mac,
|
|
30
|
+
"orgId": args.orgId,
|
|
31
|
+
"siteId": args.siteId,
|
|
32
|
+
"start": args.start,
|
|
33
|
+
"status": args.status,
|
|
34
|
+
}, opts);
|
|
35
|
+
}
|
|
36
|
+
exports.getSwitchStats = getSwitchStats;
|
|
37
|
+
/**
|
|
38
|
+
* This data source provides the list of Switches with their statistics.
|
|
39
|
+
*
|
|
40
|
+
* ## Example Usage
|
|
41
|
+
*
|
|
42
|
+
* ```typescript
|
|
43
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
44
|
+
* import * as junipermist from "@pulumi/junipermist";
|
|
45
|
+
*
|
|
46
|
+
* const switchStats = junipermist.device.getSwitchStats({
|
|
47
|
+
* orgId: "15fca2ac-b1a6-47cc-9953-cc6906281550",
|
|
48
|
+
* });
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
function getSwitchStatsOutput(args, opts) {
|
|
52
|
+
return pulumi.output(args).apply((a) => getSwitchStats(a, opts));
|
|
53
|
+
}
|
|
54
|
+
exports.getSwitchStatsOutput = getSwitchStatsOutput;
|
|
55
|
+
//# sourceMappingURL=getSwitchStats.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSwitchStats.js","sourceRoot":"","sources":["../../device/getSwitchStats.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAEhF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,wCAcC;AAkED;;;;;;;;;;;;;GAaG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,oDAEC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export { ApArgs, ApState } from "./ap";
|
|
2
|
+
export type Ap = import("./ap").Ap;
|
|
3
|
+
export declare const Ap: typeof import("./ap").Ap;
|
|
4
|
+
export { BaseArgs, BaseState } from "./base";
|
|
5
|
+
export type Base = import("./base").Base;
|
|
6
|
+
export declare const Base: typeof import("./base").Base;
|
|
7
|
+
export { GatewayArgs, GatewayState } from "./gateway";
|
|
8
|
+
export type Gateway = import("./gateway").Gateway;
|
|
9
|
+
export declare const Gateway: typeof import("./gateway").Gateway;
|
|
10
|
+
export { GatewayClusterArgs, GatewayClusterState } from "./gatewayCluster";
|
|
11
|
+
export type GatewayCluster = import("./gatewayCluster").GatewayCluster;
|
|
12
|
+
export declare const GatewayCluster: typeof import("./gatewayCluster").GatewayCluster;
|
|
13
|
+
export { GetApStatsArgs, GetApStatsResult, GetApStatsOutputArgs } from "./getApStats";
|
|
14
|
+
export declare const getApStats: typeof import("./getApStats").getApStats;
|
|
15
|
+
export declare const getApStatsOutput: typeof import("./getApStats").getApStatsOutput;
|
|
16
|
+
export { GetGatewayStatsArgs, GetGatewayStatsResult, GetGatewayStatsOutputArgs } from "./getGatewayStats";
|
|
17
|
+
export declare const getGatewayStats: typeof import("./getGatewayStats").getGatewayStats;
|
|
18
|
+
export declare const getGatewayStatsOutput: typeof import("./getGatewayStats").getGatewayStatsOutput;
|
|
19
|
+
export { GetSwitchStatsArgs, GetSwitchStatsResult, GetSwitchStatsOutputArgs } from "./getSwitchStats";
|
|
20
|
+
export declare const getSwitchStats: typeof import("./getSwitchStats").getSwitchStats;
|
|
21
|
+
export declare const getSwitchStatsOutput: typeof import("./getSwitchStats").getSwitchStatsOutput;
|
|
22
|
+
export { SwitchArgs, SwitchState } from "./switch";
|
|
23
|
+
export type Switch = import("./switch").Switch;
|
|
24
|
+
export declare const Switch: typeof import("./switch").Switch;
|
package/device/index.js
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
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.Switch = exports.getSwitchStatsOutput = exports.getSwitchStats = exports.getGatewayStatsOutput = exports.getGatewayStats = exports.getApStatsOutput = exports.getApStats = exports.GatewayCluster = exports.Gateway = exports.Base = exports.Ap = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
exports.Ap = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["Ap"], () => require("./ap"));
|
|
10
|
+
exports.Base = null;
|
|
11
|
+
utilities.lazyLoad(exports, ["Base"], () => require("./base"));
|
|
12
|
+
exports.Gateway = null;
|
|
13
|
+
utilities.lazyLoad(exports, ["Gateway"], () => require("./gateway"));
|
|
14
|
+
exports.GatewayCluster = null;
|
|
15
|
+
utilities.lazyLoad(exports, ["GatewayCluster"], () => require("./gatewayCluster"));
|
|
16
|
+
exports.getApStats = null;
|
|
17
|
+
exports.getApStatsOutput = null;
|
|
18
|
+
utilities.lazyLoad(exports, ["getApStats", "getApStatsOutput"], () => require("./getApStats"));
|
|
19
|
+
exports.getGatewayStats = null;
|
|
20
|
+
exports.getGatewayStatsOutput = null;
|
|
21
|
+
utilities.lazyLoad(exports, ["getGatewayStats", "getGatewayStatsOutput"], () => require("./getGatewayStats"));
|
|
22
|
+
exports.getSwitchStats = null;
|
|
23
|
+
exports.getSwitchStatsOutput = null;
|
|
24
|
+
utilities.lazyLoad(exports, ["getSwitchStats", "getSwitchStatsOutput"], () => require("./getSwitchStats"));
|
|
25
|
+
exports.Switch = null;
|
|
26
|
+
utilities.lazyLoad(exports, ["Switch"], () => require("./switch"));
|
|
27
|
+
const _module = {
|
|
28
|
+
version: utilities.getVersion(),
|
|
29
|
+
construct: (name, type, urn) => {
|
|
30
|
+
switch (type) {
|
|
31
|
+
case "junipermist:device/ap:Ap":
|
|
32
|
+
return new exports.Ap(name, undefined, { urn });
|
|
33
|
+
case "junipermist:device/base:base":
|
|
34
|
+
return new exports.Base(name, undefined, { urn });
|
|
35
|
+
case "junipermist:device/gateway:Gateway":
|
|
36
|
+
return new exports.Gateway(name, undefined, { urn });
|
|
37
|
+
case "junipermist:device/gatewayCluster:GatewayCluster":
|
|
38
|
+
return new exports.GatewayCluster(name, undefined, { urn });
|
|
39
|
+
case "junipermist:device/switch:Switch":
|
|
40
|
+
return new exports.Switch(name, undefined, { urn });
|
|
41
|
+
default:
|
|
42
|
+
throw new Error(`unknown resource type ${type}`);
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
};
|
|
46
|
+
pulumi.runtime.registerResourceModule("junipermist", "device/ap", _module);
|
|
47
|
+
pulumi.runtime.registerResourceModule("junipermist", "device/base", _module);
|
|
48
|
+
pulumi.runtime.registerResourceModule("junipermist", "device/gateway", _module);
|
|
49
|
+
pulumi.runtime.registerResourceModule("junipermist", "device/gatewayCluster", _module);
|
|
50
|
+
pulumi.runtime.registerResourceModule("junipermist", "device/switch", _module);
|
|
51
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +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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