pulumi-newrelic 5.44.0a1743218959__py3-none-any.whl → 5.44.1__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.
Files changed (89) hide show
  1. pulumi_newrelic/__init__.py +1 -0
  2. pulumi_newrelic/_inputs.py +2961 -2960
  3. pulumi_newrelic/account_management.py +29 -28
  4. pulumi_newrelic/alert_channel.py +43 -42
  5. pulumi_newrelic/alert_condition.py +176 -175
  6. pulumi_newrelic/alert_muting_rule.py +71 -70
  7. pulumi_newrelic/alert_policy.py +57 -56
  8. pulumi_newrelic/alert_policy_channel.py +43 -42
  9. pulumi_newrelic/api_access_key.py +92 -91
  10. pulumi_newrelic/browser_application.py +92 -91
  11. pulumi_newrelic/cloud/__init__.py +1 -0
  12. pulumi_newrelic/cloud/_inputs.py +1765 -1764
  13. pulumi_newrelic/cloud/aws_govcloud_integrations.py +29 -28
  14. pulumi_newrelic/cloud/aws_govcloud_link_account.py +57 -56
  15. pulumi_newrelic/cloud/aws_integrations.py +29 -28
  16. pulumi_newrelic/cloud/aws_link_account.py +57 -56
  17. pulumi_newrelic/cloud/azure_integrations.py +29 -28
  18. pulumi_newrelic/cloud/azure_link_account.py +85 -84
  19. pulumi_newrelic/cloud/gcp_integrations.py +29 -28
  20. pulumi_newrelic/cloud/gcp_link_account.py +45 -44
  21. pulumi_newrelic/cloud/outputs.py +1057 -1056
  22. pulumi_newrelic/config/__init__.py +1 -0
  23. pulumi_newrelic/config/__init__.pyi +1 -0
  24. pulumi_newrelic/config/vars.py +1 -0
  25. pulumi_newrelic/data_partition_rule.py +92 -91
  26. pulumi_newrelic/entity_tags.py +15 -14
  27. pulumi_newrelic/events_to_metrics_rule.py +78 -77
  28. pulumi_newrelic/get_account.py +17 -16
  29. pulumi_newrelic/get_alert_channel.py +14 -13
  30. pulumi_newrelic/get_alert_policy.py +19 -18
  31. pulumi_newrelic/get_application.py +9 -8
  32. pulumi_newrelic/get_authentication_domain.py +7 -6
  33. pulumi_newrelic/get_cloud_account.py +17 -16
  34. pulumi_newrelic/get_entity.py +40 -39
  35. pulumi_newrelic/get_group.py +13 -12
  36. pulumi_newrelic/get_key_transaction.py +19 -18
  37. pulumi_newrelic/get_notification_destination.py +20 -19
  38. pulumi_newrelic/get_obfuscation_expression.py +12 -11
  39. pulumi_newrelic/get_service_level_alert_helper.py +41 -40
  40. pulumi_newrelic/get_test_grok_pattern.py +17 -16
  41. pulumi_newrelic/get_user.py +17 -16
  42. pulumi_newrelic/group.py +43 -42
  43. pulumi_newrelic/infra_alert_condition.py +204 -203
  44. pulumi_newrelic/insights/__init__.py +1 -0
  45. pulumi_newrelic/insights/_inputs.py +26 -25
  46. pulumi_newrelic/insights/event.py +1 -0
  47. pulumi_newrelic/insights/outputs.py +16 -15
  48. pulumi_newrelic/key_transaction.py +85 -84
  49. pulumi_newrelic/log_parsing_rule.py +120 -119
  50. pulumi_newrelic/monitor_downtime.py +113 -112
  51. pulumi_newrelic/notification_channel.py +92 -91
  52. pulumi_newrelic/notification_destination.py +78 -77
  53. pulumi_newrelic/nrql_alert_condition.py +330 -329
  54. pulumi_newrelic/nrql_drop_rule.py +64 -63
  55. pulumi_newrelic/obfuscation_expression.py +57 -56
  56. pulumi_newrelic/obfuscation_rule.py +71 -70
  57. pulumi_newrelic/one_dashboard.py +71 -70
  58. pulumi_newrelic/one_dashboard_json.py +50 -49
  59. pulumi_newrelic/one_dashboard_raw.py +71 -70
  60. pulumi_newrelic/outputs.py +1831 -1830
  61. pulumi_newrelic/plugins/__init__.py +1 -0
  62. pulumi_newrelic/plugins/_inputs.py +126 -125
  63. pulumi_newrelic/plugins/application_settings.py +132 -131
  64. pulumi_newrelic/plugins/outputs.py +76 -75
  65. pulumi_newrelic/plugins/workload.py +99 -98
  66. pulumi_newrelic/provider.py +80 -79
  67. pulumi_newrelic/pulumi-plugin.json +1 -1
  68. pulumi_newrelic/service_level.py +57 -56
  69. pulumi_newrelic/synthetics/__init__.py +1 -0
  70. pulumi_newrelic/synthetics/_inputs.py +106 -105
  71. pulumi_newrelic/synthetics/alert_condition.py +78 -77
  72. pulumi_newrelic/synthetics/broken_links_monitor.py +179 -150
  73. pulumi_newrelic/synthetics/cert_check_monitor.py +186 -157
  74. pulumi_newrelic/synthetics/get_private_location.py +17 -16
  75. pulumi_newrelic/synthetics/get_secure_credential.py +14 -13
  76. pulumi_newrelic/synthetics/monitor.py +326 -297
  77. pulumi_newrelic/synthetics/multi_location_alert_condition.py +92 -91
  78. pulumi_newrelic/synthetics/outputs.py +64 -63
  79. pulumi_newrelic/synthetics/private_location.py +85 -84
  80. pulumi_newrelic/synthetics/script_monitor.py +263 -234
  81. pulumi_newrelic/synthetics/secure_credential.py +71 -70
  82. pulumi_newrelic/synthetics/step_monitor.py +193 -164
  83. pulumi_newrelic/user.py +57 -56
  84. pulumi_newrelic/workflow.py +106 -105
  85. {pulumi_newrelic-5.44.0a1743218959.dist-info → pulumi_newrelic-5.44.1.dist-info}/METADATA +1 -1
  86. pulumi_newrelic-5.44.1.dist-info/RECORD +90 -0
  87. pulumi_newrelic-5.44.0a1743218959.dist-info/RECORD +0 -90
  88. {pulumi_newrelic-5.44.0a1743218959.dist-info → pulumi_newrelic-5.44.1.dist-info}/WHEEL +0 -0
  89. {pulumi_newrelic-5.44.0a1743218959.dist-info → pulumi_newrelic-5.44.1.dist-info}/top_level.txt +0 -0
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -59,12 +60,12 @@ class GetNotificationDestinationResult:
59
60
 
60
61
  @property
61
62
  @pulumi.getter(name="accountId")
62
- def account_id(self) -> str:
63
+ def account_id(self) -> builtins.str:
63
64
  return pulumi.get(self, "account_id")
64
65
 
65
66
  @property
66
67
  @pulumi.getter
67
- def active(self) -> bool:
68
+ def active(self) -> builtins.bool:
68
69
  """
69
70
  An indication whether the notification destination is active or not.
70
71
  """
@@ -72,7 +73,7 @@ class GetNotificationDestinationResult:
72
73
 
73
74
  @property
74
75
  @pulumi.getter
75
- def guid(self) -> str:
76
+ def guid(self) -> builtins.str:
76
77
  """
77
78
  The unique entity identifier of the destination in New Relic.
78
79
  """
@@ -80,12 +81,12 @@ class GetNotificationDestinationResult:
80
81
 
81
82
  @property
82
83
  @pulumi.getter
83
- def id(self) -> Optional[str]:
84
+ def id(self) -> Optional[builtins.str]:
84
85
  return pulumi.get(self, "id")
85
86
 
86
87
  @property
87
88
  @pulumi.getter
88
- def name(self) -> Optional[str]:
89
+ def name(self) -> Optional[builtins.str]:
89
90
  """
90
91
  The name of the notification destination.
91
92
  """
@@ -109,7 +110,7 @@ class GetNotificationDestinationResult:
109
110
 
110
111
  @property
111
112
  @pulumi.getter
112
- def status(self) -> str:
113
+ def status(self) -> builtins.str:
113
114
  """
114
115
  The status of the notification destination.
115
116
  """
@@ -117,7 +118,7 @@ class GetNotificationDestinationResult:
117
118
 
118
119
  @property
119
120
  @pulumi.getter
120
- def type(self) -> str:
121
+ def type(self) -> builtins.str:
121
122
  """
122
123
  The notification destination type, either: `EMAIL`, `SERVICE_NOW`, `SERVICE_NOW_APP`, `WEBHOOK`, `JIRA`, `MOBILE_PUSH`, `EVENT_BRIDGE`, `PAGERDUTY_ACCOUNT_INTEGRATION` or `PAGERDUTY_SERVICE_INTEGRATION`, `SLACK`, `SLACK_COLLABORATION` and `MICROSOFT_TEAMS`.
123
124
  """
@@ -141,17 +142,17 @@ class AwaitableGetNotificationDestinationResult(GetNotificationDestinationResult
141
142
  type=self.type)
142
143
 
143
144
 
144
- def get_notification_destination(account_id: Optional[str] = None,
145
- id: Optional[str] = None,
146
- name: Optional[str] = None,
145
+ def get_notification_destination(account_id: Optional[builtins.str] = None,
146
+ id: Optional[builtins.str] = None,
147
+ name: Optional[builtins.str] = None,
147
148
  secure_urls: Optional[Sequence[Union['GetNotificationDestinationSecureUrlArgs', 'GetNotificationDestinationSecureUrlArgsDict']]] = None,
148
149
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNotificationDestinationResult:
149
150
  """
150
151
  Use this data source to access information about an existing resource.
151
152
 
152
- :param str account_id: The New Relic account ID to operate on. This allows you to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
153
- :param str id: The id of the notification destination in New Relic.
154
- :param str name: The name of the notification destination.
153
+ :param builtins.str account_id: The New Relic account ID to operate on. This allows you to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
154
+ :param builtins.str id: The id of the notification destination in New Relic.
155
+ :param builtins.str name: The name of the notification destination.
155
156
 
156
157
  Optional:
157
158
  :param Sequence[Union['GetNotificationDestinationSecureUrlArgs', 'GetNotificationDestinationSecureUrlArgsDict']] secure_urls: The URL in secure format, showing only the `prefix`, as the `secure_suffix` is a secret.
@@ -174,17 +175,17 @@ def get_notification_destination(account_id: Optional[str] = None,
174
175
  secure_urls=pulumi.get(__ret__, 'secure_urls'),
175
176
  status=pulumi.get(__ret__, 'status'),
176
177
  type=pulumi.get(__ret__, 'type'))
177
- def get_notification_destination_output(account_id: Optional[pulumi.Input[Optional[str]]] = None,
178
- id: Optional[pulumi.Input[Optional[str]]] = None,
179
- name: Optional[pulumi.Input[Optional[str]]] = None,
178
+ def get_notification_destination_output(account_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
179
+ id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
180
+ name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
180
181
  secure_urls: Optional[pulumi.Input[Optional[Sequence[Union['GetNotificationDestinationSecureUrlArgs', 'GetNotificationDestinationSecureUrlArgsDict']]]]] = None,
181
182
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNotificationDestinationResult]:
182
183
  """
183
184
  Use this data source to access information about an existing resource.
184
185
 
185
- :param str account_id: The New Relic account ID to operate on. This allows you to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
186
- :param str id: The id of the notification destination in New Relic.
187
- :param str name: The name of the notification destination.
186
+ :param builtins.str account_id: The New Relic account ID to operate on. This allows you to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
187
+ :param builtins.str id: The id of the notification destination in New Relic.
188
+ :param builtins.str name: The name of the notification destination.
188
189
 
189
190
  Optional:
190
191
  :param Sequence[Union['GetNotificationDestinationSecureUrlArgs', 'GetNotificationDestinationSecureUrlArgsDict']] secure_urls: The URL in secure format, showing only the `prefix`, as the `secure_suffix` is a secret.
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -39,12 +40,12 @@ class GetObfuscationExpressionResult:
39
40
 
40
41
  @property
41
42
  @pulumi.getter(name="accountId")
42
- def account_id(self) -> Optional[str]:
43
+ def account_id(self) -> Optional[builtins.str]:
43
44
  return pulumi.get(self, "account_id")
44
45
 
45
46
  @property
46
47
  @pulumi.getter
47
- def id(self) -> str:
48
+ def id(self) -> builtins.str:
48
49
  """
49
50
  The provider-assigned unique ID for this managed resource.
50
51
  """
@@ -52,7 +53,7 @@ class GetObfuscationExpressionResult:
52
53
 
53
54
  @property
54
55
  @pulumi.getter
55
- def name(self) -> str:
56
+ def name(self) -> builtins.str:
56
57
  return pulumi.get(self, "name")
57
58
 
58
59
 
@@ -67,8 +68,8 @@ class AwaitableGetObfuscationExpressionResult(GetObfuscationExpressionResult):
67
68
  name=self.name)
68
69
 
69
70
 
70
- def get_obfuscation_expression(account_id: Optional[str] = None,
71
- name: Optional[str] = None,
71
+ def get_obfuscation_expression(account_id: Optional[builtins.str] = None,
72
+ name: Optional[builtins.str] = None,
72
73
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetObfuscationExpressionResult:
73
74
  """
74
75
  Use this data source to get information about a specific Obfuscation Expression in New Relic that already exists.
@@ -94,8 +95,8 @@ def get_obfuscation_expression(account_id: Optional[str] = None,
94
95
  ```
95
96
 
96
97
 
97
- :param str account_id: The account id associated with the obfuscation expression. If left empty will default to account ID specified in provider level configuration.
98
- :param str name: Name of expression.
98
+ :param builtins.str account_id: The account id associated with the obfuscation expression. If left empty will default to account ID specified in provider level configuration.
99
+ :param builtins.str name: Name of expression.
99
100
  """
100
101
  __args__ = dict()
101
102
  __args__['accountId'] = account_id
@@ -107,8 +108,8 @@ def get_obfuscation_expression(account_id: Optional[str] = None,
107
108
  account_id=pulumi.get(__ret__, 'account_id'),
108
109
  id=pulumi.get(__ret__, 'id'),
109
110
  name=pulumi.get(__ret__, 'name'))
110
- def get_obfuscation_expression_output(account_id: Optional[pulumi.Input[Optional[str]]] = None,
111
- name: Optional[pulumi.Input[str]] = None,
111
+ def get_obfuscation_expression_output(account_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
112
+ name: Optional[pulumi.Input[builtins.str]] = None,
112
113
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetObfuscationExpressionResult]:
113
114
  """
114
115
  Use this data source to get information about a specific Obfuscation Expression in New Relic that already exists.
@@ -134,8 +135,8 @@ def get_obfuscation_expression_output(account_id: Optional[pulumi.Input[Optional
134
135
  ```
135
136
 
136
137
 
137
- :param str account_id: The account id associated with the obfuscation expression. If left empty will default to account ID specified in provider level configuration.
138
- :param str name: Name of expression.
138
+ :param builtins.str account_id: The account id associated with the obfuscation expression. If left empty will default to account ID specified in provider level configuration.
139
+ :param builtins.str name: Name of expression.
139
140
  """
140
141
  __args__ = dict()
141
142
  __args__['accountId'] = account_id
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -66,22 +67,22 @@ class GetServiceLevelAlertHelperResult:
66
67
 
67
68
  @property
68
69
  @pulumi.getter(name="alertType")
69
- def alert_type(self) -> str:
70
+ def alert_type(self) -> builtins.str:
70
71
  return pulumi.get(self, "alert_type")
71
72
 
72
73
  @property
73
74
  @pulumi.getter(name="customEvaluationPeriod")
74
- def custom_evaluation_period(self) -> Optional[int]:
75
+ def custom_evaluation_period(self) -> Optional[builtins.int]:
75
76
  return pulumi.get(self, "custom_evaluation_period")
76
77
 
77
78
  @property
78
79
  @pulumi.getter(name="customToleratedBudgetConsumption")
79
- def custom_tolerated_budget_consumption(self) -> Optional[float]:
80
+ def custom_tolerated_budget_consumption(self) -> Optional[builtins.float]:
80
81
  return pulumi.get(self, "custom_tolerated_budget_consumption")
81
82
 
82
83
  @property
83
84
  @pulumi.getter(name="evaluationPeriod")
84
- def evaluation_period(self) -> int:
85
+ def evaluation_period(self) -> builtins.int:
85
86
  """
86
87
  (Computed) For non `custom` alert_type, this is the recommended for that type of alert. For `custom` alert_type it has the same value as `custom_evaluation_period`.
87
88
  """
@@ -89,7 +90,7 @@ class GetServiceLevelAlertHelperResult:
89
90
 
90
91
  @property
91
92
  @pulumi.getter
92
- def id(self) -> str:
93
+ def id(self) -> builtins.str:
93
94
  """
94
95
  The provider-assigned unique ID for this managed resource.
95
96
  """
@@ -97,12 +98,12 @@ class GetServiceLevelAlertHelperResult:
97
98
 
98
99
  @property
99
100
  @pulumi.getter(name="isBadEvents")
100
- def is_bad_events(self) -> Optional[bool]:
101
+ def is_bad_events(self) -> Optional[builtins.bool]:
101
102
  return pulumi.get(self, "is_bad_events")
102
103
 
103
104
  @property
104
105
  @pulumi.getter
105
- def nrql(self) -> str:
106
+ def nrql(self) -> builtins.str:
106
107
  """
107
108
  (Computed) The nrql query for the selected type of alert.
108
109
  """
@@ -110,22 +111,22 @@ class GetServiceLevelAlertHelperResult:
110
111
 
111
112
  @property
112
113
  @pulumi.getter(name="sliGuid")
113
- def sli_guid(self) -> str:
114
+ def sli_guid(self) -> builtins.str:
114
115
  return pulumi.get(self, "sli_guid")
115
116
 
116
117
  @property
117
118
  @pulumi.getter(name="sloPeriod")
118
- def slo_period(self) -> int:
119
+ def slo_period(self) -> builtins.int:
119
120
  return pulumi.get(self, "slo_period")
120
121
 
121
122
  @property
122
123
  @pulumi.getter(name="sloTarget")
123
- def slo_target(self) -> float:
124
+ def slo_target(self) -> builtins.float:
124
125
  return pulumi.get(self, "slo_target")
125
126
 
126
127
  @property
127
128
  @pulumi.getter
128
- def threshold(self) -> float:
129
+ def threshold(self) -> builtins.float:
129
130
  """
130
131
  (Computed) The computed threshold given the provided arguments.
131
132
  """
@@ -133,7 +134,7 @@ class GetServiceLevelAlertHelperResult:
133
134
 
134
135
  @property
135
136
  @pulumi.getter(name="toleratedBudgetConsumption")
136
- def tolerated_budget_consumption(self) -> float:
137
+ def tolerated_budget_consumption(self) -> builtins.float:
137
138
  """
138
139
  (Computed) For non `custom` alert_type, this is the recommended for that type of alert. For `custom` alert_type it has the same value as `custom_tolerated_budget_consumption`.
139
140
  """
@@ -160,13 +161,13 @@ class AwaitableGetServiceLevelAlertHelperResult(GetServiceLevelAlertHelperResult
160
161
  tolerated_budget_consumption=self.tolerated_budget_consumption)
161
162
 
162
163
 
163
- def get_service_level_alert_helper(alert_type: Optional[str] = None,
164
- custom_evaluation_period: Optional[int] = None,
165
- custom_tolerated_budget_consumption: Optional[float] = None,
166
- is_bad_events: Optional[bool] = None,
167
- sli_guid: Optional[str] = None,
168
- slo_period: Optional[int] = None,
169
- slo_target: Optional[float] = None,
164
+ def get_service_level_alert_helper(alert_type: Optional[builtins.str] = None,
165
+ custom_evaluation_period: Optional[builtins.int] = None,
166
+ custom_tolerated_budget_consumption: Optional[builtins.float] = None,
167
+ is_bad_events: Optional[builtins.bool] = None,
168
+ sli_guid: Optional[builtins.str] = None,
169
+ slo_period: Optional[builtins.int] = None,
170
+ slo_target: Optional[builtins.float] = None,
170
171
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServiceLevelAlertHelperResult:
171
172
  """
172
173
  Use this data source to obtain the necessary fields to set up alerts on your service levels. It can be used for a `custom` alert_type in order to set up an alert with custom tolerated budget consumption and custom evaluation period or for recommended ones like `fast_burn` or `slow_burn`. For more information check [the documentation](https://docs.newrelic.com/docs/service-level-management/alerts-slm/).
@@ -281,13 +282,13 @@ def get_service_level_alert_helper(alert_type: Optional[str] = None,
281
282
  ```
282
283
 
283
284
 
284
- :param str alert_type: The type of alert we want to set. Valid values are:
285
- :param int custom_evaluation_period: Aggregation window taken into consideration in seconds. Mandatory if `alert_type` is `custom`.
286
- :param float custom_tolerated_budget_consumption: How much budget you tolerate to consume during the custom evaluation period, valid values between `0` and `100`. Mandatory if `alert_type` is `custom`.
287
- :param bool is_bad_events: If the SLI is defined using bad events. Defaults to `false`
288
- :param str sli_guid: The guid of the sli we want to set the alert on.
289
- :param int slo_period: The time window of the Service Level Objective in days. Valid values are `1`, `7` and `28`.
290
- :param float slo_target: The target of the Service Level Objective, valid values between `0` and `100`.
285
+ :param builtins.str alert_type: The type of alert we want to set. Valid values are:
286
+ :param builtins.int custom_evaluation_period: Aggregation window taken into consideration in seconds. Mandatory if `alert_type` is `custom`.
287
+ :param builtins.float custom_tolerated_budget_consumption: How much budget you tolerate to consume during the custom evaluation period, valid values between `0` and `100`. Mandatory if `alert_type` is `custom`.
288
+ :param builtins.bool is_bad_events: If the SLI is defined using bad events. Defaults to `false`
289
+ :param builtins.str sli_guid: The guid of the sli we want to set the alert on.
290
+ :param builtins.int slo_period: The time window of the Service Level Objective in days. Valid values are `1`, `7` and `28`.
291
+ :param builtins.float slo_target: The target of the Service Level Objective, valid values between `0` and `100`.
291
292
  """
292
293
  __args__ = dict()
293
294
  __args__['alertType'] = alert_type
@@ -313,13 +314,13 @@ def get_service_level_alert_helper(alert_type: Optional[str] = None,
313
314
  slo_target=pulumi.get(__ret__, 'slo_target'),
314
315
  threshold=pulumi.get(__ret__, 'threshold'),
315
316
  tolerated_budget_consumption=pulumi.get(__ret__, 'tolerated_budget_consumption'))
316
- def get_service_level_alert_helper_output(alert_type: Optional[pulumi.Input[str]] = None,
317
- custom_evaluation_period: Optional[pulumi.Input[Optional[int]]] = None,
318
- custom_tolerated_budget_consumption: Optional[pulumi.Input[Optional[float]]] = None,
319
- is_bad_events: Optional[pulumi.Input[Optional[bool]]] = None,
320
- sli_guid: Optional[pulumi.Input[str]] = None,
321
- slo_period: Optional[pulumi.Input[int]] = None,
322
- slo_target: Optional[pulumi.Input[float]] = None,
317
+ def get_service_level_alert_helper_output(alert_type: Optional[pulumi.Input[builtins.str]] = None,
318
+ custom_evaluation_period: Optional[pulumi.Input[Optional[builtins.int]]] = None,
319
+ custom_tolerated_budget_consumption: Optional[pulumi.Input[Optional[builtins.float]]] = None,
320
+ is_bad_events: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
321
+ sli_guid: Optional[pulumi.Input[builtins.str]] = None,
322
+ slo_period: Optional[pulumi.Input[builtins.int]] = None,
323
+ slo_target: Optional[pulumi.Input[builtins.float]] = None,
323
324
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetServiceLevelAlertHelperResult]:
324
325
  """
325
326
  Use this data source to obtain the necessary fields to set up alerts on your service levels. It can be used for a `custom` alert_type in order to set up an alert with custom tolerated budget consumption and custom evaluation period or for recommended ones like `fast_burn` or `slow_burn`. For more information check [the documentation](https://docs.newrelic.com/docs/service-level-management/alerts-slm/).
@@ -434,13 +435,13 @@ def get_service_level_alert_helper_output(alert_type: Optional[pulumi.Input[str]
434
435
  ```
435
436
 
436
437
 
437
- :param str alert_type: The type of alert we want to set. Valid values are:
438
- :param int custom_evaluation_period: Aggregation window taken into consideration in seconds. Mandatory if `alert_type` is `custom`.
439
- :param float custom_tolerated_budget_consumption: How much budget you tolerate to consume during the custom evaluation period, valid values between `0` and `100`. Mandatory if `alert_type` is `custom`.
440
- :param bool is_bad_events: If the SLI is defined using bad events. Defaults to `false`
441
- :param str sli_guid: The guid of the sli we want to set the alert on.
442
- :param int slo_period: The time window of the Service Level Objective in days. Valid values are `1`, `7` and `28`.
443
- :param float slo_target: The target of the Service Level Objective, valid values between `0` and `100`.
438
+ :param builtins.str alert_type: The type of alert we want to set. Valid values are:
439
+ :param builtins.int custom_evaluation_period: Aggregation window taken into consideration in seconds. Mandatory if `alert_type` is `custom`.
440
+ :param builtins.float custom_tolerated_budget_consumption: How much budget you tolerate to consume during the custom evaluation period, valid values between `0` and `100`. Mandatory if `alert_type` is `custom`.
441
+ :param builtins.bool is_bad_events: If the SLI is defined using bad events. Defaults to `false`
442
+ :param builtins.str sli_guid: The guid of the sli we want to set the alert on.
443
+ :param builtins.int slo_period: The time window of the Service Level Objective in days. Valid values are `1`, `7` and `28`.
444
+ :param builtins.float slo_target: The target of the Service Level Objective, valid values between `0` and `100`.
444
445
  """
445
446
  __args__ = dict()
446
447
  __args__['alertType'] = alert_type
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -46,17 +47,17 @@ class GetTestGrokPatternResult:
46
47
 
47
48
  @property
48
49
  @pulumi.getter(name="accountId")
49
- def account_id(self) -> Optional[str]:
50
+ def account_id(self) -> Optional[builtins.str]:
50
51
  return pulumi.get(self, "account_id")
51
52
 
52
53
  @property
53
54
  @pulumi.getter
54
- def grok(self) -> str:
55
+ def grok(self) -> builtins.str:
55
56
  return pulumi.get(self, "grok")
56
57
 
57
58
  @property
58
59
  @pulumi.getter
59
- def id(self) -> str:
60
+ def id(self) -> builtins.str:
60
61
  """
61
62
  The provider-assigned unique ID for this managed resource.
62
63
  """
@@ -64,7 +65,7 @@ class GetTestGrokPatternResult:
64
65
 
65
66
  @property
66
67
  @pulumi.getter(name="logLines")
67
- def log_lines(self) -> Sequence[str]:
68
+ def log_lines(self) -> Sequence[builtins.str]:
68
69
  return pulumi.get(self, "log_lines")
69
70
 
70
71
  @property
@@ -89,9 +90,9 @@ class AwaitableGetTestGrokPatternResult(GetTestGrokPatternResult):
89
90
  test_groks=self.test_groks)
90
91
 
91
92
 
92
- def get_test_grok_pattern(account_id: Optional[str] = None,
93
- grok: Optional[str] = None,
94
- log_lines: Optional[Sequence[str]] = None,
93
+ def get_test_grok_pattern(account_id: Optional[builtins.str] = None,
94
+ grok: Optional[builtins.str] = None,
95
+ log_lines: Optional[Sequence[builtins.str]] = None,
95
96
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTestGrokPatternResult:
96
97
  """
97
98
  ## Example Usage
@@ -109,9 +110,9 @@ def get_test_grok_pattern(account_id: Optional[str] = None,
109
110
  ```
110
111
 
111
112
 
112
- :param str account_id: The New Relic account ID to operate on. This allows you to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
113
- :param str grok: The Grok pattern to test.
114
- :param Sequence[str] log_lines: The log lines to test the Grok pattern against.
113
+ :param builtins.str account_id: The New Relic account ID to operate on. This allows you to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
114
+ :param builtins.str grok: The Grok pattern to test.
115
+ :param Sequence[builtins.str] log_lines: The log lines to test the Grok pattern against.
115
116
  """
116
117
  __args__ = dict()
117
118
  __args__['accountId'] = account_id
@@ -126,9 +127,9 @@ def get_test_grok_pattern(account_id: Optional[str] = None,
126
127
  id=pulumi.get(__ret__, 'id'),
127
128
  log_lines=pulumi.get(__ret__, 'log_lines'),
128
129
  test_groks=pulumi.get(__ret__, 'test_groks'))
129
- def get_test_grok_pattern_output(account_id: Optional[pulumi.Input[Optional[str]]] = None,
130
- grok: Optional[pulumi.Input[str]] = None,
131
- log_lines: Optional[pulumi.Input[Sequence[str]]] = None,
130
+ def get_test_grok_pattern_output(account_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
131
+ grok: Optional[pulumi.Input[builtins.str]] = None,
132
+ log_lines: Optional[pulumi.Input[Sequence[builtins.str]]] = None,
132
133
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTestGrokPatternResult]:
133
134
  """
134
135
  ## Example Usage
@@ -146,9 +147,9 @@ def get_test_grok_pattern_output(account_id: Optional[pulumi.Input[Optional[str]
146
147
  ```
147
148
 
148
149
 
149
- :param str account_id: The New Relic account ID to operate on. This allows you to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
150
- :param str grok: The Grok pattern to test.
151
- :param Sequence[str] log_lines: The log lines to test the Grok pattern against.
150
+ :param builtins.str account_id: The New Relic account ID to operate on. This allows you to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
151
+ :param builtins.str grok: The Grok pattern to test.
152
+ :param Sequence[builtins.str] log_lines: The log lines to test the Grok pattern against.
152
153
  """
153
154
  __args__ = dict()
154
155
  __args__['accountId'] = account_id
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -42,17 +43,17 @@ class GetUserResult:
42
43
 
43
44
  @property
44
45
  @pulumi.getter(name="authenticationDomainId")
45
- def authentication_domain_id(self) -> str:
46
+ def authentication_domain_id(self) -> builtins.str:
46
47
  return pulumi.get(self, "authentication_domain_id")
47
48
 
48
49
  @property
49
50
  @pulumi.getter(name="emailId")
50
- def email_id(self) -> str:
51
+ def email_id(self) -> builtins.str:
51
52
  return pulumi.get(self, "email_id")
52
53
 
53
54
  @property
54
55
  @pulumi.getter
55
- def id(self) -> str:
56
+ def id(self) -> builtins.str:
56
57
  """
57
58
  The ID of the matching user fetched.
58
59
  """
@@ -60,7 +61,7 @@ class GetUserResult:
60
61
 
61
62
  @property
62
63
  @pulumi.getter
63
- def name(self) -> str:
64
+ def name(self) -> builtins.str:
64
65
  return pulumi.get(self, "name")
65
66
 
66
67
 
@@ -76,9 +77,9 @@ class AwaitableGetUserResult(GetUserResult):
76
77
  name=self.name)
77
78
 
78
79
 
79
- def get_user(authentication_domain_id: Optional[str] = None,
80
- email_id: Optional[str] = None,
81
- name: Optional[str] = None,
80
+ def get_user(authentication_domain_id: Optional[builtins.str] = None,
81
+ email_id: Optional[builtins.str] = None,
82
+ name: Optional[builtins.str] = None,
82
83
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetUserResult:
83
84
  """
84
85
  The `User` data source helps search for a user by their name and/or email ID, and accordingly, fetch the ID of the matching user.
@@ -98,15 +99,15 @@ def get_user(authentication_domain_id: Optional[str] = None,
98
99
  ```
99
100
 
100
101
 
101
- :param str authentication_domain_id: The ID of the authentication domain the user to be searched for belongs to.
102
- :param str email_id: The email ID of the user to search for.
102
+ :param builtins.str authentication_domain_id: The ID of the authentication domain the user to be searched for belongs to.
103
+ :param builtins.str email_id: The email ID of the user to search for.
103
104
 
104
105
  It should be noted that either `name` or `email_id` must be specified in order to retrieve a matching user.
105
106
 
106
107
  > **NOTE** If the `name` specified in the configuration matches the names of multiple users in the account, the data source will return the first match from the list of all matching users retrieved from the API. However, when using the `email_id` argument as the search criterion, only the user with the specified email ID will be returned, as each user has a unique email ID and multiple users cannot have the same email ID.
107
108
 
108
109
  > **NOTE** The ID of an authentication domain can be retrieved using its name, via the data source `get_authentication_domain`, as shown in the example above. Head over to the documentation of this data source for more details and examples.
109
- :param str name: The name of the user to search for.
110
+ :param builtins.str name: The name of the user to search for.
110
111
  """
111
112
  __args__ = dict()
112
113
  __args__['authenticationDomainId'] = authentication_domain_id
@@ -120,9 +121,9 @@ def get_user(authentication_domain_id: Optional[str] = None,
120
121
  email_id=pulumi.get(__ret__, 'email_id'),
121
122
  id=pulumi.get(__ret__, 'id'),
122
123
  name=pulumi.get(__ret__, 'name'))
123
- def get_user_output(authentication_domain_id: Optional[pulumi.Input[str]] = None,
124
- email_id: Optional[pulumi.Input[Optional[str]]] = None,
125
- name: Optional[pulumi.Input[Optional[str]]] = None,
124
+ def get_user_output(authentication_domain_id: Optional[pulumi.Input[builtins.str]] = None,
125
+ email_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
126
+ name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
126
127
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetUserResult]:
127
128
  """
128
129
  The `User` data source helps search for a user by their name and/or email ID, and accordingly, fetch the ID of the matching user.
@@ -142,15 +143,15 @@ def get_user_output(authentication_domain_id: Optional[pulumi.Input[str]] = None
142
143
  ```
143
144
 
144
145
 
145
- :param str authentication_domain_id: The ID of the authentication domain the user to be searched for belongs to.
146
- :param str email_id: The email ID of the user to search for.
146
+ :param builtins.str authentication_domain_id: The ID of the authentication domain the user to be searched for belongs to.
147
+ :param builtins.str email_id: The email ID of the user to search for.
147
148
 
148
149
  It should be noted that either `name` or `email_id` must be specified in order to retrieve a matching user.
149
150
 
150
151
  > **NOTE** If the `name` specified in the configuration matches the names of multiple users in the account, the data source will return the first match from the list of all matching users retrieved from the API. However, when using the `email_id` argument as the search criterion, only the user with the specified email ID will be returned, as each user has a unique email ID and multiple users cannot have the same email ID.
151
152
 
152
153
  > **NOTE** The ID of an authentication domain can be retrieved using its name, via the data source `get_authentication_domain`, as shown in the example above. Head over to the documentation of this data source for more details and examples.
153
- :param str name: The name of the user to search for.
154
+ :param builtins.str name: The name of the user to search for.
154
155
  """
155
156
  __args__ = dict()
156
157
  __args__['authenticationDomainId'] = authentication_domain_id