@pulumi/newrelic 5.2.0 → 5.3.0-alpha.1674768737
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/README.md +4 -4
- package/alertChannel.d.ts +1 -2
- package/alertChannel.js +1 -2
- package/alertChannel.js.map +1 -1
- package/alertCondition.d.ts +1 -127
- package/alertCondition.js +1 -1
- package/alertCondition.js.map +1 -1
- package/alertPolicy.d.ts +1 -3
- package/alertPolicy.js +1 -3
- package/alertPolicy.js.map +1 -1
- package/alertPolicyChannel.d.ts +0 -2
- package/alertPolicyChannel.js +0 -2
- package/alertPolicyChannel.js.map +1 -1
- package/cloud/awsGovcloudLinkAccount.d.ts +4 -4
- package/cloud/awsGovcloudLinkAccount.js +1 -1
- package/cloud/awsLinkAccount.d.ts +3 -3
- package/cloud/azureLinkAccount.d.ts +18 -18
- package/cloud/gcpLinkAccount.d.ts +9 -9
- package/getAccount.d.ts +18 -2
- package/getAccount.js +20 -7
- package/getAccount.js.map +1 -1
- package/getAlertChannel.d.ts +3 -0
- package/getAlertChannel.js +5 -5
- package/getAlertChannel.js.map +1 -1
- package/getAlertPolicy.d.ts +3 -0
- package/getAlertPolicy.js +5 -5
- package/getAlertPolicy.js.map +1 -1
- package/getApplication.d.ts +31 -0
- package/getApplication.js +33 -5
- package/getApplication.js.map +1 -1
- package/getCloudAccount.d.ts +19 -2
- package/getCloudAccount.js +21 -7
- package/getCloudAccount.js.map +1 -1
- package/getEntity.d.ts +3 -0
- package/getEntity.js +5 -5
- package/getEntity.js.map +1 -1
- package/getKeyTransaction.d.ts +29 -0
- package/getKeyTransaction.js +31 -5
- package/getKeyTransaction.js.map +1 -1
- package/getObfuscationExpression.d.ts +25 -0
- package/getObfuscationExpression.js +27 -5
- package/getObfuscationExpression.js.map +1 -1
- package/getTestGrokPattern.d.ts +86 -0
- package/getTestGrokPattern.js +53 -0
- package/getTestGrokPattern.js.map +1 -0
- package/index.d.ts +6 -0
- package/index.js +9 -1
- package/index.js.map +1 -1
- package/insights/event.d.ts +20 -22
- package/insights/event.js +20 -22
- package/insights/event.js.map +1 -1
- package/logParsingRule.d.ts +188 -0
- package/logParsingRule.js +125 -0
- package/logParsingRule.js.map +1 -0
- package/notificationChannel.d.ts +0 -294
- package/notificationChannel.js +0 -294
- package/notificationChannel.js.map +1 -1
- package/nrqlAlertCondition.d.ts +4 -81
- package/nrqlAlertCondition.js +1 -62
- package/nrqlAlertCondition.js.map +1 -1
- package/oneDashboard.d.ts +1 -96
- package/oneDashboard.js +1 -96
- package/oneDashboard.js.map +1 -1
- package/oneDashboardRaw.d.ts +1 -1
- package/oneDashboardRaw.js +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/plugins/workload.d.ts +9 -122
- package/plugins/workload.js +0 -113
- package/plugins/workload.js.map +1 -1
- package/synthetics/alertCondition.d.ts +1 -1
- package/synthetics/alertCondition.js +1 -1
- package/synthetics/brokenLinksMonitor.d.ts +2 -2
- package/synthetics/brokenLinksMonitor.js +2 -2
- package/synthetics/certCheckMonitor.d.ts +0 -26
- package/synthetics/certCheckMonitor.js +0 -26
- package/synthetics/certCheckMonitor.js.map +1 -1
- package/synthetics/getPrivateLocation.d.ts +29 -0
- package/synthetics/getPrivateLocation.js +31 -5
- package/synthetics/getPrivateLocation.js.map +1 -1
- package/synthetics/getSecureCredential.d.ts +26 -2
- package/synthetics/getSecureCredential.js +21 -7
- package/synthetics/getSecureCredential.js.map +1 -1
- package/synthetics/monitor.d.ts +17 -17
- package/synthetics/monitor.js +17 -17
- package/synthetics/privateLocation.d.ts +1 -3
- package/synthetics/privateLocation.js +1 -3
- package/synthetics/privateLocation.js.map +1 -1
- package/synthetics/scriptMonitor.d.ts +12 -12
- package/synthetics/scriptMonitor.js +12 -12
- package/synthetics/stepMonitor.d.ts +0 -34
- package/synthetics/stepMonitor.js +0 -34
- package/synthetics/stepMonitor.js.map +1 -1
- package/types/input.d.ts +37 -238
- package/types/output.d.ts +61 -238
- package/workflow.d.ts +27 -3
- package/workflow.js +24 -0
- package/workflow.js.map +1 -1
package/README.md
CHANGED
|
@@ -48,20 +48,20 @@ To use from .NET, install using `dotnet add package`:
|
|
|
48
48
|
|
|
49
49
|
The following configuration points are available:
|
|
50
50
|
|
|
51
|
-
- `newrelic:apiKey` - Your New Relic API key. The `
|
|
51
|
+
- `newrelic:apiKey` - Your New Relic API key. The `NEW_RELIC_API_KEY` environment variable can also be used.
|
|
52
52
|
- `newrelic:adminApiKey` - Your New Relic Admin API key. The `NEW_RELIC_ADMIN_API_KEY` environment variable can also be used.
|
|
53
53
|
- `newrelic:region` - The region for the data center for which your New Relic account is configured. The New Relic region
|
|
54
54
|
can also be set via the environment variable `NEW_RELIC_REGION`. Valid values are `US` or `EU`. Only one region per
|
|
55
55
|
provider block can be configured. If you have accounts in both regions, you must instantiate two providers -
|
|
56
56
|
one for US and one for EU
|
|
57
|
-
- `newrelic:insecureSkipVerify` - Trust self-signed SSL certificates. If omitted, the `
|
|
57
|
+
- `newrelic:insecureSkipVerify` - Trust self-signed SSL certificates. If omitted, the `NEW_RELIC_API_SKIP_VERIFY` environment
|
|
58
58
|
variable is used.
|
|
59
59
|
- `newrelic:insightsInsertKey` - Your Insights insert key used when inserting Insights events via the `insights.Event` resource.
|
|
60
|
-
Can also use `
|
|
60
|
+
Can also use `NEW_RELIC_INSIGHTS_INSERT_KEY` environment variable.
|
|
61
61
|
- `newrelic:insightsInsertUrl` - This argument changes the Insights insert URL (default is `https://insights-collector.newrelic.com/v1/accounts`).
|
|
62
62
|
If the New Relic account is in the EU, the Insights API URL must be set to `https://insights-collector.eu.newrelic.com/v1`.
|
|
63
63
|
- `newrelic:caCerts` - A path to a PEM-encoded certificate authority used to verify the remote agent's certificate. The
|
|
64
|
-
`
|
|
64
|
+
`NEW_RELIC_API_CACERT` environment variable can also be used.
|
|
65
65
|
|
|
66
66
|
## Reference
|
|
67
67
|
|
package/alertChannel.d.ts
CHANGED
|
@@ -2,8 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* Use this resource to create and manage New Relic alert channels.
|
|
6
|
-
*
|
|
7
5
|
* ## Example Usage
|
|
8
6
|
* ### Email
|
|
9
7
|
* ```typescript
|
|
@@ -113,6 +111,7 @@ import * as outputs from "./types/output";
|
|
|
113
111
|
* "policy_name": "$POLICY_NAME"
|
|
114
112
|
* }
|
|
115
113
|
* }
|
|
114
|
+
*
|
|
116
115
|
* `,
|
|
117
116
|
* payloadType: "application/json",
|
|
118
117
|
* },
|
package/alertChannel.js
CHANGED
|
@@ -6,8 +6,6 @@ exports.AlertChannel = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Use this resource to create and manage New Relic alert channels.
|
|
10
|
-
*
|
|
11
9
|
* ## Example Usage
|
|
12
10
|
* ### Email
|
|
13
11
|
* ```typescript
|
|
@@ -117,6 +115,7 @@ const utilities = require("./utilities");
|
|
|
117
115
|
* "policy_name": "$POLICY_NAME"
|
|
118
116
|
* }
|
|
119
117
|
* }
|
|
118
|
+
*
|
|
120
119
|
* `,
|
|
121
120
|
* payloadType: "application/json",
|
|
122
121
|
* },
|
package/alertChannel.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alertChannel.js","sourceRoot":"","sources":["../alertChannel.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"alertChannel.js","sourceRoot":"","sources":["../alertChannel.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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G,WAA2C,CAAC;YACzD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACjD,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AA1EL,oCA2EC;AA7DG,gBAAgB;AACO,yBAAY,GAAG,0CAA0C,CAAC"}
|
package/alertCondition.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* Use this resource to create and manage alert conditions for APM, Browser, and Mobile in New Relic.
|
|
6
6
|
*
|
|
7
|
-
* > **
|
|
7
|
+
* > **WARNING:** The newrelic.AlertCondition resource will be deprecated in the near future and will no longer receive product updates. Please use the newrelic.NrqlAlertCondition resource to avoid being impacted by these changes.
|
|
8
8
|
*
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
@@ -86,48 +86,6 @@ export declare class AlertCondition extends pulumi.CustomResource {
|
|
|
86
86
|
readonly gcMetric: pulumi.Output<string | undefined>;
|
|
87
87
|
/**
|
|
88
88
|
* The metric field accepts parameters based on the `type` set. One of these metrics based on `type`:
|
|
89
|
-
* * `apmAppMetric`
|
|
90
|
-
* * `apdex`
|
|
91
|
-
* * `errorPercentage`
|
|
92
|
-
* * `responseTimeBackground`
|
|
93
|
-
* * `responseTimeWeb`
|
|
94
|
-
* * `throughputBackground`
|
|
95
|
-
* * `throughputWeb`
|
|
96
|
-
* * `userDefined`
|
|
97
|
-
* * `apmJvmMetric`
|
|
98
|
-
* * `cpuUtilizationTime`
|
|
99
|
-
* * `deadlockedThreads`
|
|
100
|
-
* * `gcCpuTime`
|
|
101
|
-
* * `heapMemoryUsage`
|
|
102
|
-
* * `apmKtMetric`
|
|
103
|
-
* * `apdex`
|
|
104
|
-
* * `errorCount`
|
|
105
|
-
* * `errorPercentage`
|
|
106
|
-
* * `responseTime`
|
|
107
|
-
* * `throughput`
|
|
108
|
-
* * `browserMetric`
|
|
109
|
-
* * `ajaxResponseTime`
|
|
110
|
-
* * `ajaxThroughput`
|
|
111
|
-
* * `domProcessing`
|
|
112
|
-
* * `endUserApdex`
|
|
113
|
-
* * `network`
|
|
114
|
-
* * `pageRendering`
|
|
115
|
-
* * `pageViewThroughput`
|
|
116
|
-
* * `pageViewsWithJsErrors`
|
|
117
|
-
* * `requestQueuing`
|
|
118
|
-
* * `totalPageLoad`
|
|
119
|
-
* * `userDefined`
|
|
120
|
-
* * `webApplication`
|
|
121
|
-
* * `mobileMetric`
|
|
122
|
-
* * `database`
|
|
123
|
-
* * `images`
|
|
124
|
-
* * `json`
|
|
125
|
-
* * `mobileCrashRate`
|
|
126
|
-
* * `networkErrorPercentage`
|
|
127
|
-
* * `network`
|
|
128
|
-
* * `statusErrorPercentage`
|
|
129
|
-
* * `userDefined`
|
|
130
|
-
* * `viewLoading`
|
|
131
89
|
*/
|
|
132
90
|
readonly metric: pulumi.Output<string>;
|
|
133
91
|
/**
|
|
@@ -193,48 +151,6 @@ export interface AlertConditionState {
|
|
|
193
151
|
gcMetric?: pulumi.Input<string>;
|
|
194
152
|
/**
|
|
195
153
|
* The metric field accepts parameters based on the `type` set. One of these metrics based on `type`:
|
|
196
|
-
* * `apmAppMetric`
|
|
197
|
-
* * `apdex`
|
|
198
|
-
* * `errorPercentage`
|
|
199
|
-
* * `responseTimeBackground`
|
|
200
|
-
* * `responseTimeWeb`
|
|
201
|
-
* * `throughputBackground`
|
|
202
|
-
* * `throughputWeb`
|
|
203
|
-
* * `userDefined`
|
|
204
|
-
* * `apmJvmMetric`
|
|
205
|
-
* * `cpuUtilizationTime`
|
|
206
|
-
* * `deadlockedThreads`
|
|
207
|
-
* * `gcCpuTime`
|
|
208
|
-
* * `heapMemoryUsage`
|
|
209
|
-
* * `apmKtMetric`
|
|
210
|
-
* * `apdex`
|
|
211
|
-
* * `errorCount`
|
|
212
|
-
* * `errorPercentage`
|
|
213
|
-
* * `responseTime`
|
|
214
|
-
* * `throughput`
|
|
215
|
-
* * `browserMetric`
|
|
216
|
-
* * `ajaxResponseTime`
|
|
217
|
-
* * `ajaxThroughput`
|
|
218
|
-
* * `domProcessing`
|
|
219
|
-
* * `endUserApdex`
|
|
220
|
-
* * `network`
|
|
221
|
-
* * `pageRendering`
|
|
222
|
-
* * `pageViewThroughput`
|
|
223
|
-
* * `pageViewsWithJsErrors`
|
|
224
|
-
* * `requestQueuing`
|
|
225
|
-
* * `totalPageLoad`
|
|
226
|
-
* * `userDefined`
|
|
227
|
-
* * `webApplication`
|
|
228
|
-
* * `mobileMetric`
|
|
229
|
-
* * `database`
|
|
230
|
-
* * `images`
|
|
231
|
-
* * `json`
|
|
232
|
-
* * `mobileCrashRate`
|
|
233
|
-
* * `networkErrorPercentage`
|
|
234
|
-
* * `network`
|
|
235
|
-
* * `statusErrorPercentage`
|
|
236
|
-
* * `userDefined`
|
|
237
|
-
* * `viewLoading`
|
|
238
154
|
*/
|
|
239
155
|
metric?: pulumi.Input<string>;
|
|
240
156
|
/**
|
|
@@ -292,48 +208,6 @@ export interface AlertConditionArgs {
|
|
|
292
208
|
gcMetric?: pulumi.Input<string>;
|
|
293
209
|
/**
|
|
294
210
|
* The metric field accepts parameters based on the `type` set. One of these metrics based on `type`:
|
|
295
|
-
* * `apmAppMetric`
|
|
296
|
-
* * `apdex`
|
|
297
|
-
* * `errorPercentage`
|
|
298
|
-
* * `responseTimeBackground`
|
|
299
|
-
* * `responseTimeWeb`
|
|
300
|
-
* * `throughputBackground`
|
|
301
|
-
* * `throughputWeb`
|
|
302
|
-
* * `userDefined`
|
|
303
|
-
* * `apmJvmMetric`
|
|
304
|
-
* * `cpuUtilizationTime`
|
|
305
|
-
* * `deadlockedThreads`
|
|
306
|
-
* * `gcCpuTime`
|
|
307
|
-
* * `heapMemoryUsage`
|
|
308
|
-
* * `apmKtMetric`
|
|
309
|
-
* * `apdex`
|
|
310
|
-
* * `errorCount`
|
|
311
|
-
* * `errorPercentage`
|
|
312
|
-
* * `responseTime`
|
|
313
|
-
* * `throughput`
|
|
314
|
-
* * `browserMetric`
|
|
315
|
-
* * `ajaxResponseTime`
|
|
316
|
-
* * `ajaxThroughput`
|
|
317
|
-
* * `domProcessing`
|
|
318
|
-
* * `endUserApdex`
|
|
319
|
-
* * `network`
|
|
320
|
-
* * `pageRendering`
|
|
321
|
-
* * `pageViewThroughput`
|
|
322
|
-
* * `pageViewsWithJsErrors`
|
|
323
|
-
* * `requestQueuing`
|
|
324
|
-
* * `totalPageLoad`
|
|
325
|
-
* * `userDefined`
|
|
326
|
-
* * `webApplication`
|
|
327
|
-
* * `mobileMetric`
|
|
328
|
-
* * `database`
|
|
329
|
-
* * `images`
|
|
330
|
-
* * `json`
|
|
331
|
-
* * `mobileCrashRate`
|
|
332
|
-
* * `networkErrorPercentage`
|
|
333
|
-
* * `network`
|
|
334
|
-
* * `statusErrorPercentage`
|
|
335
|
-
* * `userDefined`
|
|
336
|
-
* * `viewLoading`
|
|
337
211
|
*/
|
|
338
212
|
metric: pulumi.Input<string>;
|
|
339
213
|
/**
|
package/alertCondition.js
CHANGED
|
@@ -8,7 +8,7 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Use this resource to create and manage alert conditions for APM, Browser, and Mobile in New Relic.
|
|
10
10
|
*
|
|
11
|
-
* > **
|
|
11
|
+
* > **WARNING:** The newrelic.AlertCondition resource will be deprecated in the near future and will no longer receive product updates. Please use the newrelic.NrqlAlertCondition resource to avoid being impacted by these changes.
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
package/alertCondition.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alertCondition.js","sourceRoot":"","sources":["../alertCondition.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;
|
|
1
|
+
{"version":3,"file":"alertCondition.js","sourceRoot":"","sources":["../alertCondition.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;A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
*
|
|
12
|
-
* const foo = new newrelic.AlertPolicy("foo", {
|
|
13
|
-
* incidentPreference: "PER_POLICY", // PER_POLICY is default
|
|
14
|
-
* });
|
|
12
|
+
* const foo = new newrelic.AlertPolicy("foo", {incidentPreference: "PER_POLICY"});
|
|
15
13
|
* ```
|
|
16
14
|
* ### Provision multiple notification channels and add those channels to a policy
|
|
17
15
|
*
|
package/alertPolicy.js
CHANGED
|
@@ -15,9 +15,7 @@ const utilities = require("./utilities");
|
|
|
15
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
16
|
* import * as newrelic from "@pulumi/newrelic";
|
|
17
17
|
*
|
|
18
|
-
* const foo = new newrelic.AlertPolicy("foo", {
|
|
19
|
-
* incidentPreference: "PER_POLICY", // PER_POLICY is default
|
|
20
|
-
* });
|
|
18
|
+
* const foo = new newrelic.AlertPolicy("foo", {incidentPreference: "PER_POLICY"});
|
|
21
19
|
* ```
|
|
22
20
|
* ### Provision multiple notification channels and add those channels to a policy
|
|
23
21
|
*
|
package/alertPolicy.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alertPolicy.js","sourceRoot":"","sources":["../alertPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"alertPolicy.js","sourceRoot":"","sources":["../alertPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyEG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,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AG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAvEL,kCAwEC;AA1DG,gBAAgB;AACO,wBAAY,GAAG,wCAAwC,CAAC"}
|
package/alertPolicyChannel.d.ts
CHANGED
package/alertPolicyChannel.js
CHANGED
|
@@ -6,8 +6,6 @@ exports.AlertPolicyChannel = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Use this resource to map alert policies to alert channels in New Relic.
|
|
10
|
-
*
|
|
11
9
|
* ## Example Usage
|
|
12
10
|
*
|
|
13
11
|
* The example below will apply multiple alert channels to an existing New Relic alert policy.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alertPolicyChannel.js","sourceRoot":"","sources":["../alertPolicyChannel.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"alertPolicyChannel.js","sourceRoot":"","sources":["../alertPolicyChannel.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MA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CAAC,GAAG,EAAE;gBACrD,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAvEL,gDAwEC;AA1DG,gBAAgB;AACO,+BAAY,GAAG,sDAAsD,CAAC"}
|
|
@@ -8,7 +8,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
8
8
|
*
|
|
9
9
|
* const foo = new newrelic.cloud.AwsGovcloudLinkAccount("foo", {
|
|
10
10
|
* accessKeyId: "access-key-id of aws govcloud account",
|
|
11
|
-
* accountId:
|
|
11
|
+
* accountId: "The New Relic account ID where you want to link the AWS GovCloud account",
|
|
12
12
|
* awsAccountId: "aws govcloud account id",
|
|
13
13
|
* metricCollectionMode: "PULL",
|
|
14
14
|
* secretAccessKey: "secret access key of the aws govcloud account",
|
|
@@ -56,7 +56,7 @@ export declare class AwsGovcloudLinkAccount extends pulumi.CustomResource {
|
|
|
56
56
|
*/
|
|
57
57
|
readonly metricCollectionMode: pulumi.Output<string | undefined>;
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
59
|
+
* The linked account name
|
|
60
60
|
*/
|
|
61
61
|
readonly name: pulumi.Output<string>;
|
|
62
62
|
/**
|
|
@@ -93,7 +93,7 @@ export interface AwsGovcloudLinkAccountState {
|
|
|
93
93
|
*/
|
|
94
94
|
metricCollectionMode?: pulumi.Input<string>;
|
|
95
95
|
/**
|
|
96
|
-
*
|
|
96
|
+
* The linked account name
|
|
97
97
|
*/
|
|
98
98
|
name?: pulumi.Input<string>;
|
|
99
99
|
/**
|
|
@@ -122,7 +122,7 @@ export interface AwsGovcloudLinkAccountArgs {
|
|
|
122
122
|
*/
|
|
123
123
|
metricCollectionMode?: pulumi.Input<string>;
|
|
124
124
|
/**
|
|
125
|
-
*
|
|
125
|
+
* The linked account name
|
|
126
126
|
*/
|
|
127
127
|
name?: pulumi.Input<string>;
|
|
128
128
|
/**
|
|
@@ -14,7 +14,7 @@ const utilities = require("../utilities");
|
|
|
14
14
|
*
|
|
15
15
|
* const foo = new newrelic.cloud.AwsGovcloudLinkAccount("foo", {
|
|
16
16
|
* accessKeyId: "access-key-id of aws govcloud account",
|
|
17
|
-
* accountId:
|
|
17
|
+
* accountId: "The New Relic account ID where you want to link the AWS GovCloud account",
|
|
18
18
|
* awsAccountId: "aws govcloud account id",
|
|
19
19
|
* metricCollectionMode: "PULL",
|
|
20
20
|
* secretAccessKey: "secret access key of the aws govcloud account",
|
|
@@ -37,7 +37,7 @@ export declare class AwsLinkAccount extends pulumi.CustomResource {
|
|
|
37
37
|
*/
|
|
38
38
|
readonly metricCollectionMode: pulumi.Output<string | undefined>;
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* The linked account name
|
|
41
41
|
*/
|
|
42
42
|
readonly name: pulumi.Output<string>;
|
|
43
43
|
/**
|
|
@@ -66,7 +66,7 @@ export interface AwsLinkAccountState {
|
|
|
66
66
|
*/
|
|
67
67
|
metricCollectionMode?: pulumi.Input<string>;
|
|
68
68
|
/**
|
|
69
|
-
*
|
|
69
|
+
* The linked account name
|
|
70
70
|
*/
|
|
71
71
|
name?: pulumi.Input<string>;
|
|
72
72
|
}
|
|
@@ -87,7 +87,7 @@ export interface AwsLinkAccountArgs {
|
|
|
87
87
|
*/
|
|
88
88
|
metricCollectionMode?: pulumi.Input<string>;
|
|
89
89
|
/**
|
|
90
|
-
*
|
|
90
|
+
* The linked account name
|
|
91
91
|
*/
|
|
92
92
|
name?: pulumi.Input<string>;
|
|
93
93
|
}
|
|
@@ -25,27 +25,27 @@ export declare class AzureLinkAccount extends pulumi.CustomResource {
|
|
|
25
25
|
*/
|
|
26
26
|
static isInstance(obj: any): obj is AzureLinkAccount;
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* Account ID of the New Relic.
|
|
29
29
|
*/
|
|
30
30
|
readonly accountId: pulumi.Output<number>;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* Application ID of the App.
|
|
33
33
|
*/
|
|
34
34
|
readonly applicationId: pulumi.Output<string>;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* Secret Value of the client.
|
|
37
37
|
*/
|
|
38
38
|
readonly clientSecret: pulumi.Output<string>;
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* The name of the application in New Relic APM.
|
|
41
41
|
*/
|
|
42
42
|
readonly name: pulumi.Output<string>;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* Subscription ID of the Azure cloud account.
|
|
45
45
|
*/
|
|
46
46
|
readonly subscriptionId: pulumi.Output<string>;
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* Tenant ID of the Azure cloud account.
|
|
49
49
|
*/
|
|
50
50
|
readonly tenantId: pulumi.Output<string>;
|
|
51
51
|
/**
|
|
@@ -62,27 +62,27 @@ export declare class AzureLinkAccount extends pulumi.CustomResource {
|
|
|
62
62
|
*/
|
|
63
63
|
export interface AzureLinkAccountState {
|
|
64
64
|
/**
|
|
65
|
-
*
|
|
65
|
+
* Account ID of the New Relic.
|
|
66
66
|
*/
|
|
67
67
|
accountId?: pulumi.Input<number>;
|
|
68
68
|
/**
|
|
69
|
-
*
|
|
69
|
+
* Application ID of the App.
|
|
70
70
|
*/
|
|
71
71
|
applicationId?: pulumi.Input<string>;
|
|
72
72
|
/**
|
|
73
|
-
*
|
|
73
|
+
* Secret Value of the client.
|
|
74
74
|
*/
|
|
75
75
|
clientSecret?: pulumi.Input<string>;
|
|
76
76
|
/**
|
|
77
|
-
*
|
|
77
|
+
* The name of the application in New Relic APM.
|
|
78
78
|
*/
|
|
79
79
|
name?: pulumi.Input<string>;
|
|
80
80
|
/**
|
|
81
|
-
*
|
|
81
|
+
* Subscription ID of the Azure cloud account.
|
|
82
82
|
*/
|
|
83
83
|
subscriptionId?: pulumi.Input<string>;
|
|
84
84
|
/**
|
|
85
|
-
*
|
|
85
|
+
* Tenant ID of the Azure cloud account.
|
|
86
86
|
*/
|
|
87
87
|
tenantId?: pulumi.Input<string>;
|
|
88
88
|
}
|
|
@@ -91,27 +91,27 @@ export interface AzureLinkAccountState {
|
|
|
91
91
|
*/
|
|
92
92
|
export interface AzureLinkAccountArgs {
|
|
93
93
|
/**
|
|
94
|
-
*
|
|
94
|
+
* Account ID of the New Relic.
|
|
95
95
|
*/
|
|
96
96
|
accountId?: pulumi.Input<number>;
|
|
97
97
|
/**
|
|
98
|
-
*
|
|
98
|
+
* Application ID of the App.
|
|
99
99
|
*/
|
|
100
100
|
applicationId: pulumi.Input<string>;
|
|
101
101
|
/**
|
|
102
|
-
*
|
|
102
|
+
* Secret Value of the client.
|
|
103
103
|
*/
|
|
104
104
|
clientSecret: pulumi.Input<string>;
|
|
105
105
|
/**
|
|
106
|
-
*
|
|
106
|
+
* The name of the application in New Relic APM.
|
|
107
107
|
*/
|
|
108
108
|
name?: pulumi.Input<string>;
|
|
109
109
|
/**
|
|
110
|
-
*
|
|
110
|
+
* Subscription ID of the Azure cloud account.
|
|
111
111
|
*/
|
|
112
112
|
subscriptionId: pulumi.Input<string>;
|
|
113
113
|
/**
|
|
114
|
-
*
|
|
114
|
+
* Tenant ID of the Azure cloud account.
|
|
115
115
|
*/
|
|
116
116
|
tenantId: pulumi.Input<string>;
|
|
117
117
|
}
|
|
@@ -25,15 +25,15 @@ export declare class GcpLinkAccount extends pulumi.CustomResource {
|
|
|
25
25
|
*/
|
|
26
26
|
static isInstance(obj: any): obj is GcpLinkAccount;
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* Account ID of the New Relic account.
|
|
29
29
|
*/
|
|
30
30
|
readonly accountId: pulumi.Output<number>;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* The name of the GCP account in New Relic.
|
|
33
33
|
*/
|
|
34
34
|
readonly name: pulumi.Output<string>;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* Project ID of the GCP account.
|
|
37
37
|
*/
|
|
38
38
|
readonly projectId: pulumi.Output<string>;
|
|
39
39
|
/**
|
|
@@ -50,15 +50,15 @@ export declare class GcpLinkAccount extends pulumi.CustomResource {
|
|
|
50
50
|
*/
|
|
51
51
|
export interface GcpLinkAccountState {
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* Account ID of the New Relic account.
|
|
54
54
|
*/
|
|
55
55
|
accountId?: pulumi.Input<number>;
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
57
|
+
* The name of the GCP account in New Relic.
|
|
58
58
|
*/
|
|
59
59
|
name?: pulumi.Input<string>;
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
61
|
+
* Project ID of the GCP account.
|
|
62
62
|
*/
|
|
63
63
|
projectId?: pulumi.Input<string>;
|
|
64
64
|
}
|
|
@@ -67,15 +67,15 @@ export interface GcpLinkAccountState {
|
|
|
67
67
|
*/
|
|
68
68
|
export interface GcpLinkAccountArgs {
|
|
69
69
|
/**
|
|
70
|
-
*
|
|
70
|
+
* Account ID of the New Relic account.
|
|
71
71
|
*/
|
|
72
72
|
accountId?: pulumi.Input<number>;
|
|
73
73
|
/**
|
|
74
|
-
*
|
|
74
|
+
* The name of the GCP account in New Relic.
|
|
75
75
|
*/
|
|
76
76
|
name?: pulumi.Input<string>;
|
|
77
77
|
/**
|
|
78
|
-
*
|
|
78
|
+
* Project ID of the GCP account.
|
|
79
79
|
*/
|
|
80
80
|
projectId: pulumi.Input<string>;
|
|
81
81
|
}
|
package/getAccount.d.ts
CHANGED
|
@@ -10,9 +10,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
11
|
* import * as newrelic from "@pulumi/newrelic";
|
|
12
12
|
*
|
|
13
|
-
* const acc =
|
|
13
|
+
* const acc = newrelic.getAccount({
|
|
14
14
|
* scope: "global",
|
|
15
|
-
* })
|
|
15
|
+
* });
|
|
16
16
|
* ```
|
|
17
17
|
*/
|
|
18
18
|
export declare function getAccount(args?: GetAccountArgs, opts?: pulumi.InvokeOptions): Promise<GetAccountResult>;
|
|
@@ -45,6 +45,22 @@ export interface GetAccountResult {
|
|
|
45
45
|
readonly name?: string;
|
|
46
46
|
readonly scope?: string;
|
|
47
47
|
}
|
|
48
|
+
/**
|
|
49
|
+
* Use this data source to get information about a specific account in New Relic.
|
|
50
|
+
* Accounts can be located by ID or name. Exactly one of the two attributes is
|
|
51
|
+
* required.
|
|
52
|
+
*
|
|
53
|
+
* ## Example Usage
|
|
54
|
+
*
|
|
55
|
+
* ```typescript
|
|
56
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
57
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
58
|
+
*
|
|
59
|
+
* const acc = newrelic.getAccount({
|
|
60
|
+
* scope: "global",
|
|
61
|
+
* });
|
|
62
|
+
* ```
|
|
63
|
+
*/
|
|
48
64
|
export declare function getAccountOutput(args?: GetAccountOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAccountResult>;
|
|
49
65
|
/**
|
|
50
66
|
* A collection of arguments for invoking getAccount.
|
package/getAccount.js
CHANGED
|
@@ -16,17 +16,14 @@ const utilities = require("./utilities");
|
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as newrelic from "@pulumi/newrelic";
|
|
18
18
|
*
|
|
19
|
-
* const acc =
|
|
19
|
+
* const acc = newrelic.getAccount({
|
|
20
20
|
* scope: "global",
|
|
21
|
-
* })
|
|
21
|
+
* });
|
|
22
22
|
* ```
|
|
23
23
|
*/
|
|
24
24
|
function getAccount(args, opts) {
|
|
25
25
|
args = args || {};
|
|
26
|
-
|
|
27
|
-
opts = {};
|
|
28
|
-
}
|
|
29
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
26
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
30
27
|
return pulumi.runtime.invoke("newrelic:index/getAccount:getAccount", {
|
|
31
28
|
"accountId": args.accountId,
|
|
32
29
|
"name": args.name,
|
|
@@ -34,8 +31,24 @@ function getAccount(args, opts) {
|
|
|
34
31
|
}, opts);
|
|
35
32
|
}
|
|
36
33
|
exports.getAccount = getAccount;
|
|
34
|
+
/**
|
|
35
|
+
* Use this data source to get information about a specific account in New Relic.
|
|
36
|
+
* Accounts can be located by ID or name. Exactly one of the two attributes is
|
|
37
|
+
* required.
|
|
38
|
+
*
|
|
39
|
+
* ## Example Usage
|
|
40
|
+
*
|
|
41
|
+
* ```typescript
|
|
42
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
43
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
44
|
+
*
|
|
45
|
+
* const acc = newrelic.getAccount({
|
|
46
|
+
* scope: "global",
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
37
50
|
function getAccountOutput(args, opts) {
|
|
38
|
-
return pulumi.output(args).apply(a => getAccount(a, opts));
|
|
51
|
+
return pulumi.output(args).apply((a) => getAccount(a, opts));
|
|
39
52
|
}
|
|
40
53
|
exports.getAccountOutput = getAccountOutput;
|
|
41
54
|
//# sourceMappingURL=getAccount.js.map
|
package/getAccount.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAccount.js","sourceRoot":"","sources":["../getAccount.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"getAccount.js","sourceRoot":"","sources":["../getAccount.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,gCASC;AAgCD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
|