@pulumi/newrelic 5.79.4 → 5.79.5
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/cardinalityManagement.d.ts +1 -1
- package/cardinalityManagement.js +1 -1
- package/getAlertChannel.d.ts +2 -2
- package/getAlertChannel.js +2 -2
- package/getGroup.d.ts +4 -4
- package/getGroup.js +4 -4
- package/getServiceLevelAlertHelper.d.ts +4 -4
- package/getServiceLevelAlertHelper.js +4 -4
- package/package.json +2 -2
|
@@ -111,7 +111,7 @@ import * as outputs from "./types/output";
|
|
|
111
111
|
* const bulk = new newrelic.CardinalityManagement("bulk", {
|
|
112
112
|
* metrics: highCardinalityMetrics.map((v, k) => ({key: k, value: v})).map(entry => ({
|
|
113
113
|
* name: entry.value.name,
|
|
114
|
-
* cardinalityLimit:
|
|
114
|
+
* cardinalityLimit: entry.value.limit,
|
|
115
115
|
* })),
|
|
116
116
|
* mode: "PER_METRIC",
|
|
117
117
|
* });
|
package/cardinalityManagement.js
CHANGED
|
@@ -138,7 +138,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
138
138
|
* const bulk = new newrelic.CardinalityManagement("bulk", {
|
|
139
139
|
* metrics: highCardinalityMetrics.map((v, k) => ({key: k, value: v})).map(entry => ({
|
|
140
140
|
* name: entry.value.name,
|
|
141
|
-
* cardinalityLimit:
|
|
141
|
+
* cardinalityLimit: entry.value.limit,
|
|
142
142
|
* })),
|
|
143
143
|
* mode: "PER_METRIC",
|
|
144
144
|
* });
|
package/getAlertChannel.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ import * as outputs from "./types/output";
|
|
|
17
17
|
* });
|
|
18
18
|
* // Resource
|
|
19
19
|
* const fooAlertPolicy = new newrelic.AlertPolicy("foo", {name: "foo"});
|
|
20
|
-
* // Using the
|
|
20
|
+
* // Using the function and resource together
|
|
21
21
|
* const fooAlertPolicyChannel = new newrelic.AlertPolicyChannel("foo", {
|
|
22
22
|
* policyId: fooAlertPolicy.id,
|
|
23
23
|
* channelId: foo.then(foo => foo.id),
|
|
@@ -78,7 +78,7 @@ export interface GetAlertChannelResult {
|
|
|
78
78
|
* });
|
|
79
79
|
* // Resource
|
|
80
80
|
* const fooAlertPolicy = new newrelic.AlertPolicy("foo", {name: "foo"});
|
|
81
|
-
* // Using the
|
|
81
|
+
* // Using the function and resource together
|
|
82
82
|
* const fooAlertPolicyChannel = new newrelic.AlertPolicyChannel("foo", {
|
|
83
83
|
* policyId: fooAlertPolicy.id,
|
|
84
84
|
* channelId: foo.then(foo => foo.id),
|
package/getAlertChannel.js
CHANGED
|
@@ -45,7 +45,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
45
45
|
* });
|
|
46
46
|
* // Resource
|
|
47
47
|
* const fooAlertPolicy = new newrelic.AlertPolicy("foo", {name: "foo"});
|
|
48
|
-
* // Using the
|
|
48
|
+
* // Using the function and resource together
|
|
49
49
|
* const fooAlertPolicyChannel = new newrelic.AlertPolicyChannel("foo", {
|
|
50
50
|
* policyId: fooAlertPolicy.id,
|
|
51
51
|
* channelId: foo.then(foo => foo.id),
|
|
@@ -77,7 +77,7 @@ exports.getAlertChannel = getAlertChannel;
|
|
|
77
77
|
* });
|
|
78
78
|
* // Resource
|
|
79
79
|
* const fooAlertPolicy = new newrelic.AlertPolicy("foo", {name: "foo"});
|
|
80
|
-
* // Using the
|
|
80
|
+
* // Using the function and resource together
|
|
81
81
|
* const fooAlertPolicyChannel = new newrelic.AlertPolicyChannel("foo", {
|
|
82
82
|
* policyId: fooAlertPolicy.id,
|
|
83
83
|
* channelId: foo.then(foo => foo.id),
|
package/getGroup.d.ts
CHANGED
|
@@ -38,10 +38,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
38
38
|
* name: "Test Group",
|
|
39
39
|
* }));
|
|
40
40
|
* const id = fooGetGroup.then(fooGetGroup => fooGetGroup.id);
|
|
41
|
-
* const userIds =
|
|
41
|
+
* const userIds = Promise.all([fooGetGroup.then(fooGetGroup => fooGetGroup.userIds.length), fooGetGroup.then(fooGetGroup => std.join({
|
|
42
42
|
* separator: ", ",
|
|
43
43
|
* input: fooGetGroup.userIds,
|
|
44
|
-
* }))]).
|
|
44
|
+
* }))]).then(([length, invoke]) => length > 0 ? invoke.result : "");
|
|
45
45
|
* ```
|
|
46
46
|
*/
|
|
47
47
|
export declare function getGroup(args: GetGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetGroupResult>;
|
|
@@ -114,10 +114,10 @@ export interface GetGroupResult {
|
|
|
114
114
|
* name: "Test Group",
|
|
115
115
|
* }));
|
|
116
116
|
* const id = fooGetGroup.then(fooGetGroup => fooGetGroup.id);
|
|
117
|
-
* const userIds =
|
|
117
|
+
* const userIds = Promise.all([fooGetGroup.then(fooGetGroup => fooGetGroup.userIds.length), fooGetGroup.then(fooGetGroup => std.join({
|
|
118
118
|
* separator: ", ",
|
|
119
119
|
* input: fooGetGroup.userIds,
|
|
120
|
-
* }))]).
|
|
120
|
+
* }))]).then(([length, invoke]) => length > 0 ? invoke.result : "");
|
|
121
121
|
* ```
|
|
122
122
|
*/
|
|
123
123
|
export declare function getGroupOutput(args: GetGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGroupResult>;
|
package/getGroup.js
CHANGED
|
@@ -67,10 +67,10 @@ const utilities = __importStar(require("./utilities"));
|
|
|
67
67
|
* name: "Test Group",
|
|
68
68
|
* }));
|
|
69
69
|
* const id = fooGetGroup.then(fooGetGroup => fooGetGroup.id);
|
|
70
|
-
* const userIds =
|
|
70
|
+
* const userIds = Promise.all([fooGetGroup.then(fooGetGroup => fooGetGroup.userIds.length), fooGetGroup.then(fooGetGroup => std.join({
|
|
71
71
|
* separator: ", ",
|
|
72
72
|
* input: fooGetGroup.userIds,
|
|
73
|
-
* }))]).
|
|
73
|
+
* }))]).then(([length, invoke]) => length > 0 ? invoke.result : "");
|
|
74
74
|
* ```
|
|
75
75
|
*/
|
|
76
76
|
function getGroup(args, opts) {
|
|
@@ -120,10 +120,10 @@ exports.getGroup = getGroup;
|
|
|
120
120
|
* name: "Test Group",
|
|
121
121
|
* }));
|
|
122
122
|
* const id = fooGetGroup.then(fooGetGroup => fooGetGroup.id);
|
|
123
|
-
* const userIds =
|
|
123
|
+
* const userIds = Promise.all([fooGetGroup.then(fooGetGroup => fooGetGroup.userIds.length), fooGetGroup.then(fooGetGroup => std.join({
|
|
124
124
|
* separator: ", ",
|
|
125
125
|
* input: fooGetGroup.userIds,
|
|
126
|
-
* }))]).
|
|
126
|
+
* }))]).then(([length, invoke]) => length > 0 ? invoke.result : "");
|
|
127
127
|
* ```
|
|
128
128
|
*/
|
|
129
129
|
function getGroupOutput(args, opts) {
|
|
@@ -52,7 +52,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
52
52
|
* alertType: "slow_burn",
|
|
53
53
|
* sliGuid: foo.sliGuid,
|
|
54
54
|
* sloTarget: fooTarget,
|
|
55
|
-
* sloPeriod:
|
|
55
|
+
* sloPeriod: fooPeriod,
|
|
56
56
|
* isBadEvents: true,
|
|
57
57
|
* });
|
|
58
58
|
* const yourCondition = new newrelic.NrqlAlertCondition("your_condition", {
|
|
@@ -89,7 +89,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
89
89
|
* alertType: "custom",
|
|
90
90
|
* sliGuid: foo.sliGuid,
|
|
91
91
|
* sloTarget: fooTarget,
|
|
92
|
-
* sloPeriod:
|
|
92
|
+
* sloPeriod: fooPeriod,
|
|
93
93
|
* customToleratedBudgetConsumption: 4,
|
|
94
94
|
* customEvaluationPeriod: 5400,
|
|
95
95
|
* isBadEvents: true,
|
|
@@ -237,7 +237,7 @@ export interface GetServiceLevelAlertHelperResult {
|
|
|
237
237
|
* alertType: "slow_burn",
|
|
238
238
|
* sliGuid: foo.sliGuid,
|
|
239
239
|
* sloTarget: fooTarget,
|
|
240
|
-
* sloPeriod:
|
|
240
|
+
* sloPeriod: fooPeriod,
|
|
241
241
|
* isBadEvents: true,
|
|
242
242
|
* });
|
|
243
243
|
* const yourCondition = new newrelic.NrqlAlertCondition("your_condition", {
|
|
@@ -274,7 +274,7 @@ export interface GetServiceLevelAlertHelperResult {
|
|
|
274
274
|
* alertType: "custom",
|
|
275
275
|
* sliGuid: foo.sliGuid,
|
|
276
276
|
* sloTarget: fooTarget,
|
|
277
|
-
* sloPeriod:
|
|
277
|
+
* sloPeriod: fooPeriod,
|
|
278
278
|
* customToleratedBudgetConsumption: 4,
|
|
279
279
|
* customEvaluationPeriod: 5400,
|
|
280
280
|
* isBadEvents: true,
|
|
@@ -81,7 +81,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
81
81
|
* alertType: "slow_burn",
|
|
82
82
|
* sliGuid: foo.sliGuid,
|
|
83
83
|
* sloTarget: fooTarget,
|
|
84
|
-
* sloPeriod:
|
|
84
|
+
* sloPeriod: fooPeriod,
|
|
85
85
|
* isBadEvents: true,
|
|
86
86
|
* });
|
|
87
87
|
* const yourCondition = new newrelic.NrqlAlertCondition("your_condition", {
|
|
@@ -118,7 +118,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
118
118
|
* alertType: "custom",
|
|
119
119
|
* sliGuid: foo.sliGuid,
|
|
120
120
|
* sloTarget: fooTarget,
|
|
121
|
-
* sloPeriod:
|
|
121
|
+
* sloPeriod: fooPeriod,
|
|
122
122
|
* customToleratedBudgetConsumption: 4,
|
|
123
123
|
* customEvaluationPeriod: 5400,
|
|
124
124
|
* isBadEvents: true,
|
|
@@ -213,7 +213,7 @@ exports.getServiceLevelAlertHelper = getServiceLevelAlertHelper;
|
|
|
213
213
|
* alertType: "slow_burn",
|
|
214
214
|
* sliGuid: foo.sliGuid,
|
|
215
215
|
* sloTarget: fooTarget,
|
|
216
|
-
* sloPeriod:
|
|
216
|
+
* sloPeriod: fooPeriod,
|
|
217
217
|
* isBadEvents: true,
|
|
218
218
|
* });
|
|
219
219
|
* const yourCondition = new newrelic.NrqlAlertCondition("your_condition", {
|
|
@@ -250,7 +250,7 @@ exports.getServiceLevelAlertHelper = getServiceLevelAlertHelper;
|
|
|
250
250
|
* alertType: "custom",
|
|
251
251
|
* sliGuid: foo.sliGuid,
|
|
252
252
|
* sloTarget: fooTarget,
|
|
253
|
-
* sloPeriod:
|
|
253
|
+
* sloPeriod: fooPeriod,
|
|
254
254
|
* customToleratedBudgetConsumption: 4,
|
|
255
255
|
* customEvaluationPeriod: 5400,
|
|
256
256
|
* isBadEvents: true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/newrelic",
|
|
3
|
-
"version": "5.79.
|
|
3
|
+
"version": "5.79.5",
|
|
4
4
|
"description": "A Pulumi package for creating and managing New Relic resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "newrelic",
|
|
26
|
-
"version": "5.79.
|
|
26
|
+
"version": "5.79.5"
|
|
27
27
|
}
|
|
28
28
|
}
|