@pulumi/newrelic 5.15.1 → 5.15.3
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/browserApplication.d.ts +8 -0
- package/browserApplication.js +2 -0
- package/browserApplication.js.map +1 -1
- package/getEntity.d.ts +2 -2
- package/getEntity.js +2 -2
- package/package.json +1 -1
- package/synthetics/brokenLinksMonitor.d.ts +9 -9
- package/synthetics/certCheckMonitor.d.ts +9 -9
- package/synthetics/monitor.d.ts +9 -9
- package/synthetics/multiLocationAlertCondition.d.ts +11 -14
- package/synthetics/multiLocationAlertCondition.js +0 -3
- package/synthetics/multiLocationAlertCondition.js.map +1 -1
- package/synthetics/scriptMonitor.d.ts +9 -9
- package/synthetics/stepMonitor.d.ts +9 -9
- package/utilities.d.ts +4 -0
- package/utilities.js +33 -1
- package/utilities.js.map +1 -1
package/browserApplication.d.ts
CHANGED
|
@@ -56,6 +56,10 @@ export declare class BrowserApplication extends pulumi.CustomResource {
|
|
|
56
56
|
* The GUID of the browser application.
|
|
57
57
|
*/
|
|
58
58
|
readonly guid: pulumi.Output<string>;
|
|
59
|
+
/**
|
|
60
|
+
* JavaScript configuration of the browser application encoded into a string.
|
|
61
|
+
*/
|
|
62
|
+
readonly jsConfig: pulumi.Output<string>;
|
|
59
63
|
/**
|
|
60
64
|
* Determines which browser loader is configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. See the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for a for information on the valid loader types.
|
|
61
65
|
*/
|
|
@@ -93,6 +97,10 @@ export interface BrowserApplicationState {
|
|
|
93
97
|
* The GUID of the browser application.
|
|
94
98
|
*/
|
|
95
99
|
guid?: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* JavaScript configuration of the browser application encoded into a string.
|
|
102
|
+
*/
|
|
103
|
+
jsConfig?: pulumi.Input<string>;
|
|
96
104
|
/**
|
|
97
105
|
* Determines which browser loader is configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. See the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for a for information on the valid loader types.
|
|
98
106
|
*/
|
package/browserApplication.js
CHANGED
|
@@ -62,6 +62,7 @@ class BrowserApplication extends pulumi.CustomResource {
|
|
|
62
62
|
resourceInputs["cookiesEnabled"] = state ? state.cookiesEnabled : undefined;
|
|
63
63
|
resourceInputs["distributedTracingEnabled"] = state ? state.distributedTracingEnabled : undefined;
|
|
64
64
|
resourceInputs["guid"] = state ? state.guid : undefined;
|
|
65
|
+
resourceInputs["jsConfig"] = state ? state.jsConfig : undefined;
|
|
65
66
|
resourceInputs["loaderType"] = state ? state.loaderType : undefined;
|
|
66
67
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
67
68
|
}
|
|
@@ -73,6 +74,7 @@ class BrowserApplication extends pulumi.CustomResource {
|
|
|
73
74
|
resourceInputs["loaderType"] = args ? args.loaderType : undefined;
|
|
74
75
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
75
76
|
resourceInputs["guid"] = undefined /*out*/;
|
|
77
|
+
resourceInputs["jsConfig"] = undefined /*out*/;
|
|
76
78
|
}
|
|
77
79
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
78
80
|
super(BrowserApplication.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browserApplication.js","sourceRoot":"","sources":["../browserApplication.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;Q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AAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;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;;AAzFL,gDA0FC;AA5EG,gBAAgB;AACO,+BAAY,GAAG,sDAAsD,CAAC"}
|
package/getEntity.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import * as outputs from "./types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Additional Examples
|
|
8
8
|
*
|
|
9
|
-
* > If the entities are not found please try again without providing the `
|
|
9
|
+
* > If the entities are not found please try again without providing the `type` field.
|
|
10
10
|
*
|
|
11
11
|
* ### Query for an OTEL entity
|
|
12
12
|
*
|
|
@@ -99,7 +99,7 @@ export interface GetEntityResult {
|
|
|
99
99
|
*
|
|
100
100
|
* ## Additional Examples
|
|
101
101
|
*
|
|
102
|
-
* > If the entities are not found please try again without providing the `
|
|
102
|
+
* > If the entities are not found please try again without providing the `type` field.
|
|
103
103
|
*
|
|
104
104
|
* ### Query for an OTEL entity
|
|
105
105
|
*
|
package/getEntity.js
CHANGED
|
@@ -10,7 +10,7 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Additional Examples
|
|
12
12
|
*
|
|
13
|
-
* > If the entities are not found please try again without providing the `
|
|
13
|
+
* > If the entities are not found please try again without providing the `type` field.
|
|
14
14
|
*
|
|
15
15
|
* ### Query for an OTEL entity
|
|
16
16
|
*
|
|
@@ -58,7 +58,7 @@ exports.getEntity = getEntity;
|
|
|
58
58
|
*
|
|
59
59
|
* ## Additional Examples
|
|
60
60
|
*
|
|
61
|
-
* > If the entities are not found please try again without providing the `
|
|
61
|
+
* > If the entities are not found please try again without providing the `type` field.
|
|
62
62
|
*
|
|
63
63
|
* ### Query for an OTEL entity
|
|
64
64
|
*
|
package/package.json
CHANGED
|
@@ -103,9 +103,9 @@ export declare class BrokenLinksMonitor extends pulumi.CustomResource {
|
|
|
103
103
|
*/
|
|
104
104
|
readonly periodInMinutes: pulumi.Output<number>;
|
|
105
105
|
/**
|
|
106
|
-
* The
|
|
107
|
-
*
|
|
108
|
-
*
|
|
106
|
+
* The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this
|
|
107
|
+
* value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
|
108
|
+
* refrain from using this value and shift to alternatives.
|
|
109
109
|
*/
|
|
110
110
|
readonly status: pulumi.Output<string>;
|
|
111
111
|
/**
|
|
@@ -158,9 +158,9 @@ export interface BrokenLinksMonitorState {
|
|
|
158
158
|
*/
|
|
159
159
|
periodInMinutes?: pulumi.Input<number>;
|
|
160
160
|
/**
|
|
161
|
-
* The
|
|
162
|
-
*
|
|
163
|
-
*
|
|
161
|
+
* The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this
|
|
162
|
+
* value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
|
163
|
+
* refrain from using this value and shift to alternatives.
|
|
164
164
|
*/
|
|
165
165
|
status?: pulumi.Input<string>;
|
|
166
166
|
/**
|
|
@@ -197,9 +197,9 @@ export interface BrokenLinksMonitorArgs {
|
|
|
197
197
|
*/
|
|
198
198
|
period: pulumi.Input<string>;
|
|
199
199
|
/**
|
|
200
|
-
* The
|
|
201
|
-
*
|
|
202
|
-
*
|
|
200
|
+
* The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this
|
|
201
|
+
* value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
|
202
|
+
* refrain from using this value and shift to alternatives.
|
|
203
203
|
*/
|
|
204
204
|
status: pulumi.Input<string>;
|
|
205
205
|
/**
|
|
@@ -108,9 +108,9 @@ export declare class CertCheckMonitor extends pulumi.CustomResource {
|
|
|
108
108
|
*/
|
|
109
109
|
readonly periodInMinutes: pulumi.Output<number>;
|
|
110
110
|
/**
|
|
111
|
-
* The
|
|
112
|
-
*
|
|
113
|
-
*
|
|
111
|
+
* The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this
|
|
112
|
+
* value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
|
113
|
+
* refrain from using this value and shift to alternatives.
|
|
114
114
|
*/
|
|
115
115
|
readonly status: pulumi.Output<string>;
|
|
116
116
|
/**
|
|
@@ -163,9 +163,9 @@ export interface CertCheckMonitorState {
|
|
|
163
163
|
*/
|
|
164
164
|
periodInMinutes?: pulumi.Input<number>;
|
|
165
165
|
/**
|
|
166
|
-
* The
|
|
167
|
-
*
|
|
168
|
-
*
|
|
166
|
+
* The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this
|
|
167
|
+
* value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
|
168
|
+
* refrain from using this value and shift to alternatives.
|
|
169
169
|
*/
|
|
170
170
|
status?: pulumi.Input<string>;
|
|
171
171
|
/**
|
|
@@ -206,9 +206,9 @@ export interface CertCheckMonitorArgs {
|
|
|
206
206
|
*/
|
|
207
207
|
period: pulumi.Input<string>;
|
|
208
208
|
/**
|
|
209
|
-
* The
|
|
210
|
-
*
|
|
211
|
-
*
|
|
209
|
+
* The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this
|
|
210
|
+
* value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
|
211
|
+
* refrain from using this value and shift to alternatives.
|
|
212
212
|
*/
|
|
213
213
|
status: pulumi.Input<string>;
|
|
214
214
|
/**
|
package/synthetics/monitor.d.ts
CHANGED
|
@@ -210,9 +210,9 @@ export declare class Monitor extends pulumi.CustomResource {
|
|
|
210
210
|
*/
|
|
211
211
|
readonly scriptLanguage: pulumi.Output<string | undefined>;
|
|
212
212
|
/**
|
|
213
|
-
* The
|
|
214
|
-
*
|
|
215
|
-
*
|
|
213
|
+
* The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this
|
|
214
|
+
* value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
|
215
|
+
* refrain from using this value and shift to alternatives.
|
|
216
216
|
*/
|
|
217
217
|
readonly status: pulumi.Output<string>;
|
|
218
218
|
/**
|
|
@@ -313,9 +313,9 @@ export interface MonitorState {
|
|
|
313
313
|
*/
|
|
314
314
|
scriptLanguage?: pulumi.Input<string>;
|
|
315
315
|
/**
|
|
316
|
-
* The
|
|
317
|
-
*
|
|
318
|
-
*
|
|
316
|
+
* The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this
|
|
317
|
+
* value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
|
318
|
+
* refrain from using this value and shift to alternatives.
|
|
319
319
|
*/
|
|
320
320
|
status?: pulumi.Input<string>;
|
|
321
321
|
/**
|
|
@@ -404,9 +404,9 @@ export interface MonitorArgs {
|
|
|
404
404
|
*/
|
|
405
405
|
scriptLanguage?: pulumi.Input<string>;
|
|
406
406
|
/**
|
|
407
|
-
* The
|
|
408
|
-
*
|
|
409
|
-
*
|
|
407
|
+
* The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this
|
|
408
|
+
* value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
|
409
|
+
* refrain from using this value and shift to alternatives.
|
|
410
410
|
*/
|
|
411
411
|
status: pulumi.Input<string>;
|
|
412
412
|
/**
|
|
@@ -148,15 +148,14 @@ export declare class MultiLocationAlertCondition extends pulumi.CustomResource {
|
|
|
148
148
|
*/
|
|
149
149
|
readonly runbookUrl: pulumi.Output<string | undefined>;
|
|
150
150
|
/**
|
|
151
|
-
* The maximum number of seconds a violation can remain open before being closed by the system.
|
|
151
|
+
* The maximum number of seconds a violation can remain open before being closed by the system. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days), both inclusive. Defaults to 259200 seconds (3 days) if this argument is not specified in the configuration, in accordance with the characteristics of this field in NerdGraph, as specified in the [docs](https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/advanced-alerts/rest-api-alerts/alerts-conditions-api-field-names/#violation_time_limit_seconds).
|
|
152
152
|
*/
|
|
153
|
-
readonly violationTimeLimitSeconds: pulumi.Output<number>;
|
|
153
|
+
readonly violationTimeLimitSeconds: pulumi.Output<number | undefined>;
|
|
154
154
|
/**
|
|
155
155
|
* A condition term with the priority set to warning.
|
|
156
156
|
*
|
|
157
|
-
*
|
|
158
|
-
*
|
|
159
|
-
* ```
|
|
157
|
+
*
|
|
158
|
+
* > **WARNING:** This resource will use the account ID linked to your API key. At the moment it is not possible to dynamically set the account ID.
|
|
160
159
|
*/
|
|
161
160
|
readonly warning: pulumi.Output<outputs.synthetics.MultiLocationAlertConditionWarning | undefined>;
|
|
162
161
|
/**
|
|
@@ -201,15 +200,14 @@ export interface MultiLocationAlertConditionState {
|
|
|
201
200
|
*/
|
|
202
201
|
runbookUrl?: pulumi.Input<string>;
|
|
203
202
|
/**
|
|
204
|
-
* The maximum number of seconds a violation can remain open before being closed by the system.
|
|
203
|
+
* The maximum number of seconds a violation can remain open before being closed by the system. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days), both inclusive. Defaults to 259200 seconds (3 days) if this argument is not specified in the configuration, in accordance with the characteristics of this field in NerdGraph, as specified in the [docs](https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/advanced-alerts/rest-api-alerts/alerts-conditions-api-field-names/#violation_time_limit_seconds).
|
|
205
204
|
*/
|
|
206
205
|
violationTimeLimitSeconds?: pulumi.Input<number>;
|
|
207
206
|
/**
|
|
208
207
|
* A condition term with the priority set to warning.
|
|
209
208
|
*
|
|
210
|
-
*
|
|
211
|
-
*
|
|
212
|
-
* ```
|
|
209
|
+
*
|
|
210
|
+
* > **WARNING:** This resource will use the account ID linked to your API key. At the moment it is not possible to dynamically set the account ID.
|
|
213
211
|
*/
|
|
214
212
|
warning?: pulumi.Input<inputs.synthetics.MultiLocationAlertConditionWarning>;
|
|
215
213
|
}
|
|
@@ -242,15 +240,14 @@ export interface MultiLocationAlertConditionArgs {
|
|
|
242
240
|
*/
|
|
243
241
|
runbookUrl?: pulumi.Input<string>;
|
|
244
242
|
/**
|
|
245
|
-
* The maximum number of seconds a violation can remain open before being closed by the system.
|
|
243
|
+
* The maximum number of seconds a violation can remain open before being closed by the system. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days), both inclusive. Defaults to 259200 seconds (3 days) if this argument is not specified in the configuration, in accordance with the characteristics of this field in NerdGraph, as specified in the [docs](https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/advanced-alerts/rest-api-alerts/alerts-conditions-api-field-names/#violation_time_limit_seconds).
|
|
246
244
|
*/
|
|
247
|
-
violationTimeLimitSeconds
|
|
245
|
+
violationTimeLimitSeconds?: pulumi.Input<number>;
|
|
248
246
|
/**
|
|
249
247
|
* A condition term with the priority set to warning.
|
|
250
248
|
*
|
|
251
|
-
*
|
|
252
|
-
*
|
|
253
|
-
* ```
|
|
249
|
+
*
|
|
250
|
+
* > **WARNING:** This resource will use the account ID linked to your API key. At the moment it is not possible to dynamically set the account ID.
|
|
254
251
|
*/
|
|
255
252
|
warning?: pulumi.Input<inputs.synthetics.MultiLocationAlertConditionWarning>;
|
|
256
253
|
}
|
|
@@ -156,9 +156,6 @@ class MultiLocationAlertCondition extends pulumi.CustomResource {
|
|
|
156
156
|
if ((!args || args.policyId === undefined) && !opts.urn) {
|
|
157
157
|
throw new Error("Missing required property 'policyId'");
|
|
158
158
|
}
|
|
159
|
-
if ((!args || args.violationTimeLimitSeconds === undefined) && !opts.urn) {
|
|
160
|
-
throw new Error("Missing required property 'violationTimeLimitSeconds'");
|
|
161
|
-
}
|
|
162
159
|
resourceInputs["critical"] = args ? args.critical : undefined;
|
|
163
160
|
resourceInputs["enabled"] = args ? args.enabled : undefined;
|
|
164
161
|
resourceInputs["entities"] = args ? args.entities : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multiLocationAlertCondition.js","sourceRoot":"","sources":["../../synthetics/multiLocationAlertCondition.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqGG;AACH,MAAa,2BAA4B,SAAQ,MAAM,CAAC,cAAc;IAClE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwC,EAAE,IAAmC;QACtI,OAAO,IAAI,2BAA2B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClF,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,2BAA2B,CAAC,YAAY,CAAC;IAC5E,CAAC;
|
|
1
|
+
{"version":3,"file":"multiLocationAlertCondition.js","sourceRoot":"","sources":["../../synthetics/multiLocationAlertCondition.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;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|
|
205
205
|
/**
|
|
206
|
-
* The
|
|
207
|
-
*
|
|
208
|
-
*
|
|
206
|
+
* The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this
|
|
207
|
+
* value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
|
208
|
+
* refrain from using this value and shift to alternatives.
|
|
209
209
|
*/
|
|
210
210
|
readonly status: pulumi.Output<string>;
|
|
211
211
|
/**
|
|
@@ -288,9 +288,9 @@ export interface ScriptMonitorState {
|
|
|
288
288
|
*/
|
|
289
289
|
scriptLanguage?: pulumi.Input<string>;
|
|
290
290
|
/**
|
|
291
|
-
* The
|
|
292
|
-
*
|
|
293
|
-
*
|
|
291
|
+
* The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this
|
|
292
|
+
* value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
|
293
|
+
* refrain from using this value and shift to alternatives.
|
|
294
294
|
*/
|
|
295
295
|
status?: pulumi.Input<string>;
|
|
296
296
|
/**
|
|
@@ -357,9 +357,9 @@ export interface ScriptMonitorArgs {
|
|
|
357
357
|
*/
|
|
358
358
|
scriptLanguage?: pulumi.Input<string>;
|
|
359
359
|
/**
|
|
360
|
-
* The
|
|
361
|
-
*
|
|
362
|
-
*
|
|
360
|
+
* The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this
|
|
361
|
+
* value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
|
362
|
+
* refrain from using this value and shift to alternatives.
|
|
363
363
|
*/
|
|
364
364
|
status: pulumi.Input<string>;
|
|
365
365
|
/**
|
|
@@ -89,9 +89,9 @@ export declare class StepMonitor extends pulumi.CustomResource {
|
|
|
89
89
|
*/
|
|
90
90
|
readonly periodInMinutes: pulumi.Output<number>;
|
|
91
91
|
/**
|
|
92
|
-
* The
|
|
93
|
-
*
|
|
94
|
-
*
|
|
92
|
+
* The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this
|
|
93
|
+
* value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
|
94
|
+
* refrain from using this value and shift to alternatives.
|
|
95
95
|
*/
|
|
96
96
|
readonly status: pulumi.Output<string>;
|
|
97
97
|
/**
|
|
@@ -148,9 +148,9 @@ export interface StepMonitorState {
|
|
|
148
148
|
*/
|
|
149
149
|
periodInMinutes?: pulumi.Input<number>;
|
|
150
150
|
/**
|
|
151
|
-
* The
|
|
152
|
-
*
|
|
153
|
-
*
|
|
151
|
+
* The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this
|
|
152
|
+
* value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
|
153
|
+
* refrain from using this value and shift to alternatives.
|
|
154
154
|
*/
|
|
155
155
|
status?: pulumi.Input<string>;
|
|
156
156
|
/**
|
|
@@ -191,9 +191,9 @@ export interface StepMonitorArgs {
|
|
|
191
191
|
*/
|
|
192
192
|
period: pulumi.Input<string>;
|
|
193
193
|
/**
|
|
194
|
-
* The
|
|
195
|
-
*
|
|
196
|
-
*
|
|
194
|
+
* The monitor status (i.e. ENABLED, MUTED, DISABLED). Note: The 'MUTED' status is now deprecated, and support for this
|
|
195
|
+
* value will soon be removed from the Terraform Provider in an upcoming release. It is highly recommended for users to
|
|
196
|
+
* refrain from using this value and shift to alternatives.
|
|
197
197
|
*/
|
|
198
198
|
status: pulumi.Input<string>;
|
|
199
199
|
/**
|
package/utilities.d.ts
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
1
2
|
export declare function getEnv(...vars: string[]): string | undefined;
|
|
2
3
|
export declare function getEnvBoolean(...vars: string[]): boolean | undefined;
|
|
3
4
|
export declare function getEnvNumber(...vars: string[]): number | undefined;
|
|
4
5
|
export declare function getVersion(): string;
|
|
6
|
+
export declare function callAsync<T>(tok: string, props: pulumi.Inputs, res?: pulumi.Resource, opts?: {
|
|
7
|
+
property?: string;
|
|
8
|
+
}): Promise<T>;
|
package/utilities.js
CHANGED
|
@@ -1,8 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
5
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
6
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
7
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
8
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
9
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
10
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
11
|
+
});
|
|
12
|
+
};
|
|
4
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.lazyLoad = exports.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
|
|
14
|
+
exports.callAsync = exports.lazyLoad = exports.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
|
|
15
|
+
const runtime = require("@pulumi/pulumi/runtime");
|
|
6
16
|
function getEnv(...vars) {
|
|
7
17
|
for (const v of vars) {
|
|
8
18
|
const value = process.env[v];
|
|
@@ -66,4 +76,26 @@ function lazyLoad(exports, props, loadModule) {
|
|
|
66
76
|
}
|
|
67
77
|
}
|
|
68
78
|
exports.lazyLoad = lazyLoad;
|
|
79
|
+
function callAsync(tok, props, res, opts) {
|
|
80
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
81
|
+
const o = runtime.call(tok, props, res);
|
|
82
|
+
const value = yield o.promise(true /*withUnknowns*/);
|
|
83
|
+
const isKnown = yield o.isKnown;
|
|
84
|
+
const isSecret = yield o.isSecret;
|
|
85
|
+
const problem = !isKnown ? "an unknown value"
|
|
86
|
+
: isSecret ? "a secret value"
|
|
87
|
+
: undefined;
|
|
88
|
+
// Ingoring o.resources silently. They are typically non-empty, r.f() calls include r as a dependency.
|
|
89
|
+
if (problem) {
|
|
90
|
+
throw new Error(`Plain resource method "${tok}" incorrectly returned ${problem}. ` +
|
|
91
|
+
"This is an error in the provider, please report this to the provider developer.");
|
|
92
|
+
}
|
|
93
|
+
// Extract a single property if requested.
|
|
94
|
+
if (opts && opts.property) {
|
|
95
|
+
return value[opts.property];
|
|
96
|
+
}
|
|
97
|
+
return value;
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
exports.callAsync = callAsync;
|
|
69
101
|
//# sourceMappingURL=utilities.js.map
|
package/utilities.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utilities.js","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"utilities.js","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;AAGjF,kDAAkD;AAGlD,SAAgB,MAAM,CAAC,GAAG,IAAc;IACpC,KAAK,MAAM,CAAC,IAAI,IAAI,EAAE;QAClB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QAC7B,IAAI,KAAK,EAAE;YACP,OAAO,KAAK,CAAC;SAChB;KACJ;IACD,OAAO,SAAS,CAAC;AACrB,CAAC;AARD,wBAQC;AAED,SAAgB,aAAa,CAAC,GAAG,IAAc;IAC3C,MAAM,CAAC,GAAG,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC;IAC1B,IAAI,CAAC,KAAK,SAAS,E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