pulumi-newrelic 5.25.0a1716440799__py3-none-any.whl → 5.25.0a1716510846__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 +168 -42
- 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/nrql_drop_rule.py +28 -28
- pulumi_newrelic/one_dashboard.py +48 -42
- pulumi_newrelic/outputs.py +168 -42
- 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.0a1716510846.dist-info}/METADATA +1 -1
- {pulumi_newrelic-5.25.0a1716440799.dist-info → pulumi_newrelic-5.25.0a1716510846.dist-info}/RECORD +27 -27
- {pulumi_newrelic-5.25.0a1716440799.dist-info → pulumi_newrelic-5.25.0a1716510846.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.25.0a1716440799.dist-info → pulumi_newrelic-5.25.0a1716510846.dist-info}/top_level.txt +0 -0
pulumi_newrelic/outputs.py
CHANGED
@@ -560,8 +560,8 @@ class AlertMutingRuleCondition(dict):
|
|
560
560
|
conditions: Sequence['outputs.AlertMutingRuleConditionCondition'],
|
561
561
|
operator: str):
|
562
562
|
"""
|
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.
|
563
|
+
:param Sequence['AlertMutingRuleConditionConditionArgs'] conditions: The individual MutingRuleConditions within the group. See Nested conditions blocks below for details.
|
564
|
+
:param str operator: The operator used to combine all the MutingRuleConditions within the group. Valid values are `AND`, `OR`.
|
565
565
|
"""
|
566
566
|
pulumi.set(__self__, "conditions", conditions)
|
567
567
|
pulumi.set(__self__, "operator", operator)
|
@@ -570,7 +570,7 @@ class AlertMutingRuleCondition(dict):
|
|
570
570
|
@pulumi.getter
|
571
571
|
def conditions(self) -> Sequence['outputs.AlertMutingRuleConditionCondition']:
|
572
572
|
"""
|
573
|
-
The individual MutingRuleConditions within the group.
|
573
|
+
The individual MutingRuleConditions within the group. See Nested conditions blocks below for details.
|
574
574
|
"""
|
575
575
|
return pulumi.get(self, "conditions")
|
576
576
|
|
@@ -578,7 +578,7 @@ class AlertMutingRuleCondition(dict):
|
|
578
578
|
@pulumi.getter
|
579
579
|
def operator(self) -> str:
|
580
580
|
"""
|
581
|
-
The operator used to combine all the MutingRuleConditions within the group.
|
581
|
+
The operator used to combine all the MutingRuleConditions within the group. Valid values are `AND`, `OR`.
|
582
582
|
"""
|
583
583
|
return pulumi.get(self, "operator")
|
584
584
|
|
@@ -664,6 +664,7 @@ class AlertMutingRuleSchedule(dict):
|
|
664
664
|
:param str time_zone: The time zone that applies to the MutingRule schedule.
|
665
665
|
: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
666
|
: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'
|
667
|
+
* `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
668
|
:param str repeat: The frequency the muting rule schedule repeats. If it does not repeat, omit this field. Options are DAILY, WEEKLY, MONTHLY
|
668
669
|
: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
670
|
: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 +705,7 @@ class AlertMutingRuleSchedule(dict):
|
|
704
705
|
def end_time(self) -> Optional[str]:
|
705
706
|
"""
|
706
707
|
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'
|
708
|
+
* `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
709
|
"""
|
708
710
|
return pulumi.get(self, "end_time")
|
709
711
|
|
@@ -1752,8 +1754,8 @@ class OneDashboardPage(dict):
|
|
1752
1754
|
widget_stacked_bars: Optional[Sequence['outputs.OneDashboardPageWidgetStackedBar']] = None,
|
1753
1755
|
widget_tables: Optional[Sequence['outputs.OneDashboardPageWidgetTable']] = None):
|
1754
1756
|
"""
|
1755
|
-
:param str name:
|
1756
|
-
:param str description:
|
1757
|
+
:param str name: The title of the dashboard.
|
1758
|
+
:param str description: Brief text describing the dashboard.
|
1757
1759
|
:param str guid: The unique entity identifier of the dashboard page in New Relic.
|
1758
1760
|
:param Sequence['OneDashboardPageWidgetAreaArgs'] widget_areas: An area widget.
|
1759
1761
|
:param Sequence['OneDashboardPageWidgetBarArgs'] widget_bars: A bar widget.
|
@@ -1808,7 +1810,7 @@ class OneDashboardPage(dict):
|
|
1808
1810
|
@pulumi.getter
|
1809
1811
|
def name(self) -> str:
|
1810
1812
|
"""
|
1811
|
-
|
1813
|
+
The title of the dashboard.
|
1812
1814
|
"""
|
1813
1815
|
return pulumi.get(self, "name")
|
1814
1816
|
|
@@ -1816,7 +1818,7 @@ class OneDashboardPage(dict):
|
|
1816
1818
|
@pulumi.getter
|
1817
1819
|
def description(self) -> Optional[str]:
|
1818
1820
|
"""
|
1819
|
-
|
1821
|
+
Brief text describing the dashboard.
|
1820
1822
|
"""
|
1821
1823
|
return pulumi.get(self, "description")
|
1822
1824
|
|
@@ -2269,7 +2271,7 @@ class OneDashboardPageWidgetAreaNrqlQuery(dict):
|
|
2269
2271
|
account_id: Optional[str] = None):
|
2270
2272
|
"""
|
2271
2273
|
: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:
|
2274
|
+
: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
2275
|
"""
|
2274
2276
|
pulumi.set(__self__, "query", query)
|
2275
2277
|
if account_id is not None:
|
@@ -2287,7 +2289,7 @@ class OneDashboardPageWidgetAreaNrqlQuery(dict):
|
|
2287
2289
|
@pulumi.getter(name="accountId")
|
2288
2290
|
def account_id(self) -> Optional[str]:
|
2289
2291
|
"""
|
2290
|
-
|
2292
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
2291
2293
|
"""
|
2292
2294
|
return pulumi.get(self, "account_id")
|
2293
2295
|
|
@@ -2844,7 +2846,7 @@ class OneDashboardPageWidgetBarNrqlQuery(dict):
|
|
2844
2846
|
account_id: Optional[str] = None):
|
2845
2847
|
"""
|
2846
2848
|
: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:
|
2849
|
+
: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
2850
|
"""
|
2849
2851
|
pulumi.set(__self__, "query", query)
|
2850
2852
|
if account_id is not None:
|
@@ -2862,7 +2864,7 @@ class OneDashboardPageWidgetBarNrqlQuery(dict):
|
|
2862
2864
|
@pulumi.getter(name="accountId")
|
2863
2865
|
def account_id(self) -> Optional[str]:
|
2864
2866
|
"""
|
2865
|
-
|
2867
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
2866
2868
|
"""
|
2867
2869
|
return pulumi.get(self, "account_id")
|
2868
2870
|
|
@@ -3415,7 +3417,7 @@ class OneDashboardPageWidgetBillboardNrqlQuery(dict):
|
|
3415
3417
|
account_id: Optional[str] = None):
|
3416
3418
|
"""
|
3417
3419
|
: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:
|
3420
|
+
: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
3421
|
"""
|
3420
3422
|
pulumi.set(__self__, "query", query)
|
3421
3423
|
if account_id is not None:
|
@@ -3433,7 +3435,7 @@ class OneDashboardPageWidgetBillboardNrqlQuery(dict):
|
|
3433
3435
|
@pulumi.getter(name="accountId")
|
3434
3436
|
def account_id(self) -> Optional[str]:
|
3435
3437
|
"""
|
3436
|
-
|
3438
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
3437
3439
|
"""
|
3438
3440
|
return pulumi.get(self, "account_id")
|
3439
3441
|
|
@@ -3973,7 +3975,7 @@ class OneDashboardPageWidgetBulletNrqlQuery(dict):
|
|
3973
3975
|
account_id: Optional[str] = None):
|
3974
3976
|
"""
|
3975
3977
|
: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:
|
3978
|
+
: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
3979
|
"""
|
3978
3980
|
pulumi.set(__self__, "query", query)
|
3979
3981
|
if account_id is not None:
|
@@ -3991,7 +3993,7 @@ class OneDashboardPageWidgetBulletNrqlQuery(dict):
|
|
3991
3993
|
@pulumi.getter(name="accountId")
|
3992
3994
|
def account_id(self) -> Optional[str]:
|
3993
3995
|
"""
|
3994
|
-
|
3996
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
3995
3997
|
"""
|
3996
3998
|
return pulumi.get(self, "account_id")
|
3997
3999
|
|
@@ -4520,7 +4522,7 @@ class OneDashboardPageWidgetFunnelNrqlQuery(dict):
|
|
4520
4522
|
account_id: Optional[str] = None):
|
4521
4523
|
"""
|
4522
4524
|
: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:
|
4525
|
+
: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
4526
|
"""
|
4525
4527
|
pulumi.set(__self__, "query", query)
|
4526
4528
|
if account_id is not None:
|
@@ -4538,7 +4540,7 @@ class OneDashboardPageWidgetFunnelNrqlQuery(dict):
|
|
4538
4540
|
@pulumi.getter(name="accountId")
|
4539
4541
|
def account_id(self) -> Optional[str]:
|
4540
4542
|
"""
|
4541
|
-
|
4543
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
4542
4544
|
"""
|
4543
4545
|
return pulumi.get(self, "account_id")
|
4544
4546
|
|
@@ -5095,7 +5097,7 @@ class OneDashboardPageWidgetHeatmapNrqlQuery(dict):
|
|
5095
5097
|
account_id: Optional[str] = None):
|
5096
5098
|
"""
|
5097
5099
|
: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:
|
5100
|
+
: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
5101
|
"""
|
5100
5102
|
pulumi.set(__self__, "query", query)
|
5101
5103
|
if account_id is not None:
|
@@ -5113,7 +5115,7 @@ class OneDashboardPageWidgetHeatmapNrqlQuery(dict):
|
|
5113
5115
|
@pulumi.getter(name="accountId")
|
5114
5116
|
def account_id(self) -> Optional[str]:
|
5115
5117
|
"""
|
5116
|
-
|
5118
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
5117
5119
|
"""
|
5118
5120
|
return pulumi.get(self, "account_id")
|
5119
5121
|
|
@@ -5642,7 +5644,7 @@ class OneDashboardPageWidgetHistogramNrqlQuery(dict):
|
|
5642
5644
|
account_id: Optional[str] = None):
|
5643
5645
|
"""
|
5644
5646
|
: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:
|
5647
|
+
: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
5648
|
"""
|
5647
5649
|
pulumi.set(__self__, "query", query)
|
5648
5650
|
if account_id is not None:
|
@@ -5660,7 +5662,7 @@ class OneDashboardPageWidgetHistogramNrqlQuery(dict):
|
|
5660
5662
|
@pulumi.getter(name="accountId")
|
5661
5663
|
def account_id(self) -> Optional[str]:
|
5662
5664
|
"""
|
5663
|
-
|
5665
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
5664
5666
|
"""
|
5665
5667
|
return pulumi.get(self, "account_id")
|
5666
5668
|
|
@@ -6189,7 +6191,7 @@ class OneDashboardPageWidgetJsonNrqlQuery(dict):
|
|
6189
6191
|
account_id: Optional[str] = None):
|
6190
6192
|
"""
|
6191
6193
|
: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:
|
6194
|
+
: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
6195
|
"""
|
6194
6196
|
pulumi.set(__self__, "query", query)
|
6195
6197
|
if account_id is not None:
|
@@ -6207,7 +6209,7 @@ class OneDashboardPageWidgetJsonNrqlQuery(dict):
|
|
6207
6209
|
@pulumi.getter(name="accountId")
|
6208
6210
|
def account_id(self) -> Optional[str]:
|
6209
6211
|
"""
|
6210
|
-
|
6212
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
6211
6213
|
"""
|
6212
6214
|
return pulumi.get(self, "account_id")
|
6213
6215
|
|
@@ -6750,7 +6752,7 @@ class OneDashboardPageWidgetLineNrqlQuery(dict):
|
|
6750
6752
|
account_id: Optional[str] = None):
|
6751
6753
|
"""
|
6752
6754
|
: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:
|
6755
|
+
: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
6756
|
"""
|
6755
6757
|
pulumi.set(__self__, "query", query)
|
6756
6758
|
if account_id is not None:
|
@@ -6768,7 +6770,7 @@ class OneDashboardPageWidgetLineNrqlQuery(dict):
|
|
6768
6770
|
@pulumi.getter(name="accountId")
|
6769
6771
|
def account_id(self) -> Optional[str]:
|
6770
6772
|
"""
|
6771
|
-
|
6773
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
6772
6774
|
"""
|
6773
6775
|
return pulumi.get(self, "account_id")
|
6774
6776
|
|
@@ -7297,7 +7299,7 @@ class OneDashboardPageWidgetLogTableNrqlQuery(dict):
|
|
7297
7299
|
account_id: Optional[str] = None):
|
7298
7300
|
"""
|
7299
7301
|
: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:
|
7302
|
+
: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
7303
|
"""
|
7302
7304
|
pulumi.set(__self__, "query", query)
|
7303
7305
|
if account_id is not None:
|
@@ -7315,7 +7317,7 @@ class OneDashboardPageWidgetLogTableNrqlQuery(dict):
|
|
7315
7317
|
@pulumi.getter(name="accountId")
|
7316
7318
|
def account_id(self) -> Optional[str]:
|
7317
7319
|
"""
|
7318
|
-
|
7320
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
7319
7321
|
"""
|
7320
7322
|
return pulumi.get(self, "account_id")
|
7321
7323
|
|
@@ -8370,7 +8372,7 @@ class OneDashboardPageWidgetPyNrqlQuery(dict):
|
|
8370
8372
|
account_id: Optional[str] = None):
|
8371
8373
|
"""
|
8372
8374
|
: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:
|
8375
|
+
: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
8376
|
"""
|
8375
8377
|
pulumi.set(__self__, "query", query)
|
8376
8378
|
if account_id is not None:
|
@@ -8388,7 +8390,7 @@ class OneDashboardPageWidgetPyNrqlQuery(dict):
|
|
8388
8390
|
@pulumi.getter(name="accountId")
|
8389
8391
|
def account_id(self) -> Optional[str]:
|
8390
8392
|
"""
|
8391
|
-
|
8393
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
8392
8394
|
"""
|
8393
8395
|
return pulumi.get(self, "account_id")
|
8394
8396
|
|
@@ -8917,7 +8919,7 @@ class OneDashboardPageWidgetStackedBarNrqlQuery(dict):
|
|
8917
8919
|
account_id: Optional[str] = None):
|
8918
8920
|
"""
|
8919
8921
|
: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:
|
8922
|
+
: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
8923
|
"""
|
8922
8924
|
pulumi.set(__self__, "query", query)
|
8923
8925
|
if account_id is not None:
|
@@ -8935,7 +8937,7 @@ class OneDashboardPageWidgetStackedBarNrqlQuery(dict):
|
|
8935
8937
|
@pulumi.getter(name="accountId")
|
8936
8938
|
def account_id(self) -> Optional[str]:
|
8937
8939
|
"""
|
8938
|
-
|
8940
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
8939
8941
|
"""
|
8940
8942
|
return pulumi.get(self, "account_id")
|
8941
8943
|
|
@@ -9492,7 +9494,7 @@ class OneDashboardPageWidgetTableNrqlQuery(dict):
|
|
9492
9494
|
account_id: Optional[str] = None):
|
9493
9495
|
"""
|
9494
9496
|
: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:
|
9497
|
+
: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
9498
|
"""
|
9497
9499
|
pulumi.set(__self__, "query", query)
|
9498
9500
|
if account_id is not None:
|
@@ -9510,7 +9512,7 @@ class OneDashboardPageWidgetTableNrqlQuery(dict):
|
|
9510
9512
|
@pulumi.getter(name="accountId")
|
9511
9513
|
def account_id(self) -> Optional[str]:
|
9512
9514
|
"""
|
9513
|
-
|
9515
|
+
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
9514
9516
|
"""
|
9515
9517
|
return pulumi.get(self, "account_id")
|
9516
9518
|
|
@@ -9930,7 +9932,7 @@ class OneDashboardVariable(dict):
|
|
9930
9932
|
nrql_query: Optional['outputs.OneDashboardVariableNrqlQuery'] = None,
|
9931
9933
|
options: Optional[Sequence['outputs.OneDashboardVariableOption']] = None):
|
9932
9934
|
"""
|
9933
|
-
:param str name:
|
9935
|
+
:param str name: The title of the dashboard.
|
9934
9936
|
: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
9937
|
:param str title: (Optional) A human-friendly display string for this value.
|
9936
9938
|
: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 +9961,7 @@ class OneDashboardVariable(dict):
|
|
9959
9961
|
@pulumi.getter
|
9960
9962
|
def name(self) -> str:
|
9961
9963
|
"""
|
9962
|
-
|
9964
|
+
The title of the dashboard.
|
9963
9965
|
"""
|
9964
9966
|
return pulumi.get(self, "name")
|
9965
9967
|
|
@@ -10171,6 +10173,13 @@ class ServiceLevelEvents(dict):
|
|
10171
10173
|
valid_events: 'outputs.ServiceLevelEventsValidEvents',
|
10172
10174
|
bad_events: Optional['outputs.ServiceLevelEventsBadEvents'] = None,
|
10173
10175
|
good_events: Optional['outputs.ServiceLevelEventsGoodEvents'] = None):
|
10176
|
+
"""
|
10177
|
+
:param str account_id: The ID of the account where the entity (e.g, APM Service, Browser application, Workload, etc.) belongs to,
|
10178
|
+
and that contains the NRDB data for the SLI/SLO calculations. Note that changing the account ID will force a new resource.
|
10179
|
+
:param 'ServiceLevelEventsValidEventsArgs' valid_events: The definition of valid requests.
|
10180
|
+
: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.
|
10181
|
+
: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.
|
10182
|
+
"""
|
10174
10183
|
pulumi.set(__self__, "account_id", account_id)
|
10175
10184
|
pulumi.set(__self__, "valid_events", valid_events)
|
10176
10185
|
if bad_events is not None:
|
@@ -10181,21 +10190,34 @@ class ServiceLevelEvents(dict):
|
|
10181
10190
|
@property
|
10182
10191
|
@pulumi.getter(name="accountId")
|
10183
10192
|
def account_id(self) -> str:
|
10193
|
+
"""
|
10194
|
+
The ID of the account where the entity (e.g, APM Service, Browser application, Workload, etc.) belongs to,
|
10195
|
+
and that contains the NRDB data for the SLI/SLO calculations. Note that changing the account ID will force a new resource.
|
10196
|
+
"""
|
10184
10197
|
return pulumi.get(self, "account_id")
|
10185
10198
|
|
10186
10199
|
@property
|
10187
10200
|
@pulumi.getter(name="validEvents")
|
10188
10201
|
def valid_events(self) -> 'outputs.ServiceLevelEventsValidEvents':
|
10202
|
+
"""
|
10203
|
+
The definition of valid requests.
|
10204
|
+
"""
|
10189
10205
|
return pulumi.get(self, "valid_events")
|
10190
10206
|
|
10191
10207
|
@property
|
10192
10208
|
@pulumi.getter(name="badEvents")
|
10193
10209
|
def bad_events(self) -> Optional['outputs.ServiceLevelEventsBadEvents']:
|
10210
|
+
"""
|
10211
|
+
The definition of the bad responses. If you define an SLI from valid and bad events, you must leave the good events argument empty.
|
10212
|
+
"""
|
10194
10213
|
return pulumi.get(self, "bad_events")
|
10195
10214
|
|
10196
10215
|
@property
|
10197
10216
|
@pulumi.getter(name="goodEvents")
|
10198
10217
|
def good_events(self) -> Optional['outputs.ServiceLevelEventsGoodEvents']:
|
10218
|
+
"""
|
10219
|
+
The definition of good responses. If you define an SLI from valid and good events, you must leave the bad events argument empty.
|
10220
|
+
"""
|
10199
10221
|
return pulumi.get(self, "good_events")
|
10200
10222
|
|
10201
10223
|
|
@@ -10222,6 +10244,12 @@ class ServiceLevelEventsBadEvents(dict):
|
|
10222
10244
|
from_: str,
|
10223
10245
|
select: Optional['outputs.ServiceLevelEventsBadEventsSelect'] = None,
|
10224
10246
|
where: Optional[str] = None):
|
10247
|
+
"""
|
10248
|
+
:param str from_: The event type where NRDB data will be fetched from.
|
10249
|
+
:param 'ServiceLevelEventsBadEventsSelectArgs' select: The NRQL SELECT clause to aggregate events.
|
10250
|
+
: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
|
10251
|
+
a particular entity and returned an error).
|
10252
|
+
"""
|
10225
10253
|
pulumi.set(__self__, "from_", from_)
|
10226
10254
|
if select is not None:
|
10227
10255
|
pulumi.set(__self__, "select", select)
|
@@ -10231,16 +10259,26 @@ class ServiceLevelEventsBadEvents(dict):
|
|
10231
10259
|
@property
|
10232
10260
|
@pulumi.getter(name="from")
|
10233
10261
|
def from_(self) -> str:
|
10262
|
+
"""
|
10263
|
+
The event type where NRDB data will be fetched from.
|
10264
|
+
"""
|
10234
10265
|
return pulumi.get(self, "from_")
|
10235
10266
|
|
10236
10267
|
@property
|
10237
10268
|
@pulumi.getter
|
10238
10269
|
def select(self) -> Optional['outputs.ServiceLevelEventsBadEventsSelect']:
|
10270
|
+
"""
|
10271
|
+
The NRQL SELECT clause to aggregate events.
|
10272
|
+
"""
|
10239
10273
|
return pulumi.get(self, "select")
|
10240
10274
|
|
10241
10275
|
@property
|
10242
10276
|
@pulumi.getter
|
10243
10277
|
def where(self) -> Optional[str]:
|
10278
|
+
"""
|
10279
|
+
A filter that narrows down the NRDB events just to those that are considered bad responses (e.g, those that refer to
|
10280
|
+
a particular entity and returned an error).
|
10281
|
+
"""
|
10244
10282
|
return pulumi.get(self, "where")
|
10245
10283
|
|
10246
10284
|
|
@@ -10251,7 +10289,9 @@ class ServiceLevelEventsBadEventsSelect(dict):
|
|
10251
10289
|
attribute: Optional[str] = None,
|
10252
10290
|
threshold: Optional[float] = None):
|
10253
10291
|
"""
|
10254
|
-
:param
|
10292
|
+
:param str function: The function to use in the SELECT clause. Valid values are `COUNT`, `SUM`, `GET_FIELD`, and `GET_CDF_COUNT`.
|
10293
|
+
:param str attribute: The event attribute to use in the SELECT clause.
|
10294
|
+
:param float threshold: Limit for values to be counter by `GET_CDF_COUNT` function.
|
10255
10295
|
"""
|
10256
10296
|
pulumi.set(__self__, "function", function)
|
10257
10297
|
if attribute is not None:
|
@@ -10262,18 +10302,24 @@ class ServiceLevelEventsBadEventsSelect(dict):
|
|
10262
10302
|
@property
|
10263
10303
|
@pulumi.getter
|
10264
10304
|
def function(self) -> str:
|
10305
|
+
"""
|
10306
|
+
The function to use in the SELECT clause. Valid values are `COUNT`, `SUM`, `GET_FIELD`, and `GET_CDF_COUNT`.
|
10307
|
+
"""
|
10265
10308
|
return pulumi.get(self, "function")
|
10266
10309
|
|
10267
10310
|
@property
|
10268
10311
|
@pulumi.getter
|
10269
10312
|
def attribute(self) -> Optional[str]:
|
10313
|
+
"""
|
10314
|
+
The event attribute to use in the SELECT clause.
|
10315
|
+
"""
|
10270
10316
|
return pulumi.get(self, "attribute")
|
10271
10317
|
|
10272
10318
|
@property
|
10273
10319
|
@pulumi.getter
|
10274
10320
|
def threshold(self) -> Optional[float]:
|
10275
10321
|
"""
|
10276
|
-
|
10322
|
+
Limit for values to be counter by `GET_CDF_COUNT` function.
|
10277
10323
|
"""
|
10278
10324
|
return pulumi.get(self, "threshold")
|
10279
10325
|
|
@@ -10301,6 +10347,12 @@ class ServiceLevelEventsGoodEvents(dict):
|
|
10301
10347
|
from_: str,
|
10302
10348
|
select: Optional['outputs.ServiceLevelEventsGoodEventsSelect'] = None,
|
10303
10349
|
where: Optional[str] = None):
|
10350
|
+
"""
|
10351
|
+
:param str from_: The event type where NRDB data will be fetched from.
|
10352
|
+
:param 'ServiceLevelEventsGoodEventsSelectArgs' select: The NRQL SELECT clause to aggregate events.
|
10353
|
+
: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
|
10354
|
+
a particular entity and were successful).
|
10355
|
+
"""
|
10304
10356
|
pulumi.set(__self__, "from_", from_)
|
10305
10357
|
if select is not None:
|
10306
10358
|
pulumi.set(__self__, "select", select)
|
@@ -10310,16 +10362,26 @@ class ServiceLevelEventsGoodEvents(dict):
|
|
10310
10362
|
@property
|
10311
10363
|
@pulumi.getter(name="from")
|
10312
10364
|
def from_(self) -> str:
|
10365
|
+
"""
|
10366
|
+
The event type where NRDB data will be fetched from.
|
10367
|
+
"""
|
10313
10368
|
return pulumi.get(self, "from_")
|
10314
10369
|
|
10315
10370
|
@property
|
10316
10371
|
@pulumi.getter
|
10317
10372
|
def select(self) -> Optional['outputs.ServiceLevelEventsGoodEventsSelect']:
|
10373
|
+
"""
|
10374
|
+
The NRQL SELECT clause to aggregate events.
|
10375
|
+
"""
|
10318
10376
|
return pulumi.get(self, "select")
|
10319
10377
|
|
10320
10378
|
@property
|
10321
10379
|
@pulumi.getter
|
10322
10380
|
def where(self) -> Optional[str]:
|
10381
|
+
"""
|
10382
|
+
A filter that narrows down the NRDB events just to those that are considered good responses (e.g, those that refer to
|
10383
|
+
a particular entity and were successful).
|
10384
|
+
"""
|
10323
10385
|
return pulumi.get(self, "where")
|
10324
10386
|
|
10325
10387
|
|
@@ -10330,7 +10392,9 @@ class ServiceLevelEventsGoodEventsSelect(dict):
|
|
10330
10392
|
attribute: Optional[str] = None,
|
10331
10393
|
threshold: Optional[float] = None):
|
10332
10394
|
"""
|
10333
|
-
:param
|
10395
|
+
:param str function: The function to use in the SELECT clause. Valid values are `COUNT`, `SUM`, `GET_FIELD`, and `GET_CDF_COUNT`.
|
10396
|
+
:param str attribute: The event attribute to use in the SELECT clause.
|
10397
|
+
:param float threshold: Limit for values to be counter by `GET_CDF_COUNT` function.
|
10334
10398
|
"""
|
10335
10399
|
pulumi.set(__self__, "function", function)
|
10336
10400
|
if attribute is not None:
|
@@ -10341,18 +10405,24 @@ class ServiceLevelEventsGoodEventsSelect(dict):
|
|
10341
10405
|
@property
|
10342
10406
|
@pulumi.getter
|
10343
10407
|
def function(self) -> str:
|
10408
|
+
"""
|
10409
|
+
The function to use in the SELECT clause. Valid values are `COUNT`, `SUM`, `GET_FIELD`, and `GET_CDF_COUNT`.
|
10410
|
+
"""
|
10344
10411
|
return pulumi.get(self, "function")
|
10345
10412
|
|
10346
10413
|
@property
|
10347
10414
|
@pulumi.getter
|
10348
10415
|
def attribute(self) -> Optional[str]:
|
10416
|
+
"""
|
10417
|
+
The event attribute to use in the SELECT clause.
|
10418
|
+
"""
|
10349
10419
|
return pulumi.get(self, "attribute")
|
10350
10420
|
|
10351
10421
|
@property
|
10352
10422
|
@pulumi.getter
|
10353
10423
|
def threshold(self) -> Optional[float]:
|
10354
10424
|
"""
|
10355
|
-
|
10425
|
+
Limit for values to be counter by `GET_CDF_COUNT` function.
|
10356
10426
|
"""
|
10357
10427
|
return pulumi.get(self, "threshold")
|
10358
10428
|
|
@@ -10380,6 +10450,11 @@ class ServiceLevelEventsValidEvents(dict):
|
|
10380
10450
|
from_: str,
|
10381
10451
|
select: Optional['outputs.ServiceLevelEventsValidEventsSelect'] = None,
|
10382
10452
|
where: Optional[str] = None):
|
10453
|
+
"""
|
10454
|
+
:param str from_: The event type where NRDB data will be fetched from.
|
10455
|
+
:param 'ServiceLevelEventsValidEventsSelectArgs' select: The NRQL SELECT clause to aggregate events.
|
10456
|
+
: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).
|
10457
|
+
"""
|
10383
10458
|
pulumi.set(__self__, "from_", from_)
|
10384
10459
|
if select is not None:
|
10385
10460
|
pulumi.set(__self__, "select", select)
|
@@ -10389,16 +10464,25 @@ class ServiceLevelEventsValidEvents(dict):
|
|
10389
10464
|
@property
|
10390
10465
|
@pulumi.getter(name="from")
|
10391
10466
|
def from_(self) -> str:
|
10467
|
+
"""
|
10468
|
+
The event type where NRDB data will be fetched from.
|
10469
|
+
"""
|
10392
10470
|
return pulumi.get(self, "from_")
|
10393
10471
|
|
10394
10472
|
@property
|
10395
10473
|
@pulumi.getter
|
10396
10474
|
def select(self) -> Optional['outputs.ServiceLevelEventsValidEventsSelect']:
|
10475
|
+
"""
|
10476
|
+
The NRQL SELECT clause to aggregate events.
|
10477
|
+
"""
|
10397
10478
|
return pulumi.get(self, "select")
|
10398
10479
|
|
10399
10480
|
@property
|
10400
10481
|
@pulumi.getter
|
10401
10482
|
def where(self) -> Optional[str]:
|
10483
|
+
"""
|
10484
|
+
A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity).
|
10485
|
+
"""
|
10402
10486
|
return pulumi.get(self, "where")
|
10403
10487
|
|
10404
10488
|
|
@@ -10409,7 +10493,9 @@ class ServiceLevelEventsValidEventsSelect(dict):
|
|
10409
10493
|
attribute: Optional[str] = None,
|
10410
10494
|
threshold: Optional[float] = None):
|
10411
10495
|
"""
|
10412
|
-
:param
|
10496
|
+
:param str function: The function to use in the SELECT clause. Valid values are `COUNT`, `SUM`, `GET_FIELD`, and `GET_CDF_COUNT`.
|
10497
|
+
:param str attribute: The event attribute to use in the SELECT clause.
|
10498
|
+
:param float threshold: Limit for values to be counter by `GET_CDF_COUNT` function.
|
10413
10499
|
"""
|
10414
10500
|
pulumi.set(__self__, "function", function)
|
10415
10501
|
if attribute is not None:
|
@@ -10420,18 +10506,24 @@ class ServiceLevelEventsValidEventsSelect(dict):
|
|
10420
10506
|
@property
|
10421
10507
|
@pulumi.getter
|
10422
10508
|
def function(self) -> str:
|
10509
|
+
"""
|
10510
|
+
The function to use in the SELECT clause. Valid values are `COUNT`, `SUM`, `GET_FIELD`, and `GET_CDF_COUNT`.
|
10511
|
+
"""
|
10423
10512
|
return pulumi.get(self, "function")
|
10424
10513
|
|
10425
10514
|
@property
|
10426
10515
|
@pulumi.getter
|
10427
10516
|
def attribute(self) -> Optional[str]:
|
10517
|
+
"""
|
10518
|
+
The event attribute to use in the SELECT clause.
|
10519
|
+
"""
|
10428
10520
|
return pulumi.get(self, "attribute")
|
10429
10521
|
|
10430
10522
|
@property
|
10431
10523
|
@pulumi.getter
|
10432
10524
|
def threshold(self) -> Optional[float]:
|
10433
10525
|
"""
|
10434
|
-
|
10526
|
+
Limit for values to be counter by `GET_CDF_COUNT` function.
|
10435
10527
|
"""
|
10436
10528
|
return pulumi.get(self, "threshold")
|
10437
10529
|
|
@@ -10460,6 +10552,12 @@ class ServiceLevelObjective(dict):
|
|
10460
10552
|
time_window: 'outputs.ServiceLevelObjectiveTimeWindow',
|
10461
10553
|
description: Optional[str] = None,
|
10462
10554
|
name: Optional[str] = None):
|
10555
|
+
"""
|
10556
|
+
:param float target: The target of the objective, valid values between `0` and `100`. Up to 5 decimals accepted.
|
10557
|
+
:param 'ServiceLevelObjectiveTimeWindowArgs' time_window: Time window is the period of the objective.
|
10558
|
+
:param str description: The description of the SLI.
|
10559
|
+
:param str name: A short name for the SLI that will help anyone understand what it is about.
|
10560
|
+
"""
|
10463
10561
|
pulumi.set(__self__, "target", target)
|
10464
10562
|
pulumi.set(__self__, "time_window", time_window)
|
10465
10563
|
if description is not None:
|
@@ -10470,21 +10568,33 @@ class ServiceLevelObjective(dict):
|
|
10470
10568
|
@property
|
10471
10569
|
@pulumi.getter
|
10472
10570
|
def target(self) -> float:
|
10571
|
+
"""
|
10572
|
+
The target of the objective, valid values between `0` and `100`. Up to 5 decimals accepted.
|
10573
|
+
"""
|
10473
10574
|
return pulumi.get(self, "target")
|
10474
10575
|
|
10475
10576
|
@property
|
10476
10577
|
@pulumi.getter(name="timeWindow")
|
10477
10578
|
def time_window(self) -> 'outputs.ServiceLevelObjectiveTimeWindow':
|
10579
|
+
"""
|
10580
|
+
Time window is the period of the objective.
|
10581
|
+
"""
|
10478
10582
|
return pulumi.get(self, "time_window")
|
10479
10583
|
|
10480
10584
|
@property
|
10481
10585
|
@pulumi.getter
|
10482
10586
|
def description(self) -> Optional[str]:
|
10587
|
+
"""
|
10588
|
+
The description of the SLI.
|
10589
|
+
"""
|
10483
10590
|
return pulumi.get(self, "description")
|
10484
10591
|
|
10485
10592
|
@property
|
10486
10593
|
@pulumi.getter
|
10487
10594
|
def name(self) -> Optional[str]:
|
10595
|
+
"""
|
10596
|
+
A short name for the SLI that will help anyone understand what it is about.
|
10597
|
+
"""
|
10488
10598
|
return pulumi.get(self, "name")
|
10489
10599
|
|
10490
10600
|
|
@@ -10492,11 +10602,17 @@ class ServiceLevelObjective(dict):
|
|
10492
10602
|
class ServiceLevelObjectiveTimeWindow(dict):
|
10493
10603
|
def __init__(__self__, *,
|
10494
10604
|
rolling: 'outputs.ServiceLevelObjectiveTimeWindowRolling'):
|
10605
|
+
"""
|
10606
|
+
:param 'ServiceLevelObjectiveTimeWindowRollingArgs' rolling: Rolling window.
|
10607
|
+
"""
|
10495
10608
|
pulumi.set(__self__, "rolling", rolling)
|
10496
10609
|
|
10497
10610
|
@property
|
10498
10611
|
@pulumi.getter
|
10499
10612
|
def rolling(self) -> 'outputs.ServiceLevelObjectiveTimeWindowRolling':
|
10613
|
+
"""
|
10614
|
+
Rolling window.
|
10615
|
+
"""
|
10500
10616
|
return pulumi.get(self, "rolling")
|
10501
10617
|
|
10502
10618
|
|
@@ -10505,17 +10621,27 @@ class ServiceLevelObjectiveTimeWindowRolling(dict):
|
|
10505
10621
|
def __init__(__self__, *,
|
10506
10622
|
count: int,
|
10507
10623
|
unit: str):
|
10624
|
+
"""
|
10625
|
+
:param int count: Valid values are `1`, `7` and `28`.
|
10626
|
+
:param str unit: The only supported value is `DAY`.
|
10627
|
+
"""
|
10508
10628
|
pulumi.set(__self__, "count", count)
|
10509
10629
|
pulumi.set(__self__, "unit", unit)
|
10510
10630
|
|
10511
10631
|
@property
|
10512
10632
|
@pulumi.getter
|
10513
10633
|
def count(self) -> int:
|
10634
|
+
"""
|
10635
|
+
Valid values are `1`, `7` and `28`.
|
10636
|
+
"""
|
10514
10637
|
return pulumi.get(self, "count")
|
10515
10638
|
|
10516
10639
|
@property
|
10517
10640
|
@pulumi.getter
|
10518
10641
|
def unit(self) -> str:
|
10642
|
+
"""
|
10643
|
+
The only supported value is `DAY`.
|
10644
|
+
"""
|
10519
10645
|
return pulumi.get(self, "unit")
|
10520
10646
|
|
10521
10647
|
|