pulumi-newrelic 5.42.1__py3-none-any.whl → 5.58.0a1766556761__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/__init__.py +19 -1
- pulumi_newrelic/_inputs.py +4314 -3779
- pulumi_newrelic/_utilities.py +1 -1
- pulumi_newrelic/account_management.py +37 -36
- pulumi_newrelic/alert_channel.py +63 -62
- pulumi_newrelic/alert_condition.py +219 -218
- pulumi_newrelic/alert_muting_rule.py +96 -95
- pulumi_newrelic/alert_policy.py +71 -70
- pulumi_newrelic/alert_policy_channel.py +54 -53
- pulumi_newrelic/api_access_key.py +186 -201
- pulumi_newrelic/browser_application.py +115 -114
- pulumi_newrelic/cloud/__init__.py +3 -1
- pulumi_newrelic/cloud/_inputs.py +2226 -2118
- pulumi_newrelic/cloud/aws_govcloud_integrations.py +101 -96
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +71 -70
- pulumi_newrelic/cloud/aws_integrations.py +240 -192
- pulumi_newrelic/cloud/aws_link_account.py +71 -70
- pulumi_newrelic/cloud/azure_integrations.py +180 -132
- pulumi_newrelic/cloud/azure_link_account.py +105 -104
- pulumi_newrelic/cloud/gcp_integrations.py +115 -114
- pulumi_newrelic/cloud/gcp_link_account.py +56 -55
- pulumi_newrelic/cloud/oci_link_account.py +926 -0
- pulumi_newrelic/cloud/outputs.py +1512 -1410
- pulumi_newrelic/config/__init__.py +2 -1
- pulumi_newrelic/config/__init__.pyi +2 -2
- pulumi_newrelic/config/vars.py +15 -15
- pulumi_newrelic/data_partition_rule.py +114 -113
- pulumi_newrelic/entity_tags.py +79 -22
- pulumi_newrelic/events_to_metrics_rule.py +97 -96
- pulumi_newrelic/get_account.py +22 -22
- pulumi_newrelic/get_alert_channel.py +53 -21
- pulumi_newrelic/get_alert_policy.py +52 -26
- pulumi_newrelic/get_application.py +14 -14
- pulumi_newrelic/get_authentication_domain.py +10 -10
- pulumi_newrelic/get_cloud_account.py +22 -22
- pulumi_newrelic/get_entity.py +53 -53
- pulumi_newrelic/get_group.py +22 -22
- pulumi_newrelic/get_key_transaction.py +26 -26
- pulumi_newrelic/get_notification_destination.py +31 -31
- pulumi_newrelic/get_obfuscation_expression.py +16 -16
- pulumi_newrelic/get_service_level_alert_helper.py +54 -54
- pulumi_newrelic/get_test_grok_pattern.py +23 -23
- pulumi_newrelic/get_user.py +22 -22
- pulumi_newrelic/group.py +54 -53
- pulumi_newrelic/infra_alert_condition.py +257 -256
- pulumi_newrelic/insights/__init__.py +2 -1
- pulumi_newrelic/insights/_inputs.py +33 -33
- pulumi_newrelic/insights/event.py +6 -5
- pulumi_newrelic/insights/outputs.py +23 -23
- pulumi_newrelic/key_transaction.py +106 -105
- pulumi_newrelic/log_parsing_rule.py +148 -147
- pulumi_newrelic/monitor_downtime.py +148 -154
- pulumi_newrelic/notification_channel.py +218 -163
- pulumi_newrelic/notification_destination.py +123 -136
- pulumi_newrelic/nrql_alert_condition.py +513 -414
- pulumi_newrelic/nrql_drop_rule.py +108 -147
- pulumi_newrelic/obfuscation_expression.py +71 -70
- pulumi_newrelic/obfuscation_rule.py +91 -90
- pulumi_newrelic/one_dashboard.py +95 -94
- pulumi_newrelic/one_dashboard_json.py +64 -63
- pulumi_newrelic/one_dashboard_raw.py +116 -115
- pulumi_newrelic/outputs.py +3026 -2665
- pulumi_newrelic/pipeline_cloud_rule.py +335 -0
- pulumi_newrelic/plugins/__init__.py +2 -1
- pulumi_newrelic/plugins/_inputs.py +159 -159
- pulumi_newrelic/plugins/application_settings.py +186 -171
- pulumi_newrelic/plugins/outputs.py +109 -109
- pulumi_newrelic/plugins/workload.py +133 -132
- pulumi_newrelic/provider.py +136 -116
- pulumi_newrelic/pulumi-plugin.json +1 -1
- pulumi_newrelic/service_level.py +78 -77
- pulumi_newrelic/synthetics/__init__.py +2 -1
- pulumi_newrelic/synthetics/_inputs.py +128 -128
- pulumi_newrelic/synthetics/alert_condition.py +97 -96
- pulumi_newrelic/synthetics/broken_links_monitor.py +218 -189
- pulumi_newrelic/synthetics/cert_check_monitor.py +226 -197
- pulumi_newrelic/synthetics/get_private_location.py +22 -22
- pulumi_newrelic/synthetics/get_secure_credential.py +20 -20
- pulumi_newrelic/synthetics/monitor.py +399 -370
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +120 -119
- pulumi_newrelic/synthetics/outputs.py +86 -86
- pulumi_newrelic/synthetics/private_location.py +107 -106
- pulumi_newrelic/synthetics/script_monitor.py +385 -294
- pulumi_newrelic/synthetics/secure_credential.py +88 -87
- pulumi_newrelic/synthetics/step_monitor.py +241 -212
- pulumi_newrelic/user.py +71 -70
- pulumi_newrelic/workflow.py +141 -140
- {pulumi_newrelic-5.42.1.dist-info → pulumi_newrelic-5.58.0a1766556761.dist-info}/METADATA +4 -4
- pulumi_newrelic-5.58.0a1766556761.dist-info/RECORD +92 -0
- {pulumi_newrelic-5.42.1.dist-info → pulumi_newrelic-5.58.0a1766556761.dist-info}/WHEEL +1 -1
- pulumi_newrelic-5.42.1.dist-info/RECORD +0 -90
- {pulumi_newrelic-5.42.1.dist-info → pulumi_newrelic-5.58.0a1766556761.dist-info}/top_level.txt +0 -0
pulumi_newrelic/service_level.py
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -22,19 +22,19 @@ __all__ = ['ServiceLevelArgs', 'ServiceLevel']
|
|
|
22
22
|
class ServiceLevelArgs:
|
|
23
23
|
def __init__(__self__, *,
|
|
24
24
|
events: pulumi.Input['ServiceLevelEventsArgs'],
|
|
25
|
-
guid: pulumi.Input[str],
|
|
25
|
+
guid: pulumi.Input[_builtins.str],
|
|
26
26
|
objective: pulumi.Input['ServiceLevelObjectiveArgs'],
|
|
27
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
28
|
-
name: Optional[pulumi.Input[str]] = None):
|
|
27
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
28
|
+
name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
29
29
|
"""
|
|
30
30
|
The set of arguments for constructing a ServiceLevel resource.
|
|
31
31
|
:param pulumi.Input['ServiceLevelEventsArgs'] events: The events that define the NRDB data for the SLI/SLO calculations.
|
|
32
32
|
See Events below for details.
|
|
33
|
-
:param pulumi.Input[str] guid: The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource.
|
|
33
|
+
:param pulumi.Input[_builtins.str] guid: The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource.
|
|
34
34
|
:param pulumi.Input['ServiceLevelObjectiveArgs'] objective: The objective of the SLI, only one can be defined.
|
|
35
35
|
See Objective below for details.
|
|
36
|
-
:param pulumi.Input[str] description: The description of the SLI.
|
|
37
|
-
:param pulumi.Input[str] name: A short name for the SLI that will help anyone understand what it is about.
|
|
36
|
+
:param pulumi.Input[_builtins.str] description: The description of the SLI.
|
|
37
|
+
:param pulumi.Input[_builtins.str] name: A short name for the SLI that will help anyone understand what it is about.
|
|
38
38
|
"""
|
|
39
39
|
pulumi.set(__self__, "events", events)
|
|
40
40
|
pulumi.set(__self__, "guid", guid)
|
|
@@ -44,7 +44,7 @@ class ServiceLevelArgs:
|
|
|
44
44
|
if name is not None:
|
|
45
45
|
pulumi.set(__self__, "name", name)
|
|
46
46
|
|
|
47
|
-
@property
|
|
47
|
+
@_builtins.property
|
|
48
48
|
@pulumi.getter
|
|
49
49
|
def events(self) -> pulumi.Input['ServiceLevelEventsArgs']:
|
|
50
50
|
"""
|
|
@@ -57,19 +57,19 @@ class ServiceLevelArgs:
|
|
|
57
57
|
def events(self, value: pulumi.Input['ServiceLevelEventsArgs']):
|
|
58
58
|
pulumi.set(self, "events", value)
|
|
59
59
|
|
|
60
|
-
@property
|
|
60
|
+
@_builtins.property
|
|
61
61
|
@pulumi.getter
|
|
62
|
-
def guid(self) -> pulumi.Input[str]:
|
|
62
|
+
def guid(self) -> pulumi.Input[_builtins.str]:
|
|
63
63
|
"""
|
|
64
64
|
The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource.
|
|
65
65
|
"""
|
|
66
66
|
return pulumi.get(self, "guid")
|
|
67
67
|
|
|
68
68
|
@guid.setter
|
|
69
|
-
def guid(self, value: pulumi.Input[str]):
|
|
69
|
+
def guid(self, value: pulumi.Input[_builtins.str]):
|
|
70
70
|
pulumi.set(self, "guid", value)
|
|
71
71
|
|
|
72
|
-
@property
|
|
72
|
+
@_builtins.property
|
|
73
73
|
@pulumi.getter
|
|
74
74
|
def objective(self) -> pulumi.Input['ServiceLevelObjectiveArgs']:
|
|
75
75
|
"""
|
|
@@ -82,52 +82,52 @@ class ServiceLevelArgs:
|
|
|
82
82
|
def objective(self, value: pulumi.Input['ServiceLevelObjectiveArgs']):
|
|
83
83
|
pulumi.set(self, "objective", value)
|
|
84
84
|
|
|
85
|
-
@property
|
|
85
|
+
@_builtins.property
|
|
86
86
|
@pulumi.getter
|
|
87
|
-
def description(self) -> Optional[pulumi.Input[str]]:
|
|
87
|
+
def description(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
88
88
|
"""
|
|
89
89
|
The description of the SLI.
|
|
90
90
|
"""
|
|
91
91
|
return pulumi.get(self, "description")
|
|
92
92
|
|
|
93
93
|
@description.setter
|
|
94
|
-
def description(self, value: Optional[pulumi.Input[str]]):
|
|
94
|
+
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
95
95
|
pulumi.set(self, "description", value)
|
|
96
96
|
|
|
97
|
-
@property
|
|
97
|
+
@_builtins.property
|
|
98
98
|
@pulumi.getter
|
|
99
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
99
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
100
100
|
"""
|
|
101
101
|
A short name for the SLI that will help anyone understand what it is about.
|
|
102
102
|
"""
|
|
103
103
|
return pulumi.get(self, "name")
|
|
104
104
|
|
|
105
105
|
@name.setter
|
|
106
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
106
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
107
107
|
pulumi.set(self, "name", value)
|
|
108
108
|
|
|
109
109
|
|
|
110
110
|
@pulumi.input_type
|
|
111
111
|
class _ServiceLevelState:
|
|
112
112
|
def __init__(__self__, *,
|
|
113
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
113
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
114
114
|
events: Optional[pulumi.Input['ServiceLevelEventsArgs']] = None,
|
|
115
|
-
guid: Optional[pulumi.Input[str]] = None,
|
|
116
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
115
|
+
guid: Optional[pulumi.Input[_builtins.str]] = None,
|
|
116
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
117
117
|
objective: Optional[pulumi.Input['ServiceLevelObjectiveArgs']] = None,
|
|
118
|
-
sli_guid: Optional[pulumi.Input[str]] = None,
|
|
119
|
-
sli_id: Optional[pulumi.Input[str]] = None):
|
|
118
|
+
sli_guid: Optional[pulumi.Input[_builtins.str]] = None,
|
|
119
|
+
sli_id: Optional[pulumi.Input[_builtins.str]] = None):
|
|
120
120
|
"""
|
|
121
121
|
Input properties used for looking up and filtering ServiceLevel resources.
|
|
122
|
-
:param pulumi.Input[str] description: The description of the SLI.
|
|
122
|
+
:param pulumi.Input[_builtins.str] description: The description of the SLI.
|
|
123
123
|
:param pulumi.Input['ServiceLevelEventsArgs'] events: The events that define the NRDB data for the SLI/SLO calculations.
|
|
124
124
|
See Events below for details.
|
|
125
|
-
:param pulumi.Input[str] guid: The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource.
|
|
126
|
-
:param pulumi.Input[str] name: A short name for the SLI that will help anyone understand what it is about.
|
|
125
|
+
:param pulumi.Input[_builtins.str] guid: The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource.
|
|
126
|
+
:param pulumi.Input[_builtins.str] name: A short name for the SLI that will help anyone understand what it is about.
|
|
127
127
|
:param pulumi.Input['ServiceLevelObjectiveArgs'] objective: The objective of the SLI, only one can be defined.
|
|
128
128
|
See Objective below for details.
|
|
129
|
-
:param pulumi.Input[str] sli_guid: The unique entity identifier of the Service Level Indicator in New Relic.
|
|
130
|
-
:param pulumi.Input[str] sli_id: The unique entity identifier of the Service Level Indicator.
|
|
129
|
+
:param pulumi.Input[_builtins.str] sli_guid: The unique entity identifier of the Service Level Indicator in New Relic.
|
|
130
|
+
:param pulumi.Input[_builtins.str] sli_id: The unique entity identifier of the Service Level Indicator.
|
|
131
131
|
"""
|
|
132
132
|
if description is not None:
|
|
133
133
|
pulumi.set(__self__, "description", description)
|
|
@@ -144,19 +144,19 @@ class _ServiceLevelState:
|
|
|
144
144
|
if sli_id is not None:
|
|
145
145
|
pulumi.set(__self__, "sli_id", sli_id)
|
|
146
146
|
|
|
147
|
-
@property
|
|
147
|
+
@_builtins.property
|
|
148
148
|
@pulumi.getter
|
|
149
|
-
def description(self) -> Optional[pulumi.Input[str]]:
|
|
149
|
+
def description(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
150
150
|
"""
|
|
151
151
|
The description of the SLI.
|
|
152
152
|
"""
|
|
153
153
|
return pulumi.get(self, "description")
|
|
154
154
|
|
|
155
155
|
@description.setter
|
|
156
|
-
def description(self, value: Optional[pulumi.Input[str]]):
|
|
156
|
+
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
157
157
|
pulumi.set(self, "description", value)
|
|
158
158
|
|
|
159
|
-
@property
|
|
159
|
+
@_builtins.property
|
|
160
160
|
@pulumi.getter
|
|
161
161
|
def events(self) -> Optional[pulumi.Input['ServiceLevelEventsArgs']]:
|
|
162
162
|
"""
|
|
@@ -169,31 +169,31 @@ class _ServiceLevelState:
|
|
|
169
169
|
def events(self, value: Optional[pulumi.Input['ServiceLevelEventsArgs']]):
|
|
170
170
|
pulumi.set(self, "events", value)
|
|
171
171
|
|
|
172
|
-
@property
|
|
172
|
+
@_builtins.property
|
|
173
173
|
@pulumi.getter
|
|
174
|
-
def guid(self) -> Optional[pulumi.Input[str]]:
|
|
174
|
+
def guid(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
175
175
|
"""
|
|
176
176
|
The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource.
|
|
177
177
|
"""
|
|
178
178
|
return pulumi.get(self, "guid")
|
|
179
179
|
|
|
180
180
|
@guid.setter
|
|
181
|
-
def guid(self, value: Optional[pulumi.Input[str]]):
|
|
181
|
+
def guid(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
182
182
|
pulumi.set(self, "guid", value)
|
|
183
183
|
|
|
184
|
-
@property
|
|
184
|
+
@_builtins.property
|
|
185
185
|
@pulumi.getter
|
|
186
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
186
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
187
187
|
"""
|
|
188
188
|
A short name for the SLI that will help anyone understand what it is about.
|
|
189
189
|
"""
|
|
190
190
|
return pulumi.get(self, "name")
|
|
191
191
|
|
|
192
192
|
@name.setter
|
|
193
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
193
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
194
194
|
pulumi.set(self, "name", value)
|
|
195
195
|
|
|
196
|
-
@property
|
|
196
|
+
@_builtins.property
|
|
197
197
|
@pulumi.getter
|
|
198
198
|
def objective(self) -> Optional[pulumi.Input['ServiceLevelObjectiveArgs']]:
|
|
199
199
|
"""
|
|
@@ -206,40 +206,41 @@ class _ServiceLevelState:
|
|
|
206
206
|
def objective(self, value: Optional[pulumi.Input['ServiceLevelObjectiveArgs']]):
|
|
207
207
|
pulumi.set(self, "objective", value)
|
|
208
208
|
|
|
209
|
-
@property
|
|
209
|
+
@_builtins.property
|
|
210
210
|
@pulumi.getter(name="sliGuid")
|
|
211
|
-
def sli_guid(self) -> Optional[pulumi.Input[str]]:
|
|
211
|
+
def sli_guid(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
212
212
|
"""
|
|
213
213
|
The unique entity identifier of the Service Level Indicator in New Relic.
|
|
214
214
|
"""
|
|
215
215
|
return pulumi.get(self, "sli_guid")
|
|
216
216
|
|
|
217
217
|
@sli_guid.setter
|
|
218
|
-
def sli_guid(self, value: Optional[pulumi.Input[str]]):
|
|
218
|
+
def sli_guid(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
219
219
|
pulumi.set(self, "sli_guid", value)
|
|
220
220
|
|
|
221
|
-
@property
|
|
221
|
+
@_builtins.property
|
|
222
222
|
@pulumi.getter(name="sliId")
|
|
223
|
-
def sli_id(self) -> Optional[pulumi.Input[str]]:
|
|
223
|
+
def sli_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
224
224
|
"""
|
|
225
225
|
The unique entity identifier of the Service Level Indicator.
|
|
226
226
|
"""
|
|
227
227
|
return pulumi.get(self, "sli_id")
|
|
228
228
|
|
|
229
229
|
@sli_id.setter
|
|
230
|
-
def sli_id(self, value: Optional[pulumi.Input[str]]):
|
|
230
|
+
def sli_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
231
231
|
pulumi.set(self, "sli_id", value)
|
|
232
232
|
|
|
233
233
|
|
|
234
|
+
@pulumi.type_token("newrelic:index/serviceLevel:ServiceLevel")
|
|
234
235
|
class ServiceLevel(pulumi.CustomResource):
|
|
235
236
|
@overload
|
|
236
237
|
def __init__(__self__,
|
|
237
238
|
resource_name: str,
|
|
238
239
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
239
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
240
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
240
241
|
events: Optional[pulumi.Input[Union['ServiceLevelEventsArgs', 'ServiceLevelEventsArgsDict']]] = None,
|
|
241
|
-
guid: Optional[pulumi.Input[str]] = None,
|
|
242
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
242
|
+
guid: Optional[pulumi.Input[_builtins.str]] = None,
|
|
243
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
243
244
|
objective: Optional[pulumi.Input[Union['ServiceLevelObjectiveArgs', 'ServiceLevelObjectiveArgsDict']]] = None,
|
|
244
245
|
__props__=None):
|
|
245
246
|
"""
|
|
@@ -393,11 +394,11 @@ class ServiceLevel(pulumi.CustomResource):
|
|
|
393
394
|
|
|
394
395
|
:param str resource_name: The name of the resource.
|
|
395
396
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
396
|
-
:param pulumi.Input[str] description: The description of the SLI.
|
|
397
|
+
:param pulumi.Input[_builtins.str] description: The description of the SLI.
|
|
397
398
|
:param pulumi.Input[Union['ServiceLevelEventsArgs', 'ServiceLevelEventsArgsDict']] events: The events that define the NRDB data for the SLI/SLO calculations.
|
|
398
399
|
See Events below for details.
|
|
399
|
-
:param pulumi.Input[str] guid: The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource.
|
|
400
|
-
:param pulumi.Input[str] name: A short name for the SLI that will help anyone understand what it is about.
|
|
400
|
+
:param pulumi.Input[_builtins.str] guid: The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource.
|
|
401
|
+
:param pulumi.Input[_builtins.str] name: A short name for the SLI that will help anyone understand what it is about.
|
|
401
402
|
:param pulumi.Input[Union['ServiceLevelObjectiveArgs', 'ServiceLevelObjectiveArgsDict']] objective: The objective of the SLI, only one can be defined.
|
|
402
403
|
See Objective below for details.
|
|
403
404
|
"""
|
|
@@ -571,10 +572,10 @@ class ServiceLevel(pulumi.CustomResource):
|
|
|
571
572
|
def _internal_init(__self__,
|
|
572
573
|
resource_name: str,
|
|
573
574
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
574
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
575
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
575
576
|
events: Optional[pulumi.Input[Union['ServiceLevelEventsArgs', 'ServiceLevelEventsArgsDict']]] = None,
|
|
576
|
-
guid: Optional[pulumi.Input[str]] = None,
|
|
577
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
577
|
+
guid: Optional[pulumi.Input[_builtins.str]] = None,
|
|
578
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
578
579
|
objective: Optional[pulumi.Input[Union['ServiceLevelObjectiveArgs', 'ServiceLevelObjectiveArgsDict']]] = None,
|
|
579
580
|
__props__=None):
|
|
580
581
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -608,13 +609,13 @@ class ServiceLevel(pulumi.CustomResource):
|
|
|
608
609
|
def get(resource_name: str,
|
|
609
610
|
id: pulumi.Input[str],
|
|
610
611
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
611
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
612
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
612
613
|
events: Optional[pulumi.Input[Union['ServiceLevelEventsArgs', 'ServiceLevelEventsArgsDict']]] = None,
|
|
613
|
-
guid: Optional[pulumi.Input[str]] = None,
|
|
614
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
614
|
+
guid: Optional[pulumi.Input[_builtins.str]] = None,
|
|
615
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
615
616
|
objective: Optional[pulumi.Input[Union['ServiceLevelObjectiveArgs', 'ServiceLevelObjectiveArgsDict']]] = None,
|
|
616
|
-
sli_guid: Optional[pulumi.Input[str]] = None,
|
|
617
|
-
sli_id: Optional[pulumi.Input[str]] = None) -> 'ServiceLevel':
|
|
617
|
+
sli_guid: Optional[pulumi.Input[_builtins.str]] = None,
|
|
618
|
+
sli_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'ServiceLevel':
|
|
618
619
|
"""
|
|
619
620
|
Get an existing ServiceLevel resource's state with the given name, id, and optional extra
|
|
620
621
|
properties used to qualify the lookup.
|
|
@@ -622,15 +623,15 @@ class ServiceLevel(pulumi.CustomResource):
|
|
|
622
623
|
:param str resource_name: The unique name of the resulting resource.
|
|
623
624
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
624
625
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
625
|
-
:param pulumi.Input[str] description: The description of the SLI.
|
|
626
|
+
:param pulumi.Input[_builtins.str] description: The description of the SLI.
|
|
626
627
|
:param pulumi.Input[Union['ServiceLevelEventsArgs', 'ServiceLevelEventsArgsDict']] events: The events that define the NRDB data for the SLI/SLO calculations.
|
|
627
628
|
See Events below for details.
|
|
628
|
-
:param pulumi.Input[str] guid: The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource.
|
|
629
|
-
:param pulumi.Input[str] name: A short name for the SLI that will help anyone understand what it is about.
|
|
629
|
+
:param pulumi.Input[_builtins.str] guid: The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource.
|
|
630
|
+
:param pulumi.Input[_builtins.str] name: A short name for the SLI that will help anyone understand what it is about.
|
|
630
631
|
:param pulumi.Input[Union['ServiceLevelObjectiveArgs', 'ServiceLevelObjectiveArgsDict']] objective: The objective of the SLI, only one can be defined.
|
|
631
632
|
See Objective below for details.
|
|
632
|
-
:param pulumi.Input[str] sli_guid: The unique entity identifier of the Service Level Indicator in New Relic.
|
|
633
|
-
:param pulumi.Input[str] sli_id: The unique entity identifier of the Service Level Indicator.
|
|
633
|
+
:param pulumi.Input[_builtins.str] sli_guid: The unique entity identifier of the Service Level Indicator in New Relic.
|
|
634
|
+
:param pulumi.Input[_builtins.str] sli_id: The unique entity identifier of the Service Level Indicator.
|
|
634
635
|
"""
|
|
635
636
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
636
637
|
|
|
@@ -645,15 +646,15 @@ class ServiceLevel(pulumi.CustomResource):
|
|
|
645
646
|
__props__.__dict__["sli_id"] = sli_id
|
|
646
647
|
return ServiceLevel(resource_name, opts=opts, __props__=__props__)
|
|
647
648
|
|
|
648
|
-
@property
|
|
649
|
+
@_builtins.property
|
|
649
650
|
@pulumi.getter
|
|
650
|
-
def description(self) -> pulumi.Output[Optional[str]]:
|
|
651
|
+
def description(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
651
652
|
"""
|
|
652
653
|
The description of the SLI.
|
|
653
654
|
"""
|
|
654
655
|
return pulumi.get(self, "description")
|
|
655
656
|
|
|
656
|
-
@property
|
|
657
|
+
@_builtins.property
|
|
657
658
|
@pulumi.getter
|
|
658
659
|
def events(self) -> pulumi.Output['outputs.ServiceLevelEvents']:
|
|
659
660
|
"""
|
|
@@ -662,23 +663,23 @@ class ServiceLevel(pulumi.CustomResource):
|
|
|
662
663
|
"""
|
|
663
664
|
return pulumi.get(self, "events")
|
|
664
665
|
|
|
665
|
-
@property
|
|
666
|
+
@_builtins.property
|
|
666
667
|
@pulumi.getter
|
|
667
|
-
def guid(self) -> pulumi.Output[str]:
|
|
668
|
+
def guid(self) -> pulumi.Output[_builtins.str]:
|
|
668
669
|
"""
|
|
669
670
|
The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource.
|
|
670
671
|
"""
|
|
671
672
|
return pulumi.get(self, "guid")
|
|
672
673
|
|
|
673
|
-
@property
|
|
674
|
+
@_builtins.property
|
|
674
675
|
@pulumi.getter
|
|
675
|
-
def name(self) -> pulumi.Output[str]:
|
|
676
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
676
677
|
"""
|
|
677
678
|
A short name for the SLI that will help anyone understand what it is about.
|
|
678
679
|
"""
|
|
679
680
|
return pulumi.get(self, "name")
|
|
680
681
|
|
|
681
|
-
@property
|
|
682
|
+
@_builtins.property
|
|
682
683
|
@pulumi.getter
|
|
683
684
|
def objective(self) -> pulumi.Output['outputs.ServiceLevelObjective']:
|
|
684
685
|
"""
|
|
@@ -687,17 +688,17 @@ class ServiceLevel(pulumi.CustomResource):
|
|
|
687
688
|
"""
|
|
688
689
|
return pulumi.get(self, "objective")
|
|
689
690
|
|
|
690
|
-
@property
|
|
691
|
+
@_builtins.property
|
|
691
692
|
@pulumi.getter(name="sliGuid")
|
|
692
|
-
def sli_guid(self) -> pulumi.Output[str]:
|
|
693
|
+
def sli_guid(self) -> pulumi.Output[_builtins.str]:
|
|
693
694
|
"""
|
|
694
695
|
The unique entity identifier of the Service Level Indicator in New Relic.
|
|
695
696
|
"""
|
|
696
697
|
return pulumi.get(self, "sli_guid")
|
|
697
698
|
|
|
698
|
-
@property
|
|
699
|
+
@_builtins.property
|
|
699
700
|
@pulumi.getter(name="sliId")
|
|
700
|
-
def sli_id(self) -> pulumi.Output[str]:
|
|
701
|
+
def sli_id(self) -> pulumi.Output[_builtins.str]:
|
|
701
702
|
"""
|
|
702
703
|
The unique entity identifier of the Service Level Indicator.
|
|
703
704
|
"""
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins as _builtins
|
|
5
6
|
from .. import _utilities
|
|
6
7
|
import typing
|
|
7
8
|
# Export this package's modules as members:
|