@pulumi/newrelic 5.1.0-alpha.1663281934 → 5.1.0
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/index.d.ts +1 -0
- package/index.js +5 -0
- package/index.js.map +1 -1
- package/notificationChannel.d.ts +59 -6
- package/notificationChannel.js +55 -5
- package/notificationChannel.js.map +1 -1
- package/notificationDestination.d.ts +6 -138
- package/notificationDestination.js +0 -129
- package/notificationDestination.js.map +1 -1
- package/oneDashboardJson.d.ts +96 -0
- package/oneDashboardJson.js +72 -0
- package/oneDashboardJson.js.map +1 -0
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/synthetics/alertCondition.d.ts +13 -0
- package/synthetics/alertCondition.js +13 -0
- package/synthetics/alertCondition.js.map +1 -1
- package/synthetics/brokenLinksMonitor.d.ts +11 -11
- package/synthetics/brokenLinksMonitor.js +2 -2
- package/synthetics/certCheckMonitor.d.ts +10 -10
- package/synthetics/certCheckMonitor.js +1 -1
- package/synthetics/monitor.d.ts +11 -13
- package/synthetics/monitor.js +5 -7
- package/synthetics/monitor.js.map +1 -1
- package/synthetics/scriptMonitor.d.ts +14 -18
- package/synthetics/scriptMonitor.js +11 -15
- package/synthetics/scriptMonitor.js.map +1 -1
- package/synthetics/stepMonitor.d.ts +40 -6
- package/synthetics/stepMonitor.js +34 -0
- package/synthetics/stepMonitor.js.map +1 -1
- package/types/input.d.ts +8 -6
- package/types/output.d.ts +8 -6
- package/workflow.d.ts +53 -29
- package/workflow.js +44 -20
- package/workflow.js.map +1 -1
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## Example Usage
|
|
4
|
+
* ### Create A New Relic One Dashboard From A JSON File
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as fs from "fs";
|
|
9
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
10
|
+
*
|
|
11
|
+
* const foo = new newrelic.OneDashboardJson("foo", {json: fs.readFileSync("dashboard.json")});
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
export declare class OneDashboardJson extends pulumi.CustomResource {
|
|
15
|
+
/**
|
|
16
|
+
* Get an existing OneDashboardJson resource's state with the given name, ID, and optional extra
|
|
17
|
+
* properties used to qualify the lookup.
|
|
18
|
+
*
|
|
19
|
+
* @param name The _unique_ name of the resulting resource.
|
|
20
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
21
|
+
* @param state Any extra arguments used during the lookup.
|
|
22
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
23
|
+
*/
|
|
24
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: OneDashboardJsonState, opts?: pulumi.CustomResourceOptions): OneDashboardJson;
|
|
25
|
+
/**
|
|
26
|
+
* Returns true if the given object is an instance of OneDashboardJson. This is designed to work even
|
|
27
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
28
|
+
*/
|
|
29
|
+
static isInstance(obj: any): obj is OneDashboardJson;
|
|
30
|
+
/**
|
|
31
|
+
* The New Relic account ID where you want to create the dashboard.
|
|
32
|
+
*/
|
|
33
|
+
readonly accountId: pulumi.Output<number>;
|
|
34
|
+
/**
|
|
35
|
+
* The unique entity identifier of the dashboard in New Relic.
|
|
36
|
+
*/
|
|
37
|
+
readonly guid: pulumi.Output<string>;
|
|
38
|
+
/**
|
|
39
|
+
* The JSON exporet of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
|
|
40
|
+
*/
|
|
41
|
+
readonly json: pulumi.Output<string>;
|
|
42
|
+
/**
|
|
43
|
+
* The URL for viewing the dashboard.
|
|
44
|
+
*/
|
|
45
|
+
readonly permalink: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* The date and time when the dashboard was last updated.
|
|
48
|
+
*/
|
|
49
|
+
readonly updatedAt: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Create a OneDashboardJson resource with the given unique name, arguments, and options.
|
|
52
|
+
*
|
|
53
|
+
* @param name The _unique_ name of the resource.
|
|
54
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
55
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
56
|
+
*/
|
|
57
|
+
constructor(name: string, args: OneDashboardJsonArgs, opts?: pulumi.CustomResourceOptions);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Input properties used for looking up and filtering OneDashboardJson resources.
|
|
61
|
+
*/
|
|
62
|
+
export interface OneDashboardJsonState {
|
|
63
|
+
/**
|
|
64
|
+
* The New Relic account ID where you want to create the dashboard.
|
|
65
|
+
*/
|
|
66
|
+
accountId?: pulumi.Input<number>;
|
|
67
|
+
/**
|
|
68
|
+
* The unique entity identifier of the dashboard in New Relic.
|
|
69
|
+
*/
|
|
70
|
+
guid?: pulumi.Input<string>;
|
|
71
|
+
/**
|
|
72
|
+
* The JSON exporet of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
|
|
73
|
+
*/
|
|
74
|
+
json?: pulumi.Input<string>;
|
|
75
|
+
/**
|
|
76
|
+
* The URL for viewing the dashboard.
|
|
77
|
+
*/
|
|
78
|
+
permalink?: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The date and time when the dashboard was last updated.
|
|
81
|
+
*/
|
|
82
|
+
updatedAt?: pulumi.Input<string>;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* The set of arguments for constructing a OneDashboardJson resource.
|
|
86
|
+
*/
|
|
87
|
+
export interface OneDashboardJsonArgs {
|
|
88
|
+
/**
|
|
89
|
+
* The New Relic account ID where you want to create the dashboard.
|
|
90
|
+
*/
|
|
91
|
+
accountId?: pulumi.Input<number>;
|
|
92
|
+
/**
|
|
93
|
+
* The JSON exporet of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
|
|
94
|
+
*/
|
|
95
|
+
json: pulumi.Input<string>;
|
|
96
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
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.OneDashboardJson = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
* ### Create A New Relic One Dashboard From A JSON File
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as fs from "fs";
|
|
15
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
16
|
+
*
|
|
17
|
+
* const foo = new newrelic.OneDashboardJson("foo", {json: fs.readFileSync("dashboard.json")});
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
class OneDashboardJson extends pulumi.CustomResource {
|
|
21
|
+
constructor(name, argsOrState, opts) {
|
|
22
|
+
let resourceInputs = {};
|
|
23
|
+
opts = opts || {};
|
|
24
|
+
if (opts.id) {
|
|
25
|
+
const state = argsOrState;
|
|
26
|
+
resourceInputs["accountId"] = state ? state.accountId : undefined;
|
|
27
|
+
resourceInputs["guid"] = state ? state.guid : undefined;
|
|
28
|
+
resourceInputs["json"] = state ? state.json : undefined;
|
|
29
|
+
resourceInputs["permalink"] = state ? state.permalink : undefined;
|
|
30
|
+
resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
|
|
31
|
+
}
|
|
32
|
+
else {
|
|
33
|
+
const args = argsOrState;
|
|
34
|
+
if ((!args || args.json === undefined) && !opts.urn) {
|
|
35
|
+
throw new Error("Missing required property 'json'");
|
|
36
|
+
}
|
|
37
|
+
resourceInputs["accountId"] = args ? args.accountId : undefined;
|
|
38
|
+
resourceInputs["json"] = args ? args.json : undefined;
|
|
39
|
+
resourceInputs["guid"] = undefined /*out*/;
|
|
40
|
+
resourceInputs["permalink"] = undefined /*out*/;
|
|
41
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
42
|
+
}
|
|
43
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
44
|
+
super(OneDashboardJson.__pulumiType, name, resourceInputs, opts);
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Get an existing OneDashboardJson resource's state with the given name, ID, and optional extra
|
|
48
|
+
* properties used to qualify the lookup.
|
|
49
|
+
*
|
|
50
|
+
* @param name The _unique_ name of the resulting resource.
|
|
51
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
52
|
+
* @param state Any extra arguments used during the lookup.
|
|
53
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
54
|
+
*/
|
|
55
|
+
static get(name, id, state, opts) {
|
|
56
|
+
return new OneDashboardJson(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Returns true if the given object is an instance of OneDashboardJson. This is designed to work even
|
|
60
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
61
|
+
*/
|
|
62
|
+
static isInstance(obj) {
|
|
63
|
+
if (obj === undefined || obj === null) {
|
|
64
|
+
return false;
|
|
65
|
+
}
|
|
66
|
+
return obj['__pulumiType'] === OneDashboardJson.__pulumiType;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
exports.OneDashboardJson = OneDashboardJson;
|
|
70
|
+
/** @internal */
|
|
71
|
+
OneDashboardJson.__pulumiType = 'newrelic:index/oneDashboardJson:OneDashboardJ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.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing New Relic resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource newrelic v5.1.0
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource newrelic v5.1.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/package.json.dev
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/newrelic",
|
|
3
|
-
"version": "v5.1.0
|
|
3
|
+
"version": "v5.1.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing New Relic resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource newrelic v5.1.0
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource newrelic v5.1.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
|
@@ -4,6 +4,19 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
4
4
|
*
|
|
5
5
|
* > **NOTE:** The newrelic.NrqlAlertCondition resource is preferred for configuring alerts conditions. In most cases feature parity can be achieved with a NRQL query. Other condition types may be deprecated in the future and receive fewer product updates.
|
|
6
6
|
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
12
|
+
*
|
|
13
|
+
* const foo = new newrelic.synthetics.AlertCondition("foo", {
|
|
14
|
+
* policyId: newrelic_alert_policy.foo.id,
|
|
15
|
+
* monitorId: newrelic_synthetics_monitor.foo.id,
|
|
16
|
+
* runbookUrl: "https://www.example.com",
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
7
20
|
* ## Import
|
|
8
21
|
*
|
|
9
22
|
* Synthetics alert conditions can be imported using a composite ID of `<policy_id>:<condition_id>`, e.g.
|
|
@@ -10,6 +10,19 @@ const utilities = require("../utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* > **NOTE:** The newrelic.NrqlAlertCondition resource is preferred for configuring alerts conditions. In most cases feature parity can be achieved with a NRQL query. Other condition types may be deprecated in the future and receive fewer product updates.
|
|
12
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.synthetics.AlertCondition("foo", {
|
|
20
|
+
* policyId: newrelic_alert_policy.foo.id,
|
|
21
|
+
* monitorId: newrelic_synthetics_monitor.foo.id,
|
|
22
|
+
* runbookUrl: "https://www.example.com",
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
13
26
|
* ## Import
|
|
14
27
|
*
|
|
15
28
|
* Synthetics alert conditions can be imported using a composite ID of `<policy_id>:<condition_id>`, e.g.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alertCondition.js","sourceRoot":"","sources":["../../synthetics/alertCondition.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"alertCondition.js","sourceRoot":"","sources":["../../synthetics/alertCondition.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,y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
|
|
@@ -33,11 +33,11 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
33
33
|
* import * as pulumi from "@pulumi/pulumi";
|
|
34
34
|
* import * as newrelic from "@pulumi/newrelic";
|
|
35
35
|
*
|
|
36
|
-
* const
|
|
36
|
+
* const privateLocation = new newrelic.synthetics.PrivateLocation("private_location", {
|
|
37
37
|
* description: "Test Description",
|
|
38
38
|
* verifiedScriptExecution: false,
|
|
39
39
|
* });
|
|
40
|
-
* const
|
|
40
|
+
* const monitor = new newrelic.synthetics.BrokenLinksMonitor("monitor", {
|
|
41
41
|
* locationsPrivates: ["newrelic_synthetics_private_location.private_location.id"],
|
|
42
42
|
* period: "EVERY_6_HOURS",
|
|
43
43
|
* status: "ENABLED",
|
|
@@ -82,11 +82,11 @@ export declare class BrokenLinksMonitor extends pulumi.CustomResource {
|
|
|
82
82
|
*/
|
|
83
83
|
readonly guid: pulumi.Output<string>;
|
|
84
84
|
/**
|
|
85
|
-
* The location the monitor will run from. At least one of either `locationsPublic` or `
|
|
85
|
+
* The location the monitor will run from. Accepts a list of private location GUIDs. At least one of either `locationsPublic` or `locationsPrivate` is required.
|
|
86
86
|
*/
|
|
87
87
|
readonly locationsPrivates: pulumi.Output<string[] | undefined>;
|
|
88
88
|
/**
|
|
89
|
-
* The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. At least one of either `locationsPublic` or `locationPrivate` is required.
|
|
89
|
+
* The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locationsPublic` or `locationPrivate` is required.
|
|
90
90
|
*/
|
|
91
91
|
readonly locationsPublics: pulumi.Output<string[] | undefined>;
|
|
92
92
|
/**
|
|
@@ -102,7 +102,7 @@ export declare class BrokenLinksMonitor extends pulumi.CustomResource {
|
|
|
102
102
|
*/
|
|
103
103
|
readonly status: pulumi.Output<string>;
|
|
104
104
|
/**
|
|
105
|
-
* The tags that will be associated with the monitor. See
|
|
105
|
+
* The tags that will be associated with the monitor. See Nested tag blocks below for details
|
|
106
106
|
*/
|
|
107
107
|
readonly tags: pulumi.Output<outputs.synthetics.BrokenLinksMonitorTag[] | undefined>;
|
|
108
108
|
/**
|
|
@@ -131,11 +131,11 @@ export interface BrokenLinksMonitorState {
|
|
|
131
131
|
*/
|
|
132
132
|
guid?: pulumi.Input<string>;
|
|
133
133
|
/**
|
|
134
|
-
* The location the monitor will run from. At least one of either `locationsPublic` or `
|
|
134
|
+
* The location the monitor will run from. Accepts a list of private location GUIDs. At least one of either `locationsPublic` or `locationsPrivate` is required.
|
|
135
135
|
*/
|
|
136
136
|
locationsPrivates?: pulumi.Input<pulumi.Input<string>[]>;
|
|
137
137
|
/**
|
|
138
|
-
* The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. At least one of either `locationsPublic` or `locationPrivate` is required.
|
|
138
|
+
* The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locationsPublic` or `locationPrivate` is required.
|
|
139
139
|
*/
|
|
140
140
|
locationsPublics?: pulumi.Input<pulumi.Input<string>[]>;
|
|
141
141
|
/**
|
|
@@ -151,7 +151,7 @@ export interface BrokenLinksMonitorState {
|
|
|
151
151
|
*/
|
|
152
152
|
status?: pulumi.Input<string>;
|
|
153
153
|
/**
|
|
154
|
-
* The tags that will be associated with the monitor. See
|
|
154
|
+
* The tags that will be associated with the monitor. See Nested tag blocks below for details
|
|
155
155
|
*/
|
|
156
156
|
tags?: pulumi.Input<pulumi.Input<inputs.synthetics.BrokenLinksMonitorTag>[]>;
|
|
157
157
|
/**
|
|
@@ -168,11 +168,11 @@ export interface BrokenLinksMonitorArgs {
|
|
|
168
168
|
*/
|
|
169
169
|
accountId?: pulumi.Input<number>;
|
|
170
170
|
/**
|
|
171
|
-
* The location the monitor will run from. At least one of either `locationsPublic` or `
|
|
171
|
+
* The location the monitor will run from. Accepts a list of private location GUIDs. At least one of either `locationsPublic` or `locationsPrivate` is required.
|
|
172
172
|
*/
|
|
173
173
|
locationsPrivates?: pulumi.Input<pulumi.Input<string>[]>;
|
|
174
174
|
/**
|
|
175
|
-
* The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. At least one of either `locationsPublic` or `locationPrivate` is required.
|
|
175
|
+
* The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locationsPublic` or `locationPrivate` is required.
|
|
176
176
|
*/
|
|
177
177
|
locationsPublics?: pulumi.Input<pulumi.Input<string>[]>;
|
|
178
178
|
/**
|
|
@@ -188,7 +188,7 @@ export interface BrokenLinksMonitorArgs {
|
|
|
188
188
|
*/
|
|
189
189
|
status: pulumi.Input<string>;
|
|
190
190
|
/**
|
|
191
|
-
* The tags that will be associated with the monitor. See
|
|
191
|
+
* The tags that will be associated with the monitor. See Nested tag blocks below for details
|
|
192
192
|
*/
|
|
193
193
|
tags?: pulumi.Input<pulumi.Input<inputs.synthetics.BrokenLinksMonitorTag>[]>;
|
|
194
194
|
/**
|
|
@@ -38,11 +38,11 @@ const utilities = require("../utilities");
|
|
|
38
38
|
* import * as pulumi from "@pulumi/pulumi";
|
|
39
39
|
* import * as newrelic from "@pulumi/newrelic";
|
|
40
40
|
*
|
|
41
|
-
* const
|
|
41
|
+
* const privateLocation = new newrelic.synthetics.PrivateLocation("private_location", {
|
|
42
42
|
* description: "Test Description",
|
|
43
43
|
* verifiedScriptExecution: false,
|
|
44
44
|
* });
|
|
45
|
-
* const
|
|
45
|
+
* const monitor = new newrelic.synthetics.BrokenLinksMonitor("monitor", {
|
|
46
46
|
* locationsPrivates: ["newrelic_synthetics_private_location.private_location.id"],
|
|
47
47
|
* period: "EVERY_6_HOURS",
|
|
48
48
|
* status: "ENABLED",
|
|
@@ -38,7 +38,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
38
38
|
* description: "Test Description",
|
|
39
39
|
* verifiedScriptExecution: false,
|
|
40
40
|
* });
|
|
41
|
-
* const
|
|
41
|
+
* const monitor = new newrelic.synthetics.CertCheckMonitor("monitor", {
|
|
42
42
|
* locationsPrivates: ["newrelic_synthetics_private_location.private_location.id"],
|
|
43
43
|
* period: "EVERY_6_HOURS",
|
|
44
44
|
* status: "ENABLED",
|
|
@@ -87,11 +87,11 @@ export declare class CertCheckMonitor extends pulumi.CustomResource {
|
|
|
87
87
|
*/
|
|
88
88
|
readonly domain: pulumi.Output<string>;
|
|
89
89
|
/**
|
|
90
|
-
* The location the monitor will run from. At least one of either `locationsPublic` or `
|
|
90
|
+
* The location the monitor will run from. Accepts a list of private location GUIDs. At least one of either `locationsPublic` or `locationsPrivate` is required.
|
|
91
91
|
*/
|
|
92
92
|
readonly locationsPrivates: pulumi.Output<string[] | undefined>;
|
|
93
93
|
/**
|
|
94
|
-
* The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. At least one of either `locationsPublic` or `locationPrivate` is required.
|
|
94
|
+
* The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locationsPublic` or `locationPrivate` is required.
|
|
95
95
|
*/
|
|
96
96
|
readonly locationsPublics: pulumi.Output<string[] | undefined>;
|
|
97
97
|
/**
|
|
@@ -107,7 +107,7 @@ export declare class CertCheckMonitor extends pulumi.CustomResource {
|
|
|
107
107
|
*/
|
|
108
108
|
readonly status: pulumi.Output<string>;
|
|
109
109
|
/**
|
|
110
|
-
* The tags that will be associated with the monitor. See
|
|
110
|
+
* The tags that will be associated with the monitor. See Nested tag blocks below for details
|
|
111
111
|
*/
|
|
112
112
|
readonly tags: pulumi.Output<outputs.synthetics.CertCheckMonitorTag[] | undefined>;
|
|
113
113
|
/**
|
|
@@ -136,11 +136,11 @@ export interface CertCheckMonitorState {
|
|
|
136
136
|
*/
|
|
137
137
|
domain?: pulumi.Input<string>;
|
|
138
138
|
/**
|
|
139
|
-
* The location the monitor will run from. At least one of either `locationsPublic` or `
|
|
139
|
+
* The location the monitor will run from. Accepts a list of private location GUIDs. At least one of either `locationsPublic` or `locationsPrivate` is required.
|
|
140
140
|
*/
|
|
141
141
|
locationsPrivates?: pulumi.Input<pulumi.Input<string>[]>;
|
|
142
142
|
/**
|
|
143
|
-
* The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. At least one of either `locationsPublic` or `locationPrivate` is required.
|
|
143
|
+
* The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locationsPublic` or `locationPrivate` is required.
|
|
144
144
|
*/
|
|
145
145
|
locationsPublics?: pulumi.Input<pulumi.Input<string>[]>;
|
|
146
146
|
/**
|
|
@@ -156,7 +156,7 @@ export interface CertCheckMonitorState {
|
|
|
156
156
|
*/
|
|
157
157
|
status?: pulumi.Input<string>;
|
|
158
158
|
/**
|
|
159
|
-
* The tags that will be associated with the monitor. See
|
|
159
|
+
* The tags that will be associated with the monitor. See Nested tag blocks below for details
|
|
160
160
|
*/
|
|
161
161
|
tags?: pulumi.Input<pulumi.Input<inputs.synthetics.CertCheckMonitorTag>[]>;
|
|
162
162
|
}
|
|
@@ -177,11 +177,11 @@ export interface CertCheckMonitorArgs {
|
|
|
177
177
|
*/
|
|
178
178
|
domain: pulumi.Input<string>;
|
|
179
179
|
/**
|
|
180
|
-
* The location the monitor will run from. At least one of either `locationsPublic` or `
|
|
180
|
+
* The location the monitor will run from. Accepts a list of private location GUIDs. At least one of either `locationsPublic` or `locationsPrivate` is required.
|
|
181
181
|
*/
|
|
182
182
|
locationsPrivates?: pulumi.Input<pulumi.Input<string>[]>;
|
|
183
183
|
/**
|
|
184
|
-
* The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. At least one of either `locationsPublic` or `locationPrivate` is required.
|
|
184
|
+
* The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locationsPublic` or `locationPrivate` is required.
|
|
185
185
|
*/
|
|
186
186
|
locationsPublics?: pulumi.Input<pulumi.Input<string>[]>;
|
|
187
187
|
/**
|
|
@@ -197,7 +197,7 @@ export interface CertCheckMonitorArgs {
|
|
|
197
197
|
*/
|
|
198
198
|
status: pulumi.Input<string>;
|
|
199
199
|
/**
|
|
200
|
-
* The tags that will be associated with the monitor. See
|
|
200
|
+
* The tags that will be associated with the monitor. See Nested tag blocks below for details
|
|
201
201
|
*/
|
|
202
202
|
tags?: pulumi.Input<pulumi.Input<inputs.synthetics.CertCheckMonitorTag>[]>;
|
|
203
203
|
}
|
|
@@ -43,7 +43,7 @@ const utilities = require("../utilities");
|
|
|
43
43
|
* description: "Test Description",
|
|
44
44
|
* verifiedScriptExecution: false,
|
|
45
45
|
* });
|
|
46
|
-
* const
|
|
46
|
+
* const monitor = new newrelic.synthetics.CertCheckMonitor("monitor", {
|
|
47
47
|
* locationsPrivates: ["newrelic_synthetics_private_location.private_location.id"],
|
|
48
48
|
* period: "EVERY_6_HOURS",
|
|
49
49
|
* status: "ENABLED",
|
package/synthetics/monitor.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
31
31
|
* ```
|
|
32
32
|
* ##### Type: `SIMPLE BROWSER`
|
|
33
33
|
*
|
|
34
|
-
* > **NOTE:** The preferred runtime is `CHROME_BROWSER_100` while configuring the `SIMPLE_BROWSER` monitor. Other runtime may be deprecated in the future and receive fewer product updates.
|
|
34
|
+
* > **NOTE:** The preferred runtime is `CHROME_BROWSER_100` while configuring the `SIMPLE_BROWSER` monitor. The runtime fields `runtimeType`, `runtimeTypeVersion` and `scriptLanguage` are required. Other runtime may be deprecated in the future and receive fewer product updates.
|
|
35
35
|
*
|
|
36
36
|
* ```typescript
|
|
37
37
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -100,8 +100,6 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
100
100
|
* ```
|
|
101
101
|
* ##### Type: `BROWSER`
|
|
102
102
|
*
|
|
103
|
-
* > **NOTE:** Currently, it's only possible to use a private location with a monitor running on a legacy runtime. Leave `runtimeTypeVersion`, `runtimeType` & `scriptLanguage` empty to use legacy runtime. See example below.
|
|
104
|
-
*
|
|
105
103
|
* ```typescript
|
|
106
104
|
* import * as pulumi from "@pulumi/pulumi";
|
|
107
105
|
* import * as newrelic from "@pulumi/newrelic";
|
|
@@ -116,11 +114,11 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
116
114
|
* value: "simple_browser",
|
|
117
115
|
* }],
|
|
118
116
|
* enableScreenshotOnFailureAndScript: true,
|
|
119
|
-
*
|
|
117
|
+
* locationsPrivates: ["newrelic_synthetics_private_location.private_location.id"],
|
|
120
118
|
* period: "EVERY_MINUTE",
|
|
121
|
-
* runtimeType: "",
|
|
122
|
-
* runtimeTypeVersion: "",
|
|
123
|
-
* scriptLanguage: "",
|
|
119
|
+
* runtimeType: "CHROME_BROWSER",
|
|
120
|
+
* runtimeTypeVersion: "100",
|
|
121
|
+
* scriptLanguage: "JAVASCRIPT",
|
|
124
122
|
* status: "ENABLED",
|
|
125
123
|
* tags: [{
|
|
126
124
|
* key: "some_key",
|
|
@@ -174,11 +172,11 @@ export declare class Monitor extends pulumi.CustomResource {
|
|
|
174
172
|
*/
|
|
175
173
|
readonly enableScreenshotOnFailureAndScript: pulumi.Output<boolean | undefined>;
|
|
176
174
|
/**
|
|
177
|
-
* The location the monitor will run from. At least one of either `locationsPublic` or `
|
|
175
|
+
* The location the monitor will run from. Accepts a list of private location GUIDs. At least one of either `locationsPublic` or `locationsPrivate` is required.
|
|
178
176
|
*/
|
|
179
177
|
readonly locationsPrivates: pulumi.Output<string[] | undefined>;
|
|
180
178
|
/**
|
|
181
|
-
* The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. At least one of either `locationsPublic` or `locationPrivate` is required.
|
|
179
|
+
* The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locationsPublic` or `locationPrivate` is required.
|
|
182
180
|
*/
|
|
183
181
|
readonly locationsPublics: pulumi.Output<string[] | undefined>;
|
|
184
182
|
/**
|
|
@@ -259,11 +257,11 @@ export interface MonitorState {
|
|
|
259
257
|
*/
|
|
260
258
|
enableScreenshotOnFailureAndScript?: pulumi.Input<boolean>;
|
|
261
259
|
/**
|
|
262
|
-
* The location the monitor will run from. At least one of either `locationsPublic` or `
|
|
260
|
+
* The location the monitor will run from. Accepts a list of private location GUIDs. At least one of either `locationsPublic` or `locationsPrivate` is required.
|
|
263
261
|
*/
|
|
264
262
|
locationsPrivates?: pulumi.Input<pulumi.Input<string>[]>;
|
|
265
263
|
/**
|
|
266
|
-
* The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. At least one of either `locationsPublic` or `locationPrivate` is required.
|
|
264
|
+
* The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locationsPublic` or `locationPrivate` is required.
|
|
267
265
|
*/
|
|
268
266
|
locationsPublics?: pulumi.Input<pulumi.Input<string>[]>;
|
|
269
267
|
/**
|
|
@@ -336,11 +334,11 @@ export interface MonitorArgs {
|
|
|
336
334
|
*/
|
|
337
335
|
enableScreenshotOnFailureAndScript?: pulumi.Input<boolean>;
|
|
338
336
|
/**
|
|
339
|
-
* The location the monitor will run from. At least one of either `locationsPublic` or `
|
|
337
|
+
* The location the monitor will run from. Accepts a list of private location GUIDs. At least one of either `locationsPublic` or `locationsPrivate` is required.
|
|
340
338
|
*/
|
|
341
339
|
locationsPrivates?: pulumi.Input<pulumi.Input<string>[]>;
|
|
342
340
|
/**
|
|
343
|
-
* The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. At least one of either `locationsPublic` or `locationPrivate` is required.
|
|
341
|
+
* The location the monitor will run from. Valid public locations are https://docs.newrelic.com/docs/synthetics/synthetic-monitoring/administration/synthetic-public-minion-ips/. You don't need the `AWS_` prefix as the provider uses NerdGraph. At least one of either `locationsPublic` or `locationPrivate` is required.
|
|
344
342
|
*/
|
|
345
343
|
locationsPublics?: pulumi.Input<pulumi.Input<string>[]>;
|
|
346
344
|
/**
|
package/synthetics/monitor.js
CHANGED
|
@@ -36,7 +36,7 @@ const utilities = require("../utilities");
|
|
|
36
36
|
* ```
|
|
37
37
|
* ##### Type: `SIMPLE BROWSER`
|
|
38
38
|
*
|
|
39
|
-
* > **NOTE:** The preferred runtime is `CHROME_BROWSER_100` while configuring the `SIMPLE_BROWSER` monitor. Other runtime may be deprecated in the future and receive fewer product updates.
|
|
39
|
+
* > **NOTE:** The preferred runtime is `CHROME_BROWSER_100` while configuring the `SIMPLE_BROWSER` monitor. The runtime fields `runtimeType`, `runtimeTypeVersion` and `scriptLanguage` are required. Other runtime may be deprecated in the future and receive fewer product updates.
|
|
40
40
|
*
|
|
41
41
|
* ```typescript
|
|
42
42
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -105,8 +105,6 @@ const utilities = require("../utilities");
|
|
|
105
105
|
* ```
|
|
106
106
|
* ##### Type: `BROWSER`
|
|
107
107
|
*
|
|
108
|
-
* > **NOTE:** Currently, it's only possible to use a private location with a monitor running on a legacy runtime. Leave `runtimeTypeVersion`, `runtimeType` & `scriptLanguage` empty to use legacy runtime. See example below.
|
|
109
|
-
*
|
|
110
108
|
* ```typescript
|
|
111
109
|
* import * as pulumi from "@pulumi/pulumi";
|
|
112
110
|
* import * as newrelic from "@pulumi/newrelic";
|
|
@@ -121,11 +119,11 @@ const utilities = require("../utilities");
|
|
|
121
119
|
* value: "simple_browser",
|
|
122
120
|
* }],
|
|
123
121
|
* enableScreenshotOnFailureAndScript: true,
|
|
124
|
-
*
|
|
122
|
+
* locationsPrivates: ["newrelic_synthetics_private_location.private_location.id"],
|
|
125
123
|
* period: "EVERY_MINUTE",
|
|
126
|
-
* runtimeType: "",
|
|
127
|
-
* runtimeTypeVersion: "",
|
|
128
|
-
* scriptLanguage: "",
|
|
124
|
+
* runtimeType: "CHROME_BROWSER",
|
|
125
|
+
* runtimeTypeVersion: "100",
|
|
126
|
+
* scriptLanguage: "JAVASCRIPT",
|
|
129
127
|
* status: "ENABLED",
|
|
130
128
|
* tags: [{
|
|
131
129
|
* key: "some_key",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"monitor.js","sourceRoot":"","sources":["../../synthetics/monitor.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"monitor.js","sourceRoot":"","sources":["../../synthetics/monitor.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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