@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.
- package/alertChannel.d.ts +2 -1
- package/alertChannel.js +22 -22
- package/alertChannel.js.map +1 -1
- package/alertCondition.d.ts +8 -7
- package/alertCondition.js +22 -22
- package/alertCondition.js.map +1 -1
- package/alertMutingRule.d.ts +5 -4
- package/alertMutingRule.js +22 -22
- package/alertMutingRule.js.map +1 -1
- package/alertPolicy.js +20 -20
- package/alertPolicy.js.map +1 -1
- package/alertPolicyChannel.js +22 -22
- package/alertPolicyChannel.js.map +1 -1
- package/apiAccessKey.js +24 -22
- package/apiAccessKey.js.map +1 -1
- package/cloud/awsGovcloudIntegrations.d.ts +2 -1
- package/cloud/awsGovcloudIntegrations.js +22 -22
- package/cloud/awsGovcloudIntegrations.js.map +1 -1
- package/cloud/awsGovcloudLinkAccount.js +26 -24
- package/cloud/awsGovcloudLinkAccount.js.map +1 -1
- package/cloud/awsIntegrations.d.ts +2 -1
- package/cloud/awsIntegrations.js +22 -22
- package/cloud/awsIntegrations.js.map +1 -1
- package/cloud/awsLinkAccount.js +22 -22
- package/cloud/awsLinkAccount.js.map +1 -1
- package/cloud/azureIntegrations.d.ts +89 -64
- package/cloud/azureIntegrations.js +26 -22
- package/cloud/azureIntegrations.js.map +1 -1
- package/cloud/azureLinkAccount.js +25 -23
- package/cloud/azureLinkAccount.js.map +1 -1
- package/cloud/gcpIntegrations.d.ts +14 -1
- package/cloud/gcpIntegrations.js +24 -22
- package/cloud/gcpIntegrations.js.map +1 -1
- package/cloud/gcpLinkAccount.js +21 -21
- package/cloud/gcpLinkAccount.js.map +1 -1
- package/cloud/index.d.ts +24 -8
- package/cloud/index.js +25 -40
- package/cloud/index.js.map +1 -1
- package/entityTags.d.ts +2 -32
- package/entityTags.js +22 -53
- package/entityTags.js.map +1 -1
- package/eventsToMetricsRule.js +22 -22
- package/eventsToMetricsRule.js.map +1 -1
- package/getAlertChannel.d.ts +1 -1
- package/getAlertChannel.js.map +1 -1
- package/getEntity.d.ts +14 -4
- package/getEntity.js +1 -1
- package/getEntity.js.map +1 -1
- package/getObfuscationExpression.d.ts +65 -0
- package/getObfuscationExpression.js +48 -0
- package/getObfuscationExpression.js.map +1 -0
- package/index.d.ts +87 -26
- package/index.js +92 -81
- package/index.js.map +1 -1
- package/infraAlertCondition.d.ts +11 -10
- package/infraAlertCondition.js +22 -22
- package/infraAlertCondition.js.map +1 -1
- package/insights/event.d.ts +2 -1
- package/insights/event.js +17 -17
- package/insights/event.js.map +1 -1
- package/insights/index.d.ts +3 -1
- package/insights/index.js +4 -19
- package/insights/index.js.map +1 -1
- package/notificationChannel.d.ts +68 -13
- package/notificationChannel.js +88 -34
- package/notificationChannel.js.map +1 -1
- package/notificationDestination.d.ts +2 -1
- package/notificationDestination.js +22 -22
- package/notificationDestination.js.map +1 -1
- package/nrqlAlertCondition.d.ts +22 -21
- package/nrqlAlertCondition.js +27 -27
- package/nrqlAlertCondition.js.map +1 -1
- package/nrqlDropRule.js +22 -22
- package/nrqlDropRule.js.map +1 -1
- package/obfuscationExpression.d.ts +108 -0
- package/obfuscationExpression.js +82 -0
- package/obfuscationExpression.js.map +1 -0
- package/obfuscationRule.d.ts +143 -0
- package/obfuscationRule.js +101 -0
- package/obfuscationRule.js.map +1 -0
- package/oneDashboard.d.ts +113 -3
- package/oneDashboard.js +123 -24
- package/oneDashboard.js.map +1 -1
- package/oneDashboardJson.d.ts +3 -15
- package/oneDashboardJson.js +22 -34
- package/oneDashboardJson.js.map +1 -1
- package/oneDashboardRaw.d.ts +4 -1
- package/oneDashboardRaw.js +24 -22
- package/oneDashboardRaw.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/plugins/applicationSettings.js +22 -22
- package/plugins/applicationSettings.js.map +1 -1
- package/plugins/index.d.ts +6 -2
- package/plugins/index.js +7 -22
- package/plugins/index.js.map +1 -1
- package/plugins/workload.d.ts +120 -2
- package/plugins/workload.js +110 -23
- package/plugins/workload.js.map +1 -1
- package/provider.d.ts +3 -3
- package/provider.js +19 -14
- package/provider.js.map +1 -1
- package/serviceLevel.d.ts +2 -1
- package/serviceLevel.js +22 -22
- package/serviceLevel.js.map +1 -1
- package/synthetics/alertCondition.js +22 -22
- package/synthetics/alertCondition.js.map +1 -1
- package/synthetics/brokenLinksMonitor.d.ts +9 -8
- package/synthetics/brokenLinksMonitor.js +26 -26
- package/synthetics/brokenLinksMonitor.js.map +1 -1
- package/synthetics/certCheckMonitor.d.ts +6 -5
- package/synthetics/certCheckMonitor.js +26 -26
- package/synthetics/certCheckMonitor.js.map +1 -1
- package/synthetics/getPrivateLocation.d.ts +35 -0
- package/synthetics/getPrivateLocation.js +27 -0
- package/synthetics/getPrivateLocation.js.map +1 -1
- package/synthetics/getSecureCredential.d.ts +1 -0
- package/synthetics/getSecureCredential.js.map +1 -1
- package/synthetics/index.d.ts +33 -11
- package/synthetics/index.js +34 -45
- package/synthetics/index.js.map +1 -1
- package/synthetics/monitor.d.ts +29 -33
- package/synthetics/monitor.js +40 -45
- package/synthetics/monitor.js.map +1 -1
- package/synthetics/multiLocationAlertCondition.d.ts +2 -1
- package/synthetics/multiLocationAlertCondition.js +22 -22
- package/synthetics/multiLocationAlertCondition.js.map +1 -1
- package/synthetics/privateLocation.d.ts +7 -8
- package/synthetics/privateLocation.js +24 -25
- package/synthetics/privateLocation.js.map +1 -1
- package/synthetics/scriptMonitor.d.ts +15 -21
- package/synthetics/scriptMonitor.js +32 -39
- package/synthetics/scriptMonitor.js.map +1 -1
- package/synthetics/secureCredential.js +25 -23
- package/synthetics/secureCredential.js.map +1 -1
- package/synthetics/stepMonitor.d.ts +6 -5
- package/synthetics/stepMonitor.js +26 -26
- package/synthetics/stepMonitor.js.map +1 -1
- package/types/index.js.map +1 -1
- package/types/input.d.ts +288 -72
- package/types/output.d.ts +282 -72
- package/utilities.js +13 -1
- package/utilities.js.map +1 -1
- package/workflow.d.ts +99 -112
- package/workflow.js +82 -105
- package/workflow.js.map +1 -1
package/types/output.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as outputs from "../types/output";
|
|
2
2
|
export interface AlertChannelConfig {
|
|
3
3
|
/**
|
|
4
4
|
* The API key for integrating with OpsGenie.
|
|
@@ -110,7 +110,7 @@ export interface AlertMutingRuleCondition {
|
|
|
110
110
|
}
|
|
111
111
|
export interface AlertMutingRuleConditionCondition {
|
|
112
112
|
/**
|
|
113
|
-
* The attribute on
|
|
113
|
+
* The attribute on an incident. Valid values are `accountId`, `conditionId`, `conditionName`, `conditionRunbookUrl`, `conditionType`, `entity.guid`, `nrqlEventType`, `nrqlQuery`, `policyId`, `policyName`, `product`, `tags.<NAME>`, `targetId`, `targetName`
|
|
114
114
|
*/
|
|
115
115
|
attribute: string;
|
|
116
116
|
/**
|
|
@@ -186,7 +186,13 @@ export interface GetAlertChannelConfig {
|
|
|
186
186
|
userId?: string;
|
|
187
187
|
}
|
|
188
188
|
export interface GetEntityTag {
|
|
189
|
+
/**
|
|
190
|
+
* The tag key.
|
|
191
|
+
*/
|
|
189
192
|
key: string;
|
|
193
|
+
/**
|
|
194
|
+
* The tag value.
|
|
195
|
+
*/
|
|
190
196
|
value: string;
|
|
191
197
|
}
|
|
192
198
|
export interface InfraAlertConditionCritical {
|
|
@@ -202,8 +208,6 @@ export interface InfraAlertConditionWarning {
|
|
|
202
208
|
export interface NotificationChannelProperty {
|
|
203
209
|
/**
|
|
204
210
|
* The notification property display value.
|
|
205
|
-
* *
|
|
206
|
-
* Each notification channel type supports a specific set of arguments for the `property` block:
|
|
207
211
|
*/
|
|
208
212
|
displayValue?: string;
|
|
209
213
|
/**
|
|
@@ -311,6 +315,20 @@ export interface NrqlAlertConditionWarning {
|
|
|
311
315
|
*/
|
|
312
316
|
timeFunction?: string;
|
|
313
317
|
}
|
|
318
|
+
export interface ObfuscationRuleAction {
|
|
319
|
+
/**
|
|
320
|
+
* Attribute names for action. An empty list applies the action to all the attributes.
|
|
321
|
+
*/
|
|
322
|
+
attributes: string[];
|
|
323
|
+
/**
|
|
324
|
+
* Expression Id for action.
|
|
325
|
+
*/
|
|
326
|
+
expressionId: string;
|
|
327
|
+
/**
|
|
328
|
+
* Obfuscation method to use. Methods for replacing obfuscated values are `HASH_SHA256` and `MASK`.
|
|
329
|
+
*/
|
|
330
|
+
method: string;
|
|
331
|
+
}
|
|
314
332
|
export interface OneDashboardPage {
|
|
315
333
|
/**
|
|
316
334
|
* Brief text describing the dashboard.
|
|
@@ -396,9 +414,7 @@ export interface OneDashboardPageWidgetArea {
|
|
|
396
414
|
*/
|
|
397
415
|
ignoreTimeRange?: boolean;
|
|
398
416
|
/**
|
|
399
|
-
* (
|
|
400
|
-
* * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
|
|
401
|
-
* * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
|
|
417
|
+
* (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
|
|
402
418
|
*/
|
|
403
419
|
nrqlQueries: outputs.OneDashboardPageWidgetAreaNrqlQuery[];
|
|
404
420
|
/**
|
|
@@ -406,7 +422,7 @@ export interface OneDashboardPageWidgetArea {
|
|
|
406
422
|
*/
|
|
407
423
|
row: number;
|
|
408
424
|
/**
|
|
409
|
-
* (
|
|
425
|
+
* (Optional) A human-friendly display string for this value.
|
|
410
426
|
*/
|
|
411
427
|
title: string;
|
|
412
428
|
/**
|
|
@@ -441,9 +457,7 @@ export interface OneDashboardPageWidgetBar {
|
|
|
441
457
|
ignoreTimeRange?: boolean;
|
|
442
458
|
linkedEntityGuids: string[];
|
|
443
459
|
/**
|
|
444
|
-
* (
|
|
445
|
-
* * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
|
|
446
|
-
* * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
|
|
460
|
+
* (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
|
|
447
461
|
*/
|
|
448
462
|
nrqlQueries: outputs.OneDashboardPageWidgetBarNrqlQuery[];
|
|
449
463
|
/**
|
|
@@ -451,7 +465,7 @@ export interface OneDashboardPageWidgetBar {
|
|
|
451
465
|
*/
|
|
452
466
|
row: number;
|
|
453
467
|
/**
|
|
454
|
-
* (
|
|
468
|
+
* (Optional) A human-friendly display string for this value.
|
|
455
469
|
*/
|
|
456
470
|
title: string;
|
|
457
471
|
/**
|
|
@@ -488,9 +502,7 @@ export interface OneDashboardPageWidgetBillboard {
|
|
|
488
502
|
*/
|
|
489
503
|
ignoreTimeRange?: boolean;
|
|
490
504
|
/**
|
|
491
|
-
* (
|
|
492
|
-
* * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
|
|
493
|
-
* * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
|
|
505
|
+
* (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
|
|
494
506
|
*/
|
|
495
507
|
nrqlQueries: outputs.OneDashboardPageWidgetBillboardNrqlQuery[];
|
|
496
508
|
/**
|
|
@@ -498,7 +510,7 @@ export interface OneDashboardPageWidgetBillboard {
|
|
|
498
510
|
*/
|
|
499
511
|
row: number;
|
|
500
512
|
/**
|
|
501
|
-
* (
|
|
513
|
+
* (Optional) A human-friendly display string for this value.
|
|
502
514
|
*/
|
|
503
515
|
title: string;
|
|
504
516
|
/**
|
|
@@ -541,9 +553,7 @@ export interface OneDashboardPageWidgetBullet {
|
|
|
541
553
|
*/
|
|
542
554
|
limit: number;
|
|
543
555
|
/**
|
|
544
|
-
* (
|
|
545
|
-
* * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
|
|
546
|
-
* * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
|
|
556
|
+
* (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
|
|
547
557
|
*/
|
|
548
558
|
nrqlQueries: outputs.OneDashboardPageWidgetBulletNrqlQuery[];
|
|
549
559
|
/**
|
|
@@ -551,7 +561,7 @@ export interface OneDashboardPageWidgetBullet {
|
|
|
551
561
|
*/
|
|
552
562
|
row: number;
|
|
553
563
|
/**
|
|
554
|
-
* (
|
|
564
|
+
* (Optional) A human-friendly display string for this value.
|
|
555
565
|
*/
|
|
556
566
|
title: string;
|
|
557
567
|
/**
|
|
@@ -584,9 +594,7 @@ export interface OneDashboardPageWidgetFunnel {
|
|
|
584
594
|
*/
|
|
585
595
|
ignoreTimeRange?: boolean;
|
|
586
596
|
/**
|
|
587
|
-
* (
|
|
588
|
-
* * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
|
|
589
|
-
* * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
|
|
597
|
+
* (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
|
|
590
598
|
*/
|
|
591
599
|
nrqlQueries: outputs.OneDashboardPageWidgetFunnelNrqlQuery[];
|
|
592
600
|
/**
|
|
@@ -594,7 +602,7 @@ export interface OneDashboardPageWidgetFunnel {
|
|
|
594
602
|
*/
|
|
595
603
|
row: number;
|
|
596
604
|
/**
|
|
597
|
-
* (
|
|
605
|
+
* (Optional) A human-friendly display string for this value.
|
|
598
606
|
*/
|
|
599
607
|
title: string;
|
|
600
608
|
/**
|
|
@@ -629,9 +637,7 @@ export interface OneDashboardPageWidgetHeatmap {
|
|
|
629
637
|
ignoreTimeRange?: boolean;
|
|
630
638
|
linkedEntityGuids: string[];
|
|
631
639
|
/**
|
|
632
|
-
* (
|
|
633
|
-
* * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
|
|
634
|
-
* * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
|
|
640
|
+
* (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
|
|
635
641
|
*/
|
|
636
642
|
nrqlQueries: outputs.OneDashboardPageWidgetHeatmapNrqlQuery[];
|
|
637
643
|
/**
|
|
@@ -639,7 +645,7 @@ export interface OneDashboardPageWidgetHeatmap {
|
|
|
639
645
|
*/
|
|
640
646
|
row: number;
|
|
641
647
|
/**
|
|
642
|
-
* (
|
|
648
|
+
* (Optional) A human-friendly display string for this value.
|
|
643
649
|
*/
|
|
644
650
|
title: string;
|
|
645
651
|
/**
|
|
@@ -672,9 +678,7 @@ export interface OneDashboardPageWidgetHistogram {
|
|
|
672
678
|
*/
|
|
673
679
|
ignoreTimeRange?: boolean;
|
|
674
680
|
/**
|
|
675
|
-
* (
|
|
676
|
-
* * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
|
|
677
|
-
* * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
|
|
681
|
+
* (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
|
|
678
682
|
*/
|
|
679
683
|
nrqlQueries: outputs.OneDashboardPageWidgetHistogramNrqlQuery[];
|
|
680
684
|
/**
|
|
@@ -682,7 +686,7 @@ export interface OneDashboardPageWidgetHistogram {
|
|
|
682
686
|
*/
|
|
683
687
|
row: number;
|
|
684
688
|
/**
|
|
685
|
-
* (
|
|
689
|
+
* (Optional) A human-friendly display string for this value.
|
|
686
690
|
*/
|
|
687
691
|
title: string;
|
|
688
692
|
/**
|
|
@@ -715,9 +719,7 @@ export interface OneDashboardPageWidgetJson {
|
|
|
715
719
|
*/
|
|
716
720
|
ignoreTimeRange?: boolean;
|
|
717
721
|
/**
|
|
718
|
-
* (
|
|
719
|
-
* * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
|
|
720
|
-
* * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
|
|
722
|
+
* (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
|
|
721
723
|
*/
|
|
722
724
|
nrqlQueries: outputs.OneDashboardPageWidgetJsonNrqlQuery[];
|
|
723
725
|
/**
|
|
@@ -725,7 +727,7 @@ export interface OneDashboardPageWidgetJson {
|
|
|
725
727
|
*/
|
|
726
728
|
row: number;
|
|
727
729
|
/**
|
|
728
|
-
* (
|
|
730
|
+
* (Optional) A human-friendly display string for this value.
|
|
729
731
|
*/
|
|
730
732
|
title: string;
|
|
731
733
|
/**
|
|
@@ -758,9 +760,7 @@ export interface OneDashboardPageWidgetLine {
|
|
|
758
760
|
*/
|
|
759
761
|
ignoreTimeRange?: boolean;
|
|
760
762
|
/**
|
|
761
|
-
* (
|
|
762
|
-
* * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
|
|
763
|
-
* * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
|
|
763
|
+
* (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
|
|
764
764
|
*/
|
|
765
765
|
nrqlQueries: outputs.OneDashboardPageWidgetLineNrqlQuery[];
|
|
766
766
|
/**
|
|
@@ -768,7 +768,7 @@ export interface OneDashboardPageWidgetLine {
|
|
|
768
768
|
*/
|
|
769
769
|
row: number;
|
|
770
770
|
/**
|
|
771
|
-
* (
|
|
771
|
+
* (Optional) A human-friendly display string for this value.
|
|
772
772
|
*/
|
|
773
773
|
title: string;
|
|
774
774
|
/**
|
|
@@ -801,9 +801,7 @@ export interface OneDashboardPageWidgetLogTable {
|
|
|
801
801
|
*/
|
|
802
802
|
ignoreTimeRange?: boolean;
|
|
803
803
|
/**
|
|
804
|
-
* (
|
|
805
|
-
* * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
|
|
806
|
-
* * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
|
|
804
|
+
* (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
|
|
807
805
|
*/
|
|
808
806
|
nrqlQueries: outputs.OneDashboardPageWidgetLogTableNrqlQuery[];
|
|
809
807
|
/**
|
|
@@ -811,7 +809,7 @@ export interface OneDashboardPageWidgetLogTable {
|
|
|
811
809
|
*/
|
|
812
810
|
row: number;
|
|
813
811
|
/**
|
|
814
|
-
* (
|
|
812
|
+
* (Optional) A human-friendly display string for this value.
|
|
815
813
|
*/
|
|
816
814
|
title: string;
|
|
817
815
|
/**
|
|
@@ -853,7 +851,7 @@ export interface OneDashboardPageWidgetMarkdown {
|
|
|
853
851
|
*/
|
|
854
852
|
text?: string;
|
|
855
853
|
/**
|
|
856
|
-
* (
|
|
854
|
+
* (Optional) A human-friendly display string for this value.
|
|
857
855
|
*/
|
|
858
856
|
title: string;
|
|
859
857
|
/**
|
|
@@ -878,9 +876,7 @@ export interface OneDashboardPageWidgetPy {
|
|
|
878
876
|
ignoreTimeRange?: boolean;
|
|
879
877
|
linkedEntityGuids: string[];
|
|
880
878
|
/**
|
|
881
|
-
* (
|
|
882
|
-
* * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
|
|
883
|
-
* * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
|
|
879
|
+
* (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
|
|
884
880
|
*/
|
|
885
881
|
nrqlQueries: outputs.OneDashboardPageWidgetPyNrqlQuery[];
|
|
886
882
|
/**
|
|
@@ -888,7 +884,7 @@ export interface OneDashboardPageWidgetPy {
|
|
|
888
884
|
*/
|
|
889
885
|
row: number;
|
|
890
886
|
/**
|
|
891
|
-
* (
|
|
887
|
+
* (Optional) A human-friendly display string for this value.
|
|
892
888
|
*/
|
|
893
889
|
title: string;
|
|
894
890
|
/**
|
|
@@ -921,9 +917,7 @@ export interface OneDashboardPageWidgetStackedBar {
|
|
|
921
917
|
*/
|
|
922
918
|
ignoreTimeRange?: boolean;
|
|
923
919
|
/**
|
|
924
|
-
* (
|
|
925
|
-
* * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
|
|
926
|
-
* * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
|
|
920
|
+
* (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
|
|
927
921
|
*/
|
|
928
922
|
nrqlQueries: outputs.OneDashboardPageWidgetStackedBarNrqlQuery[];
|
|
929
923
|
/**
|
|
@@ -931,7 +925,7 @@ export interface OneDashboardPageWidgetStackedBar {
|
|
|
931
925
|
*/
|
|
932
926
|
row: number;
|
|
933
927
|
/**
|
|
934
|
-
* (
|
|
928
|
+
* (Optional) A human-friendly display string for this value.
|
|
935
929
|
*/
|
|
936
930
|
title: string;
|
|
937
931
|
/**
|
|
@@ -966,9 +960,7 @@ export interface OneDashboardPageWidgetTable {
|
|
|
966
960
|
ignoreTimeRange?: boolean;
|
|
967
961
|
linkedEntityGuids: string[];
|
|
968
962
|
/**
|
|
969
|
-
* (
|
|
970
|
-
* * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
|
|
971
|
-
* * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
|
|
963
|
+
* (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
|
|
972
964
|
*/
|
|
973
965
|
nrqlQueries: outputs.OneDashboardPageWidgetTableNrqlQuery[];
|
|
974
966
|
/**
|
|
@@ -976,7 +968,7 @@ export interface OneDashboardPageWidgetTable {
|
|
|
976
968
|
*/
|
|
977
969
|
row: number;
|
|
978
970
|
/**
|
|
979
|
-
* (
|
|
971
|
+
* (Optional) A human-friendly display string for this value.
|
|
980
972
|
*/
|
|
981
973
|
title: string;
|
|
982
974
|
/**
|
|
@@ -1047,6 +1039,57 @@ export interface OneDashboardRawPageWidget {
|
|
|
1047
1039
|
*/
|
|
1048
1040
|
width?: number;
|
|
1049
1041
|
}
|
|
1042
|
+
export interface OneDashboardVariable {
|
|
1043
|
+
/**
|
|
1044
|
+
* (Optional) A list of default values for this variable.
|
|
1045
|
+
*/
|
|
1046
|
+
defaultValues?: string[];
|
|
1047
|
+
/**
|
|
1048
|
+
* (Optional) Indicates whether this variable supports multiple selection or not. Only applies to variables of type `nrql` or `enum`.
|
|
1049
|
+
*/
|
|
1050
|
+
isMultiSelection?: boolean;
|
|
1051
|
+
/**
|
|
1052
|
+
* (Optional) List of possible values for variables of type `enum`. See Nested item blocks below for details.
|
|
1053
|
+
*/
|
|
1054
|
+
items?: outputs.OneDashboardVariableItem[];
|
|
1055
|
+
/**
|
|
1056
|
+
* The title of the dashboard.
|
|
1057
|
+
*/
|
|
1058
|
+
name: string;
|
|
1059
|
+
/**
|
|
1060
|
+
* (Optional) Configuration for variables of type `nrql`. See Nested nrql\_query blocks for details.
|
|
1061
|
+
*/
|
|
1062
|
+
nrqlQuery?: outputs.OneDashboardVariableNrqlQuery;
|
|
1063
|
+
/**
|
|
1064
|
+
* (Optional) Indicates the strategy to apply when replacing a variable in a NRQL query. One of `default`, `identifier`, `number` or `string`.
|
|
1065
|
+
*/
|
|
1066
|
+
replacementStrategy: string;
|
|
1067
|
+
/**
|
|
1068
|
+
* (Optional) A human-friendly display string for this value.
|
|
1069
|
+
*/
|
|
1070
|
+
title: string;
|
|
1071
|
+
/**
|
|
1072
|
+
* (Required) Specifies the data type of the variable and where its possible values may come from. One of `enum`, `nrql` or `string`
|
|
1073
|
+
*/
|
|
1074
|
+
type: string;
|
|
1075
|
+
}
|
|
1076
|
+
export interface OneDashboardVariableItem {
|
|
1077
|
+
/**
|
|
1078
|
+
* (Optional) A human-friendly display string for this value.
|
|
1079
|
+
*/
|
|
1080
|
+
title?: string;
|
|
1081
|
+
/**
|
|
1082
|
+
* (Required) A possible variable value
|
|
1083
|
+
*/
|
|
1084
|
+
value: string;
|
|
1085
|
+
}
|
|
1086
|
+
export interface OneDashboardVariableNrqlQuery {
|
|
1087
|
+
accountIds?: number[];
|
|
1088
|
+
/**
|
|
1089
|
+
* (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.
|
|
1090
|
+
*/
|
|
1091
|
+
query: string;
|
|
1092
|
+
}
|
|
1050
1093
|
export interface ServiceLevelEvents {
|
|
1051
1094
|
/**
|
|
1052
1095
|
* The ID of the account where the entity (e.g, APM Service, Browser application, Workload, etc.) belongs to,
|
|
@@ -1071,6 +1114,10 @@ export interface ServiceLevelEventsBadEvents {
|
|
|
1071
1114
|
* The event type where NRDB data will be fetched from.
|
|
1072
1115
|
*/
|
|
1073
1116
|
from: string;
|
|
1117
|
+
/**
|
|
1118
|
+
* The NRQL SELECT clause to aggregate events.
|
|
1119
|
+
*/
|
|
1120
|
+
select?: outputs.ServiceLevelEventsBadEventsSelect;
|
|
1074
1121
|
/**
|
|
1075
1122
|
* A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity).
|
|
1076
1123
|
* a particular entity and were successful).
|
|
@@ -1078,11 +1125,25 @@ export interface ServiceLevelEventsBadEvents {
|
|
|
1078
1125
|
*/
|
|
1079
1126
|
where?: string;
|
|
1080
1127
|
}
|
|
1128
|
+
export interface ServiceLevelEventsBadEventsSelect {
|
|
1129
|
+
/**
|
|
1130
|
+
* The event attribute to use in the SELECT clause.
|
|
1131
|
+
*/
|
|
1132
|
+
attribute?: string;
|
|
1133
|
+
/**
|
|
1134
|
+
* The function to use in the SELECT clause. Valid values are `COUNT`and `SUM`.
|
|
1135
|
+
*/
|
|
1136
|
+
function: string;
|
|
1137
|
+
}
|
|
1081
1138
|
export interface ServiceLevelEventsGoodEvents {
|
|
1082
1139
|
/**
|
|
1083
1140
|
* The event type where NRDB data will be fetched from.
|
|
1084
1141
|
*/
|
|
1085
1142
|
from: string;
|
|
1143
|
+
/**
|
|
1144
|
+
* The NRQL SELECT clause to aggregate events.
|
|
1145
|
+
*/
|
|
1146
|
+
select?: outputs.ServiceLevelEventsGoodEventsSelect;
|
|
1086
1147
|
/**
|
|
1087
1148
|
* A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity).
|
|
1088
1149
|
* a particular entity and were successful).
|
|
@@ -1090,11 +1151,25 @@ export interface ServiceLevelEventsGoodEvents {
|
|
|
1090
1151
|
*/
|
|
1091
1152
|
where?: string;
|
|
1092
1153
|
}
|
|
1154
|
+
export interface ServiceLevelEventsGoodEventsSelect {
|
|
1155
|
+
/**
|
|
1156
|
+
* The event attribute to use in the SELECT clause.
|
|
1157
|
+
*/
|
|
1158
|
+
attribute?: string;
|
|
1159
|
+
/**
|
|
1160
|
+
* The function to use in the SELECT clause. Valid values are `COUNT`and `SUM`.
|
|
1161
|
+
*/
|
|
1162
|
+
function: string;
|
|
1163
|
+
}
|
|
1093
1164
|
export interface ServiceLevelEventsValidEvents {
|
|
1094
1165
|
/**
|
|
1095
1166
|
* The event type where NRDB data will be fetched from.
|
|
1096
1167
|
*/
|
|
1097
1168
|
from: string;
|
|
1169
|
+
/**
|
|
1170
|
+
* The NRQL SELECT clause to aggregate events.
|
|
1171
|
+
*/
|
|
1172
|
+
select?: outputs.ServiceLevelEventsValidEventsSelect;
|
|
1098
1173
|
/**
|
|
1099
1174
|
* A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity).
|
|
1100
1175
|
* a particular entity and were successful).
|
|
@@ -1102,6 +1177,16 @@ export interface ServiceLevelEventsValidEvents {
|
|
|
1102
1177
|
*/
|
|
1103
1178
|
where?: string;
|
|
1104
1179
|
}
|
|
1180
|
+
export interface ServiceLevelEventsValidEventsSelect {
|
|
1181
|
+
/**
|
|
1182
|
+
* The event attribute to use in the SELECT clause.
|
|
1183
|
+
*/
|
|
1184
|
+
attribute?: string;
|
|
1185
|
+
/**
|
|
1186
|
+
* The function to use in the SELECT clause. Valid values are `COUNT`and `SUM`.
|
|
1187
|
+
*/
|
|
1188
|
+
function: string;
|
|
1189
|
+
}
|
|
1105
1190
|
export interface ServiceLevelObjective {
|
|
1106
1191
|
/**
|
|
1107
1192
|
* The description of the SLI.
|
|
@@ -1137,70 +1222,79 @@ export interface ServiceLevelObjectiveTimeWindowRolling {
|
|
|
1137
1222
|
unit: string;
|
|
1138
1223
|
}
|
|
1139
1224
|
export interface WorkflowDestination {
|
|
1225
|
+
/**
|
|
1226
|
+
* id of a notificationChannel to use for notifications. Please note that you have to use a
|
|
1227
|
+
* **notification** channel, not an `alertChannel`.
|
|
1228
|
+
*/
|
|
1140
1229
|
channelId: string;
|
|
1141
1230
|
/**
|
|
1142
|
-
* A nrql enrichment name.
|
|
1231
|
+
* A nrql enrichment name. This name can be used in your notification templates (see notificationChannel documentation)
|
|
1143
1232
|
*/
|
|
1144
1233
|
name: string;
|
|
1145
1234
|
/**
|
|
1146
|
-
* the filter
|
|
1147
|
-
* * `predicate`
|
|
1235
|
+
* Type of the filter. Please just set this field to `FILTER`. The field is likely to be deprecated/removed in the near future.
|
|
1148
1236
|
*/
|
|
1149
1237
|
type: string;
|
|
1150
1238
|
}
|
|
1151
1239
|
export interface WorkflowEnrichments {
|
|
1240
|
+
/**
|
|
1241
|
+
* a wrapper block
|
|
1242
|
+
*/
|
|
1152
1243
|
nrqls: outputs.WorkflowEnrichmentsNrql[];
|
|
1153
1244
|
}
|
|
1154
1245
|
export interface WorkflowEnrichmentsNrql {
|
|
1155
1246
|
/**
|
|
1156
|
-
* Determines the New Relic account
|
|
1247
|
+
* Determines the New Relic account in which the workflow is created. Defaults to the account defined in the provider section.
|
|
1157
1248
|
*/
|
|
1158
1249
|
accountId: number;
|
|
1159
1250
|
/**
|
|
1160
|
-
*
|
|
1251
|
+
* Another wrapper block
|
|
1161
1252
|
*/
|
|
1162
1253
|
configurations: outputs.WorkflowEnrichmentsNrqlConfiguration[];
|
|
1163
1254
|
enrichmentId: string;
|
|
1164
1255
|
/**
|
|
1165
|
-
* A nrql enrichment name.
|
|
1256
|
+
* A nrql enrichment name. This name can be used in your notification templates (see notificationChannel documentation)
|
|
1166
1257
|
*/
|
|
1167
1258
|
name: string;
|
|
1168
1259
|
/**
|
|
1169
|
-
* the filter
|
|
1170
|
-
* * `predicate`
|
|
1260
|
+
* Type of the filter. Please just set this field to `FILTER`. The field is likely to be deprecated/removed in the near future.
|
|
1171
1261
|
*/
|
|
1172
1262
|
type: string;
|
|
1173
1263
|
}
|
|
1174
1264
|
export interface WorkflowEnrichmentsNrqlConfiguration {
|
|
1175
1265
|
/**
|
|
1176
|
-
*
|
|
1266
|
+
* An NRQL query to run
|
|
1177
1267
|
*/
|
|
1178
1268
|
query: string;
|
|
1179
1269
|
}
|
|
1180
1270
|
export interface WorkflowIssuesFilter {
|
|
1181
1271
|
filterId: string;
|
|
1182
1272
|
/**
|
|
1183
|
-
* A nrql enrichment name.
|
|
1273
|
+
* A nrql enrichment name. This name can be used in your notification templates (see notificationChannel documentation)
|
|
1184
1274
|
*/
|
|
1185
1275
|
name: string;
|
|
1276
|
+
/**
|
|
1277
|
+
* A condition an issue event should satisfy to be processed by the workflow
|
|
1278
|
+
*/
|
|
1186
1279
|
predicates?: outputs.WorkflowIssuesFilterPredicate[];
|
|
1187
1280
|
/**
|
|
1188
|
-
* the filter
|
|
1189
|
-
* * `predicate`
|
|
1281
|
+
* Type of the filter. Please just set this field to `FILTER`. The field is likely to be deprecated/removed in the near future.
|
|
1190
1282
|
*/
|
|
1191
1283
|
type: string;
|
|
1192
1284
|
}
|
|
1193
1285
|
export interface WorkflowIssuesFilterPredicate {
|
|
1194
1286
|
/**
|
|
1195
|
-
*
|
|
1287
|
+
* Issue event attribute to check
|
|
1196
1288
|
*/
|
|
1197
1289
|
attribute: string;
|
|
1198
1290
|
/**
|
|
1199
|
-
*
|
|
1291
|
+
* An operator to use to compare the attribute with the provided `values`.
|
|
1292
|
+
* One of: `CONTAINS`, `DOES_NOT_CONTAIN`, `EQUAL`, `DOES_NOT_EQUAL`, `DOES_NOT_EXACTLY_MATCH`, `STARTS_WITH`, `ENDS_WITH`,
|
|
1293
|
+
* `EXACTLY_MATCHES`, `IS`, `IS_NOT`, `LESS_OR_EQUAL`, `LESS_THAN`, `GREATER_OR_EQUAL`, `GREATER_THAN` (see the note below)
|
|
1200
1294
|
*/
|
|
1201
1295
|
operator: string;
|
|
1202
1296
|
/**
|
|
1203
|
-
*
|
|
1297
|
+
* The `attribute` must match **any** of the values in this list
|
|
1204
1298
|
*/
|
|
1205
1299
|
values: string[];
|
|
1206
1300
|
}
|
|
@@ -2089,6 +2183,16 @@ export declare namespace cloud {
|
|
|
2089
2183
|
*/
|
|
2090
2184
|
resourceGroups?: string[];
|
|
2091
2185
|
}
|
|
2186
|
+
interface AzureIntegrationsMysqlFlexible {
|
|
2187
|
+
/**
|
|
2188
|
+
* The data polling interval in seconds.
|
|
2189
|
+
*/
|
|
2190
|
+
metricsPollingInterval?: number;
|
|
2191
|
+
/**
|
|
2192
|
+
* Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive
|
|
2193
|
+
*/
|
|
2194
|
+
resourceGroups?: string[];
|
|
2195
|
+
}
|
|
2092
2196
|
interface AzureIntegrationsPostgresql {
|
|
2093
2197
|
/**
|
|
2094
2198
|
* The data polling interval in seconds.
|
|
@@ -2099,6 +2203,16 @@ export declare namespace cloud {
|
|
|
2099
2203
|
*/
|
|
2100
2204
|
resourceGroups?: string[];
|
|
2101
2205
|
}
|
|
2206
|
+
interface AzureIntegrationsPostgresqlFlexible {
|
|
2207
|
+
/**
|
|
2208
|
+
* The data polling interval in seconds.
|
|
2209
|
+
*/
|
|
2210
|
+
metricsPollingInterval?: number;
|
|
2211
|
+
/**
|
|
2212
|
+
* Specify each Resource group associated with the resources that you want to monitor. Filter values are case-sensitive
|
|
2213
|
+
*/
|
|
2214
|
+
resourceGroups?: string[];
|
|
2215
|
+
}
|
|
2102
2216
|
interface AzureIntegrationsPowerBiDedicated {
|
|
2103
2217
|
/**
|
|
2104
2218
|
* The data polling interval in seconds.
|
|
@@ -2199,6 +2313,12 @@ export declare namespace cloud {
|
|
|
2199
2313
|
*/
|
|
2200
2314
|
resourceGroups?: string[];
|
|
2201
2315
|
}
|
|
2316
|
+
interface GcpIntegrationsAlloyDb {
|
|
2317
|
+
/**
|
|
2318
|
+
* The data polling interval in seconds.
|
|
2319
|
+
*/
|
|
2320
|
+
metricsPollingInterval?: number;
|
|
2321
|
+
}
|
|
2202
2322
|
interface GcpIntegrationsAppEngine {
|
|
2203
2323
|
/**
|
|
2204
2324
|
* The data polling interval in seconds.
|
|
@@ -2385,6 +2505,96 @@ export declare namespace plugins {
|
|
|
2385
2505
|
*/
|
|
2386
2506
|
query: string;
|
|
2387
2507
|
}
|
|
2508
|
+
interface WorkloadStatusConfigAutomatic {
|
|
2509
|
+
/**
|
|
2510
|
+
* Whether the static status configuration is enabled or not.
|
|
2511
|
+
*/
|
|
2512
|
+
enabled: boolean;
|
|
2513
|
+
/**
|
|
2514
|
+
* 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.
|
|
2515
|
+
*/
|
|
2516
|
+
remainingEntitiesRule?: outputs.plugins.WorkloadStatusConfigAutomaticRemainingEntitiesRule;
|
|
2517
|
+
/**
|
|
2518
|
+
* The input object used to represent a rollup strategy. See Nested rule blocks below for details.
|
|
2519
|
+
*/
|
|
2520
|
+
rules?: outputs.plugins.WorkloadStatusConfigAutomaticRule[];
|
|
2521
|
+
}
|
|
2522
|
+
interface WorkloadStatusConfigAutomaticRemainingEntitiesRule {
|
|
2523
|
+
/**
|
|
2524
|
+
* The input object used to represent a rollup strategy. See Nested remainingEntitiesRuleRollup blocks below for details.
|
|
2525
|
+
*/
|
|
2526
|
+
remainingEntitiesRuleRollup: outputs.plugins.WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollup;
|
|
2527
|
+
}
|
|
2528
|
+
interface WorkloadStatusConfigAutomaticRemainingEntitiesRuleRemainingEntitiesRuleRollup {
|
|
2529
|
+
/**
|
|
2530
|
+
* The grouping to be applied to the remaining entities.
|
|
2531
|
+
*/
|
|
2532
|
+
groupBy: string;
|
|
2533
|
+
/**
|
|
2534
|
+
* The rollup strategy that is applied to a group of entities.
|
|
2535
|
+
*/
|
|
2536
|
+
strategy: string;
|
|
2537
|
+
/**
|
|
2538
|
+
* 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.
|
|
2539
|
+
*/
|
|
2540
|
+
thresholdType?: string;
|
|
2541
|
+
/**
|
|
2542
|
+
* 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.
|
|
2543
|
+
*/
|
|
2544
|
+
thresholdValue?: number;
|
|
2545
|
+
}
|
|
2546
|
+
interface WorkloadStatusConfigAutomaticRule {
|
|
2547
|
+
/**
|
|
2548
|
+
* A list of entity GUIDs composing the rule. At least one of `entityGuids` or `nrqlQuery` must be defined.
|
|
2549
|
+
*/
|
|
2550
|
+
entityGuids: string[];
|
|
2551
|
+
/**
|
|
2552
|
+
* 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.
|
|
2553
|
+
*/
|
|
2554
|
+
nrqlQueries?: outputs.plugins.WorkloadStatusConfigAutomaticRuleNrqlQuery[];
|
|
2555
|
+
/**
|
|
2556
|
+
* The input object used to represent a rollup strategy. See Nested rollup blocks below for details.
|
|
2557
|
+
*/
|
|
2558
|
+
rollup: outputs.plugins.WorkloadStatusConfigAutomaticRuleRollup;
|
|
2559
|
+
}
|
|
2560
|
+
interface WorkloadStatusConfigAutomaticRuleNrqlQuery {
|
|
2561
|
+
/**
|
|
2562
|
+
* The entity search query that is used to perform the search of a group of entities.
|
|
2563
|
+
*/
|
|
2564
|
+
query: string;
|
|
2565
|
+
}
|
|
2566
|
+
interface WorkloadStatusConfigAutomaticRuleRollup {
|
|
2567
|
+
/**
|
|
2568
|
+
* The rollup strategy that is applied to a group of entities.
|
|
2569
|
+
*/
|
|
2570
|
+
strategy: string;
|
|
2571
|
+
/**
|
|
2572
|
+
* 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.
|
|
2573
|
+
*/
|
|
2574
|
+
thresholdType?: string;
|
|
2575
|
+
/**
|
|
2576
|
+
* 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.
|
|
2577
|
+
*/
|
|
2578
|
+
thresholdValue?: number;
|
|
2579
|
+
}
|
|
2580
|
+
interface WorkloadStatusConfigStatic {
|
|
2581
|
+
/**
|
|
2582
|
+
* A description that provides additional details about the status of the workload.
|
|
2583
|
+
*/
|
|
2584
|
+
description?: string;
|
|
2585
|
+
/**
|
|
2586
|
+
* Whether the static status configuration is enabled or not.
|
|
2587
|
+
*/
|
|
2588
|
+
enabled: boolean;
|
|
2589
|
+
/**
|
|
2590
|
+
* The status of the workload.
|
|
2591
|
+
*/
|
|
2592
|
+
status: string;
|
|
2593
|
+
/**
|
|
2594
|
+
* A short description of the status of the workload.
|
|
2595
|
+
*/
|
|
2596
|
+
summary?: string;
|
|
2597
|
+
}
|
|
2388
2598
|
}
|
|
2389
2599
|
export declare namespace synthetics {
|
|
2390
2600
|
interface BrokenLinksMonitorTag {
|