@pulumi/newrelic 4.17.0 → 4.19.0-alpha.1658324985
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cloud/azureIntegrations.d.ts +3 -3
- package/index.d.ts +2 -0
- package/index.js +10 -0
- package/index.js.map +1 -1
- package/notificationChannel.d.ts +100 -0
- package/notificationChannel.js +66 -0
- package/notificationChannel.js.map +1 -0
- package/notificationDestination.d.ts +94 -0
- package/notificationDestination.js +58 -0
- package/notificationDestination.js.map +1 -0
- package/oneDashboard.d.ts +2 -0
- package/oneDashboard.js +2 -0
- package/oneDashboard.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/types/input.d.ts +77 -18
- package/types/output.d.ts +73 -14
|
@@ -138,7 +138,7 @@ export declare class AzureIntegrations extends pulumi.CustomResource {
|
|
|
138
138
|
*/
|
|
139
139
|
readonly virtualMachine: pulumi.Output<outputs.cloud.AzureIntegrationsVirtualMachine | undefined>;
|
|
140
140
|
/**
|
|
141
|
-
*
|
|
141
|
+
* for Azure Virtual networks. See Integration blocks below for details.
|
|
142
142
|
*/
|
|
143
143
|
readonly virtualNetworks: pulumi.Output<outputs.cloud.AzureIntegrationsVirtualNetworks | undefined>;
|
|
144
144
|
/**
|
|
@@ -275,7 +275,7 @@ export interface AzureIntegrationsState {
|
|
|
275
275
|
*/
|
|
276
276
|
virtualMachine?: pulumi.Input<inputs.cloud.AzureIntegrationsVirtualMachine>;
|
|
277
277
|
/**
|
|
278
|
-
*
|
|
278
|
+
* for Azure Virtual networks. See Integration blocks below for details.
|
|
279
279
|
*/
|
|
280
280
|
virtualNetworks?: pulumi.Input<inputs.cloud.AzureIntegrationsVirtualNetworks>;
|
|
281
281
|
/**
|
|
@@ -404,7 +404,7 @@ export interface AzureIntegrationsArgs {
|
|
|
404
404
|
*/
|
|
405
405
|
virtualMachine?: pulumi.Input<inputs.cloud.AzureIntegrationsVirtualMachine>;
|
|
406
406
|
/**
|
|
407
|
-
*
|
|
407
|
+
* for Azure Virtual networks. See Integration blocks below for details.
|
|
408
408
|
*/
|
|
409
409
|
virtualNetworks?: pulumi.Input<inputs.cloud.AzureIntegrationsVirtualNetworks>;
|
|
410
410
|
/**
|
package/index.d.ts
CHANGED
|
@@ -15,6 +15,8 @@ export * from "./getCloudAccount";
|
|
|
15
15
|
export * from "./getEntity";
|
|
16
16
|
export * from "./getKeyTransaction";
|
|
17
17
|
export * from "./infraAlertCondition";
|
|
18
|
+
export * from "./notificationChannel";
|
|
19
|
+
export * from "./notificationDestination";
|
|
18
20
|
export * from "./nrqlAlertCondition";
|
|
19
21
|
export * from "./nrqlDropRule";
|
|
20
22
|
export * from "./oneDashboard";
|
package/index.js
CHANGED
|
@@ -37,6 +37,8 @@ __exportStar(require("./getCloudAccount"), exports);
|
|
|
37
37
|
__exportStar(require("./getEntity"), exports);
|
|
38
38
|
__exportStar(require("./getKeyTransaction"), exports);
|
|
39
39
|
__exportStar(require("./infraAlertCondition"), exports);
|
|
40
|
+
__exportStar(require("./notificationChannel"), exports);
|
|
41
|
+
__exportStar(require("./notificationDestination"), exports);
|
|
40
42
|
__exportStar(require("./nrqlAlertCondition"), exports);
|
|
41
43
|
__exportStar(require("./nrqlDropRule"), exports);
|
|
42
44
|
__exportStar(require("./oneDashboard"), exports);
|
|
@@ -67,6 +69,8 @@ const dashboard_1 = require("./dashboard");
|
|
|
67
69
|
const entityTags_1 = require("./entityTags");
|
|
68
70
|
const eventsToMetricsRule_1 = require("./eventsToMetricsRule");
|
|
69
71
|
const infraAlertCondition_1 = require("./infraAlertCondition");
|
|
72
|
+
const notificationChannel_1 = require("./notificationChannel");
|
|
73
|
+
const notificationDestination_1 = require("./notificationDestination");
|
|
70
74
|
const nrqlAlertCondition_1 = require("./nrqlAlertCondition");
|
|
71
75
|
const nrqlDropRule_1 = require("./nrqlDropRule");
|
|
72
76
|
const oneDashboard_1 = require("./oneDashboard");
|
|
@@ -96,6 +100,10 @@ const _module = {
|
|
|
96
100
|
return new eventsToMetricsRule_1.EventsToMetricsRule(name, undefined, { urn });
|
|
97
101
|
case "newrelic:index/infraAlertCondition:InfraAlertCondition":
|
|
98
102
|
return new infraAlertCondition_1.InfraAlertCondition(name, undefined, { urn });
|
|
103
|
+
case "newrelic:index/notificationChannel:NotificationChannel":
|
|
104
|
+
return new notificationChannel_1.NotificationChannel(name, undefined, { urn });
|
|
105
|
+
case "newrelic:index/notificationDestination:NotificationDestination":
|
|
106
|
+
return new notificationDestination_1.NotificationDestination(name, undefined, { urn });
|
|
99
107
|
case "newrelic:index/nrqlAlertCondition:NrqlAlertCondition":
|
|
100
108
|
return new nrqlAlertCondition_1.NrqlAlertCondition(name, undefined, { urn });
|
|
101
109
|
case "newrelic:index/nrqlDropRule:NrqlDropRule":
|
|
@@ -121,6 +129,8 @@ pulumi.runtime.registerResourceModule("newrelic", "index/dashboard", _module);
|
|
|
121
129
|
pulumi.runtime.registerResourceModule("newrelic", "index/entityTags", _module);
|
|
122
130
|
pulumi.runtime.registerResourceModule("newrelic", "index/eventsToMetricsRule", _module);
|
|
123
131
|
pulumi.runtime.registerResourceModule("newrelic", "index/infraAlertCondition", _module);
|
|
132
|
+
pulumi.runtime.registerResourceModule("newrelic", "index/notificationChannel", _module);
|
|
133
|
+
pulumi.runtime.registerResourceModule("newrelic", "index/notificationDestination", _module);
|
|
124
134
|
pulumi.runtime.registerResourceModule("newrelic", "index/nrqlAlertCondition", _module);
|
|
125
135
|
pulumi.runtime.registerResourceModule("newrelic", "index/nrqlDropRule", _module);
|
|
126
136
|
pulumi.runtime.registerResourceModule("newrelic", "index/oneDashboard", _module);
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,kBAAkB;AAClB,iDAA+B;AAC/B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EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA;AACtF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA;AAChF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA;AAChF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,uBAAuB,EAAE,OAAO,CAAC,CAAA;AACnF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA;AAEhF,yCAAsC;AAEtC,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,UAAU,EAAE;IAC/C,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,2BAA2B,EAAE;YACtC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,mBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "./types";
|
|
3
|
+
export declare class NotificationChannel extends pulumi.CustomResource {
|
|
4
|
+
/**
|
|
5
|
+
* Get an existing NotificationChannel resource's state with the given name, ID, and optional extra
|
|
6
|
+
* properties used to qualify the lookup.
|
|
7
|
+
*
|
|
8
|
+
* @param name The _unique_ name of the resulting resource.
|
|
9
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
10
|
+
* @param state Any extra arguments used during the lookup.
|
|
11
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
12
|
+
*/
|
|
13
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NotificationChannelState, opts?: pulumi.CustomResourceOptions): NotificationChannel;
|
|
14
|
+
/**
|
|
15
|
+
* Returns true if the given object is an instance of NotificationChannel. This is designed to work even
|
|
16
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
17
|
+
*/
|
|
18
|
+
static isInstance(obj: any): obj is NotificationChannel;
|
|
19
|
+
/**
|
|
20
|
+
* (Required) The id of the destination.
|
|
21
|
+
*/
|
|
22
|
+
readonly destinationId: pulumi.Output<string>;
|
|
23
|
+
/**
|
|
24
|
+
* (Required) The name of the channel.
|
|
25
|
+
*/
|
|
26
|
+
readonly name: pulumi.Output<string>;
|
|
27
|
+
/**
|
|
28
|
+
* (Required) The type of the channel product. One of: (ALERTS, DISCUSSIONS, ERROR_TRACKING, NTFC, SHARING, PD, IINT).
|
|
29
|
+
*/
|
|
30
|
+
readonly product: pulumi.Output<string>;
|
|
31
|
+
/**
|
|
32
|
+
* List of notification channel property types.
|
|
33
|
+
*/
|
|
34
|
+
readonly properties: pulumi.Output<outputs.NotificationChannelProperty[] | undefined>;
|
|
35
|
+
/**
|
|
36
|
+
* (Required) The type of the channel. One of: (WEBHOOK, EMAIL, SERVICENOW_INCIDENTS, PAGERDUTY_ACCOUNT_INTEGRATION,
|
|
37
|
+
* PAGERDUTY_SERVICE_INTEGRATION).
|
|
38
|
+
*/
|
|
39
|
+
readonly type: pulumi.Output<string>;
|
|
40
|
+
/**
|
|
41
|
+
* Create a NotificationChannel resource with the given unique name, arguments, and options.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resource.
|
|
44
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
45
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
46
|
+
*/
|
|
47
|
+
constructor(name: string, args: NotificationChannelArgs, opts?: pulumi.CustomResourceOptions);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Input properties used for looking up and filtering NotificationChannel resources.
|
|
51
|
+
*/
|
|
52
|
+
export interface NotificationChannelState {
|
|
53
|
+
/**
|
|
54
|
+
* (Required) The id of the destination.
|
|
55
|
+
*/
|
|
56
|
+
destinationId?: pulumi.Input<string>;
|
|
57
|
+
/**
|
|
58
|
+
* (Required) The name of the channel.
|
|
59
|
+
*/
|
|
60
|
+
name?: pulumi.Input<string>;
|
|
61
|
+
/**
|
|
62
|
+
* (Required) The type of the channel product. One of: (ALERTS, DISCUSSIONS, ERROR_TRACKING, NTFC, SHARING, PD, IINT).
|
|
63
|
+
*/
|
|
64
|
+
product?: pulumi.Input<string>;
|
|
65
|
+
/**
|
|
66
|
+
* List of notification channel property types.
|
|
67
|
+
*/
|
|
68
|
+
properties?: pulumi.Input<pulumi.Input<inputs.NotificationChannelProperty>[]>;
|
|
69
|
+
/**
|
|
70
|
+
* (Required) The type of the channel. One of: (WEBHOOK, EMAIL, SERVICENOW_INCIDENTS, PAGERDUTY_ACCOUNT_INTEGRATION,
|
|
71
|
+
* PAGERDUTY_SERVICE_INTEGRATION).
|
|
72
|
+
*/
|
|
73
|
+
type?: pulumi.Input<string>;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* The set of arguments for constructing a NotificationChannel resource.
|
|
77
|
+
*/
|
|
78
|
+
export interface NotificationChannelArgs {
|
|
79
|
+
/**
|
|
80
|
+
* (Required) The id of the destination.
|
|
81
|
+
*/
|
|
82
|
+
destinationId: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* (Required) The name of the channel.
|
|
85
|
+
*/
|
|
86
|
+
name?: pulumi.Input<string>;
|
|
87
|
+
/**
|
|
88
|
+
* (Required) The type of the channel product. One of: (ALERTS, DISCUSSIONS, ERROR_TRACKING, NTFC, SHARING, PD, IINT).
|
|
89
|
+
*/
|
|
90
|
+
product: pulumi.Input<string>;
|
|
91
|
+
/**
|
|
92
|
+
* List of notification channel property types.
|
|
93
|
+
*/
|
|
94
|
+
properties?: pulumi.Input<pulumi.Input<inputs.NotificationChannelProperty>[]>;
|
|
95
|
+
/**
|
|
96
|
+
* (Required) The type of the channel. One of: (WEBHOOK, EMAIL, SERVICENOW_INCIDENTS, PAGERDUTY_ACCOUNT_INTEGRATION,
|
|
97
|
+
* PAGERDUTY_SERVICE_INTEGRATION).
|
|
98
|
+
*/
|
|
99
|
+
type: pulumi.Input<string>;
|
|
100
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
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.NotificationChannel = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class NotificationChannel extends pulumi.CustomResource {
|
|
9
|
+
constructor(name, argsOrState, opts) {
|
|
10
|
+
let resourceInputs = {};
|
|
11
|
+
opts = opts || {};
|
|
12
|
+
if (opts.id) {
|
|
13
|
+
const state = argsOrState;
|
|
14
|
+
resourceInputs["destinationId"] = state ? state.destinationId : undefined;
|
|
15
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
16
|
+
resourceInputs["product"] = state ? state.product : undefined;
|
|
17
|
+
resourceInputs["properties"] = state ? state.properties : undefined;
|
|
18
|
+
resourceInputs["type"] = state ? state.type : undefined;
|
|
19
|
+
}
|
|
20
|
+
else {
|
|
21
|
+
const args = argsOrState;
|
|
22
|
+
if ((!args || args.destinationId === undefined) && !opts.urn) {
|
|
23
|
+
throw new Error("Missing required property 'destinationId'");
|
|
24
|
+
}
|
|
25
|
+
if ((!args || args.product === undefined) && !opts.urn) {
|
|
26
|
+
throw new Error("Missing required property 'product'");
|
|
27
|
+
}
|
|
28
|
+
if ((!args || args.type === undefined) && !opts.urn) {
|
|
29
|
+
throw new Error("Missing required property 'type'");
|
|
30
|
+
}
|
|
31
|
+
resourceInputs["destinationId"] = args ? args.destinationId : undefined;
|
|
32
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
33
|
+
resourceInputs["product"] = args ? args.product : undefined;
|
|
34
|
+
resourceInputs["properties"] = args ? args.properties : undefined;
|
|
35
|
+
resourceInputs["type"] = args ? args.type : undefined;
|
|
36
|
+
}
|
|
37
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
38
|
+
super(NotificationChannel.__pulumiType, name, resourceInputs, opts);
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Get an existing NotificationChannel resource's state with the given name, ID, and optional extra
|
|
42
|
+
* properties used to qualify the lookup.
|
|
43
|
+
*
|
|
44
|
+
* @param name The _unique_ name of the resulting resource.
|
|
45
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
46
|
+
* @param state Any extra arguments used during the lookup.
|
|
47
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
48
|
+
*/
|
|
49
|
+
static get(name, id, state, opts) {
|
|
50
|
+
return new NotificationChannel(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Returns true if the given object is an instance of NotificationChannel. This is designed to work even
|
|
54
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
55
|
+
*/
|
|
56
|
+
static isInstance(obj) {
|
|
57
|
+
if (obj === undefined || obj === null) {
|
|
58
|
+
return false;
|
|
59
|
+
}
|
|
60
|
+
return obj['__pulumiType'] === NotificationChannel.__pulumiType;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
exports.NotificationChannel = NotificationChannel;
|
|
64
|
+
/** @internal */
|
|
65
|
+
NotificationChannel.__pulumiType = 'newrelic:index/notificationChannel:NotificationChannel';
|
|
66
|
+
//# sourceMappingURL=notificationChannel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notificationChannel.js","sourceRoot":"","sources":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,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;;AA1BL,kDAwFC;AA1EG,gBAAgB;AACO,gCAAY,GAAG,wDAAwD,CAAC"}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "./types";
|
|
3
|
+
export declare class NotificationDestination extends pulumi.CustomResource {
|
|
4
|
+
/**
|
|
5
|
+
* Get an existing NotificationDestination resource's state with the given name, ID, and optional extra
|
|
6
|
+
* properties used to qualify the lookup.
|
|
7
|
+
*
|
|
8
|
+
* @param name The _unique_ name of the resulting resource.
|
|
9
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
10
|
+
* @param state Any extra arguments used during the lookup.
|
|
11
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
12
|
+
*/
|
|
13
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NotificationDestinationState, opts?: pulumi.CustomResourceOptions): NotificationDestination;
|
|
14
|
+
/**
|
|
15
|
+
* Returns true if the given object is an instance of NotificationDestination. This is designed to work even
|
|
16
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
17
|
+
*/
|
|
18
|
+
static isInstance(obj: any): obj is NotificationDestination;
|
|
19
|
+
/**
|
|
20
|
+
* A set of key-value pairs to represent a Notification destination auth.
|
|
21
|
+
*/
|
|
22
|
+
readonly auth: pulumi.Output<{
|
|
23
|
+
[key: string]: string;
|
|
24
|
+
} | undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* (Required) The name of the destination.
|
|
27
|
+
*/
|
|
28
|
+
readonly name: pulumi.Output<string>;
|
|
29
|
+
/**
|
|
30
|
+
* List of notification destination property types.
|
|
31
|
+
*/
|
|
32
|
+
readonly properties: pulumi.Output<outputs.NotificationDestinationProperty[] | undefined>;
|
|
33
|
+
/**
|
|
34
|
+
* (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, PAGERDUTY_ACCOUNT_INTEGRATION,
|
|
35
|
+
* PAGERDUTY_SERVICE_INTEGRATION).
|
|
36
|
+
*/
|
|
37
|
+
readonly type: pulumi.Output<string>;
|
|
38
|
+
/**
|
|
39
|
+
* Create a NotificationDestination resource with the given unique name, arguments, and options.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resource.
|
|
42
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
43
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
44
|
+
*/
|
|
45
|
+
constructor(name: string, args: NotificationDestinationArgs, opts?: pulumi.CustomResourceOptions);
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Input properties used for looking up and filtering NotificationDestination resources.
|
|
49
|
+
*/
|
|
50
|
+
export interface NotificationDestinationState {
|
|
51
|
+
/**
|
|
52
|
+
* A set of key-value pairs to represent a Notification destination auth.
|
|
53
|
+
*/
|
|
54
|
+
auth?: pulumi.Input<{
|
|
55
|
+
[key: string]: pulumi.Input<string>;
|
|
56
|
+
}>;
|
|
57
|
+
/**
|
|
58
|
+
* (Required) The name of the destination.
|
|
59
|
+
*/
|
|
60
|
+
name?: pulumi.Input<string>;
|
|
61
|
+
/**
|
|
62
|
+
* List of notification destination property types.
|
|
63
|
+
*/
|
|
64
|
+
properties?: pulumi.Input<pulumi.Input<inputs.NotificationDestinationProperty>[]>;
|
|
65
|
+
/**
|
|
66
|
+
* (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, PAGERDUTY_ACCOUNT_INTEGRATION,
|
|
67
|
+
* PAGERDUTY_SERVICE_INTEGRATION).
|
|
68
|
+
*/
|
|
69
|
+
type?: pulumi.Input<string>;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* The set of arguments for constructing a NotificationDestination resource.
|
|
73
|
+
*/
|
|
74
|
+
export interface NotificationDestinationArgs {
|
|
75
|
+
/**
|
|
76
|
+
* A set of key-value pairs to represent a Notification destination auth.
|
|
77
|
+
*/
|
|
78
|
+
auth?: pulumi.Input<{
|
|
79
|
+
[key: string]: pulumi.Input<string>;
|
|
80
|
+
}>;
|
|
81
|
+
/**
|
|
82
|
+
* (Required) The name of the destination.
|
|
83
|
+
*/
|
|
84
|
+
name?: pulumi.Input<string>;
|
|
85
|
+
/**
|
|
86
|
+
* List of notification destination property types.
|
|
87
|
+
*/
|
|
88
|
+
properties?: pulumi.Input<pulumi.Input<inputs.NotificationDestinationProperty>[]>;
|
|
89
|
+
/**
|
|
90
|
+
* (Required) The type of the destination. One of: (WEBHOOK, EMAIL, SERVICE_NOW, PAGERDUTY_ACCOUNT_INTEGRATION,
|
|
91
|
+
* PAGERDUTY_SERVICE_INTEGRATION).
|
|
92
|
+
*/
|
|
93
|
+
type: pulumi.Input<string>;
|
|
94
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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.NotificationDestination = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class NotificationDestination extends pulumi.CustomResource {
|
|
9
|
+
constructor(name, argsOrState, opts) {
|
|
10
|
+
let resourceInputs = {};
|
|
11
|
+
opts = opts || {};
|
|
12
|
+
if (opts.id) {
|
|
13
|
+
const state = argsOrState;
|
|
14
|
+
resourceInputs["auth"] = state ? state.auth : undefined;
|
|
15
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
16
|
+
resourceInputs["properties"] = state ? state.properties : undefined;
|
|
17
|
+
resourceInputs["type"] = state ? state.type : undefined;
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
const args = argsOrState;
|
|
21
|
+
if ((!args || args.type === undefined) && !opts.urn) {
|
|
22
|
+
throw new Error("Missing required property 'type'");
|
|
23
|
+
}
|
|
24
|
+
resourceInputs["auth"] = args ? args.auth : undefined;
|
|
25
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
26
|
+
resourceInputs["properties"] = args ? args.properties : undefined;
|
|
27
|
+
resourceInputs["type"] = args ? args.type : undefined;
|
|
28
|
+
}
|
|
29
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
30
|
+
super(NotificationDestination.__pulumiType, name, resourceInputs, opts);
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing NotificationDestination resource's state with the given name, ID, and optional extra
|
|
34
|
+
* properties used to qualify the lookup.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resulting resource.
|
|
37
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
38
|
+
* @param state Any extra arguments used during the lookup.
|
|
39
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
40
|
+
*/
|
|
41
|
+
static get(name, id, state, opts) {
|
|
42
|
+
return new NotificationDestination(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Returns true if the given object is an instance of NotificationDestination. This is designed to work even
|
|
46
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
47
|
+
*/
|
|
48
|
+
static isInstance(obj) {
|
|
49
|
+
if (obj === undefined || obj === null) {
|
|
50
|
+
return false;
|
|
51
|
+
}
|
|
52
|
+
return obj['__pulumiType'] === NotificationDestination.__pulumiType;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
exports.NotificationDestination = NotificationDestination;
|
|
56
|
+
/** @internal */
|
|
57
|
+
NotificationDestination.__pulumiType = 'newrelic:index/notificationDestination:NotificationDestination';
|
|
58
|
+
//# sourceMappingURL=notificationDestination.js.map
|
|
@@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AI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;IA1ED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9E,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,uBAAuB,CAAC,YAAY,CAAC;IACxE,CAAC;;AA1BL,0DA4EC;AA9DG,gBAAgB;AACO,oCAAY,GAAG,gEAAgE,CAAC"}
|
package/oneDashboard.d.ts
CHANGED
|
@@ -11,6 +11,8 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
11
11
|
* ```sh
|
|
12
12
|
* $ pulumi import newrelic:index/oneDashboard:OneDashboard my_dashboard <Dashboard GUID>
|
|
13
13
|
* ```
|
|
14
|
+
*
|
|
15
|
+
* In addition you can use the [New Relic CLI](https://github.com/newrelic/newrelic-cli#readme) to convert existing dashboards to HCL. [Copy your dashboards as JSON using the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/), save it as a file (for example `terraform.json`), and use the following command to convert it to HCL`cat terraform.json | newrelic utils terraform dashboard --label my_dashboard_resource`.
|
|
14
16
|
*/
|
|
15
17
|
export declare class OneDashboard extends pulumi.CustomResource {
|
|
16
18
|
/**
|
package/oneDashboard.js
CHANGED
|
@@ -16,6 +16,8 @@ const utilities = require("./utilities");
|
|
|
16
16
|
* ```sh
|
|
17
17
|
* $ pulumi import newrelic:index/oneDashboard:OneDashboard my_dashboard <Dashboard GUID>
|
|
18
18
|
* ```
|
|
19
|
+
*
|
|
20
|
+
* In addition you can use the [New Relic CLI](https://github.com/newrelic/newrelic-cli#readme) to convert existing dashboards to HCL. [Copy your dashboards as JSON using the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/), save it as a file (for example `terraform.json`), and use the following command to convert it to HCL`cat terraform.json | newrelic utils terraform dashboard --label my_dashboard_resource`.
|
|
19
21
|
*/
|
|
20
22
|
class OneDashboard extends pulumi.CustomResource {
|
|
21
23
|
constructor(name, argsOrState, opts) {
|
package/oneDashboard.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oneDashboard.js","sourceRoot":"","sources":["../oneDashboard.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"oneDashboard.js","sourceRoot":"","sources":["../oneDashboard.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IAiEnD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE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
2
|
"name": "@pulumi/newrelic",
|
|
3
|
-
"version": "v4.
|
|
3
|
+
"version": "v4.19.0-alpha.1658324985+8e33258b",
|
|
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 v4.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource newrelic v4.19.0-alpha.1658324985+8e33258b"
|
|
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": "v4.
|
|
3
|
+
"version": "v4.19.0-alpha.1658324985+8e33258b",
|
|
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 v4.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource newrelic v4.19.0-alpha.1658324985+8e33258b"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/types/input.d.ts
CHANGED
|
@@ -203,14 +203,14 @@ export interface EntityTagsTag {
|
|
|
203
203
|
*/
|
|
204
204
|
values: pulumi.Input<pulumi.Input<string>[]>;
|
|
205
205
|
}
|
|
206
|
-
export interface GetEntityTag {
|
|
207
|
-
key: string;
|
|
208
|
-
value: string;
|
|
209
|
-
}
|
|
210
206
|
export interface GetEntityTagArgs {
|
|
211
207
|
key: pulumi.Input<string>;
|
|
212
208
|
value: pulumi.Input<string>;
|
|
213
209
|
}
|
|
210
|
+
export interface GetEntityTag {
|
|
211
|
+
key: string;
|
|
212
|
+
value: string;
|
|
213
|
+
}
|
|
214
214
|
export interface InfraAlertConditionCritical {
|
|
215
215
|
duration: pulumi.Input<number>;
|
|
216
216
|
timeFunction?: pulumi.Input<string>;
|
|
@@ -221,6 +221,18 @@ export interface InfraAlertConditionWarning {
|
|
|
221
221
|
timeFunction?: pulumi.Input<string>;
|
|
222
222
|
value?: pulumi.Input<number>;
|
|
223
223
|
}
|
|
224
|
+
export interface NotificationChannelProperty {
|
|
225
|
+
displayValue?: pulumi.Input<string>;
|
|
226
|
+
key: pulumi.Input<string>;
|
|
227
|
+
label?: pulumi.Input<string>;
|
|
228
|
+
value: pulumi.Input<string>;
|
|
229
|
+
}
|
|
230
|
+
export interface NotificationDestinationProperty {
|
|
231
|
+
displayValue?: pulumi.Input<string>;
|
|
232
|
+
key: pulumi.Input<string>;
|
|
233
|
+
label?: pulumi.Input<string>;
|
|
234
|
+
value: pulumi.Input<string>;
|
|
235
|
+
}
|
|
224
236
|
export interface NrqlAlertConditionCritical {
|
|
225
237
|
/**
|
|
226
238
|
* **DEPRECATED:** Use `thresholdDuration` instead. The duration of time, in _minutes_, that the threshold must violate for in order to create a violation. Must be within 1-120 (inclusive).
|
|
@@ -393,6 +405,10 @@ export interface OneDashboardPage {
|
|
|
393
405
|
* (Optional) A nested block that describes a Line widget. See Nested widget blocks below for details.
|
|
394
406
|
*/
|
|
395
407
|
widgetLines?: pulumi.Input<pulumi.Input<inputs.OneDashboardPageWidgetLine>[]>;
|
|
408
|
+
/**
|
|
409
|
+
* (Optional) A nested block that describes a Log Table widget. See Nested widget blocks below for details.
|
|
410
|
+
*/
|
|
411
|
+
widgetLogTables?: pulumi.Input<pulumi.Input<inputs.OneDashboardPageWidgetLogTable>[]>;
|
|
396
412
|
/**
|
|
397
413
|
* (Optional) A nested block that describes a Markdown widget. See Nested widget blocks below for details.
|
|
398
414
|
*/
|
|
@@ -421,7 +437,7 @@ export interface OneDashboardPageWidgetArea {
|
|
|
421
437
|
height?: pulumi.Input<number>;
|
|
422
438
|
id?: pulumi.Input<string>;
|
|
423
439
|
/**
|
|
424
|
-
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages.
|
|
440
|
+
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
|
|
425
441
|
*/
|
|
426
442
|
ignoreTimeRange?: pulumi.Input<boolean>;
|
|
427
443
|
/**
|
|
@@ -465,7 +481,7 @@ export interface OneDashboardPageWidgetBar {
|
|
|
465
481
|
height?: pulumi.Input<number>;
|
|
466
482
|
id?: pulumi.Input<string>;
|
|
467
483
|
/**
|
|
468
|
-
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages.
|
|
484
|
+
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
|
|
469
485
|
*/
|
|
470
486
|
ignoreTimeRange?: pulumi.Input<boolean>;
|
|
471
487
|
linkedEntityGuids?: pulumi.Input<pulumi.Input<string>[]>;
|
|
@@ -513,7 +529,7 @@ export interface OneDashboardPageWidgetBillboard {
|
|
|
513
529
|
height?: pulumi.Input<number>;
|
|
514
530
|
id?: pulumi.Input<string>;
|
|
515
531
|
/**
|
|
516
|
-
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages.
|
|
532
|
+
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
|
|
517
533
|
*/
|
|
518
534
|
ignoreTimeRange?: pulumi.Input<boolean>;
|
|
519
535
|
/**
|
|
@@ -561,7 +577,7 @@ export interface OneDashboardPageWidgetBullet {
|
|
|
561
577
|
height?: pulumi.Input<number>;
|
|
562
578
|
id?: pulumi.Input<string>;
|
|
563
579
|
/**
|
|
564
|
-
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages.
|
|
580
|
+
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
|
|
565
581
|
*/
|
|
566
582
|
ignoreTimeRange?: pulumi.Input<boolean>;
|
|
567
583
|
/**
|
|
@@ -609,7 +625,7 @@ export interface OneDashboardPageWidgetFunnel {
|
|
|
609
625
|
height?: pulumi.Input<number>;
|
|
610
626
|
id?: pulumi.Input<string>;
|
|
611
627
|
/**
|
|
612
|
-
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages.
|
|
628
|
+
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
|
|
613
629
|
*/
|
|
614
630
|
ignoreTimeRange?: pulumi.Input<boolean>;
|
|
615
631
|
/**
|
|
@@ -652,7 +668,7 @@ export interface OneDashboardPageWidgetHeatmap {
|
|
|
652
668
|
height?: pulumi.Input<number>;
|
|
653
669
|
id?: pulumi.Input<string>;
|
|
654
670
|
/**
|
|
655
|
-
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages.
|
|
671
|
+
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
|
|
656
672
|
*/
|
|
657
673
|
ignoreTimeRange?: pulumi.Input<boolean>;
|
|
658
674
|
/**
|
|
@@ -695,7 +711,7 @@ export interface OneDashboardPageWidgetHistogram {
|
|
|
695
711
|
height?: pulumi.Input<number>;
|
|
696
712
|
id?: pulumi.Input<string>;
|
|
697
713
|
/**
|
|
698
|
-
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages.
|
|
714
|
+
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
|
|
699
715
|
*/
|
|
700
716
|
ignoreTimeRange?: pulumi.Input<boolean>;
|
|
701
717
|
/**
|
|
@@ -738,7 +754,7 @@ export interface OneDashboardPageWidgetJson {
|
|
|
738
754
|
height?: pulumi.Input<number>;
|
|
739
755
|
id?: pulumi.Input<string>;
|
|
740
756
|
/**
|
|
741
|
-
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages.
|
|
757
|
+
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
|
|
742
758
|
*/
|
|
743
759
|
ignoreTimeRange?: pulumi.Input<boolean>;
|
|
744
760
|
/**
|
|
@@ -781,7 +797,7 @@ export interface OneDashboardPageWidgetLine {
|
|
|
781
797
|
height?: pulumi.Input<number>;
|
|
782
798
|
id?: pulumi.Input<string>;
|
|
783
799
|
/**
|
|
784
|
-
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages.
|
|
800
|
+
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
|
|
785
801
|
*/
|
|
786
802
|
ignoreTimeRange?: pulumi.Input<boolean>;
|
|
787
803
|
/**
|
|
@@ -813,6 +829,49 @@ export interface OneDashboardPageWidgetLineNrqlQuery {
|
|
|
813
829
|
*/
|
|
814
830
|
query: pulumi.Input<string>;
|
|
815
831
|
}
|
|
832
|
+
export interface OneDashboardPageWidgetLogTable {
|
|
833
|
+
/**
|
|
834
|
+
* (Required) Column position of widget from top left, starting at `1`.
|
|
835
|
+
*/
|
|
836
|
+
column: pulumi.Input<number>;
|
|
837
|
+
/**
|
|
838
|
+
* (Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`.
|
|
839
|
+
*/
|
|
840
|
+
height?: pulumi.Input<number>;
|
|
841
|
+
id?: pulumi.Input<string>;
|
|
842
|
+
/**
|
|
843
|
+
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
|
|
844
|
+
*/
|
|
845
|
+
ignoreTimeRange?: pulumi.Input<boolean>;
|
|
846
|
+
/**
|
|
847
|
+
* (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details.
|
|
848
|
+
* * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
|
|
849
|
+
* * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
|
|
850
|
+
*/
|
|
851
|
+
nrqlQueries: pulumi.Input<pulumi.Input<inputs.OneDashboardPageWidgetLogTableNrqlQuery>[]>;
|
|
852
|
+
/**
|
|
853
|
+
* (Required) Row position of widget from top left, starting at `1`.
|
|
854
|
+
*/
|
|
855
|
+
row: pulumi.Input<number>;
|
|
856
|
+
/**
|
|
857
|
+
* (Required) A title for the widget.
|
|
858
|
+
*/
|
|
859
|
+
title: pulumi.Input<string>;
|
|
860
|
+
/**
|
|
861
|
+
* (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`.
|
|
862
|
+
*/
|
|
863
|
+
width?: pulumi.Input<number>;
|
|
864
|
+
}
|
|
865
|
+
export interface OneDashboardPageWidgetLogTableNrqlQuery {
|
|
866
|
+
/**
|
|
867
|
+
* Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
|
868
|
+
*/
|
|
869
|
+
accountId?: pulumi.Input<number>;
|
|
870
|
+
/**
|
|
871
|
+
* (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
|
|
872
|
+
*/
|
|
873
|
+
query: pulumi.Input<string>;
|
|
874
|
+
}
|
|
816
875
|
export interface OneDashboardPageWidgetMarkdown {
|
|
817
876
|
/**
|
|
818
877
|
* (Required) Column position of widget from top left, starting at `1`.
|
|
@@ -824,7 +883,7 @@ export interface OneDashboardPageWidgetMarkdown {
|
|
|
824
883
|
height?: pulumi.Input<number>;
|
|
825
884
|
id?: pulumi.Input<string>;
|
|
826
885
|
/**
|
|
827
|
-
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages.
|
|
886
|
+
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
|
|
828
887
|
*/
|
|
829
888
|
ignoreTimeRange?: pulumi.Input<boolean>;
|
|
830
889
|
/**
|
|
@@ -857,7 +916,7 @@ export interface OneDashboardPageWidgetPy {
|
|
|
857
916
|
height?: pulumi.Input<number>;
|
|
858
917
|
id?: pulumi.Input<string>;
|
|
859
918
|
/**
|
|
860
|
-
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages.
|
|
919
|
+
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
|
|
861
920
|
*/
|
|
862
921
|
ignoreTimeRange?: pulumi.Input<boolean>;
|
|
863
922
|
linkedEntityGuids?: pulumi.Input<pulumi.Input<string>[]>;
|
|
@@ -901,7 +960,7 @@ export interface OneDashboardPageWidgetStackedBar {
|
|
|
901
960
|
height?: pulumi.Input<number>;
|
|
902
961
|
id?: pulumi.Input<string>;
|
|
903
962
|
/**
|
|
904
|
-
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages.
|
|
963
|
+
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
|
|
905
964
|
*/
|
|
906
965
|
ignoreTimeRange?: pulumi.Input<boolean>;
|
|
907
966
|
/**
|
|
@@ -945,7 +1004,7 @@ export interface OneDashboardPageWidgetTable {
|
|
|
945
1004
|
height?: pulumi.Input<number>;
|
|
946
1005
|
id?: pulumi.Input<string>;
|
|
947
1006
|
/**
|
|
948
|
-
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages.
|
|
1007
|
+
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
|
|
949
1008
|
*/
|
|
950
1009
|
ignoreTimeRange?: pulumi.Input<boolean>;
|
|
951
1010
|
linkedEntityGuids?: pulumi.Input<pulumi.Input<string>[]>;
|
|
@@ -1034,7 +1093,7 @@ export interface OneDashboardRawPageWidget {
|
|
|
1034
1093
|
export interface ServiceLevelEvents {
|
|
1035
1094
|
/**
|
|
1036
1095
|
* The ID of the account where the entity (e.g, APM Service, Browser application, Workload, etc.) belongs to,
|
|
1037
|
-
* and that contains the NRDB data for the SLI/SLO calculations.
|
|
1096
|
+
* and that contains the NRDB data for the SLI/SLO calculations. Note that changing the account ID will force a new resource.
|
|
1038
1097
|
*/
|
|
1039
1098
|
accountId: pulumi.Input<number>;
|
|
1040
1099
|
/**
|
package/types/output.d.ts
CHANGED
|
@@ -242,6 +242,18 @@ export interface InfraAlertConditionWarning {
|
|
|
242
242
|
timeFunction?: string;
|
|
243
243
|
value?: number;
|
|
244
244
|
}
|
|
245
|
+
export interface NotificationChannelProperty {
|
|
246
|
+
displayValue?: string;
|
|
247
|
+
key: string;
|
|
248
|
+
label?: string;
|
|
249
|
+
value: string;
|
|
250
|
+
}
|
|
251
|
+
export interface NotificationDestinationProperty {
|
|
252
|
+
displayValue?: string;
|
|
253
|
+
key: string;
|
|
254
|
+
label?: string;
|
|
255
|
+
value: string;
|
|
256
|
+
}
|
|
245
257
|
export interface NrqlAlertConditionCritical {
|
|
246
258
|
/**
|
|
247
259
|
* **DEPRECATED:** Use `thresholdDuration` instead. The duration of time, in _minutes_, that the threshold must violate for in order to create a violation. Must be within 1-120 (inclusive).
|
|
@@ -414,6 +426,10 @@ export interface OneDashboardPage {
|
|
|
414
426
|
* (Optional) A nested block that describes a Line widget. See Nested widget blocks below for details.
|
|
415
427
|
*/
|
|
416
428
|
widgetLines?: outputs.OneDashboardPageWidgetLine[];
|
|
429
|
+
/**
|
|
430
|
+
* (Optional) A nested block that describes a Log Table widget. See Nested widget blocks below for details.
|
|
431
|
+
*/
|
|
432
|
+
widgetLogTables?: outputs.OneDashboardPageWidgetLogTable[];
|
|
417
433
|
/**
|
|
418
434
|
* (Optional) A nested block that describes a Markdown widget. See Nested widget blocks below for details.
|
|
419
435
|
*/
|
|
@@ -442,7 +458,7 @@ export interface OneDashboardPageWidgetArea {
|
|
|
442
458
|
height?: number;
|
|
443
459
|
id: string;
|
|
444
460
|
/**
|
|
445
|
-
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages.
|
|
461
|
+
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
|
|
446
462
|
*/
|
|
447
463
|
ignoreTimeRange?: boolean;
|
|
448
464
|
/**
|
|
@@ -486,7 +502,7 @@ export interface OneDashboardPageWidgetBar {
|
|
|
486
502
|
height?: number;
|
|
487
503
|
id: string;
|
|
488
504
|
/**
|
|
489
|
-
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages.
|
|
505
|
+
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
|
|
490
506
|
*/
|
|
491
507
|
ignoreTimeRange?: boolean;
|
|
492
508
|
linkedEntityGuids: string[];
|
|
@@ -534,7 +550,7 @@ export interface OneDashboardPageWidgetBillboard {
|
|
|
534
550
|
height?: number;
|
|
535
551
|
id: string;
|
|
536
552
|
/**
|
|
537
|
-
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages.
|
|
553
|
+
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
|
|
538
554
|
*/
|
|
539
555
|
ignoreTimeRange?: boolean;
|
|
540
556
|
/**
|
|
@@ -582,7 +598,7 @@ export interface OneDashboardPageWidgetBullet {
|
|
|
582
598
|
height?: number;
|
|
583
599
|
id: string;
|
|
584
600
|
/**
|
|
585
|
-
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages.
|
|
601
|
+
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
|
|
586
602
|
*/
|
|
587
603
|
ignoreTimeRange?: boolean;
|
|
588
604
|
/**
|
|
@@ -630,7 +646,7 @@ export interface OneDashboardPageWidgetFunnel {
|
|
|
630
646
|
height?: number;
|
|
631
647
|
id: string;
|
|
632
648
|
/**
|
|
633
|
-
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages.
|
|
649
|
+
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
|
|
634
650
|
*/
|
|
635
651
|
ignoreTimeRange?: boolean;
|
|
636
652
|
/**
|
|
@@ -673,7 +689,7 @@ export interface OneDashboardPageWidgetHeatmap {
|
|
|
673
689
|
height?: number;
|
|
674
690
|
id: string;
|
|
675
691
|
/**
|
|
676
|
-
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages.
|
|
692
|
+
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
|
|
677
693
|
*/
|
|
678
694
|
ignoreTimeRange?: boolean;
|
|
679
695
|
/**
|
|
@@ -716,7 +732,7 @@ export interface OneDashboardPageWidgetHistogram {
|
|
|
716
732
|
height?: number;
|
|
717
733
|
id: string;
|
|
718
734
|
/**
|
|
719
|
-
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages.
|
|
735
|
+
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
|
|
720
736
|
*/
|
|
721
737
|
ignoreTimeRange?: boolean;
|
|
722
738
|
/**
|
|
@@ -759,7 +775,7 @@ export interface OneDashboardPageWidgetJson {
|
|
|
759
775
|
height?: number;
|
|
760
776
|
id: string;
|
|
761
777
|
/**
|
|
762
|
-
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages.
|
|
778
|
+
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
|
|
763
779
|
*/
|
|
764
780
|
ignoreTimeRange?: boolean;
|
|
765
781
|
/**
|
|
@@ -802,7 +818,7 @@ export interface OneDashboardPageWidgetLine {
|
|
|
802
818
|
height?: number;
|
|
803
819
|
id: string;
|
|
804
820
|
/**
|
|
805
|
-
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages.
|
|
821
|
+
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
|
|
806
822
|
*/
|
|
807
823
|
ignoreTimeRange?: boolean;
|
|
808
824
|
/**
|
|
@@ -834,6 +850,49 @@ export interface OneDashboardPageWidgetLineNrqlQuery {
|
|
|
834
850
|
*/
|
|
835
851
|
query: string;
|
|
836
852
|
}
|
|
853
|
+
export interface OneDashboardPageWidgetLogTable {
|
|
854
|
+
/**
|
|
855
|
+
* (Required) Column position of widget from top left, starting at `1`.
|
|
856
|
+
*/
|
|
857
|
+
column: number;
|
|
858
|
+
/**
|
|
859
|
+
* (Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`.
|
|
860
|
+
*/
|
|
861
|
+
height?: number;
|
|
862
|
+
id: string;
|
|
863
|
+
/**
|
|
864
|
+
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
|
|
865
|
+
*/
|
|
866
|
+
ignoreTimeRange?: boolean;
|
|
867
|
+
/**
|
|
868
|
+
* (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details.
|
|
869
|
+
* * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
|
|
870
|
+
* * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
|
|
871
|
+
*/
|
|
872
|
+
nrqlQueries: outputs.OneDashboardPageWidgetLogTableNrqlQuery[];
|
|
873
|
+
/**
|
|
874
|
+
* (Required) Row position of widget from top left, starting at `1`.
|
|
875
|
+
*/
|
|
876
|
+
row: number;
|
|
877
|
+
/**
|
|
878
|
+
* (Required) A title for the widget.
|
|
879
|
+
*/
|
|
880
|
+
title: string;
|
|
881
|
+
/**
|
|
882
|
+
* (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`.
|
|
883
|
+
*/
|
|
884
|
+
width?: number;
|
|
885
|
+
}
|
|
886
|
+
export interface OneDashboardPageWidgetLogTableNrqlQuery {
|
|
887
|
+
/**
|
|
888
|
+
* Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
|
889
|
+
*/
|
|
890
|
+
accountId: number;
|
|
891
|
+
/**
|
|
892
|
+
* (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
|
|
893
|
+
*/
|
|
894
|
+
query: string;
|
|
895
|
+
}
|
|
837
896
|
export interface OneDashboardPageWidgetMarkdown {
|
|
838
897
|
/**
|
|
839
898
|
* (Required) Column position of widget from top left, starting at `1`.
|
|
@@ -845,7 +904,7 @@ export interface OneDashboardPageWidgetMarkdown {
|
|
|
845
904
|
height?: number;
|
|
846
905
|
id: string;
|
|
847
906
|
/**
|
|
848
|
-
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages.
|
|
907
|
+
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
|
|
849
908
|
*/
|
|
850
909
|
ignoreTimeRange?: boolean;
|
|
851
910
|
/**
|
|
@@ -878,7 +937,7 @@ export interface OneDashboardPageWidgetPy {
|
|
|
878
937
|
height?: number;
|
|
879
938
|
id: string;
|
|
880
939
|
/**
|
|
881
|
-
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages.
|
|
940
|
+
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
|
|
882
941
|
*/
|
|
883
942
|
ignoreTimeRange?: boolean;
|
|
884
943
|
linkedEntityGuids: string[];
|
|
@@ -922,7 +981,7 @@ export interface OneDashboardPageWidgetStackedBar {
|
|
|
922
981
|
height?: number;
|
|
923
982
|
id: string;
|
|
924
983
|
/**
|
|
925
|
-
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages.
|
|
984
|
+
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
|
|
926
985
|
*/
|
|
927
986
|
ignoreTimeRange?: boolean;
|
|
928
987
|
/**
|
|
@@ -966,7 +1025,7 @@ export interface OneDashboardPageWidgetTable {
|
|
|
966
1025
|
height?: number;
|
|
967
1026
|
id: string;
|
|
968
1027
|
/**
|
|
969
|
-
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages.
|
|
1028
|
+
* (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
|
|
970
1029
|
*/
|
|
971
1030
|
ignoreTimeRange?: boolean;
|
|
972
1031
|
linkedEntityGuids: string[];
|
|
@@ -1055,7 +1114,7 @@ export interface OneDashboardRawPageWidget {
|
|
|
1055
1114
|
export interface ServiceLevelEvents {
|
|
1056
1115
|
/**
|
|
1057
1116
|
* The ID of the account where the entity (e.g, APM Service, Browser application, Workload, etc.) belongs to,
|
|
1058
|
-
* and that contains the NRDB data for the SLI/SLO calculations.
|
|
1117
|
+
* and that contains the NRDB data for the SLI/SLO calculations. Note that changing the account ID will force a new resource.
|
|
1059
1118
|
*/
|
|
1060
1119
|
accountId: number;
|
|
1061
1120
|
/**
|