@pulumi/wavefront 1.3.0-alpha.1673556430 → 1.3.0-alpha.1678210484
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/alert.d.ts +3 -3
- package/alertTarget.d.ts +2 -2
- package/alertTarget.js +2 -2
- package/cloudIntegrationAppDynamics.d.ts +1 -1
- package/cloudIntegrationAppDynamics.js +1 -1
- package/cloudIntegrationAwsExternalId.d.ts +1 -1
- package/cloudIntegrationAwsExternalId.js +1 -1
- package/cloudIntegrationAzure.d.ts +1 -1
- package/cloudIntegrationAzure.js +1 -1
- package/cloudIntegrationAzureActivityLog.d.ts +1 -1
- package/cloudIntegrationAzureActivityLog.js +1 -1
- package/cloudIntegrationGcp.d.ts +3 -1
- package/cloudIntegrationGcp.js +3 -1
- package/cloudIntegrationGcp.js.map +1 -1
- package/cloudIntegrationGcpBilling.d.ts +4 -2
- package/cloudIntegrationGcpBilling.js +4 -2
- package/cloudIntegrationGcpBilling.js.map +1 -1
- package/cloudIntegrationNewRelic.d.ts +1 -3
- package/cloudIntegrationNewRelic.js +1 -3
- package/cloudIntegrationNewRelic.js.map +1 -1
- package/dashboardJson.d.ts +3 -4
- package/dashboardJson.js +3 -4
- package/dashboardJson.js.map +1 -1
- package/getAlert.d.ts +19 -4
- package/getAlert.js +18 -8
- package/getAlert.js.map +1 -1
- package/getAlerts.d.ts +17 -3
- package/getAlerts.js +19 -8
- package/getAlerts.js.map +1 -1
- package/getDashboard.d.ts +16 -3
- package/getDashboard.js +18 -8
- package/getDashboard.js.map +1 -1
- package/getDashboards.d.ts +17 -3
- package/getDashboards.js +19 -8
- package/getDashboards.js.map +1 -1
- package/getDefaultUserGroup.d.ts +1 -2
- package/getDefaultUserGroup.js +2 -6
- package/getDefaultUserGroup.js.map +1 -1
- package/getDerivedMetric.d.ts +22 -5
- package/getDerivedMetric.js +18 -8
- package/getDerivedMetric.js.map +1 -1
- package/getDerivedMetrics.d.ts +17 -3
- package/getDerivedMetrics.js +19 -8
- package/getDerivedMetrics.js.map +1 -1
- package/getEvent.d.ts +19 -4
- package/getEvent.js +18 -8
- package/getEvent.js.map +1 -1
- package/getEvents.d.ts +19 -3
- package/getEvents.js +21 -8
- package/getEvents.js.map +1 -1
- package/getExternalLink.d.ts +16 -3
- package/getExternalLink.js +18 -8
- package/getExternalLink.js.map +1 -1
- package/getExternalLinks.d.ts +17 -3
- package/getExternalLinks.js +19 -8
- package/getExternalLinks.js.map +1 -1
- package/getMaintenanceWindow.d.ts +16 -3
- package/getMaintenanceWindow.js +18 -8
- package/getMaintenanceWindow.js.map +1 -1
- package/getMaintenanceWindowAll.js +2 -5
- package/getMaintenanceWindowAll.js.map +1 -1
- package/getMetricsPolicy.js +1 -4
- package/getMetricsPolicy.js.map +1 -1
- package/getRole.d.ts +16 -3
- package/getRole.js +18 -8
- package/getRole.js.map +1 -1
- package/getRoles.d.ts +17 -3
- package/getRoles.js +19 -8
- package/getRoles.js.map +1 -1
- package/getUser.d.ts +19 -4
- package/getUser.js +18 -8
- package/getUser.js.map +1 -1
- package/getUserGroup.d.ts +16 -3
- package/getUserGroup.js +18 -8
- package/getUserGroup.js.map +1 -1
- package/getUserGroups.d.ts +17 -3
- package/getUserGroups.js +19 -8
- package/getUserGroups.js.map +1 -1
- package/getUsers.d.ts +1 -2
- package/getUsers.js +2 -6
- package/getUsers.js.map +1 -1
- package/ingestionPolicy.d.ts +1 -3
- package/ingestionPolicy.js +1 -3
- package/ingestionPolicy.js.map +1 -1
- package/metricsPolicy.d.ts +32 -0
- package/metricsPolicy.js +26 -0
- package/metricsPolicy.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/types/input.d.ts +1 -1
- package/types/output.d.ts +16 -6
- package/user.d.ts +10 -3
- package/user.js +1 -3
- package/user.js.map +1 -1
- package/userGroup.d.ts +1 -3
- package/userGroup.js +1 -3
- package/userGroup.js.map +1 -1
package/alert.d.ts
CHANGED
|
@@ -108,7 +108,7 @@ export declare class Alert extends pulumi.CustomResource {
|
|
|
108
108
|
*/
|
|
109
109
|
readonly resolveAfterMinutes: pulumi.Output<number | undefined>;
|
|
110
110
|
/**
|
|
111
|
-
*
|
|
111
|
+
* Severity of the alert, valid values are `INFO`, `SMOKE`, `WARN`, `SEVERE`.
|
|
112
112
|
*/
|
|
113
113
|
readonly severity: pulumi.Output<string>;
|
|
114
114
|
/**
|
|
@@ -202,7 +202,7 @@ export interface AlertState {
|
|
|
202
202
|
*/
|
|
203
203
|
resolveAfterMinutes?: pulumi.Input<number>;
|
|
204
204
|
/**
|
|
205
|
-
*
|
|
205
|
+
* Severity of the alert, valid values are `INFO`, `SMOKE`, `WARN`, `SEVERE`.
|
|
206
206
|
*/
|
|
207
207
|
severity?: pulumi.Input<string>;
|
|
208
208
|
/**
|
|
@@ -288,7 +288,7 @@ export interface AlertArgs {
|
|
|
288
288
|
*/
|
|
289
289
|
resolveAfterMinutes?: pulumi.Input<number>;
|
|
290
290
|
/**
|
|
291
|
-
*
|
|
291
|
+
* Severity of the alert, valid values are `INFO`, `SMOKE`, `WARN`, `SEVERE`.
|
|
292
292
|
*/
|
|
293
293
|
severity?: pulumi.Input<string>;
|
|
294
294
|
/**
|
package/alertTarget.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 wavefront from "@pulumi/wavefront";
|
|
12
12
|
*
|
|
13
|
-
* const testTarget = new wavefront.AlertTarget("
|
|
13
|
+
* const testTarget = new wavefront.AlertTarget("testTarget", {
|
|
14
14
|
* contentType: "application/json",
|
|
15
15
|
* customHeaders: {
|
|
16
16
|
* Testing: "true",
|
|
@@ -45,7 +45,7 @@ import * as outputs from "./types/output";
|
|
|
45
45
|
* import * as pulumi from "@pulumi/pulumi";
|
|
46
46
|
* import * as wavefront from "@pulumi/wavefront";
|
|
47
47
|
*
|
|
48
|
-
* const testTarget = new wavefront.AlertTarget("
|
|
48
|
+
* const testTarget = new wavefront.AlertTarget("testTarget", {
|
|
49
49
|
* contentType: "application/json",
|
|
50
50
|
* customHeaders: {
|
|
51
51
|
* Testing: "true",
|
package/alertTarget.js
CHANGED
|
@@ -14,7 +14,7 @@ const utilities = require("./utilities");
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as wavefront from "@pulumi/wavefront";
|
|
16
16
|
*
|
|
17
|
-
* const testTarget = new wavefront.AlertTarget("
|
|
17
|
+
* const testTarget = new wavefront.AlertTarget("testTarget", {
|
|
18
18
|
* contentType: "application/json",
|
|
19
19
|
* customHeaders: {
|
|
20
20
|
* Testing: "true",
|
|
@@ -49,7 +49,7 @@ const utilities = require("./utilities");
|
|
|
49
49
|
* import * as pulumi from "@pulumi/pulumi";
|
|
50
50
|
* import * as wavefront from "@pulumi/wavefront";
|
|
51
51
|
*
|
|
52
|
-
* const testTarget = new wavefront.AlertTarget("
|
|
52
|
+
* const testTarget = new wavefront.AlertTarget("testTarget", {
|
|
53
53
|
* contentType: "application/json",
|
|
54
54
|
* customHeaders: {
|
|
55
55
|
* Testing: "true",
|
|
@@ -9,7 +9,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
9
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
10
|
* import * as wavefront from "@pulumi/wavefront";
|
|
11
11
|
*
|
|
12
|
-
* const appDynamics = new wavefront.CloudIntegrationAppDynamics("
|
|
12
|
+
* const appDynamics = new wavefront.CloudIntegrationAppDynamics("appDynamics", {
|
|
13
13
|
* controllerName: "exampleController",
|
|
14
14
|
* encryptedPassword: "encryptedPassword",
|
|
15
15
|
* userName: "example",
|
|
@@ -15,7 +15,7 @@ const utilities = require("./utilities");
|
|
|
15
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
16
|
* import * as wavefront from "@pulumi/wavefront";
|
|
17
17
|
*
|
|
18
|
-
* const appDynamics = new wavefront.CloudIntegrationAppDynamics("
|
|
18
|
+
* const appDynamics = new wavefront.CloudIntegrationAppDynamics("appDynamics", {
|
|
19
19
|
* controllerName: "exampleController",
|
|
20
20
|
* encryptedPassword: "encryptedPassword",
|
|
21
21
|
* userName: "example",
|
|
@@ -8,7 +8,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
8
8
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
9
|
* import * as wavefront from "@pulumi/wavefront";
|
|
10
10
|
*
|
|
11
|
-
* const externalId = new wavefront.CloudIntegrationAwsExternalId("
|
|
11
|
+
* const externalId = new wavefront.CloudIntegrationAwsExternalId("externalId", {});
|
|
12
12
|
* ```
|
|
13
13
|
*
|
|
14
14
|
* ## Import
|
|
@@ -14,7 +14,7 @@ const utilities = require("./utilities");
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as wavefront from "@pulumi/wavefront";
|
|
16
16
|
*
|
|
17
|
-
* const externalId = new wavefront.CloudIntegrationAwsExternalId("
|
|
17
|
+
* const externalId = new wavefront.CloudIntegrationAwsExternalId("externalId", {});
|
|
18
18
|
* ```
|
|
19
19
|
*
|
|
20
20
|
* ## Import
|
|
@@ -9,7 +9,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
9
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
10
|
* import * as wavefront from "@pulumi/wavefront";
|
|
11
11
|
*
|
|
12
|
-
* const azureActivityLog = new wavefront.CloudIntegrationAzureActivityLog("
|
|
12
|
+
* const azureActivityLog = new wavefront.CloudIntegrationAzureActivityLog("azureActivityLog", {
|
|
13
13
|
* clientId: "client-id2",
|
|
14
14
|
* clientSecret: "client-secret2",
|
|
15
15
|
* tenant: "my-tenant2",
|
package/cloudIntegrationAzure.js
CHANGED
|
@@ -15,7 +15,7 @@ const utilities = require("./utilities");
|
|
|
15
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
16
|
* import * as wavefront from "@pulumi/wavefront";
|
|
17
17
|
*
|
|
18
|
-
* const azureActivityLog = new wavefront.CloudIntegrationAzureActivityLog("
|
|
18
|
+
* const azureActivityLog = new wavefront.CloudIntegrationAzureActivityLog("azureActivityLog", {
|
|
19
19
|
* clientId: "client-id2",
|
|
20
20
|
* clientSecret: "client-secret2",
|
|
21
21
|
* tenant: "my-tenant2",
|
|
@@ -9,7 +9,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
9
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
10
|
* import * as wavefront from "@pulumi/wavefront";
|
|
11
11
|
*
|
|
12
|
-
* const azureActivityLog = new wavefront.CloudIntegrationAzureActivityLog("
|
|
12
|
+
* const azureActivityLog = new wavefront.CloudIntegrationAzureActivityLog("azureActivityLog", {
|
|
13
13
|
* categoryFilters: ["ADMINISTRATIVE"],
|
|
14
14
|
* clientId: "client-id2",
|
|
15
15
|
* clientSecret: "client-secret2",
|
|
@@ -15,7 +15,7 @@ const utilities = require("./utilities");
|
|
|
15
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
16
|
* import * as wavefront from "@pulumi/wavefront";
|
|
17
17
|
*
|
|
18
|
-
* const azureActivityLog = new wavefront.CloudIntegrationAzureActivityLog("
|
|
18
|
+
* const azureActivityLog = new wavefront.CloudIntegrationAzureActivityLog("azureActivityLog", {
|
|
19
19
|
* categoryFilters: ["ADMINISTRATIVE"],
|
|
20
20
|
* clientId: "client-id2",
|
|
21
21
|
* clientSecret: "client-secret2",
|
package/cloudIntegrationGcp.d.ts
CHANGED
|
@@ -10,7 +10,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
* import * as wavefront from "@pulumi/wavefront";
|
|
11
11
|
*
|
|
12
12
|
* const gcp = new wavefront.CloudIntegrationGcp("gcp", {
|
|
13
|
-
* jsonKey:
|
|
13
|
+
* jsonKey: `{...your gcp key ...}
|
|
14
|
+
*
|
|
15
|
+
* `,
|
|
14
16
|
* projectId: "example-gcp-project",
|
|
15
17
|
* });
|
|
16
18
|
* ```
|
package/cloudIntegrationGcp.js
CHANGED
|
@@ -16,7 +16,9 @@ const utilities = require("./utilities");
|
|
|
16
16
|
* import * as wavefront from "@pulumi/wavefront";
|
|
17
17
|
*
|
|
18
18
|
* const gcp = new wavefront.CloudIntegrationGcp("gcp", {
|
|
19
|
-
* jsonKey:
|
|
19
|
+
* jsonKey: `{...your gcp key ...}
|
|
20
|
+
*
|
|
21
|
+
* `,
|
|
20
22
|
* projectId: "example-gcp-project",
|
|
21
23
|
* });
|
|
22
24
|
* ```
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloudIntegrationGcp.js","sourceRoot":"","sources":["../cloudIntegrationGcp.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"cloudIntegrationGcp.js","sourceRoot":"","sources":["../cloudIntegrationGcp.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,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,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;IAoDD,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GA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AI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,6BAA6B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAC,CAAC,SAAS,CAAC;SACvG;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,SAAS,CAAC,EAAE,CAAC;QAC5D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AArHL,kDAsHC;AAxGG,gBAAgB;AACO,gCAAY,GAAG,yDAAyD,CAAC"}
|
|
@@ -9,9 +9,11 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
9
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
10
|
* import * as wavefront from "@pulumi/wavefront";
|
|
11
11
|
*
|
|
12
|
-
* const gcpBilling = new wavefront.CloudIntegrationGcpBilling("
|
|
12
|
+
* const gcpBilling = new wavefront.CloudIntegrationGcpBilling("gcpBilling", {
|
|
13
13
|
* apiKey: "example-api-key",
|
|
14
|
-
* jsonKey:
|
|
14
|
+
* jsonKey: `{...your gcp key ...}
|
|
15
|
+
*
|
|
16
|
+
* `,
|
|
15
17
|
* projectId: "example-gcp-project",
|
|
16
18
|
* });
|
|
17
19
|
* ```
|
|
@@ -15,9 +15,11 @@ const utilities = require("./utilities");
|
|
|
15
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
16
|
* import * as wavefront from "@pulumi/wavefront";
|
|
17
17
|
*
|
|
18
|
-
* const gcpBilling = new wavefront.CloudIntegrationGcpBilling("
|
|
18
|
+
* const gcpBilling = new wavefront.CloudIntegrationGcpBilling("gcpBilling", {
|
|
19
19
|
* apiKey: "example-api-key",
|
|
20
|
-
* jsonKey:
|
|
20
|
+
* jsonKey: `{...your gcp key ...}
|
|
21
|
+
*
|
|
22
|
+
* `,
|
|
21
23
|
* projectId: "example-gcp-project",
|
|
22
24
|
* });
|
|
23
25
|
* ```
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloudIntegrationGcpBilling.js","sourceRoot":"","sources":["../cloudIntegrationGcpBilling.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"cloudIntegrationGcpBilling.js","sourceRoot":"","sources":["../cloudIntegrationGcpBilling.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuC,EAAE,IAAmC;QACrI,OAAO,IAAI,0BAA0B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjF,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,0BAA0B,CAAC,YAAY,CAAC;IAC3E,CAAC;IA4CD,YAAY,IAAY,EAAE,WAA8E,EAAE,IAAmC;QACzI,IAAI,cAAc,GAA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C,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,6BAA6B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAC,CAAC,SAAS,CAAC;SACvG;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC,EAAE,CAAC;QACtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,0BAA0B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/E,CAAC;;AA9GL,gEA+GC;AAjGG,gBAAgB;AACO,uCAAY,GAAG,uEAAuE,CAAC"}
|
|
@@ -11,9 +11,7 @@ import * as outputs from "./types/output";
|
|
|
11
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
12
12
|
* import * as wavefront from "@pulumi/wavefront";
|
|
13
13
|
*
|
|
14
|
-
* const newrelic = new wavefront.CloudIntegrationNewRelic("newrelic", {
|
|
15
|
-
* apiKey: "example-api-key",
|
|
16
|
-
* });
|
|
14
|
+
* const newrelic = new wavefront.CloudIntegrationNewRelic("newrelic", {apiKey: "example-api-key"});
|
|
17
15
|
* ```
|
|
18
16
|
*
|
|
19
17
|
* ## Import
|
|
@@ -15,9 +15,7 @@ const utilities = require("./utilities");
|
|
|
15
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
16
|
* import * as wavefront from "@pulumi/wavefront";
|
|
17
17
|
*
|
|
18
|
-
* const newrelic = new wavefront.CloudIntegrationNewRelic("newrelic", {
|
|
19
|
-
* apiKey: "example-api-key",
|
|
20
|
-
* });
|
|
18
|
+
* const newrelic = new wavefront.CloudIntegrationNewRelic("newrelic", {apiKey: "example-api-key"});
|
|
21
19
|
* ```
|
|
22
20
|
*
|
|
23
21
|
* ## Import
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloudIntegrationNewRelic.js","sourceRoot":"","sources":["../cloudIntegrationNewRelic.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"cloudIntegrationNewRelic.js","sourceRoot":"","sources":["../cloudIntegrationNewRelic.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/E,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,wBAAwB,CAAC,YAAY,CAAC;IACzE,CAAC;IA+CD,YAAY,IAAY,EAAE,WAA0E,EAAE,IAAmC;QACrI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwD,CAA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AG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC3D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,wBAAwB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7E,CAAC;;AA7GL,4DA8GC;AAhGG,gBAAgB;AACO,qCAAY,GAAG,mEAAmE,CAAC"}
|
package/dashboardJson.d.ts
CHANGED
|
@@ -8,8 +8,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
8
8
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
9
|
* import * as wavefront from "@pulumi/wavefront";
|
|
10
10
|
*
|
|
11
|
-
* const testDashboardJson = new wavefront.DashboardJson("
|
|
12
|
-
* dashboardJson: `{
|
|
11
|
+
* const testDashboardJson = new wavefront.DashboardJson("testDashboardJson", {dashboardJson: `{
|
|
13
12
|
* "name": "Terraform Test Dashboard Json",
|
|
14
13
|
* "description": "a",
|
|
15
14
|
* "eventFilterType": "BYCHART",
|
|
@@ -106,8 +105,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
106
105
|
* "customerTags": ["terraform"]
|
|
107
106
|
* }
|
|
108
107
|
* }
|
|
109
|
-
*
|
|
110
|
-
* });
|
|
108
|
+
*
|
|
109
|
+
* `});
|
|
111
110
|
* ```
|
|
112
111
|
*
|
|
113
112
|
* **Note:** If there are dynamic variables in the Wavefront dashboard json, then these variables must be present in a separate file as mentioned in below section.
|
package/dashboardJson.js
CHANGED
|
@@ -14,8 +14,7 @@ const utilities = require("./utilities");
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as wavefront from "@pulumi/wavefront";
|
|
16
16
|
*
|
|
17
|
-
* const testDashboardJson = new wavefront.DashboardJson("
|
|
18
|
-
* dashboardJson: `{
|
|
17
|
+
* const testDashboardJson = new wavefront.DashboardJson("testDashboardJson", {dashboardJson: `{
|
|
19
18
|
* "name": "Terraform Test Dashboard Json",
|
|
20
19
|
* "description": "a",
|
|
21
20
|
* "eventFilterType": "BYCHART",
|
|
@@ -112,8 +111,8 @@ const utilities = require("./utilities");
|
|
|
112
111
|
* "customerTags": ["terraform"]
|
|
113
112
|
* }
|
|
114
113
|
* }
|
|
115
|
-
*
|
|
116
|
-
* });
|
|
114
|
+
*
|
|
115
|
+
* `});
|
|
117
116
|
* ```
|
|
118
117
|
*
|
|
119
118
|
* **Note:** If there are dynamic variables in the Wavefront dashboard json, then these variables must be present in a separate file as mentioned in below section.
|
package/dashboardJson.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboardJson.js","sourceRoot":"","sources":["../dashboardJson.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"dashboardJson.js","sourceRoot":"","sources":["../dashboardJson.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuHG;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;IAgBD,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,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7E;aAAM;YACH,MAAM,IAAI,GAAG,WAA4C,CAAC;YAC1D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,aAAa,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC1D,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;aAChE;YACD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAzDL,sCA0DC;AA5CG,gBAAgB;AACO,0BAAY,GAAG,6CAA6C,CAAC"}
|
package/getAlert.d.ts
CHANGED
|
@@ -9,10 +9,9 @@ import * as outputs from "./types/output";
|
|
|
9
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
10
|
* import * as wavefront from "@pulumi/wavefront";
|
|
11
11
|
*
|
|
12
|
-
*
|
|
13
|
-
* const example = pulumi.output(wavefront.getAlert({
|
|
12
|
+
* const example = wavefront.getAlert({
|
|
14
13
|
* id: "alert-id",
|
|
15
|
-
* })
|
|
14
|
+
* });
|
|
16
15
|
* ```
|
|
17
16
|
*/
|
|
18
17
|
export declare function getAlert(args: GetAlertArgs, opts?: pulumi.InvokeOptions): Promise<GetAlertResult>;
|
|
@@ -39,6 +38,9 @@ export interface GetAlertResult {
|
|
|
39
38
|
* User-supplied additional explanatory information about this alert.
|
|
40
39
|
*/
|
|
41
40
|
readonly additionalInformation: string;
|
|
41
|
+
/**
|
|
42
|
+
* The type of alert in Wavefront.
|
|
43
|
+
*/
|
|
42
44
|
readonly alertType: string;
|
|
43
45
|
/**
|
|
44
46
|
* A list of users or groups that can modify the alert.
|
|
@@ -72,7 +74,6 @@ export interface GetAlertResult {
|
|
|
72
74
|
readonly failingHostLabelPairs: outputs.GetAlertFailingHostLabelPair[];
|
|
73
75
|
/**
|
|
74
76
|
* The ID of the alert in Wavefront.
|
|
75
|
-
* * `alertType`- The type of alert in Wavefront.
|
|
76
77
|
*/
|
|
77
78
|
readonly id: string;
|
|
78
79
|
/**
|
|
@@ -127,6 +128,20 @@ export interface GetAlertResult {
|
|
|
127
128
|
[key: string]: string;
|
|
128
129
|
};
|
|
129
130
|
}
|
|
131
|
+
/**
|
|
132
|
+
* Use this data source to get information about a Wavefront alert by its ID.
|
|
133
|
+
*
|
|
134
|
+
* ## Example Usage
|
|
135
|
+
*
|
|
136
|
+
* ```typescript
|
|
137
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
138
|
+
* import * as wavefront from "@pulumi/wavefront";
|
|
139
|
+
*
|
|
140
|
+
* const example = wavefront.getAlert({
|
|
141
|
+
* id: "alert-id",
|
|
142
|
+
* });
|
|
143
|
+
* ```
|
|
144
|
+
*/
|
|
130
145
|
export declare function getAlertOutput(args: GetAlertOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAlertResult>;
|
|
131
146
|
/**
|
|
132
147
|
* A collection of arguments for invoking getAlert.
|
package/getAlert.js
CHANGED
|
@@ -14,25 +14,35 @@ const utilities = require("./utilities");
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as wavefront from "@pulumi/wavefront";
|
|
16
16
|
*
|
|
17
|
-
*
|
|
18
|
-
* const example = pulumi.output(wavefront.getAlert({
|
|
17
|
+
* const example = wavefront.getAlert({
|
|
19
18
|
* id: "alert-id",
|
|
20
|
-
* })
|
|
19
|
+
* });
|
|
21
20
|
* ```
|
|
22
21
|
*/
|
|
23
22
|
function getAlert(args, opts) {
|
|
24
|
-
|
|
25
|
-
opts = {};
|
|
26
|
-
}
|
|
27
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
23
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
28
24
|
return pulumi.runtime.invoke("wavefront:index/getAlert:getAlert", {
|
|
29
25
|
"id": args.id,
|
|
30
26
|
"targets": args.targets,
|
|
31
27
|
}, opts);
|
|
32
28
|
}
|
|
33
29
|
exports.getAlert = getAlert;
|
|
30
|
+
/**
|
|
31
|
+
* Use this data source to get information about a Wavefront alert by its ID.
|
|
32
|
+
*
|
|
33
|
+
* ## Example Usage
|
|
34
|
+
*
|
|
35
|
+
* ```typescript
|
|
36
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
37
|
+
* import * as wavefront from "@pulumi/wavefront";
|
|
38
|
+
*
|
|
39
|
+
* const example = wavefront.getAlert({
|
|
40
|
+
* id: "alert-id",
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
34
44
|
function getAlertOutput(args, opts) {
|
|
35
|
-
return pulumi.output(args).apply(a => getAlert(a, opts));
|
|
45
|
+
return pulumi.output(args).apply((a) => getAlert(a, opts));
|
|
36
46
|
}
|
|
37
47
|
exports.getAlertOutput = getAlertOutput;
|
|
38
48
|
//# sourceMappingURL=getAlert.js.map
|
package/getAlert.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAlert.js","sourceRoot":"","sources":["../getAlert.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getAlert.js","sourceRoot":"","sources":["../getAlert.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4BAOC;AA8GD;;;;;;;;;;;;;GAaG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
|
package/getAlerts.d.ts
CHANGED
|
@@ -9,11 +9,10 @@ import * as outputs from "./types/output";
|
|
|
9
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
10
|
* import * as wavefront from "@pulumi/wavefront";
|
|
11
11
|
*
|
|
12
|
-
*
|
|
13
|
-
* const example = pulumi.output(wavefront.getAlerts({
|
|
12
|
+
* const example = wavefront.getAlerts({
|
|
14
13
|
* limit: 10,
|
|
15
14
|
* offset: 0,
|
|
16
|
-
* })
|
|
15
|
+
* });
|
|
17
16
|
* ```
|
|
18
17
|
*/
|
|
19
18
|
export declare function getAlerts(args?: GetAlertsArgs, opts?: pulumi.InvokeOptions): Promise<GetAlertsResult>;
|
|
@@ -45,6 +44,21 @@ export interface GetAlertsResult {
|
|
|
45
44
|
readonly limit?: number;
|
|
46
45
|
readonly offset?: number;
|
|
47
46
|
}
|
|
47
|
+
/**
|
|
48
|
+
* Use this data source to get information about all Wavefront alerts.
|
|
49
|
+
*
|
|
50
|
+
* ## Example Usage
|
|
51
|
+
*
|
|
52
|
+
* ```typescript
|
|
53
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
54
|
+
* import * as wavefront from "@pulumi/wavefront";
|
|
55
|
+
*
|
|
56
|
+
* const example = wavefront.getAlerts({
|
|
57
|
+
* limit: 10,
|
|
58
|
+
* offset: 0,
|
|
59
|
+
* });
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
48
62
|
export declare function getAlertsOutput(args?: GetAlertsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAlertsResult>;
|
|
49
63
|
/**
|
|
50
64
|
* A collection of arguments for invoking getAlerts.
|
package/getAlerts.js
CHANGED
|
@@ -14,27 +14,38 @@ const utilities = require("./utilities");
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as wavefront from "@pulumi/wavefront";
|
|
16
16
|
*
|
|
17
|
-
*
|
|
18
|
-
* const example = pulumi.output(wavefront.getAlerts({
|
|
17
|
+
* const example = wavefront.getAlerts({
|
|
19
18
|
* limit: 10,
|
|
20
19
|
* offset: 0,
|
|
21
|
-
* })
|
|
20
|
+
* });
|
|
22
21
|
* ```
|
|
23
22
|
*/
|
|
24
23
|
function getAlerts(args, opts) {
|
|
25
24
|
args = args || {};
|
|
26
|
-
|
|
27
|
-
opts = {};
|
|
28
|
-
}
|
|
29
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
25
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
30
26
|
return pulumi.runtime.invoke("wavefront:index/getAlerts:getAlerts", {
|
|
31
27
|
"limit": args.limit,
|
|
32
28
|
"offset": args.offset,
|
|
33
29
|
}, opts);
|
|
34
30
|
}
|
|
35
31
|
exports.getAlerts = getAlerts;
|
|
32
|
+
/**
|
|
33
|
+
* Use this data source to get information about all Wavefront alerts.
|
|
34
|
+
*
|
|
35
|
+
* ## Example Usage
|
|
36
|
+
*
|
|
37
|
+
* ```typescript
|
|
38
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
39
|
+
* import * as wavefront from "@pulumi/wavefront";
|
|
40
|
+
*
|
|
41
|
+
* const example = wavefront.getAlerts({
|
|
42
|
+
* limit: 10,
|
|
43
|
+
* offset: 0,
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
36
47
|
function getAlertsOutput(args, opts) {
|
|
37
|
-
return pulumi.output(args).apply(a => getAlerts(a, opts));
|
|
48
|
+
return pulumi.output(args).apply((a) => getAlerts(a, opts));
|
|
38
49
|
}
|
|
39
50
|
exports.getAlertsOutput = getAlertsOutput;
|
|
40
51
|
//# sourceMappingURL=getAlerts.js.map
|
package/getAlerts.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAlerts.js","sourceRoot":"","sources":["../getAlerts.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getAlerts.js","sourceRoot":"","sources":["../getAlerts.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,SAAS,CAAC,IAAoB,EAAE,IAA2B;IACvE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,8BAQC;AA+BD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0CAEC"}
|
package/getDashboard.d.ts
CHANGED
|
@@ -9,10 +9,9 @@ import * as outputs from "./types/output";
|
|
|
9
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
10
|
* import * as wavefront from "@pulumi/wavefront";
|
|
11
11
|
*
|
|
12
|
-
*
|
|
13
|
-
* const example = pulumi.output(wavefront.getDashboard({
|
|
12
|
+
* const example = wavefront.getDashboard({
|
|
14
13
|
* id: "dashboard-id",
|
|
15
|
-
* })
|
|
14
|
+
* });
|
|
16
15
|
* ```
|
|
17
16
|
*/
|
|
18
17
|
export declare function getDashboard(args: GetDashboardArgs, opts?: pulumi.InvokeOptions): Promise<GetDashboardResult>;
|
|
@@ -100,6 +99,20 @@ export interface GetDashboardResult {
|
|
|
100
99
|
readonly viewsLastMonth: number;
|
|
101
100
|
readonly viewsLastWeek: number;
|
|
102
101
|
}
|
|
102
|
+
/**
|
|
103
|
+
* Use this data source to get information about a certain Wavefront dashboard by its ID.
|
|
104
|
+
*
|
|
105
|
+
* ## Example Usage
|
|
106
|
+
*
|
|
107
|
+
* ```typescript
|
|
108
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
109
|
+
* import * as wavefront from "@pulumi/wavefront";
|
|
110
|
+
*
|
|
111
|
+
* const example = wavefront.getDashboard({
|
|
112
|
+
* id: "dashboard-id",
|
|
113
|
+
* });
|
|
114
|
+
* ```
|
|
115
|
+
*/
|
|
103
116
|
export declare function getDashboardOutput(args: GetDashboardOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDashboardResult>;
|
|
104
117
|
/**
|
|
105
118
|
* A collection of arguments for invoking getDashboard.
|
package/getDashboard.js
CHANGED
|
@@ -14,24 +14,34 @@ const utilities = require("./utilities");
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as wavefront from "@pulumi/wavefront";
|
|
16
16
|
*
|
|
17
|
-
*
|
|
18
|
-
* const example = pulumi.output(wavefront.getDashboard({
|
|
17
|
+
* const example = wavefront.getDashboard({
|
|
19
18
|
* id: "dashboard-id",
|
|
20
|
-
* })
|
|
19
|
+
* });
|
|
21
20
|
* ```
|
|
22
21
|
*/
|
|
23
22
|
function getDashboard(args, opts) {
|
|
24
|
-
|
|
25
|
-
opts = {};
|
|
26
|
-
}
|
|
27
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
23
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
28
24
|
return pulumi.runtime.invoke("wavefront:index/getDashboard:getDashboard", {
|
|
29
25
|
"id": args.id,
|
|
30
26
|
}, opts);
|
|
31
27
|
}
|
|
32
28
|
exports.getDashboard = getDashboard;
|
|
29
|
+
/**
|
|
30
|
+
* Use this data source to get information about a certain Wavefront dashboard by its ID.
|
|
31
|
+
*
|
|
32
|
+
* ## Example Usage
|
|
33
|
+
*
|
|
34
|
+
* ```typescript
|
|
35
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
36
|
+
* import * as wavefront from "@pulumi/wavefront";
|
|
37
|
+
*
|
|
38
|
+
* const example = wavefront.getDashboard({
|
|
39
|
+
* id: "dashboard-id",
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
33
43
|
function getDashboardOutput(args, opts) {
|
|
34
|
-
return pulumi.output(args).apply(a => getDashboard(a, opts));
|
|
44
|
+
return pulumi.output(args).apply((a) => getDashboard(a, opts));
|
|
35
45
|
}
|
|
36
46
|
exports.getDashboardOutput = getDashboardOutput;
|
|
37
47
|
//# sourceMappingURL=getDashboard.js.map
|
package/getDashboard.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDashboard.js","sourceRoot":"","sources":["../getDashboard.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getDashboard.js","sourceRoot":"","sources":["../getDashboard.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAE5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE;QACtE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oCAMC;AAqFD;;;;;;;;;;;;;GAaG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,gDAEC"}
|