pulumi-newrelic 5.25.0a1716440799__py3-none-any.whl → 5.25.0a1716566775__py3-none-any.whl
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.
- pulumi_newrelic/_inputs.py +449 -43
- pulumi_newrelic/account_management.py +14 -14
- pulumi_newrelic/alert_channel.py +28 -28
- pulumi_newrelic/alert_condition.py +125 -84
- pulumi_newrelic/alert_muting_rule.py +21 -21
- pulumi_newrelic/alert_policy.py +27 -21
- pulumi_newrelic/entity_tags.py +7 -7
- pulumi_newrelic/get_alert_policy.py +9 -0
- pulumi_newrelic/get_service_level_alert_helper.py +18 -0
- pulumi_newrelic/infra_alert_condition.py +105 -126
- pulumi_newrelic/insights/event.py +13 -0
- pulumi_newrelic/notification_destination.py +14 -10
- pulumi_newrelic/nrql_drop_rule.py +28 -28
- pulumi_newrelic/one_dashboard.py +48 -42
- pulumi_newrelic/outputs.py +448 -43
- pulumi_newrelic/plugins/_inputs.py +8 -8
- pulumi_newrelic/plugins/outputs.py +8 -8
- pulumi_newrelic/plugins/workload.py +28 -28
- pulumi_newrelic/pulumi-plugin.json +1 -1
- pulumi_newrelic/service_level.py +79 -0
- pulumi_newrelic/synthetics/alert_condition.py +42 -14
- pulumi_newrelic/synthetics/get_secure_credential.py +8 -0
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +63 -49
- pulumi_newrelic/synthetics/secure_credential.py +14 -21
- {pulumi_newrelic-5.25.0a1716440799.dist-info → pulumi_newrelic-5.25.0a1716566775.dist-info}/METADATA +1 -1
- {pulumi_newrelic-5.25.0a1716440799.dist-info → pulumi_newrelic-5.25.0a1716566775.dist-info}/RECORD +28 -28
- {pulumi_newrelic-5.25.0a1716440799.dist-info → pulumi_newrelic-5.25.0a1716566775.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.25.0a1716440799.dist-info → pulumi_newrelic-5.25.0a1716566775.dist-info}/top_level.txt +0 -0
pulumi_newrelic/_inputs.py
CHANGED
@@ -103,8 +103,10 @@ __all__ = [
|
|
103
103
|
'OneDashboardPageWidgetLineNrqlQueryArgs',
|
104
104
|
'OneDashboardPageWidgetLineNullValueArgs',
|
105
105
|
'OneDashboardPageWidgetLineNullValueSeriesOverrideArgs',
|
106
|
+
'OneDashboardPageWidgetLineThresholdArgs',
|
106
107
|
'OneDashboardPageWidgetLineUnitArgs',
|
107
108
|
'OneDashboardPageWidgetLineUnitSeriesOverrideArgs',
|
109
|
+
'OneDashboardPageWidgetLineYAxisRightArgs',
|
108
110
|
'OneDashboardPageWidgetLogTableArgs',
|
109
111
|
'OneDashboardPageWidgetLogTableColorArgs',
|
110
112
|
'OneDashboardPageWidgetLogTableColorSeriesOverrideArgs',
|
@@ -142,6 +144,7 @@ __all__ = [
|
|
142
144
|
'OneDashboardPageWidgetTableNrqlQueryArgs',
|
143
145
|
'OneDashboardPageWidgetTableNullValueArgs',
|
144
146
|
'OneDashboardPageWidgetTableNullValueSeriesOverrideArgs',
|
147
|
+
'OneDashboardPageWidgetTableThresholdArgs',
|
145
148
|
'OneDashboardPageWidgetTableUnitArgs',
|
146
149
|
'OneDashboardPageWidgetTableUnitSeriesOverrideArgs',
|
147
150
|
'OneDashboardRawPageArgs',
|
@@ -603,8 +606,8 @@ class AlertMutingRuleConditionArgs:
|
|
603
606
|
conditions: pulumi.Input[Sequence[pulumi.Input['AlertMutingRuleConditionConditionArgs']]],
|
604
607
|
operator: pulumi.Input[str]):
|
605
608
|
"""
|
606
|
-
:param pulumi.Input[Sequence[pulumi.Input['AlertMutingRuleConditionConditionArgs']]] conditions: The individual MutingRuleConditions within the group.
|
607
|
-
:param pulumi.Input[str] operator: The operator used to combine all the MutingRuleConditions within the group.
|
609
|
+
:param pulumi.Input[Sequence[pulumi.Input['AlertMutingRuleConditionConditionArgs']]] conditions: The individual MutingRuleConditions within the group. See Nested conditions blocks below for details.
|
610
|
+
:param pulumi.Input[str] operator: The operator used to combine all the MutingRuleConditions within the group. Valid values are `AND`, `OR`.
|
608
611
|
"""
|
609
612
|
pulumi.set(__self__, "conditions", conditions)
|
610
613
|
pulumi.set(__self__, "operator", operator)
|
@@ -613,7 +616,7 @@ class AlertMutingRuleConditionArgs:
|
|
613
616
|
@pulumi.getter
|
614
617
|
def conditions(self) -> pulumi.Input[Sequence[pulumi.Input['AlertMutingRuleConditionConditionArgs']]]:
|
615
618
|
"""
|
616
|
-
The individual MutingRuleConditions within the group.
|
619
|
+
The individual MutingRuleConditions within the group. See Nested conditions blocks below for details.
|
617
620
|
"""
|
618
621
|
return pulumi.get(self, "conditions")
|
619
622
|
|
@@ -625,7 +628,7 @@ class AlertMutingRuleConditionArgs:
|
|
625
628
|
@pulumi.getter
|
626
629
|
def operator(self) -> pulumi.Input[str]:
|
627
630
|
"""
|
628
|
-
The operator used to combine all the MutingRuleConditions within the group.
|
631
|
+
The operator used to combine all the MutingRuleConditions within the group. Valid values are `AND`, `OR`.
|
629
632
|
"""
|
630
633
|
return pulumi.get(self, "operator")
|
631
634
|
|
@@ -700,6 +703,7 @@ class AlertMutingRuleScheduleArgs:
|
|
700
703
|
:param pulumi.Input[str] time_zone: The time zone that applies to the MutingRule schedule.
|
701
704
|
:param pulumi.Input[str] end_repeat: The datetime stamp when the muting rule schedule stops repeating. This is in local ISO 8601 format without an offset. Example: '2020-07-10T15:00:00'. Conflicts with `repeat_count`
|
702
705
|
:param pulumi.Input[str] end_time: The datetime stamp that represents when the muting rule ends. This is in local ISO 8601 format without an offset. Example: '2020-07-15T14:30:00'
|
706
|
+
* `timeZone` (Required) The time zone that applies to the muting rule schedule. Example: 'America/Los_Angeles'. See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
703
707
|
:param pulumi.Input[str] repeat: The frequency the muting rule schedule repeats. If it does not repeat, omit this field. Options are DAILY, WEEKLY, MONTHLY
|
704
708
|
:param pulumi.Input[int] repeat_count: The number of times the muting rule schedule repeats. This includes the original schedule. For example, a repeatCount of 2 will recur one time. Conflicts with `end_repeat`
|
705
709
|
:param pulumi.Input[str] start_time: The datetime stamp that represents when the muting rule starts. This is in local ISO 8601 format without an offset. Example: '2020-07-08T14:30:00'
|
@@ -748,6 +752,7 @@ class AlertMutingRuleScheduleArgs:
|
|
748
752
|
def end_time(self) -> Optional[pulumi.Input[str]]:
|
749
753
|
"""
|
750
754
|
The datetime stamp that represents when the muting rule ends. This is in local ISO 8601 format without an offset. Example: '2020-07-15T14:30:00'
|
755
|
+
* `timeZone` (Required) The time zone that applies to the muting rule schedule. Example: 'America/Los_Angeles'. See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
751
756
|
"""
|
752
757
|
return pulumi.get(self, "end_time")
|
753
758
|
|
@@ -1776,8 +1781,8 @@ class OneDashboardPageArgs:
|
|
1776
1781
|
widget_stacked_bars: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetStackedBarArgs']]]] = None,
|
1777
1782
|
widget_tables: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetTableArgs']]]] = None):
|
1778
1783
|
"""
|
1779
|
-
:param pulumi.Input[str] name:
|
1780
|
-
:param pulumi.Input[str] description:
|
1784
|
+
:param pulumi.Input[str] name: The title of the dashboard.
|
1785
|
+
:param pulumi.Input[str] description: Brief text describing the dashboard.
|
1781
1786
|
:param pulumi.Input[str] guid: The unique entity identifier of the dashboard page in New Relic.
|
1782
1787
|
:param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetAreaArgs']]] widget_areas: An area widget.
|
1783
1788
|
:param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetBarArgs']]] widget_bars: A bar widget.
|
@@ -1832,7 +1837,7 @@ class OneDashboardPageArgs:
|
|
1832
1837
|
@pulumi.getter
|
1833
1838
|
def name(self) -> pulumi.Input[str]:
|
1834
1839
|
"""
|
1835
|
-
|
1840
|
+
The title of the dashboard.
|
1836
1841
|
"""
|
1837
1842
|
return pulumi.get(self, "name")
|
1838
1843
|
|
@@ -1844,7 +1849,7 @@ class OneDashboardPageArgs:
|
|
1844
1849
|
@pulumi.getter
|
1845
1850
|
def description(self) -> Optional[pulumi.Input[str]]:
|
1846
1851
|
"""
|
1847
|
-
|
1852
|
+
Brief text describing the dashboard.
|
1848
1853
|
"""
|
1849
1854
|
return pulumi.get(self, "description")
|
1850
1855
|
|
@@ -2357,7 +2362,7 @@ class OneDashboardPageWidgetAreaNrqlQueryArgs:
|
|
2357
2362
|
account_id: Optional[pulumi.Input[str]] = None):
|
2358
2363
|
"""
|
2359
2364
|
:param pulumi.Input[str] query: (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.
|
2360
|
-
:param pulumi.Input[str] account_id:
|
2365
|
+
:param pulumi.Input[str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
2361
2366
|
"""
|
2362
2367
|
pulumi.set(__self__, "query", query)
|
2363
2368
|
if account_id is not None:
|
@@ -2379,7 +2384,7 @@ class OneDashboardPageWidgetAreaNrqlQueryArgs:
|
|
2379
2384
|
@pulumi.getter(name="accountId")
|
2380
2385
|
def account_id(self) -> Optional[pulumi.Input[str]]:
|
2381
2386
|
"""
|
2382
|
-
|
2387
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
2383
2388
|
"""
|
2384
2389
|
return pulumi.get(self, "account_id")
|
2385
2390
|
|
@@ -2900,7 +2905,7 @@ class OneDashboardPageWidgetBarNrqlQueryArgs:
|
|
2900
2905
|
account_id: Optional[pulumi.Input[str]] = None):
|
2901
2906
|
"""
|
2902
2907
|
:param pulumi.Input[str] query: (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.
|
2903
|
-
:param pulumi.Input[str] account_id:
|
2908
|
+
:param pulumi.Input[str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
2904
2909
|
"""
|
2905
2910
|
pulumi.set(__self__, "query", query)
|
2906
2911
|
if account_id is not None:
|
@@ -2922,7 +2927,7 @@ class OneDashboardPageWidgetBarNrqlQueryArgs:
|
|
2922
2927
|
@pulumi.getter(name="accountId")
|
2923
2928
|
def account_id(self) -> Optional[pulumi.Input[str]]:
|
2924
2929
|
"""
|
2925
|
-
|
2930
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
2926
2931
|
"""
|
2927
2932
|
return pulumi.get(self, "account_id")
|
2928
2933
|
|
@@ -3443,7 +3448,7 @@ class OneDashboardPageWidgetBillboardNrqlQueryArgs:
|
|
3443
3448
|
account_id: Optional[pulumi.Input[str]] = None):
|
3444
3449
|
"""
|
3445
3450
|
:param pulumi.Input[str] query: (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.
|
3446
|
-
:param pulumi.Input[str] account_id:
|
3451
|
+
:param pulumi.Input[str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
3447
3452
|
"""
|
3448
3453
|
pulumi.set(__self__, "query", query)
|
3449
3454
|
if account_id is not None:
|
@@ -3465,7 +3470,7 @@ class OneDashboardPageWidgetBillboardNrqlQueryArgs:
|
|
3465
3470
|
@pulumi.getter(name="accountId")
|
3466
3471
|
def account_id(self) -> Optional[pulumi.Input[str]]:
|
3467
3472
|
"""
|
3468
|
-
|
3473
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
3469
3474
|
"""
|
3470
3475
|
return pulumi.get(self, "account_id")
|
3471
3476
|
|
@@ -3969,7 +3974,7 @@ class OneDashboardPageWidgetBulletNrqlQueryArgs:
|
|
3969
3974
|
account_id: Optional[pulumi.Input[str]] = None):
|
3970
3975
|
"""
|
3971
3976
|
:param pulumi.Input[str] query: (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.
|
3972
|
-
:param pulumi.Input[str] account_id:
|
3977
|
+
:param pulumi.Input[str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
3973
3978
|
"""
|
3974
3979
|
pulumi.set(__self__, "query", query)
|
3975
3980
|
if account_id is not None:
|
@@ -3991,7 +3996,7 @@ class OneDashboardPageWidgetBulletNrqlQueryArgs:
|
|
3991
3996
|
@pulumi.getter(name="accountId")
|
3992
3997
|
def account_id(self) -> Optional[pulumi.Input[str]]:
|
3993
3998
|
"""
|
3994
|
-
|
3999
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
3995
4000
|
"""
|
3996
4001
|
return pulumi.get(self, "account_id")
|
3997
4002
|
|
@@ -4480,7 +4485,7 @@ class OneDashboardPageWidgetFunnelNrqlQueryArgs:
|
|
4480
4485
|
account_id: Optional[pulumi.Input[str]] = None):
|
4481
4486
|
"""
|
4482
4487
|
:param pulumi.Input[str] query: (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.
|
4483
|
-
:param pulumi.Input[str] account_id:
|
4488
|
+
:param pulumi.Input[str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
4484
4489
|
"""
|
4485
4490
|
pulumi.set(__self__, "query", query)
|
4486
4491
|
if account_id is not None:
|
@@ -4502,7 +4507,7 @@ class OneDashboardPageWidgetFunnelNrqlQueryArgs:
|
|
4502
4507
|
@pulumi.getter(name="accountId")
|
4503
4508
|
def account_id(self) -> Optional[pulumi.Input[str]]:
|
4504
4509
|
"""
|
4505
|
-
|
4510
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
4506
4511
|
"""
|
4507
4512
|
return pulumi.get(self, "account_id")
|
4508
4513
|
|
@@ -5023,7 +5028,7 @@ class OneDashboardPageWidgetHeatmapNrqlQueryArgs:
|
|
5023
5028
|
account_id: Optional[pulumi.Input[str]] = None):
|
5024
5029
|
"""
|
5025
5030
|
:param pulumi.Input[str] query: (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.
|
5026
|
-
:param pulumi.Input[str] account_id:
|
5031
|
+
:param pulumi.Input[str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
5027
5032
|
"""
|
5028
5033
|
pulumi.set(__self__, "query", query)
|
5029
5034
|
if account_id is not None:
|
@@ -5045,7 +5050,7 @@ class OneDashboardPageWidgetHeatmapNrqlQueryArgs:
|
|
5045
5050
|
@pulumi.getter(name="accountId")
|
5046
5051
|
def account_id(self) -> Optional[pulumi.Input[str]]:
|
5047
5052
|
"""
|
5048
|
-
|
5053
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
5049
5054
|
"""
|
5050
5055
|
return pulumi.get(self, "account_id")
|
5051
5056
|
|
@@ -5534,7 +5539,7 @@ class OneDashboardPageWidgetHistogramNrqlQueryArgs:
|
|
5534
5539
|
account_id: Optional[pulumi.Input[str]] = None):
|
5535
5540
|
"""
|
5536
5541
|
:param pulumi.Input[str] query: (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.
|
5537
|
-
:param pulumi.Input[str] account_id:
|
5542
|
+
:param pulumi.Input[str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
5538
5543
|
"""
|
5539
5544
|
pulumi.set(__self__, "query", query)
|
5540
5545
|
if account_id is not None:
|
@@ -5556,7 +5561,7 @@ class OneDashboardPageWidgetHistogramNrqlQueryArgs:
|
|
5556
5561
|
@pulumi.getter(name="accountId")
|
5557
5562
|
def account_id(self) -> Optional[pulumi.Input[str]]:
|
5558
5563
|
"""
|
5559
|
-
|
5564
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
5560
5565
|
"""
|
5561
5566
|
return pulumi.get(self, "account_id")
|
5562
5567
|
|
@@ -6045,7 +6050,7 @@ class OneDashboardPageWidgetJsonNrqlQueryArgs:
|
|
6045
6050
|
account_id: Optional[pulumi.Input[str]] = None):
|
6046
6051
|
"""
|
6047
6052
|
:param pulumi.Input[str] query: (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.
|
6048
|
-
:param pulumi.Input[str] account_id:
|
6053
|
+
:param pulumi.Input[str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
6049
6054
|
"""
|
6050
6055
|
pulumi.set(__self__, "query", query)
|
6051
6056
|
if account_id is not None:
|
@@ -6067,7 +6072,7 @@ class OneDashboardPageWidgetJsonNrqlQueryArgs:
|
|
6067
6072
|
@pulumi.getter(name="accountId")
|
6068
6073
|
def account_id(self) -> Optional[pulumi.Input[str]]:
|
6069
6074
|
"""
|
6070
|
-
|
6075
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
6071
6076
|
"""
|
6072
6077
|
return pulumi.get(self, "account_id")
|
6073
6078
|
|
@@ -6244,13 +6249,16 @@ class OneDashboardPageWidgetLineArgs:
|
|
6244
6249
|
height: Optional[pulumi.Input[int]] = None,
|
6245
6250
|
id: Optional[pulumi.Input[str]] = None,
|
6246
6251
|
ignore_time_range: Optional[pulumi.Input[bool]] = None,
|
6252
|
+
is_label_visible: Optional[pulumi.Input[bool]] = None,
|
6247
6253
|
legend_enabled: Optional[pulumi.Input[bool]] = None,
|
6248
6254
|
null_values: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetLineNullValueArgs']]]] = None,
|
6255
|
+
thresholds: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetLineThresholdArgs']]]] = None,
|
6249
6256
|
units: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetLineUnitArgs']]]] = None,
|
6250
6257
|
width: Optional[pulumi.Input[int]] = None,
|
6251
6258
|
y_axis_left_max: Optional[pulumi.Input[float]] = None,
|
6252
6259
|
y_axis_left_min: Optional[pulumi.Input[float]] = None,
|
6253
|
-
y_axis_left_zero: Optional[pulumi.Input[bool]] = None
|
6260
|
+
y_axis_left_zero: Optional[pulumi.Input[bool]] = None,
|
6261
|
+
y_axis_right: Optional[pulumi.Input['OneDashboardPageWidgetLineYAxisRightArgs']] = None):
|
6254
6262
|
"""
|
6255
6263
|
:param pulumi.Input[int] column: (Required) Column position of widget from top left, starting at `1`.
|
6256
6264
|
:param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetLineNrqlQueryArgs']]] nrql_queries: (Optional) Configuration for variables of type `nrql`. See Nested nrql\\_query blocks for details.
|
@@ -6261,12 +6269,15 @@ class OneDashboardPageWidgetLineArgs:
|
|
6261
6269
|
:param pulumi.Input[int] height: (Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`.
|
6262
6270
|
:param pulumi.Input[str] id: The ID of the widget.
|
6263
6271
|
:param pulumi.Input[bool] ignore_time_range: (Optional) An argument with a boolean value that is supported only by variables of `type` _nrql_ - when true, the time range specified in the query will override the time picker on dashboards and other pages.
|
6272
|
+
:param pulumi.Input[bool] is_label_visible: (Optional) A boolean value, which when true, sets the label to be visibly displayed within thresholds. In other words, if this attribute is set to true, the _label always visible_ toggle in the _Thresholds_ section in the settings of the widget is enabled.
|
6264
6273
|
:param pulumi.Input[bool] legend_enabled: (Optional) With this turned on, the legend will be displayed. Defaults to `true`.
|
6265
6274
|
:param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetLineNullValueArgs']]] null_values: (Optional) A nested block that describes a Null Values. See Nested Null Values blocks below for details.
|
6275
|
+
:param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetLineThresholdArgs']]] thresholds: (Optional) An attribute that helps specify multiple thresholds, each inclusive of a range of values between which the threshold would need to function, the name of the threshold and its severity. Multiple thresholds can be defined in a table widget. The `threshold` attribute requires specifying the following attributes in a nested block -
|
6266
6276
|
:param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetLineUnitArgs']]] units: (Optional) A nested block that describes units on your Y axis. See Nested Units blocks below for details.
|
6267
6277
|
:param pulumi.Input[int] width: (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`.
|
6268
6278
|
:param pulumi.Input[float] y_axis_left_min: , `y_axis_left_max` - (Optional) Adjust the Y axis to display the data within certain values by setting a minimum and maximum value for the axis for line charts and area charts. If no customization option is selected, dashboards automatically displays the full Y axis from 0 to the top value plus a margin.
|
6269
6279
|
:param pulumi.Input[bool] y_axis_left_zero: (Optional) An attribute that specifies if the values on the graph to be rendered need to be fit to scale, or printed within the specified range from `y_axis_left_min` (or 0 if it is not defined) to `y_axis_left_max`. Use `y_axis_left_zero = true` with a combination of `y_axis_left_min` and `y_axis_left_max` to render values from 0 or the specified minimum to the maximum, and `y_axis_left_zero = false` to fit the graph to scale.
|
6280
|
+
:param pulumi.Input['OneDashboardPageWidgetLineYAxisRightArgs'] y_axis_right: (Optional) An attribute which helps specify the configuration of the Y-Axis displayed on the right side of the line widget. This is a nested block, which includes the following attributes:
|
6270
6281
|
"""
|
6271
6282
|
pulumi.set(__self__, "column", column)
|
6272
6283
|
pulumi.set(__self__, "nrql_queries", nrql_queries)
|
@@ -6282,10 +6293,14 @@ class OneDashboardPageWidgetLineArgs:
|
|
6282
6293
|
pulumi.set(__self__, "id", id)
|
6283
6294
|
if ignore_time_range is not None:
|
6284
6295
|
pulumi.set(__self__, "ignore_time_range", ignore_time_range)
|
6296
|
+
if is_label_visible is not None:
|
6297
|
+
pulumi.set(__self__, "is_label_visible", is_label_visible)
|
6285
6298
|
if legend_enabled is not None:
|
6286
6299
|
pulumi.set(__self__, "legend_enabled", legend_enabled)
|
6287
6300
|
if null_values is not None:
|
6288
6301
|
pulumi.set(__self__, "null_values", null_values)
|
6302
|
+
if thresholds is not None:
|
6303
|
+
pulumi.set(__self__, "thresholds", thresholds)
|
6289
6304
|
if units is not None:
|
6290
6305
|
pulumi.set(__self__, "units", units)
|
6291
6306
|
if width is not None:
|
@@ -6296,6 +6311,8 @@ class OneDashboardPageWidgetLineArgs:
|
|
6296
6311
|
pulumi.set(__self__, "y_axis_left_min", y_axis_left_min)
|
6297
6312
|
if y_axis_left_zero is not None:
|
6298
6313
|
pulumi.set(__self__, "y_axis_left_zero", y_axis_left_zero)
|
6314
|
+
if y_axis_right is not None:
|
6315
|
+
pulumi.set(__self__, "y_axis_right", y_axis_right)
|
6299
6316
|
|
6300
6317
|
@property
|
6301
6318
|
@pulumi.getter
|
@@ -6405,6 +6422,18 @@ class OneDashboardPageWidgetLineArgs:
|
|
6405
6422
|
def ignore_time_range(self, value: Optional[pulumi.Input[bool]]):
|
6406
6423
|
pulumi.set(self, "ignore_time_range", value)
|
6407
6424
|
|
6425
|
+
@property
|
6426
|
+
@pulumi.getter(name="isLabelVisible")
|
6427
|
+
def is_label_visible(self) -> Optional[pulumi.Input[bool]]:
|
6428
|
+
"""
|
6429
|
+
(Optional) A boolean value, which when true, sets the label to be visibly displayed within thresholds. In other words, if this attribute is set to true, the _label always visible_ toggle in the _Thresholds_ section in the settings of the widget is enabled.
|
6430
|
+
"""
|
6431
|
+
return pulumi.get(self, "is_label_visible")
|
6432
|
+
|
6433
|
+
@is_label_visible.setter
|
6434
|
+
def is_label_visible(self, value: Optional[pulumi.Input[bool]]):
|
6435
|
+
pulumi.set(self, "is_label_visible", value)
|
6436
|
+
|
6408
6437
|
@property
|
6409
6438
|
@pulumi.getter(name="legendEnabled")
|
6410
6439
|
def legend_enabled(self) -> Optional[pulumi.Input[bool]]:
|
@@ -6429,6 +6458,18 @@ class OneDashboardPageWidgetLineArgs:
|
|
6429
6458
|
def null_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetLineNullValueArgs']]]]):
|
6430
6459
|
pulumi.set(self, "null_values", value)
|
6431
6460
|
|
6461
|
+
@property
|
6462
|
+
@pulumi.getter
|
6463
|
+
def thresholds(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetLineThresholdArgs']]]]:
|
6464
|
+
"""
|
6465
|
+
(Optional) An attribute that helps specify multiple thresholds, each inclusive of a range of values between which the threshold would need to function, the name of the threshold and its severity. Multiple thresholds can be defined in a table widget. The `threshold` attribute requires specifying the following attributes in a nested block -
|
6466
|
+
"""
|
6467
|
+
return pulumi.get(self, "thresholds")
|
6468
|
+
|
6469
|
+
@thresholds.setter
|
6470
|
+
def thresholds(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetLineThresholdArgs']]]]):
|
6471
|
+
pulumi.set(self, "thresholds", value)
|
6472
|
+
|
6432
6473
|
@property
|
6433
6474
|
@pulumi.getter
|
6434
6475
|
def units(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetLineUnitArgs']]]]:
|
@@ -6486,6 +6527,18 @@ class OneDashboardPageWidgetLineArgs:
|
|
6486
6527
|
def y_axis_left_zero(self, value: Optional[pulumi.Input[bool]]):
|
6487
6528
|
pulumi.set(self, "y_axis_left_zero", value)
|
6488
6529
|
|
6530
|
+
@property
|
6531
|
+
@pulumi.getter(name="yAxisRight")
|
6532
|
+
def y_axis_right(self) -> Optional[pulumi.Input['OneDashboardPageWidgetLineYAxisRightArgs']]:
|
6533
|
+
"""
|
6534
|
+
(Optional) An attribute which helps specify the configuration of the Y-Axis displayed on the right side of the line widget. This is a nested block, which includes the following attributes:
|
6535
|
+
"""
|
6536
|
+
return pulumi.get(self, "y_axis_right")
|
6537
|
+
|
6538
|
+
@y_axis_right.setter
|
6539
|
+
def y_axis_right(self, value: Optional[pulumi.Input['OneDashboardPageWidgetLineYAxisRightArgs']]):
|
6540
|
+
pulumi.set(self, "y_axis_right", value)
|
6541
|
+
|
6489
6542
|
|
6490
6543
|
@pulumi.input_type
|
6491
6544
|
class OneDashboardPageWidgetLineColorArgs:
|
@@ -6572,7 +6625,7 @@ class OneDashboardPageWidgetLineNrqlQueryArgs:
|
|
6572
6625
|
account_id: Optional[pulumi.Input[str]] = None):
|
6573
6626
|
"""
|
6574
6627
|
:param pulumi.Input[str] query: (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.
|
6575
|
-
:param pulumi.Input[str] account_id:
|
6628
|
+
:param pulumi.Input[str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
6576
6629
|
"""
|
6577
6630
|
pulumi.set(__self__, "query", query)
|
6578
6631
|
if account_id is not None:
|
@@ -6594,7 +6647,7 @@ class OneDashboardPageWidgetLineNrqlQueryArgs:
|
|
6594
6647
|
@pulumi.getter(name="accountId")
|
6595
6648
|
def account_id(self) -> Optional[pulumi.Input[str]]:
|
6596
6649
|
"""
|
6597
|
-
|
6650
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
6598
6651
|
"""
|
6599
6652
|
return pulumi.get(self, "account_id")
|
6600
6653
|
|
@@ -6681,6 +6734,77 @@ class OneDashboardPageWidgetLineNullValueSeriesOverrideArgs:
|
|
6681
6734
|
pulumi.set(self, "series_name", value)
|
6682
6735
|
|
6683
6736
|
|
6737
|
+
@pulumi.input_type
|
6738
|
+
class OneDashboardPageWidgetLineThresholdArgs:
|
6739
|
+
def __init__(__self__, *,
|
6740
|
+
from_: Optional[pulumi.Input[int]] = None,
|
6741
|
+
name: Optional[pulumi.Input[str]] = None,
|
6742
|
+
severity: Optional[pulumi.Input[str]] = None,
|
6743
|
+
to: Optional[pulumi.Input[int]] = None):
|
6744
|
+
"""
|
6745
|
+
:param pulumi.Input[int] from_: The value 'from' which the threshold would need to be applied.
|
6746
|
+
:param pulumi.Input[str] name: The title of the dashboard.
|
6747
|
+
:param pulumi.Input[str] severity: The severity of the threshold, which would affect the visual appearance of the threshold (such as its color) accordingly. The value of this attribute would need to be one of the following - `warning`, `severe`, `critical`, `success`, `unavailable` which correspond to the severity labels _Warning_, _Approaching critical_, _Critical_, _Good_, _Neutral_ in the dropdown that helps specify the severity of thresholds in table widgets in the UI, respectively.
|
6748
|
+
:param pulumi.Input[int] to: The value until which the threshold would need to be applied.
|
6749
|
+
"""
|
6750
|
+
if from_ is not None:
|
6751
|
+
pulumi.set(__self__, "from_", from_)
|
6752
|
+
if name is not None:
|
6753
|
+
pulumi.set(__self__, "name", name)
|
6754
|
+
if severity is not None:
|
6755
|
+
pulumi.set(__self__, "severity", severity)
|
6756
|
+
if to is not None:
|
6757
|
+
pulumi.set(__self__, "to", to)
|
6758
|
+
|
6759
|
+
@property
|
6760
|
+
@pulumi.getter(name="from")
|
6761
|
+
def from_(self) -> Optional[pulumi.Input[int]]:
|
6762
|
+
"""
|
6763
|
+
The value 'from' which the threshold would need to be applied.
|
6764
|
+
"""
|
6765
|
+
return pulumi.get(self, "from_")
|
6766
|
+
|
6767
|
+
@from_.setter
|
6768
|
+
def from_(self, value: Optional[pulumi.Input[int]]):
|
6769
|
+
pulumi.set(self, "from_", value)
|
6770
|
+
|
6771
|
+
@property
|
6772
|
+
@pulumi.getter
|
6773
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
6774
|
+
"""
|
6775
|
+
The title of the dashboard.
|
6776
|
+
"""
|
6777
|
+
return pulumi.get(self, "name")
|
6778
|
+
|
6779
|
+
@name.setter
|
6780
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
6781
|
+
pulumi.set(self, "name", value)
|
6782
|
+
|
6783
|
+
@property
|
6784
|
+
@pulumi.getter
|
6785
|
+
def severity(self) -> Optional[pulumi.Input[str]]:
|
6786
|
+
"""
|
6787
|
+
The severity of the threshold, which would affect the visual appearance of the threshold (such as its color) accordingly. The value of this attribute would need to be one of the following - `warning`, `severe`, `critical`, `success`, `unavailable` which correspond to the severity labels _Warning_, _Approaching critical_, _Critical_, _Good_, _Neutral_ in the dropdown that helps specify the severity of thresholds in table widgets in the UI, respectively.
|
6788
|
+
"""
|
6789
|
+
return pulumi.get(self, "severity")
|
6790
|
+
|
6791
|
+
@severity.setter
|
6792
|
+
def severity(self, value: Optional[pulumi.Input[str]]):
|
6793
|
+
pulumi.set(self, "severity", value)
|
6794
|
+
|
6795
|
+
@property
|
6796
|
+
@pulumi.getter
|
6797
|
+
def to(self) -> Optional[pulumi.Input[int]]:
|
6798
|
+
"""
|
6799
|
+
The value until which the threshold would need to be applied.
|
6800
|
+
"""
|
6801
|
+
return pulumi.get(self, "to")
|
6802
|
+
|
6803
|
+
@to.setter
|
6804
|
+
def to(self, value: Optional[pulumi.Input[int]]):
|
6805
|
+
pulumi.set(self, "to", value)
|
6806
|
+
|
6807
|
+
|
6684
6808
|
@pulumi.input_type
|
6685
6809
|
class OneDashboardPageWidgetLineUnitArgs:
|
6686
6810
|
def __init__(__self__, *,
|
@@ -6759,6 +6883,77 @@ class OneDashboardPageWidgetLineUnitSeriesOverrideArgs:
|
|
6759
6883
|
pulumi.set(self, "unit", value)
|
6760
6884
|
|
6761
6885
|
|
6886
|
+
@pulumi.input_type
|
6887
|
+
class OneDashboardPageWidgetLineYAxisRightArgs:
|
6888
|
+
def __init__(__self__, *,
|
6889
|
+
y_axis_right_max: Optional[pulumi.Input[float]] = None,
|
6890
|
+
y_axis_right_min: Optional[pulumi.Input[float]] = None,
|
6891
|
+
y_axis_right_series: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
6892
|
+
y_axis_right_zero: Optional[pulumi.Input[bool]] = None):
|
6893
|
+
"""
|
6894
|
+
:param pulumi.Input[float] y_axis_right_max: Minimum value of the range to be specified with the Y-Axis on the right of the line widget.
|
6895
|
+
:param pulumi.Input[float] y_axis_right_min: , `y_axis_right_max` - (Optional) Attributes which help specify a range of minimum and maximum values, which adjust the right Y axis to display the data within the specified minimum and maximum value for the axis.
|
6896
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] y_axis_right_series: (Optional) An attribute which takes a list of strings, specifying a selection of series' displayed in the line chart to be adjusted against the values of the right Y-axis.
|
6897
|
+
:param pulumi.Input[bool] y_axis_right_zero: (Optional) An attribute that specifies if the values on the graph to be rendered need to be fit to scale, or printed within the specified range from `y_axis_right_min` (or 0 if it is not defined) to `y_axis_right_max`. Use `y_axis_right_zero = true` with a combination of `y_axis_right_min` and `y_axis_right_max` to render values from 0 or the specified minimum to the maximum, and `y_axis_right_zero = false` to fit the graph to scale.
|
6898
|
+
"""
|
6899
|
+
if y_axis_right_max is not None:
|
6900
|
+
pulumi.set(__self__, "y_axis_right_max", y_axis_right_max)
|
6901
|
+
if y_axis_right_min is not None:
|
6902
|
+
pulumi.set(__self__, "y_axis_right_min", y_axis_right_min)
|
6903
|
+
if y_axis_right_series is not None:
|
6904
|
+
pulumi.set(__self__, "y_axis_right_series", y_axis_right_series)
|
6905
|
+
if y_axis_right_zero is not None:
|
6906
|
+
pulumi.set(__self__, "y_axis_right_zero", y_axis_right_zero)
|
6907
|
+
|
6908
|
+
@property
|
6909
|
+
@pulumi.getter(name="yAxisRightMax")
|
6910
|
+
def y_axis_right_max(self) -> Optional[pulumi.Input[float]]:
|
6911
|
+
"""
|
6912
|
+
Minimum value of the range to be specified with the Y-Axis on the right of the line widget.
|
6913
|
+
"""
|
6914
|
+
return pulumi.get(self, "y_axis_right_max")
|
6915
|
+
|
6916
|
+
@y_axis_right_max.setter
|
6917
|
+
def y_axis_right_max(self, value: Optional[pulumi.Input[float]]):
|
6918
|
+
pulumi.set(self, "y_axis_right_max", value)
|
6919
|
+
|
6920
|
+
@property
|
6921
|
+
@pulumi.getter(name="yAxisRightMin")
|
6922
|
+
def y_axis_right_min(self) -> Optional[pulumi.Input[float]]:
|
6923
|
+
"""
|
6924
|
+
, `y_axis_right_max` - (Optional) Attributes which help specify a range of minimum and maximum values, which adjust the right Y axis to display the data within the specified minimum and maximum value for the axis.
|
6925
|
+
"""
|
6926
|
+
return pulumi.get(self, "y_axis_right_min")
|
6927
|
+
|
6928
|
+
@y_axis_right_min.setter
|
6929
|
+
def y_axis_right_min(self, value: Optional[pulumi.Input[float]]):
|
6930
|
+
pulumi.set(self, "y_axis_right_min", value)
|
6931
|
+
|
6932
|
+
@property
|
6933
|
+
@pulumi.getter(name="yAxisRightSeries")
|
6934
|
+
def y_axis_right_series(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
6935
|
+
"""
|
6936
|
+
(Optional) An attribute which takes a list of strings, specifying a selection of series' displayed in the line chart to be adjusted against the values of the right Y-axis.
|
6937
|
+
"""
|
6938
|
+
return pulumi.get(self, "y_axis_right_series")
|
6939
|
+
|
6940
|
+
@y_axis_right_series.setter
|
6941
|
+
def y_axis_right_series(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
6942
|
+
pulumi.set(self, "y_axis_right_series", value)
|
6943
|
+
|
6944
|
+
@property
|
6945
|
+
@pulumi.getter(name="yAxisRightZero")
|
6946
|
+
def y_axis_right_zero(self) -> Optional[pulumi.Input[bool]]:
|
6947
|
+
"""
|
6948
|
+
(Optional) An attribute that specifies if the values on the graph to be rendered need to be fit to scale, or printed within the specified range from `y_axis_right_min` (or 0 if it is not defined) to `y_axis_right_max`. Use `y_axis_right_zero = true` with a combination of `y_axis_right_min` and `y_axis_right_max` to render values from 0 or the specified minimum to the maximum, and `y_axis_right_zero = false` to fit the graph to scale.
|
6949
|
+
"""
|
6950
|
+
return pulumi.get(self, "y_axis_right_zero")
|
6951
|
+
|
6952
|
+
@y_axis_right_zero.setter
|
6953
|
+
def y_axis_right_zero(self, value: Optional[pulumi.Input[bool]]):
|
6954
|
+
pulumi.set(self, "y_axis_right_zero", value)
|
6955
|
+
|
6956
|
+
|
6762
6957
|
@pulumi.input_type
|
6763
6958
|
class OneDashboardPageWidgetLogTableArgs:
|
6764
6959
|
def __init__(__self__, *,
|
@@ -7083,7 +7278,7 @@ class OneDashboardPageWidgetLogTableNrqlQueryArgs:
|
|
7083
7278
|
account_id: Optional[pulumi.Input[str]] = None):
|
7084
7279
|
"""
|
7085
7280
|
:param pulumi.Input[str] query: (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.
|
7086
|
-
:param pulumi.Input[str] account_id:
|
7281
|
+
:param pulumi.Input[str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
7087
7282
|
"""
|
7088
7283
|
pulumi.set(__self__, "query", query)
|
7089
7284
|
if account_id is not None:
|
@@ -7105,7 +7300,7 @@ class OneDashboardPageWidgetLogTableNrqlQueryArgs:
|
|
7105
7300
|
@pulumi.getter(name="accountId")
|
7106
7301
|
def account_id(self) -> Optional[pulumi.Input[str]]:
|
7107
7302
|
"""
|
7108
|
-
|
7303
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
7109
7304
|
"""
|
7110
7305
|
return pulumi.get(self, "account_id")
|
7111
7306
|
|
@@ -8099,7 +8294,7 @@ class OneDashboardPageWidgetPyNrqlQueryArgs:
|
|
8099
8294
|
account_id: Optional[pulumi.Input[str]] = None):
|
8100
8295
|
"""
|
8101
8296
|
:param pulumi.Input[str] query: (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.
|
8102
|
-
:param pulumi.Input[str] account_id:
|
8297
|
+
:param pulumi.Input[str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
8103
8298
|
"""
|
8104
8299
|
pulumi.set(__self__, "query", query)
|
8105
8300
|
if account_id is not None:
|
@@ -8121,7 +8316,7 @@ class OneDashboardPageWidgetPyNrqlQueryArgs:
|
|
8121
8316
|
@pulumi.getter(name="accountId")
|
8122
8317
|
def account_id(self) -> Optional[pulumi.Input[str]]:
|
8123
8318
|
"""
|
8124
|
-
|
8319
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
8125
8320
|
"""
|
8126
8321
|
return pulumi.get(self, "account_id")
|
8127
8322
|
|
@@ -8610,7 +8805,7 @@ class OneDashboardPageWidgetStackedBarNrqlQueryArgs:
|
|
8610
8805
|
account_id: Optional[pulumi.Input[str]] = None):
|
8611
8806
|
"""
|
8612
8807
|
:param pulumi.Input[str] query: (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.
|
8613
|
-
:param pulumi.Input[str] account_id:
|
8808
|
+
:param pulumi.Input[str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
8614
8809
|
"""
|
8615
8810
|
pulumi.set(__self__, "query", query)
|
8616
8811
|
if account_id is not None:
|
@@ -8632,7 +8827,7 @@ class OneDashboardPageWidgetStackedBarNrqlQueryArgs:
|
|
8632
8827
|
@pulumi.getter(name="accountId")
|
8633
8828
|
def account_id(self) -> Optional[pulumi.Input[str]]:
|
8634
8829
|
"""
|
8635
|
-
|
8830
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
8636
8831
|
"""
|
8637
8832
|
return pulumi.get(self, "account_id")
|
8638
8833
|
|
@@ -8813,6 +9008,7 @@ class OneDashboardPageWidgetTableArgs:
|
|
8813
9008
|
legend_enabled: Optional[pulumi.Input[bool]] = None,
|
8814
9009
|
linked_entity_guids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
8815
9010
|
null_values: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetTableNullValueArgs']]]] = None,
|
9011
|
+
thresholds: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetTableThresholdArgs']]]] = None,
|
8816
9012
|
units: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetTableUnitArgs']]]] = None,
|
8817
9013
|
width: Optional[pulumi.Input[int]] = None,
|
8818
9014
|
y_axis_left_max: Optional[pulumi.Input[float]] = None,
|
@@ -8831,6 +9027,7 @@ class OneDashboardPageWidgetTableArgs:
|
|
8831
9027
|
:param pulumi.Input[bool] legend_enabled: (Optional) With this turned on, the legend will be displayed. Defaults to `true`.
|
8832
9028
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] linked_entity_guids: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
|
8833
9029
|
:param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetTableNullValueArgs']]] null_values: (Optional) A nested block that describes a Null Values. See Nested Null Values blocks below for details.
|
9030
|
+
:param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetTableThresholdArgs']]] thresholds: (Optional) An attribute that helps specify multiple thresholds, each inclusive of a range of values between which the threshold would need to function, the name of the threshold and its severity. Multiple thresholds can be defined in a table widget. The `threshold` attribute requires specifying the following attributes in a nested block -
|
8834
9031
|
:param pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetTableUnitArgs']]] units: (Optional) A nested block that describes units on your Y axis. See Nested Units blocks below for details.
|
8835
9032
|
:param pulumi.Input[int] width: (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`.
|
8836
9033
|
:param pulumi.Input[float] y_axis_left_min: , `y_axis_left_max` - (Optional) Adjust the Y axis to display the data within certain values by setting a minimum and maximum value for the axis for line charts and area charts. If no customization option is selected, dashboards automatically displays the full Y axis from 0 to the top value plus a margin.
|
@@ -8857,6 +9054,8 @@ class OneDashboardPageWidgetTableArgs:
|
|
8857
9054
|
pulumi.set(__self__, "linked_entity_guids", linked_entity_guids)
|
8858
9055
|
if null_values is not None:
|
8859
9056
|
pulumi.set(__self__, "null_values", null_values)
|
9057
|
+
if thresholds is not None:
|
9058
|
+
pulumi.set(__self__, "thresholds", thresholds)
|
8860
9059
|
if units is not None:
|
8861
9060
|
pulumi.set(__self__, "units", units)
|
8862
9061
|
if width is not None:
|
@@ -9022,6 +9221,18 @@ class OneDashboardPageWidgetTableArgs:
|
|
9022
9221
|
def null_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetTableNullValueArgs']]]]):
|
9023
9222
|
pulumi.set(self, "null_values", value)
|
9024
9223
|
|
9224
|
+
@property
|
9225
|
+
@pulumi.getter
|
9226
|
+
def thresholds(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetTableThresholdArgs']]]]:
|
9227
|
+
"""
|
9228
|
+
(Optional) An attribute that helps specify multiple thresholds, each inclusive of a range of values between which the threshold would need to function, the name of the threshold and its severity. Multiple thresholds can be defined in a table widget. The `threshold` attribute requires specifying the following attributes in a nested block -
|
9229
|
+
"""
|
9230
|
+
return pulumi.get(self, "thresholds")
|
9231
|
+
|
9232
|
+
@thresholds.setter
|
9233
|
+
def thresholds(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetTableThresholdArgs']]]]):
|
9234
|
+
pulumi.set(self, "thresholds", value)
|
9235
|
+
|
9025
9236
|
@property
|
9026
9237
|
@pulumi.getter
|
9027
9238
|
def units(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardPageWidgetTableUnitArgs']]]]:
|
@@ -9153,7 +9364,7 @@ class OneDashboardPageWidgetTableNrqlQueryArgs:
|
|
9153
9364
|
account_id: Optional[pulumi.Input[str]] = None):
|
9154
9365
|
"""
|
9155
9366
|
:param pulumi.Input[str] query: (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.
|
9156
|
-
:param pulumi.Input[str] account_id:
|
9367
|
+
:param pulumi.Input[str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
9157
9368
|
"""
|
9158
9369
|
pulumi.set(__self__, "query", query)
|
9159
9370
|
if account_id is not None:
|
@@ -9175,7 +9386,7 @@ class OneDashboardPageWidgetTableNrqlQueryArgs:
|
|
9175
9386
|
@pulumi.getter(name="accountId")
|
9176
9387
|
def account_id(self) -> Optional[pulumi.Input[str]]:
|
9177
9388
|
"""
|
9178
|
-
|
9389
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
9179
9390
|
"""
|
9180
9391
|
return pulumi.get(self, "account_id")
|
9181
9392
|
|
@@ -9262,6 +9473,77 @@ class OneDashboardPageWidgetTableNullValueSeriesOverrideArgs:
|
|
9262
9473
|
pulumi.set(self, "series_name", value)
|
9263
9474
|
|
9264
9475
|
|
9476
|
+
@pulumi.input_type
|
9477
|
+
class OneDashboardPageWidgetTableThresholdArgs:
|
9478
|
+
def __init__(__self__, *,
|
9479
|
+
column_name: Optional[pulumi.Input[str]] = None,
|
9480
|
+
from_: Optional[pulumi.Input[int]] = None,
|
9481
|
+
severity: Optional[pulumi.Input[str]] = None,
|
9482
|
+
to: Optional[pulumi.Input[int]] = None):
|
9483
|
+
"""
|
9484
|
+
:param pulumi.Input[str] column_name: The name of the column in the table, to which the threshold would need to be applied.
|
9485
|
+
:param pulumi.Input[int] from_: The value 'from' which the threshold would need to be applied.
|
9486
|
+
:param pulumi.Input[str] severity: The severity of the threshold, which would affect the visual appearance of the threshold (such as its color) accordingly. The value of this attribute would need to be one of the following - `warning`, `severe`, `critical`, `success`, `unavailable` which correspond to the severity labels _Warning_, _Approaching critical_, _Critical_, _Good_, _Neutral_ in the dropdown that helps specify the severity of thresholds in table widgets in the UI, respectively.
|
9487
|
+
:param pulumi.Input[int] to: The value until which the threshold would need to be applied.
|
9488
|
+
"""
|
9489
|
+
if column_name is not None:
|
9490
|
+
pulumi.set(__self__, "column_name", column_name)
|
9491
|
+
if from_ is not None:
|
9492
|
+
pulumi.set(__self__, "from_", from_)
|
9493
|
+
if severity is not None:
|
9494
|
+
pulumi.set(__self__, "severity", severity)
|
9495
|
+
if to is not None:
|
9496
|
+
pulumi.set(__self__, "to", to)
|
9497
|
+
|
9498
|
+
@property
|
9499
|
+
@pulumi.getter(name="columnName")
|
9500
|
+
def column_name(self) -> Optional[pulumi.Input[str]]:
|
9501
|
+
"""
|
9502
|
+
The name of the column in the table, to which the threshold would need to be applied.
|
9503
|
+
"""
|
9504
|
+
return pulumi.get(self, "column_name")
|
9505
|
+
|
9506
|
+
@column_name.setter
|
9507
|
+
def column_name(self, value: Optional[pulumi.Input[str]]):
|
9508
|
+
pulumi.set(self, "column_name", value)
|
9509
|
+
|
9510
|
+
@property
|
9511
|
+
@pulumi.getter(name="from")
|
9512
|
+
def from_(self) -> Optional[pulumi.Input[int]]:
|
9513
|
+
"""
|
9514
|
+
The value 'from' which the threshold would need to be applied.
|
9515
|
+
"""
|
9516
|
+
return pulumi.get(self, "from_")
|
9517
|
+
|
9518
|
+
@from_.setter
|
9519
|
+
def from_(self, value: Optional[pulumi.Input[int]]):
|
9520
|
+
pulumi.set(self, "from_", value)
|
9521
|
+
|
9522
|
+
@property
|
9523
|
+
@pulumi.getter
|
9524
|
+
def severity(self) -> Optional[pulumi.Input[str]]:
|
9525
|
+
"""
|
9526
|
+
The severity of the threshold, which would affect the visual appearance of the threshold (such as its color) accordingly. The value of this attribute would need to be one of the following - `warning`, `severe`, `critical`, `success`, `unavailable` which correspond to the severity labels _Warning_, _Approaching critical_, _Critical_, _Good_, _Neutral_ in the dropdown that helps specify the severity of thresholds in table widgets in the UI, respectively.
|
9527
|
+
"""
|
9528
|
+
return pulumi.get(self, "severity")
|
9529
|
+
|
9530
|
+
@severity.setter
|
9531
|
+
def severity(self, value: Optional[pulumi.Input[str]]):
|
9532
|
+
pulumi.set(self, "severity", value)
|
9533
|
+
|
9534
|
+
@property
|
9535
|
+
@pulumi.getter
|
9536
|
+
def to(self) -> Optional[pulumi.Input[int]]:
|
9537
|
+
"""
|
9538
|
+
The value until which the threshold would need to be applied.
|
9539
|
+
"""
|
9540
|
+
return pulumi.get(self, "to")
|
9541
|
+
|
9542
|
+
@to.setter
|
9543
|
+
def to(self, value: Optional[pulumi.Input[int]]):
|
9544
|
+
pulumi.set(self, "to", value)
|
9545
|
+
|
9546
|
+
|
9265
9547
|
@pulumi.input_type
|
9266
9548
|
class OneDashboardPageWidgetTableUnitArgs:
|
9267
9549
|
def __init__(__self__, *,
|
@@ -9569,7 +9851,7 @@ class OneDashboardVariableArgs:
|
|
9569
9851
|
nrql_query: Optional[pulumi.Input['OneDashboardVariableNrqlQueryArgs']] = None,
|
9570
9852
|
options: Optional[pulumi.Input[Sequence[pulumi.Input['OneDashboardVariableOptionArgs']]]] = None):
|
9571
9853
|
"""
|
9572
|
-
:param pulumi.Input[str] name:
|
9854
|
+
:param pulumi.Input[str] name: The title of the dashboard.
|
9573
9855
|
:param pulumi.Input[str] replacement_strategy: (Optional) Indicates the strategy to apply when replacing a variable in a NRQL query. One of `default`, `identifier`, `number` or `string`.
|
9574
9856
|
:param pulumi.Input[str] title: (Optional) A human-friendly display string for this value.
|
9575
9857
|
:param pulumi.Input[str] type: (Required) Specifies the data type of the variable and where its possible values may come from. One of `enum`, `nrql` or `string`
|
@@ -9598,7 +9880,7 @@ class OneDashboardVariableArgs:
|
|
9598
9880
|
@pulumi.getter
|
9599
9881
|
def name(self) -> pulumi.Input[str]:
|
9600
9882
|
"""
|
9601
|
-
|
9883
|
+
The title of the dashboard.
|
9602
9884
|
"""
|
9603
9885
|
return pulumi.get(self, "name")
|
9604
9886
|
|
@@ -9809,6 +10091,13 @@ class ServiceLevelEventsArgs:
|
|
9809
10091
|
valid_events: pulumi.Input['ServiceLevelEventsValidEventsArgs'],
|
9810
10092
|
bad_events: Optional[pulumi.Input['ServiceLevelEventsBadEventsArgs']] = None,
|
9811
10093
|
good_events: Optional[pulumi.Input['ServiceLevelEventsGoodEventsArgs']] = None):
|
10094
|
+
"""
|
10095
|
+
:param pulumi.Input[str] account_id: The ID of the account where the entity (e.g, APM Service, Browser application, Workload, etc.) belongs to,
|
10096
|
+
and that contains the NRDB data for the SLI/SLO calculations. Note that changing the account ID will force a new resource.
|
10097
|
+
:param pulumi.Input['ServiceLevelEventsValidEventsArgs'] valid_events: The definition of valid requests.
|
10098
|
+
:param pulumi.Input['ServiceLevelEventsBadEventsArgs'] bad_events: The definition of the bad responses. If you define an SLI from valid and bad events, you must leave the good events argument empty.
|
10099
|
+
:param pulumi.Input['ServiceLevelEventsGoodEventsArgs'] good_events: The definition of good responses. If you define an SLI from valid and good events, you must leave the bad events argument empty.
|
10100
|
+
"""
|
9812
10101
|
pulumi.set(__self__, "account_id", account_id)
|
9813
10102
|
pulumi.set(__self__, "valid_events", valid_events)
|
9814
10103
|
if bad_events is not None:
|
@@ -9819,6 +10108,10 @@ class ServiceLevelEventsArgs:
|
|
9819
10108
|
@property
|
9820
10109
|
@pulumi.getter(name="accountId")
|
9821
10110
|
def account_id(self) -> pulumi.Input[str]:
|
10111
|
+
"""
|
10112
|
+
The ID of the account where the entity (e.g, APM Service, Browser application, Workload, etc.) belongs to,
|
10113
|
+
and that contains the NRDB data for the SLI/SLO calculations. Note that changing the account ID will force a new resource.
|
10114
|
+
"""
|
9822
10115
|
return pulumi.get(self, "account_id")
|
9823
10116
|
|
9824
10117
|
@account_id.setter
|
@@ -9828,6 +10121,9 @@ class ServiceLevelEventsArgs:
|
|
9828
10121
|
@property
|
9829
10122
|
@pulumi.getter(name="validEvents")
|
9830
10123
|
def valid_events(self) -> pulumi.Input['ServiceLevelEventsValidEventsArgs']:
|
10124
|
+
"""
|
10125
|
+
The definition of valid requests.
|
10126
|
+
"""
|
9831
10127
|
return pulumi.get(self, "valid_events")
|
9832
10128
|
|
9833
10129
|
@valid_events.setter
|
@@ -9837,6 +10133,9 @@ class ServiceLevelEventsArgs:
|
|
9837
10133
|
@property
|
9838
10134
|
@pulumi.getter(name="badEvents")
|
9839
10135
|
def bad_events(self) -> Optional[pulumi.Input['ServiceLevelEventsBadEventsArgs']]:
|
10136
|
+
"""
|
10137
|
+
The definition of the bad responses. If you define an SLI from valid and bad events, you must leave the good events argument empty.
|
10138
|
+
"""
|
9840
10139
|
return pulumi.get(self, "bad_events")
|
9841
10140
|
|
9842
10141
|
@bad_events.setter
|
@@ -9846,6 +10145,9 @@ class ServiceLevelEventsArgs:
|
|
9846
10145
|
@property
|
9847
10146
|
@pulumi.getter(name="goodEvents")
|
9848
10147
|
def good_events(self) -> Optional[pulumi.Input['ServiceLevelEventsGoodEventsArgs']]:
|
10148
|
+
"""
|
10149
|
+
The definition of good responses. If you define an SLI from valid and good events, you must leave the bad events argument empty.
|
10150
|
+
"""
|
9849
10151
|
return pulumi.get(self, "good_events")
|
9850
10152
|
|
9851
10153
|
@good_events.setter
|
@@ -9859,6 +10161,12 @@ class ServiceLevelEventsBadEventsArgs:
|
|
9859
10161
|
from_: pulumi.Input[str],
|
9860
10162
|
select: Optional[pulumi.Input['ServiceLevelEventsBadEventsSelectArgs']] = None,
|
9861
10163
|
where: Optional[pulumi.Input[str]] = None):
|
10164
|
+
"""
|
10165
|
+
:param pulumi.Input[str] from_: The event type where NRDB data will be fetched from.
|
10166
|
+
:param pulumi.Input['ServiceLevelEventsBadEventsSelectArgs'] select: The NRQL SELECT clause to aggregate events.
|
10167
|
+
:param pulumi.Input[str] where: A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to
|
10168
|
+
a particular entity and returned an error).
|
10169
|
+
"""
|
9862
10170
|
pulumi.set(__self__, "from_", from_)
|
9863
10171
|
if select is not None:
|
9864
10172
|
pulumi.set(__self__, "select", select)
|
@@ -9868,6 +10176,9 @@ class ServiceLevelEventsBadEventsArgs:
|
|
9868
10176
|
@property
|
9869
10177
|
@pulumi.getter(name="from")
|
9870
10178
|
def from_(self) -> pulumi.Input[str]:
|
10179
|
+
"""
|
10180
|
+
The event type where NRDB data will be fetched from.
|
10181
|
+
"""
|
9871
10182
|
return pulumi.get(self, "from_")
|
9872
10183
|
|
9873
10184
|
@from_.setter
|
@@ -9877,6 +10188,9 @@ class ServiceLevelEventsBadEventsArgs:
|
|
9877
10188
|
@property
|
9878
10189
|
@pulumi.getter
|
9879
10190
|
def select(self) -> Optional[pulumi.Input['ServiceLevelEventsBadEventsSelectArgs']]:
|
10191
|
+
"""
|
10192
|
+
The NRQL SELECT clause to aggregate events.
|
10193
|
+
"""
|
9880
10194
|
return pulumi.get(self, "select")
|
9881
10195
|
|
9882
10196
|
@select.setter
|
@@ -9886,6 +10200,10 @@ class ServiceLevelEventsBadEventsArgs:
|
|
9886
10200
|
@property
|
9887
10201
|
@pulumi.getter
|
9888
10202
|
def where(self) -> Optional[pulumi.Input[str]]:
|
10203
|
+
"""
|
10204
|
+
A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to
|
10205
|
+
a particular entity and returned an error).
|
10206
|
+
"""
|
9889
10207
|
return pulumi.get(self, "where")
|
9890
10208
|
|
9891
10209
|
@where.setter
|
@@ -9900,7 +10218,9 @@ class ServiceLevelEventsBadEventsSelectArgs:
|
|
9900
10218
|
attribute: Optional[pulumi.Input[str]] = None,
|
9901
10219
|
threshold: Optional[pulumi.Input[float]] = None):
|
9902
10220
|
"""
|
9903
|
-
:param pulumi.Input[
|
10221
|
+
:param pulumi.Input[str] function: The function to use in the SELECT clause. Valid values are `COUNT`, `SUM`, `GET_FIELD`, and `GET_CDF_COUNT`.
|
10222
|
+
:param pulumi.Input[str] attribute: The event attribute to use in the SELECT clause.
|
10223
|
+
:param pulumi.Input[float] threshold: Limit for values to be counter by `GET_CDF_COUNT` function.
|
9904
10224
|
"""
|
9905
10225
|
pulumi.set(__self__, "function", function)
|
9906
10226
|
if attribute is not None:
|
@@ -9911,6 +10231,9 @@ class ServiceLevelEventsBadEventsSelectArgs:
|
|
9911
10231
|
@property
|
9912
10232
|
@pulumi.getter
|
9913
10233
|
def function(self) -> pulumi.Input[str]:
|
10234
|
+
"""
|
10235
|
+
The function to use in the SELECT clause. Valid values are `COUNT`, `SUM`, `GET_FIELD`, and `GET_CDF_COUNT`.
|
10236
|
+
"""
|
9914
10237
|
return pulumi.get(self, "function")
|
9915
10238
|
|
9916
10239
|
@function.setter
|
@@ -9920,6 +10243,9 @@ class ServiceLevelEventsBadEventsSelectArgs:
|
|
9920
10243
|
@property
|
9921
10244
|
@pulumi.getter
|
9922
10245
|
def attribute(self) -> Optional[pulumi.Input[str]]:
|
10246
|
+
"""
|
10247
|
+
The event attribute to use in the SELECT clause.
|
10248
|
+
"""
|
9923
10249
|
return pulumi.get(self, "attribute")
|
9924
10250
|
|
9925
10251
|
@attribute.setter
|
@@ -9930,7 +10256,7 @@ class ServiceLevelEventsBadEventsSelectArgs:
|
|
9930
10256
|
@pulumi.getter
|
9931
10257
|
def threshold(self) -> Optional[pulumi.Input[float]]:
|
9932
10258
|
"""
|
9933
|
-
|
10259
|
+
Limit for values to be counter by `GET_CDF_COUNT` function.
|
9934
10260
|
"""
|
9935
10261
|
return pulumi.get(self, "threshold")
|
9936
10262
|
|
@@ -9945,6 +10271,12 @@ class ServiceLevelEventsGoodEventsArgs:
|
|
9945
10271
|
from_: pulumi.Input[str],
|
9946
10272
|
select: Optional[pulumi.Input['ServiceLevelEventsGoodEventsSelectArgs']] = None,
|
9947
10273
|
where: Optional[pulumi.Input[str]] = None):
|
10274
|
+
"""
|
10275
|
+
:param pulumi.Input[str] from_: The event type where NRDB data will be fetched from.
|
10276
|
+
:param pulumi.Input['ServiceLevelEventsGoodEventsSelectArgs'] select: The NRQL SELECT clause to aggregate events.
|
10277
|
+
:param pulumi.Input[str] where: A filter that narrows down the NRDB events just to those that are considered good responses (e.g, those that refer to
|
10278
|
+
a particular entity and were successful).
|
10279
|
+
"""
|
9948
10280
|
pulumi.set(__self__, "from_", from_)
|
9949
10281
|
if select is not None:
|
9950
10282
|
pulumi.set(__self__, "select", select)
|
@@ -9954,6 +10286,9 @@ class ServiceLevelEventsGoodEventsArgs:
|
|
9954
10286
|
@property
|
9955
10287
|
@pulumi.getter(name="from")
|
9956
10288
|
def from_(self) -> pulumi.Input[str]:
|
10289
|
+
"""
|
10290
|
+
The event type where NRDB data will be fetched from.
|
10291
|
+
"""
|
9957
10292
|
return pulumi.get(self, "from_")
|
9958
10293
|
|
9959
10294
|
@from_.setter
|
@@ -9963,6 +10298,9 @@ class ServiceLevelEventsGoodEventsArgs:
|
|
9963
10298
|
@property
|
9964
10299
|
@pulumi.getter
|
9965
10300
|
def select(self) -> Optional[pulumi.Input['ServiceLevelEventsGoodEventsSelectArgs']]:
|
10301
|
+
"""
|
10302
|
+
The NRQL SELECT clause to aggregate events.
|
10303
|
+
"""
|
9966
10304
|
return pulumi.get(self, "select")
|
9967
10305
|
|
9968
10306
|
@select.setter
|
@@ -9972,6 +10310,10 @@ class ServiceLevelEventsGoodEventsArgs:
|
|
9972
10310
|
@property
|
9973
10311
|
@pulumi.getter
|
9974
10312
|
def where(self) -> Optional[pulumi.Input[str]]:
|
10313
|
+
"""
|
10314
|
+
A filter that narrows down the NRDB events just to those that are considered good responses (e.g, those that refer to
|
10315
|
+
a particular entity and were successful).
|
10316
|
+
"""
|
9975
10317
|
return pulumi.get(self, "where")
|
9976
10318
|
|
9977
10319
|
@where.setter
|
@@ -9986,7 +10328,9 @@ class ServiceLevelEventsGoodEventsSelectArgs:
|
|
9986
10328
|
attribute: Optional[pulumi.Input[str]] = None,
|
9987
10329
|
threshold: Optional[pulumi.Input[float]] = None):
|
9988
10330
|
"""
|
9989
|
-
:param pulumi.Input[
|
10331
|
+
:param pulumi.Input[str] function: The function to use in the SELECT clause. Valid values are `COUNT`, `SUM`, `GET_FIELD`, and `GET_CDF_COUNT`.
|
10332
|
+
:param pulumi.Input[str] attribute: The event attribute to use in the SELECT clause.
|
10333
|
+
:param pulumi.Input[float] threshold: Limit for values to be counter by `GET_CDF_COUNT` function.
|
9990
10334
|
"""
|
9991
10335
|
pulumi.set(__self__, "function", function)
|
9992
10336
|
if attribute is not None:
|
@@ -9997,6 +10341,9 @@ class ServiceLevelEventsGoodEventsSelectArgs:
|
|
9997
10341
|
@property
|
9998
10342
|
@pulumi.getter
|
9999
10343
|
def function(self) -> pulumi.Input[str]:
|
10344
|
+
"""
|
10345
|
+
The function to use in the SELECT clause. Valid values are `COUNT`, `SUM`, `GET_FIELD`, and `GET_CDF_COUNT`.
|
10346
|
+
"""
|
10000
10347
|
return pulumi.get(self, "function")
|
10001
10348
|
|
10002
10349
|
@function.setter
|
@@ -10006,6 +10353,9 @@ class ServiceLevelEventsGoodEventsSelectArgs:
|
|
10006
10353
|
@property
|
10007
10354
|
@pulumi.getter
|
10008
10355
|
def attribute(self) -> Optional[pulumi.Input[str]]:
|
10356
|
+
"""
|
10357
|
+
The event attribute to use in the SELECT clause.
|
10358
|
+
"""
|
10009
10359
|
return pulumi.get(self, "attribute")
|
10010
10360
|
|
10011
10361
|
@attribute.setter
|
@@ -10016,7 +10366,7 @@ class ServiceLevelEventsGoodEventsSelectArgs:
|
|
10016
10366
|
@pulumi.getter
|
10017
10367
|
def threshold(self) -> Optional[pulumi.Input[float]]:
|
10018
10368
|
"""
|
10019
|
-
|
10369
|
+
Limit for values to be counter by `GET_CDF_COUNT` function.
|
10020
10370
|
"""
|
10021
10371
|
return pulumi.get(self, "threshold")
|
10022
10372
|
|
@@ -10031,6 +10381,11 @@ class ServiceLevelEventsValidEventsArgs:
|
|
10031
10381
|
from_: pulumi.Input[str],
|
10032
10382
|
select: Optional[pulumi.Input['ServiceLevelEventsValidEventsSelectArgs']] = None,
|
10033
10383
|
where: Optional[pulumi.Input[str]] = None):
|
10384
|
+
"""
|
10385
|
+
:param pulumi.Input[str] from_: The event type where NRDB data will be fetched from.
|
10386
|
+
:param pulumi.Input['ServiceLevelEventsValidEventsSelectArgs'] select: The NRQL SELECT clause to aggregate events.
|
10387
|
+
:param pulumi.Input[str] where: A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity).
|
10388
|
+
"""
|
10034
10389
|
pulumi.set(__self__, "from_", from_)
|
10035
10390
|
if select is not None:
|
10036
10391
|
pulumi.set(__self__, "select", select)
|
@@ -10040,6 +10395,9 @@ class ServiceLevelEventsValidEventsArgs:
|
|
10040
10395
|
@property
|
10041
10396
|
@pulumi.getter(name="from")
|
10042
10397
|
def from_(self) -> pulumi.Input[str]:
|
10398
|
+
"""
|
10399
|
+
The event type where NRDB data will be fetched from.
|
10400
|
+
"""
|
10043
10401
|
return pulumi.get(self, "from_")
|
10044
10402
|
|
10045
10403
|
@from_.setter
|
@@ -10049,6 +10407,9 @@ class ServiceLevelEventsValidEventsArgs:
|
|
10049
10407
|
@property
|
10050
10408
|
@pulumi.getter
|
10051
10409
|
def select(self) -> Optional[pulumi.Input['ServiceLevelEventsValidEventsSelectArgs']]:
|
10410
|
+
"""
|
10411
|
+
The NRQL SELECT clause to aggregate events.
|
10412
|
+
"""
|
10052
10413
|
return pulumi.get(self, "select")
|
10053
10414
|
|
10054
10415
|
@select.setter
|
@@ -10058,6 +10419,9 @@ class ServiceLevelEventsValidEventsArgs:
|
|
10058
10419
|
@property
|
10059
10420
|
@pulumi.getter
|
10060
10421
|
def where(self) -> Optional[pulumi.Input[str]]:
|
10422
|
+
"""
|
10423
|
+
A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity).
|
10424
|
+
"""
|
10061
10425
|
return pulumi.get(self, "where")
|
10062
10426
|
|
10063
10427
|
@where.setter
|
@@ -10072,7 +10436,9 @@ class ServiceLevelEventsValidEventsSelectArgs:
|
|
10072
10436
|
attribute: Optional[pulumi.Input[str]] = None,
|
10073
10437
|
threshold: Optional[pulumi.Input[float]] = None):
|
10074
10438
|
"""
|
10075
|
-
:param pulumi.Input[
|
10439
|
+
:param pulumi.Input[str] function: The function to use in the SELECT clause. Valid values are `COUNT`, `SUM`, `GET_FIELD`, and `GET_CDF_COUNT`.
|
10440
|
+
:param pulumi.Input[str] attribute: The event attribute to use in the SELECT clause.
|
10441
|
+
:param pulumi.Input[float] threshold: Limit for values to be counter by `GET_CDF_COUNT` function.
|
10076
10442
|
"""
|
10077
10443
|
pulumi.set(__self__, "function", function)
|
10078
10444
|
if attribute is not None:
|
@@ -10083,6 +10449,9 @@ class ServiceLevelEventsValidEventsSelectArgs:
|
|
10083
10449
|
@property
|
10084
10450
|
@pulumi.getter
|
10085
10451
|
def function(self) -> pulumi.Input[str]:
|
10452
|
+
"""
|
10453
|
+
The function to use in the SELECT clause. Valid values are `COUNT`, `SUM`, `GET_FIELD`, and `GET_CDF_COUNT`.
|
10454
|
+
"""
|
10086
10455
|
return pulumi.get(self, "function")
|
10087
10456
|
|
10088
10457
|
@function.setter
|
@@ -10092,6 +10461,9 @@ class ServiceLevelEventsValidEventsSelectArgs:
|
|
10092
10461
|
@property
|
10093
10462
|
@pulumi.getter
|
10094
10463
|
def attribute(self) -> Optional[pulumi.Input[str]]:
|
10464
|
+
"""
|
10465
|
+
The event attribute to use in the SELECT clause.
|
10466
|
+
"""
|
10095
10467
|
return pulumi.get(self, "attribute")
|
10096
10468
|
|
10097
10469
|
@attribute.setter
|
@@ -10102,7 +10474,7 @@ class ServiceLevelEventsValidEventsSelectArgs:
|
|
10102
10474
|
@pulumi.getter
|
10103
10475
|
def threshold(self) -> Optional[pulumi.Input[float]]:
|
10104
10476
|
"""
|
10105
|
-
|
10477
|
+
Limit for values to be counter by `GET_CDF_COUNT` function.
|
10106
10478
|
"""
|
10107
10479
|
return pulumi.get(self, "threshold")
|
10108
10480
|
|
@@ -10118,6 +10490,12 @@ class ServiceLevelObjectiveArgs:
|
|
10118
10490
|
time_window: pulumi.Input['ServiceLevelObjectiveTimeWindowArgs'],
|
10119
10491
|
description: Optional[pulumi.Input[str]] = None,
|
10120
10492
|
name: Optional[pulumi.Input[str]] = None):
|
10493
|
+
"""
|
10494
|
+
:param pulumi.Input[float] target: The target of the objective, valid values between `0` and `100`. Up to 5 decimals accepted.
|
10495
|
+
:param pulumi.Input['ServiceLevelObjectiveTimeWindowArgs'] time_window: Time window is the period of the objective.
|
10496
|
+
:param pulumi.Input[str] description: The description of the SLI.
|
10497
|
+
:param pulumi.Input[str] name: A short name for the SLI that will help anyone understand what it is about.
|
10498
|
+
"""
|
10121
10499
|
pulumi.set(__self__, "target", target)
|
10122
10500
|
pulumi.set(__self__, "time_window", time_window)
|
10123
10501
|
if description is not None:
|
@@ -10128,6 +10506,9 @@ class ServiceLevelObjectiveArgs:
|
|
10128
10506
|
@property
|
10129
10507
|
@pulumi.getter
|
10130
10508
|
def target(self) -> pulumi.Input[float]:
|
10509
|
+
"""
|
10510
|
+
The target of the objective, valid values between `0` and `100`. Up to 5 decimals accepted.
|
10511
|
+
"""
|
10131
10512
|
return pulumi.get(self, "target")
|
10132
10513
|
|
10133
10514
|
@target.setter
|
@@ -10137,6 +10518,9 @@ class ServiceLevelObjectiveArgs:
|
|
10137
10518
|
@property
|
10138
10519
|
@pulumi.getter(name="timeWindow")
|
10139
10520
|
def time_window(self) -> pulumi.Input['ServiceLevelObjectiveTimeWindowArgs']:
|
10521
|
+
"""
|
10522
|
+
Time window is the period of the objective.
|
10523
|
+
"""
|
10140
10524
|
return pulumi.get(self, "time_window")
|
10141
10525
|
|
10142
10526
|
@time_window.setter
|
@@ -10146,6 +10530,9 @@ class ServiceLevelObjectiveArgs:
|
|
10146
10530
|
@property
|
10147
10531
|
@pulumi.getter
|
10148
10532
|
def description(self) -> Optional[pulumi.Input[str]]:
|
10533
|
+
"""
|
10534
|
+
The description of the SLI.
|
10535
|
+
"""
|
10149
10536
|
return pulumi.get(self, "description")
|
10150
10537
|
|
10151
10538
|
@description.setter
|
@@ -10155,6 +10542,9 @@ class ServiceLevelObjectiveArgs:
|
|
10155
10542
|
@property
|
10156
10543
|
@pulumi.getter
|
10157
10544
|
def name(self) -> Optional[pulumi.Input[str]]:
|
10545
|
+
"""
|
10546
|
+
A short name for the SLI that will help anyone understand what it is about.
|
10547
|
+
"""
|
10158
10548
|
return pulumi.get(self, "name")
|
10159
10549
|
|
10160
10550
|
@name.setter
|
@@ -10166,11 +10556,17 @@ class ServiceLevelObjectiveArgs:
|
|
10166
10556
|
class ServiceLevelObjectiveTimeWindowArgs:
|
10167
10557
|
def __init__(__self__, *,
|
10168
10558
|
rolling: pulumi.Input['ServiceLevelObjectiveTimeWindowRollingArgs']):
|
10559
|
+
"""
|
10560
|
+
:param pulumi.Input['ServiceLevelObjectiveTimeWindowRollingArgs'] rolling: Rolling window.
|
10561
|
+
"""
|
10169
10562
|
pulumi.set(__self__, "rolling", rolling)
|
10170
10563
|
|
10171
10564
|
@property
|
10172
10565
|
@pulumi.getter
|
10173
10566
|
def rolling(self) -> pulumi.Input['ServiceLevelObjectiveTimeWindowRollingArgs']:
|
10567
|
+
"""
|
10568
|
+
Rolling window.
|
10569
|
+
"""
|
10174
10570
|
return pulumi.get(self, "rolling")
|
10175
10571
|
|
10176
10572
|
@rolling.setter
|
@@ -10183,12 +10579,19 @@ class ServiceLevelObjectiveTimeWindowRollingArgs:
|
|
10183
10579
|
def __init__(__self__, *,
|
10184
10580
|
count: pulumi.Input[int],
|
10185
10581
|
unit: pulumi.Input[str]):
|
10582
|
+
"""
|
10583
|
+
:param pulumi.Input[int] count: Valid values are `1`, `7` and `28`.
|
10584
|
+
:param pulumi.Input[str] unit: The only supported value is `DAY`.
|
10585
|
+
"""
|
10186
10586
|
pulumi.set(__self__, "count", count)
|
10187
10587
|
pulumi.set(__self__, "unit", unit)
|
10188
10588
|
|
10189
10589
|
@property
|
10190
10590
|
@pulumi.getter
|
10191
10591
|
def count(self) -> pulumi.Input[int]:
|
10592
|
+
"""
|
10593
|
+
Valid values are `1`, `7` and `28`.
|
10594
|
+
"""
|
10192
10595
|
return pulumi.get(self, "count")
|
10193
10596
|
|
10194
10597
|
@count.setter
|
@@ -10198,6 +10601,9 @@ class ServiceLevelObjectiveTimeWindowRollingArgs:
|
|
10198
10601
|
@property
|
10199
10602
|
@pulumi.getter
|
10200
10603
|
def unit(self) -> pulumi.Input[str]:
|
10604
|
+
"""
|
10605
|
+
The only supported value is `DAY`.
|
10606
|
+
"""
|
10201
10607
|
return pulumi.get(self, "unit")
|
10202
10608
|
|
10203
10609
|
@unit.setter
|