@pulumi/newrelic 5.58.0-alpha.1762844926 → 5.58.0-alpha.1763072040
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/getAlertChannel.d.ts +34 -0
- package/getAlertChannel.js +34 -0
- package/getAlertChannel.js.map +1 -1
- package/getAlertPolicy.d.ts +32 -0
- package/getAlertPolicy.js +32 -0
- package/getAlertPolicy.js.map +1 -1
- package/package.json +2 -2
package/getAlertChannel.d.ts
CHANGED
|
@@ -6,6 +6,23 @@ import * as outputs from "./types/output";
|
|
|
6
6
|
* > **WARNING:** The `newrelic.AlertChannel` data source is deprecated and will be removed in the next major release.
|
|
7
7
|
*
|
|
8
8
|
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
13
|
+
*
|
|
14
|
+
* // Data source
|
|
15
|
+
* const foo = newrelic.getAlertChannel({
|
|
16
|
+
* name: "foo@example.com",
|
|
17
|
+
* });
|
|
18
|
+
* // Resource
|
|
19
|
+
* const fooAlertPolicy = new newrelic.AlertPolicy("foo", {name: "foo"});
|
|
20
|
+
* // Using the data source and resource together
|
|
21
|
+
* const fooAlertPolicyChannel = new newrelic.AlertPolicyChannel("foo", {
|
|
22
|
+
* policyId: fooAlertPolicy.id,
|
|
23
|
+
* channelId: foo.then(foo => foo.id),
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
9
26
|
*/
|
|
10
27
|
export declare function getAlertChannel(args: GetAlertChannelArgs, opts?: pulumi.InvokeOptions): Promise<GetAlertChannelResult>;
|
|
11
28
|
/**
|
|
@@ -50,6 +67,23 @@ export interface GetAlertChannelResult {
|
|
|
50
67
|
* > **WARNING:** The `newrelic.AlertChannel` data source is deprecated and will be removed in the next major release.
|
|
51
68
|
*
|
|
52
69
|
* ## Example Usage
|
|
70
|
+
*
|
|
71
|
+
* ```typescript
|
|
72
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
73
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
74
|
+
*
|
|
75
|
+
* // Data source
|
|
76
|
+
* const foo = newrelic.getAlertChannel({
|
|
77
|
+
* name: "foo@example.com",
|
|
78
|
+
* });
|
|
79
|
+
* // Resource
|
|
80
|
+
* const fooAlertPolicy = new newrelic.AlertPolicy("foo", {name: "foo"});
|
|
81
|
+
* // Using the data source and resource together
|
|
82
|
+
* const fooAlertPolicyChannel = new newrelic.AlertPolicyChannel("foo", {
|
|
83
|
+
* policyId: fooAlertPolicy.id,
|
|
84
|
+
* channelId: foo.then(foo => foo.id),
|
|
85
|
+
* });
|
|
86
|
+
* ```
|
|
53
87
|
*/
|
|
54
88
|
export declare function getAlertChannelOutput(args: GetAlertChannelOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAlertChannelResult>;
|
|
55
89
|
/**
|
package/getAlertChannel.js
CHANGED
|
@@ -11,6 +11,23 @@ const utilities = require("./utilities");
|
|
|
11
11
|
* > **WARNING:** The `newrelic.AlertChannel` data source is deprecated and will be removed in the next major release.
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
18
|
+
*
|
|
19
|
+
* // Data source
|
|
20
|
+
* const foo = newrelic.getAlertChannel({
|
|
21
|
+
* name: "foo@example.com",
|
|
22
|
+
* });
|
|
23
|
+
* // Resource
|
|
24
|
+
* const fooAlertPolicy = new newrelic.AlertPolicy("foo", {name: "foo"});
|
|
25
|
+
* // Using the data source and resource together
|
|
26
|
+
* const fooAlertPolicyChannel = new newrelic.AlertPolicyChannel("foo", {
|
|
27
|
+
* policyId: fooAlertPolicy.id,
|
|
28
|
+
* channelId: foo.then(foo => foo.id),
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
14
31
|
*/
|
|
15
32
|
function getAlertChannel(args, opts) {
|
|
16
33
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -26,6 +43,23 @@ exports.getAlertChannel = getAlertChannel;
|
|
|
26
43
|
* > **WARNING:** The `newrelic.AlertChannel` data source is deprecated and will be removed in the next major release.
|
|
27
44
|
*
|
|
28
45
|
* ## Example Usage
|
|
46
|
+
*
|
|
47
|
+
* ```typescript
|
|
48
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
49
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
50
|
+
*
|
|
51
|
+
* // Data source
|
|
52
|
+
* const foo = newrelic.getAlertChannel({
|
|
53
|
+
* name: "foo@example.com",
|
|
54
|
+
* });
|
|
55
|
+
* // Resource
|
|
56
|
+
* const fooAlertPolicy = new newrelic.AlertPolicy("foo", {name: "foo"});
|
|
57
|
+
* // Using the data source and resource together
|
|
58
|
+
* const fooAlertPolicyChannel = new newrelic.AlertPolicyChannel("foo", {
|
|
59
|
+
* policyId: fooAlertPolicy.id,
|
|
60
|
+
* channelId: foo.then(foo => foo.id),
|
|
61
|
+
* });
|
|
62
|
+
* ```
|
|
29
63
|
*/
|
|
30
64
|
function getAlertChannelOutput(args, opts) {
|
|
31
65
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
package/getAlertChannel.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAlertChannel.js","sourceRoot":"","sources":["../getAlertChannel.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getAlertChannel.js","sourceRoot":"","sources":["../getAlertChannel.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE;QAC3E,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0CAMC;AAuCD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAAiC;IACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gDAAgD,EAAE;QACjF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sDAMC"}
|
package/getAlertPolicy.d.ts
CHANGED
|
@@ -3,6 +3,22 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
3
3
|
* Use this data source to get information about a specific alert policy in New Relic that already exists.
|
|
4
4
|
*
|
|
5
5
|
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
10
|
+
*
|
|
11
|
+
* const foo = newrelic.getAlertChannel({
|
|
12
|
+
* name: "foo@example.com",
|
|
13
|
+
* });
|
|
14
|
+
* const fooGetAlertPolicy = newrelic.getAlertPolicy({
|
|
15
|
+
* name: "foo policy",
|
|
16
|
+
* });
|
|
17
|
+
* const fooAlertPolicyChannel = new newrelic.AlertPolicyChannel("foo", {
|
|
18
|
+
* policyId: fooGetAlertPolicy.then(fooGetAlertPolicy => fooGetAlertPolicy.id),
|
|
19
|
+
* channelId: foo.then(foo => foo.id),
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
6
22
|
*/
|
|
7
23
|
export declare function getAlertPolicy(args: GetAlertPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetAlertPolicyResult>;
|
|
8
24
|
/**
|
|
@@ -55,6 +71,22 @@ export interface GetAlertPolicyResult {
|
|
|
55
71
|
* Use this data source to get information about a specific alert policy in New Relic that already exists.
|
|
56
72
|
*
|
|
57
73
|
* ## Example Usage
|
|
74
|
+
*
|
|
75
|
+
* ```typescript
|
|
76
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
77
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
78
|
+
*
|
|
79
|
+
* const foo = newrelic.getAlertChannel({
|
|
80
|
+
* name: "foo@example.com",
|
|
81
|
+
* });
|
|
82
|
+
* const fooGetAlertPolicy = newrelic.getAlertPolicy({
|
|
83
|
+
* name: "foo policy",
|
|
84
|
+
* });
|
|
85
|
+
* const fooAlertPolicyChannel = new newrelic.AlertPolicyChannel("foo", {
|
|
86
|
+
* policyId: fooGetAlertPolicy.then(fooGetAlertPolicy => fooGetAlertPolicy.id),
|
|
87
|
+
* channelId: foo.then(foo => foo.id),
|
|
88
|
+
* });
|
|
89
|
+
* ```
|
|
58
90
|
*/
|
|
59
91
|
export declare function getAlertPolicyOutput(args: GetAlertPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAlertPolicyResult>;
|
|
60
92
|
/**
|
package/getAlertPolicy.js
CHANGED
|
@@ -9,6 +9,22 @@ const utilities = require("./utilities");
|
|
|
9
9
|
* Use this data source to get information about a specific alert policy in New Relic that already exists.
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
16
|
+
*
|
|
17
|
+
* const foo = newrelic.getAlertChannel({
|
|
18
|
+
* name: "foo@example.com",
|
|
19
|
+
* });
|
|
20
|
+
* const fooGetAlertPolicy = newrelic.getAlertPolicy({
|
|
21
|
+
* name: "foo policy",
|
|
22
|
+
* });
|
|
23
|
+
* const fooAlertPolicyChannel = new newrelic.AlertPolicyChannel("foo", {
|
|
24
|
+
* policyId: fooGetAlertPolicy.then(fooGetAlertPolicy => fooGetAlertPolicy.id),
|
|
25
|
+
* channelId: foo.then(foo => foo.id),
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
12
28
|
*/
|
|
13
29
|
function getAlertPolicy(args, opts) {
|
|
14
30
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -23,6 +39,22 @@ exports.getAlertPolicy = getAlertPolicy;
|
|
|
23
39
|
* Use this data source to get information about a specific alert policy in New Relic that already exists.
|
|
24
40
|
*
|
|
25
41
|
* ## Example Usage
|
|
42
|
+
*
|
|
43
|
+
* ```typescript
|
|
44
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
45
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
46
|
+
*
|
|
47
|
+
* const foo = newrelic.getAlertChannel({
|
|
48
|
+
* name: "foo@example.com",
|
|
49
|
+
* });
|
|
50
|
+
* const fooGetAlertPolicy = newrelic.getAlertPolicy({
|
|
51
|
+
* name: "foo policy",
|
|
52
|
+
* });
|
|
53
|
+
* const fooAlertPolicyChannel = new newrelic.AlertPolicyChannel("foo", {
|
|
54
|
+
* policyId: fooGetAlertPolicy.then(fooGetAlertPolicy => fooGetAlertPolicy.id),
|
|
55
|
+
* channelId: foo.then(foo => foo.id),
|
|
56
|
+
* });
|
|
57
|
+
* ```
|
|
26
58
|
*/
|
|
27
59
|
function getAlertPolicyOutput(args, opts) {
|
|
28
60
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
package/getAlertPolicy.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAlertPolicy.js","sourceRoot":"","sources":["../getAlertPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getAlertPolicy.js","sourceRoot":"","sources":["../getAlertPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;QAC7C,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,wCAOC;AAiDD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAAiC;IAClG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8CAA8C,EAAE;QAC/E,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;QAC7C,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,oDAOC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/newrelic",
|
|
3
|
-
"version": "5.58.0-alpha.
|
|
3
|
+
"version": "5.58.0-alpha.1763072040",
|
|
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.58.0-alpha.
|
|
26
|
+
"version": "5.58.0-alpha.1763072040"
|
|
27
27
|
}
|
|
28
28
|
}
|