@pulumi/newrelic 4.12.0 → 4.13.1
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 +11 -4
- package/alertChannel.js +8 -1
- package/alertChannel.js.map +1 -1
- package/alertPolicyChannel.d.ts +3 -3
- package/cloud/awsGovcloudLinkAccount.d.ts +132 -0
- package/cloud/awsGovcloudLinkAccount.js +92 -0
- package/cloud/awsGovcloudLinkAccount.js.map +1 -0
- package/cloud/awsLinkAccount.d.ts +115 -0
- package/cloud/awsLinkAccount.js +89 -0
- package/cloud/awsLinkAccount.js.map +1 -0
- package/cloud/azureLinkAccount.d.ts +142 -0
- package/cloud/azureLinkAccount.js +105 -0
- package/cloud/azureLinkAccount.js.map +1 -0
- package/cloud/gcpLinkAccount.d.ts +107 -0
- package/cloud/gcpLinkAccount.js +91 -0
- package/cloud/gcpLinkAccount.js.map +1 -0
- package/cloud/index.d.ts +4 -0
- package/cloud/index.js +52 -0
- package/cloud/index.js.map +1 -0
- package/getApplication.d.ts +1 -1
- package/getApplication.js +1 -1
- package/index.d.ts +2 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/nrqlAlertCondition.d.ts +93 -13
- package/nrqlAlertCondition.js +87 -7
- package/nrqlAlertCondition.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/serviceLevel.d.ts +13 -5
- package/serviceLevel.js +7 -5
- package/serviceLevel.js.map +1 -1
- package/types/input.d.ts +3 -3
- package/types/output.d.ts +3 -3
package/alertChannel.d.ts
CHANGED
|
@@ -17,7 +17,9 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
17
17
|
* type: "email",
|
|
18
18
|
* });
|
|
19
19
|
* ```
|
|
20
|
-
*
|
|
20
|
+
* ## Additional Examples
|
|
21
|
+
*
|
|
22
|
+
* ##### Slack
|
|
21
23
|
* ```typescript
|
|
22
24
|
* import * as pulumi from "@pulumi/pulumi";
|
|
23
25
|
* import * as newrelic from "@pulumi/newrelic";
|
|
@@ -30,6 +32,7 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
30
32
|
* type: "slack",
|
|
31
33
|
* });
|
|
32
34
|
* ```
|
|
35
|
+
*
|
|
33
36
|
* ### OpsGenie
|
|
34
37
|
* ```typescript
|
|
35
38
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -45,6 +48,7 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
45
48
|
* type: "opsgenie",
|
|
46
49
|
* });
|
|
47
50
|
* ```
|
|
51
|
+
*
|
|
48
52
|
* ### PagerDuty
|
|
49
53
|
* ```typescript
|
|
50
54
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -57,6 +61,7 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
57
61
|
* type: "pagerduty",
|
|
58
62
|
* });
|
|
59
63
|
* ```
|
|
64
|
+
*
|
|
60
65
|
* ### VictorOps
|
|
61
66
|
* ```typescript
|
|
62
67
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -70,6 +75,7 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
70
75
|
* type: "victorops",
|
|
71
76
|
* });
|
|
72
77
|
* ```
|
|
78
|
+
*
|
|
73
79
|
* ### Webhook
|
|
74
80
|
* ```typescript
|
|
75
81
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -91,6 +97,7 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
91
97
|
* },
|
|
92
98
|
* });
|
|
93
99
|
* ```
|
|
100
|
+
*
|
|
94
101
|
* ### Webhook with complex payload
|
|
95
102
|
* ```typescript
|
|
96
103
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -137,7 +144,7 @@ export declare class AlertChannel extends pulumi.CustomResource {
|
|
|
137
144
|
*/
|
|
138
145
|
static isInstance(obj: any): obj is AlertChannel;
|
|
139
146
|
/**
|
|
140
|
-
*
|
|
147
|
+
* Determines the New Relic account where the alert channel will be created. Defaults to the account associated with the API key used.
|
|
141
148
|
*/
|
|
142
149
|
readonly accountId: pulumi.Output<number>;
|
|
143
150
|
/**
|
|
@@ -166,7 +173,7 @@ export declare class AlertChannel extends pulumi.CustomResource {
|
|
|
166
173
|
*/
|
|
167
174
|
export interface AlertChannelState {
|
|
168
175
|
/**
|
|
169
|
-
*
|
|
176
|
+
* Determines the New Relic account where the alert channel will be created. Defaults to the account associated with the API key used.
|
|
170
177
|
*/
|
|
171
178
|
accountId?: pulumi.Input<number>;
|
|
172
179
|
/**
|
|
@@ -187,7 +194,7 @@ export interface AlertChannelState {
|
|
|
187
194
|
*/
|
|
188
195
|
export interface AlertChannelArgs {
|
|
189
196
|
/**
|
|
190
|
-
*
|
|
197
|
+
* Determines the New Relic account where the alert channel will be created. Defaults to the account associated with the API key used.
|
|
191
198
|
*/
|
|
192
199
|
accountId?: pulumi.Input<number>;
|
|
193
200
|
/**
|
package/alertChannel.js
CHANGED
|
@@ -22,7 +22,9 @@ const utilities = require("./utilities");
|
|
|
22
22
|
* type: "email",
|
|
23
23
|
* });
|
|
24
24
|
* ```
|
|
25
|
-
*
|
|
25
|
+
* ## Additional Examples
|
|
26
|
+
*
|
|
27
|
+
* ##### Slack
|
|
26
28
|
* ```typescript
|
|
27
29
|
* import * as pulumi from "@pulumi/pulumi";
|
|
28
30
|
* import * as newrelic from "@pulumi/newrelic";
|
|
@@ -35,6 +37,7 @@ const utilities = require("./utilities");
|
|
|
35
37
|
* type: "slack",
|
|
36
38
|
* });
|
|
37
39
|
* ```
|
|
40
|
+
*
|
|
38
41
|
* ### OpsGenie
|
|
39
42
|
* ```typescript
|
|
40
43
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -50,6 +53,7 @@ const utilities = require("./utilities");
|
|
|
50
53
|
* type: "opsgenie",
|
|
51
54
|
* });
|
|
52
55
|
* ```
|
|
56
|
+
*
|
|
53
57
|
* ### PagerDuty
|
|
54
58
|
* ```typescript
|
|
55
59
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -62,6 +66,7 @@ const utilities = require("./utilities");
|
|
|
62
66
|
* type: "pagerduty",
|
|
63
67
|
* });
|
|
64
68
|
* ```
|
|
69
|
+
*
|
|
65
70
|
* ### VictorOps
|
|
66
71
|
* ```typescript
|
|
67
72
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -75,6 +80,7 @@ const utilities = require("./utilities");
|
|
|
75
80
|
* type: "victorops",
|
|
76
81
|
* });
|
|
77
82
|
* ```
|
|
83
|
+
*
|
|
78
84
|
* ### Webhook
|
|
79
85
|
* ```typescript
|
|
80
86
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -96,6 +102,7 @@ const utilities = require("./utilities");
|
|
|
96
102
|
* },
|
|
97
103
|
* });
|
|
98
104
|
* ```
|
|
105
|
+
*
|
|
99
106
|
* ### Webhook with complex payload
|
|
100
107
|
* ```typescript
|
|
101
108
|
* import * as pulumi from "@pulumi/pulumi";
|
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;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"alertChannel.js","sourceRoot":"","sources":["../alertChannel.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8HG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IAqDnD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;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EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;IAzED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;;AA1BL,oCA2EC;AA7DG,gBAAgB;AACO,yBAAY,GAAG,0CAA0C,CAAC"}
|
package/alertPolicyChannel.d.ts
CHANGED
|
@@ -67,7 +67,7 @@ export declare class AlertPolicyChannel extends pulumi.CustomResource {
|
|
|
67
67
|
*/
|
|
68
68
|
static isInstance(obj: any): obj is AlertPolicyChannel;
|
|
69
69
|
/**
|
|
70
|
-
*
|
|
70
|
+
* Determines the New Relic account where the alert policy channel will be created. Defaults to the account associated with the API key used.
|
|
71
71
|
*/
|
|
72
72
|
readonly accountId: pulumi.Output<number>;
|
|
73
73
|
/**
|
|
@@ -92,7 +92,7 @@ export declare class AlertPolicyChannel extends pulumi.CustomResource {
|
|
|
92
92
|
*/
|
|
93
93
|
export interface AlertPolicyChannelState {
|
|
94
94
|
/**
|
|
95
|
-
*
|
|
95
|
+
* Determines the New Relic account where the alert policy channel will be created. Defaults to the account associated with the API key used.
|
|
96
96
|
*/
|
|
97
97
|
accountId?: pulumi.Input<number>;
|
|
98
98
|
/**
|
|
@@ -109,7 +109,7 @@ export interface AlertPolicyChannelState {
|
|
|
109
109
|
*/
|
|
110
110
|
export interface AlertPolicyChannelArgs {
|
|
111
111
|
/**
|
|
112
|
-
*
|
|
112
|
+
* Determines the New Relic account where the alert policy channel will be created. Defaults to the account associated with the API key used.
|
|
113
113
|
*/
|
|
114
114
|
accountId?: pulumi.Input<number>;
|
|
115
115
|
/**
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## Example Usage
|
|
4
|
+
*
|
|
5
|
+
* ```typescript
|
|
6
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
7
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
8
|
+
*
|
|
9
|
+
* const foo = new newrelic.cloud.AwsGovcloudLinkAccount("foo", {
|
|
10
|
+
* accessKeyId: "access-key-id of aws govcloud account",
|
|
11
|
+
* accountId: Number.parseFloat("The New Relic account ID where you want to link the AWS GovCloud account"),
|
|
12
|
+
* awsAccountId: "aws govcloud account id",
|
|
13
|
+
* metricCollectionMode: "PULL",
|
|
14
|
+
* secretAccessKey: "secret access key of the aws govcloud account",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* ## Import
|
|
19
|
+
*
|
|
20
|
+
* Linked AWSGovCloud accounts can be imported using the `id`, e.g. bash
|
|
21
|
+
*
|
|
22
|
+
* ```sh
|
|
23
|
+
* $ pulumi import newrelic:cloud/awsGovcloudLinkAccount:AwsGovcloudLinkAccount foo <id>
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare class AwsGovcloudLinkAccount extends pulumi.CustomResource {
|
|
27
|
+
/**
|
|
28
|
+
* Get an existing AwsGovcloudLinkAccount resource's state with the given name, ID, and optional extra
|
|
29
|
+
* properties used to qualify the lookup.
|
|
30
|
+
*
|
|
31
|
+
* @param name The _unique_ name of the resulting resource.
|
|
32
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
33
|
+
* @param state Any extra arguments used during the lookup.
|
|
34
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
35
|
+
*/
|
|
36
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AwsGovcloudLinkAccountState, opts?: pulumi.CustomResourceOptions): AwsGovcloudLinkAccount;
|
|
37
|
+
/**
|
|
38
|
+
* Returns true if the given object is an instance of AwsGovcloudLinkAccount. This is designed to work even
|
|
39
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
40
|
+
*/
|
|
41
|
+
static isInstance(obj: any): obj is AwsGovcloudLinkAccount;
|
|
42
|
+
/**
|
|
43
|
+
* The access key of the AwsGovCloud.
|
|
44
|
+
*/
|
|
45
|
+
readonly accessKeyId: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* The New Relic account ID to operate on. This allows the user to override the `accountId` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
|
|
48
|
+
*/
|
|
49
|
+
readonly accountId: pulumi.Output<number>;
|
|
50
|
+
/**
|
|
51
|
+
* The AwsGovCloud account ID.
|
|
52
|
+
*/
|
|
53
|
+
readonly awsAccountId: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* How metrics will be collected. Use `PUSH` for a metric stream or `PULL` to integrate with individual services.
|
|
56
|
+
*/
|
|
57
|
+
readonly metricCollectionMode: pulumi.Output<string | undefined>;
|
|
58
|
+
/**
|
|
59
|
+
* - The linked account name
|
|
60
|
+
*/
|
|
61
|
+
readonly name: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* The secret key of the AwsGovCloud.
|
|
64
|
+
*/
|
|
65
|
+
readonly secretAccessKey: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* Create a AwsGovcloudLinkAccount resource with the given unique name, arguments, and options.
|
|
68
|
+
*
|
|
69
|
+
* @param name The _unique_ name of the resource.
|
|
70
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
71
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
72
|
+
*/
|
|
73
|
+
constructor(name: string, args: AwsGovcloudLinkAccountArgs, opts?: pulumi.CustomResourceOptions);
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Input properties used for looking up and filtering AwsGovcloudLinkAccount resources.
|
|
77
|
+
*/
|
|
78
|
+
export interface AwsGovcloudLinkAccountState {
|
|
79
|
+
/**
|
|
80
|
+
* The access key of the AwsGovCloud.
|
|
81
|
+
*/
|
|
82
|
+
accessKeyId?: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* The New Relic account ID to operate on. This allows the user to override the `accountId` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
|
|
85
|
+
*/
|
|
86
|
+
accountId?: pulumi.Input<number>;
|
|
87
|
+
/**
|
|
88
|
+
* The AwsGovCloud account ID.
|
|
89
|
+
*/
|
|
90
|
+
awsAccountId?: pulumi.Input<string>;
|
|
91
|
+
/**
|
|
92
|
+
* How metrics will be collected. Use `PUSH` for a metric stream or `PULL` to integrate with individual services.
|
|
93
|
+
*/
|
|
94
|
+
metricCollectionMode?: pulumi.Input<string>;
|
|
95
|
+
/**
|
|
96
|
+
* - The linked account name
|
|
97
|
+
*/
|
|
98
|
+
name?: pulumi.Input<string>;
|
|
99
|
+
/**
|
|
100
|
+
* The secret key of the AwsGovCloud.
|
|
101
|
+
*/
|
|
102
|
+
secretAccessKey?: pulumi.Input<string>;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* The set of arguments for constructing a AwsGovcloudLinkAccount resource.
|
|
106
|
+
*/
|
|
107
|
+
export interface AwsGovcloudLinkAccountArgs {
|
|
108
|
+
/**
|
|
109
|
+
* The access key of the AwsGovCloud.
|
|
110
|
+
*/
|
|
111
|
+
accessKeyId: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* The New Relic account ID to operate on. This allows the user to override the `accountId` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
|
|
114
|
+
*/
|
|
115
|
+
accountId?: pulumi.Input<number>;
|
|
116
|
+
/**
|
|
117
|
+
* The AwsGovCloud account ID.
|
|
118
|
+
*/
|
|
119
|
+
awsAccountId: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* How metrics will be collected. Use `PUSH` for a metric stream or `PULL` to integrate with individual services.
|
|
122
|
+
*/
|
|
123
|
+
metricCollectionMode?: pulumi.Input<string>;
|
|
124
|
+
/**
|
|
125
|
+
* - The linked account name
|
|
126
|
+
*/
|
|
127
|
+
name?: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* The secret key of the AwsGovCloud.
|
|
130
|
+
*/
|
|
131
|
+
secretAccessKey: pulumi.Input<string>;
|
|
132
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
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.AwsGovcloudLinkAccount = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
14
|
+
*
|
|
15
|
+
* const foo = new newrelic.cloud.AwsGovcloudLinkAccount("foo", {
|
|
16
|
+
* accessKeyId: "access-key-id of aws govcloud account",
|
|
17
|
+
* accountId: Number.parseFloat("The New Relic account ID where you want to link the AWS GovCloud account"),
|
|
18
|
+
* awsAccountId: "aws govcloud account id",
|
|
19
|
+
* metricCollectionMode: "PULL",
|
|
20
|
+
* secretAccessKey: "secret access key of the aws govcloud account",
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* ## Import
|
|
25
|
+
*
|
|
26
|
+
* Linked AWSGovCloud accounts can be imported using the `id`, e.g. bash
|
|
27
|
+
*
|
|
28
|
+
* ```sh
|
|
29
|
+
* $ pulumi import newrelic:cloud/awsGovcloudLinkAccount:AwsGovcloudLinkAccount foo <id>
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
class AwsGovcloudLinkAccount extends pulumi.CustomResource {
|
|
33
|
+
constructor(name, argsOrState, opts) {
|
|
34
|
+
let resourceInputs = {};
|
|
35
|
+
opts = opts || {};
|
|
36
|
+
if (opts.id) {
|
|
37
|
+
const state = argsOrState;
|
|
38
|
+
resourceInputs["accessKeyId"] = state ? state.accessKeyId : undefined;
|
|
39
|
+
resourceInputs["accountId"] = state ? state.accountId : undefined;
|
|
40
|
+
resourceInputs["awsAccountId"] = state ? state.awsAccountId : undefined;
|
|
41
|
+
resourceInputs["metricCollectionMode"] = state ? state.metricCollectionMode : undefined;
|
|
42
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
43
|
+
resourceInputs["secretAccessKey"] = state ? state.secretAccessKey : undefined;
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
const args = argsOrState;
|
|
47
|
+
if ((!args || args.accessKeyId === undefined) && !opts.urn) {
|
|
48
|
+
throw new Error("Missing required property 'accessKeyId'");
|
|
49
|
+
}
|
|
50
|
+
if ((!args || args.awsAccountId === undefined) && !opts.urn) {
|
|
51
|
+
throw new Error("Missing required property 'awsAccountId'");
|
|
52
|
+
}
|
|
53
|
+
if ((!args || args.secretAccessKey === undefined) && !opts.urn) {
|
|
54
|
+
throw new Error("Missing required property 'secretAccessKey'");
|
|
55
|
+
}
|
|
56
|
+
resourceInputs["accessKeyId"] = args ? args.accessKeyId : undefined;
|
|
57
|
+
resourceInputs["accountId"] = args ? args.accountId : undefined;
|
|
58
|
+
resourceInputs["awsAccountId"] = args ? args.awsAccountId : undefined;
|
|
59
|
+
resourceInputs["metricCollectionMode"] = args ? args.metricCollectionMode : undefined;
|
|
60
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
61
|
+
resourceInputs["secretAccessKey"] = args ? args.secretAccessKey : undefined;
|
|
62
|
+
}
|
|
63
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
64
|
+
super(AwsGovcloudLinkAccount.__pulumiType, name, resourceInputs, opts);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Get an existing AwsGovcloudLinkAccount resource's state with the given name, ID, and optional extra
|
|
68
|
+
* properties used to qualify the lookup.
|
|
69
|
+
*
|
|
70
|
+
* @param name The _unique_ name of the resulting resource.
|
|
71
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
72
|
+
* @param state Any extra arguments used during the lookup.
|
|
73
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
74
|
+
*/
|
|
75
|
+
static get(name, id, state, opts) {
|
|
76
|
+
return new AwsGovcloudLinkAccount(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Returns true if the given object is an instance of AwsGovcloudLinkAccount. This is designed to work even
|
|
80
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
81
|
+
*/
|
|
82
|
+
static isInstance(obj) {
|
|
83
|
+
if (obj === undefined || obj === null) {
|
|
84
|
+
return false;
|
|
85
|
+
}
|
|
86
|
+
return obj['__pulumiType'] === AwsGovcloudLinkAccount.__pulumiType;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
exports.AwsGovcloudLinkAccount = AwsGovcloudLinkAccount;
|
|
90
|
+
/** @internal */
|
|
91
|
+
AwsGovcloudLinkAccount.__pulumiType = 'newrelic:cloud/awsGovcloudLinkAccount:AwsGovcloudLinkAccount';
|
|
92
|
+
//# sourceMappingURL=awsGovcloudLinkAccount.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"awsGovcloudLinkAccount.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IA3FD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7E,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,sBAAsB,CAAC,YAAY,CAAC;IACvE,CAAC;;AA1BL,wDA6FC;AA/EG,gBAAgB;AACO,mCAAY,GAAG,8DAA8D,CAAC"}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Use this resource to link an AWS account to New Relic.
|
|
4
|
+
*
|
|
5
|
+
* ## Prerequisite
|
|
6
|
+
*
|
|
7
|
+
* Setup is required in AWS for this resource to work properly. The New Relic AWS integration can be set up to pull metrics from AWS services or AWS can push metrics to New Relic using CloudWatch Metric Streams.
|
|
8
|
+
*
|
|
9
|
+
* Using a metric stream to New Relic is the preferred way to integrate with AWS. Follow the [steps outlined here](https://docs.newrelic.com/docs/infrastructure/amazon-integrations/aws-integrations-list/aws-metric-stream/#set-up-metric-stream) to set up a metric stream.
|
|
10
|
+
*
|
|
11
|
+
* To pull data from AWS instead, complete the [steps outlined here](https://docs.newrelic.com/docs/infrastructure/amazon-integrations/get-started/connect-aws-new-relic-infrastructure-monitoring#connect).
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
18
|
+
*
|
|
19
|
+
* const foo = new newrelic.cloud.AwsLinkAccount("foo", {
|
|
20
|
+
* arn: "arn:aws:service:region:account-id:resource-id",
|
|
21
|
+
* metricCollectionMode: "PUSH",
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* ## Import
|
|
26
|
+
*
|
|
27
|
+
* Linked AWS accounts can be imported using the `id`, e.g. bash
|
|
28
|
+
*
|
|
29
|
+
* ```sh
|
|
30
|
+
* $ pulumi import newrelic:cloud/awsLinkAccount:AwsLinkAccount foo <id>
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
export declare class AwsLinkAccount extends pulumi.CustomResource {
|
|
34
|
+
/**
|
|
35
|
+
* Get an existing AwsLinkAccount resource's state with the given name, ID, and optional extra
|
|
36
|
+
* properties used to qualify the lookup.
|
|
37
|
+
*
|
|
38
|
+
* @param name The _unique_ name of the resulting resource.
|
|
39
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
40
|
+
* @param state Any extra arguments used during the lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AwsLinkAccountState, opts?: pulumi.CustomResourceOptions): AwsLinkAccount;
|
|
44
|
+
/**
|
|
45
|
+
* Returns true if the given object is an instance of AwsLinkAccount. This is designed to work even
|
|
46
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
47
|
+
*/
|
|
48
|
+
static isInstance(obj: any): obj is AwsLinkAccount;
|
|
49
|
+
/**
|
|
50
|
+
* The New Relic account ID to operate on. This allows the user to override the `accountId` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
|
|
51
|
+
*/
|
|
52
|
+
readonly accountId: pulumi.Output<number>;
|
|
53
|
+
/**
|
|
54
|
+
* The Amazon Resource Name (ARN) of the IAM role.
|
|
55
|
+
*/
|
|
56
|
+
readonly arn: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* How metrics will be collected. Use `PUSH` for a metric stream or `PULL` to integrate with individual services.
|
|
59
|
+
*/
|
|
60
|
+
readonly metricCollectionMode: pulumi.Output<string | undefined>;
|
|
61
|
+
/**
|
|
62
|
+
* - The linked account name
|
|
63
|
+
*/
|
|
64
|
+
readonly name: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* Create a AwsLinkAccount resource with the given unique name, arguments, and options.
|
|
67
|
+
*
|
|
68
|
+
* @param name The _unique_ name of the resource.
|
|
69
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
70
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
71
|
+
*/
|
|
72
|
+
constructor(name: string, args: AwsLinkAccountArgs, opts?: pulumi.CustomResourceOptions);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Input properties used for looking up and filtering AwsLinkAccount resources.
|
|
76
|
+
*/
|
|
77
|
+
export interface AwsLinkAccountState {
|
|
78
|
+
/**
|
|
79
|
+
* The New Relic account ID to operate on. This allows the user to override the `accountId` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
|
|
80
|
+
*/
|
|
81
|
+
accountId?: pulumi.Input<number>;
|
|
82
|
+
/**
|
|
83
|
+
* The Amazon Resource Name (ARN) of the IAM role.
|
|
84
|
+
*/
|
|
85
|
+
arn?: pulumi.Input<string>;
|
|
86
|
+
/**
|
|
87
|
+
* How metrics will be collected. Use `PUSH` for a metric stream or `PULL` to integrate with individual services.
|
|
88
|
+
*/
|
|
89
|
+
metricCollectionMode?: pulumi.Input<string>;
|
|
90
|
+
/**
|
|
91
|
+
* - The linked account name
|
|
92
|
+
*/
|
|
93
|
+
name?: pulumi.Input<string>;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* The set of arguments for constructing a AwsLinkAccount resource.
|
|
97
|
+
*/
|
|
98
|
+
export interface AwsLinkAccountArgs {
|
|
99
|
+
/**
|
|
100
|
+
* The New Relic account ID to operate on. This allows the user to override the `accountId` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
|
|
101
|
+
*/
|
|
102
|
+
accountId?: pulumi.Input<number>;
|
|
103
|
+
/**
|
|
104
|
+
* The Amazon Resource Name (ARN) of the IAM role.
|
|
105
|
+
*/
|
|
106
|
+
arn: pulumi.Input<string>;
|
|
107
|
+
/**
|
|
108
|
+
* How metrics will be collected. Use `PUSH` for a metric stream or `PULL` to integrate with individual services.
|
|
109
|
+
*/
|
|
110
|
+
metricCollectionMode?: pulumi.Input<string>;
|
|
111
|
+
/**
|
|
112
|
+
* - The linked account name
|
|
113
|
+
*/
|
|
114
|
+
name?: pulumi.Input<string>;
|
|
115
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
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.AwsLinkAccount = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this resource to link an AWS account to New Relic.
|
|
10
|
+
*
|
|
11
|
+
* ## Prerequisite
|
|
12
|
+
*
|
|
13
|
+
* Setup is required in AWS for this resource to work properly. The New Relic AWS integration can be set up to pull metrics from AWS services or AWS can push metrics to New Relic using CloudWatch Metric Streams.
|
|
14
|
+
*
|
|
15
|
+
* Using a metric stream to New Relic is the preferred way to integrate with AWS. Follow the [steps outlined here](https://docs.newrelic.com/docs/infrastructure/amazon-integrations/aws-integrations-list/aws-metric-stream/#set-up-metric-stream) to set up a metric stream.
|
|
16
|
+
*
|
|
17
|
+
* To pull data from AWS instead, complete the [steps outlined here](https://docs.newrelic.com/docs/infrastructure/amazon-integrations/get-started/connect-aws-new-relic-infrastructure-monitoring#connect).
|
|
18
|
+
*
|
|
19
|
+
* ## Example Usage
|
|
20
|
+
*
|
|
21
|
+
* ```typescript
|
|
22
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
23
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
24
|
+
*
|
|
25
|
+
* const foo = new newrelic.cloud.AwsLinkAccount("foo", {
|
|
26
|
+
* arn: "arn:aws:service:region:account-id:resource-id",
|
|
27
|
+
* metricCollectionMode: "PUSH",
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* ## Import
|
|
32
|
+
*
|
|
33
|
+
* Linked AWS accounts can be imported using the `id`, e.g. bash
|
|
34
|
+
*
|
|
35
|
+
* ```sh
|
|
36
|
+
* $ pulumi import newrelic:cloud/awsLinkAccount:AwsLinkAccount foo <id>
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
class AwsLinkAccount extends pulumi.CustomResource {
|
|
40
|
+
constructor(name, argsOrState, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (opts.id) {
|
|
44
|
+
const state = argsOrState;
|
|
45
|
+
resourceInputs["accountId"] = state ? state.accountId : undefined;
|
|
46
|
+
resourceInputs["arn"] = state ? state.arn : undefined;
|
|
47
|
+
resourceInputs["metricCollectionMode"] = state ? state.metricCollectionMode : undefined;
|
|
48
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
49
|
+
}
|
|
50
|
+
else {
|
|
51
|
+
const args = argsOrState;
|
|
52
|
+
if ((!args || args.arn === undefined) && !opts.urn) {
|
|
53
|
+
throw new Error("Missing required property 'arn'");
|
|
54
|
+
}
|
|
55
|
+
resourceInputs["accountId"] = args ? args.accountId : undefined;
|
|
56
|
+
resourceInputs["arn"] = args ? args.arn : undefined;
|
|
57
|
+
resourceInputs["metricCollectionMode"] = args ? args.metricCollectionMode : undefined;
|
|
58
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
59
|
+
}
|
|
60
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
61
|
+
super(AwsLinkAccount.__pulumiType, name, resourceInputs, opts);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Get an existing AwsLinkAccount resource's state with the given name, ID, and optional extra
|
|
65
|
+
* properties used to qualify the lookup.
|
|
66
|
+
*
|
|
67
|
+
* @param name The _unique_ name of the resulting resource.
|
|
68
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
69
|
+
* @param state Any extra arguments used during the lookup.
|
|
70
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
71
|
+
*/
|
|
72
|
+
static get(name, id, state, opts) {
|
|
73
|
+
return new AwsLinkAccount(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Returns true if the given object is an instance of AwsLinkAccount. This is designed to work even
|
|
77
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
78
|
+
*/
|
|
79
|
+
static isInstance(obj) {
|
|
80
|
+
if (obj === undefined || obj === null) {
|
|
81
|
+
return false;
|
|
82
|
+
}
|
|
83
|
+
return obj['__pulumiType'] === AwsLinkAccount.__pulumiType;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
exports.AwsLinkAccount = AwsLinkAccount;
|
|
87
|
+
/** @internal */
|
|
88
|
+
AwsLinkAccount.__pulumiType = 'newrelic:cloud/awsLinkAccount:AwsLinkAccount';
|
|
89
|
+
//# sourceMappingURL=awsLinkAccount.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"awsLinkAccount.js","sourceRoot":"","sources":["../../cloud/awsLinkAccount.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IAqDrD,YAA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