@pulumi/newrelic 5.1.0 → 5.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (146) hide show
  1. package/alertChannel.d.ts +2 -1
  2. package/alertChannel.js +22 -22
  3. package/alertChannel.js.map +1 -1
  4. package/alertCondition.d.ts +8 -7
  5. package/alertCondition.js +22 -22
  6. package/alertCondition.js.map +1 -1
  7. package/alertMutingRule.d.ts +5 -4
  8. package/alertMutingRule.js +22 -22
  9. package/alertMutingRule.js.map +1 -1
  10. package/alertPolicy.js +20 -20
  11. package/alertPolicy.js.map +1 -1
  12. package/alertPolicyChannel.js +22 -22
  13. package/alertPolicyChannel.js.map +1 -1
  14. package/apiAccessKey.js +24 -22
  15. package/apiAccessKey.js.map +1 -1
  16. package/cloud/awsGovcloudIntegrations.d.ts +2 -1
  17. package/cloud/awsGovcloudIntegrations.js +22 -22
  18. package/cloud/awsGovcloudIntegrations.js.map +1 -1
  19. package/cloud/awsGovcloudLinkAccount.js +26 -24
  20. package/cloud/awsGovcloudLinkAccount.js.map +1 -1
  21. package/cloud/awsIntegrations.d.ts +2 -1
  22. package/cloud/awsIntegrations.js +22 -22
  23. package/cloud/awsIntegrations.js.map +1 -1
  24. package/cloud/awsLinkAccount.js +22 -22
  25. package/cloud/awsLinkAccount.js.map +1 -1
  26. package/cloud/azureIntegrations.d.ts +89 -64
  27. package/cloud/azureIntegrations.js +26 -22
  28. package/cloud/azureIntegrations.js.map +1 -1
  29. package/cloud/azureLinkAccount.js +25 -23
  30. package/cloud/azureLinkAccount.js.map +1 -1
  31. package/cloud/gcpIntegrations.d.ts +14 -1
  32. package/cloud/gcpIntegrations.js +24 -22
  33. package/cloud/gcpIntegrations.js.map +1 -1
  34. package/cloud/gcpLinkAccount.js +21 -21
  35. package/cloud/gcpLinkAccount.js.map +1 -1
  36. package/cloud/index.d.ts +24 -8
  37. package/cloud/index.js +25 -40
  38. package/cloud/index.js.map +1 -1
  39. package/entityTags.d.ts +2 -32
  40. package/entityTags.js +22 -53
  41. package/entityTags.js.map +1 -1
  42. package/eventsToMetricsRule.js +22 -22
  43. package/eventsToMetricsRule.js.map +1 -1
  44. package/getAlertChannel.d.ts +1 -1
  45. package/getAlertChannel.js.map +1 -1
  46. package/getEntity.d.ts +14 -4
  47. package/getEntity.js +1 -1
  48. package/getEntity.js.map +1 -1
  49. package/getObfuscationExpression.d.ts +65 -0
  50. package/getObfuscationExpression.js +48 -0
  51. package/getObfuscationExpression.js.map +1 -0
  52. package/index.d.ts +87 -26
  53. package/index.js +92 -81
  54. package/index.js.map +1 -1
  55. package/infraAlertCondition.d.ts +11 -10
  56. package/infraAlertCondition.js +22 -22
  57. package/infraAlertCondition.js.map +1 -1
  58. package/insights/event.d.ts +2 -1
  59. package/insights/event.js +17 -17
  60. package/insights/event.js.map +1 -1
  61. package/insights/index.d.ts +3 -1
  62. package/insights/index.js +4 -19
  63. package/insights/index.js.map +1 -1
  64. package/notificationChannel.d.ts +68 -13
  65. package/notificationChannel.js +88 -34
  66. package/notificationChannel.js.map +1 -1
  67. package/notificationDestination.d.ts +2 -1
  68. package/notificationDestination.js +22 -22
  69. package/notificationDestination.js.map +1 -1
  70. package/nrqlAlertCondition.d.ts +22 -21
  71. package/nrqlAlertCondition.js +27 -27
  72. package/nrqlAlertCondition.js.map +1 -1
  73. package/nrqlDropRule.js +22 -22
  74. package/nrqlDropRule.js.map +1 -1
  75. package/obfuscationExpression.d.ts +108 -0
  76. package/obfuscationExpression.js +82 -0
  77. package/obfuscationExpression.js.map +1 -0
  78. package/obfuscationRule.d.ts +143 -0
  79. package/obfuscationRule.js +101 -0
  80. package/obfuscationRule.js.map +1 -0
  81. package/oneDashboard.d.ts +113 -3
  82. package/oneDashboard.js +123 -24
  83. package/oneDashboard.js.map +1 -1
  84. package/oneDashboardJson.d.ts +3 -15
  85. package/oneDashboardJson.js +22 -34
  86. package/oneDashboardJson.js.map +1 -1
  87. package/oneDashboardRaw.d.ts +4 -1
  88. package/oneDashboardRaw.js +24 -22
  89. package/oneDashboardRaw.js.map +1 -1
  90. package/package.json +2 -2
  91. package/package.json.dev +2 -2
  92. package/plugins/applicationSettings.js +22 -22
  93. package/plugins/applicationSettings.js.map +1 -1
  94. package/plugins/index.d.ts +6 -2
  95. package/plugins/index.js +7 -22
  96. package/plugins/index.js.map +1 -1
  97. package/plugins/workload.d.ts +120 -2
  98. package/plugins/workload.js +110 -23
  99. package/plugins/workload.js.map +1 -1
  100. package/provider.d.ts +3 -3
  101. package/provider.js +19 -14
  102. package/provider.js.map +1 -1
  103. package/serviceLevel.d.ts +2 -1
  104. package/serviceLevel.js +22 -22
  105. package/serviceLevel.js.map +1 -1
  106. package/synthetics/alertCondition.js +22 -22
  107. package/synthetics/alertCondition.js.map +1 -1
  108. package/synthetics/brokenLinksMonitor.d.ts +9 -8
  109. package/synthetics/brokenLinksMonitor.js +26 -26
  110. package/synthetics/brokenLinksMonitor.js.map +1 -1
  111. package/synthetics/certCheckMonitor.d.ts +6 -5
  112. package/synthetics/certCheckMonitor.js +26 -26
  113. package/synthetics/certCheckMonitor.js.map +1 -1
  114. package/synthetics/getPrivateLocation.d.ts +35 -0
  115. package/synthetics/getPrivateLocation.js +27 -0
  116. package/synthetics/getPrivateLocation.js.map +1 -1
  117. package/synthetics/getSecureCredential.d.ts +1 -0
  118. package/synthetics/getSecureCredential.js.map +1 -1
  119. package/synthetics/index.d.ts +33 -11
  120. package/synthetics/index.js +34 -45
  121. package/synthetics/index.js.map +1 -1
  122. package/synthetics/monitor.d.ts +29 -33
  123. package/synthetics/monitor.js +40 -45
  124. package/synthetics/monitor.js.map +1 -1
  125. package/synthetics/multiLocationAlertCondition.d.ts +2 -1
  126. package/synthetics/multiLocationAlertCondition.js +22 -22
  127. package/synthetics/multiLocationAlertCondition.js.map +1 -1
  128. package/synthetics/privateLocation.d.ts +7 -8
  129. package/synthetics/privateLocation.js +24 -25
  130. package/synthetics/privateLocation.js.map +1 -1
  131. package/synthetics/scriptMonitor.d.ts +15 -21
  132. package/synthetics/scriptMonitor.js +32 -39
  133. package/synthetics/scriptMonitor.js.map +1 -1
  134. package/synthetics/secureCredential.js +25 -23
  135. package/synthetics/secureCredential.js.map +1 -1
  136. package/synthetics/stepMonitor.d.ts +6 -5
  137. package/synthetics/stepMonitor.js +26 -26
  138. package/synthetics/stepMonitor.js.map +1 -1
  139. package/types/index.js.map +1 -1
  140. package/types/input.d.ts +288 -72
  141. package/types/output.d.ts +282 -72
  142. package/utilities.js +13 -1
  143. package/utilities.js.map +1 -1
  144. package/workflow.d.ts +99 -112
  145. package/workflow.js +82 -105
  146. package/workflow.js.map +1 -1
package/types/input.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
- import { input as inputs } from "../types";
2
+ import * as inputs from "../types/input";
3
3
  export interface AlertChannelConfig {
4
4
  /**
5
5
  * The API key for integrating with OpsGenie.
@@ -111,7 +111,7 @@ export interface AlertMutingRuleCondition {
111
111
  }
112
112
  export interface AlertMutingRuleConditionCondition {
113
113
  /**
114
- * The attribute on a violation. Valid values are `accountId`, `conditionId`, `conditionName`, `conditionRunbookUrl`, `conditionType`, `entity.guid`, `nrqlEventType`, `nrqlQuery`, `policyId`, `policyName`, `product`, `tags.<NAME>`, `targetId`, `targetName`
114
+ * The attribute on an incident. Valid values are `accountId`, `conditionId`, `conditionName`, `conditionRunbookUrl`, `conditionType`, `entity.guid`, `nrqlEventType`, `nrqlQuery`, `policyId`, `policyName`, `product`, `tags.<NAME>`, `targetId`, `targetName`
115
115
  */
116
116
  attribute: pulumi.Input<string>;
117
117
  /**
@@ -161,11 +161,23 @@ export interface EntityTagsTag {
161
161
  values: pulumi.Input<pulumi.Input<string>[]>;
162
162
  }
163
163
  export interface GetEntityTag {
164
+ /**
165
+ * The tag key.
166
+ */
164
167
  key: string;
168
+ /**
169
+ * The tag value.
170
+ */
165
171
  value: string;
166
172
  }
167
173
  export interface GetEntityTagArgs {
174
+ /**
175
+ * The tag key.
176
+ */
168
177
  key: pulumi.Input<string>;
178
+ /**
179
+ * The tag value.
180
+ */
169
181
  value: pulumi.Input<string>;
170
182
  }
171
183
  export interface InfraAlertConditionCritical {
@@ -181,8 +193,6 @@ export interface InfraAlertConditionWarning {
181
193
  export interface NotificationChannelProperty {
182
194
  /**
183
195
  * The notification property display value.
184
- * *
185
- * Each notification channel type supports a specific set of arguments for the `property` block:
186
196
  */
187
197
  displayValue?: pulumi.Input<string>;
188
198
  /**
@@ -290,6 +300,20 @@ export interface NrqlAlertConditionWarning {
290
300
  */
291
301
  timeFunction?: pulumi.Input<string>;
292
302
  }
303
+ export interface ObfuscationRuleAction {
304
+ /**
305
+ * Attribute names for action. An empty list applies the action to all the attributes.
306
+ */
307
+ attributes: pulumi.Input<pulumi.Input<string>[]>;
308
+ /**
309
+ * Expression Id for action.
310
+ */
311
+ expressionId: pulumi.Input<string>;
312
+ /**
313
+ * Obfuscation method to use. Methods for replacing obfuscated values are `HASH_SHA256` and `MASK`.
314
+ */
315
+ method: pulumi.Input<string>;
316
+ }
293
317
  export interface OneDashboardPage {
294
318
  /**
295
319
  * Brief text describing the dashboard.
@@ -375,9 +399,7 @@ export interface OneDashboardPageWidgetArea {
375
399
  */
376
400
  ignoreTimeRange?: pulumi.Input<boolean>;
377
401
  /**
378
- * (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details.
379
- * * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
380
- * * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
402
+ * (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
381
403
  */
382
404
  nrqlQueries: pulumi.Input<pulumi.Input<inputs.OneDashboardPageWidgetAreaNrqlQuery>[]>;
383
405
  /**
@@ -385,7 +407,7 @@ export interface OneDashboardPageWidgetArea {
385
407
  */
386
408
  row: pulumi.Input<number>;
387
409
  /**
388
- * (Required) A title for the widget.
410
+ * (Optional) A human-friendly display string for this value.
389
411
  */
390
412
  title: pulumi.Input<string>;
391
413
  /**
@@ -420,9 +442,7 @@ export interface OneDashboardPageWidgetBar {
420
442
  ignoreTimeRange?: pulumi.Input<boolean>;
421
443
  linkedEntityGuids?: pulumi.Input<pulumi.Input<string>[]>;
422
444
  /**
423
- * (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details.
424
- * * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
425
- * * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
445
+ * (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
426
446
  */
427
447
  nrqlQueries: pulumi.Input<pulumi.Input<inputs.OneDashboardPageWidgetBarNrqlQuery>[]>;
428
448
  /**
@@ -430,7 +450,7 @@ export interface OneDashboardPageWidgetBar {
430
450
  */
431
451
  row: pulumi.Input<number>;
432
452
  /**
433
- * (Required) A title for the widget.
453
+ * (Optional) A human-friendly display string for this value.
434
454
  */
435
455
  title: pulumi.Input<string>;
436
456
  /**
@@ -467,9 +487,7 @@ export interface OneDashboardPageWidgetBillboard {
467
487
  */
468
488
  ignoreTimeRange?: pulumi.Input<boolean>;
469
489
  /**
470
- * (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details.
471
- * * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
472
- * * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
490
+ * (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
473
491
  */
474
492
  nrqlQueries: pulumi.Input<pulumi.Input<inputs.OneDashboardPageWidgetBillboardNrqlQuery>[]>;
475
493
  /**
@@ -477,7 +495,7 @@ export interface OneDashboardPageWidgetBillboard {
477
495
  */
478
496
  row: pulumi.Input<number>;
479
497
  /**
480
- * (Required) A title for the widget.
498
+ * (Optional) A human-friendly display string for this value.
481
499
  */
482
500
  title: pulumi.Input<string>;
483
501
  /**
@@ -520,9 +538,7 @@ export interface OneDashboardPageWidgetBullet {
520
538
  */
521
539
  limit: pulumi.Input<number>;
522
540
  /**
523
- * (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details.
524
- * * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
525
- * * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
541
+ * (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
526
542
  */
527
543
  nrqlQueries: pulumi.Input<pulumi.Input<inputs.OneDashboardPageWidgetBulletNrqlQuery>[]>;
528
544
  /**
@@ -530,7 +546,7 @@ export interface OneDashboardPageWidgetBullet {
530
546
  */
531
547
  row: pulumi.Input<number>;
532
548
  /**
533
- * (Required) A title for the widget.
549
+ * (Optional) A human-friendly display string for this value.
534
550
  */
535
551
  title: pulumi.Input<string>;
536
552
  /**
@@ -563,9 +579,7 @@ export interface OneDashboardPageWidgetFunnel {
563
579
  */
564
580
  ignoreTimeRange?: pulumi.Input<boolean>;
565
581
  /**
566
- * (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details.
567
- * * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
568
- * * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
582
+ * (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
569
583
  */
570
584
  nrqlQueries: pulumi.Input<pulumi.Input<inputs.OneDashboardPageWidgetFunnelNrqlQuery>[]>;
571
585
  /**
@@ -573,7 +587,7 @@ export interface OneDashboardPageWidgetFunnel {
573
587
  */
574
588
  row: pulumi.Input<number>;
575
589
  /**
576
- * (Required) A title for the widget.
590
+ * (Optional) A human-friendly display string for this value.
577
591
  */
578
592
  title: pulumi.Input<string>;
579
593
  /**
@@ -608,9 +622,7 @@ export interface OneDashboardPageWidgetHeatmap {
608
622
  ignoreTimeRange?: pulumi.Input<boolean>;
609
623
  linkedEntityGuids?: pulumi.Input<pulumi.Input<string>[]>;
610
624
  /**
611
- * (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details.
612
- * * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
613
- * * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
625
+ * (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
614
626
  */
615
627
  nrqlQueries: pulumi.Input<pulumi.Input<inputs.OneDashboardPageWidgetHeatmapNrqlQuery>[]>;
616
628
  /**
@@ -618,7 +630,7 @@ export interface OneDashboardPageWidgetHeatmap {
618
630
  */
619
631
  row: pulumi.Input<number>;
620
632
  /**
621
- * (Required) A title for the widget.
633
+ * (Optional) A human-friendly display string for this value.
622
634
  */
623
635
  title: pulumi.Input<string>;
624
636
  /**
@@ -651,9 +663,7 @@ export interface OneDashboardPageWidgetHistogram {
651
663
  */
652
664
  ignoreTimeRange?: pulumi.Input<boolean>;
653
665
  /**
654
- * (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details.
655
- * * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
656
- * * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
666
+ * (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
657
667
  */
658
668
  nrqlQueries: pulumi.Input<pulumi.Input<inputs.OneDashboardPageWidgetHistogramNrqlQuery>[]>;
659
669
  /**
@@ -661,7 +671,7 @@ export interface OneDashboardPageWidgetHistogram {
661
671
  */
662
672
  row: pulumi.Input<number>;
663
673
  /**
664
- * (Required) A title for the widget.
674
+ * (Optional) A human-friendly display string for this value.
665
675
  */
666
676
  title: pulumi.Input<string>;
667
677
  /**
@@ -694,9 +704,7 @@ export interface OneDashboardPageWidgetJson {
694
704
  */
695
705
  ignoreTimeRange?: pulumi.Input<boolean>;
696
706
  /**
697
- * (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details.
698
- * * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
699
- * * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
707
+ * (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
700
708
  */
701
709
  nrqlQueries: pulumi.Input<pulumi.Input<inputs.OneDashboardPageWidgetJsonNrqlQuery>[]>;
702
710
  /**
@@ -704,7 +712,7 @@ export interface OneDashboardPageWidgetJson {
704
712
  */
705
713
  row: pulumi.Input<number>;
706
714
  /**
707
- * (Required) A title for the widget.
715
+ * (Optional) A human-friendly display string for this value.
708
716
  */
709
717
  title: pulumi.Input<string>;
710
718
  /**
@@ -737,9 +745,7 @@ export interface OneDashboardPageWidgetLine {
737
745
  */
738
746
  ignoreTimeRange?: pulumi.Input<boolean>;
739
747
  /**
740
- * (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details.
741
- * * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
742
- * * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
748
+ * (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
743
749
  */
744
750
  nrqlQueries: pulumi.Input<pulumi.Input<inputs.OneDashboardPageWidgetLineNrqlQuery>[]>;
745
751
  /**
@@ -747,7 +753,7 @@ export interface OneDashboardPageWidgetLine {
747
753
  */
748
754
  row: pulumi.Input<number>;
749
755
  /**
750
- * (Required) A title for the widget.
756
+ * (Optional) A human-friendly display string for this value.
751
757
  */
752
758
  title: pulumi.Input<string>;
753
759
  /**
@@ -780,9 +786,7 @@ export interface OneDashboardPageWidgetLogTable {
780
786
  */
781
787
  ignoreTimeRange?: pulumi.Input<boolean>;
782
788
  /**
783
- * (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details.
784
- * * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
785
- * * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
789
+ * (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
786
790
  */
787
791
  nrqlQueries: pulumi.Input<pulumi.Input<inputs.OneDashboardPageWidgetLogTableNrqlQuery>[]>;
788
792
  /**
@@ -790,7 +794,7 @@ export interface OneDashboardPageWidgetLogTable {
790
794
  */
791
795
  row: pulumi.Input<number>;
792
796
  /**
793
- * (Required) A title for the widget.
797
+ * (Optional) A human-friendly display string for this value.
794
798
  */
795
799
  title: pulumi.Input<string>;
796
800
  /**
@@ -832,7 +836,7 @@ export interface OneDashboardPageWidgetMarkdown {
832
836
  */
833
837
  text?: pulumi.Input<string>;
834
838
  /**
835
- * (Required) A title for the widget.
839
+ * (Optional) A human-friendly display string for this value.
836
840
  */
837
841
  title: pulumi.Input<string>;
838
842
  /**
@@ -857,9 +861,7 @@ export interface OneDashboardPageWidgetPy {
857
861
  ignoreTimeRange?: pulumi.Input<boolean>;
858
862
  linkedEntityGuids?: pulumi.Input<pulumi.Input<string>[]>;
859
863
  /**
860
- * (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details.
861
- * * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
862
- * * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
864
+ * (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
863
865
  */
864
866
  nrqlQueries: pulumi.Input<pulumi.Input<inputs.OneDashboardPageWidgetPyNrqlQuery>[]>;
865
867
  /**
@@ -867,7 +869,7 @@ export interface OneDashboardPageWidgetPy {
867
869
  */
868
870
  row: pulumi.Input<number>;
869
871
  /**
870
- * (Required) A title for the widget.
872
+ * (Optional) A human-friendly display string for this value.
871
873
  */
872
874
  title: pulumi.Input<string>;
873
875
  /**
@@ -900,9 +902,7 @@ export interface OneDashboardPageWidgetStackedBar {
900
902
  */
901
903
  ignoreTimeRange?: pulumi.Input<boolean>;
902
904
  /**
903
- * (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details.
904
- * * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
905
- * * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
905
+ * (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
906
906
  */
907
907
  nrqlQueries: pulumi.Input<pulumi.Input<inputs.OneDashboardPageWidgetStackedBarNrqlQuery>[]>;
908
908
  /**
@@ -910,7 +910,7 @@ export interface OneDashboardPageWidgetStackedBar {
910
910
  */
911
911
  row: pulumi.Input<number>;
912
912
  /**
913
- * (Required) A title for the widget.
913
+ * (Optional) A human-friendly display string for this value.
914
914
  */
915
915
  title: pulumi.Input<string>;
916
916
  /**
@@ -945,9 +945,7 @@ export interface OneDashboardPageWidgetTable {
945
945
  ignoreTimeRange?: pulumi.Input<boolean>;
946
946
  linkedEntityGuids?: pulumi.Input<pulumi.Input<string>[]>;
947
947
  /**
948
- * (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details.
949
- * * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
950
- * * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
948
+ * (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
951
949
  */
952
950
  nrqlQueries: pulumi.Input<pulumi.Input<inputs.OneDashboardPageWidgetTableNrqlQuery>[]>;
953
951
  /**
@@ -955,7 +953,7 @@ export interface OneDashboardPageWidgetTable {
955
953
  */
956
954
  row: pulumi.Input<number>;
957
955
  /**
958
- * (Required) A title for the widget.
956
+ * (Optional) A human-friendly display string for this value.
959
957
  */
960
958
  title: pulumi.Input<string>;
961
959
  /**
@@ -1026,6 +1024,57 @@ export interface OneDashboardRawPageWidget {
1026
1024
  */
1027
1025
  width?: pulumi.Input<number>;
1028
1026
  }
1027
+ export interface OneDashboardVariable {
1028
+ /**
1029
+ * (Optional) A list of default values for this variable.
1030
+ */
1031
+ defaultValues?: pulumi.Input<pulumi.Input<string>[]>;
1032
+ /**
1033
+ * (Optional) Indicates whether this variable supports multiple selection or not. Only applies to variables of type `nrql` or `enum`.
1034
+ */
1035
+ isMultiSelection?: pulumi.Input<boolean>;
1036
+ /**
1037
+ * (Optional) List of possible values for variables of type `enum`. See Nested item blocks below for details.
1038
+ */
1039
+ items?: pulumi.Input<pulumi.Input<inputs.OneDashboardVariableItem>[]>;
1040
+ /**
1041
+ * The title of the dashboard.
1042
+ */
1043
+ name: pulumi.Input<string>;
1044
+ /**
1045
+ * (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
1046
+ */
1047
+ nrqlQuery?: pulumi.Input<inputs.OneDashboardVariableNrqlQuery>;
1048
+ /**
1049
+ * (Optional) Indicates the strategy to apply when replacing a variable in a NRQL query. One of `default`, `identifier`, `number` or `string`.
1050
+ */
1051
+ replacementStrategy: pulumi.Input<string>;
1052
+ /**
1053
+ * (Optional) A human-friendly display string for this value.
1054
+ */
1055
+ title: pulumi.Input<string>;
1056
+ /**
1057
+ * (Required) Specifies the data type of the variable and where its possible values may come from. One of `enum`, `nrql` or `string`
1058
+ */
1059
+ type: pulumi.Input<string>;
1060
+ }
1061
+ export interface OneDashboardVariableItem {
1062
+ /**
1063
+ * (Optional) A human-friendly display string for this value.
1064
+ */
1065
+ title?: pulumi.Input<string>;
1066
+ /**
1067
+ * (Required) A possible variable value
1068
+ */
1069
+ value: pulumi.Input<string>;
1070
+ }
1071
+ export interface OneDashboardVariableNrqlQuery {
1072
+ accountIds?: pulumi.Input<pulumi.Input<number>[]>;
1073
+ /**
1074
+ * (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.
1075
+ */
1076
+ query: pulumi.Input<string>;
1077
+ }
1029
1078
  export interface ServiceLevelEvents {
1030
1079
  /**
1031
1080
  * The ID of the account where the entity (e.g, APM Service, Browser application, Workload, etc.) belongs to,
@@ -1050,6 +1099,10 @@ export interface ServiceLevelEventsBadEvents {
1050
1099
  * The event type where NRDB data will be fetched from.
1051
1100
  */
1052
1101
  from: pulumi.Input<string>;
1102
+ /**
1103
+ * The NRQL SELECT clause to aggregate events.
1104
+ */
1105
+ select?: pulumi.Input<inputs.ServiceLevelEventsBadEventsSelect>;
1053
1106
  /**
1054
1107
  * A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity).
1055
1108
  * a particular entity and were successful).
@@ -1057,11 +1110,25 @@ export interface ServiceLevelEventsBadEvents {
1057
1110
  */
1058
1111
  where?: pulumi.Input<string>;
1059
1112
  }
1113
+ export interface ServiceLevelEventsBadEventsSelect {
1114
+ /**
1115
+ * The event attribute to use in the SELECT clause.
1116
+ */
1117
+ attribute?: pulumi.Input<string>;
1118
+ /**
1119
+ * The function to use in the SELECT clause. Valid values are `COUNT`and `SUM`.
1120
+ */
1121
+ function: pulumi.Input<string>;
1122
+ }
1060
1123
  export interface ServiceLevelEventsGoodEvents {
1061
1124
  /**
1062
1125
  * The event type where NRDB data will be fetched from.
1063
1126
  */
1064
1127
  from: pulumi.Input<string>;
1128
+ /**
1129
+ * The NRQL SELECT clause to aggregate events.
1130
+ */
1131
+ select?: pulumi.Input<inputs.ServiceLevelEventsGoodEventsSelect>;
1065
1132
  /**
1066
1133
  * A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity).
1067
1134
  * a particular entity and were successful).
@@ -1069,11 +1136,25 @@ export interface ServiceLevelEventsGoodEvents {
1069
1136
  */
1070
1137
  where?: pulumi.Input<string>;
1071
1138
  }
1139
+ export interface ServiceLevelEventsGoodEventsSelect {
1140
+ /**
1141
+ * The event attribute to use in the SELECT clause.
1142
+ */
1143
+ attribute?: pulumi.Input<string>;
1144
+ /**
1145
+ * The function to use in the SELECT clause. Valid values are `COUNT`and `SUM`.
1146
+ */
1147
+ function: pulumi.Input<string>;
1148
+ }
1072
1149
  export interface ServiceLevelEventsValidEvents {
1073
1150
  /**
1074
1151
  * The event type where NRDB data will be fetched from.
1075
1152
  */
1076
1153
  from: pulumi.Input<string>;
1154
+ /**
1155
+ * The NRQL SELECT clause to aggregate events.
1156
+ */
1157
+ select?: pulumi.Input<inputs.ServiceLevelEventsValidEventsSelect>;
1077
1158
  /**
1078
1159
  * A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity).
1079
1160
  * a particular entity and were successful).
@@ -1081,6 +1162,16 @@ export interface ServiceLevelEventsValidEvents {
1081
1162
  */
1082
1163
  where?: pulumi.Input<string>;
1083
1164
  }
1165
+ export interface ServiceLevelEventsValidEventsSelect {
1166
+ /**
1167
+ * The event attribute to use in the SELECT clause.
1168
+ */
1169
+ attribute?: pulumi.Input<string>;
1170
+ /**
1171
+ * The function to use in the SELECT clause. Valid values are `COUNT`and `SUM`.
1172
+ */
1173
+ function: pulumi.Input<string>;
1174
+ }
1084
1175
  export interface ServiceLevelObjective {
1085
1176
  /**
1086
1177
  * The description of the SLI.
@@ -1116,70 +1207,79 @@ export interface ServiceLevelObjectiveTimeWindowRolling {
1116
1207
  unit: pulumi.Input<string>;
1117
1208
  }
1118
1209
  export interface WorkflowDestination {
1210
+ /**
1211
+ * id of a notificationChannel to use for notifications. Please note that you have to use a
1212
+ * **notification** channel, not an `alertChannel`.
1213
+ */
1119
1214
  channelId: pulumi.Input<string>;
1120
1215
  /**
1121
- * A nrql enrichment name.
1216
+ * A nrql enrichment name. This name can be used in your notification templates (see notificationChannel documentation)
1122
1217
  */
1123
1218
  name?: pulumi.Input<string>;
1124
1219
  /**
1125
- * the filter's type. One of: `FILTER` or `VIEW`.
1126
- * * `predicate`
1220
+ * Type of the filter. Please just set this field to `FILTER`. The field is likely to be deprecated/removed in the near future.
1127
1221
  */
1128
1222
  type?: pulumi.Input<string>;
1129
1223
  }
1130
1224
  export interface WorkflowEnrichments {
1225
+ /**
1226
+ * a wrapper block
1227
+ */
1131
1228
  nrqls: pulumi.Input<pulumi.Input<inputs.WorkflowEnrichmentsNrql>[]>;
1132
1229
  }
1133
1230
  export interface WorkflowEnrichmentsNrql {
1134
1231
  /**
1135
- * Determines the New Relic account where the workflow will be created. Defaults to the account associated with the API key used.
1232
+ * Determines the New Relic account in which the workflow is created. Defaults to the account defined in the provider section.
1136
1233
  */
1137
1234
  accountId?: pulumi.Input<number>;
1138
1235
  /**
1139
- * A list of nrql enrichments.
1236
+ * Another wrapper block
1140
1237
  */
1141
1238
  configurations: pulumi.Input<pulumi.Input<inputs.WorkflowEnrichmentsNrqlConfiguration>[]>;
1142
1239
  enrichmentId?: pulumi.Input<string>;
1143
1240
  /**
1144
- * A nrql enrichment name.
1241
+ * A nrql enrichment name. This name can be used in your notification templates (see notificationChannel documentation)
1145
1242
  */
1146
1243
  name: pulumi.Input<string>;
1147
1244
  /**
1148
- * the filter's type. One of: `FILTER` or `VIEW`.
1149
- * * `predicate`
1245
+ * Type of the filter. Please just set this field to `FILTER`. The field is likely to be deprecated/removed in the near future.
1150
1246
  */
1151
1247
  type?: pulumi.Input<string>;
1152
1248
  }
1153
1249
  export interface WorkflowEnrichmentsNrqlConfiguration {
1154
1250
  /**
1155
- * the nrql query.
1251
+ * An NRQL query to run
1156
1252
  */
1157
1253
  query: pulumi.Input<string>;
1158
1254
  }
1159
1255
  export interface WorkflowIssuesFilter {
1160
1256
  filterId?: pulumi.Input<string>;
1161
1257
  /**
1162
- * A nrql enrichment name.
1258
+ * A nrql enrichment name. This name can be used in your notification templates (see notificationChannel documentation)
1163
1259
  */
1164
1260
  name: pulumi.Input<string>;
1261
+ /**
1262
+ * A condition an issue event should satisfy to be processed by the workflow
1263
+ */
1165
1264
  predicates?: pulumi.Input<pulumi.Input<inputs.WorkflowIssuesFilterPredicate>[]>;
1166
1265
  /**
1167
- * the filter's type. One of: `FILTER` or `VIEW`.
1168
- * * `predicate`
1266
+ * Type of the filter. Please just set this field to `FILTER`. The field is likely to be deprecated/removed in the near future.
1169
1267
  */
1170
1268
  type: pulumi.Input<string>;
1171
1269
  }
1172
1270
  export interface WorkflowIssuesFilterPredicate {
1173
1271
  /**
1174
- * A predicate's attribute.
1272
+ * Issue event attribute to check
1175
1273
  */
1176
1274
  attribute: pulumi.Input<string>;
1177
1275
  /**
1178
- * A predicate's operator. One of: `CONTAINS`, `DOES_NOT_CONTAIN`, `DOES_NOT_EQUAL`, `DOES_NOT_EXACTLY_MATCH`, `ENDS_WITH`, `EQUAL`, `EXACTLY_MATCHES`, `GREATER_OR_EQUAL`, `GREATER_THAN`, `IS`, `IS_NOT`, `LESS_OR_EQUAL`, `LESS_THAN` or `STARTS_WITH` (workflows).
1276
+ * An operator to use to compare the attribute with the provided `values`.
1277
+ * One of: `CONTAINS`, `DOES_NOT_CONTAIN`, `EQUAL`, `DOES_NOT_EQUAL`, `DOES_NOT_EXACTLY_MATCH`, `STARTS_WITH`, `ENDS_WITH`,
1278
+ * `EXACTLY_MATCHES`, `IS`, `IS_NOT`, `LESS_OR_EQUAL`, `LESS_THAN`, `GREATER_OR_EQUAL`, `GREATER_THAN` (see the note below)
1179
1279
  */
1180
1280
  operator: pulumi.Input<string>;
1181
1281
  /**
1182
- * A list of values.
1282
+ * The `attribute` must match **any** of the values in this list
1183
1283
  */
1184
1284
  values: pulumi.Input<pulumi.Input<string>[]>;
1185
1285
  }
@@ -2068,6 +2168,16 @@ export declare namespace cloud {
2068
2168
  */
2069
2169
  resourceGroups?: pulumi.Input<pulumi.Input<string>[]>;
2070
2170
  }
2171
+ interface AzureIntegrationsMysqlFlexible {
2172
+ /**
2173
+ * The data polling interval in seconds.
2174
+ */
2175
+ metricsPollingInterval?: pulumi.Input<number>;
2176
+ /**
2177
+ * Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive
2178
+ */
2179
+ resourceGroups?: pulumi.Input<pulumi.Input<string>[]>;
2180
+ }
2071
2181
  interface AzureIntegrationsPostgresql {
2072
2182
  /**
2073
2183
  * The data polling interval in seconds.
@@ -2078,6 +2188,16 @@ export declare namespace cloud {
2078
2188
  */
2079
2189
  resourceGroups?: pulumi.Input<pulumi.Input<string>[]>;
2080
2190
  }
2191
+ interface AzureIntegrationsPostgresqlFlexible {
2192
+ /**
2193
+ * The data polling interval in seconds.
2194
+ */
2195
+ metricsPollingInterval?: pulumi.Input<number>;
2196
+ /**
2197
+ * Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive
2198
+ */
2199
+ resourceGroups?: pulumi.Input<pulumi.Input<string>[]>;
2200
+ }
2081
2201
  interface AzureIntegrationsPowerBiDedicated {
2082
2202
  /**
2083
2203
  * The data polling interval in seconds.
@@ -2178,6 +2298,12 @@ export declare namespace cloud {
2178
2298
  */
2179
2299
  resourceGroups?: pulumi.Input<pulumi.Input<string>[]>;
2180
2300
  }
2301
+ interface GcpIntegrationsAlloyDb {
2302
+ /**
2303
+ * The data polling interval in seconds.
2304
+ */
2305
+ metricsPollingInterval?: pulumi.Input<number>;
2306
+ }
2181
2307
  interface GcpIntegrationsAppEngine {
2182
2308
  /**
2183
2309
  * The data polling interval in seconds.
@@ -2364,6 +2490,96 @@ export declare namespace plugins {
2364
2490
  */
2365
2491
  query: pulumi.Input<string>;
2366
2492
  }
2493
+ interface WorkloadStatusConfigAutomatic {
2494
+ /**
2495
+ * Whether the static status configuration is enabled or not.
2496
+ */
2497
+ enabled: pulumi.Input<boolean>;
2498
+ /**
2499
+ * An additional meta-rule that can consider all entities that haven't been evaluated by any other rule. See Nested remainingEntitiesRule blocks below for details.
2500
+ */
2501
+ remainingEntitiesRule?: pulumi.Input<inputs.plugins.WorkloadStatusConfigAutomaticRemainingEntitiesRule>;
2502
+ /**
2503
+ * The input object used to represent a rollup strategy. See Nested rule blocks below for details.
2504
+ */
2505
+ rules?: pulumi.Input<pulumi.Input<inputs.plugins.WorkloadStatusConfigAutomaticRule>[]>;
2506
+ }
2507
+ interface WorkloadStatusConfigAutomaticRemainingEntitiesRule {
2508
+ /**
2509
+ * The input object used to represent a rollup strategy. See Nested remainingEntitiesRuleRollup blocks below for details.
2510
+ */
2511
+ remainingEntitiesRuleRollup: pulumi.Input<inputs.plugins.WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollup>;
2512
+ }
2513
+ interface WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollup {
2514
+ /**
2515
+ * The grouping to be applied to the remaining entities.
2516
+ */
2517
+ groupBy: pulumi.Input<string>;
2518
+ /**
2519
+ * The rollup strategy that is applied to a group of entities.
2520
+ */
2521
+ strategy: pulumi.Input<string>;
2522
+ /**
2523
+ * Type of threshold defined for the rule. This is an optional field that only applies when strategy is WORST_STATUS_WINS. Use a threshold to roll up the worst status only after a certain amount of entities are not operational.
2524
+ */
2525
+ thresholdType?: pulumi.Input<string>;
2526
+ /**
2527
+ * Threshold value defined for the rule. This optional field is used in combination with thresholdType. If the threshold type is null, the threshold value will be ignored.
2528
+ */
2529
+ thresholdValue?: pulumi.Input<number>;
2530
+ }
2531
+ interface WorkloadStatusConfigAutomaticRule {
2532
+ /**
2533
+ * A list of entity GUIDs composing the rule. At least one of `entityGuids` or `nrqlQuery` must be defined.
2534
+ */
2535
+ entityGuids?: pulumi.Input<pulumi.Input<string>[]>;
2536
+ /**
2537
+ * A list of entity search queries used to retrieve the entities that compose the rule. See Nested nrqlQuery blocks below for details. At least one of `entityGuids` or `nrqlQuery` must be defined.
2538
+ */
2539
+ nrqlQueries?: pulumi.Input<pulumi.Input<inputs.plugins.WorkloadStatusConfigAutomaticRuleNrqlQuery>[]>;
2540
+ /**
2541
+ * The input object used to represent a rollup strategy. See Nested rollup blocks below for details.
2542
+ */
2543
+ rollup: pulumi.Input<inputs.plugins.WorkloadStatusConfigAutomaticRuleRollup>;
2544
+ }
2545
+ interface WorkloadStatusConfigAutomaticRuleNrqlQuery {
2546
+ /**
2547
+ * The entity search query that is used to perform the search of a group of entities.
2548
+ */
2549
+ query: pulumi.Input<string>;
2550
+ }
2551
+ interface WorkloadStatusConfigAutomaticRuleRollup {
2552
+ /**
2553
+ * The rollup strategy that is applied to a group of entities.
2554
+ */
2555
+ strategy: pulumi.Input<string>;
2556
+ /**
2557
+ * Type of threshold defined for the rule. This is an optional field that only applies when strategy is WORST_STATUS_WINS. Use a threshold to roll up the worst status only after a certain amount of entities are not operational.
2558
+ */
2559
+ thresholdType?: pulumi.Input<string>;
2560
+ /**
2561
+ * Threshold value defined for the rule. This optional field is used in combination with thresholdType. If the threshold type is null, the threshold value will be ignored.
2562
+ */
2563
+ thresholdValue?: pulumi.Input<number>;
2564
+ }
2565
+ interface WorkloadStatusConfigStatic {
2566
+ /**
2567
+ * A description that provides additional details about the status of the workload.
2568
+ */
2569
+ description?: pulumi.Input<string>;
2570
+ /**
2571
+ * Whether the static status configuration is enabled or not.
2572
+ */
2573
+ enabled: pulumi.Input<boolean>;
2574
+ /**
2575
+ * The status of the workload.
2576
+ */
2577
+ status: pulumi.Input<string>;
2578
+ /**
2579
+ * A short description of the status of the workload.
2580
+ */
2581
+ summary?: pulumi.Input<string>;
2582
+ }
2367
2583
  }
2368
2584
  export declare namespace synthetics {
2369
2585
  interface BrokenLinksMonitorTag {