@pulumi/wavefront 1.2.0-alpha.1663005863 → 1.2.0-alpha.1669657115
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 +12 -0
- package/alert.js +24 -22
- package/alert.js.map +1 -1
- package/alertTarget.d.ts +2 -1
- package/alertTarget.js +22 -22
- package/alertTarget.js.map +1 -1
- package/cloudIntegrationAppDynamics.js +25 -23
- package/cloudIntegrationAppDynamics.js.map +1 -1
- package/cloudIntegrationAwsExternalId.js +12 -12
- package/cloudIntegrationAwsExternalId.js.map +1 -1
- package/cloudIntegrationAzure.js +25 -23
- package/cloudIntegrationAzure.js.map +1 -1
- package/cloudIntegrationAzureActivityLog.js +25 -23
- package/cloudIntegrationAzureActivityLog.js.map +1 -1
- package/cloudIntegrationCloudTrail.js +22 -22
- package/cloudIntegrationCloudTrail.js.map +1 -1
- package/cloudIntegrationCloudWatch.js +22 -22
- package/cloudIntegrationCloudWatch.js.map +1 -1
- package/cloudIntegrationEc2.js +22 -22
- package/cloudIntegrationEc2.js.map +1 -1
- package/cloudIntegrationGcp.js +25 -23
- package/cloudIntegrationGcp.js.map +1 -1
- package/cloudIntegrationGcpBilling.js +26 -24
- package/cloudIntegrationGcpBilling.js.map +1 -1
- package/cloudIntegrationNewRelic.d.ts +2 -1
- package/cloudIntegrationNewRelic.js +25 -23
- package/cloudIntegrationNewRelic.js.map +1 -1
- package/dashboard.d.ts +2 -1
- package/dashboard.js +22 -22
- package/dashboard.js.map +1 -1
- package/dashboardJson.d.ts +2 -0
- package/dashboardJson.js +19 -17
- package/dashboardJson.js.map +1 -1
- package/derivedMetric.js +22 -22
- package/derivedMetric.js.map +1 -1
- package/event.d.ts +120 -0
- package/event.js +87 -0
- package/event.js.map +1 -0
- package/externalLink.js +22 -22
- package/externalLink.js.map +1 -1
- package/getAlert.d.ts +145 -0
- package/getAlert.js +38 -0
- package/getAlert.js.map +1 -0
- package/getAlerts.d.ts +61 -0
- package/getAlerts.js +40 -0
- package/getAlerts.js.map +1 -0
- package/getDashboard.d.ts +112 -0
- package/getDashboard.js +37 -0
- package/getDashboard.js.map +1 -0
- package/getDashboards.d.ts +61 -0
- package/getDashboards.js +40 -0
- package/getDashboards.js.map +1 -0
- package/getDerivedMetric.d.ts +133 -0
- package/getDerivedMetric.js +37 -0
- package/getDerivedMetric.js.map +1 -0
- package/getDerivedMetrics.d.ts +61 -0
- package/getDerivedMetrics.js +40 -0
- package/getDerivedMetrics.js.map +1 -0
- package/getEvent.d.ts +78 -0
- package/getEvent.js +37 -0
- package/getEvent.js.map +1 -0
- package/getEvents.d.ts +87 -0
- package/getEvents.js +43 -0
- package/getEvents.js.map +1 -0
- package/getExternalLink.d.ts +94 -0
- package/getExternalLink.js +37 -0
- package/getExternalLink.js.map +1 -0
- package/getExternalLinks.d.ts +61 -0
- package/getExternalLinks.js +40 -0
- package/getExternalLinks.js.map +1 -0
- package/getMaintenanceWindow.d.ts +119 -0
- package/getMaintenanceWindow.js +37 -0
- package/getMaintenanceWindow.js.map +1 -0
- package/getMaintenanceWindowAll.d.ts +30 -0
- package/getMaintenanceWindowAll.js +24 -0
- package/getMaintenanceWindowAll.js.map +1 -0
- package/getMetricsPolicy.d.ts +16 -0
- package/getMetricsPolicy.js +16 -0
- package/getMetricsPolicy.js.map +1 -0
- package/getRole.d.ts +57 -0
- package/getRole.js +37 -0
- package/getRole.js.map +1 -0
- package/getRoles.d.ts +61 -0
- package/getRoles.js +40 -0
- package/getRoles.js.map +1 -0
- package/getUser.d.ts +60 -0
- package/getUser.js +37 -0
- package/getUser.js.map +1 -0
- package/getUserGroup.d.ts +61 -0
- package/getUserGroup.js +37 -0
- package/getUserGroup.js.map +1 -0
- package/getUserGroups.d.ts +61 -0
- package/getUserGroups.js +40 -0
- package/getUserGroups.js.map +1 -0
- package/getUsers.d.ts +29 -0
- package/getUsers.js +29 -0
- package/getUsers.js.map +1 -0
- package/index.d.ts +132 -25
- package/index.js +138 -92
- package/index.js.map +1 -1
- package/ingestionPolicy.d.ts +3 -0
- package/ingestionPolicy.js +24 -19
- package/ingestionPolicy.js.map +1 -1
- package/maintenanceWindow.js +22 -22
- package/maintenanceWindow.js.map +1 -1
- package/metricsPolicy.d.ts +83 -0
- package/metricsPolicy.js +73 -0
- package/metricsPolicy.js.map +1 -0
- package/package.json +4 -3
- package/package.json.bak +2 -1
- package/package.json.dev +4 -3
- package/provider.js +10 -10
- package/provider.js.map +1 -1
- package/role.js +20 -20
- package/role.js.map +1 -1
- package/serviceAccount.js +22 -22
- package/serviceAccount.js.map +1 -1
- package/types/index.js.map +1 -1
- package/types/input.d.ts +49 -1
- package/types/output.d.ts +1157 -1
- package/user.js +22 -22
- package/user.js.map +1 -1
- package/userGroup.js +19 -19
- package/userGroup.js.map +1 -1
- package/utilities.js +13 -1
- package/utilities.js.map +1 -1
- package/cloudIntegrationTesla.d.ts +0 -150
- package/cloudIntegrationTesla.js +0 -94
- package/cloudIntegrationTesla.js.map +0 -1
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to get information about a certain Wavefront dashboard by its ID.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as wavefront from "@pulumi/wavefront";
|
|
11
|
+
*
|
|
12
|
+
* // Get the information about a dashboard.
|
|
13
|
+
* const example = pulumi.output(wavefront.getDashboard({
|
|
14
|
+
* id: "dashboard-id",
|
|
15
|
+
* }));
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare function getDashboard(args: GetDashboardArgs, opts?: pulumi.InvokeOptions): Promise<GetDashboardResult>;
|
|
19
|
+
/**
|
|
20
|
+
* A collection of arguments for invoking getDashboard.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetDashboardArgs {
|
|
23
|
+
/**
|
|
24
|
+
* The ID associated with the dashboard data to be fetched.
|
|
25
|
+
*/
|
|
26
|
+
id: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* A collection of values returned by getDashboard.
|
|
30
|
+
*/
|
|
31
|
+
export interface GetDashboardResult {
|
|
32
|
+
/**
|
|
33
|
+
* A list of users that have modify ACL access to the dashboard.
|
|
34
|
+
*/
|
|
35
|
+
readonly canModifies: string[];
|
|
36
|
+
/**
|
|
37
|
+
* A list of users that have view ACL access to the dashboard.
|
|
38
|
+
*/
|
|
39
|
+
readonly canViews: string[];
|
|
40
|
+
readonly chartTitleBgColor: string;
|
|
41
|
+
readonly chartTitleColor: string;
|
|
42
|
+
readonly chartTitleScalar: number;
|
|
43
|
+
readonly createdEpochMillis: number;
|
|
44
|
+
readonly creatorId: string;
|
|
45
|
+
readonly customer: string;
|
|
46
|
+
readonly defaultEndTime: number;
|
|
47
|
+
readonly defaultStartTime: number;
|
|
48
|
+
readonly defaultTimeWindow: string;
|
|
49
|
+
readonly deleted: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Description of the chart.
|
|
52
|
+
*/
|
|
53
|
+
readonly description: string;
|
|
54
|
+
readonly displayDescription: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Whether the dashboard parameters section is opened by default when the dashboard
|
|
57
|
+
* is shown.
|
|
58
|
+
*/
|
|
59
|
+
readonly displayQueryParameters: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* Whether the "pills" quick-linked the sections of the dashboard are
|
|
62
|
+
* displayed by default when the dashboard is shown.
|
|
63
|
+
*/
|
|
64
|
+
readonly displaySectionTableOfContents: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* How charts belonging to this dashboard should display events. `BYCHART` is default if
|
|
67
|
+
* unspecified. Valid options are: `BYCHART`, `AUTOMATIC`, `ALL`, `NONE`, `BYDASHBOARD`, and `BYCHARTANDDASHBOARD`.
|
|
68
|
+
*/
|
|
69
|
+
readonly eventFilterType: string;
|
|
70
|
+
readonly eventQuery: string;
|
|
71
|
+
readonly favorite: boolean;
|
|
72
|
+
readonly hidden: boolean;
|
|
73
|
+
readonly id: string;
|
|
74
|
+
/**
|
|
75
|
+
* The name of the parameters.
|
|
76
|
+
*/
|
|
77
|
+
readonly name: string;
|
|
78
|
+
readonly numCharts: number;
|
|
79
|
+
readonly numFavorites: number;
|
|
80
|
+
/**
|
|
81
|
+
* The current JSON representation of dashboard parameters. See parameter details.
|
|
82
|
+
*/
|
|
83
|
+
readonly parameterDetails: outputs.GetDashboardParameterDetail[];
|
|
84
|
+
readonly parameters: {
|
|
85
|
+
[key: string]: any;
|
|
86
|
+
};
|
|
87
|
+
readonly sections: outputs.GetDashboardSection[];
|
|
88
|
+
readonly systemOwned: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* A set of tags to assign to this resource.
|
|
91
|
+
*/
|
|
92
|
+
readonly tags: string[];
|
|
93
|
+
readonly updatedEpochMillis: number;
|
|
94
|
+
readonly updaterId: string;
|
|
95
|
+
/**
|
|
96
|
+
* Unique identifier, also a URL slug of the dashboard.
|
|
97
|
+
*/
|
|
98
|
+
readonly url: string;
|
|
99
|
+
readonly viewsLastDay: number;
|
|
100
|
+
readonly viewsLastMonth: number;
|
|
101
|
+
readonly viewsLastWeek: number;
|
|
102
|
+
}
|
|
103
|
+
export declare function getDashboardOutput(args: GetDashboardOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDashboardResult>;
|
|
104
|
+
/**
|
|
105
|
+
* A collection of arguments for invoking getDashboard.
|
|
106
|
+
*/
|
|
107
|
+
export interface GetDashboardOutputArgs {
|
|
108
|
+
/**
|
|
109
|
+
* The ID associated with the dashboard data to be fetched.
|
|
110
|
+
*/
|
|
111
|
+
id: pulumi.Input<string>;
|
|
112
|
+
}
|
package/getDashboard.js
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
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.getDashboardOutput = exports.getDashboard = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to get information about a certain Wavefront dashboard by its ID.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as wavefront from "@pulumi/wavefront";
|
|
16
|
+
*
|
|
17
|
+
* // Get the information about a dashboard.
|
|
18
|
+
* const example = pulumi.output(wavefront.getDashboard({
|
|
19
|
+
* id: "dashboard-id",
|
|
20
|
+
* }));
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
function getDashboard(args, opts) {
|
|
24
|
+
if (!opts) {
|
|
25
|
+
opts = {};
|
|
26
|
+
}
|
|
27
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
28
|
+
return pulumi.runtime.invoke("wavefront:index/getDashboard:getDashboard", {
|
|
29
|
+
"id": args.id,
|
|
30
|
+
}, opts);
|
|
31
|
+
}
|
|
32
|
+
exports.getDashboard = getDashboard;
|
|
33
|
+
function getDashboardOutput(args, opts) {
|
|
34
|
+
return pulumi.output(args).apply(a => getDashboard(a, opts));
|
|
35
|
+
}
|
|
36
|
+
exports.getDashboardOutput = getDashboardOutput;
|
|
37
|
+
//# sourceMappingURL=getDashboard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDashboard.js","sourceRoot":"","sources":["../getDashboard.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE;QACtE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,oCASC;AAsFD,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChE,CAAC;AAFD,gDAEC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to get information about all Wavefront dashboards.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as wavefront from "@pulumi/wavefront";
|
|
11
|
+
*
|
|
12
|
+
* // Get the information about all dashboards.
|
|
13
|
+
* const example = pulumi.output(wavefront.getDashboards({
|
|
14
|
+
* limit: 10,
|
|
15
|
+
* offset: 0,
|
|
16
|
+
* }));
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export declare function getDashboards(args?: GetDashboardsArgs, opts?: pulumi.InvokeOptions): Promise<GetDashboardsResult>;
|
|
20
|
+
/**
|
|
21
|
+
* A collection of arguments for invoking getDashboards.
|
|
22
|
+
*/
|
|
23
|
+
export interface GetDashboardsArgs {
|
|
24
|
+
/**
|
|
25
|
+
* Limit is the maximum number of results to be returned. Defaults to 100.
|
|
26
|
+
*/
|
|
27
|
+
limit?: number;
|
|
28
|
+
/**
|
|
29
|
+
* Offset is the offset from the first result to be returned. Defaults to 0.
|
|
30
|
+
*/
|
|
31
|
+
offset?: number;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* A collection of values returned by getDashboards.
|
|
35
|
+
*/
|
|
36
|
+
export interface GetDashboardsResult {
|
|
37
|
+
/**
|
|
38
|
+
* List of all Wavefront dashboards. For each dashboard you will see a list of attributes.
|
|
39
|
+
*/
|
|
40
|
+
readonly dashboards: outputs.GetDashboardsDashboard[];
|
|
41
|
+
/**
|
|
42
|
+
* The provider-assigned unique ID for this managed resource.
|
|
43
|
+
*/
|
|
44
|
+
readonly id: string;
|
|
45
|
+
readonly limit?: number;
|
|
46
|
+
readonly offset?: number;
|
|
47
|
+
}
|
|
48
|
+
export declare function getDashboardsOutput(args?: GetDashboardsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDashboardsResult>;
|
|
49
|
+
/**
|
|
50
|
+
* A collection of arguments for invoking getDashboards.
|
|
51
|
+
*/
|
|
52
|
+
export interface GetDashboardsOutputArgs {
|
|
53
|
+
/**
|
|
54
|
+
* Limit is the maximum number of results to be returned. Defaults to 100.
|
|
55
|
+
*/
|
|
56
|
+
limit?: pulumi.Input<number>;
|
|
57
|
+
/**
|
|
58
|
+
* Offset is the offset from the first result to be returned. Defaults to 0.
|
|
59
|
+
*/
|
|
60
|
+
offset?: pulumi.Input<number>;
|
|
61
|
+
}
|
package/getDashboards.js
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
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.getDashboardsOutput = exports.getDashboards = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to get information about all Wavefront dashboards.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as wavefront from "@pulumi/wavefront";
|
|
16
|
+
*
|
|
17
|
+
* // Get the information about all dashboards.
|
|
18
|
+
* const example = pulumi.output(wavefront.getDashboards({
|
|
19
|
+
* limit: 10,
|
|
20
|
+
* offset: 0,
|
|
21
|
+
* }));
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
function getDashboards(args, opts) {
|
|
25
|
+
args = args || {};
|
|
26
|
+
if (!opts) {
|
|
27
|
+
opts = {};
|
|
28
|
+
}
|
|
29
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
30
|
+
return pulumi.runtime.invoke("wavefront:index/getDashboards:getDashboards", {
|
|
31
|
+
"limit": args.limit,
|
|
32
|
+
"offset": args.offset,
|
|
33
|
+
}, opts);
|
|
34
|
+
}
|
|
35
|
+
exports.getDashboards = getDashboards;
|
|
36
|
+
function getDashboardsOutput(args, opts) {
|
|
37
|
+
return pulumi.output(args).apply(a => getDashboards(a, opts));
|
|
38
|
+
}
|
|
39
|
+
exports.getDashboardsOutput = getDashboardsOutput;
|
|
40
|
+
//# sourceMappingURL=getDashboards.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDashboards.js","sourceRoot":"","sources":["../getDashboards.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6CAA6C,EAAE;QACxE,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,sCAWC;AAgCD,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,kDAEC"}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Use this data source to get information about a certain Wavefront derived metric by its ID.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as wavefront from "@pulumi/wavefront";
|
|
10
|
+
*
|
|
11
|
+
* //Get the information about a derived metric.
|
|
12
|
+
* const example = pulumi.output(wavefront.getDerivedMetric({
|
|
13
|
+
* id: "derived_metric_id",
|
|
14
|
+
* }));
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare function getDerivedMetric(args: GetDerivedMetricArgs, opts?: pulumi.InvokeOptions): Promise<GetDerivedMetricResult>;
|
|
18
|
+
/**
|
|
19
|
+
* A collection of arguments for invoking getDerivedMetric.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetDerivedMetricArgs {
|
|
22
|
+
/**
|
|
23
|
+
* The ID associated with the derived metric data to be fetched.
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* A collection of values returned by getDerivedMetric.
|
|
29
|
+
*/
|
|
30
|
+
export interface GetDerivedMetricResult {
|
|
31
|
+
/**
|
|
32
|
+
* User-supplied additional explanatory information about the derived metric.
|
|
33
|
+
*/
|
|
34
|
+
readonly additionalInformation: string;
|
|
35
|
+
/**
|
|
36
|
+
* The ID of the user who created the derived metric.
|
|
37
|
+
*/
|
|
38
|
+
readonly createUserId: string;
|
|
39
|
+
/**
|
|
40
|
+
* The timestamp in epoch milliseconds indicating when the derived metric is created.
|
|
41
|
+
*/
|
|
42
|
+
readonly createdEpochMillis: number;
|
|
43
|
+
/**
|
|
44
|
+
* A Boolean flag indicating whether the derived metric is deleted or not.
|
|
45
|
+
*/
|
|
46
|
+
readonly deleted: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* A list of hosts used in the derived metric.
|
|
49
|
+
*/
|
|
50
|
+
readonly hostsUseds: string[];
|
|
51
|
+
/**
|
|
52
|
+
* The ID of the derived metric in Wavefront.
|
|
53
|
+
* * `query`- A Wavefront query that is evaluated at regular intervals (default is 1 minute).
|
|
54
|
+
*/
|
|
55
|
+
readonly id: string;
|
|
56
|
+
/**
|
|
57
|
+
* A Boolean variable indicating trash status.
|
|
58
|
+
*/
|
|
59
|
+
readonly inTrash: boolean;
|
|
60
|
+
readonly includeObsoleteMetrics: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Last error message occurred.
|
|
63
|
+
*/
|
|
64
|
+
readonly lastErrorMessage: string;
|
|
65
|
+
/**
|
|
66
|
+
* Timestamp of the last failed derived metric.
|
|
67
|
+
*/
|
|
68
|
+
readonly lastFailedTime: number;
|
|
69
|
+
/**
|
|
70
|
+
* The last processed timestamp.
|
|
71
|
+
*/
|
|
72
|
+
readonly lastProcessedMillis: number;
|
|
73
|
+
/**
|
|
74
|
+
* The timestamp indicating the last time the query was executed.
|
|
75
|
+
*/
|
|
76
|
+
readonly lastQueryTime: number;
|
|
77
|
+
/**
|
|
78
|
+
* A list of metrics used in the derived metric.
|
|
79
|
+
*/
|
|
80
|
+
readonly metricsUseds: string[];
|
|
81
|
+
/**
|
|
82
|
+
* How frequently the query generating the derived metric is run.
|
|
83
|
+
*/
|
|
84
|
+
readonly minutes: number;
|
|
85
|
+
/**
|
|
86
|
+
* The name of the derived metric in Wavefront.
|
|
87
|
+
*/
|
|
88
|
+
readonly name: string;
|
|
89
|
+
/**
|
|
90
|
+
* The number of points scanned when last query was executed.
|
|
91
|
+
* * `includeObsoleteMetrics` -A Boolean flag indicating whether to include obsolete metrics or not.
|
|
92
|
+
*/
|
|
93
|
+
readonly pointsScannedAtLastQuery: number;
|
|
94
|
+
/**
|
|
95
|
+
* The specified query is executed every `processRateMinutes` minutes.
|
|
96
|
+
*/
|
|
97
|
+
readonly processRateMinutes: number;
|
|
98
|
+
readonly query: string;
|
|
99
|
+
/**
|
|
100
|
+
* A Boolean variable indicating whether query is failing for the derived metric.
|
|
101
|
+
*/
|
|
102
|
+
readonly queryFailing: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* A Boolean flag for enabling `queryQb`
|
|
105
|
+
*/
|
|
106
|
+
readonly queryQbEnabled: boolean;
|
|
107
|
+
/**
|
|
108
|
+
* The status of the derived metric.
|
|
109
|
+
*/
|
|
110
|
+
readonly statuses: string[];
|
|
111
|
+
/**
|
|
112
|
+
* A set of tags assigned to the derived metric.
|
|
113
|
+
*/
|
|
114
|
+
readonly tags: string[];
|
|
115
|
+
/**
|
|
116
|
+
* The ID of the user who updated the derived metric.
|
|
117
|
+
*/
|
|
118
|
+
readonly updateUserId: string;
|
|
119
|
+
/**
|
|
120
|
+
* The timestamp in epoch milliseconds indicating when the derived metric is updated.
|
|
121
|
+
*/
|
|
122
|
+
readonly updatedEpochMillis: number;
|
|
123
|
+
}
|
|
124
|
+
export declare function getDerivedMetricOutput(args: GetDerivedMetricOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDerivedMetricResult>;
|
|
125
|
+
/**
|
|
126
|
+
* A collection of arguments for invoking getDerivedMetric.
|
|
127
|
+
*/
|
|
128
|
+
export interface GetDerivedMetricOutputArgs {
|
|
129
|
+
/**
|
|
130
|
+
* The ID associated with the derived metric data to be fetched.
|
|
131
|
+
*/
|
|
132
|
+
id: pulumi.Input<string>;
|
|
133
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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.getDerivedMetricOutput = exports.getDerivedMetric = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to get information about a certain Wavefront derived metric by its ID.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as wavefront from "@pulumi/wavefront";
|
|
16
|
+
*
|
|
17
|
+
* //Get the information about a derived metric.
|
|
18
|
+
* const example = pulumi.output(wavefront.getDerivedMetric({
|
|
19
|
+
* id: "derived_metric_id",
|
|
20
|
+
* }));
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
function getDerivedMetric(args, opts) {
|
|
24
|
+
if (!opts) {
|
|
25
|
+
opts = {};
|
|
26
|
+
}
|
|
27
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
28
|
+
return pulumi.runtime.invoke("wavefront:index/getDerivedMetric:getDerivedMetric", {
|
|
29
|
+
"id": args.id,
|
|
30
|
+
}, opts);
|
|
31
|
+
}
|
|
32
|
+
exports.getDerivedMetric = getDerivedMetric;
|
|
33
|
+
function getDerivedMetricOutput(args, opts) {
|
|
34
|
+
return pulumi.output(args).apply(a => getDerivedMetric(a, opts));
|
|
35
|
+
}
|
|
36
|
+
exports.getDerivedMetricOutput = getDerivedMetricOutput;
|
|
37
|
+
//# sourceMappingURL=getDerivedMetric.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDerivedMetric.js","sourceRoot":"","sources":["../getDerivedMetric.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mDAAmD,EAAE;QAC9E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,4CASC;AA8GD,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,wDAEC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to get information about all Wavefront derived metrics.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as wavefront from "@pulumi/wavefront";
|
|
11
|
+
*
|
|
12
|
+
* // Get the information about all derived metrics.
|
|
13
|
+
* const example = pulumi.output(wavefront.getDerivedMetrics({
|
|
14
|
+
* limit: 10,
|
|
15
|
+
* offset: 0,
|
|
16
|
+
* }));
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export declare function getDerivedMetrics(args?: GetDerivedMetricsArgs, opts?: pulumi.InvokeOptions): Promise<GetDerivedMetricsResult>;
|
|
20
|
+
/**
|
|
21
|
+
* A collection of arguments for invoking getDerivedMetrics.
|
|
22
|
+
*/
|
|
23
|
+
export interface GetDerivedMetricsArgs {
|
|
24
|
+
/**
|
|
25
|
+
* Limit is the maximum number of results to be returned. Defaults to 100.
|
|
26
|
+
*/
|
|
27
|
+
limit?: number;
|
|
28
|
+
/**
|
|
29
|
+
* Offset is the offset from the first result to be returned. Defaults to 0.
|
|
30
|
+
*/
|
|
31
|
+
offset?: number;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* A collection of values returned by getDerivedMetrics.
|
|
35
|
+
*/
|
|
36
|
+
export interface GetDerivedMetricsResult {
|
|
37
|
+
/**
|
|
38
|
+
* List of all derived metrics in Wavefront. For each derived metric you will see a list of attributes.
|
|
39
|
+
*/
|
|
40
|
+
readonly derivedMetrics: outputs.GetDerivedMetricsDerivedMetric[];
|
|
41
|
+
/**
|
|
42
|
+
* The provider-assigned unique ID for this managed resource.
|
|
43
|
+
*/
|
|
44
|
+
readonly id: string;
|
|
45
|
+
readonly limit?: number;
|
|
46
|
+
readonly offset?: number;
|
|
47
|
+
}
|
|
48
|
+
export declare function getDerivedMetricsOutput(args?: GetDerivedMetricsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDerivedMetricsResult>;
|
|
49
|
+
/**
|
|
50
|
+
* A collection of arguments for invoking getDerivedMetrics.
|
|
51
|
+
*/
|
|
52
|
+
export interface GetDerivedMetricsOutputArgs {
|
|
53
|
+
/**
|
|
54
|
+
* Limit is the maximum number of results to be returned. Defaults to 100.
|
|
55
|
+
*/
|
|
56
|
+
limit?: pulumi.Input<number>;
|
|
57
|
+
/**
|
|
58
|
+
* Offset is the offset from the first result to be returned. Defaults to 0.
|
|
59
|
+
*/
|
|
60
|
+
offset?: pulumi.Input<number>;
|
|
61
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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.getDerivedMetricsOutput = exports.getDerivedMetrics = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to get information about all Wavefront derived metrics.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as wavefront from "@pulumi/wavefront";
|
|
16
|
+
*
|
|
17
|
+
* // Get the information about all derived metrics.
|
|
18
|
+
* const example = pulumi.output(wavefront.getDerivedMetrics({
|
|
19
|
+
* limit: 10,
|
|
20
|
+
* offset: 0,
|
|
21
|
+
* }));
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
function getDerivedMetrics(args, opts) {
|
|
25
|
+
args = args || {};
|
|
26
|
+
if (!opts) {
|
|
27
|
+
opts = {};
|
|
28
|
+
}
|
|
29
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
30
|
+
return pulumi.runtime.invoke("wavefront:index/getDerivedMetrics:getDerivedMetrics", {
|
|
31
|
+
"limit": args.limit,
|
|
32
|
+
"offset": args.offset,
|
|
33
|
+
}, opts);
|
|
34
|
+
}
|
|
35
|
+
exports.getDerivedMetrics = getDerivedMetrics;
|
|
36
|
+
function getDerivedMetricsOutput(args, opts) {
|
|
37
|
+
return pulumi.output(args).apply(a => getDerivedMetrics(a, opts));
|
|
38
|
+
}
|
|
39
|
+
exports.getDerivedMetricsOutput = getDerivedMetricsOutput;
|
|
40
|
+
//# sourceMappingURL=getDerivedMetrics.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDerivedMetrics.js","sourceRoot":"","sources":["../getDerivedMetrics.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qDAAqD,EAAE;QAChF,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,8CAWC;AAgCD,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAA2B;IACnG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,0DAEC"}
|
package/getEvent.d.ts
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Use this data source to get information about a certain Wavefront event.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as wavefront from "@pulumi/wavefront";
|
|
10
|
+
*
|
|
11
|
+
* // Get the information about a Wavefront event by its ID.
|
|
12
|
+
* const example = pulumi.output(wavefront.getEvent({
|
|
13
|
+
* id: "sample-event-id",
|
|
14
|
+
* }));
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare function getEvent(args: GetEventArgs, opts?: pulumi.InvokeOptions): Promise<GetEventResult>;
|
|
18
|
+
/**
|
|
19
|
+
* A collection of arguments for invoking getEvent.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetEventArgs {
|
|
22
|
+
/**
|
|
23
|
+
* The ID associated with the event data to be fetched.
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* A collection of values returned by getEvent.
|
|
29
|
+
*/
|
|
30
|
+
export interface GetEventResult {
|
|
31
|
+
/**
|
|
32
|
+
* Annotations associated with the event.
|
|
33
|
+
*/
|
|
34
|
+
readonly annotations: {
|
|
35
|
+
[key: string]: string;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* The description of the event.
|
|
39
|
+
*/
|
|
40
|
+
readonly details: string;
|
|
41
|
+
readonly endtimeKey: number;
|
|
42
|
+
/**
|
|
43
|
+
* The ID of the event in Wavefront.
|
|
44
|
+
* * `startTime`- The start time of the event in epoch milliseconds.
|
|
45
|
+
*/
|
|
46
|
+
readonly id: string;
|
|
47
|
+
/**
|
|
48
|
+
* A Boolean flag. If set to `true`, creates a point-in-time event (i.e. with no duration).
|
|
49
|
+
*/
|
|
50
|
+
readonly isEphemeral: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* The name of the event in Wavefront.
|
|
53
|
+
*/
|
|
54
|
+
readonly name: string;
|
|
55
|
+
/**
|
|
56
|
+
* The severity category of the event.
|
|
57
|
+
*/
|
|
58
|
+
readonly severity: string;
|
|
59
|
+
readonly startTime: number;
|
|
60
|
+
/**
|
|
61
|
+
* A set of tags assigned to the event.
|
|
62
|
+
*/
|
|
63
|
+
readonly tags: string[];
|
|
64
|
+
/**
|
|
65
|
+
* The type of the event.
|
|
66
|
+
*/
|
|
67
|
+
readonly type: string;
|
|
68
|
+
}
|
|
69
|
+
export declare function getEventOutput(args: GetEventOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetEventResult>;
|
|
70
|
+
/**
|
|
71
|
+
* A collection of arguments for invoking getEvent.
|
|
72
|
+
*/
|
|
73
|
+
export interface GetEventOutputArgs {
|
|
74
|
+
/**
|
|
75
|
+
* The ID associated with the event data to be fetched.
|
|
76
|
+
*/
|
|
77
|
+
id: pulumi.Input<string>;
|
|
78
|
+
}
|
package/getEvent.js
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
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.getEventOutput = exports.getEvent = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to get information about a certain Wavefront event.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as wavefront from "@pulumi/wavefront";
|
|
16
|
+
*
|
|
17
|
+
* // Get the information about a Wavefront event by its ID.
|
|
18
|
+
* const example = pulumi.output(wavefront.getEvent({
|
|
19
|
+
* id: "sample-event-id",
|
|
20
|
+
* }));
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
function getEvent(args, opts) {
|
|
24
|
+
if (!opts) {
|
|
25
|
+
opts = {};
|
|
26
|
+
}
|
|
27
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
28
|
+
return pulumi.runtime.invoke("wavefront:index/getEvent:getEvent", {
|
|
29
|
+
"id": args.id,
|
|
30
|
+
}, opts);
|
|
31
|
+
}
|
|
32
|
+
exports.getEvent = getEvent;
|
|
33
|
+
function getEventOutput(args, opts) {
|
|
34
|
+
return pulumi.output(args).apply(a => getEvent(a, opts));
|
|
35
|
+
}
|
|
36
|
+
exports.getEventOutput = getEventOutput;
|
|
37
|
+
//# sourceMappingURL=getEvent.js.map
|
package/getEvent.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getEvent.js","sourceRoot":"","sources":["../getEvent.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,4BASC;AAqDD,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5D,CAAC;AAFD,wCAEC"}
|