@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.
Files changed (129) hide show
  1. package/alert.d.ts +12 -0
  2. package/alert.js +24 -22
  3. package/alert.js.map +1 -1
  4. package/alertTarget.d.ts +2 -1
  5. package/alertTarget.js +22 -22
  6. package/alertTarget.js.map +1 -1
  7. package/cloudIntegrationAppDynamics.js +25 -23
  8. package/cloudIntegrationAppDynamics.js.map +1 -1
  9. package/cloudIntegrationAwsExternalId.js +12 -12
  10. package/cloudIntegrationAwsExternalId.js.map +1 -1
  11. package/cloudIntegrationAzure.js +25 -23
  12. package/cloudIntegrationAzure.js.map +1 -1
  13. package/cloudIntegrationAzureActivityLog.js +25 -23
  14. package/cloudIntegrationAzureActivityLog.js.map +1 -1
  15. package/cloudIntegrationCloudTrail.js +22 -22
  16. package/cloudIntegrationCloudTrail.js.map +1 -1
  17. package/cloudIntegrationCloudWatch.js +22 -22
  18. package/cloudIntegrationCloudWatch.js.map +1 -1
  19. package/cloudIntegrationEc2.js +22 -22
  20. package/cloudIntegrationEc2.js.map +1 -1
  21. package/cloudIntegrationGcp.js +25 -23
  22. package/cloudIntegrationGcp.js.map +1 -1
  23. package/cloudIntegrationGcpBilling.js +26 -24
  24. package/cloudIntegrationGcpBilling.js.map +1 -1
  25. package/cloudIntegrationNewRelic.d.ts +2 -1
  26. package/cloudIntegrationNewRelic.js +25 -23
  27. package/cloudIntegrationNewRelic.js.map +1 -1
  28. package/dashboard.d.ts +2 -1
  29. package/dashboard.js +22 -22
  30. package/dashboard.js.map +1 -1
  31. package/dashboardJson.d.ts +2 -0
  32. package/dashboardJson.js +19 -17
  33. package/dashboardJson.js.map +1 -1
  34. package/derivedMetric.js +22 -22
  35. package/derivedMetric.js.map +1 -1
  36. package/event.d.ts +120 -0
  37. package/event.js +87 -0
  38. package/event.js.map +1 -0
  39. package/externalLink.js +22 -22
  40. package/externalLink.js.map +1 -1
  41. package/getAlert.d.ts +145 -0
  42. package/getAlert.js +38 -0
  43. package/getAlert.js.map +1 -0
  44. package/getAlerts.d.ts +61 -0
  45. package/getAlerts.js +40 -0
  46. package/getAlerts.js.map +1 -0
  47. package/getDashboard.d.ts +112 -0
  48. package/getDashboard.js +37 -0
  49. package/getDashboard.js.map +1 -0
  50. package/getDashboards.d.ts +61 -0
  51. package/getDashboards.js +40 -0
  52. package/getDashboards.js.map +1 -0
  53. package/getDerivedMetric.d.ts +133 -0
  54. package/getDerivedMetric.js +37 -0
  55. package/getDerivedMetric.js.map +1 -0
  56. package/getDerivedMetrics.d.ts +61 -0
  57. package/getDerivedMetrics.js +40 -0
  58. package/getDerivedMetrics.js.map +1 -0
  59. package/getEvent.d.ts +78 -0
  60. package/getEvent.js +37 -0
  61. package/getEvent.js.map +1 -0
  62. package/getEvents.d.ts +87 -0
  63. package/getEvents.js +43 -0
  64. package/getEvents.js.map +1 -0
  65. package/getExternalLink.d.ts +94 -0
  66. package/getExternalLink.js +37 -0
  67. package/getExternalLink.js.map +1 -0
  68. package/getExternalLinks.d.ts +61 -0
  69. package/getExternalLinks.js +40 -0
  70. package/getExternalLinks.js.map +1 -0
  71. package/getMaintenanceWindow.d.ts +119 -0
  72. package/getMaintenanceWindow.js +37 -0
  73. package/getMaintenanceWindow.js.map +1 -0
  74. package/getMaintenanceWindowAll.d.ts +30 -0
  75. package/getMaintenanceWindowAll.js +24 -0
  76. package/getMaintenanceWindowAll.js.map +1 -0
  77. package/getMetricsPolicy.d.ts +16 -0
  78. package/getMetricsPolicy.js +16 -0
  79. package/getMetricsPolicy.js.map +1 -0
  80. package/getRole.d.ts +57 -0
  81. package/getRole.js +37 -0
  82. package/getRole.js.map +1 -0
  83. package/getRoles.d.ts +61 -0
  84. package/getRoles.js +40 -0
  85. package/getRoles.js.map +1 -0
  86. package/getUser.d.ts +60 -0
  87. package/getUser.js +37 -0
  88. package/getUser.js.map +1 -0
  89. package/getUserGroup.d.ts +61 -0
  90. package/getUserGroup.js +37 -0
  91. package/getUserGroup.js.map +1 -0
  92. package/getUserGroups.d.ts +61 -0
  93. package/getUserGroups.js +40 -0
  94. package/getUserGroups.js.map +1 -0
  95. package/getUsers.d.ts +29 -0
  96. package/getUsers.js +29 -0
  97. package/getUsers.js.map +1 -0
  98. package/index.d.ts +132 -25
  99. package/index.js +138 -92
  100. package/index.js.map +1 -1
  101. package/ingestionPolicy.d.ts +3 -0
  102. package/ingestionPolicy.js +24 -19
  103. package/ingestionPolicy.js.map +1 -1
  104. package/maintenanceWindow.js +22 -22
  105. package/maintenanceWindow.js.map +1 -1
  106. package/metricsPolicy.d.ts +83 -0
  107. package/metricsPolicy.js +73 -0
  108. package/metricsPolicy.js.map +1 -0
  109. package/package.json +4 -3
  110. package/package.json.bak +2 -1
  111. package/package.json.dev +4 -3
  112. package/provider.js +10 -10
  113. package/provider.js.map +1 -1
  114. package/role.js +20 -20
  115. package/role.js.map +1 -1
  116. package/serviceAccount.js +22 -22
  117. package/serviceAccount.js.map +1 -1
  118. package/types/index.js.map +1 -1
  119. package/types/input.d.ts +49 -1
  120. package/types/output.d.ts +1157 -1
  121. package/user.js +22 -22
  122. package/user.js.map +1 -1
  123. package/userGroup.js +19 -19
  124. package/userGroup.js.map +1 -1
  125. package/utilities.js +13 -1
  126. package/utilities.js.map +1 -1
  127. package/cloudIntegrationTesla.d.ts +0 -150
  128. package/cloudIntegrationTesla.js +0 -94
  129. package/cloudIntegrationTesla.js.map +0 -1
package/getEvents.d.ts ADDED
@@ -0,0 +1,87 @@
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 events.
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 events
13
+ * const example = pulumi.output(wavefront.getEvents({
14
+ * earliestStartTimeEpochMillis: 1665427195,
15
+ * latestStartTimeEpochMillis: 1665427195,
16
+ * limit: 10,
17
+ * offset: 0,
18
+ * }));
19
+ * ```
20
+ */
21
+ export declare function getEvents(args: GetEventsArgs, opts?: pulumi.InvokeOptions): Promise<GetEventsResult>;
22
+ /**
23
+ * A collection of arguments for invoking getEvents.
24
+ */
25
+ export interface GetEventsArgs {
26
+ /**
27
+ * The earliest start time in epoch milliseconds.
28
+ */
29
+ earliestStartTimeEpochMillis: number;
30
+ /**
31
+ * The latest start time in epoch milliseconds.
32
+ */
33
+ latestStartTimeEpochMillis: number;
34
+ /**
35
+ * Limit is the maximum number of results to be returned. Defaults to 100.
36
+ */
37
+ limit?: number;
38
+ /**
39
+ * Offset is the offset from the first result to be returned. Defaults to 0.
40
+ */
41
+ offset?: number;
42
+ }
43
+ /**
44
+ * A collection of values returned by getEvents.
45
+ */
46
+ export interface GetEventsResult {
47
+ /**
48
+ * Earliest start time in epoch milliseconds.
49
+ */
50
+ readonly earliestStartTimeEpochMillis: number;
51
+ /**
52
+ * List of all events in Wavefront. For each event you will see a list of attributes.
53
+ */
54
+ readonly events: outputs.GetEventsEvent[];
55
+ /**
56
+ * The provider-assigned unique ID for this managed resource.
57
+ */
58
+ readonly id: string;
59
+ /**
60
+ * Latest start time in epoch milliseconds.
61
+ */
62
+ readonly latestStartTimeEpochMillis: number;
63
+ readonly limit?: number;
64
+ readonly offset?: number;
65
+ }
66
+ export declare function getEventsOutput(args: GetEventsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetEventsResult>;
67
+ /**
68
+ * A collection of arguments for invoking getEvents.
69
+ */
70
+ export interface GetEventsOutputArgs {
71
+ /**
72
+ * The earliest start time in epoch milliseconds.
73
+ */
74
+ earliestStartTimeEpochMillis: pulumi.Input<number>;
75
+ /**
76
+ * The latest start time in epoch milliseconds.
77
+ */
78
+ latestStartTimeEpochMillis: pulumi.Input<number>;
79
+ /**
80
+ * Limit is the maximum number of results to be returned. Defaults to 100.
81
+ */
82
+ limit?: pulumi.Input<number>;
83
+ /**
84
+ * Offset is the offset from the first result to be returned. Defaults to 0.
85
+ */
86
+ offset?: pulumi.Input<number>;
87
+ }
package/getEvents.js ADDED
@@ -0,0 +1,43 @@
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.getEventsOutput = exports.getEvents = 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 events.
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 events
18
+ * const example = pulumi.output(wavefront.getEvents({
19
+ * earliestStartTimeEpochMillis: 1665427195,
20
+ * latestStartTimeEpochMillis: 1665427195,
21
+ * limit: 10,
22
+ * offset: 0,
23
+ * }));
24
+ * ```
25
+ */
26
+ function getEvents(args, opts) {
27
+ if (!opts) {
28
+ opts = {};
29
+ }
30
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
31
+ return pulumi.runtime.invoke("wavefront:index/getEvents:getEvents", {
32
+ "earliestStartTimeEpochMillis": args.earliestStartTimeEpochMillis,
33
+ "latestStartTimeEpochMillis": args.latestStartTimeEpochMillis,
34
+ "limit": args.limit,
35
+ "offset": args.offset,
36
+ }, opts);
37
+ }
38
+ exports.getEvents = getEvents;
39
+ function getEventsOutput(args, opts) {
40
+ return pulumi.output(args).apply(a => getEvents(a, opts));
41
+ }
42
+ exports.getEventsOutput = getEventsOutput;
43
+ //# sourceMappingURL=getEvents.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getEvents.js","sourceRoot":"","sources":["../getEvents.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,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,qCAAqC,EAAE;QAChE,8BAA8B,EAAE,IAAI,CAAC,4BAA4B;QACjE,4BAA4B,EAAE,IAAI,CAAC,0BAA0B;QAC7D,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,8BAYC;AAgDD,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7D,CAAC;AAFD,0CAEC"}
@@ -0,0 +1,94 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Use this data source to get information about a Wavefront external link 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 specific external links.
12
+ * const example = pulumi.output(wavefront.getExternalLink({
13
+ * id: "sample-external-link-id",
14
+ * }));
15
+ * ```
16
+ */
17
+ export declare function getExternalLink(args: GetExternalLinkArgs, opts?: pulumi.InvokeOptions): Promise<GetExternalLinkResult>;
18
+ /**
19
+ * A collection of arguments for invoking getExternalLink.
20
+ */
21
+ export interface GetExternalLinkArgs {
22
+ /**
23
+ * The ID of the external link.
24
+ */
25
+ id: string;
26
+ }
27
+ /**
28
+ * A collection of values returned by getExternalLink.
29
+ */
30
+ export interface GetExternalLinkResult {
31
+ /**
32
+ * The timestamp in epoch milliseconds indicating when the external link is created.
33
+ */
34
+ readonly createdEpochMillis: number;
35
+ /**
36
+ * The ID of the user who created the external link.
37
+ */
38
+ readonly creatorId: string;
39
+ /**
40
+ * Human-readable description of this link.
41
+ */
42
+ readonly description: string;
43
+ /**
44
+ * The ID of the external link.
45
+ */
46
+ readonly id: string;
47
+ /**
48
+ * Whether this is a "Log Integration" subType of external link.
49
+ */
50
+ readonly isLogIntegration: boolean;
51
+ /**
52
+ * Controls whether a link is displayed in the context menu of a highlighted series. If present, the metric name of the highlighted series must match this regular expression in order for the link to be displayed.
53
+ */
54
+ readonly metricFilterRegex: string;
55
+ /**
56
+ * The name of the external link.
57
+ */
58
+ readonly name: string;
59
+ /**
60
+ * (Optional) Controls whether a link is displayed in the context menu of a highlighted
61
+ * series. This is a map from string to regular expression. The highlighted series must contain point tags whose
62
+ * keys are present in the keys of this map and whose values match the regular expressions associated with those
63
+ * keys in order for the link to be displayed.
64
+ */
65
+ readonly pointTagFilterRegexes: {
66
+ [key: string]: string;
67
+ };
68
+ /**
69
+ * Controls whether a link is displayed in the context menu of a highlighted series. If present, the source name of the highlighted series must match this regular expression in order for the link to be displayed.
70
+ */
71
+ readonly sourceFilterRegex: string;
72
+ /**
73
+ * The mustache template for the link. The template must expand to a full URL, including scheme, origin, etc.
74
+ */
75
+ readonly template: string;
76
+ /**
77
+ * The timestamp in epoch milliseconds indicating when the external link is updated.
78
+ */
79
+ readonly updatedEpochMillis: number;
80
+ /**
81
+ * The ID of the user who updated the external link.
82
+ */
83
+ readonly updaterId: string;
84
+ }
85
+ export declare function getExternalLinkOutput(args: GetExternalLinkOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetExternalLinkResult>;
86
+ /**
87
+ * A collection of arguments for invoking getExternalLink.
88
+ */
89
+ export interface GetExternalLinkOutputArgs {
90
+ /**
91
+ * The ID of the external link.
92
+ */
93
+ id: pulumi.Input<string>;
94
+ }
@@ -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.getExternalLinkOutput = exports.getExternalLink = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Use this data source to get information about a Wavefront external link 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 specific external links.
18
+ * const example = pulumi.output(wavefront.getExternalLink({
19
+ * id: "sample-external-link-id",
20
+ * }));
21
+ * ```
22
+ */
23
+ function getExternalLink(args, opts) {
24
+ if (!opts) {
25
+ opts = {};
26
+ }
27
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
28
+ return pulumi.runtime.invoke("wavefront:index/getExternalLink:getExternalLink", {
29
+ "id": args.id,
30
+ }, opts);
31
+ }
32
+ exports.getExternalLink = getExternalLink;
33
+ function getExternalLinkOutput(args, opts) {
34
+ return pulumi.output(args).apply(a => getExternalLink(a, opts));
35
+ }
36
+ exports.getExternalLinkOutput = getExternalLinkOutput;
37
+ //# sourceMappingURL=getExternalLink.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getExternalLink.js","sourceRoot":"","sources":["../getExternalLink.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,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,iDAAiD,EAAE;QAC5E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,0CASC;AAqED,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,sDAEC"}
@@ -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 external links.
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 external links.
13
+ * const example = pulumi.output(wavefront.getExternalLinks({
14
+ * limit: 10,
15
+ * offset: 0,
16
+ * }));
17
+ * ```
18
+ */
19
+ export declare function getExternalLinks(args?: GetExternalLinksArgs, opts?: pulumi.InvokeOptions): Promise<GetExternalLinksResult>;
20
+ /**
21
+ * A collection of arguments for invoking getExternalLinks.
22
+ */
23
+ export interface GetExternalLinksArgs {
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 getExternalLinks.
35
+ */
36
+ export interface GetExternalLinksResult {
37
+ /**
38
+ * List of all external links in Wavefront. For each external link you will see a list of attributes.
39
+ */
40
+ readonly externalLinks: outputs.GetExternalLinksExternalLink[];
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 getExternalLinksOutput(args?: GetExternalLinksOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetExternalLinksResult>;
49
+ /**
50
+ * A collection of arguments for invoking getExternalLinks.
51
+ */
52
+ export interface GetExternalLinksOutputArgs {
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.getExternalLinksOutput = exports.getExternalLinks = 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 external links.
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 external links.
18
+ * const example = pulumi.output(wavefront.getExternalLinks({
19
+ * limit: 10,
20
+ * offset: 0,
21
+ * }));
22
+ * ```
23
+ */
24
+ function getExternalLinks(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/getExternalLinks:getExternalLinks", {
31
+ "limit": args.limit,
32
+ "offset": args.offset,
33
+ }, opts);
34
+ }
35
+ exports.getExternalLinks = getExternalLinks;
36
+ function getExternalLinksOutput(args, opts) {
37
+ return pulumi.output(args).apply(a => getExternalLinks(a, opts));
38
+ }
39
+ exports.getExternalLinksOutput = getExternalLinksOutput;
40
+ //# sourceMappingURL=getExternalLinks.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getExternalLinks.js","sourceRoot":"","sources":["../getExternalLinks.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,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,mDAAmD,EAAE;QAC9E,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,4CAWC;AAgCD,SAAgB,sBAAsB,CAAC,IAAiC,EAAE,IAA2B;IACjG,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,119 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Use this data source to get information about a Wavefront maintenance window 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 specific maintenance window.
12
+ * const example = pulumi.output(wavefront.getMaintenanceWindow({
13
+ * id: "sample-maintenance-window-id",
14
+ * }));
15
+ * ```
16
+ */
17
+ export declare function getMaintenanceWindow(args: GetMaintenanceWindowArgs, opts?: pulumi.InvokeOptions): Promise<GetMaintenanceWindowResult>;
18
+ /**
19
+ * A collection of arguments for invoking getMaintenanceWindow.
20
+ */
21
+ export interface GetMaintenanceWindowArgs {
22
+ /**
23
+ * The ID of the maintenance window.
24
+ */
25
+ id: string;
26
+ }
27
+ /**
28
+ * A collection of values returned by getMaintenanceWindow.
29
+ */
30
+ export interface GetMaintenanceWindowResult {
31
+ /**
32
+ * The timestamp in epoch milliseconds indicating when the maintenance window is created.
33
+ */
34
+ readonly createdEpochMillis: number;
35
+ /**
36
+ * The ID of the user who created the maintenance window.
37
+ */
38
+ readonly creatorId: string;
39
+ /**
40
+ * The ID of the customer in Wavefront.
41
+ */
42
+ readonly customerId: string;
43
+ /**
44
+ * The end time in seconds after 1 Jan 1970 GMT.
45
+ */
46
+ readonly endTimeInSeconds: number;
47
+ /**
48
+ * The event name of the maintenance window.
49
+ */
50
+ readonly eventName: string;
51
+ /**
52
+ * If set to `true`, the source or host must be in `relevantHostNames` and must have tags matching the specification formed by `relevantHostTags` and `relevantHostTagsAnded` in for this maintenance window to apply.
53
+ * If set to false, the source or host must either be in `relevantHostNames` or match `relevantHostTags` and `relevantHostTagsAnded`. Default value is `false`.
54
+ */
55
+ readonly hostTagGroupHostNamesGroupAnded: boolean;
56
+ /**
57
+ * The ID of the maintenance window.
58
+ */
59
+ readonly id: string;
60
+ /**
61
+ * The reason for the maintenance window.
62
+ */
63
+ readonly reason: string;
64
+ /**
65
+ * The list of alert tags whose matching alerts will be put into maintenance because
66
+ * of this maintenance window. At least one of `relevantCustomerTags`, `relevantHostTags`, or `relevantHostNames`
67
+ * is required.
68
+ */
69
+ readonly relevantCustomerTags: string[];
70
+ /**
71
+ * The list of source or host names that will be put into maintenance because of this
72
+ * maintenance window. At least one of `relevantCustomerTags`, `relevantHostTags`, or `relevantHostNames`
73
+ * is required.
74
+ */
75
+ readonly relevantHostNames: string[];
76
+ /**
77
+ * The list of source or host tags whose matching sources or hosts will be put into maintenance
78
+ * because of this maintenance window. At least one of `relevantCustomerTags`, `relevantHostTags`, or
79
+ * `relevantHostNames` is required.
80
+ */
81
+ readonly relevantHostTags: string[];
82
+ /**
83
+ * Whether to AND source or host tags listed in `relevantHostTags`.
84
+ * If set to `true`, the source or host must contain all tags for the maintenance window to apply. If set to `false`,
85
+ * the tags are OR'ed, and the source or host must contain one of the tags. Default value is `false`.
86
+ */
87
+ readonly relevantHostTagsAnded: boolean;
88
+ /**
89
+ * The running state of the maintenance window.
90
+ */
91
+ readonly runningState: string;
92
+ readonly sortAttr: number;
93
+ /**
94
+ * The start time in seconds after 1 Jan 1970 GMT.
95
+ */
96
+ readonly startTimeInSeconds: number;
97
+ /**
98
+ * The title of the maintenance window.
99
+ */
100
+ readonly title: string;
101
+ /**
102
+ * The timestamp in epoch milliseconds indicating when the maintenance window is updated.
103
+ */
104
+ readonly updatedEpochMillis: number;
105
+ /**
106
+ * The ID of the user who updated the maintenance window.
107
+ */
108
+ readonly updaterId: string;
109
+ }
110
+ export declare function getMaintenanceWindowOutput(args: GetMaintenanceWindowOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetMaintenanceWindowResult>;
111
+ /**
112
+ * A collection of arguments for invoking getMaintenanceWindow.
113
+ */
114
+ export interface GetMaintenanceWindowOutputArgs {
115
+ /**
116
+ * The ID of the maintenance window.
117
+ */
118
+ id: pulumi.Input<string>;
119
+ }
@@ -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.getMaintenanceWindowOutput = exports.getMaintenanceWindow = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Use this data source to get information about a Wavefront maintenance window 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 specific maintenance window.
18
+ * const example = pulumi.output(wavefront.getMaintenanceWindow({
19
+ * id: "sample-maintenance-window-id",
20
+ * }));
21
+ * ```
22
+ */
23
+ function getMaintenanceWindow(args, opts) {
24
+ if (!opts) {
25
+ opts = {};
26
+ }
27
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
28
+ return pulumi.runtime.invoke("wavefront:index/getMaintenanceWindow:getMaintenanceWindow", {
29
+ "id": args.id,
30
+ }, opts);
31
+ }
32
+ exports.getMaintenanceWindow = getMaintenanceWindow;
33
+ function getMaintenanceWindowOutput(args, opts) {
34
+ return pulumi.output(args).apply(a => getMaintenanceWindow(a, opts));
35
+ }
36
+ exports.getMaintenanceWindowOutput = getMaintenanceWindowOutput;
37
+ //# sourceMappingURL=getMaintenanceWindow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getMaintenanceWindow.js","sourceRoot":"","sources":["../getMaintenanceWindow.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,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,2DAA2D,EAAE;QACtF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,oDASC;AAgGD,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IACxG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,oBAAoB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,gEAEC"}
@@ -0,0 +1,30 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ export declare function getMaintenanceWindowAll(args?: GetMaintenanceWindowAllArgs, opts?: pulumi.InvokeOptions): Promise<GetMaintenanceWindowAllResult>;
4
+ /**
5
+ * A collection of arguments for invoking getMaintenanceWindowAll.
6
+ */
7
+ export interface GetMaintenanceWindowAllArgs {
8
+ limit?: number;
9
+ offset?: number;
10
+ }
11
+ /**
12
+ * A collection of values returned by getMaintenanceWindowAll.
13
+ */
14
+ export interface GetMaintenanceWindowAllResult {
15
+ /**
16
+ * The provider-assigned unique ID for this managed resource.
17
+ */
18
+ readonly id: string;
19
+ readonly limit?: number;
20
+ readonly maintenanceWindows: outputs.GetMaintenanceWindowAllMaintenanceWindow[];
21
+ readonly offset?: number;
22
+ }
23
+ export declare function getMaintenanceWindowAllOutput(args?: GetMaintenanceWindowAllOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetMaintenanceWindowAllResult>;
24
+ /**
25
+ * A collection of arguments for invoking getMaintenanceWindowAll.
26
+ */
27
+ export interface GetMaintenanceWindowAllOutputArgs {
28
+ limit?: pulumi.Input<number>;
29
+ offset?: pulumi.Input<number>;
30
+ }
@@ -0,0 +1,24 @@
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.getMaintenanceWindowAllOutput = exports.getMaintenanceWindowAll = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ function getMaintenanceWindowAll(args, opts) {
9
+ args = args || {};
10
+ if (!opts) {
11
+ opts = {};
12
+ }
13
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
14
+ return pulumi.runtime.invoke("wavefront:index/getMaintenanceWindowAll:getMaintenanceWindowAll", {
15
+ "limit": args.limit,
16
+ "offset": args.offset,
17
+ }, opts);
18
+ }
19
+ exports.getMaintenanceWindowAll = getMaintenanceWindowAll;
20
+ function getMaintenanceWindowAllOutput(args, opts) {
21
+ return pulumi.output(args).apply(a => getMaintenanceWindowAll(a, opts));
22
+ }
23
+ exports.getMaintenanceWindowAllOutput = getMaintenanceWindowAllOutput;
24
+ //# sourceMappingURL=getMaintenanceWindowAll.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getMaintenanceWindowAll.js","sourceRoot":"","sources":["../getMaintenanceWindowAll.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAA2B;IACnG,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,iEAAiE,EAAE;QAC5F,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,0DAWC;AAuBD,SAAgB,6BAA6B,CAAC,IAAwC,EAAE,IAA2B;IAC/G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,uBAAuB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,sEAEC"}
@@ -0,0 +1,16 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ export declare function getMetricsPolicy(opts?: pulumi.InvokeOptions): Promise<GetMetricsPolicyResult>;
4
+ /**
5
+ * A collection of values returned by getMetricsPolicy.
6
+ */
7
+ export interface GetMetricsPolicyResult {
8
+ readonly customer: string;
9
+ /**
10
+ * The provider-assigned unique ID for this managed resource.
11
+ */
12
+ readonly id: string;
13
+ readonly policyRules: outputs.GetMetricsPolicyPolicyRule[];
14
+ readonly updatedEpochMillis: number;
15
+ readonly updaterId: string;
16
+ }
@@ -0,0 +1,16 @@
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.getMetricsPolicy = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ function getMetricsPolicy(opts) {
9
+ if (!opts) {
10
+ opts = {};
11
+ }
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
13
+ return pulumi.runtime.invoke("wavefront:index/getMetricsPolicy:getMetricsPolicy", {}, opts);
14
+ }
15
+ exports.getMetricsPolicy = getMetricsPolicy;
16
+ //# sourceMappingURL=getMetricsPolicy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getMetricsPolicy.js","sourceRoot":"","sources":["../getMetricsPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,gBAAgB,CAAC,IAA2B;IACxD,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,EACjF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4CAQC"}