@pulumi/wavefront 1.2.0-alpha.1663005863 → 1.2.0-alpha.1669657115

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 (129) hide show
  1. package/alert.d.ts +12 -0
  2. package/alert.js +24 -22
  3. package/alert.js.map +1 -1
  4. package/alertTarget.d.ts +2 -1
  5. package/alertTarget.js +22 -22
  6. package/alertTarget.js.map +1 -1
  7. package/cloudIntegrationAppDynamics.js +25 -23
  8. package/cloudIntegrationAppDynamics.js.map +1 -1
  9. package/cloudIntegrationAwsExternalId.js +12 -12
  10. package/cloudIntegrationAwsExternalId.js.map +1 -1
  11. package/cloudIntegrationAzure.js +25 -23
  12. package/cloudIntegrationAzure.js.map +1 -1
  13. package/cloudIntegrationAzureActivityLog.js +25 -23
  14. package/cloudIntegrationAzureActivityLog.js.map +1 -1
  15. package/cloudIntegrationCloudTrail.js +22 -22
  16. package/cloudIntegrationCloudTrail.js.map +1 -1
  17. package/cloudIntegrationCloudWatch.js +22 -22
  18. package/cloudIntegrationCloudWatch.js.map +1 -1
  19. package/cloudIntegrationEc2.js +22 -22
  20. package/cloudIntegrationEc2.js.map +1 -1
  21. package/cloudIntegrationGcp.js +25 -23
  22. package/cloudIntegrationGcp.js.map +1 -1
  23. package/cloudIntegrationGcpBilling.js +26 -24
  24. package/cloudIntegrationGcpBilling.js.map +1 -1
  25. package/cloudIntegrationNewRelic.d.ts +2 -1
  26. package/cloudIntegrationNewRelic.js +25 -23
  27. package/cloudIntegrationNewRelic.js.map +1 -1
  28. package/dashboard.d.ts +2 -1
  29. package/dashboard.js +22 -22
  30. package/dashboard.js.map +1 -1
  31. package/dashboardJson.d.ts +2 -0
  32. package/dashboardJson.js +19 -17
  33. package/dashboardJson.js.map +1 -1
  34. package/derivedMetric.js +22 -22
  35. package/derivedMetric.js.map +1 -1
  36. package/event.d.ts +120 -0
  37. package/event.js +87 -0
  38. package/event.js.map +1 -0
  39. package/externalLink.js +22 -22
  40. package/externalLink.js.map +1 -1
  41. package/getAlert.d.ts +145 -0
  42. package/getAlert.js +38 -0
  43. package/getAlert.js.map +1 -0
  44. package/getAlerts.d.ts +61 -0
  45. package/getAlerts.js +40 -0
  46. package/getAlerts.js.map +1 -0
  47. package/getDashboard.d.ts +112 -0
  48. package/getDashboard.js +37 -0
  49. package/getDashboard.js.map +1 -0
  50. package/getDashboards.d.ts +61 -0
  51. package/getDashboards.js +40 -0
  52. package/getDashboards.js.map +1 -0
  53. package/getDerivedMetric.d.ts +133 -0
  54. package/getDerivedMetric.js +37 -0
  55. package/getDerivedMetric.js.map +1 -0
  56. package/getDerivedMetrics.d.ts +61 -0
  57. package/getDerivedMetrics.js +40 -0
  58. package/getDerivedMetrics.js.map +1 -0
  59. package/getEvent.d.ts +78 -0
  60. package/getEvent.js +37 -0
  61. package/getEvent.js.map +1 -0
  62. package/getEvents.d.ts +87 -0
  63. package/getEvents.js +43 -0
  64. package/getEvents.js.map +1 -0
  65. package/getExternalLink.d.ts +94 -0
  66. package/getExternalLink.js +37 -0
  67. package/getExternalLink.js.map +1 -0
  68. package/getExternalLinks.d.ts +61 -0
  69. package/getExternalLinks.js +40 -0
  70. package/getExternalLinks.js.map +1 -0
  71. package/getMaintenanceWindow.d.ts +119 -0
  72. package/getMaintenanceWindow.js +37 -0
  73. package/getMaintenanceWindow.js.map +1 -0
  74. package/getMaintenanceWindowAll.d.ts +30 -0
  75. package/getMaintenanceWindowAll.js +24 -0
  76. package/getMaintenanceWindowAll.js.map +1 -0
  77. package/getMetricsPolicy.d.ts +16 -0
  78. package/getMetricsPolicy.js +16 -0
  79. package/getMetricsPolicy.js.map +1 -0
  80. package/getRole.d.ts +57 -0
  81. package/getRole.js +37 -0
  82. package/getRole.js.map +1 -0
  83. package/getRoles.d.ts +61 -0
  84. package/getRoles.js +40 -0
  85. package/getRoles.js.map +1 -0
  86. package/getUser.d.ts +60 -0
  87. package/getUser.js +37 -0
  88. package/getUser.js.map +1 -0
  89. package/getUserGroup.d.ts +61 -0
  90. package/getUserGroup.js +37 -0
  91. package/getUserGroup.js.map +1 -0
  92. package/getUserGroups.d.ts +61 -0
  93. package/getUserGroups.js +40 -0
  94. package/getUserGroups.js.map +1 -0
  95. package/getUsers.d.ts +29 -0
  96. package/getUsers.js +29 -0
  97. package/getUsers.js.map +1 -0
  98. package/index.d.ts +132 -25
  99. package/index.js +138 -92
  100. package/index.js.map +1 -1
  101. package/ingestionPolicy.d.ts +3 -0
  102. package/ingestionPolicy.js +24 -19
  103. package/ingestionPolicy.js.map +1 -1
  104. package/maintenanceWindow.js +22 -22
  105. package/maintenanceWindow.js.map +1 -1
  106. package/metricsPolicy.d.ts +83 -0
  107. package/metricsPolicy.js +73 -0
  108. package/metricsPolicy.js.map +1 -0
  109. package/package.json +4 -3
  110. package/package.json.bak +2 -1
  111. package/package.json.dev +4 -3
  112. package/provider.js +10 -10
  113. package/provider.js.map +1 -1
  114. package/role.js +20 -20
  115. package/role.js.map +1 -1
  116. package/serviceAccount.js +22 -22
  117. package/serviceAccount.js.map +1 -1
  118. package/types/index.js.map +1 -1
  119. package/types/input.d.ts +49 -1
  120. package/types/output.d.ts +1157 -1
  121. package/user.js +22 -22
  122. package/user.js.map +1 -1
  123. package/userGroup.js +19 -19
  124. package/userGroup.js.map +1 -1
  125. package/utilities.js +13 -1
  126. package/utilities.js.map +1 -1
  127. package/cloudIntegrationTesla.d.ts +0 -150
  128. package/cloudIntegrationTesla.js +0 -94
  129. package/cloudIntegrationTesla.js.map +0 -1
package/types/output.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { output as outputs } from "../types";
1
+ import * as outputs from "../types/output";
2
2
  export interface AlertTargetRoute {
3
3
  filter?: {
4
4
  [key: string]: string;
@@ -391,3 +391,1159 @@ export interface DashboardSectionRowChartSource {
391
391
  */
392
392
  sourceDescription?: string;
393
393
  }
394
+ export interface GetAlertFailingHostLabelPair {
395
+ firing: number;
396
+ host: string;
397
+ }
398
+ export interface GetAlertInMaintenanceHostLabelPair {
399
+ firing: number;
400
+ host: string;
401
+ }
402
+ export interface GetAlertsAlert {
403
+ /**
404
+ * User-supplied additional explanatory information about this alert.
405
+ */
406
+ additionalInformation: string;
407
+ alertType: string;
408
+ /**
409
+ * A list of users or groups that can modify the alert.
410
+ */
411
+ canModifies: string[];
412
+ /**
413
+ * A list of users or groups that can view the alert.
414
+ */
415
+ canViews: string[];
416
+ /**
417
+ * A Wavefront query that is evaluated at regular intervals (default is 1 minute). The alert fires and notifications are triggered when a data series matching this query evaluates to a non-zero value for a set number of consecutive minutes.
418
+ */
419
+ condition: string;
420
+ /**
421
+ * A map of severity to condition for which this alert will trigger.
422
+ */
423
+ conditions: {
424
+ [key: string]: string;
425
+ };
426
+ /**
427
+ * A second query the results of which are displayed in the alert user interface instead of the condition query.
428
+ */
429
+ displayExpression: string;
430
+ /**
431
+ * A Boolean flag to enable real-time evaluation.
432
+ */
433
+ evaluateRealtimeData: boolean;
434
+ /**
435
+ * A list of failing host label pairs.
436
+ */
437
+ failingHostLabelPairs: outputs.GetAlertsAlertFailingHostLabelPair[];
438
+ /**
439
+ * The ID of the alert in Wavefront.
440
+ * * `alertType`- The type of alert in Wavefront.
441
+ */
442
+ id: string;
443
+ /**
444
+ * A list of in maintenance host label pairs.
445
+ */
446
+ inMaintenanceHostLabelPairs: outputs.GetAlertsAlertInMaintenanceHostLabelPair[];
447
+ /**
448
+ * A Boolean flag indicating whether to include obsolete metrics or not.
449
+ */
450
+ includeObsoleteMetrics: boolean;
451
+ /**
452
+ * The number of consecutive minutes that a series matching the condition query must evaluate to "true" (non-zero value) before the alert fires.
453
+ */
454
+ minutes: number;
455
+ /**
456
+ * The name of the alert as it is displayed in Wavefront.
457
+ */
458
+ name: string;
459
+ /**
460
+ * How often to re-trigger a continually failing alert.
461
+ */
462
+ notificationResendFrequencyMinutes: number;
463
+ /**
464
+ * The specified query is executed every `processRateMinutes` minutes.
465
+ */
466
+ processRateMinutes: number;
467
+ /**
468
+ * The number of consecutive minutes that a firing series matching the condition query must evaluate to "false" (zero value) before the alert resolves.
469
+ */
470
+ resolveAfterMinutes: number;
471
+ /**
472
+ * The severity of the alert.
473
+ */
474
+ severity: string;
475
+ severityLists: string[];
476
+ /**
477
+ * The status of the alert.
478
+ */
479
+ statuses: string[];
480
+ /**
481
+ * A set of tags assigned to the alert.
482
+ */
483
+ tags: string[];
484
+ /**
485
+ * An email address or integration endpoint (such as PagerDuty or webhook) to notify when the alert status changes.
486
+ */
487
+ target: string;
488
+ /**
489
+ * A comma-separated list of the email addresses or integration endpoints (such as PagerDuty or webhook) to notify when the alert status changes. Multiple target types can be in the list.
490
+ */
491
+ targets?: {
492
+ [key: string]: string;
493
+ };
494
+ }
495
+ export interface GetAlertsAlertFailingHostLabelPair {
496
+ firing: number;
497
+ host: string;
498
+ }
499
+ export interface GetAlertsAlertInMaintenanceHostLabelPair {
500
+ firing: number;
501
+ host: string;
502
+ }
503
+ export interface GetDashboardParameterDetail {
504
+ /**
505
+ * The default value of the parameter.
506
+ */
507
+ defaultValue: string;
508
+ /**
509
+ * For `DYNAMIC` parameter types, the type of the field. Valid options are `SOURCE`,
510
+ * `SOURCE_TAG`, `METRIC_NAME`, `TAG_KEY`, and `MATCHING_SOURCE_TAG`.
511
+ */
512
+ dynamicFieldType: string;
513
+ /**
514
+ * If `true` the parameter will only be shown on the edit view of the dashboard.
515
+ */
516
+ hideFromView: boolean;
517
+ /**
518
+ * The label for the parameter.
519
+ */
520
+ label: string;
521
+ /**
522
+ * The type of the parameter. `SIMPLE`, `LIST`, or `DYNAMIC`.
523
+ */
524
+ parameterType: string;
525
+ /**
526
+ * For `DYNAMIC` parameter types, the query to execute to return values.
527
+ */
528
+ queryValue: string;
529
+ /**
530
+ * For `TAG_KEY` dynamic field types, the tag key to return.
531
+ */
532
+ tagKey: string;
533
+ /**
534
+ * A string to string map. At least one of the keys must match the value of
535
+ * `defaultValue`.
536
+ */
537
+ valuesToReadableStrings: {
538
+ [key: string]: string;
539
+ };
540
+ }
541
+ export interface GetDashboardSection {
542
+ /**
543
+ * The name of the parameters.
544
+ */
545
+ name: string;
546
+ rows: outputs.GetDashboardSectionRow[];
547
+ }
548
+ export interface GetDashboardSectionRow {
549
+ charts: outputs.GetDashboardSectionRowChart[];
550
+ heightFactor: number;
551
+ /**
552
+ * The name of the parameters.
553
+ */
554
+ name: string;
555
+ }
556
+ export interface GetDashboardSectionRowChart {
557
+ /**
558
+ * The base of logarithmic scale charts. Omit or set to 0 for the default linear scale. Usually set to 10 for the traditional logarithmic scale.
559
+ */
560
+ base: number;
561
+ chartAttributes: string;
562
+ chartSettings: outputs.GetDashboardSectionRowChartChartSetting[];
563
+ /**
564
+ * Description of the chart.
565
+ */
566
+ description: string;
567
+ includeObsoleteMetrics: boolean;
568
+ interpolatePointsKey: boolean;
569
+ /**
570
+ * The name of the parameters.
571
+ */
572
+ name: string;
573
+ noDefaultEvents: boolean;
574
+ sources: outputs.GetDashboardSectionRowChartSource[];
575
+ /**
576
+ * Summarization strategy for the chart. MEAN is default.
577
+ */
578
+ summarization: string;
579
+ /**
580
+ * String to label the units of the chart on the Y-Axis.
581
+ */
582
+ units: string;
583
+ }
584
+ export interface GetDashboardSectionRowChartChartSetting {
585
+ /**
586
+ * This setting is deprecated.
587
+ */
588
+ autoColumnTags: boolean;
589
+ /**
590
+ * This setting is deprecated.
591
+ */
592
+ columnTags: string;
593
+ /**
594
+ * For the tabular view, a list of point tags to display when using the `custom` tag display mode.
595
+ */
596
+ customTags: string[];
597
+ /**
598
+ * Threshold (in seconds) for time delta between consecutive points in a series above which a dotted line will replace a solid in line plots. Default is 60.
599
+ */
600
+ expectedDataSpacing: number;
601
+ /**
602
+ * (Optional) For a chart with a fixed legend, a list of statistics to display in the legend.
603
+ */
604
+ fixedLegendDisplayStats: string[];
605
+ /**
606
+ * (Optional) Whether to enable a fixed tabular legend adjacent to the chart.
607
+ */
608
+ fixedLegendEnabled: boolean;
609
+ /**
610
+ * (Optional) Statistic to use for determining whether a series is displayed on the fixed legend. Valid options are `CURRENT`, `MEAN`, `MEDIAN`, `SUM`, `MIN`, `MAX`, and `COUNT`.
611
+ */
612
+ fixedLegendFilterField: string;
613
+ /**
614
+ * (Optional) Number of series to include in the fixed legend.
615
+ */
616
+ fixedLegendFilterLimit: number;
617
+ /**
618
+ * (Optional) Whether to display `TOP` or `BOTTOM` ranked series in a fixed legend. Valid options are `TOP`, and `BOTTOM`.
619
+ */
620
+ fixedLegendFilterSort: string;
621
+ /**
622
+ * (Optional) This setting is deprecated.
623
+ */
624
+ fixedLegendHideLabel: boolean;
625
+ /**
626
+ * (Optional) Where the fixed legend should be displayed with respect to the chart. Valid options are `RIGHT`, `TOP`, `LEFT`, `BOTTOM`.
627
+ */
628
+ fixedLegendPosition: string;
629
+ /**
630
+ * (Optional) If `true`, the legend uses non-summarized stats instead of summarized.
631
+ */
632
+ fixedLegendUseRawStats: boolean;
633
+ /**
634
+ * For the tabular view, whether to group multi metrics into a single row by a common source. If set to `false`, each source is displayed in its own row. If set to `true`, multiple metrics for the same host are displayed as different columns in the same row.
635
+ */
636
+ groupBySource: boolean;
637
+ /**
638
+ * (Optional) Whether to disable the display of the floating legend (but reenable it when the ctrl-key is pressed).
639
+ */
640
+ invertDynamicLegendHoverControl: boolean;
641
+ /**
642
+ * Plot interpolation type. `linear` is default. Valid options are `linear`, `step-before`, `step-after`, `basis`, `cardinal`, and `monotone`.
643
+ */
644
+ lineType: string;
645
+ /**
646
+ * Max value of the Y-axis. Set to null or leave blank for auto.
647
+ */
648
+ max: number;
649
+ /**
650
+ * Min value of the Y-axis. Set to null or leave blank for auto.
651
+ */
652
+ min: number;
653
+ /**
654
+ * For the tabular view defines how many point tags to display.
655
+ */
656
+ numTags: number;
657
+ /**
658
+ * The markdown content for a Markdown display, in plain text.
659
+ */
660
+ plainMarkdownContent: string;
661
+ /**
662
+ * For the tabular view, whether to display sources. Default is `true`.
663
+ */
664
+ showHosts: boolean;
665
+ /**
666
+ * For the tabular view, whether to display labels. Default is `true`.
667
+ */
668
+ showLabels: boolean;
669
+ /**
670
+ * For the tabular view, whether to display raw values. Default is `false`.
671
+ */
672
+ showRawValues: boolean;
673
+ /**
674
+ * For the tabular view, whether to display values in descending order. Default is `false`.
675
+ */
676
+ sortValuesDescending: boolean;
677
+ /**
678
+ * For the single stat view, the decimal precision of the displayed number.
679
+ */
680
+ sparklineDecimalPrecision: number;
681
+ /**
682
+ * For the single stat view, the color of the displayed text (when not dynamically determined). Values should be in RGBA format.
683
+ */
684
+ sparklineDisplayColor: string;
685
+ /**
686
+ * For the single stat view, the font size of the displayed text, in percent.
687
+ */
688
+ sparklineDisplayFontSize: string;
689
+ /**
690
+ * For the single stat view, the horizontal position of the displayed text. Valid options are `MIDDLE`, `LEFT`, `RIGHT`.
691
+ */
692
+ sparklineDisplayHorizontalPosition: string;
693
+ /**
694
+ * For the single stat view, a string to append to the displayed text.
695
+ */
696
+ sparklineDisplayPostfix: string;
697
+ /**
698
+ * For the single stat view, a string to add before the displayed text.
699
+ */
700
+ sparklineDisplayPrefix: string;
701
+ /**
702
+ * For the single stat view, where to display the name of the query or the value of the query. Valid options are `VALUE` or `LABEL`.
703
+ */
704
+ sparklineDisplayValueType: string;
705
+ /**
706
+ * This setting is deprecated.
707
+ */
708
+ sparklineDisplayVerticalPosition: string;
709
+ /**
710
+ * For the single stat view, the color of the background fill. Values should be in RGBA format.
711
+ */
712
+ sparklineFillColor: string;
713
+ /**
714
+ * For the single stat view, the color of the line. Values should be in RGBA format.
715
+ */
716
+ sparklineLineColor: string;
717
+ /**
718
+ * For the single stat view, this determines whether the sparkline of the statistic is displayed in the chart. Valid options are `BACKGROUND`, `BOTTOM`, `NONE`.
719
+ */
720
+ sparklineSize: string;
721
+ /**
722
+ * For the single stat view, whether to apply dynamic color settings to the displayed `TEXT` or `BACKGROUND`. Valid options are `TEXT` or `BACKGROUND`.
723
+ */
724
+ sparklineValueColorMapApplyTo: string;
725
+ /**
726
+ * For the single stat view, a list of colors that differing query values map to. Must contain one more element than `sparklineValueColorMapValuesV2`. Values should be in RGBA format.
727
+ */
728
+ sparklineValueColorMapColors: string[];
729
+ /**
730
+ * This setting is deprecated.
731
+ */
732
+ sparklineValueColorMapValues: number[];
733
+ /**
734
+ * For the single stat view, a list of boundaries for mapping different query values to colors. Must contain one element less than `sparklineValueColorMapColors`.
735
+ */
736
+ sparklineValueColorMapValuesV2s: number[];
737
+ /**
738
+ * For the single stat view, a list of display text values that different query values map to. Must contain one more element than `sparklineValueTextMapThresholds`.
739
+ */
740
+ sparklineValueTextMapTexts: string[];
741
+ /**
742
+ * For the single stat view, a list of threshold boundaries for mapping different query values to display text. Must contain one element less than `sparklineValueTextMapText`.
743
+ */
744
+ sparklineValueTextMapThresholds: number[];
745
+ /**
746
+ * Type of stacked chart (applicable only if chart type is `stacked`). `zero` (default) means stacked from y=0. `expand` means normalized from 0 to 1. `wiggle` means minimize weighted changes. `silhouette` means to center the stream. Valid options are `zero`, `expand`, `wiggle`, `silhouette`, and `bars`.
747
+ */
748
+ stackType: string;
749
+ /**
750
+ * For the tabular view, which mode to use to determine which point tags to display. Valid options are `all`, `top`, or `custom`.
751
+ */
752
+ tagMode: string;
753
+ /**
754
+ * For x-y scatterplots, whether to color more recent points as darker than older points.
755
+ */
756
+ timeBasedColoring: boolean;
757
+ /**
758
+ * Chart Type. `line` refers to the Line Plot, `scatter` to the Point Plot, `stacked-area` to the Stacked Area plot, `table` to the Tabular View, `scatterplot-xy` to Scatter Plot, `markdown-widget` to the Markdown display, and `sparkline` to the Single Stat view. Valid options are `line`, `scatterplot`,
759
+ * `stacked-area`, `stacked-column`, `table`, `scatterplot-xy`, `markdown-widget`, `sparkline`, `globe`, `nodemap`, `top-k`, `status-list`, and `histogram`.
760
+ */
761
+ type: string;
762
+ /**
763
+ * Width, in minutes, of the time window to use for `last` windowing.
764
+ */
765
+ windowSize: number;
766
+ /**
767
+ * For the tabular view, whether to use the full time window for the query or the last X minutes. Valid options are `full` or `last`.
768
+ */
769
+ windowing: string;
770
+ /**
771
+ * For x-y scatterplots, max value for the X-axis. Set to null for auto.
772
+ */
773
+ xmax: number;
774
+ /**
775
+ * For x-y scatterplots, min value for the X-axis. Set to null for auto.
776
+ */
777
+ xmin: number;
778
+ y0ScaleSiBy1024: boolean;
779
+ /**
780
+ * (Optional) Whether to automatically adjust magnitude labels and units for the left Y-axis to favor smaller magnitudes and larger units.
781
+ */
782
+ y0UnitAutoscaling: boolean;
783
+ y1Max: number;
784
+ y1Min: number;
785
+ y1ScaleSiBy1024: boolean;
786
+ /**
787
+ * (Optional) Whether to automatically adjust magnitude labels and units for the right Y-axis to favor smaller magnitudes and larger units.
788
+ */
789
+ y1UnitAutoscaling: boolean;
790
+ /**
791
+ * For plots with multiple Y-axes, units for right side Y-axis.
792
+ */
793
+ y1Units: string;
794
+ /**
795
+ * For x-y scatterplots, max value for the Y-axis. Set to null for auto.
796
+ */
797
+ ymax: number;
798
+ /**
799
+ * For x-y scatterplots, min value for the Y-axis. Set to null for auto.
800
+ */
801
+ ymin: number;
802
+ }
803
+ export interface GetDashboardSectionRowChartSource {
804
+ /**
805
+ * Whether the source is disabled.
806
+ */
807
+ disabled: boolean;
808
+ /**
809
+ * The name of the parameters.
810
+ */
811
+ name: string;
812
+ /**
813
+ * Query expression to plot on the chart.
814
+ */
815
+ query: string;
816
+ querybuilderEnabled: boolean;
817
+ /**
818
+ * For scatter plots, does this query source the X-axis or the Y-axis, `X`, or `Y`.
819
+ */
820
+ scatterPlotSource: string;
821
+ secondaryAxis: boolean;
822
+ sourceColor: string;
823
+ /**
824
+ * A description for the purpose of this source.
825
+ */
826
+ sourceDescription: string;
827
+ }
828
+ export interface GetDashboardsDashboard {
829
+ /**
830
+ * A list of users that have modify ACL access to the dashboard.
831
+ */
832
+ canModifies: string[];
833
+ /**
834
+ * A list of users that have view ACL access to the dashboard.
835
+ */
836
+ canViews: string[];
837
+ chartTitleBgColor: string;
838
+ chartTitleColor: string;
839
+ chartTitleScalar: number;
840
+ createdEpochMillis: number;
841
+ creatorId: string;
842
+ customer: string;
843
+ defaultEndTime: number;
844
+ defaultStartTime: number;
845
+ defaultTimeWindow: string;
846
+ deleted: boolean;
847
+ /**
848
+ * Description of the chart.
849
+ */
850
+ description: string;
851
+ displayDescription: boolean;
852
+ /**
853
+ * Whether the dashboard parameters section is opened by default when the dashboard is shown.
854
+ */
855
+ displayQueryParameters: boolean;
856
+ /**
857
+ * Whether the "pills" quick-linked the sections of the dashboard are displayed by default when the dashboard is shown.
858
+ */
859
+ displaySectionTableOfContents: boolean;
860
+ /**
861
+ * How charts belonging to this dashboard should display events. `BYCHART` is default if
862
+ * unspecified. Valid options are: `BYCHART`, `AUTOMATIC`, `ALL`, `NONE`, `BYDASHBOARD`, and `BYCHARTANDDASHBOARD`.
863
+ */
864
+ eventFilterType: string;
865
+ eventQuery: string;
866
+ favorite: boolean;
867
+ hidden: boolean;
868
+ id: string;
869
+ /**
870
+ * The name of the parameters.
871
+ */
872
+ name: string;
873
+ numCharts: number;
874
+ numFavorites: number;
875
+ /**
876
+ * The current JSON representation of dashboard parameters. See parameter details.
877
+ */
878
+ parameterDetails: outputs.GetDashboardsDashboardParameterDetail[];
879
+ parameters: {
880
+ [key: string]: any;
881
+ };
882
+ sections: outputs.GetDashboardsDashboardSection[];
883
+ systemOwned: boolean;
884
+ /**
885
+ * A set of tags to assign to this resource.
886
+ */
887
+ tags: string[];
888
+ updatedEpochMillis: number;
889
+ updaterId: string;
890
+ /**
891
+ * Unique identifier, also a URL slug of the dashboard.
892
+ */
893
+ url: string;
894
+ viewsLastDay: number;
895
+ viewsLastMonth: number;
896
+ viewsLastWeek: number;
897
+ }
898
+ export interface GetDashboardsDashboardParameterDetail {
899
+ /**
900
+ * The default value of the parameter.
901
+ */
902
+ defaultValue: string;
903
+ /**
904
+ * For `DYNAMIC` parameter types, the type of the field. Valid options are `SOURCE`,
905
+ * `SOURCE_TAG`, `METRIC_NAME`, `TAG_KEY`, and `MATCHING_SOURCE_TAG`.
906
+ */
907
+ dynamicFieldType: string;
908
+ /**
909
+ * If `true` the parameter will only be shown on the edit view of the dashboard.
910
+ */
911
+ hideFromView: boolean;
912
+ /**
913
+ * The label for the parameter.
914
+ */
915
+ label: string;
916
+ /**
917
+ * The type of the parameter. `SIMPLE`, `LIST`, or `DYNAMIC`.
918
+ */
919
+ parameterType: string;
920
+ /**
921
+ * For `DYNAMIC` parameter types, the query to execute to return values.
922
+ */
923
+ queryValue: string;
924
+ /**
925
+ * For `TAG_KEY` dynamic field types, the tag key to return.
926
+ */
927
+ tagKey: string;
928
+ /**
929
+ * A string to string map. At least one of the keys must match the value of
930
+ * `defaultValue`.
931
+ */
932
+ valuesToReadableStrings: {
933
+ [key: string]: string;
934
+ };
935
+ }
936
+ export interface GetDashboardsDashboardSection {
937
+ /**
938
+ * The name of the parameters.
939
+ */
940
+ name: string;
941
+ rows: outputs.GetDashboardsDashboardSectionRow[];
942
+ }
943
+ export interface GetDashboardsDashboardSectionRow {
944
+ charts: outputs.GetDashboardsDashboardSectionRowChart[];
945
+ heightFactor: number;
946
+ /**
947
+ * The name of the parameters.
948
+ */
949
+ name: string;
950
+ }
951
+ export interface GetDashboardsDashboardSectionRowChart {
952
+ /**
953
+ * The base of logarithmic scale charts. Omit or set to 0 for the default linear scale. Usually set to 10 for the traditional logarithmic scale.
954
+ */
955
+ base: number;
956
+ chartAttributes: string;
957
+ chartSettings: outputs.GetDashboardsDashboardSectionRowChartChartSetting[];
958
+ /**
959
+ * Description of the chart.
960
+ */
961
+ description: string;
962
+ includeObsoleteMetrics: boolean;
963
+ interpolatePointsKey: boolean;
964
+ /**
965
+ * The name of the parameters.
966
+ */
967
+ name: string;
968
+ noDefaultEvents: boolean;
969
+ sources: outputs.GetDashboardsDashboardSectionRowChartSource[];
970
+ /**
971
+ * Summarization strategy for the chart. MEAN is default.
972
+ */
973
+ summarization: string;
974
+ /**
975
+ * String to label the units of the chart on the Y-Axis.
976
+ */
977
+ units: string;
978
+ }
979
+ export interface GetDashboardsDashboardSectionRowChartChartSetting {
980
+ /**
981
+ * This setting is deprecated.
982
+ */
983
+ autoColumnTags: boolean;
984
+ /**
985
+ * This setting is deprecated.
986
+ */
987
+ columnTags: string;
988
+ /**
989
+ * For the tabular view, a list of point tags to display when using the `custom` tag display mode.
990
+ */
991
+ customTags: string[];
992
+ /**
993
+ * Threshold (in seconds) for time delta between consecutive points in a series above which a dotted line will replace a solid in line plots. Default is 60.
994
+ */
995
+ expectedDataSpacing: number;
996
+ /**
997
+ * (Optional) For a chart with a fixed legend, a list of statistics to display in the legend.
998
+ */
999
+ fixedLegendDisplayStats: string[];
1000
+ /**
1001
+ * (Optional) Whether to enable a fixed tabular legend adjacent to the chart.
1002
+ */
1003
+ fixedLegendEnabled: boolean;
1004
+ /**
1005
+ * (Optional) Statistic to use for determining whether a series is displayed on the fixed legend. Valid options are `CURRENT`, `MEAN`, `MEDIAN`, `SUM`, `MIN`, `MAX`, and `COUNT`.
1006
+ */
1007
+ fixedLegendFilterField: string;
1008
+ /**
1009
+ * (Optional) Number of series to include in the fixed legend.
1010
+ */
1011
+ fixedLegendFilterLimit: number;
1012
+ /**
1013
+ * (Optional) Whether to display `TOP` or `BOTTOM` ranked series in a fixed legend. Valid options are `TOP`, and `BOTTOM`.
1014
+ */
1015
+ fixedLegendFilterSort: string;
1016
+ /**
1017
+ * (Optional) This setting is deprecated.
1018
+ */
1019
+ fixedLegendHideLabel: boolean;
1020
+ /**
1021
+ * (Optional) Where the fixed legend should be displayed with respect to the chart. Valid options are `RIGHT`, `TOP`, `LEFT`, `BOTTOM`.
1022
+ */
1023
+ fixedLegendPosition: string;
1024
+ /**
1025
+ * (Optional) If `true`, the legend uses non-summarized stats instead of summarized.
1026
+ */
1027
+ fixedLegendUseRawStats: boolean;
1028
+ /**
1029
+ * For the tabular view, whether to group multi metrics into a single row by a common source. If set to `false`, each source is displayed in its own row. If set to `true`, multiple metrics for the same host are displayed as different columns in the same row.
1030
+ */
1031
+ groupBySource: boolean;
1032
+ /**
1033
+ * (Optional) Whether to disable the display of the floating legend (but reenable it when the ctrl-key is pressed).
1034
+ */
1035
+ invertDynamicLegendHoverControl: boolean;
1036
+ /**
1037
+ * Plot interpolation type. `linear` is default. Valid options are `linear`, `step-before`, `step-after`, `basis`, `cardinal`, and `monotone`.
1038
+ */
1039
+ lineType: string;
1040
+ /**
1041
+ * Max value of the Y-axis. Set to null or leave blank for auto.
1042
+ */
1043
+ max: number;
1044
+ /**
1045
+ * Min value of the Y-axis. Set to null or leave blank for auto.
1046
+ */
1047
+ min: number;
1048
+ /**
1049
+ * For the tabular view defines how many point tags to display.
1050
+ */
1051
+ numTags: number;
1052
+ /**
1053
+ * The markdown content for a Markdown display, in plain text.
1054
+ */
1055
+ plainMarkdownContent: string;
1056
+ /**
1057
+ * For the tabular view, whether to display sources. Default is `true`.
1058
+ */
1059
+ showHosts: boolean;
1060
+ /**
1061
+ * For the tabular view, whether to display labels. Default is `true`.
1062
+ */
1063
+ showLabels: boolean;
1064
+ /**
1065
+ * For the tabular view, whether to display raw values. Default is `false`.
1066
+ */
1067
+ showRawValues: boolean;
1068
+ /**
1069
+ * For the tabular view, whether to display values in descending order. Default is `false`.
1070
+ */
1071
+ sortValuesDescending: boolean;
1072
+ /**
1073
+ * For the single stat view, the decimal precision of the displayed number.
1074
+ */
1075
+ sparklineDecimalPrecision: number;
1076
+ /**
1077
+ * For the single stat view, the color of the displayed text (when not dynamically determined). Values should be in RGBA format.
1078
+ */
1079
+ sparklineDisplayColor: string;
1080
+ /**
1081
+ * For the single stat view, the font size of the displayed text, in percent.
1082
+ */
1083
+ sparklineDisplayFontSize: string;
1084
+ /**
1085
+ * For the single stat view, the horizontal position of the displayed text. Valid options are `MIDDLE`, `LEFT`, `RIGHT`.
1086
+ */
1087
+ sparklineDisplayHorizontalPosition: string;
1088
+ /**
1089
+ * For the single stat view, a string to append to the displayed text.
1090
+ */
1091
+ sparklineDisplayPostfix: string;
1092
+ /**
1093
+ * For the single stat view, a string to add before the displayed text.
1094
+ */
1095
+ sparklineDisplayPrefix: string;
1096
+ /**
1097
+ * For the single stat view, where to display the name of the query or the value of the query. Valid options are `VALUE` or `LABEL`.
1098
+ */
1099
+ sparklineDisplayValueType: string;
1100
+ /**
1101
+ * This setting is deprecated.
1102
+ */
1103
+ sparklineDisplayVerticalPosition: string;
1104
+ /**
1105
+ * For the single stat view, the color of the background fill. Values should be in RGBA format.
1106
+ */
1107
+ sparklineFillColor: string;
1108
+ /**
1109
+ * For the single stat view, the color of the line. Values should be in RGBA format.
1110
+ */
1111
+ sparklineLineColor: string;
1112
+ /**
1113
+ * For the single stat view, this determines whether the sparkline of the statistic is displayed in the chart. Valid options are `BACKGROUND`, `BOTTOM`, `NONE`.
1114
+ */
1115
+ sparklineSize: string;
1116
+ /**
1117
+ * For the single stat view, whether to apply dynamic color settings to the displayed `TEXT` or `BACKGROUND`. Valid options are `TEXT` or `BACKGROUND`.
1118
+ */
1119
+ sparklineValueColorMapApplyTo: string;
1120
+ /**
1121
+ * For the single stat view, a list of colors that differing query values map to. Must contain one more element than `sparklineValueColorMapValuesV2`. Values should be in RGBA format.
1122
+ */
1123
+ sparklineValueColorMapColors: string[];
1124
+ /**
1125
+ * This setting is deprecated.
1126
+ */
1127
+ sparklineValueColorMapValues: number[];
1128
+ /**
1129
+ * For the single stat view, a list of boundaries for mapping different query values to colors. Must contain one element less than `sparklineValueColorMapColors`.
1130
+ */
1131
+ sparklineValueColorMapValuesV2s: number[];
1132
+ /**
1133
+ * For the single stat view, a list of display text values that different query values map to. Must contain one more element than `sparklineValueTextMapThresholds`.
1134
+ */
1135
+ sparklineValueTextMapTexts: string[];
1136
+ /**
1137
+ * For the single stat view, a list of threshold boundaries for mapping different query values to display text. Must contain one element less than `sparklineValueTextMapText`.
1138
+ */
1139
+ sparklineValueTextMapThresholds: number[];
1140
+ /**
1141
+ * Type of stacked chart (applicable only if chart type is `stacked`). `zero` (default) means stacked from y=0. `expand` means normalized from 0 to 1. `wiggle` means minimize weighted changes. `silhouette` means to center the stream. Valid options are `zero`, `expand`, `wiggle`, `silhouette`, and `bars`.
1142
+ */
1143
+ stackType: string;
1144
+ /**
1145
+ * For the tabular view, which mode to use to determine which point tags to display. Valid options are `all`, `top`, or `custom`.
1146
+ */
1147
+ tagMode: string;
1148
+ /**
1149
+ * For x-y scatterplots, whether to color more recent points as darker than older points.
1150
+ */
1151
+ timeBasedColoring: boolean;
1152
+ /**
1153
+ * Chart Type. `line` refers to the Line Plot, `scatter` to the Point Plot, `stacked-area` to the Stacked Area plot, `table` to the Tabular View, `scatterplot-xy` to Scatter Plot, `markdown-widget` to the Markdown display, and `sparkline` to the Single Stat view. Valid options are `line`, `scatterplot`, `stacked-area`, `stacked-column`, `table`, `scatterplot-xy`, `markdown-widget`, `sparkline`, `globe`, `nodemap`, `top-k`, `status-list`, and `histogram`.
1154
+ */
1155
+ type: string;
1156
+ /**
1157
+ * Width, in minutes, of the time window to use for `last` windowing.
1158
+ */
1159
+ windowSize: number;
1160
+ /**
1161
+ * For the tabular view, whether to use the full time window for the query or the last X minutes. Valid options are `full` or `last`.
1162
+ */
1163
+ windowing: string;
1164
+ /**
1165
+ * For x-y scatterplots, max value for the X-axis. Set to null for auto.
1166
+ */
1167
+ xmax: number;
1168
+ /**
1169
+ * For x-y scatterplots, min value for the X-axis. Set to null for auto.
1170
+ */
1171
+ xmin: number;
1172
+ y0ScaleSiBy1024: boolean;
1173
+ /**
1174
+ * (Optional) Whether to automatically adjust magnitude labels and units for the left Y-axis to favor smaller magnitudes and larger units.
1175
+ */
1176
+ y0UnitAutoscaling: boolean;
1177
+ y1Max: number;
1178
+ y1Min: number;
1179
+ y1ScaleSiBy1024: boolean;
1180
+ /**
1181
+ * (Optional) Whether to automatically adjust magnitude labels and units for the right Y-axis to favor smaller magnitudes and larger units.
1182
+ */
1183
+ y1UnitAutoscaling: boolean;
1184
+ /**
1185
+ * For plots with multiple Y-axes, units for right side Y-axis.
1186
+ */
1187
+ y1Units: string;
1188
+ /**
1189
+ * For x-y scatterplots, max value for the Y-axis. Set to null for auto.
1190
+ */
1191
+ ymax: number;
1192
+ /**
1193
+ * For x-y scatterplots, min value for the Y-axis. Set to null for auto.
1194
+ */
1195
+ ymin: number;
1196
+ }
1197
+ export interface GetDashboardsDashboardSectionRowChartSource {
1198
+ /**
1199
+ * Whether the source is disabled.
1200
+ */
1201
+ disabled: boolean;
1202
+ /**
1203
+ * The name of the parameters.
1204
+ */
1205
+ name: string;
1206
+ /**
1207
+ * Query expression to plot on the chart.
1208
+ */
1209
+ query: string;
1210
+ querybuilderEnabled: boolean;
1211
+ /**
1212
+ * For scatter plots, does this query source the X-axis or the Y-axis, `X`, or `Y`.
1213
+ */
1214
+ scatterPlotSource: string;
1215
+ secondaryAxis: boolean;
1216
+ sourceColor: string;
1217
+ /**
1218
+ * A description for the purpose of this source.
1219
+ */
1220
+ sourceDescription: string;
1221
+ }
1222
+ export interface GetDerivedMetricsDerivedMetric {
1223
+ /**
1224
+ * User-supplied additional explanatory information about the derived metric.
1225
+ */
1226
+ additionalInformation: string;
1227
+ /**
1228
+ * The ID of the user who created the derived metric.
1229
+ */
1230
+ createUserId: string;
1231
+ /**
1232
+ * The timestamp in epoch milliseconds indicating when the derived metric is created.
1233
+ */
1234
+ createdEpochMillis: number;
1235
+ /**
1236
+ * A Boolean flag indicating whether the derived metric is deleted or not.
1237
+ */
1238
+ deleted: boolean;
1239
+ /**
1240
+ * A list of hosts used in the derived metric.
1241
+ */
1242
+ hostsUseds: string[];
1243
+ /**
1244
+ * The ID of the derived metric in Wavefront.
1245
+ * * `query`- A Wavefront query that is evaluated at regular intervals (default is 1 minute).
1246
+ */
1247
+ id: string;
1248
+ /**
1249
+ * A Boolean variable indicating trash status.
1250
+ */
1251
+ inTrash: boolean;
1252
+ /**
1253
+ * A Boolean flag indicating whether to include obsolete metrics or not.
1254
+ */
1255
+ includeObsoleteMetrics: boolean;
1256
+ /**
1257
+ * Last error message occurred.
1258
+ */
1259
+ lastErrorMessage: string;
1260
+ /**
1261
+ * Timestamp of the last failed derived metric.
1262
+ */
1263
+ lastFailedTime: number;
1264
+ /**
1265
+ * The last processed timestamp.
1266
+ */
1267
+ lastProcessedMillis: number;
1268
+ /**
1269
+ * The timestamp indicating the last time the query was executed.
1270
+ * * `metricsUsed` -A list of metrics used in the derived metric.
1271
+ */
1272
+ lastQueryTime: number;
1273
+ metricsUseds: string[];
1274
+ /**
1275
+ * How frequently the query generating the derived metric is run.
1276
+ */
1277
+ minutes: number;
1278
+ /**
1279
+ * The name of the derived metric in Wavefront.
1280
+ */
1281
+ name: string;
1282
+ /**
1283
+ * The number of points scanned when the last query was executed.
1284
+ */
1285
+ pointsScannedAtLastQuery: number;
1286
+ /**
1287
+ * The specified query is executed every `processRateMinutes` minutes.
1288
+ */
1289
+ processRateMinutes: number;
1290
+ query: string;
1291
+ /**
1292
+ * A Boolean variable indicating whether query is failing for the derived metric.
1293
+ */
1294
+ queryFailing: boolean;
1295
+ /**
1296
+ * A Boolean flag for enabling `queryQb`
1297
+ */
1298
+ queryQbEnabled: boolean;
1299
+ /**
1300
+ * The status of the derived metric.
1301
+ */
1302
+ statuses: string[];
1303
+ /**
1304
+ * A set of tags assigned to the derived metric.
1305
+ */
1306
+ tags: string[];
1307
+ /**
1308
+ * The ID of the user who updated the derived metric.
1309
+ */
1310
+ updateUserId: string;
1311
+ /**
1312
+ * The timestamp in epoch milliseconds indicating when the derived metric is updated.
1313
+ */
1314
+ updatedEpochMillis: number;
1315
+ }
1316
+ export interface GetEventsEvent {
1317
+ /**
1318
+ * Annotations associated with the event.
1319
+ */
1320
+ annotations: {
1321
+ [key: string]: string;
1322
+ };
1323
+ /**
1324
+ * The description of the event.
1325
+ */
1326
+ details: string;
1327
+ endtimeKey: number;
1328
+ /**
1329
+ * The ID of the event in Wavefront.
1330
+ * * `startTime`- The start time of the event in epoch milliseconds.
1331
+ */
1332
+ id: string;
1333
+ /**
1334
+ * A Boolean flag. If set to `true`, creates a point-in-time event (i.e. with no duration).
1335
+ */
1336
+ isEphemeral: boolean;
1337
+ /**
1338
+ * The name of the event in Wavefront.
1339
+ */
1340
+ name: string;
1341
+ /**
1342
+ * The severity category of the event.
1343
+ */
1344
+ severity: string;
1345
+ startTime: number;
1346
+ /**
1347
+ * A set of tags assigned to the event.
1348
+ */
1349
+ tags: string[];
1350
+ /**
1351
+ * The type of the event.
1352
+ */
1353
+ type: string;
1354
+ }
1355
+ export interface GetExternalLinksExternalLink {
1356
+ /**
1357
+ * The timestamp in epoch milliseconds indicating when the external link is created.
1358
+ */
1359
+ createdEpochMillis: number;
1360
+ /**
1361
+ * The ID of the user who created the external link.
1362
+ */
1363
+ creatorId: string;
1364
+ /**
1365
+ * Human-readable description of the link.
1366
+ */
1367
+ description: string;
1368
+ /**
1369
+ * The ID of the external link.
1370
+ */
1371
+ id: string;
1372
+ /**
1373
+ * Whether this is a "Log Integration" subType of external link.
1374
+ */
1375
+ isLogIntegration: boolean;
1376
+ /**
1377
+ * Controls whether a link is displayed in the context menu of a highlighted series. If present, the metric name of the highlighted series must match this regular expression in order for the link to be displayed.
1378
+ */
1379
+ metricFilterRegex: string;
1380
+ /**
1381
+ * The name of the external link.
1382
+ */
1383
+ name: string;
1384
+ /**
1385
+ * (Optional) Controls whether a link is displayed in the context menu of a highlighted
1386
+ * series. This is a map from string to regular expression. The highlighted series must contain point tags whose
1387
+ * keys are present in the keys of this map and whose values match the regular expressions associated with those
1388
+ * keys in order for the link to be displayed.
1389
+ */
1390
+ pointTagFilterRegexes: {
1391
+ [key: string]: string;
1392
+ };
1393
+ /**
1394
+ * Controls whether a link is displayed in the context menu of a highlighted series. If present, the source name of the highlighted series must match this regular expression in order for the link to be displayed.
1395
+ */
1396
+ sourceFilterRegex: string;
1397
+ /**
1398
+ * The mustache template for the link. The template must expand to a full URL, including scheme, origin, etc.
1399
+ */
1400
+ template: string;
1401
+ /**
1402
+ * The timestamp in epoch milliseconds indicating when the external link is updated.
1403
+ */
1404
+ updatedEpochMillis: number;
1405
+ /**
1406
+ * The ID of the user who updated the external link.
1407
+ */
1408
+ updaterId: string;
1409
+ }
1410
+ export interface GetMaintenanceWindowAllMaintenanceWindow {
1411
+ createdEpochMillis: number;
1412
+ creatorId: string;
1413
+ customerId: string;
1414
+ endTimeInSeconds: number;
1415
+ eventName: string;
1416
+ hostTagGroupHostNamesGroupAnded: boolean;
1417
+ id: string;
1418
+ reason: string;
1419
+ relevantCustomerTags: string[];
1420
+ relevantHostNames: string[];
1421
+ relevantHostTags: string[];
1422
+ relevantHostTagsAnded: boolean;
1423
+ runningState: string;
1424
+ sortAttr: number;
1425
+ startTimeInSeconds: number;
1426
+ title: string;
1427
+ updatedEpochMillis: number;
1428
+ updaterId: string;
1429
+ }
1430
+ export interface GetMetricsPolicyPolicyRule {
1431
+ accessType: string;
1432
+ accountIds: string[];
1433
+ description: string;
1434
+ name: string;
1435
+ prefixes: string[];
1436
+ roleIds: string[];
1437
+ tags: outputs.GetMetricsPolicyPolicyRuleTag[];
1438
+ tagsAnded: boolean;
1439
+ userGroupIds: string[];
1440
+ }
1441
+ export interface GetMetricsPolicyPolicyRuleTag {
1442
+ key: string;
1443
+ value: string;
1444
+ }
1445
+ export interface GetRolesRole {
1446
+ /**
1447
+ * The Role's description.
1448
+ */
1449
+ description: string;
1450
+ /**
1451
+ * The Role ID.
1452
+ */
1453
+ id: string;
1454
+ /**
1455
+ * The Role Name.
1456
+ */
1457
+ name: string;
1458
+ /**
1459
+ * List of Permissions (Strings) associated with Role.
1460
+ */
1461
+ permissions: string[];
1462
+ }
1463
+ export interface GetUserGroupsUserGroup {
1464
+ /**
1465
+ * The group description.
1466
+ */
1467
+ description: string;
1468
+ /**
1469
+ * The group ID.
1470
+ */
1471
+ id: string;
1472
+ /**
1473
+ * The group name.
1474
+ */
1475
+ name: string;
1476
+ /**
1477
+ * List of roles associated with the group.
1478
+ */
1479
+ roles: string[];
1480
+ /**
1481
+ * List of users assigned to the group.
1482
+ */
1483
+ users: string[];
1484
+ }
1485
+ export interface GetUsersUser {
1486
+ customer: string;
1487
+ email: string;
1488
+ /**
1489
+ * When the user last logged in to Wavefront.
1490
+ */
1491
+ lastSuccessfulLogin: number;
1492
+ /**
1493
+ * List of permissions granted to a user.
1494
+ */
1495
+ permissions: string[];
1496
+ /**
1497
+ * List of User Group Ids the user is a member of.
1498
+ * * `customer`- The customer the user is associated with.
1499
+ */
1500
+ userGroupIds: string[];
1501
+ }
1502
+ export interface MetricsPolicyPolicyRule {
1503
+ /**
1504
+ * Valid options are `ALLOW` and `BLOCK`.
1505
+ */
1506
+ accessType: string;
1507
+ /**
1508
+ * List of account ids to apply Metrics Policy to. Must have at least one associated account_id, user_group_id, or role_id.
1509
+ */
1510
+ accountIds?: string[];
1511
+ /**
1512
+ * A detailed description of the Metrics Policy. The description is visible only when you edit the rule.
1513
+ */
1514
+ description: string;
1515
+ /**
1516
+ * The unique name identifier for a Metrics Policy. The name is visible on the Metrics Security Policy page.
1517
+ */
1518
+ name: string;
1519
+ /**
1520
+ * List of prefixes to match metrics on. You can specify the full metric name or use a wildcard character in metric names, sources, or point tags. The wildcard character alone (*) means all metrics.
1521
+ */
1522
+ prefixes: string[];
1523
+ /**
1524
+ * -(Optional) List of role ids to apply Metrics Policy to. Must have at least one associated account_id, user_group_id, or role_id.
1525
+ */
1526
+ roleIds?: string[];
1527
+ /**
1528
+ * List of Key/Value tags to select target metrics for policy.
1529
+ */
1530
+ tags?: outputs.MetricsPolicyPolicyRuleTag[];
1531
+ /**
1532
+ * Bool where `true` require all tags are met by selected metrics, else `false` select metrics that match any give tag.
1533
+ */
1534
+ tagsAnded: boolean;
1535
+ /**
1536
+ * List of user group ids to apply Metrics Policy to. Must have at least one associated account_id, user_group_id, or role_id.
1537
+ */
1538
+ userGroupIds?: string[];
1539
+ }
1540
+ export interface MetricsPolicyPolicyRuleTag {
1541
+ /**
1542
+ * The tag's key.
1543
+ */
1544
+ key: string;
1545
+ /**
1546
+ * The tag's value.
1547
+ */
1548
+ value: string;
1549
+ }