@pulumi/newrelic 4.20.0 → 5.1.0-alpha.1663018157

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.
Files changed (88) hide show
  1. package/README.md +2 -2
  2. package/alertPolicyChannel.d.ts +1 -1
  3. package/alertPolicyChannel.js +1 -1
  4. package/cloud/awsIntegrations.d.ts +24 -0
  5. package/cloud/awsIntegrations.js +4 -0
  6. package/cloud/awsIntegrations.js.map +1 -1
  7. package/getAlertChannel.d.ts +9 -0
  8. package/getAlertChannel.js +1 -0
  9. package/getAlertChannel.js.map +1 -1
  10. package/getAlertPolicy.d.ts +6 -0
  11. package/getAlertPolicy.js.map +1 -1
  12. package/index.d.ts +1 -1
  13. package/index.js +5 -5
  14. package/index.js.map +1 -1
  15. package/notificationChannel.d.ts +143 -28
  16. package/notificationChannel.js +112 -17
  17. package/notificationChannel.js.map +1 -1
  18. package/notificationDestination.d.ts +124 -50
  19. package/notificationDestination.js +67 -32
  20. package/notificationDestination.js.map +1 -1
  21. package/nrqlAlertCondition.d.ts +12 -15
  22. package/nrqlAlertCondition.js +0 -3
  23. package/nrqlAlertCondition.js.map +1 -1
  24. package/package.json +2 -2
  25. package/package.json.dev +2 -2
  26. package/plugins/index.d.ts +0 -3
  27. package/plugins/index.js +0 -7
  28. package/plugins/index.js.map +1 -1
  29. package/synthetics/alertCondition.d.ts +3 -19
  30. package/synthetics/alertCondition.js +0 -16
  31. package/synthetics/alertCondition.js.map +1 -1
  32. package/synthetics/brokenLinksMonitor.d.ts +198 -0
  33. package/synthetics/brokenLinksMonitor.js +131 -0
  34. package/synthetics/brokenLinksMonitor.js.map +1 -0
  35. package/synthetics/certCheckMonitor.d.ts +203 -0
  36. package/synthetics/certCheckMonitor.js +135 -0
  37. package/synthetics/certCheckMonitor.js.map +1 -0
  38. package/synthetics/getPrivateLocation.d.ts +34 -0
  39. package/synthetics/getPrivateLocation.js +25 -0
  40. package/synthetics/getPrivateLocation.js.map +1 -0
  41. package/synthetics/getSecureCredential.d.ts +0 -4
  42. package/synthetics/getSecureCredential.js.map +1 -1
  43. package/synthetics/index.d.ts +6 -3
  44. package/synthetics/index.js +26 -7
  45. package/synthetics/index.js.map +1 -1
  46. package/synthetics/monitor.d.ts +221 -77
  47. package/synthetics/monitor.js +114 -47
  48. package/synthetics/monitor.js.map +1 -1
  49. package/synthetics/multiLocationAlertCondition.d.ts +32 -3
  50. package/synthetics/multiLocationAlertCondition.js +29 -0
  51. package/synthetics/multiLocationAlertCondition.js.map +1 -1
  52. package/synthetics/privateLocation.d.ts +139 -0
  53. package/synthetics/privateLocation.js +89 -0
  54. package/synthetics/privateLocation.js.map +1 -0
  55. package/synthetics/scriptMonitor.d.ts +341 -0
  56. package/synthetics/scriptMonitor.js +224 -0
  57. package/synthetics/scriptMonitor.js.map +1 -0
  58. package/synthetics/secureCredential.d.ts +6 -6
  59. package/synthetics/secureCredential.js +2 -2
  60. package/synthetics/stepMonitor.d.ts +192 -0
  61. package/synthetics/stepMonitor.js +115 -0
  62. package/synthetics/stepMonitor.js.map +1 -0
  63. package/types/input.d.ts +213 -126
  64. package/types/output.d.ts +213 -126
  65. package/workflow.d.ts +291 -0
  66. package/workflow.js +208 -0
  67. package/workflow.js.map +1 -0
  68. package/dashboard.d.ts +0 -139
  69. package/dashboard.js +0 -73
  70. package/dashboard.js.map +0 -1
  71. package/plugins/alertCondition.d.ts +0 -167
  72. package/plugins/alertCondition.js +0 -100
  73. package/plugins/alertCondition.js.map +0 -1
  74. package/plugins/getPlugin.d.ts +0 -29
  75. package/plugins/getPlugin.js +0 -29
  76. package/plugins/getPlugin.js.map +0 -1
  77. package/plugins/getPluginComponent.d.ts +0 -33
  78. package/plugins/getPluginComponent.js +0 -30
  79. package/plugins/getPluginComponent.js.map +0 -1
  80. package/synthetics/getMonitor.d.ts +0 -54
  81. package/synthetics/getMonitor.js +0 -41
  82. package/synthetics/getMonitor.js.map +0 -1
  83. package/synthetics/getMonitorLocation.d.ts +0 -71
  84. package/synthetics/getMonitorLocation.js +0 -46
  85. package/synthetics/getMonitorLocation.js.map +0 -1
  86. package/synthetics/monitorScript.d.ts +0 -107
  87. package/synthetics/monitorScript.js +0 -93
  88. package/synthetics/monitorScript.js.map +0 -1
package/dashboard.js DELETED
@@ -1,73 +0,0 @@
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.Dashboard = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("./utilities");
8
- /**
9
- * New Relic legacy Dashboards reached end of life Wednesday July 28, 2021.
10
- *
11
- * **This resource has been removed.**
12
- *
13
- * For more information, [click here](https://discuss.newrelic.com/t/important-insights-dashboard-api-end-of-life/149357)
14
- */
15
- class Dashboard extends pulumi.CustomResource {
16
- constructor(name, argsOrState, opts) {
17
- let resourceInputs = {};
18
- opts = opts || {};
19
- if (opts.id) {
20
- const state = argsOrState;
21
- resourceInputs["dashboardUrl"] = state ? state.dashboardUrl : undefined;
22
- resourceInputs["editable"] = state ? state.editable : undefined;
23
- resourceInputs["filter"] = state ? state.filter : undefined;
24
- resourceInputs["gridColumnCount"] = state ? state.gridColumnCount : undefined;
25
- resourceInputs["icon"] = state ? state.icon : undefined;
26
- resourceInputs["title"] = state ? state.title : undefined;
27
- resourceInputs["visibility"] = state ? state.visibility : undefined;
28
- resourceInputs["widgets"] = state ? state.widgets : undefined;
29
- }
30
- else {
31
- const args = argsOrState;
32
- if ((!args || args.title === undefined) && !opts.urn) {
33
- throw new Error("Missing required property 'title'");
34
- }
35
- resourceInputs["editable"] = args ? args.editable : undefined;
36
- resourceInputs["filter"] = args ? args.filter : undefined;
37
- resourceInputs["gridColumnCount"] = args ? args.gridColumnCount : undefined;
38
- resourceInputs["icon"] = args ? args.icon : undefined;
39
- resourceInputs["title"] = args ? args.title : undefined;
40
- resourceInputs["visibility"] = args ? args.visibility : undefined;
41
- resourceInputs["widgets"] = args ? args.widgets : undefined;
42
- resourceInputs["dashboardUrl"] = undefined /*out*/;
43
- }
44
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
45
- super(Dashboard.__pulumiType, name, resourceInputs, opts);
46
- }
47
- /**
48
- * Get an existing Dashboard resource's state with the given name, ID, and optional extra
49
- * properties used to qualify the lookup.
50
- *
51
- * @param name The _unique_ name of the resulting resource.
52
- * @param id The _unique_ provider ID of the resource to lookup.
53
- * @param state Any extra arguments used during the lookup.
54
- * @param opts Optional settings to control the behavior of the CustomResource.
55
- */
56
- static get(name, id, state, opts) {
57
- return new Dashboard(name, state, Object.assign(Object.assign({}, opts), { id: id }));
58
- }
59
- /**
60
- * Returns true if the given object is an instance of Dashboard. This is designed to work even
61
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
62
- */
63
- static isInstance(obj) {
64
- if (obj === undefined || obj === null) {
65
- return false;
66
- }
67
- return obj['__pulumiType'] === Dashboard.__pulumiType;
68
- }
69
- }
70
- exports.Dashboard = Dashboard;
71
- /** @internal */
72
- Dashboard.__pulumiType = 'newrelic:index/dashboard:Dashboard';
73
- //# sourceMappingURL=dashboard.js.map
package/dashboard.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"dashboard.js","sourceRoot":"","sources":["../dashboard.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAsEhD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyC,CAAC;YACxD,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,C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AY,CAAC;IAC1D,CAAC;;AA1BL,8BAoGC;AAtFG,gBAAgB;AACO,sBAAY,GAAG,oCAAoC,CAAC"}
@@ -1,167 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- import { input as inputs, output as outputs } from "../types";
3
- /**
4
- * New Relic Plugins reached end of life Wednesday June 16, 2021.
5
- *
6
- * **This resource has been removed.**
7
- *
8
- * For more information, [click here](https://discuss.newrelic.com/t/new-relic-plugin-eol-wednesday-june-16th-2021/127267)
9
- */
10
- export declare class AlertCondition extends pulumi.CustomResource {
11
- /**
12
- * Get an existing AlertCondition resource's state with the given name, ID, and optional extra
13
- * properties used to qualify the lookup.
14
- *
15
- * @param name The _unique_ name of the resulting resource.
16
- * @param id The _unique_ provider ID of the resource to lookup.
17
- * @param state Any extra arguments used during the lookup.
18
- * @param opts Optional settings to control the behavior of the CustomResource.
19
- */
20
- static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AlertConditionState, opts?: pulumi.CustomResourceOptions): AlertCondition;
21
- /**
22
- * Returns true if the given object is an instance of AlertCondition. This is designed to work even
23
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
24
- */
25
- static isInstance(obj: any): obj is AlertCondition;
26
- /**
27
- * Whether or not this condition is enabled.
28
- */
29
- readonly enabled: pulumi.Output<boolean | undefined>;
30
- /**
31
- * The plugin component IDs to target.
32
- */
33
- readonly entities: pulumi.Output<number[]>;
34
- /**
35
- * The plugin metric to evaluate.
36
- */
37
- readonly metric: pulumi.Output<string>;
38
- /**
39
- * The metric description.
40
- */
41
- readonly metricDescription: pulumi.Output<string>;
42
- /**
43
- * The title of the condition. Must be between 1 and 64 characters, inclusive.
44
- */
45
- readonly name: pulumi.Output<string>;
46
- /**
47
- * The GUID of the plugin which produces the metric.
48
- */
49
- readonly pluginGuid: pulumi.Output<string>;
50
- /**
51
- * The ID of the installed plugin instance which produces the metric.
52
- */
53
- readonly pluginId: pulumi.Output<string>;
54
- /**
55
- * The ID of the policy where this condition should be used.
56
- */
57
- readonly policyId: pulumi.Output<number>;
58
- /**
59
- * Runbook URL to display in notifications.
60
- */
61
- readonly runbookUrl: pulumi.Output<string | undefined>;
62
- readonly terms: pulumi.Output<outputs.plugins.AlertConditionTerm[]>;
63
- /**
64
- * The value function to apply to the metric data. One of `min`, `max`, `average`, `sample_size`, `total`, or `percent`.
65
- */
66
- readonly valueFunction: pulumi.Output<string>;
67
- /**
68
- * Create a AlertCondition resource with the given unique name, arguments, and options.
69
- *
70
- * @param name The _unique_ name of the resource.
71
- * @param args The arguments to use to populate this resource's properties.
72
- * @param opts A bag of options that control this resource's behavior.
73
- */
74
- constructor(name: string, args: AlertConditionArgs, opts?: pulumi.CustomResourceOptions);
75
- }
76
- /**
77
- * Input properties used for looking up and filtering AlertCondition resources.
78
- */
79
- export interface AlertConditionState {
80
- /**
81
- * Whether or not this condition is enabled.
82
- */
83
- enabled?: pulumi.Input<boolean>;
84
- /**
85
- * The plugin component IDs to target.
86
- */
87
- entities?: pulumi.Input<pulumi.Input<number>[]>;
88
- /**
89
- * The plugin metric to evaluate.
90
- */
91
- metric?: pulumi.Input<string>;
92
- /**
93
- * The metric description.
94
- */
95
- metricDescription?: pulumi.Input<string>;
96
- /**
97
- * The title of the condition. Must be between 1 and 64 characters, inclusive.
98
- */
99
- name?: pulumi.Input<string>;
100
- /**
101
- * The GUID of the plugin which produces the metric.
102
- */
103
- pluginGuid?: pulumi.Input<string>;
104
- /**
105
- * The ID of the installed plugin instance which produces the metric.
106
- */
107
- pluginId?: pulumi.Input<string>;
108
- /**
109
- * The ID of the policy where this condition should be used.
110
- */
111
- policyId?: pulumi.Input<number>;
112
- /**
113
- * Runbook URL to display in notifications.
114
- */
115
- runbookUrl?: pulumi.Input<string>;
116
- terms?: pulumi.Input<pulumi.Input<inputs.plugins.AlertConditionTerm>[]>;
117
- /**
118
- * The value function to apply to the metric data. One of `min`, `max`, `average`, `sample_size`, `total`, or `percent`.
119
- */
120
- valueFunction?: pulumi.Input<string>;
121
- }
122
- /**
123
- * The set of arguments for constructing a AlertCondition resource.
124
- */
125
- export interface AlertConditionArgs {
126
- /**
127
- * Whether or not this condition is enabled.
128
- */
129
- enabled?: pulumi.Input<boolean>;
130
- /**
131
- * The plugin component IDs to target.
132
- */
133
- entities: pulumi.Input<pulumi.Input<number>[]>;
134
- /**
135
- * The plugin metric to evaluate.
136
- */
137
- metric: pulumi.Input<string>;
138
- /**
139
- * The metric description.
140
- */
141
- metricDescription: pulumi.Input<string>;
142
- /**
143
- * The title of the condition. Must be between 1 and 64 characters, inclusive.
144
- */
145
- name?: pulumi.Input<string>;
146
- /**
147
- * The GUID of the plugin which produces the metric.
148
- */
149
- pluginGuid: pulumi.Input<string>;
150
- /**
151
- * The ID of the installed plugin instance which produces the metric.
152
- */
153
- pluginId: pulumi.Input<string>;
154
- /**
155
- * The ID of the policy where this condition should be used.
156
- */
157
- policyId: pulumi.Input<number>;
158
- /**
159
- * Runbook URL to display in notifications.
160
- */
161
- runbookUrl?: pulumi.Input<string>;
162
- terms: pulumi.Input<pulumi.Input<inputs.plugins.AlertConditionTerm>[]>;
163
- /**
164
- * The value function to apply to the metric data. One of `min`, `max`, `average`, `sample_size`, `total`, or `percent`.
165
- */
166
- valueFunction: pulumi.Input<string>;
167
- }
@@ -1,100 +0,0 @@
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.AlertCondition = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("../utilities");
8
- /**
9
- * New Relic Plugins reached end of life Wednesday June 16, 2021.
10
- *
11
- * **This resource has been removed.**
12
- *
13
- * For more information, [click here](https://discuss.newrelic.com/t/new-relic-plugin-eol-wednesday-june-16th-2021/127267)
14
- */
15
- class AlertCondition extends pulumi.CustomResource {
16
- constructor(name, argsOrState, opts) {
17
- let resourceInputs = {};
18
- opts = opts || {};
19
- if (opts.id) {
20
- const state = argsOrState;
21
- resourceInputs["enabled"] = state ? state.enabled : undefined;
22
- resourceInputs["entities"] = state ? state.entities : undefined;
23
- resourceInputs["metric"] = state ? state.metric : undefined;
24
- resourceInputs["metricDescription"] = state ? state.metricDescription : undefined;
25
- resourceInputs["name"] = state ? state.name : undefined;
26
- resourceInputs["pluginGuid"] = state ? state.pluginGuid : undefined;
27
- resourceInputs["pluginId"] = state ? state.pluginId : undefined;
28
- resourceInputs["policyId"] = state ? state.policyId : undefined;
29
- resourceInputs["runbookUrl"] = state ? state.runbookUrl : undefined;
30
- resourceInputs["terms"] = state ? state.terms : undefined;
31
- resourceInputs["valueFunction"] = state ? state.valueFunction : undefined;
32
- }
33
- else {
34
- const args = argsOrState;
35
- if ((!args || args.entities === undefined) && !opts.urn) {
36
- throw new Error("Missing required property 'entities'");
37
- }
38
- if ((!args || args.metric === undefined) && !opts.urn) {
39
- throw new Error("Missing required property 'metric'");
40
- }
41
- if ((!args || args.metricDescription === undefined) && !opts.urn) {
42
- throw new Error("Missing required property 'metricDescription'");
43
- }
44
- if ((!args || args.pluginGuid === undefined) && !opts.urn) {
45
- throw new Error("Missing required property 'pluginGuid'");
46
- }
47
- if ((!args || args.pluginId === undefined) && !opts.urn) {
48
- throw new Error("Missing required property 'pluginId'");
49
- }
50
- if ((!args || args.policyId === undefined) && !opts.urn) {
51
- throw new Error("Missing required property 'policyId'");
52
- }
53
- if ((!args || args.terms === undefined) && !opts.urn) {
54
- throw new Error("Missing required property 'terms'");
55
- }
56
- if ((!args || args.valueFunction === undefined) && !opts.urn) {
57
- throw new Error("Missing required property 'valueFunction'");
58
- }
59
- resourceInputs["enabled"] = args ? args.enabled : undefined;
60
- resourceInputs["entities"] = args ? args.entities : undefined;
61
- resourceInputs["metric"] = args ? args.metric : undefined;
62
- resourceInputs["metricDescription"] = args ? args.metricDescription : undefined;
63
- resourceInputs["name"] = args ? args.name : undefined;
64
- resourceInputs["pluginGuid"] = args ? args.pluginGuid : undefined;
65
- resourceInputs["pluginId"] = args ? args.pluginId : undefined;
66
- resourceInputs["policyId"] = args ? args.policyId : undefined;
67
- resourceInputs["runbookUrl"] = args ? args.runbookUrl : undefined;
68
- resourceInputs["terms"] = args ? args.terms : undefined;
69
- resourceInputs["valueFunction"] = args ? args.valueFunction : undefined;
70
- }
71
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
72
- super(AlertCondition.__pulumiType, name, resourceInputs, opts);
73
- }
74
- /**
75
- * Get an existing AlertCondition resource's state with the given name, ID, and optional extra
76
- * properties used to qualify the lookup.
77
- *
78
- * @param name The _unique_ name of the resulting resource.
79
- * @param id The _unique_ provider ID of the resource to lookup.
80
- * @param state Any extra arguments used during the lookup.
81
- * @param opts Optional settings to control the behavior of the CustomResource.
82
- */
83
- static get(name, id, state, opts) {
84
- return new AlertCondition(name, state, Object.assign(Object.assign({}, opts), { id: id }));
85
- }
86
- /**
87
- * Returns true if the given object is an instance of AlertCondition. This is designed to work even
88
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
89
- */
90
- static isInstance(obj) {
91
- if (obj === undefined || obj === null) {
92
- return false;
93
- }
94
- return obj['__pulumiType'] === AlertCondition.__pulumiType;
95
- }
96
- }
97
- exports.AlertCondition = AlertCondition;
98
- /** @internal */
99
- AlertCondition.__pulumiType = 'newrelic:plugins/alertCondition:AlertCondition';
100
- //# sourceMappingURL=alertCondition.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"alertCondition.js","sourceRoot":"","sources":["../../plugins/alertCondition.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;GAMG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IA8ErD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,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C,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;IArID;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;;AA1BL,wCAuIC;AAzHG,gBAAgB;AACO,2BAAY,GAAG,gDAAgD,CAAC"}
@@ -1,29 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- /**
3
- * New Relic Plugins reached end of life Wednesday June 16, 2021.
4
- *
5
- * **This data source has been removed.**
6
- *
7
- * For more information, [click here](https://discuss.newrelic.com/t/new-relic-plugin-eol-wednesday-june-16th-2021/127267)
8
- */
9
- export declare function getPlugin(args: GetPluginArgs, opts?: pulumi.InvokeOptions): Promise<GetPluginResult>;
10
- /**
11
- * A collection of arguments for invoking getPlugin.
12
- */
13
- export interface GetPluginArgs {
14
- guid: string;
15
- }
16
- /**
17
- * A collection of values returned by getPlugin.
18
- */
19
- export interface GetPluginResult {
20
- readonly guid: string;
21
- readonly id: string;
22
- }
23
- export declare function getPluginOutput(args: GetPluginOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPluginResult>;
24
- /**
25
- * A collection of arguments for invoking getPlugin.
26
- */
27
- export interface GetPluginOutputArgs {
28
- guid: pulumi.Input<string>;
29
- }
@@ -1,29 +0,0 @@
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.getPluginOutput = exports.getPlugin = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("../utilities");
8
- /**
9
- * New Relic Plugins reached end of life Wednesday June 16, 2021.
10
- *
11
- * **This data source has been removed.**
12
- *
13
- * For more information, [click here](https://discuss.newrelic.com/t/new-relic-plugin-eol-wednesday-june-16th-2021/127267)
14
- */
15
- function getPlugin(args, opts) {
16
- if (!opts) {
17
- opts = {};
18
- }
19
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
20
- return pulumi.runtime.invoke("newrelic:plugins/getPlugin:getPlugin", {
21
- "guid": args.guid,
22
- }, opts);
23
- }
24
- exports.getPlugin = getPlugin;
25
- function getPluginOutput(args, opts) {
26
- return pulumi.output(args).apply(a => getPlugin(a, opts));
27
- }
28
- exports.getPluginOutput = getPluginOutput;
29
- //# sourceMappingURL=getPlugin.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getPlugin.js","sourceRoot":"","sources":["../../plugins/getPlugin.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;GAMG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,8BASC;AAiBD,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7D,CAAC;AAFD,0CAEC"}
@@ -1,33 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- /**
3
- * New Relic Plugins reached end of life Wednesday June 16, 2021.
4
- *
5
- * **This data source has been removed.**
6
- *
7
- * For more information, [click here](https://discuss.newrelic.com/t/new-relic-plugin-eol-wednesday-june-16th-2021/127267)
8
- */
9
- export declare function getPluginComponent(args: GetPluginComponentArgs, opts?: pulumi.InvokeOptions): Promise<GetPluginComponentResult>;
10
- /**
11
- * A collection of arguments for invoking getPluginComponent.
12
- */
13
- export interface GetPluginComponentArgs {
14
- name: string;
15
- pluginId: number;
16
- }
17
- /**
18
- * A collection of values returned by getPluginComponent.
19
- */
20
- export interface GetPluginComponentResult {
21
- readonly healthStatus: string;
22
- readonly id: string;
23
- readonly name: string;
24
- readonly pluginId: number;
25
- }
26
- export declare function getPluginComponentOutput(args: GetPluginComponentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPluginComponentResult>;
27
- /**
28
- * A collection of arguments for invoking getPluginComponent.
29
- */
30
- export interface GetPluginComponentOutputArgs {
31
- name: pulumi.Input<string>;
32
- pluginId: pulumi.Input<number>;
33
- }
@@ -1,30 +0,0 @@
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.getPluginComponentOutput = exports.getPluginComponent = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("../utilities");
8
- /**
9
- * New Relic Plugins reached end of life Wednesday June 16, 2021.
10
- *
11
- * **This data source has been removed.**
12
- *
13
- * For more information, [click here](https://discuss.newrelic.com/t/new-relic-plugin-eol-wednesday-june-16th-2021/127267)
14
- */
15
- function getPluginComponent(args, opts) {
16
- if (!opts) {
17
- opts = {};
18
- }
19
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
20
- return pulumi.runtime.invoke("newrelic:plugins/getPluginComponent:getPluginComponent", {
21
- "name": args.name,
22
- "pluginId": args.pluginId,
23
- }, opts);
24
- }
25
- exports.getPluginComponent = getPluginComponent;
26
- function getPluginComponentOutput(args, opts) {
27
- return pulumi.output(args).apply(a => getPluginComponent(a, opts));
28
- }
29
- exports.getPluginComponentOutput = getPluginComponentOutput;
30
- //# sourceMappingURL=getPluginComponent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getPluginComponent.js","sourceRoot":"","sources":["../../plugins/getPluginComponent.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;GAMG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE;QACnF,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,gDAUC;AAoBD,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,4DAEC"}
@@ -1,54 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- /**
3
- * Use this data source to get information about a specific synthetics monitor in New Relic that already exists. This can be used to set up a Synthetics alert condition.
4
- *
5
- * ## Example Usage
6
- *
7
- * ```typescript
8
- * import * as pulumi from "@pulumi/pulumi";
9
- * import * as newrelic from "@pulumi/newrelic";
10
- *
11
- * const bar = newrelic.synthetics.getMonitor({
12
- * name: "bar",
13
- * });
14
- * const baz = new newrelic.synthetics.AlertCondition("baz", {
15
- * policyId: newrelic_alert_policy.foo.id,
16
- * monitorId: bar.then(bar => bar.id),
17
- * runbookUrl: "https://www.example.com",
18
- * });
19
- * ```
20
- */
21
- export declare function getMonitor(args: GetMonitorArgs, opts?: pulumi.InvokeOptions): Promise<GetMonitorResult>;
22
- /**
23
- * A collection of arguments for invoking getMonitor.
24
- */
25
- export interface GetMonitorArgs {
26
- /**
27
- * The name of the synthetics monitor in New Relic.
28
- */
29
- name: string;
30
- }
31
- /**
32
- * A collection of values returned by getMonitor.
33
- */
34
- export interface GetMonitorResult {
35
- /**
36
- * The provider-assigned unique ID for this managed resource.
37
- */
38
- readonly id: string;
39
- /**
40
- * The ID of the synthetics monitor.
41
- */
42
- readonly monitorId: string;
43
- readonly name: string;
44
- }
45
- export declare function getMonitorOutput(args: GetMonitorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetMonitorResult>;
46
- /**
47
- * A collection of arguments for invoking getMonitor.
48
- */
49
- export interface GetMonitorOutputArgs {
50
- /**
51
- * The name of the synthetics monitor in New Relic.
52
- */
53
- name: pulumi.Input<string>;
54
- }
@@ -1,41 +0,0 @@
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.getMonitorOutput = exports.getMonitor = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("../utilities");
8
- /**
9
- * Use this data source to get information about a specific synthetics monitor in New Relic that already exists. This can be used to set up a Synthetics alert condition.
10
- *
11
- * ## Example Usage
12
- *
13
- * ```typescript
14
- * import * as pulumi from "@pulumi/pulumi";
15
- * import * as newrelic from "@pulumi/newrelic";
16
- *
17
- * const bar = newrelic.synthetics.getMonitor({
18
- * name: "bar",
19
- * });
20
- * const baz = new newrelic.synthetics.AlertCondition("baz", {
21
- * policyId: newrelic_alert_policy.foo.id,
22
- * monitorId: bar.then(bar => bar.id),
23
- * runbookUrl: "https://www.example.com",
24
- * });
25
- * ```
26
- */
27
- function getMonitor(args, opts) {
28
- if (!opts) {
29
- opts = {};
30
- }
31
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
32
- return pulumi.runtime.invoke("newrelic:synthetics/getMonitor:getMonitor", {
33
- "name": args.name,
34
- }, opts);
35
- }
36
- exports.getMonitor = getMonitor;
37
- function getMonitorOutput(args, opts) {
38
- return pulumi.output(args).apply(a => getMonitor(a, opts));
39
- }
40
- exports.getMonitorOutput = getMonitorOutput;
41
- //# sourceMappingURL=getMonitor.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getMonitor.js","sourceRoot":"","sources":["../../synthetics/getMonitor.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE;QACtE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,gCASC;AA2BD,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9D,CAAC;AAFD,4CAEC"}
@@ -1,71 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- /**
3
- * Use this data source to get information about a specific Synthetics monitor location in New Relic that already exists.
4
- *
5
- * ## Example Usage
6
- *
7
- * ```typescript
8
- * import * as pulumi from "@pulumi/pulumi";
9
- * import * as newrelic from "@pulumi/newrelic";
10
- *
11
- * const bar = newrelic.synthetics.getMonitorLocation({
12
- * label: "My private location",
13
- * });
14
- * const foo = new newrelic.synthetics.Monitor("foo", {
15
- * type: "SIMPLE",
16
- * frequency: 5,
17
- * status: "ENABLED",
18
- * locations: [bar.then(bar => bar.name)],
19
- * uri: "https://example.com",
20
- * validationString: "add example validation check here",
21
- * verifySsl: true,
22
- * });
23
- * // Optional for type "SIMPLE" and "BROWSER"
24
- * ```
25
- */
26
- export declare function getMonitorLocation(args: GetMonitorLocationArgs, opts?: pulumi.InvokeOptions): Promise<GetMonitorLocationResult>;
27
- /**
28
- * A collection of arguments for invoking getMonitorLocation.
29
- */
30
- export interface GetMonitorLocationArgs {
31
- /**
32
- * The label of the Synthetics monitor location.
33
- */
34
- label: string;
35
- }
36
- /**
37
- * A collection of values returned by getMonitorLocation.
38
- */
39
- export interface GetMonitorLocationResult {
40
- /**
41
- * A description of the Synthetics monitor location.
42
- */
43
- readonly description: string;
44
- /**
45
- * Represents if high security mode is enabled for the location. A value of true means that high security mode is enabled, and a value of false means it is disabled.
46
- */
47
- readonly highSecurityMode: boolean;
48
- /**
49
- * The provider-assigned unique ID for this managed resource.
50
- */
51
- readonly id: string;
52
- readonly label: string;
53
- /**
54
- * The name of the Synthetics monitor location.
55
- */
56
- readonly name: string;
57
- /**
58
- * Represents if this location is a private location. A value of true means that the location is private, and a value of false means it is public.
59
- */
60
- readonly private: boolean;
61
- }
62
- export declare function getMonitorLocationOutput(args: GetMonitorLocationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetMonitorLocationResult>;
63
- /**
64
- * A collection of arguments for invoking getMonitorLocation.
65
- */
66
- export interface GetMonitorLocationOutputArgs {
67
- /**
68
- * The label of the Synthetics monitor location.
69
- */
70
- label: pulumi.Input<string>;
71
- }