pulumi-newrelic 5.24.1__py3-none-any.whl → 5.25.0__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.24.1.dist-info → pulumi_newrelic-5.25.0.dist-info}/METADATA +1 -1
- {pulumi_newrelic-5.24.1.dist-info → pulumi_newrelic-5.25.0.dist-info}/RECORD +28 -28
- {pulumi_newrelic-5.24.1.dist-info → pulumi_newrelic-5.25.0.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.24.1.dist-info → pulumi_newrelic-5.25.0.dist-info}/top_level.txt +0 -0
pulumi_newrelic/outputs.py
CHANGED
@@ -104,8 +104,10 @@ __all__ = [
|
|
104
104
|
'OneDashboardPageWidgetLineNrqlQuery',
|
105
105
|
'OneDashboardPageWidgetLineNullValue',
|
106
106
|
'OneDashboardPageWidgetLineNullValueSeriesOverride',
|
107
|
+
'OneDashboardPageWidgetLineThreshold',
|
107
108
|
'OneDashboardPageWidgetLineUnit',
|
108
109
|
'OneDashboardPageWidgetLineUnitSeriesOverride',
|
110
|
+
'OneDashboardPageWidgetLineYAxisRight',
|
109
111
|
'OneDashboardPageWidgetLogTable',
|
110
112
|
'OneDashboardPageWidgetLogTableColor',
|
111
113
|
'OneDashboardPageWidgetLogTableColorSeriesOverride',
|
@@ -143,6 +145,7 @@ __all__ = [
|
|
143
145
|
'OneDashboardPageWidgetTableNrqlQuery',
|
144
146
|
'OneDashboardPageWidgetTableNullValue',
|
145
147
|
'OneDashboardPageWidgetTableNullValueSeriesOverride',
|
148
|
+
'OneDashboardPageWidgetTableThreshold',
|
146
149
|
'OneDashboardPageWidgetTableUnit',
|
147
150
|
'OneDashboardPageWidgetTableUnitSeriesOverride',
|
148
151
|
'OneDashboardRawPage',
|
@@ -560,8 +563,8 @@ class AlertMutingRuleCondition(dict):
|
|
560
563
|
conditions: Sequence['outputs.AlertMutingRuleConditionCondition'],
|
561
564
|
operator: str):
|
562
565
|
"""
|
563
|
-
:param Sequence['AlertMutingRuleConditionConditionArgs'] conditions: The individual MutingRuleConditions within the group.
|
564
|
-
:param str operator: The operator used to combine all the MutingRuleConditions within the group.
|
566
|
+
:param Sequence['AlertMutingRuleConditionConditionArgs'] conditions: The individual MutingRuleConditions within the group. See Nested conditions blocks below for details.
|
567
|
+
:param str operator: The operator used to combine all the MutingRuleConditions within the group. Valid values are `AND`, `OR`.
|
565
568
|
"""
|
566
569
|
pulumi.set(__self__, "conditions", conditions)
|
567
570
|
pulumi.set(__self__, "operator", operator)
|
@@ -570,7 +573,7 @@ class AlertMutingRuleCondition(dict):
|
|
570
573
|
@pulumi.getter
|
571
574
|
def conditions(self) -> Sequence['outputs.AlertMutingRuleConditionCondition']:
|
572
575
|
"""
|
573
|
-
The individual MutingRuleConditions within the group.
|
576
|
+
The individual MutingRuleConditions within the group. See Nested conditions blocks below for details.
|
574
577
|
"""
|
575
578
|
return pulumi.get(self, "conditions")
|
576
579
|
|
@@ -578,7 +581,7 @@ class AlertMutingRuleCondition(dict):
|
|
578
581
|
@pulumi.getter
|
579
582
|
def operator(self) -> str:
|
580
583
|
"""
|
581
|
-
The operator used to combine all the MutingRuleConditions within the group.
|
584
|
+
The operator used to combine all the MutingRuleConditions within the group. Valid values are `AND`, `OR`.
|
582
585
|
"""
|
583
586
|
return pulumi.get(self, "operator")
|
584
587
|
|
@@ -664,6 +667,7 @@ class AlertMutingRuleSchedule(dict):
|
|
664
667
|
:param str time_zone: The time zone that applies to the MutingRule schedule.
|
665
668
|
:param 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`
|
666
669
|
:param 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'
|
670
|
+
* `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
|
667
671
|
:param str repeat: The frequency the muting rule schedule repeats. If it does not repeat, omit this field. Options are DAILY, WEEKLY, MONTHLY
|
668
672
|
:param 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`
|
669
673
|
:param 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'
|
@@ -704,6 +708,7 @@ class AlertMutingRuleSchedule(dict):
|
|
704
708
|
def end_time(self) -> Optional[str]:
|
705
709
|
"""
|
706
710
|
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'
|
711
|
+
* `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
|
707
712
|
"""
|
708
713
|
return pulumi.get(self, "end_time")
|
709
714
|
|
@@ -1752,8 +1757,8 @@ class OneDashboardPage(dict):
|
|
1752
1757
|
widget_stacked_bars: Optional[Sequence['outputs.OneDashboardPageWidgetStackedBar']] = None,
|
1753
1758
|
widget_tables: Optional[Sequence['outputs.OneDashboardPageWidgetTable']] = None):
|
1754
1759
|
"""
|
1755
|
-
:param str name:
|
1756
|
-
:param str description:
|
1760
|
+
:param str name: The title of the dashboard.
|
1761
|
+
:param str description: Brief text describing the dashboard.
|
1757
1762
|
:param str guid: The unique entity identifier of the dashboard page in New Relic.
|
1758
1763
|
:param Sequence['OneDashboardPageWidgetAreaArgs'] widget_areas: An area widget.
|
1759
1764
|
:param Sequence['OneDashboardPageWidgetBarArgs'] widget_bars: A bar widget.
|
@@ -1808,7 +1813,7 @@ class OneDashboardPage(dict):
|
|
1808
1813
|
@pulumi.getter
|
1809
1814
|
def name(self) -> str:
|
1810
1815
|
"""
|
1811
|
-
|
1816
|
+
The title of the dashboard.
|
1812
1817
|
"""
|
1813
1818
|
return pulumi.get(self, "name")
|
1814
1819
|
|
@@ -1816,7 +1821,7 @@ class OneDashboardPage(dict):
|
|
1816
1821
|
@pulumi.getter
|
1817
1822
|
def description(self) -> Optional[str]:
|
1818
1823
|
"""
|
1819
|
-
|
1824
|
+
Brief text describing the dashboard.
|
1820
1825
|
"""
|
1821
1826
|
return pulumi.get(self, "description")
|
1822
1827
|
|
@@ -2269,7 +2274,7 @@ class OneDashboardPageWidgetAreaNrqlQuery(dict):
|
|
2269
2274
|
account_id: Optional[str] = None):
|
2270
2275
|
"""
|
2271
2276
|
:param 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.
|
2272
|
-
:param str account_id:
|
2277
|
+
:param str account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
2273
2278
|
"""
|
2274
2279
|
pulumi.set(__self__, "query", query)
|
2275
2280
|
if account_id is not None:
|
@@ -2287,7 +2292,7 @@ class OneDashboardPageWidgetAreaNrqlQuery(dict):
|
|
2287
2292
|
@pulumi.getter(name="accountId")
|
2288
2293
|
def account_id(self) -> Optional[str]:
|
2289
2294
|
"""
|
2290
|
-
|
2295
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
2291
2296
|
"""
|
2292
2297
|
return pulumi.get(self, "account_id")
|
2293
2298
|
|
@@ -2844,7 +2849,7 @@ class OneDashboardPageWidgetBarNrqlQuery(dict):
|
|
2844
2849
|
account_id: Optional[str] = None):
|
2845
2850
|
"""
|
2846
2851
|
:param 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.
|
2847
|
-
:param str account_id:
|
2852
|
+
:param str account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
2848
2853
|
"""
|
2849
2854
|
pulumi.set(__self__, "query", query)
|
2850
2855
|
if account_id is not None:
|
@@ -2862,7 +2867,7 @@ class OneDashboardPageWidgetBarNrqlQuery(dict):
|
|
2862
2867
|
@pulumi.getter(name="accountId")
|
2863
2868
|
def account_id(self) -> Optional[str]:
|
2864
2869
|
"""
|
2865
|
-
|
2870
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
2866
2871
|
"""
|
2867
2872
|
return pulumi.get(self, "account_id")
|
2868
2873
|
|
@@ -3415,7 +3420,7 @@ class OneDashboardPageWidgetBillboardNrqlQuery(dict):
|
|
3415
3420
|
account_id: Optional[str] = None):
|
3416
3421
|
"""
|
3417
3422
|
:param 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.
|
3418
|
-
:param str account_id:
|
3423
|
+
:param str account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
3419
3424
|
"""
|
3420
3425
|
pulumi.set(__self__, "query", query)
|
3421
3426
|
if account_id is not None:
|
@@ -3433,7 +3438,7 @@ class OneDashboardPageWidgetBillboardNrqlQuery(dict):
|
|
3433
3438
|
@pulumi.getter(name="accountId")
|
3434
3439
|
def account_id(self) -> Optional[str]:
|
3435
3440
|
"""
|
3436
|
-
|
3441
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
3437
3442
|
"""
|
3438
3443
|
return pulumi.get(self, "account_id")
|
3439
3444
|
|
@@ -3973,7 +3978,7 @@ class OneDashboardPageWidgetBulletNrqlQuery(dict):
|
|
3973
3978
|
account_id: Optional[str] = None):
|
3974
3979
|
"""
|
3975
3980
|
:param 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.
|
3976
|
-
:param str account_id:
|
3981
|
+
:param str account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
3977
3982
|
"""
|
3978
3983
|
pulumi.set(__self__, "query", query)
|
3979
3984
|
if account_id is not None:
|
@@ -3991,7 +3996,7 @@ class OneDashboardPageWidgetBulletNrqlQuery(dict):
|
|
3991
3996
|
@pulumi.getter(name="accountId")
|
3992
3997
|
def account_id(self) -> Optional[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
|
|
@@ -4520,7 +4525,7 @@ class OneDashboardPageWidgetFunnelNrqlQuery(dict):
|
|
4520
4525
|
account_id: Optional[str] = None):
|
4521
4526
|
"""
|
4522
4527
|
:param 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.
|
4523
|
-
:param str account_id:
|
4528
|
+
:param str account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
4524
4529
|
"""
|
4525
4530
|
pulumi.set(__self__, "query", query)
|
4526
4531
|
if account_id is not None:
|
@@ -4538,7 +4543,7 @@ class OneDashboardPageWidgetFunnelNrqlQuery(dict):
|
|
4538
4543
|
@pulumi.getter(name="accountId")
|
4539
4544
|
def account_id(self) -> Optional[str]:
|
4540
4545
|
"""
|
4541
|
-
|
4546
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
4542
4547
|
"""
|
4543
4548
|
return pulumi.get(self, "account_id")
|
4544
4549
|
|
@@ -5095,7 +5100,7 @@ class OneDashboardPageWidgetHeatmapNrqlQuery(dict):
|
|
5095
5100
|
account_id: Optional[str] = None):
|
5096
5101
|
"""
|
5097
5102
|
:param 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.
|
5098
|
-
:param str account_id:
|
5103
|
+
:param str account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
5099
5104
|
"""
|
5100
5105
|
pulumi.set(__self__, "query", query)
|
5101
5106
|
if account_id is not None:
|
@@ -5113,7 +5118,7 @@ class OneDashboardPageWidgetHeatmapNrqlQuery(dict):
|
|
5113
5118
|
@pulumi.getter(name="accountId")
|
5114
5119
|
def account_id(self) -> Optional[str]:
|
5115
5120
|
"""
|
5116
|
-
|
5121
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
5117
5122
|
"""
|
5118
5123
|
return pulumi.get(self, "account_id")
|
5119
5124
|
|
@@ -5642,7 +5647,7 @@ class OneDashboardPageWidgetHistogramNrqlQuery(dict):
|
|
5642
5647
|
account_id: Optional[str] = None):
|
5643
5648
|
"""
|
5644
5649
|
:param 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.
|
5645
|
-
:param str account_id:
|
5650
|
+
:param str account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
5646
5651
|
"""
|
5647
5652
|
pulumi.set(__self__, "query", query)
|
5648
5653
|
if account_id is not None:
|
@@ -5660,7 +5665,7 @@ class OneDashboardPageWidgetHistogramNrqlQuery(dict):
|
|
5660
5665
|
@pulumi.getter(name="accountId")
|
5661
5666
|
def account_id(self) -> Optional[str]:
|
5662
5667
|
"""
|
5663
|
-
|
5668
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
5664
5669
|
"""
|
5665
5670
|
return pulumi.get(self, "account_id")
|
5666
5671
|
|
@@ -6189,7 +6194,7 @@ class OneDashboardPageWidgetJsonNrqlQuery(dict):
|
|
6189
6194
|
account_id: Optional[str] = None):
|
6190
6195
|
"""
|
6191
6196
|
:param 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.
|
6192
|
-
:param str account_id:
|
6197
|
+
:param str account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
6193
6198
|
"""
|
6194
6199
|
pulumi.set(__self__, "query", query)
|
6195
6200
|
if account_id is not None:
|
@@ -6207,7 +6212,7 @@ class OneDashboardPageWidgetJsonNrqlQuery(dict):
|
|
6207
6212
|
@pulumi.getter(name="accountId")
|
6208
6213
|
def account_id(self) -> Optional[str]:
|
6209
6214
|
"""
|
6210
|
-
|
6215
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
6211
6216
|
"""
|
6212
6217
|
return pulumi.get(self, "account_id")
|
6213
6218
|
|
@@ -6419,6 +6424,8 @@ class OneDashboardPageWidgetLine(dict):
|
|
6419
6424
|
suggest = "facet_show_other_series"
|
6420
6425
|
elif key == "ignoreTimeRange":
|
6421
6426
|
suggest = "ignore_time_range"
|
6427
|
+
elif key == "isLabelVisible":
|
6428
|
+
suggest = "is_label_visible"
|
6422
6429
|
elif key == "legendEnabled":
|
6423
6430
|
suggest = "legend_enabled"
|
6424
6431
|
elif key == "nullValues":
|
@@ -6429,6 +6436,8 @@ class OneDashboardPageWidgetLine(dict):
|
|
6429
6436
|
suggest = "y_axis_left_min"
|
6430
6437
|
elif key == "yAxisLeftZero":
|
6431
6438
|
suggest = "y_axis_left_zero"
|
6439
|
+
elif key == "yAxisRight":
|
6440
|
+
suggest = "y_axis_right"
|
6432
6441
|
|
6433
6442
|
if suggest:
|
6434
6443
|
pulumi.log.warn(f"Key '{key}' not found in OneDashboardPageWidgetLine. Access the value via the '{suggest}' property getter instead.")
|
@@ -6451,13 +6460,16 @@ class OneDashboardPageWidgetLine(dict):
|
|
6451
6460
|
height: Optional[int] = None,
|
6452
6461
|
id: Optional[str] = None,
|
6453
6462
|
ignore_time_range: Optional[bool] = None,
|
6463
|
+
is_label_visible: Optional[bool] = None,
|
6454
6464
|
legend_enabled: Optional[bool] = None,
|
6455
6465
|
null_values: Optional[Sequence['outputs.OneDashboardPageWidgetLineNullValue']] = None,
|
6466
|
+
thresholds: Optional[Sequence['outputs.OneDashboardPageWidgetLineThreshold']] = None,
|
6456
6467
|
units: Optional[Sequence['outputs.OneDashboardPageWidgetLineUnit']] = None,
|
6457
6468
|
width: Optional[int] = None,
|
6458
6469
|
y_axis_left_max: Optional[float] = None,
|
6459
6470
|
y_axis_left_min: Optional[float] = None,
|
6460
|
-
y_axis_left_zero: Optional[bool] = None
|
6471
|
+
y_axis_left_zero: Optional[bool] = None,
|
6472
|
+
y_axis_right: Optional['outputs.OneDashboardPageWidgetLineYAxisRight'] = None):
|
6461
6473
|
"""
|
6462
6474
|
:param int column: (Required) Column position of widget from top left, starting at `1`.
|
6463
6475
|
:param Sequence['OneDashboardPageWidgetLineNrqlQueryArgs'] nrql_queries: (Optional) Configuration for variables of type `nrql`. See Nested nrql\\_query blocks for details.
|
@@ -6468,12 +6480,15 @@ class OneDashboardPageWidgetLine(dict):
|
|
6468
6480
|
:param int height: (Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`.
|
6469
6481
|
:param str id: The ID of the widget.
|
6470
6482
|
:param 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.
|
6483
|
+
:param 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.
|
6471
6484
|
:param bool legend_enabled: (Optional) With this turned on, the legend will be displayed. Defaults to `true`.
|
6472
6485
|
:param Sequence['OneDashboardPageWidgetLineNullValueArgs'] null_values: (Optional) A nested block that describes a Null Values. See Nested Null Values blocks below for details.
|
6486
|
+
:param Sequence['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 -
|
6473
6487
|
:param Sequence['OneDashboardPageWidgetLineUnitArgs'] units: (Optional) A nested block that describes units on your Y axis. See Nested Units blocks below for details.
|
6474
6488
|
:param int width: (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`.
|
6475
6489
|
:param 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.
|
6476
6490
|
:param 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.
|
6491
|
+
:param '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:
|
6477
6492
|
"""
|
6478
6493
|
pulumi.set(__self__, "column", column)
|
6479
6494
|
pulumi.set(__self__, "nrql_queries", nrql_queries)
|
@@ -6489,10 +6504,14 @@ class OneDashboardPageWidgetLine(dict):
|
|
6489
6504
|
pulumi.set(__self__, "id", id)
|
6490
6505
|
if ignore_time_range is not None:
|
6491
6506
|
pulumi.set(__self__, "ignore_time_range", ignore_time_range)
|
6507
|
+
if is_label_visible is not None:
|
6508
|
+
pulumi.set(__self__, "is_label_visible", is_label_visible)
|
6492
6509
|
if legend_enabled is not None:
|
6493
6510
|
pulumi.set(__self__, "legend_enabled", legend_enabled)
|
6494
6511
|
if null_values is not None:
|
6495
6512
|
pulumi.set(__self__, "null_values", null_values)
|
6513
|
+
if thresholds is not None:
|
6514
|
+
pulumi.set(__self__, "thresholds", thresholds)
|
6496
6515
|
if units is not None:
|
6497
6516
|
pulumi.set(__self__, "units", units)
|
6498
6517
|
if width is not None:
|
@@ -6503,6 +6522,8 @@ class OneDashboardPageWidgetLine(dict):
|
|
6503
6522
|
pulumi.set(__self__, "y_axis_left_min", y_axis_left_min)
|
6504
6523
|
if y_axis_left_zero is not None:
|
6505
6524
|
pulumi.set(__self__, "y_axis_left_zero", y_axis_left_zero)
|
6525
|
+
if y_axis_right is not None:
|
6526
|
+
pulumi.set(__self__, "y_axis_right", y_axis_right)
|
6506
6527
|
|
6507
6528
|
@property
|
6508
6529
|
@pulumi.getter
|
@@ -6576,6 +6597,14 @@ class OneDashboardPageWidgetLine(dict):
|
|
6576
6597
|
"""
|
6577
6598
|
return pulumi.get(self, "ignore_time_range")
|
6578
6599
|
|
6600
|
+
@property
|
6601
|
+
@pulumi.getter(name="isLabelVisible")
|
6602
|
+
def is_label_visible(self) -> Optional[bool]:
|
6603
|
+
"""
|
6604
|
+
(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.
|
6605
|
+
"""
|
6606
|
+
return pulumi.get(self, "is_label_visible")
|
6607
|
+
|
6579
6608
|
@property
|
6580
6609
|
@pulumi.getter(name="legendEnabled")
|
6581
6610
|
def legend_enabled(self) -> Optional[bool]:
|
@@ -6592,6 +6621,14 @@ class OneDashboardPageWidgetLine(dict):
|
|
6592
6621
|
"""
|
6593
6622
|
return pulumi.get(self, "null_values")
|
6594
6623
|
|
6624
|
+
@property
|
6625
|
+
@pulumi.getter
|
6626
|
+
def thresholds(self) -> Optional[Sequence['outputs.OneDashboardPageWidgetLineThreshold']]:
|
6627
|
+
"""
|
6628
|
+
(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 -
|
6629
|
+
"""
|
6630
|
+
return pulumi.get(self, "thresholds")
|
6631
|
+
|
6595
6632
|
@property
|
6596
6633
|
@pulumi.getter
|
6597
6634
|
def units(self) -> Optional[Sequence['outputs.OneDashboardPageWidgetLineUnit']]:
|
@@ -6629,6 +6666,14 @@ class OneDashboardPageWidgetLine(dict):
|
|
6629
6666
|
"""
|
6630
6667
|
return pulumi.get(self, "y_axis_left_zero")
|
6631
6668
|
|
6669
|
+
@property
|
6670
|
+
@pulumi.getter(name="yAxisRight")
|
6671
|
+
def y_axis_right(self) -> Optional['outputs.OneDashboardPageWidgetLineYAxisRight']:
|
6672
|
+
"""
|
6673
|
+
(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:
|
6674
|
+
"""
|
6675
|
+
return pulumi.get(self, "y_axis_right")
|
6676
|
+
|
6632
6677
|
|
6633
6678
|
@pulumi.output_type
|
6634
6679
|
class OneDashboardPageWidgetLineColor(dict):
|
@@ -6750,7 +6795,7 @@ class OneDashboardPageWidgetLineNrqlQuery(dict):
|
|
6750
6795
|
account_id: Optional[str] = None):
|
6751
6796
|
"""
|
6752
6797
|
:param 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.
|
6753
|
-
:param str account_id:
|
6798
|
+
:param str account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
6754
6799
|
"""
|
6755
6800
|
pulumi.set(__self__, "query", query)
|
6756
6801
|
if account_id is not None:
|
@@ -6768,7 +6813,7 @@ class OneDashboardPageWidgetLineNrqlQuery(dict):
|
|
6768
6813
|
@pulumi.getter(name="accountId")
|
6769
6814
|
def account_id(self) -> Optional[str]:
|
6770
6815
|
"""
|
6771
|
-
|
6816
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
6772
6817
|
"""
|
6773
6818
|
return pulumi.get(self, "account_id")
|
6774
6819
|
|
@@ -6873,6 +6918,78 @@ class OneDashboardPageWidgetLineNullValueSeriesOverride(dict):
|
|
6873
6918
|
return pulumi.get(self, "series_name")
|
6874
6919
|
|
6875
6920
|
|
6921
|
+
@pulumi.output_type
|
6922
|
+
class OneDashboardPageWidgetLineThreshold(dict):
|
6923
|
+
@staticmethod
|
6924
|
+
def __key_warning(key: str):
|
6925
|
+
suggest = None
|
6926
|
+
if key == "from":
|
6927
|
+
suggest = "from_"
|
6928
|
+
|
6929
|
+
if suggest:
|
6930
|
+
pulumi.log.warn(f"Key '{key}' not found in OneDashboardPageWidgetLineThreshold. Access the value via the '{suggest}' property getter instead.")
|
6931
|
+
|
6932
|
+
def __getitem__(self, key: str) -> Any:
|
6933
|
+
OneDashboardPageWidgetLineThreshold.__key_warning(key)
|
6934
|
+
return super().__getitem__(key)
|
6935
|
+
|
6936
|
+
def get(self, key: str, default = None) -> Any:
|
6937
|
+
OneDashboardPageWidgetLineThreshold.__key_warning(key)
|
6938
|
+
return super().get(key, default)
|
6939
|
+
|
6940
|
+
def __init__(__self__, *,
|
6941
|
+
from_: Optional[int] = None,
|
6942
|
+
name: Optional[str] = None,
|
6943
|
+
severity: Optional[str] = None,
|
6944
|
+
to: Optional[int] = None):
|
6945
|
+
"""
|
6946
|
+
:param int from_: The value 'from' which the threshold would need to be applied.
|
6947
|
+
:param str name: The title of the dashboard.
|
6948
|
+
:param 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.
|
6949
|
+
:param int to: The value until which the threshold would need to be applied.
|
6950
|
+
"""
|
6951
|
+
if from_ is not None:
|
6952
|
+
pulumi.set(__self__, "from_", from_)
|
6953
|
+
if name is not None:
|
6954
|
+
pulumi.set(__self__, "name", name)
|
6955
|
+
if severity is not None:
|
6956
|
+
pulumi.set(__self__, "severity", severity)
|
6957
|
+
if to is not None:
|
6958
|
+
pulumi.set(__self__, "to", to)
|
6959
|
+
|
6960
|
+
@property
|
6961
|
+
@pulumi.getter(name="from")
|
6962
|
+
def from_(self) -> Optional[int]:
|
6963
|
+
"""
|
6964
|
+
The value 'from' which the threshold would need to be applied.
|
6965
|
+
"""
|
6966
|
+
return pulumi.get(self, "from_")
|
6967
|
+
|
6968
|
+
@property
|
6969
|
+
@pulumi.getter
|
6970
|
+
def name(self) -> Optional[str]:
|
6971
|
+
"""
|
6972
|
+
The title of the dashboard.
|
6973
|
+
"""
|
6974
|
+
return pulumi.get(self, "name")
|
6975
|
+
|
6976
|
+
@property
|
6977
|
+
@pulumi.getter
|
6978
|
+
def severity(self) -> Optional[str]:
|
6979
|
+
"""
|
6980
|
+
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.
|
6981
|
+
"""
|
6982
|
+
return pulumi.get(self, "severity")
|
6983
|
+
|
6984
|
+
@property
|
6985
|
+
@pulumi.getter
|
6986
|
+
def to(self) -> Optional[int]:
|
6987
|
+
"""
|
6988
|
+
The value until which the threshold would need to be applied.
|
6989
|
+
"""
|
6990
|
+
return pulumi.get(self, "to")
|
6991
|
+
|
6992
|
+
|
6876
6993
|
@pulumi.output_type
|
6877
6994
|
class OneDashboardPageWidgetLineUnit(dict):
|
6878
6995
|
@staticmethod
|
@@ -6969,6 +7086,84 @@ class OneDashboardPageWidgetLineUnitSeriesOverride(dict):
|
|
6969
7086
|
return pulumi.get(self, "unit")
|
6970
7087
|
|
6971
7088
|
|
7089
|
+
@pulumi.output_type
|
7090
|
+
class OneDashboardPageWidgetLineYAxisRight(dict):
|
7091
|
+
@staticmethod
|
7092
|
+
def __key_warning(key: str):
|
7093
|
+
suggest = None
|
7094
|
+
if key == "yAxisRightMax":
|
7095
|
+
suggest = "y_axis_right_max"
|
7096
|
+
elif key == "yAxisRightMin":
|
7097
|
+
suggest = "y_axis_right_min"
|
7098
|
+
elif key == "yAxisRightSeries":
|
7099
|
+
suggest = "y_axis_right_series"
|
7100
|
+
elif key == "yAxisRightZero":
|
7101
|
+
suggest = "y_axis_right_zero"
|
7102
|
+
|
7103
|
+
if suggest:
|
7104
|
+
pulumi.log.warn(f"Key '{key}' not found in OneDashboardPageWidgetLineYAxisRight. Access the value via the '{suggest}' property getter instead.")
|
7105
|
+
|
7106
|
+
def __getitem__(self, key: str) -> Any:
|
7107
|
+
OneDashboardPageWidgetLineYAxisRight.__key_warning(key)
|
7108
|
+
return super().__getitem__(key)
|
7109
|
+
|
7110
|
+
def get(self, key: str, default = None) -> Any:
|
7111
|
+
OneDashboardPageWidgetLineYAxisRight.__key_warning(key)
|
7112
|
+
return super().get(key, default)
|
7113
|
+
|
7114
|
+
def __init__(__self__, *,
|
7115
|
+
y_axis_right_max: Optional[float] = None,
|
7116
|
+
y_axis_right_min: Optional[float] = None,
|
7117
|
+
y_axis_right_series: Optional[Sequence[str]] = None,
|
7118
|
+
y_axis_right_zero: Optional[bool] = None):
|
7119
|
+
"""
|
7120
|
+
:param float y_axis_right_max: Minimum value of the range to be specified with the Y-Axis on the right of the line widget.
|
7121
|
+
:param 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.
|
7122
|
+
:param Sequence[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.
|
7123
|
+
:param 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.
|
7124
|
+
"""
|
7125
|
+
if y_axis_right_max is not None:
|
7126
|
+
pulumi.set(__self__, "y_axis_right_max", y_axis_right_max)
|
7127
|
+
if y_axis_right_min is not None:
|
7128
|
+
pulumi.set(__self__, "y_axis_right_min", y_axis_right_min)
|
7129
|
+
if y_axis_right_series is not None:
|
7130
|
+
pulumi.set(__self__, "y_axis_right_series", y_axis_right_series)
|
7131
|
+
if y_axis_right_zero is not None:
|
7132
|
+
pulumi.set(__self__, "y_axis_right_zero", y_axis_right_zero)
|
7133
|
+
|
7134
|
+
@property
|
7135
|
+
@pulumi.getter(name="yAxisRightMax")
|
7136
|
+
def y_axis_right_max(self) -> Optional[float]:
|
7137
|
+
"""
|
7138
|
+
Minimum value of the range to be specified with the Y-Axis on the right of the line widget.
|
7139
|
+
"""
|
7140
|
+
return pulumi.get(self, "y_axis_right_max")
|
7141
|
+
|
7142
|
+
@property
|
7143
|
+
@pulumi.getter(name="yAxisRightMin")
|
7144
|
+
def y_axis_right_min(self) -> Optional[float]:
|
7145
|
+
"""
|
7146
|
+
, `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.
|
7147
|
+
"""
|
7148
|
+
return pulumi.get(self, "y_axis_right_min")
|
7149
|
+
|
7150
|
+
@property
|
7151
|
+
@pulumi.getter(name="yAxisRightSeries")
|
7152
|
+
def y_axis_right_series(self) -> Optional[Sequence[str]]:
|
7153
|
+
"""
|
7154
|
+
(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.
|
7155
|
+
"""
|
7156
|
+
return pulumi.get(self, "y_axis_right_series")
|
7157
|
+
|
7158
|
+
@property
|
7159
|
+
@pulumi.getter(name="yAxisRightZero")
|
7160
|
+
def y_axis_right_zero(self) -> Optional[bool]:
|
7161
|
+
"""
|
7162
|
+
(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.
|
7163
|
+
"""
|
7164
|
+
return pulumi.get(self, "y_axis_right_zero")
|
7165
|
+
|
7166
|
+
|
6972
7167
|
@pulumi.output_type
|
6973
7168
|
class OneDashboardPageWidgetLogTable(dict):
|
6974
7169
|
@staticmethod
|
@@ -7297,7 +7492,7 @@ class OneDashboardPageWidgetLogTableNrqlQuery(dict):
|
|
7297
7492
|
account_id: Optional[str] = None):
|
7298
7493
|
"""
|
7299
7494
|
:param 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.
|
7300
|
-
:param str account_id:
|
7495
|
+
:param str account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
7301
7496
|
"""
|
7302
7497
|
pulumi.set(__self__, "query", query)
|
7303
7498
|
if account_id is not None:
|
@@ -7315,7 +7510,7 @@ class OneDashboardPageWidgetLogTableNrqlQuery(dict):
|
|
7315
7510
|
@pulumi.getter(name="accountId")
|
7316
7511
|
def account_id(self) -> Optional[str]:
|
7317
7512
|
"""
|
7318
|
-
|
7513
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
7319
7514
|
"""
|
7320
7515
|
return pulumi.get(self, "account_id")
|
7321
7516
|
|
@@ -8370,7 +8565,7 @@ class OneDashboardPageWidgetPyNrqlQuery(dict):
|
|
8370
8565
|
account_id: Optional[str] = None):
|
8371
8566
|
"""
|
8372
8567
|
:param 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.
|
8373
|
-
:param str account_id:
|
8568
|
+
:param str account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
8374
8569
|
"""
|
8375
8570
|
pulumi.set(__self__, "query", query)
|
8376
8571
|
if account_id is not None:
|
@@ -8388,7 +8583,7 @@ class OneDashboardPageWidgetPyNrqlQuery(dict):
|
|
8388
8583
|
@pulumi.getter(name="accountId")
|
8389
8584
|
def account_id(self) -> Optional[str]:
|
8390
8585
|
"""
|
8391
|
-
|
8586
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
8392
8587
|
"""
|
8393
8588
|
return pulumi.get(self, "account_id")
|
8394
8589
|
|
@@ -8917,7 +9112,7 @@ class OneDashboardPageWidgetStackedBarNrqlQuery(dict):
|
|
8917
9112
|
account_id: Optional[str] = None):
|
8918
9113
|
"""
|
8919
9114
|
:param 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.
|
8920
|
-
:param str account_id:
|
9115
|
+
:param str account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
8921
9116
|
"""
|
8922
9117
|
pulumi.set(__self__, "query", query)
|
8923
9118
|
if account_id is not None:
|
@@ -8935,7 +9130,7 @@ class OneDashboardPageWidgetStackedBarNrqlQuery(dict):
|
|
8935
9130
|
@pulumi.getter(name="accountId")
|
8936
9131
|
def account_id(self) -> Optional[str]:
|
8937
9132
|
"""
|
8938
|
-
|
9133
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
8939
9134
|
"""
|
8940
9135
|
return pulumi.get(self, "account_id")
|
8941
9136
|
|
@@ -9185,6 +9380,7 @@ class OneDashboardPageWidgetTable(dict):
|
|
9185
9380
|
legend_enabled: Optional[bool] = None,
|
9186
9381
|
linked_entity_guids: Optional[Sequence[str]] = None,
|
9187
9382
|
null_values: Optional[Sequence['outputs.OneDashboardPageWidgetTableNullValue']] = None,
|
9383
|
+
thresholds: Optional[Sequence['outputs.OneDashboardPageWidgetTableThreshold']] = None,
|
9188
9384
|
units: Optional[Sequence['outputs.OneDashboardPageWidgetTableUnit']] = None,
|
9189
9385
|
width: Optional[int] = None,
|
9190
9386
|
y_axis_left_max: Optional[float] = None,
|
@@ -9203,6 +9399,7 @@ class OneDashboardPageWidgetTable(dict):
|
|
9203
9399
|
:param bool legend_enabled: (Optional) With this turned on, the legend will be displayed. Defaults to `true`.
|
9204
9400
|
:param Sequence[str] linked_entity_guids: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
|
9205
9401
|
:param Sequence['OneDashboardPageWidgetTableNullValueArgs'] null_values: (Optional) A nested block that describes a Null Values. See Nested Null Values blocks below for details.
|
9402
|
+
:param Sequence['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 -
|
9206
9403
|
:param Sequence['OneDashboardPageWidgetTableUnitArgs'] units: (Optional) A nested block that describes units on your Y axis. See Nested Units blocks below for details.
|
9207
9404
|
:param int width: (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`.
|
9208
9405
|
:param 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.
|
@@ -9229,6 +9426,8 @@ class OneDashboardPageWidgetTable(dict):
|
|
9229
9426
|
pulumi.set(__self__, "linked_entity_guids", linked_entity_guids)
|
9230
9427
|
if null_values is not None:
|
9231
9428
|
pulumi.set(__self__, "null_values", null_values)
|
9429
|
+
if thresholds is not None:
|
9430
|
+
pulumi.set(__self__, "thresholds", thresholds)
|
9232
9431
|
if units is not None:
|
9233
9432
|
pulumi.set(__self__, "units", units)
|
9234
9433
|
if width is not None:
|
@@ -9342,6 +9541,14 @@ class OneDashboardPageWidgetTable(dict):
|
|
9342
9541
|
"""
|
9343
9542
|
return pulumi.get(self, "null_values")
|
9344
9543
|
|
9544
|
+
@property
|
9545
|
+
@pulumi.getter
|
9546
|
+
def thresholds(self) -> Optional[Sequence['outputs.OneDashboardPageWidgetTableThreshold']]:
|
9547
|
+
"""
|
9548
|
+
(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 -
|
9549
|
+
"""
|
9550
|
+
return pulumi.get(self, "thresholds")
|
9551
|
+
|
9345
9552
|
@property
|
9346
9553
|
@pulumi.getter
|
9347
9554
|
def units(self) -> Optional[Sequence['outputs.OneDashboardPageWidgetTableUnit']]:
|
@@ -9492,7 +9699,7 @@ class OneDashboardPageWidgetTableNrqlQuery(dict):
|
|
9492
9699
|
account_id: Optional[str] = None):
|
9493
9700
|
"""
|
9494
9701
|
:param 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.
|
9495
|
-
:param str account_id:
|
9702
|
+
:param str account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
9496
9703
|
"""
|
9497
9704
|
pulumi.set(__self__, "query", query)
|
9498
9705
|
if account_id is not None:
|
@@ -9510,7 +9717,7 @@ class OneDashboardPageWidgetTableNrqlQuery(dict):
|
|
9510
9717
|
@pulumi.getter(name="accountId")
|
9511
9718
|
def account_id(self) -> Optional[str]:
|
9512
9719
|
"""
|
9513
|
-
|
9720
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
9514
9721
|
"""
|
9515
9722
|
return pulumi.get(self, "account_id")
|
9516
9723
|
|
@@ -9615,6 +9822,80 @@ class OneDashboardPageWidgetTableNullValueSeriesOverride(dict):
|
|
9615
9822
|
return pulumi.get(self, "series_name")
|
9616
9823
|
|
9617
9824
|
|
9825
|
+
@pulumi.output_type
|
9826
|
+
class OneDashboardPageWidgetTableThreshold(dict):
|
9827
|
+
@staticmethod
|
9828
|
+
def __key_warning(key: str):
|
9829
|
+
suggest = None
|
9830
|
+
if key == "columnName":
|
9831
|
+
suggest = "column_name"
|
9832
|
+
elif key == "from":
|
9833
|
+
suggest = "from_"
|
9834
|
+
|
9835
|
+
if suggest:
|
9836
|
+
pulumi.log.warn(f"Key '{key}' not found in OneDashboardPageWidgetTableThreshold. Access the value via the '{suggest}' property getter instead.")
|
9837
|
+
|
9838
|
+
def __getitem__(self, key: str) -> Any:
|
9839
|
+
OneDashboardPageWidgetTableThreshold.__key_warning(key)
|
9840
|
+
return super().__getitem__(key)
|
9841
|
+
|
9842
|
+
def get(self, key: str, default = None) -> Any:
|
9843
|
+
OneDashboardPageWidgetTableThreshold.__key_warning(key)
|
9844
|
+
return super().get(key, default)
|
9845
|
+
|
9846
|
+
def __init__(__self__, *,
|
9847
|
+
column_name: Optional[str] = None,
|
9848
|
+
from_: Optional[int] = None,
|
9849
|
+
severity: Optional[str] = None,
|
9850
|
+
to: Optional[int] = None):
|
9851
|
+
"""
|
9852
|
+
:param str column_name: The name of the column in the table, to which the threshold would need to be applied.
|
9853
|
+
:param int from_: The value 'from' which the threshold would need to be applied.
|
9854
|
+
:param 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.
|
9855
|
+
:param int to: The value until which the threshold would need to be applied.
|
9856
|
+
"""
|
9857
|
+
if column_name is not None:
|
9858
|
+
pulumi.set(__self__, "column_name", column_name)
|
9859
|
+
if from_ is not None:
|
9860
|
+
pulumi.set(__self__, "from_", from_)
|
9861
|
+
if severity is not None:
|
9862
|
+
pulumi.set(__self__, "severity", severity)
|
9863
|
+
if to is not None:
|
9864
|
+
pulumi.set(__self__, "to", to)
|
9865
|
+
|
9866
|
+
@property
|
9867
|
+
@pulumi.getter(name="columnName")
|
9868
|
+
def column_name(self) -> Optional[str]:
|
9869
|
+
"""
|
9870
|
+
The name of the column in the table, to which the threshold would need to be applied.
|
9871
|
+
"""
|
9872
|
+
return pulumi.get(self, "column_name")
|
9873
|
+
|
9874
|
+
@property
|
9875
|
+
@pulumi.getter(name="from")
|
9876
|
+
def from_(self) -> Optional[int]:
|
9877
|
+
"""
|
9878
|
+
The value 'from' which the threshold would need to be applied.
|
9879
|
+
"""
|
9880
|
+
return pulumi.get(self, "from_")
|
9881
|
+
|
9882
|
+
@property
|
9883
|
+
@pulumi.getter
|
9884
|
+
def severity(self) -> Optional[str]:
|
9885
|
+
"""
|
9886
|
+
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.
|
9887
|
+
"""
|
9888
|
+
return pulumi.get(self, "severity")
|
9889
|
+
|
9890
|
+
@property
|
9891
|
+
@pulumi.getter
|
9892
|
+
def to(self) -> Optional[int]:
|
9893
|
+
"""
|
9894
|
+
The value until which the threshold would need to be applied.
|
9895
|
+
"""
|
9896
|
+
return pulumi.get(self, "to")
|
9897
|
+
|
9898
|
+
|
9618
9899
|
@pulumi.output_type
|
9619
9900
|
class OneDashboardPageWidgetTableUnit(dict):
|
9620
9901
|
@staticmethod
|
@@ -9930,7 +10211,7 @@ class OneDashboardVariable(dict):
|
|
9930
10211
|
nrql_query: Optional['outputs.OneDashboardVariableNrqlQuery'] = None,
|
9931
10212
|
options: Optional[Sequence['outputs.OneDashboardVariableOption']] = None):
|
9932
10213
|
"""
|
9933
|
-
:param str name:
|
10214
|
+
:param str name: The title of the dashboard.
|
9934
10215
|
:param str replacement_strategy: (Optional) Indicates the strategy to apply when replacing a variable in a NRQL query. One of `default`, `identifier`, `number` or `string`.
|
9935
10216
|
:param str title: (Optional) A human-friendly display string for this value.
|
9936
10217
|
:param str type: (Required) Specifies the data type of the variable and where its possible values may come from. One of `enum`, `nrql` or `string`
|
@@ -9959,7 +10240,7 @@ class OneDashboardVariable(dict):
|
|
9959
10240
|
@pulumi.getter
|
9960
10241
|
def name(self) -> str:
|
9961
10242
|
"""
|
9962
|
-
|
10243
|
+
The title of the dashboard.
|
9963
10244
|
"""
|
9964
10245
|
return pulumi.get(self, "name")
|
9965
10246
|
|
@@ -10171,6 +10452,13 @@ class ServiceLevelEvents(dict):
|
|
10171
10452
|
valid_events: 'outputs.ServiceLevelEventsValidEvents',
|
10172
10453
|
bad_events: Optional['outputs.ServiceLevelEventsBadEvents'] = None,
|
10173
10454
|
good_events: Optional['outputs.ServiceLevelEventsGoodEvents'] = None):
|
10455
|
+
"""
|
10456
|
+
:param str account_id: The ID of the account where the entity (e.g, APM Service, Browser application, Workload, etc.) belongs to,
|
10457
|
+
and that contains the NRDB data for the SLI/SLO calculations. Note that changing the account ID will force a new resource.
|
10458
|
+
:param 'ServiceLevelEventsValidEventsArgs' valid_events: The definition of valid requests.
|
10459
|
+
:param '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.
|
10460
|
+
:param '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.
|
10461
|
+
"""
|
10174
10462
|
pulumi.set(__self__, "account_id", account_id)
|
10175
10463
|
pulumi.set(__self__, "valid_events", valid_events)
|
10176
10464
|
if bad_events is not None:
|
@@ -10181,21 +10469,34 @@ class ServiceLevelEvents(dict):
|
|
10181
10469
|
@property
|
10182
10470
|
@pulumi.getter(name="accountId")
|
10183
10471
|
def account_id(self) -> str:
|
10472
|
+
"""
|
10473
|
+
The ID of the account where the entity (e.g, APM Service, Browser application, Workload, etc.) belongs to,
|
10474
|
+
and that contains the NRDB data for the SLI/SLO calculations. Note that changing the account ID will force a new resource.
|
10475
|
+
"""
|
10184
10476
|
return pulumi.get(self, "account_id")
|
10185
10477
|
|
10186
10478
|
@property
|
10187
10479
|
@pulumi.getter(name="validEvents")
|
10188
10480
|
def valid_events(self) -> 'outputs.ServiceLevelEventsValidEvents':
|
10481
|
+
"""
|
10482
|
+
The definition of valid requests.
|
10483
|
+
"""
|
10189
10484
|
return pulumi.get(self, "valid_events")
|
10190
10485
|
|
10191
10486
|
@property
|
10192
10487
|
@pulumi.getter(name="badEvents")
|
10193
10488
|
def bad_events(self) -> Optional['outputs.ServiceLevelEventsBadEvents']:
|
10489
|
+
"""
|
10490
|
+
The definition of the bad responses. If you define an SLI from valid and bad events, you must leave the good events argument empty.
|
10491
|
+
"""
|
10194
10492
|
return pulumi.get(self, "bad_events")
|
10195
10493
|
|
10196
10494
|
@property
|
10197
10495
|
@pulumi.getter(name="goodEvents")
|
10198
10496
|
def good_events(self) -> Optional['outputs.ServiceLevelEventsGoodEvents']:
|
10497
|
+
"""
|
10498
|
+
The definition of good responses. If you define an SLI from valid and good events, you must leave the bad events argument empty.
|
10499
|
+
"""
|
10199
10500
|
return pulumi.get(self, "good_events")
|
10200
10501
|
|
10201
10502
|
|
@@ -10222,6 +10523,12 @@ class ServiceLevelEventsBadEvents(dict):
|
|
10222
10523
|
from_: str,
|
10223
10524
|
select: Optional['outputs.ServiceLevelEventsBadEventsSelect'] = None,
|
10224
10525
|
where: Optional[str] = None):
|
10526
|
+
"""
|
10527
|
+
:param str from_: The event type where NRDB data will be fetched from.
|
10528
|
+
:param 'ServiceLevelEventsBadEventsSelectArgs' select: The NRQL SELECT clause to aggregate events.
|
10529
|
+
:param str where: A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to
|
10530
|
+
a particular entity and returned an error).
|
10531
|
+
"""
|
10225
10532
|
pulumi.set(__self__, "from_", from_)
|
10226
10533
|
if select is not None:
|
10227
10534
|
pulumi.set(__self__, "select", select)
|
@@ -10231,16 +10538,26 @@ class ServiceLevelEventsBadEvents(dict):
|
|
10231
10538
|
@property
|
10232
10539
|
@pulumi.getter(name="from")
|
10233
10540
|
def from_(self) -> str:
|
10541
|
+
"""
|
10542
|
+
The event type where NRDB data will be fetched from.
|
10543
|
+
"""
|
10234
10544
|
return pulumi.get(self, "from_")
|
10235
10545
|
|
10236
10546
|
@property
|
10237
10547
|
@pulumi.getter
|
10238
10548
|
def select(self) -> Optional['outputs.ServiceLevelEventsBadEventsSelect']:
|
10549
|
+
"""
|
10550
|
+
The NRQL SELECT clause to aggregate events.
|
10551
|
+
"""
|
10239
10552
|
return pulumi.get(self, "select")
|
10240
10553
|
|
10241
10554
|
@property
|
10242
10555
|
@pulumi.getter
|
10243
10556
|
def where(self) -> Optional[str]:
|
10557
|
+
"""
|
10558
|
+
A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to
|
10559
|
+
a particular entity and returned an error).
|
10560
|
+
"""
|
10244
10561
|
return pulumi.get(self, "where")
|
10245
10562
|
|
10246
10563
|
|
@@ -10251,7 +10568,9 @@ class ServiceLevelEventsBadEventsSelect(dict):
|
|
10251
10568
|
attribute: Optional[str] = None,
|
10252
10569
|
threshold: Optional[float] = None):
|
10253
10570
|
"""
|
10254
|
-
:param
|
10571
|
+
:param str function: The function to use in the SELECT clause. Valid values are `COUNT`, `SUM`, `GET_FIELD`, and `GET_CDF_COUNT`.
|
10572
|
+
:param str attribute: The event attribute to use in the SELECT clause.
|
10573
|
+
:param float threshold: Limit for values to be counter by `GET_CDF_COUNT` function.
|
10255
10574
|
"""
|
10256
10575
|
pulumi.set(__self__, "function", function)
|
10257
10576
|
if attribute is not None:
|
@@ -10262,18 +10581,24 @@ class ServiceLevelEventsBadEventsSelect(dict):
|
|
10262
10581
|
@property
|
10263
10582
|
@pulumi.getter
|
10264
10583
|
def function(self) -> str:
|
10584
|
+
"""
|
10585
|
+
The function to use in the SELECT clause. Valid values are `COUNT`, `SUM`, `GET_FIELD`, and `GET_CDF_COUNT`.
|
10586
|
+
"""
|
10265
10587
|
return pulumi.get(self, "function")
|
10266
10588
|
|
10267
10589
|
@property
|
10268
10590
|
@pulumi.getter
|
10269
10591
|
def attribute(self) -> Optional[str]:
|
10592
|
+
"""
|
10593
|
+
The event attribute to use in the SELECT clause.
|
10594
|
+
"""
|
10270
10595
|
return pulumi.get(self, "attribute")
|
10271
10596
|
|
10272
10597
|
@property
|
10273
10598
|
@pulumi.getter
|
10274
10599
|
def threshold(self) -> Optional[float]:
|
10275
10600
|
"""
|
10276
|
-
|
10601
|
+
Limit for values to be counter by `GET_CDF_COUNT` function.
|
10277
10602
|
"""
|
10278
10603
|
return pulumi.get(self, "threshold")
|
10279
10604
|
|
@@ -10301,6 +10626,12 @@ class ServiceLevelEventsGoodEvents(dict):
|
|
10301
10626
|
from_: str,
|
10302
10627
|
select: Optional['outputs.ServiceLevelEventsGoodEventsSelect'] = None,
|
10303
10628
|
where: Optional[str] = None):
|
10629
|
+
"""
|
10630
|
+
:param str from_: The event type where NRDB data will be fetched from.
|
10631
|
+
:param 'ServiceLevelEventsGoodEventsSelectArgs' select: The NRQL SELECT clause to aggregate events.
|
10632
|
+
:param str where: A filter that narrows down the NRDB events just to those that are considered good responses (e.g, those that refer to
|
10633
|
+
a particular entity and were successful).
|
10634
|
+
"""
|
10304
10635
|
pulumi.set(__self__, "from_", from_)
|
10305
10636
|
if select is not None:
|
10306
10637
|
pulumi.set(__self__, "select", select)
|
@@ -10310,16 +10641,26 @@ class ServiceLevelEventsGoodEvents(dict):
|
|
10310
10641
|
@property
|
10311
10642
|
@pulumi.getter(name="from")
|
10312
10643
|
def from_(self) -> str:
|
10644
|
+
"""
|
10645
|
+
The event type where NRDB data will be fetched from.
|
10646
|
+
"""
|
10313
10647
|
return pulumi.get(self, "from_")
|
10314
10648
|
|
10315
10649
|
@property
|
10316
10650
|
@pulumi.getter
|
10317
10651
|
def select(self) -> Optional['outputs.ServiceLevelEventsGoodEventsSelect']:
|
10652
|
+
"""
|
10653
|
+
The NRQL SELECT clause to aggregate events.
|
10654
|
+
"""
|
10318
10655
|
return pulumi.get(self, "select")
|
10319
10656
|
|
10320
10657
|
@property
|
10321
10658
|
@pulumi.getter
|
10322
10659
|
def where(self) -> Optional[str]:
|
10660
|
+
"""
|
10661
|
+
A filter that narrows down the NRDB events just to those that are considered good responses (e.g, those that refer to
|
10662
|
+
a particular entity and were successful).
|
10663
|
+
"""
|
10323
10664
|
return pulumi.get(self, "where")
|
10324
10665
|
|
10325
10666
|
|
@@ -10330,7 +10671,9 @@ class ServiceLevelEventsGoodEventsSelect(dict):
|
|
10330
10671
|
attribute: Optional[str] = None,
|
10331
10672
|
threshold: Optional[float] = None):
|
10332
10673
|
"""
|
10333
|
-
:param
|
10674
|
+
:param str function: The function to use in the SELECT clause. Valid values are `COUNT`, `SUM`, `GET_FIELD`, and `GET_CDF_COUNT`.
|
10675
|
+
:param str attribute: The event attribute to use in the SELECT clause.
|
10676
|
+
:param float threshold: Limit for values to be counter by `GET_CDF_COUNT` function.
|
10334
10677
|
"""
|
10335
10678
|
pulumi.set(__self__, "function", function)
|
10336
10679
|
if attribute is not None:
|
@@ -10341,18 +10684,24 @@ class ServiceLevelEventsGoodEventsSelect(dict):
|
|
10341
10684
|
@property
|
10342
10685
|
@pulumi.getter
|
10343
10686
|
def function(self) -> str:
|
10687
|
+
"""
|
10688
|
+
The function to use in the SELECT clause. Valid values are `COUNT`, `SUM`, `GET_FIELD`, and `GET_CDF_COUNT`.
|
10689
|
+
"""
|
10344
10690
|
return pulumi.get(self, "function")
|
10345
10691
|
|
10346
10692
|
@property
|
10347
10693
|
@pulumi.getter
|
10348
10694
|
def attribute(self) -> Optional[str]:
|
10695
|
+
"""
|
10696
|
+
The event attribute to use in the SELECT clause.
|
10697
|
+
"""
|
10349
10698
|
return pulumi.get(self, "attribute")
|
10350
10699
|
|
10351
10700
|
@property
|
10352
10701
|
@pulumi.getter
|
10353
10702
|
def threshold(self) -> Optional[float]:
|
10354
10703
|
"""
|
10355
|
-
|
10704
|
+
Limit for values to be counter by `GET_CDF_COUNT` function.
|
10356
10705
|
"""
|
10357
10706
|
return pulumi.get(self, "threshold")
|
10358
10707
|
|
@@ -10380,6 +10729,11 @@ class ServiceLevelEventsValidEvents(dict):
|
|
10380
10729
|
from_: str,
|
10381
10730
|
select: Optional['outputs.ServiceLevelEventsValidEventsSelect'] = None,
|
10382
10731
|
where: Optional[str] = None):
|
10732
|
+
"""
|
10733
|
+
:param str from_: The event type where NRDB data will be fetched from.
|
10734
|
+
:param 'ServiceLevelEventsValidEventsSelectArgs' select: The NRQL SELECT clause to aggregate events.
|
10735
|
+
:param 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).
|
10736
|
+
"""
|
10383
10737
|
pulumi.set(__self__, "from_", from_)
|
10384
10738
|
if select is not None:
|
10385
10739
|
pulumi.set(__self__, "select", select)
|
@@ -10389,16 +10743,25 @@ class ServiceLevelEventsValidEvents(dict):
|
|
10389
10743
|
@property
|
10390
10744
|
@pulumi.getter(name="from")
|
10391
10745
|
def from_(self) -> str:
|
10746
|
+
"""
|
10747
|
+
The event type where NRDB data will be fetched from.
|
10748
|
+
"""
|
10392
10749
|
return pulumi.get(self, "from_")
|
10393
10750
|
|
10394
10751
|
@property
|
10395
10752
|
@pulumi.getter
|
10396
10753
|
def select(self) -> Optional['outputs.ServiceLevelEventsValidEventsSelect']:
|
10754
|
+
"""
|
10755
|
+
The NRQL SELECT clause to aggregate events.
|
10756
|
+
"""
|
10397
10757
|
return pulumi.get(self, "select")
|
10398
10758
|
|
10399
10759
|
@property
|
10400
10760
|
@pulumi.getter
|
10401
10761
|
def where(self) -> Optional[str]:
|
10762
|
+
"""
|
10763
|
+
A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity).
|
10764
|
+
"""
|
10402
10765
|
return pulumi.get(self, "where")
|
10403
10766
|
|
10404
10767
|
|
@@ -10409,7 +10772,9 @@ class ServiceLevelEventsValidEventsSelect(dict):
|
|
10409
10772
|
attribute: Optional[str] = None,
|
10410
10773
|
threshold: Optional[float] = None):
|
10411
10774
|
"""
|
10412
|
-
:param
|
10775
|
+
:param str function: The function to use in the SELECT clause. Valid values are `COUNT`, `SUM`, `GET_FIELD`, and `GET_CDF_COUNT`.
|
10776
|
+
:param str attribute: The event attribute to use in the SELECT clause.
|
10777
|
+
:param float threshold: Limit for values to be counter by `GET_CDF_COUNT` function.
|
10413
10778
|
"""
|
10414
10779
|
pulumi.set(__self__, "function", function)
|
10415
10780
|
if attribute is not None:
|
@@ -10420,18 +10785,24 @@ class ServiceLevelEventsValidEventsSelect(dict):
|
|
10420
10785
|
@property
|
10421
10786
|
@pulumi.getter
|
10422
10787
|
def function(self) -> str:
|
10788
|
+
"""
|
10789
|
+
The function to use in the SELECT clause. Valid values are `COUNT`, `SUM`, `GET_FIELD`, and `GET_CDF_COUNT`.
|
10790
|
+
"""
|
10423
10791
|
return pulumi.get(self, "function")
|
10424
10792
|
|
10425
10793
|
@property
|
10426
10794
|
@pulumi.getter
|
10427
10795
|
def attribute(self) -> Optional[str]:
|
10796
|
+
"""
|
10797
|
+
The event attribute to use in the SELECT clause.
|
10798
|
+
"""
|
10428
10799
|
return pulumi.get(self, "attribute")
|
10429
10800
|
|
10430
10801
|
@property
|
10431
10802
|
@pulumi.getter
|
10432
10803
|
def threshold(self) -> Optional[float]:
|
10433
10804
|
"""
|
10434
|
-
|
10805
|
+
Limit for values to be counter by `GET_CDF_COUNT` function.
|
10435
10806
|
"""
|
10436
10807
|
return pulumi.get(self, "threshold")
|
10437
10808
|
|
@@ -10460,6 +10831,12 @@ class ServiceLevelObjective(dict):
|
|
10460
10831
|
time_window: 'outputs.ServiceLevelObjectiveTimeWindow',
|
10461
10832
|
description: Optional[str] = None,
|
10462
10833
|
name: Optional[str] = None):
|
10834
|
+
"""
|
10835
|
+
:param float target: The target of the objective, valid values between `0` and `100`. Up to 5 decimals accepted.
|
10836
|
+
:param 'ServiceLevelObjectiveTimeWindowArgs' time_window: Time window is the period of the objective.
|
10837
|
+
:param str description: The description of the SLI.
|
10838
|
+
:param str name: A short name for the SLI that will help anyone understand what it is about.
|
10839
|
+
"""
|
10463
10840
|
pulumi.set(__self__, "target", target)
|
10464
10841
|
pulumi.set(__self__, "time_window", time_window)
|
10465
10842
|
if description is not None:
|
@@ -10470,21 +10847,33 @@ class ServiceLevelObjective(dict):
|
|
10470
10847
|
@property
|
10471
10848
|
@pulumi.getter
|
10472
10849
|
def target(self) -> float:
|
10850
|
+
"""
|
10851
|
+
The target of the objective, valid values between `0` and `100`. Up to 5 decimals accepted.
|
10852
|
+
"""
|
10473
10853
|
return pulumi.get(self, "target")
|
10474
10854
|
|
10475
10855
|
@property
|
10476
10856
|
@pulumi.getter(name="timeWindow")
|
10477
10857
|
def time_window(self) -> 'outputs.ServiceLevelObjectiveTimeWindow':
|
10858
|
+
"""
|
10859
|
+
Time window is the period of the objective.
|
10860
|
+
"""
|
10478
10861
|
return pulumi.get(self, "time_window")
|
10479
10862
|
|
10480
10863
|
@property
|
10481
10864
|
@pulumi.getter
|
10482
10865
|
def description(self) -> Optional[str]:
|
10866
|
+
"""
|
10867
|
+
The description of the SLI.
|
10868
|
+
"""
|
10483
10869
|
return pulumi.get(self, "description")
|
10484
10870
|
|
10485
10871
|
@property
|
10486
10872
|
@pulumi.getter
|
10487
10873
|
def name(self) -> Optional[str]:
|
10874
|
+
"""
|
10875
|
+
A short name for the SLI that will help anyone understand what it is about.
|
10876
|
+
"""
|
10488
10877
|
return pulumi.get(self, "name")
|
10489
10878
|
|
10490
10879
|
|
@@ -10492,11 +10881,17 @@ class ServiceLevelObjective(dict):
|
|
10492
10881
|
class ServiceLevelObjectiveTimeWindow(dict):
|
10493
10882
|
def __init__(__self__, *,
|
10494
10883
|
rolling: 'outputs.ServiceLevelObjectiveTimeWindowRolling'):
|
10884
|
+
"""
|
10885
|
+
:param 'ServiceLevelObjectiveTimeWindowRollingArgs' rolling: Rolling window.
|
10886
|
+
"""
|
10495
10887
|
pulumi.set(__self__, "rolling", rolling)
|
10496
10888
|
|
10497
10889
|
@property
|
10498
10890
|
@pulumi.getter
|
10499
10891
|
def rolling(self) -> 'outputs.ServiceLevelObjectiveTimeWindowRolling':
|
10892
|
+
"""
|
10893
|
+
Rolling window.
|
10894
|
+
"""
|
10500
10895
|
return pulumi.get(self, "rolling")
|
10501
10896
|
|
10502
10897
|
|
@@ -10505,17 +10900,27 @@ class ServiceLevelObjectiveTimeWindowRolling(dict):
|
|
10505
10900
|
def __init__(__self__, *,
|
10506
10901
|
count: int,
|
10507
10902
|
unit: str):
|
10903
|
+
"""
|
10904
|
+
:param int count: Valid values are `1`, `7` and `28`.
|
10905
|
+
:param str unit: The only supported value is `DAY`.
|
10906
|
+
"""
|
10508
10907
|
pulumi.set(__self__, "count", count)
|
10509
10908
|
pulumi.set(__self__, "unit", unit)
|
10510
10909
|
|
10511
10910
|
@property
|
10512
10911
|
@pulumi.getter
|
10513
10912
|
def count(self) -> int:
|
10913
|
+
"""
|
10914
|
+
Valid values are `1`, `7` and `28`.
|
10915
|
+
"""
|
10514
10916
|
return pulumi.get(self, "count")
|
10515
10917
|
|
10516
10918
|
@property
|
10517
10919
|
@pulumi.getter
|
10518
10920
|
def unit(self) -> str:
|
10921
|
+
"""
|
10922
|
+
The only supported value is `DAY`.
|
10923
|
+
"""
|
10519
10924
|
return pulumi.get(self, "unit")
|
10520
10925
|
|
10521
10926
|
|