@pulumi/newrelic 5.1.0 → 5.2.0
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/alertChannel.d.ts +2 -1
- package/alertChannel.js +22 -22
- package/alertChannel.js.map +1 -1
- package/alertCondition.d.ts +8 -7
- package/alertCondition.js +22 -22
- package/alertCondition.js.map +1 -1
- package/alertMutingRule.d.ts +5 -4
- package/alertMutingRule.js +22 -22
- package/alertMutingRule.js.map +1 -1
- package/alertPolicy.js +20 -20
- package/alertPolicy.js.map +1 -1
- package/alertPolicyChannel.js +22 -22
- package/alertPolicyChannel.js.map +1 -1
- package/apiAccessKey.js +24 -22
- package/apiAccessKey.js.map +1 -1
- package/cloud/awsGovcloudIntegrations.d.ts +2 -1
- package/cloud/awsGovcloudIntegrations.js +22 -22
- package/cloud/awsGovcloudIntegrations.js.map +1 -1
- package/cloud/awsGovcloudLinkAccount.js +26 -24
- package/cloud/awsGovcloudLinkAccount.js.map +1 -1
- package/cloud/awsIntegrations.d.ts +2 -1
- package/cloud/awsIntegrations.js +22 -22
- package/cloud/awsIntegrations.js.map +1 -1
- package/cloud/awsLinkAccount.js +22 -22
- package/cloud/awsLinkAccount.js.map +1 -1
- package/cloud/azureIntegrations.d.ts +89 -64
- package/cloud/azureIntegrations.js +26 -22
- package/cloud/azureIntegrations.js.map +1 -1
- package/cloud/azureLinkAccount.js +25 -23
- package/cloud/azureLinkAccount.js.map +1 -1
- package/cloud/gcpIntegrations.d.ts +14 -1
- package/cloud/gcpIntegrations.js +24 -22
- package/cloud/gcpIntegrations.js.map +1 -1
- package/cloud/gcpLinkAccount.js +21 -21
- package/cloud/gcpLinkAccount.js.map +1 -1
- package/cloud/index.d.ts +24 -8
- package/cloud/index.js +25 -40
- package/cloud/index.js.map +1 -1
- package/entityTags.d.ts +2 -32
- package/entityTags.js +22 -53
- package/entityTags.js.map +1 -1
- package/eventsToMetricsRule.js +22 -22
- package/eventsToMetricsRule.js.map +1 -1
- package/getAlertChannel.d.ts +1 -1
- package/getAlertChannel.js.map +1 -1
- package/getEntity.d.ts +14 -4
- package/getEntity.js +1 -1
- package/getEntity.js.map +1 -1
- package/getObfuscationExpression.d.ts +65 -0
- package/getObfuscationExpression.js +48 -0
- package/getObfuscationExpression.js.map +1 -0
- package/index.d.ts +87 -26
- package/index.js +92 -81
- package/index.js.map +1 -1
- package/infraAlertCondition.d.ts +11 -10
- package/infraAlertCondition.js +22 -22
- package/infraAlertCondition.js.map +1 -1
- package/insights/event.d.ts +2 -1
- package/insights/event.js +17 -17
- package/insights/event.js.map +1 -1
- package/insights/index.d.ts +3 -1
- package/insights/index.js +4 -19
- package/insights/index.js.map +1 -1
- package/notificationChannel.d.ts +68 -13
- package/notificationChannel.js +88 -34
- package/notificationChannel.js.map +1 -1
- package/notificationDestination.d.ts +2 -1
- package/notificationDestination.js +22 -22
- package/notificationDestination.js.map +1 -1
- package/nrqlAlertCondition.d.ts +22 -21
- package/nrqlAlertCondition.js +27 -27
- package/nrqlAlertCondition.js.map +1 -1
- package/nrqlDropRule.js +22 -22
- package/nrqlDropRule.js.map +1 -1
- package/obfuscationExpression.d.ts +108 -0
- package/obfuscationExpression.js +82 -0
- package/obfuscationExpression.js.map +1 -0
- package/obfuscationRule.d.ts +143 -0
- package/obfuscationRule.js +101 -0
- package/obfuscationRule.js.map +1 -0
- package/oneDashboard.d.ts +113 -3
- package/oneDashboard.js +123 -24
- package/oneDashboard.js.map +1 -1
- package/oneDashboardJson.d.ts +3 -15
- package/oneDashboardJson.js +22 -34
- package/oneDashboardJson.js.map +1 -1
- package/oneDashboardRaw.d.ts +4 -1
- package/oneDashboardRaw.js +24 -22
- package/oneDashboardRaw.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/plugins/applicationSettings.js +22 -22
- package/plugins/applicationSettings.js.map +1 -1
- package/plugins/index.d.ts +6 -2
- package/plugins/index.js +7 -22
- package/plugins/index.js.map +1 -1
- package/plugins/workload.d.ts +120 -2
- package/plugins/workload.js +110 -23
- package/plugins/workload.js.map +1 -1
- package/provider.d.ts +3 -3
- package/provider.js +19 -14
- package/provider.js.map +1 -1
- package/serviceLevel.d.ts +2 -1
- package/serviceLevel.js +22 -22
- package/serviceLevel.js.map +1 -1
- package/synthetics/alertCondition.js +22 -22
- package/synthetics/alertCondition.js.map +1 -1
- package/synthetics/brokenLinksMonitor.d.ts +9 -8
- package/synthetics/brokenLinksMonitor.js +26 -26
- package/synthetics/brokenLinksMonitor.js.map +1 -1
- package/synthetics/certCheckMonitor.d.ts +6 -5
- package/synthetics/certCheckMonitor.js +26 -26
- package/synthetics/certCheckMonitor.js.map +1 -1
- package/synthetics/getPrivateLocation.d.ts +35 -0
- package/synthetics/getPrivateLocation.js +27 -0
- package/synthetics/getPrivateLocation.js.map +1 -1
- package/synthetics/getSecureCredential.d.ts +1 -0
- package/synthetics/getSecureCredential.js.map +1 -1
- package/synthetics/index.d.ts +33 -11
- package/synthetics/index.js +34 -45
- package/synthetics/index.js.map +1 -1
- package/synthetics/monitor.d.ts +29 -33
- package/synthetics/monitor.js +40 -45
- package/synthetics/monitor.js.map +1 -1
- package/synthetics/multiLocationAlertCondition.d.ts +2 -1
- package/synthetics/multiLocationAlertCondition.js +22 -22
- package/synthetics/multiLocationAlertCondition.js.map +1 -1
- package/synthetics/privateLocation.d.ts +7 -8
- package/synthetics/privateLocation.js +24 -25
- package/synthetics/privateLocation.js.map +1 -1
- package/synthetics/scriptMonitor.d.ts +15 -21
- package/synthetics/scriptMonitor.js +32 -39
- package/synthetics/scriptMonitor.js.map +1 -1
- package/synthetics/secureCredential.js +25 -23
- package/synthetics/secureCredential.js.map +1 -1
- package/synthetics/stepMonitor.d.ts +6 -5
- package/synthetics/stepMonitor.js +26 -26
- package/synthetics/stepMonitor.js.map +1 -1
- package/types/index.js.map +1 -1
- package/types/input.d.ts +288 -72
- package/types/output.d.ts +282 -72
- package/utilities.js +13 -1
- package/utilities.js.map +1 -1
- package/workflow.d.ts +99 -112
- package/workflow.js +82 -105
- package/workflow.js.map +1 -1
package/index.js
CHANGED
|
@@ -1,51 +1,76 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
-
if (k2 === undefined) k2 = k;
|
|
6
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
-
}
|
|
10
|
-
Object.defineProperty(o, k2, desc);
|
|
11
|
-
}) : (function(o, m, k, k2) {
|
|
12
|
-
if (k2 === undefined) k2 = k;
|
|
13
|
-
o[k2] = m[k];
|
|
14
|
-
}));
|
|
15
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
|
-
};
|
|
18
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.types = exports.synthetics = exports.plugins = exports.insights = exports.config = exports.cloud = void 0;
|
|
5
|
+
exports.types = exports.synthetics = exports.plugins = exports.insights = exports.config = exports.cloud = exports.Workflow = exports.ServiceLevel = exports.Provider = exports.OneDashboardRaw = exports.OneDashboardJson = exports.OneDashboard = exports.ObfuscationRule = exports.ObfuscationExpression = exports.NrqlDropRule = exports.NrqlAlertCondition = exports.NotificationDestination = exports.NotificationChannel = exports.InfraAlertCondition = exports.getObfuscationExpressionOutput = exports.getObfuscationExpression = exports.getKeyTransactionOutput = exports.getKeyTransaction = exports.getEntityOutput = exports.getEntity = exports.getCloudAccountOutput = exports.getCloudAccount = exports.getApplicationOutput = exports.getApplication = exports.getAlertPolicyOutput = exports.getAlertPolicy = exports.getAlertChannelOutput = exports.getAlertChannel = exports.getAccountOutput = exports.getAccount = exports.EventsToMetricsRule = exports.EntityTags = exports.ApiAccessKey = exports.AlertPolicyChannel = exports.AlertPolicy = exports.AlertMutingRule = exports.AlertCondition = exports.AlertChannel = void 0;
|
|
20
6
|
const pulumi = require("@pulumi/pulumi");
|
|
21
7
|
const utilities = require("./utilities");
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
8
|
+
exports.AlertChannel = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["AlertChannel"], () => require("./alertChannel"));
|
|
10
|
+
exports.AlertCondition = null;
|
|
11
|
+
utilities.lazyLoad(exports, ["AlertCondition"], () => require("./alertCondition"));
|
|
12
|
+
exports.AlertMutingRule = null;
|
|
13
|
+
utilities.lazyLoad(exports, ["AlertMutingRule"], () => require("./alertMutingRule"));
|
|
14
|
+
exports.AlertPolicy = null;
|
|
15
|
+
utilities.lazyLoad(exports, ["AlertPolicy"], () => require("./alertPolicy"));
|
|
16
|
+
exports.AlertPolicyChannel = null;
|
|
17
|
+
utilities.lazyLoad(exports, ["AlertPolicyChannel"], () => require("./alertPolicyChannel"));
|
|
18
|
+
exports.ApiAccessKey = null;
|
|
19
|
+
utilities.lazyLoad(exports, ["ApiAccessKey"], () => require("./apiAccessKey"));
|
|
20
|
+
exports.EntityTags = null;
|
|
21
|
+
utilities.lazyLoad(exports, ["EntityTags"], () => require("./entityTags"));
|
|
22
|
+
exports.EventsToMetricsRule = null;
|
|
23
|
+
utilities.lazyLoad(exports, ["EventsToMetricsRule"], () => require("./eventsToMetricsRule"));
|
|
24
|
+
exports.getAccount = null;
|
|
25
|
+
exports.getAccountOutput = null;
|
|
26
|
+
utilities.lazyLoad(exports, ["getAccount", "getAccountOutput"], () => require("./getAccount"));
|
|
27
|
+
exports.getAlertChannel = null;
|
|
28
|
+
exports.getAlertChannelOutput = null;
|
|
29
|
+
utilities.lazyLoad(exports, ["getAlertChannel", "getAlertChannelOutput"], () => require("./getAlertChannel"));
|
|
30
|
+
exports.getAlertPolicy = null;
|
|
31
|
+
exports.getAlertPolicyOutput = null;
|
|
32
|
+
utilities.lazyLoad(exports, ["getAlertPolicy", "getAlertPolicyOutput"], () => require("./getAlertPolicy"));
|
|
33
|
+
exports.getApplication = null;
|
|
34
|
+
exports.getApplicationOutput = null;
|
|
35
|
+
utilities.lazyLoad(exports, ["getApplication", "getApplicationOutput"], () => require("./getApplication"));
|
|
36
|
+
exports.getCloudAccount = null;
|
|
37
|
+
exports.getCloudAccountOutput = null;
|
|
38
|
+
utilities.lazyLoad(exports, ["getCloudAccount", "getCloudAccountOutput"], () => require("./getCloudAccount"));
|
|
39
|
+
exports.getEntity = null;
|
|
40
|
+
exports.getEntityOutput = null;
|
|
41
|
+
utilities.lazyLoad(exports, ["getEntity", "getEntityOutput"], () => require("./getEntity"));
|
|
42
|
+
exports.getKeyTransaction = null;
|
|
43
|
+
exports.getKeyTransactionOutput = null;
|
|
44
|
+
utilities.lazyLoad(exports, ["getKeyTransaction", "getKeyTransactionOutput"], () => require("./getKeyTransaction"));
|
|
45
|
+
exports.getObfuscationExpression = null;
|
|
46
|
+
exports.getObfuscationExpressionOutput = null;
|
|
47
|
+
utilities.lazyLoad(exports, ["getObfuscationExpression", "getObfuscationExpressionOutput"], () => require("./getObfuscationExpression"));
|
|
48
|
+
exports.InfraAlertCondition = null;
|
|
49
|
+
utilities.lazyLoad(exports, ["InfraAlertCondition"], () => require("./infraAlertCondition"));
|
|
50
|
+
exports.NotificationChannel = null;
|
|
51
|
+
utilities.lazyLoad(exports, ["NotificationChannel"], () => require("./notificationChannel"));
|
|
52
|
+
exports.NotificationDestination = null;
|
|
53
|
+
utilities.lazyLoad(exports, ["NotificationDestination"], () => require("./notificationDestination"));
|
|
54
|
+
exports.NrqlAlertCondition = null;
|
|
55
|
+
utilities.lazyLoad(exports, ["NrqlAlertCondition"], () => require("./nrqlAlertCondition"));
|
|
56
|
+
exports.NrqlDropRule = null;
|
|
57
|
+
utilities.lazyLoad(exports, ["NrqlDropRule"], () => require("./nrqlDropRule"));
|
|
58
|
+
exports.ObfuscationExpression = null;
|
|
59
|
+
utilities.lazyLoad(exports, ["ObfuscationExpression"], () => require("./obfuscationExpression"));
|
|
60
|
+
exports.ObfuscationRule = null;
|
|
61
|
+
utilities.lazyLoad(exports, ["ObfuscationRule"], () => require("./obfuscationRule"));
|
|
62
|
+
exports.OneDashboard = null;
|
|
63
|
+
utilities.lazyLoad(exports, ["OneDashboard"], () => require("./oneDashboard"));
|
|
64
|
+
exports.OneDashboardJson = null;
|
|
65
|
+
utilities.lazyLoad(exports, ["OneDashboardJson"], () => require("./oneDashboardJson"));
|
|
66
|
+
exports.OneDashboardRaw = null;
|
|
67
|
+
utilities.lazyLoad(exports, ["OneDashboardRaw"], () => require("./oneDashboardRaw"));
|
|
68
|
+
exports.Provider = null;
|
|
69
|
+
utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
|
|
70
|
+
exports.ServiceLevel = null;
|
|
71
|
+
utilities.lazyLoad(exports, ["ServiceLevel"], () => require("./serviceLevel"));
|
|
72
|
+
exports.Workflow = null;
|
|
73
|
+
utilities.lazyLoad(exports, ["Workflow"], () => require("./workflow"));
|
|
49
74
|
// Export sub-modules:
|
|
50
75
|
const cloud = require("./cloud");
|
|
51
76
|
exports.cloud = cloud;
|
|
@@ -59,65 +84,50 @@ const synthetics = require("./synthetics");
|
|
|
59
84
|
exports.synthetics = synthetics;
|
|
60
85
|
const types = require("./types");
|
|
61
86
|
exports.types = types;
|
|
62
|
-
// Import resources to register:
|
|
63
|
-
const alertChannel_1 = require("./alertChannel");
|
|
64
|
-
const alertCondition_1 = require("./alertCondition");
|
|
65
|
-
const alertMutingRule_1 = require("./alertMutingRule");
|
|
66
|
-
const alertPolicy_1 = require("./alertPolicy");
|
|
67
|
-
const alertPolicyChannel_1 = require("./alertPolicyChannel");
|
|
68
|
-
const apiAccessKey_1 = require("./apiAccessKey");
|
|
69
|
-
const entityTags_1 = require("./entityTags");
|
|
70
|
-
const eventsToMetricsRule_1 = require("./eventsToMetricsRule");
|
|
71
|
-
const infraAlertCondition_1 = require("./infraAlertCondition");
|
|
72
|
-
const notificationChannel_1 = require("./notificationChannel");
|
|
73
|
-
const notificationDestination_1 = require("./notificationDestination");
|
|
74
|
-
const nrqlAlertCondition_1 = require("./nrqlAlertCondition");
|
|
75
|
-
const nrqlDropRule_1 = require("./nrqlDropRule");
|
|
76
|
-
const oneDashboard_1 = require("./oneDashboard");
|
|
77
|
-
const oneDashboardJson_1 = require("./oneDashboardJson");
|
|
78
|
-
const oneDashboardRaw_1 = require("./oneDashboardRaw");
|
|
79
|
-
const serviceLevel_1 = require("./serviceLevel");
|
|
80
|
-
const workflow_1 = require("./workflow");
|
|
81
87
|
const _module = {
|
|
82
88
|
version: utilities.getVersion(),
|
|
83
89
|
construct: (name, type, urn) => {
|
|
84
90
|
switch (type) {
|
|
85
91
|
case "newrelic:index/alertChannel:AlertChannel":
|
|
86
|
-
return new
|
|
92
|
+
return new exports.AlertChannel(name, undefined, { urn });
|
|
87
93
|
case "newrelic:index/alertCondition:AlertCondition":
|
|
88
|
-
return new
|
|
94
|
+
return new exports.AlertCondition(name, undefined, { urn });
|
|
89
95
|
case "newrelic:index/alertMutingRule:AlertMutingRule":
|
|
90
|
-
return new
|
|
96
|
+
return new exports.AlertMutingRule(name, undefined, { urn });
|
|
91
97
|
case "newrelic:index/alertPolicy:AlertPolicy":
|
|
92
|
-
return new
|
|
98
|
+
return new exports.AlertPolicy(name, undefined, { urn });
|
|
93
99
|
case "newrelic:index/alertPolicyChannel:AlertPolicyChannel":
|
|
94
|
-
return new
|
|
100
|
+
return new exports.AlertPolicyChannel(name, undefined, { urn });
|
|
95
101
|
case "newrelic:index/apiAccessKey:ApiAccessKey":
|
|
96
|
-
return new
|
|
102
|
+
return new exports.ApiAccessKey(name, undefined, { urn });
|
|
97
103
|
case "newrelic:index/entityTags:EntityTags":
|
|
98
|
-
return new
|
|
104
|
+
return new exports.EntityTags(name, undefined, { urn });
|
|
99
105
|
case "newrelic:index/eventsToMetricsRule:EventsToMetricsRule":
|
|
100
|
-
return new
|
|
106
|
+
return new exports.EventsToMetricsRule(name, undefined, { urn });
|
|
101
107
|
case "newrelic:index/infraAlertCondition:InfraAlertCondition":
|
|
102
|
-
return new
|
|
108
|
+
return new exports.InfraAlertCondition(name, undefined, { urn });
|
|
103
109
|
case "newrelic:index/notificationChannel:NotificationChannel":
|
|
104
|
-
return new
|
|
110
|
+
return new exports.NotificationChannel(name, undefined, { urn });
|
|
105
111
|
case "newrelic:index/notificationDestination:NotificationDestination":
|
|
106
|
-
return new
|
|
112
|
+
return new exports.NotificationDestination(name, undefined, { urn });
|
|
107
113
|
case "newrelic:index/nrqlAlertCondition:NrqlAlertCondition":
|
|
108
|
-
return new
|
|
114
|
+
return new exports.NrqlAlertCondition(name, undefined, { urn });
|
|
109
115
|
case "newrelic:index/nrqlDropRule:NrqlDropRule":
|
|
110
|
-
return new
|
|
116
|
+
return new exports.NrqlDropRule(name, undefined, { urn });
|
|
117
|
+
case "newrelic:index/obfuscationExpression:ObfuscationExpression":
|
|
118
|
+
return new exports.ObfuscationExpression(name, undefined, { urn });
|
|
119
|
+
case "newrelic:index/obfuscationRule:ObfuscationRule":
|
|
120
|
+
return new exports.ObfuscationRule(name, undefined, { urn });
|
|
111
121
|
case "newrelic:index/oneDashboard:OneDashboard":
|
|
112
|
-
return new
|
|
122
|
+
return new exports.OneDashboard(name, undefined, { urn });
|
|
113
123
|
case "newrelic:index/oneDashboardJson:OneDashboardJson":
|
|
114
|
-
return new
|
|
124
|
+
return new exports.OneDashboardJson(name, undefined, { urn });
|
|
115
125
|
case "newrelic:index/oneDashboardRaw:OneDashboardRaw":
|
|
116
|
-
return new
|
|
126
|
+
return new exports.OneDashboardRaw(name, undefined, { urn });
|
|
117
127
|
case "newrelic:index/serviceLevel:ServiceLevel":
|
|
118
|
-
return new
|
|
128
|
+
return new exports.ServiceLevel(name, undefined, { urn });
|
|
119
129
|
case "newrelic:index/workflow:Workflow":
|
|
120
|
-
return new
|
|
130
|
+
return new exports.Workflow(name, undefined, { urn });
|
|
121
131
|
default:
|
|
122
132
|
throw new Error(`unknown resource type ${type}`);
|
|
123
133
|
}
|
|
@@ -136,19 +146,20 @@ pulumi.runtime.registerResourceModule("newrelic", "index/notificationChannel", _
|
|
|
136
146
|
pulumi.runtime.registerResourceModule("newrelic", "index/notificationDestination", _module);
|
|
137
147
|
pulumi.runtime.registerResourceModule("newrelic", "index/nrqlAlertCondition", _module);
|
|
138
148
|
pulumi.runtime.registerResourceModule("newrelic", "index/nrqlDropRule", _module);
|
|
149
|
+
pulumi.runtime.registerResourceModule("newrelic", "index/obfuscationExpression", _module);
|
|
150
|
+
pulumi.runtime.registerResourceModule("newrelic", "index/obfuscationRule", _module);
|
|
139
151
|
pulumi.runtime.registerResourceModule("newrelic", "index/oneDashboard", _module);
|
|
140
152
|
pulumi.runtime.registerResourceModule("newrelic", "index/oneDashboardJson", _module);
|
|
141
153
|
pulumi.runtime.registerResourceModule("newrelic", "index/oneDashboardRaw", _module);
|
|
142
154
|
pulumi.runtime.registerResourceModule("newrelic", "index/serviceLevel", _module);
|
|
143
155
|
pulumi.runtime.registerResourceModule("newrelic", "index/workflow", _module);
|
|
144
|
-
const provider_1 = require("./provider");
|
|
145
156
|
pulumi.runtime.registerResourcePackage("newrelic", {
|
|
146
157
|
version: utilities.getVersion(),
|
|
147
158
|
constructProvider: (name, type, urn) => {
|
|
148
159
|
if (type !== "pulumi:providers:newrelic") {
|
|
149
160
|
throw new Error(`unknown provider type ${type}`);
|
|
150
161
|
}
|
|
151
|
-
return new
|
|
162
|
+
return new exports.Provider(name, undefined, { urn });
|
|
152
163
|
},
|
|
153
164
|
});
|
|
154
165
|
//# sourceMappingURL=index.js.map
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAK5B,QAAA,YAAY,GAAiD,IAAW,CAAC;AACtF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,cAAc,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAIlE,QAAA,cAAc,GAAqD,IAAW,CAAC;AAC5F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,gBAAgB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAItE,QAAA,eAAe,GAAuD,IAAW,CAAC;AAC/F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,iBAAiB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC;AAIxE,QAAA,WAAW,GAA+C,IAAW,CAAC;AACnF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,aAAa,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;AAIhE,QAAA,kBAAkB,GAA6D,IAAW,CAAC;AACxG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,oBAAoB,CAAC,EAAE,GA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,CAAC,UAAU,EAAE,uBAAuB,EAAE,OAAO,CAAC,CAAA;AACnF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA;AAChF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA;AAC5E,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,UAAU,EAAE;IAC/C,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,2BAA2B,EAAE;YACtC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|
package/infraAlertCondition.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
3
4
|
/**
|
|
4
5
|
* Use this resource to create and manage Infrastructure alert conditions in New Relic.
|
|
5
6
|
*
|
|
@@ -109,7 +110,7 @@ export declare class InfraAlertCondition extends pulumi.CustomResource {
|
|
|
109
110
|
*/
|
|
110
111
|
readonly createdAt: pulumi.Output<number>;
|
|
111
112
|
/**
|
|
112
|
-
* Identifies the threshold parameters for opening a critical alert
|
|
113
|
+
* Identifies the threshold parameters for opening a critical alert incident. See Thresholds below for details.
|
|
113
114
|
*/
|
|
114
115
|
readonly critical: pulumi.Output<outputs.InfraAlertConditionCritical | undefined>;
|
|
115
116
|
/**
|
|
@@ -157,11 +158,11 @@ export declare class InfraAlertCondition extends pulumi.CustomResource {
|
|
|
157
158
|
*/
|
|
158
159
|
readonly updatedAt: pulumi.Output<number>;
|
|
159
160
|
/**
|
|
160
|
-
* Determines how much time will pass (in hours) before
|
|
161
|
+
* Determines how much time will pass (in hours) before an incident is automatically closed. Valid values are `1 2 4 8 12 24 48 72`. Defaults to 24. If `0` is provided, default of `24` is used and will have configuration drift during the apply phase until a valid value is provided.
|
|
161
162
|
*/
|
|
162
163
|
readonly violationCloseTimer: pulumi.Output<number | undefined>;
|
|
163
164
|
/**
|
|
164
|
-
* Identifies the threshold parameters for opening a warning alert
|
|
165
|
+
* Identifies the threshold parameters for opening a warning alert incident. See Thresholds below for details.
|
|
165
166
|
*/
|
|
166
167
|
readonly warning: pulumi.Output<outputs.InfraAlertConditionWarning | undefined>;
|
|
167
168
|
/**
|
|
@@ -190,7 +191,7 @@ export interface InfraAlertConditionState {
|
|
|
190
191
|
*/
|
|
191
192
|
createdAt?: pulumi.Input<number>;
|
|
192
193
|
/**
|
|
193
|
-
* Identifies the threshold parameters for opening a critical alert
|
|
194
|
+
* Identifies the threshold parameters for opening a critical alert incident. See Thresholds below for details.
|
|
194
195
|
*/
|
|
195
196
|
critical?: pulumi.Input<inputs.InfraAlertConditionCritical>;
|
|
196
197
|
/**
|
|
@@ -238,11 +239,11 @@ export interface InfraAlertConditionState {
|
|
|
238
239
|
*/
|
|
239
240
|
updatedAt?: pulumi.Input<number>;
|
|
240
241
|
/**
|
|
241
|
-
* Determines how much time will pass (in hours) before
|
|
242
|
+
* Determines how much time will pass (in hours) before an incident is automatically closed. Valid values are `1 2 4 8 12 24 48 72`. Defaults to 24. If `0` is provided, default of `24` is used and will have configuration drift during the apply phase until a valid value is provided.
|
|
242
243
|
*/
|
|
243
244
|
violationCloseTimer?: pulumi.Input<number>;
|
|
244
245
|
/**
|
|
245
|
-
* Identifies the threshold parameters for opening a warning alert
|
|
246
|
+
* Identifies the threshold parameters for opening a warning alert incident. See Thresholds below for details.
|
|
246
247
|
*/
|
|
247
248
|
warning?: pulumi.Input<inputs.InfraAlertConditionWarning>;
|
|
248
249
|
/**
|
|
@@ -259,7 +260,7 @@ export interface InfraAlertConditionArgs {
|
|
|
259
260
|
*/
|
|
260
261
|
comparison?: pulumi.Input<string>;
|
|
261
262
|
/**
|
|
262
|
-
* Identifies the threshold parameters for opening a critical alert
|
|
263
|
+
* Identifies the threshold parameters for opening a critical alert incident. See Thresholds below for details.
|
|
263
264
|
*/
|
|
264
265
|
critical?: pulumi.Input<inputs.InfraAlertConditionCritical>;
|
|
265
266
|
/**
|
|
@@ -303,11 +304,11 @@ export interface InfraAlertConditionArgs {
|
|
|
303
304
|
*/
|
|
304
305
|
type: pulumi.Input<string>;
|
|
305
306
|
/**
|
|
306
|
-
* Determines how much time will pass (in hours) before
|
|
307
|
+
* Determines how much time will pass (in hours) before an incident is automatically closed. Valid values are `1 2 4 8 12 24 48 72`. Defaults to 24. If `0` is provided, default of `24` is used and will have configuration drift during the apply phase until a valid value is provided.
|
|
307
308
|
*/
|
|
308
309
|
violationCloseTimer?: pulumi.Input<number>;
|
|
309
310
|
/**
|
|
310
|
-
* Identifies the threshold parameters for opening a warning alert
|
|
311
|
+
* Identifies the threshold parameters for opening a warning alert incident. See Thresholds below for details.
|
|
311
312
|
*/
|
|
312
313
|
warning?: pulumi.Input<inputs.InfraAlertConditionWarning>;
|
|
313
314
|
/**
|
package/infraAlertCondition.js
CHANGED
|
@@ -90,6 +90,28 @@ const utilities = require("./utilities");
|
|
|
90
90
|
* ```
|
|
91
91
|
*/
|
|
92
92
|
class InfraAlertCondition extends pulumi.CustomResource {
|
|
93
|
+
/**
|
|
94
|
+
* Get an existing InfraAlertCondition resource's state with the given name, ID, and optional extra
|
|
95
|
+
* properties used to qualify the lookup.
|
|
96
|
+
*
|
|
97
|
+
* @param name The _unique_ name of the resulting resource.
|
|
98
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
99
|
+
* @param state Any extra arguments used during the lookup.
|
|
100
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
101
|
+
*/
|
|
102
|
+
static get(name, id, state, opts) {
|
|
103
|
+
return new InfraAlertCondition(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Returns true if the given object is an instance of InfraAlertCondition. This is designed to work even
|
|
107
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
108
|
+
*/
|
|
109
|
+
static isInstance(obj) {
|
|
110
|
+
if (obj === undefined || obj === null) {
|
|
111
|
+
return false;
|
|
112
|
+
}
|
|
113
|
+
return obj['__pulumiType'] === InfraAlertCondition.__pulumiType;
|
|
114
|
+
}
|
|
93
115
|
constructor(name, argsOrState, opts) {
|
|
94
116
|
let resourceInputs = {};
|
|
95
117
|
opts = opts || {};
|
|
@@ -142,28 +164,6 @@ class InfraAlertCondition extends pulumi.CustomResource {
|
|
|
142
164
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
143
165
|
super(InfraAlertCondition.__pulumiType, name, resourceInputs, opts);
|
|
144
166
|
}
|
|
145
|
-
/**
|
|
146
|
-
* Get an existing InfraAlertCondition resource's state with the given name, ID, and optional extra
|
|
147
|
-
* properties used to qualify the lookup.
|
|
148
|
-
*
|
|
149
|
-
* @param name The _unique_ name of the resulting resource.
|
|
150
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
151
|
-
* @param state Any extra arguments used during the lookup.
|
|
152
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
153
|
-
*/
|
|
154
|
-
static get(name, id, state, opts) {
|
|
155
|
-
return new InfraAlertCondition(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
156
|
-
}
|
|
157
|
-
/**
|
|
158
|
-
* Returns true if the given object is an instance of InfraAlertCondition. This is designed to work even
|
|
159
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
160
|
-
*/
|
|
161
|
-
static isInstance(obj) {
|
|
162
|
-
if (obj === undefined || obj === null) {
|
|
163
|
-
return false;
|
|
164
|
-
}
|
|
165
|
-
return obj['__pulumiType'] === InfraAlertCondition.__pulumiType;
|
|
166
|
-
}
|
|
167
167
|
}
|
|
168
168
|
exports.InfraAlertCondition = InfraAlertCondition;
|
|
169
169
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"infraAlertCondition.js","sourceRoot":"","sources":["../infraAlertCondition.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"infraAlertCondition.js","sourceRoot":"","sources":["../infraAlertCondition.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmFG;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;IA+ED,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAA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AC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AA3JL,kDA4JC;AA9IG,gBAAgB;AACO,gCAAY,GAAG,wDAAwD,CAAC"}
|
package/insights/event.d.ts
CHANGED
package/insights/event.js
CHANGED
|
@@ -54,23 +54,6 @@ const utilities = require("../utilities");
|
|
|
54
54
|
* * `type` - (Optional) Specify the type for the attribute value. This is useful when passing integer or float values to Insights. Allowed values are `string`, `int`, or `float`. Defaults to `string`.
|
|
55
55
|
*/
|
|
56
56
|
class Event extends pulumi.CustomResource {
|
|
57
|
-
constructor(name, argsOrState, opts) {
|
|
58
|
-
let resourceInputs = {};
|
|
59
|
-
opts = opts || {};
|
|
60
|
-
if (opts.id) {
|
|
61
|
-
const state = argsOrState;
|
|
62
|
-
resourceInputs["events"] = state ? state.events : undefined;
|
|
63
|
-
}
|
|
64
|
-
else {
|
|
65
|
-
const args = argsOrState;
|
|
66
|
-
if ((!args || args.events === undefined) && !opts.urn) {
|
|
67
|
-
throw new Error("Missing required property 'events'");
|
|
68
|
-
}
|
|
69
|
-
resourceInputs["events"] = args ? args.events : undefined;
|
|
70
|
-
}
|
|
71
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
72
|
-
super(Event.__pulumiType, name, resourceInputs, opts);
|
|
73
|
-
}
|
|
74
57
|
/**
|
|
75
58
|
* Get an existing Event resource's state with the given name, ID, and optional extra
|
|
76
59
|
* properties used to qualify the lookup.
|
|
@@ -93,6 +76,23 @@ class Event extends pulumi.CustomResource {
|
|
|
93
76
|
}
|
|
94
77
|
return obj['__pulumiType'] === Event.__pulumiType;
|
|
95
78
|
}
|
|
79
|
+
constructor(name, argsOrState, opts) {
|
|
80
|
+
let resourceInputs = {};
|
|
81
|
+
opts = opts || {};
|
|
82
|
+
if (opts.id) {
|
|
83
|
+
const state = argsOrState;
|
|
84
|
+
resourceInputs["events"] = state ? state.events : undefined;
|
|
85
|
+
}
|
|
86
|
+
else {
|
|
87
|
+
const args = argsOrState;
|
|
88
|
+
if ((!args || args.events === undefined) && !opts.urn) {
|
|
89
|
+
throw new Error("Missing required property 'events'");
|
|
90
|
+
}
|
|
91
|
+
resourceInputs["events"] = args ? args.events : undefined;
|
|
92
|
+
}
|
|
93
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
94
|
+
super(Event.__pulumiType, name, resourceInputs, opts);
|
|
95
|
+
}
|
|
96
96
|
}
|
|
97
97
|
exports.Event = Event;
|
|
98
98
|
/** @internal */
|
package/insights/event.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.js","sourceRoot":"","sources":["../../insights/event.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"event.js","sourceRoot":"","sources":["../../insights/event.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,C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DC;AA3CG,gBAAgB;AACO,kBAAY,GAAG,+BAA+B,CAAC"}
|
package/insights/index.d.ts
CHANGED
package/insights/index.js
CHANGED
|
@@ -1,33 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
-
if (k2 === undefined) k2 = k;
|
|
6
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
-
}
|
|
10
|
-
Object.defineProperty(o, k2, desc);
|
|
11
|
-
}) : (function(o, m, k, k2) {
|
|
12
|
-
if (k2 === undefined) k2 = k;
|
|
13
|
-
o[k2] = m[k];
|
|
14
|
-
}));
|
|
15
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
|
-
};
|
|
18
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Event = void 0;
|
|
19
6
|
const pulumi = require("@pulumi/pulumi");
|
|
20
7
|
const utilities = require("../utilities");
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
// Import resources to register:
|
|
24
|
-
const event_1 = require("./event");
|
|
8
|
+
exports.Event = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["Event"], () => require("./event"));
|
|
25
10
|
const _module = {
|
|
26
11
|
version: utilities.getVersion(),
|
|
27
12
|
construct: (name, type, urn) => {
|
|
28
13
|
switch (type) {
|
|
29
14
|
case "newrelic:insights/event:Event":
|
|
30
|
-
return new
|
|
15
|
+
return new exports.Event(name, undefined, { urn });
|
|
31
16
|
default:
|
|
32
17
|
throw new Error(`unknown resource type ${type}`);
|
|
33
18
|
}
|
package/insights/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../insights/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../insights/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,KAAK,GAAmC,IAAW,CAAC;AACjE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC;AAGjE,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,+BAA+B;gBAChC,OAAO,IAAI,aAAK,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACnD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA"}
|