@pulumi/newrelic 4.18.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.
@@ -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
- * The Azure virtual networks
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
- * The Azure virtual networks
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
- * The Azure virtual networks
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,mDAAiC;AACjC,oDAAkC;AAClC,gDAA8B;AAC9B,uDAAqC;AACrC,iDAA+B;AAC/B,8CAA4B;AAC5B,+CAA6B;AAC7B,wDAAsC;AACtC,+CAA6B;AAC7B,oDAAkC;AAClC,mDAAiC;AACjC,mDAAiC;AACjC,oDAAkC;AAClC,8CAA4B;AAC5B,sDAAoC;AACpC,wDAAsC;AACtC,uDAAqC;AACrC,iDAA+B;AAC/B,iDAA+B;AAC/B,oDAAkC;AAClC,6CAA2B;AAC3B,iDAA+B;AAE/B,sBAAsB;AACtB,iCAAiC;AAQ7B,sBAAK;AAPT,mCAAmC;AAQ/B,wBAAM;AAPV,uCAAuC;AAQnC,4BAAQ;AAPZ,qCAAqC;AAQjC,0BAAO;AAPX,2CAA2C;AAQvC,gCAAU;AAPd,iCAAiC;AAQ7B,sBAAK;AAGT,gCAAgC;AAChC,iDAA8C;AAC9C,qDAAkD;AAClD,uDAAoD;AACpD,+CAA4C;AAC5C,6DAA0D;AAC1D,iDAA8C;AAC9C,2CAAwC;AACxC,6CAA0C;AAC1C,+DAA4D;AAC5D,+DAA4D;AAC5D,6DAA0D;AAC1D,iDAA8C;AAC9C,iDAA8C;AAC9C,uDAAoD;AACpD,iDAA8C;AAE9C,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAA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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":["../notificationChannel.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IA0D1D,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmD,CAAC;YAClE,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAA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BAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;IAtFD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,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,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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notificationDestination.js","sourceRoot":"","sources":["../notificationDestination.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAsD9D,YAAY,IAAY,EAAE,WAAwE,EAAE,IAAmC;QACnI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuD,CAAC;YACtE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAA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C,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) {
@@ -1 +1 @@
1
- {"version":3,"file":"oneDashboard.js","sourceRoot":"","sources":["../oneDashboard.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,MAAa,Y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K,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;;AA1BL,oCA6FC;AA/EG,gBAAgB;AACO,yBAAY,GAAG,0CAA0C,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/newrelic",
3
- "version": "v4.18.0",
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.18.0"
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.18.0",
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.18.0"
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
@@ -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).
@@ -1081,7 +1093,7 @@ export interface OneDashboardRawPageWidget {
1081
1093
  export interface ServiceLevelEvents {
1082
1094
  /**
1083
1095
  * The ID of the account where the entity (e.g, APM Service, Browser application, Workload, etc.) belongs to,
1084
- * 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.
1085
1097
  */
1086
1098
  accountId: pulumi.Input<number>;
1087
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).
@@ -1102,7 +1114,7 @@ export interface OneDashboardRawPageWidget {
1102
1114
  export interface ServiceLevelEvents {
1103
1115
  /**
1104
1116
  * The ID of the account where the entity (e.g, APM Service, Browser application, Workload, etc.) belongs to,
1105
- * 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.
1106
1118
  */
1107
1119
  accountId: number;
1108
1120
  /**