@pulumi/newrelic 5.38.0 → 5.38.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/cloud/awsGovcloudLinkAccount.d.ts +26 -23
- package/cloud/awsGovcloudLinkAccount.js +8 -8
- package/cloud/awsGovcloudLinkAccount.js.map +1 -1
- package/nrqlAlertCondition.d.ts +1 -1
- package/nrqlAlertCondition.js +1 -1
- package/package.json +2 -2
- package/types/input.d.ts +1 -1
- package/types/output.d.ts +1 -1
|
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* > **IMPORTANT!** This resource is in alpha state, and could still contain issues and missing functionality. If you encounter any issue please create a ticket on Github with all the required information.
|
|
4
4
|
*
|
|
5
|
-
* Use this resource to link an
|
|
5
|
+
* Use this resource to link an AWS GovCloud account to New Relic.
|
|
6
6
|
*
|
|
7
7
|
* ## Prerequisite
|
|
8
8
|
*
|
|
@@ -19,18 +19,18 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
19
19
|
* import * as newrelic from "@pulumi/newrelic";
|
|
20
20
|
*
|
|
21
21
|
* const foo = new newrelic.cloud.AwsGovcloudLinkAccount("foo", {
|
|
22
|
-
* accountId: "
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
* secretAccessKey: "
|
|
22
|
+
* accountId: "1234567",
|
|
23
|
+
* name: "My New Relic - AWS GovCloud Linked Account",
|
|
24
|
+
* metricCollectionMode: "PUSH",
|
|
25
|
+
* awsAccountId: "<Your AWS GovCloud Account's ID>",
|
|
26
|
+
* accessKeyId: "<Your AWS GovCloud Account's Access Key ID>",
|
|
27
|
+
* secretAccessKey: "<Your AWS GovCloud Account's Secret Access Key>",
|
|
28
28
|
* });
|
|
29
29
|
* ```
|
|
30
30
|
*
|
|
31
31
|
* ## Import
|
|
32
32
|
*
|
|
33
|
-
* Linked
|
|
33
|
+
* Linked AWS GovCloud accounts can be imported using the `id`, e.g.
|
|
34
34
|
*
|
|
35
35
|
* bash
|
|
36
36
|
*
|
|
@@ -55,7 +55,7 @@ export declare class AwsGovcloudLinkAccount extends pulumi.CustomResource {
|
|
|
55
55
|
*/
|
|
56
56
|
static isInstance(obj: any): obj is AwsGovcloudLinkAccount;
|
|
57
57
|
/**
|
|
58
|
-
* The
|
|
58
|
+
* The Access Key used to programmatically access the AWS GovCloud account.
|
|
59
59
|
*/
|
|
60
60
|
readonly accessKeyId: pulumi.Output<string>;
|
|
61
61
|
/**
|
|
@@ -63,19 +63,20 @@ export declare class AwsGovcloudLinkAccount extends pulumi.CustomResource {
|
|
|
63
63
|
*/
|
|
64
64
|
readonly accountId: pulumi.Output<string>;
|
|
65
65
|
/**
|
|
66
|
-
* The
|
|
66
|
+
* The ID of the AWS GovCloud account.
|
|
67
67
|
*/
|
|
68
68
|
readonly awsAccountId: pulumi.Output<string>;
|
|
69
69
|
/**
|
|
70
|
-
*
|
|
70
|
+
* The mode by which metric data is to be collected from the linked AWS GovCloud account. Use `PUSH` for Metric Streams and `PULL` for API Polling based metric collection respectively.
|
|
71
|
+
* - Note: Altering the `metricCollectionMode` of an already applied `newrelic.cloud.AwsGovcloudLinkAccount` resource shall trigger a recreation of the resource, instead of an update.
|
|
71
72
|
*/
|
|
72
73
|
readonly metricCollectionMode: pulumi.Output<string | undefined>;
|
|
73
74
|
/**
|
|
74
|
-
* The linked account
|
|
75
|
+
* The name/identifier of the AWS GovCloud - New Relic 'linked' account.
|
|
75
76
|
*/
|
|
76
77
|
readonly name: pulumi.Output<string>;
|
|
77
78
|
/**
|
|
78
|
-
* The
|
|
79
|
+
* The Secret Access Key used to programmatically access the AWS GovCloud account.
|
|
79
80
|
*/
|
|
80
81
|
readonly secretAccessKey: pulumi.Output<string>;
|
|
81
82
|
/**
|
|
@@ -92,7 +93,7 @@ export declare class AwsGovcloudLinkAccount extends pulumi.CustomResource {
|
|
|
92
93
|
*/
|
|
93
94
|
export interface AwsGovcloudLinkAccountState {
|
|
94
95
|
/**
|
|
95
|
-
* The
|
|
96
|
+
* The Access Key used to programmatically access the AWS GovCloud account.
|
|
96
97
|
*/
|
|
97
98
|
accessKeyId?: pulumi.Input<string>;
|
|
98
99
|
/**
|
|
@@ -100,19 +101,20 @@ export interface AwsGovcloudLinkAccountState {
|
|
|
100
101
|
*/
|
|
101
102
|
accountId?: pulumi.Input<string>;
|
|
102
103
|
/**
|
|
103
|
-
* The
|
|
104
|
+
* The ID of the AWS GovCloud account.
|
|
104
105
|
*/
|
|
105
106
|
awsAccountId?: pulumi.Input<string>;
|
|
106
107
|
/**
|
|
107
|
-
*
|
|
108
|
+
* The mode by which metric data is to be collected from the linked AWS GovCloud account. Use `PUSH` for Metric Streams and `PULL` for API Polling based metric collection respectively.
|
|
109
|
+
* - Note: Altering the `metricCollectionMode` of an already applied `newrelic.cloud.AwsGovcloudLinkAccount` resource shall trigger a recreation of the resource, instead of an update.
|
|
108
110
|
*/
|
|
109
111
|
metricCollectionMode?: pulumi.Input<string>;
|
|
110
112
|
/**
|
|
111
|
-
* The linked account
|
|
113
|
+
* The name/identifier of the AWS GovCloud - New Relic 'linked' account.
|
|
112
114
|
*/
|
|
113
115
|
name?: pulumi.Input<string>;
|
|
114
116
|
/**
|
|
115
|
-
* The
|
|
117
|
+
* The Secret Access Key used to programmatically access the AWS GovCloud account.
|
|
116
118
|
*/
|
|
117
119
|
secretAccessKey?: pulumi.Input<string>;
|
|
118
120
|
}
|
|
@@ -121,7 +123,7 @@ export interface AwsGovcloudLinkAccountState {
|
|
|
121
123
|
*/
|
|
122
124
|
export interface AwsGovcloudLinkAccountArgs {
|
|
123
125
|
/**
|
|
124
|
-
* The
|
|
126
|
+
* The Access Key used to programmatically access the AWS GovCloud account.
|
|
125
127
|
*/
|
|
126
128
|
accessKeyId: pulumi.Input<string>;
|
|
127
129
|
/**
|
|
@@ -129,19 +131,20 @@ export interface AwsGovcloudLinkAccountArgs {
|
|
|
129
131
|
*/
|
|
130
132
|
accountId?: pulumi.Input<string>;
|
|
131
133
|
/**
|
|
132
|
-
* The
|
|
134
|
+
* The ID of the AWS GovCloud account.
|
|
133
135
|
*/
|
|
134
136
|
awsAccountId: pulumi.Input<string>;
|
|
135
137
|
/**
|
|
136
|
-
*
|
|
138
|
+
* The mode by which metric data is to be collected from the linked AWS GovCloud account. Use `PUSH` for Metric Streams and `PULL` for API Polling based metric collection respectively.
|
|
139
|
+
* - Note: Altering the `metricCollectionMode` of an already applied `newrelic.cloud.AwsGovcloudLinkAccount` resource shall trigger a recreation of the resource, instead of an update.
|
|
137
140
|
*/
|
|
138
141
|
metricCollectionMode?: pulumi.Input<string>;
|
|
139
142
|
/**
|
|
140
|
-
* The linked account
|
|
143
|
+
* The name/identifier of the AWS GovCloud - New Relic 'linked' account.
|
|
141
144
|
*/
|
|
142
145
|
name?: pulumi.Input<string>;
|
|
143
146
|
/**
|
|
144
|
-
* The
|
|
147
|
+
* The Secret Access Key used to programmatically access the AWS GovCloud account.
|
|
145
148
|
*/
|
|
146
149
|
secretAccessKey: pulumi.Input<string>;
|
|
147
150
|
}
|
|
@@ -8,7 +8,7 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* > **IMPORTANT!** This resource is in alpha state, and could still contain issues and missing functionality. If you encounter any issue please create a ticket on Github with all the required information.
|
|
10
10
|
*
|
|
11
|
-
* Use this resource to link an
|
|
11
|
+
* Use this resource to link an AWS GovCloud account to New Relic.
|
|
12
12
|
*
|
|
13
13
|
* ## Prerequisite
|
|
14
14
|
*
|
|
@@ -25,18 +25,18 @@ const utilities = require("../utilities");
|
|
|
25
25
|
* import * as newrelic from "@pulumi/newrelic";
|
|
26
26
|
*
|
|
27
27
|
* const foo = new newrelic.cloud.AwsGovcloudLinkAccount("foo", {
|
|
28
|
-
* accountId: "
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
* secretAccessKey: "
|
|
28
|
+
* accountId: "1234567",
|
|
29
|
+
* name: "My New Relic - AWS GovCloud Linked Account",
|
|
30
|
+
* metricCollectionMode: "PUSH",
|
|
31
|
+
* awsAccountId: "<Your AWS GovCloud Account's ID>",
|
|
32
|
+
* accessKeyId: "<Your AWS GovCloud Account's Access Key ID>",
|
|
33
|
+
* secretAccessKey: "<Your AWS GovCloud Account's Secret Access Key>",
|
|
34
34
|
* });
|
|
35
35
|
* ```
|
|
36
36
|
*
|
|
37
37
|
* ## Import
|
|
38
38
|
*
|
|
39
|
-
* Linked
|
|
39
|
+
* Linked AWS GovCloud accounts can be imported using the `id`, e.g.
|
|
40
40
|
*
|
|
41
41
|
* bash
|
|
42
42
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"awsGovcloudLinkAccount.js","sourceRoot":"","sources":["../../cloud/awsGovcloudLinkAccount.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;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;
|
|
1
|
+
{"version":3,"file":"awsGovcloudLinkAccount.js","sourceRoot":"","sources":["../../cloud/awsGov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,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,iBAAiB,CAAC,GAAG,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,eAAe,EAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/G;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,aAAa,EAAE,iBAAiB,CAAC,EAAE,CAAC;QACnF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;;AA/FL,wDAgGC;AAlFG,gBAAgB;AACO,mCAAY,GAAG,8DAA8D,CAAC"}
|
package/nrqlAlertCondition.d.ts
CHANGED
|
@@ -56,7 +56,7 @@ import * as outputs from "./types/output";
|
|
|
56
56
|
* The `nrql` block supports the following arguments:
|
|
57
57
|
*
|
|
58
58
|
* - `query` - (Required) The NRQL query to execute for the condition.
|
|
59
|
-
* - `dataAccountId` - (Optional)
|
|
59
|
+
* - `dataAccountId` - (Optional) The account ID to use for the alert condition's query as specified in the the `query` field. If `dataAccountId` is not specified, then the condition's query will be evaluated against the `accountId`. Note that the `accountId` must have read privileges for the `dataAccountId` or else the condition will be invalid.
|
|
60
60
|
* - `evaluationOffset` - (Optional) **DEPRECATED:** Use `aggregationMethod` instead. Represented in minutes and must be within 1-20 minutes (inclusive). NRQL queries are evaluated based on their `aggregationWindow` size. The start time depends on this value. It's recommended to set this to 3 windows. An offset of less than 3 windows will trigger incidents sooner, but you may see more false positives and negatives due to data latency. With `evaluationOffset` set to 3 windows and an `aggregationWindow` of 60 seconds, the NRQL time window applied to your query will be: `SINCE 3 minutes ago UNTIL 2 minutes ago`. `evaluationOffset` cannot be set with `aggregationMethod`, `aggregationDelay`, or `aggregationTimer`.<br>
|
|
61
61
|
* - `sinceValue` - (Optional) **DEPRECATED:** Use `aggregationMethod` instead. The value to be used in the `SINCE <X> minutes ago` clause for the NRQL query. Must be between 1-20 (inclusive). <br>
|
|
62
62
|
*
|
package/nrqlAlertCondition.js
CHANGED
|
@@ -60,7 +60,7 @@ const utilities = require("./utilities");
|
|
|
60
60
|
* The `nrql` block supports the following arguments:
|
|
61
61
|
*
|
|
62
62
|
* - `query` - (Required) The NRQL query to execute for the condition.
|
|
63
|
-
* - `dataAccountId` - (Optional)
|
|
63
|
+
* - `dataAccountId` - (Optional) The account ID to use for the alert condition's query as specified in the the `query` field. If `dataAccountId` is not specified, then the condition's query will be evaluated against the `accountId`. Note that the `accountId` must have read privileges for the `dataAccountId` or else the condition will be invalid.
|
|
64
64
|
* - `evaluationOffset` - (Optional) **DEPRECATED:** Use `aggregationMethod` instead. Represented in minutes and must be within 1-20 minutes (inclusive). NRQL queries are evaluated based on their `aggregationWindow` size. The start time depends on this value. It's recommended to set this to 3 windows. An offset of less than 3 windows will trigger incidents sooner, but you may see more false positives and negatives due to data latency. With `evaluationOffset` set to 3 windows and an `aggregationWindow` of 60 seconds, the NRQL time window applied to your query will be: `SINCE 3 minutes ago UNTIL 2 minutes ago`. `evaluationOffset` cannot be set with `aggregationMethod`, `aggregationDelay`, or `aggregationTimer`.<br>
|
|
65
65
|
* - `sinceValue` - (Optional) **DEPRECATED:** Use `aggregationMethod` instead. The value to be used in the `SINCE <X> minutes ago` clause for the NRQL query. Must be between 1-20 (inclusive). <br>
|
|
66
66
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/newrelic",
|
|
3
|
-
"version": "5.38.
|
|
3
|
+
"version": "5.38.1",
|
|
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.38.
|
|
26
|
+
"version": "5.38.1"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/types/input.d.ts
CHANGED
|
@@ -353,7 +353,7 @@ export interface NrqlAlertConditionCritical {
|
|
|
353
353
|
}
|
|
354
354
|
export interface NrqlAlertConditionNrql {
|
|
355
355
|
/**
|
|
356
|
-
*
|
|
356
|
+
* The New Relic account ID to use as the basis for the NRQL alert condition's `query`; will default to `accountId` if unspecified.
|
|
357
357
|
*/
|
|
358
358
|
dataAccountId?: pulumi.Input<string>;
|
|
359
359
|
/**
|
package/types/output.d.ts
CHANGED
|
@@ -407,7 +407,7 @@ export interface NrqlAlertConditionCritical {
|
|
|
407
407
|
}
|
|
408
408
|
export interface NrqlAlertConditionNrql {
|
|
409
409
|
/**
|
|
410
|
-
*
|
|
410
|
+
* The New Relic account ID to use as the basis for the NRQL alert condition's `query`; will default to `accountId` if unspecified.
|
|
411
411
|
*/
|
|
412
412
|
dataAccountId: string;
|
|
413
413
|
/**
|