pulumi-newrelic 5.48.0a1752905769__py3-none-any.whl → 5.49.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_newrelic/__init__.py +1 -1
- pulumi_newrelic/_inputs.py +3897 -3739
- pulumi_newrelic/account_management.py +35 -36
- pulumi_newrelic/alert_channel.py +55 -56
- pulumi_newrelic/alert_condition.py +217 -218
- pulumi_newrelic/alert_muting_rule.py +92 -93
- pulumi_newrelic/alert_policy.py +69 -70
- pulumi_newrelic/alert_policy_channel.py +52 -53
- pulumi_newrelic/api_access_key.py +112 -113
- pulumi_newrelic/browser_application.py +113 -114
- pulumi_newrelic/cloud/__init__.py +1 -1
- pulumi_newrelic/cloud/_inputs.py +2129 -2130
- pulumi_newrelic/cloud/aws_govcloud_integrations.py +95 -96
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +69 -70
- pulumi_newrelic/cloud/aws_integrations.py +194 -195
- pulumi_newrelic/cloud/aws_link_account.py +69 -70
- pulumi_newrelic/cloud/azure_integrations.py +131 -132
- pulumi_newrelic/cloud/azure_link_account.py +103 -104
- pulumi_newrelic/cloud/gcp_integrations.py +113 -114
- pulumi_newrelic/cloud/gcp_link_account.py +52 -53
- pulumi_newrelic/cloud/outputs.py +1417 -1418
- pulumi_newrelic/config/__init__.py +1 -1
- pulumi_newrelic/config/__init__.pyi +1 -2
- pulumi_newrelic/config/vars.py +14 -15
- pulumi_newrelic/data_partition_rule.py +112 -113
- pulumi_newrelic/entity_tags.py +21 -22
- pulumi_newrelic/events_to_metrics_rule.py +95 -96
- pulumi_newrelic/get_account.py +21 -22
- pulumi_newrelic/get_alert_channel.py +20 -21
- pulumi_newrelic/get_alert_policy.py +25 -26
- pulumi_newrelic/get_application.py +13 -14
- pulumi_newrelic/get_authentication_domain.py +9 -10
- pulumi_newrelic/get_cloud_account.py +21 -22
- pulumi_newrelic/get_entity.py +52 -53
- pulumi_newrelic/get_group.py +17 -18
- pulumi_newrelic/get_key_transaction.py +25 -26
- pulumi_newrelic/get_notification_destination.py +29 -30
- pulumi_newrelic/get_obfuscation_expression.py +15 -16
- pulumi_newrelic/get_service_level_alert_helper.py +53 -54
- pulumi_newrelic/get_test_grok_pattern.py +22 -23
- pulumi_newrelic/get_user.py +21 -22
- pulumi_newrelic/group.py +52 -53
- pulumi_newrelic/infra_alert_condition.py +255 -256
- pulumi_newrelic/insights/__init__.py +1 -1
- pulumi_newrelic/insights/_inputs.py +32 -33
- pulumi_newrelic/insights/event.py +4 -5
- pulumi_newrelic/insights/outputs.py +22 -23
- pulumi_newrelic/key_transaction.py +104 -105
- pulumi_newrelic/log_parsing_rule.py +146 -147
- pulumi_newrelic/monitor_downtime.py +143 -144
- pulumi_newrelic/notification_channel.py +115 -116
- pulumi_newrelic/notification_destination.py +111 -112
- pulumi_newrelic/nrql_alert_condition.py +430 -431
- pulumi_newrelic/nrql_drop_rule.py +78 -79
- pulumi_newrelic/obfuscation_expression.py +69 -70
- pulumi_newrelic/obfuscation_rule.py +89 -90
- pulumi_newrelic/one_dashboard.py +93 -94
- pulumi_newrelic/one_dashboard_json.py +62 -63
- pulumi_newrelic/one_dashboard_raw.py +90 -91
- pulumi_newrelic/outputs.py +2724 -2632
- pulumi_newrelic/plugins/__init__.py +1 -1
- pulumi_newrelic/plugins/_inputs.py +158 -159
- pulumi_newrelic/plugins/application_settings.py +167 -168
- pulumi_newrelic/plugins/outputs.py +108 -109
- pulumi_newrelic/plugins/workload.py +131 -132
- pulumi_newrelic/provider.py +106 -107
- pulumi_newrelic/pulumi-plugin.json +1 -1
- pulumi_newrelic/service_level.py +76 -77
- pulumi_newrelic/synthetics/__init__.py +1 -1
- pulumi_newrelic/synthetics/_inputs.py +127 -128
- pulumi_newrelic/synthetics/alert_condition.py +95 -96
- pulumi_newrelic/synthetics/broken_links_monitor.py +197 -198
- pulumi_newrelic/synthetics/cert_check_monitor.py +205 -206
- pulumi_newrelic/synthetics/get_private_location.py +21 -22
- pulumi_newrelic/synthetics/get_secure_credential.py +19 -20
- pulumi_newrelic/synthetics/monitor.py +378 -379
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +118 -119
- pulumi_newrelic/synthetics/outputs.py +85 -86
- pulumi_newrelic/synthetics/private_location.py +105 -106
- pulumi_newrelic/synthetics/script_monitor.py +302 -303
- pulumi_newrelic/synthetics/secure_credential.py +86 -87
- pulumi_newrelic/synthetics/step_monitor.py +220 -221
- pulumi_newrelic/user.py +69 -70
- pulumi_newrelic/workflow.py +139 -140
- {pulumi_newrelic-5.48.0a1752905769.dist-info → pulumi_newrelic-5.49.0.dist-info}/METADATA +1 -1
- pulumi_newrelic-5.49.0.dist-info/RECORD +90 -0
- pulumi_newrelic-5.48.0a1752905769.dist-info/RECORD +0 -90
- {pulumi_newrelic-5.48.0a1752905769.dist-info → pulumi_newrelic-5.49.0.dist-info}/WHEEL +0 -0
- {pulumi_newrelic-5.48.0a1752905769.dist-info → pulumi_newrelic-5.49.0.dist-info}/top_level.txt +0 -0
pulumi_newrelic/get_entity.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
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
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -67,80 +66,80 @@ class GetEntityResult:
|
|
|
67
66
|
raise TypeError("Expected argument 'type' to be a str")
|
|
68
67
|
pulumi.set(__self__, "type", type)
|
|
69
68
|
|
|
70
|
-
@property
|
|
69
|
+
@_builtins.property
|
|
71
70
|
@pulumi.getter(name="accountId")
|
|
72
|
-
def account_id(self) ->
|
|
71
|
+
def account_id(self) -> _builtins.str:
|
|
73
72
|
return pulumi.get(self, "account_id")
|
|
74
73
|
|
|
75
|
-
@property
|
|
74
|
+
@_builtins.property
|
|
76
75
|
@pulumi.getter(name="applicationId")
|
|
77
|
-
def application_id(self) ->
|
|
76
|
+
def application_id(self) -> _builtins.str:
|
|
78
77
|
"""
|
|
79
78
|
The domain-specific application ID of the entity. Only returned for APM and Browser applications.
|
|
80
79
|
"""
|
|
81
80
|
return pulumi.get(self, "application_id")
|
|
82
81
|
|
|
83
|
-
@property
|
|
82
|
+
@_builtins.property
|
|
84
83
|
@pulumi.getter
|
|
85
|
-
def domain(self) ->
|
|
84
|
+
def domain(self) -> _builtins.str:
|
|
86
85
|
return pulumi.get(self, "domain")
|
|
87
86
|
|
|
88
|
-
@property
|
|
87
|
+
@_builtins.property
|
|
89
88
|
@pulumi.getter(name="entityTags")
|
|
90
|
-
def entity_tags(self) ->
|
|
89
|
+
def entity_tags(self) -> _builtins.str:
|
|
91
90
|
"""
|
|
92
91
|
A JSON-encoded string, comprising tags associated with the entity fetched.
|
|
93
92
|
* See the **Additional Examples** section below, for an illustration depicting the usage of `jsondecode` with the attribute `entity_tags`, to get the tags associated with the entity fetched.
|
|
94
93
|
"""
|
|
95
94
|
return pulumi.get(self, "entity_tags")
|
|
96
95
|
|
|
97
|
-
@property
|
|
96
|
+
@_builtins.property
|
|
98
97
|
@pulumi.getter
|
|
99
|
-
def guid(self) ->
|
|
98
|
+
def guid(self) -> _builtins.str:
|
|
100
99
|
"""
|
|
101
100
|
The unique GUID of the entity.
|
|
102
101
|
"""
|
|
103
102
|
return pulumi.get(self, "guid")
|
|
104
103
|
|
|
105
|
-
@property
|
|
104
|
+
@_builtins.property
|
|
106
105
|
@pulumi.getter
|
|
107
|
-
def id(self) ->
|
|
106
|
+
def id(self) -> _builtins.str:
|
|
108
107
|
"""
|
|
109
108
|
The provider-assigned unique ID for this managed resource.
|
|
110
109
|
"""
|
|
111
110
|
return pulumi.get(self, "id")
|
|
112
111
|
|
|
113
|
-
@property
|
|
112
|
+
@_builtins.property
|
|
114
113
|
@pulumi.getter(name="ignoreCase")
|
|
115
|
-
def ignore_case(self) -> Optional[
|
|
114
|
+
def ignore_case(self) -> Optional[_builtins.bool]:
|
|
116
115
|
return pulumi.get(self, "ignore_case")
|
|
117
116
|
|
|
118
|
-
@property
|
|
117
|
+
@_builtins.property
|
|
119
118
|
@pulumi.getter(name="ignoreNotFound")
|
|
120
|
-
def ignore_not_found(self) -> Optional[
|
|
119
|
+
def ignore_not_found(self) -> Optional[_builtins.bool]:
|
|
121
120
|
return pulumi.get(self, "ignore_not_found")
|
|
122
121
|
|
|
123
|
-
@property
|
|
122
|
+
@_builtins.property
|
|
124
123
|
@pulumi.getter
|
|
125
|
-
def name(self) ->
|
|
124
|
+
def name(self) -> _builtins.str:
|
|
126
125
|
return pulumi.get(self, "name")
|
|
127
126
|
|
|
128
|
-
@property
|
|
127
|
+
@_builtins.property
|
|
129
128
|
@pulumi.getter(name="servingApmApplicationId")
|
|
130
|
-
def serving_apm_application_id(self) ->
|
|
129
|
+
def serving_apm_application_id(self) -> _builtins.str:
|
|
131
130
|
"""
|
|
132
131
|
The browser-specific ID of the backing APM entity. Only returned for Browser applications.
|
|
133
132
|
"""
|
|
134
133
|
return pulumi.get(self, "serving_apm_application_id")
|
|
135
134
|
|
|
136
|
-
@property
|
|
135
|
+
@_builtins.property
|
|
137
136
|
@pulumi.getter
|
|
138
137
|
def tags(self) -> Optional[Sequence['outputs.GetEntityTagResult']]:
|
|
139
138
|
return pulumi.get(self, "tags")
|
|
140
139
|
|
|
141
|
-
@property
|
|
140
|
+
@_builtins.property
|
|
142
141
|
@pulumi.getter
|
|
143
|
-
def type(self) ->
|
|
142
|
+
def type(self) -> _builtins.str:
|
|
144
143
|
return pulumi.get(self, "type")
|
|
145
144
|
|
|
146
145
|
|
|
@@ -164,29 +163,29 @@ class AwaitableGetEntityResult(GetEntityResult):
|
|
|
164
163
|
type=self.type)
|
|
165
164
|
|
|
166
165
|
|
|
167
|
-
def get_entity(account_id: Optional[
|
|
168
|
-
domain: Optional[
|
|
169
|
-
entity_tags: Optional[
|
|
170
|
-
ignore_case: Optional[
|
|
171
|
-
ignore_not_found: Optional[
|
|
172
|
-
name: Optional[
|
|
166
|
+
def get_entity(account_id: Optional[_builtins.str] = None,
|
|
167
|
+
domain: Optional[_builtins.str] = None,
|
|
168
|
+
entity_tags: Optional[_builtins.str] = None,
|
|
169
|
+
ignore_case: Optional[_builtins.bool] = None,
|
|
170
|
+
ignore_not_found: Optional[_builtins.bool] = None,
|
|
171
|
+
name: Optional[_builtins.str] = None,
|
|
173
172
|
tags: Optional[Sequence[Union['GetEntityTagArgs', 'GetEntityTagArgsDict']]] = None,
|
|
174
|
-
type: Optional[
|
|
173
|
+
type: Optional[_builtins.str] = None,
|
|
175
174
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetEntityResult:
|
|
176
175
|
"""
|
|
177
176
|
Use this data source to access information about an existing resource.
|
|
178
177
|
|
|
179
|
-
:param
|
|
180
|
-
:param
|
|
181
|
-
:param
|
|
178
|
+
:param _builtins.str account_id: The New Relic account ID the entity to be returned would be associated with, i.e. if specified, the data source would filter matching entities received by `account_id` and return the first match. If not, matching entities are filtered by the account ID specified in the configuration of the provider. See the **Example: Filter By Account ID** section above for more details.
|
|
179
|
+
:param _builtins.str domain: The entity's domain. Valid values are APM, BROWSER, INFRA, MOBILE, SYNTH, and EXT. If not specified, all domains are searched.
|
|
180
|
+
:param _builtins.str entity_tags: A JSON-encoded string, comprising tags associated with the entity fetched.
|
|
182
181
|
* See the **Additional Examples** section below, for an illustration depicting the usage of `jsondecode` with the attribute `entity_tags`, to get the tags associated with the entity fetched.
|
|
183
|
-
:param
|
|
184
|
-
:param
|
|
182
|
+
:param _builtins.bool ignore_case: Ignore case of the `name` when searching for the entity. Defaults to false.
|
|
183
|
+
:param _builtins.bool ignore_not_found: A boolean argument that, when set to true, prevents an error from being thrown when the queried entity is not found. Instead, a warning is displayed. Defaults to `false`.
|
|
185
184
|
|
|
186
185
|
> **WARNING:** Setting the `ignore_not_found` argument to `true` will display an 'entity not found' warning instead of throwing an error. This can lead to downstream errors if the values of attributes exported by this data source are used elsewhere, as all of these values would be null. Please use this argument at your own risk.
|
|
187
|
-
:param
|
|
186
|
+
:param _builtins.str name: The name of the entity in New Relic One. The first entity matching this name for the given search parameters will be returned.
|
|
188
187
|
:param Sequence[Union['GetEntityTagArgs', 'GetEntityTagArgsDict']] tags: A tag applied to the entity. See Nested tag blocks below for details.
|
|
189
|
-
:param
|
|
188
|
+
:param _builtins.str type: The entity's type. Valid values are APPLICATION, DASHBOARD, HOST, MONITOR, WORKLOAD, AWSLAMBDAFUNCTION, SERVICE_LEVEL, and KEY_TRANSACTION. Note: Other entity types may also be queryable as the list of entity types may fluctuate over time.
|
|
190
189
|
"""
|
|
191
190
|
__args__ = dict()
|
|
192
191
|
__args__['accountId'] = account_id
|
|
@@ -213,29 +212,29 @@ def get_entity(account_id: Optional[builtins.str] = None,
|
|
|
213
212
|
serving_apm_application_id=pulumi.get(__ret__, 'serving_apm_application_id'),
|
|
214
213
|
tags=pulumi.get(__ret__, 'tags'),
|
|
215
214
|
type=pulumi.get(__ret__, 'type'))
|
|
216
|
-
def get_entity_output(account_id: Optional[pulumi.Input[Optional[
|
|
217
|
-
domain: Optional[pulumi.Input[Optional[
|
|
218
|
-
entity_tags: Optional[pulumi.Input[Optional[
|
|
219
|
-
ignore_case: Optional[pulumi.Input[Optional[
|
|
220
|
-
ignore_not_found: Optional[pulumi.Input[Optional[
|
|
221
|
-
name: Optional[pulumi.Input[
|
|
215
|
+
def get_entity_output(account_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
216
|
+
domain: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
217
|
+
entity_tags: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
218
|
+
ignore_case: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
219
|
+
ignore_not_found: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
220
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
222
221
|
tags: Optional[pulumi.Input[Optional[Sequence[Union['GetEntityTagArgs', 'GetEntityTagArgsDict']]]]] = None,
|
|
223
|
-
type: Optional[pulumi.Input[Optional[
|
|
222
|
+
type: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
224
223
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetEntityResult]:
|
|
225
224
|
"""
|
|
226
225
|
Use this data source to access information about an existing resource.
|
|
227
226
|
|
|
228
|
-
:param
|
|
229
|
-
:param
|
|
230
|
-
:param
|
|
227
|
+
:param _builtins.str account_id: The New Relic account ID the entity to be returned would be associated with, i.e. if specified, the data source would filter matching entities received by `account_id` and return the first match. If not, matching entities are filtered by the account ID specified in the configuration of the provider. See the **Example: Filter By Account ID** section above for more details.
|
|
228
|
+
:param _builtins.str domain: The entity's domain. Valid values are APM, BROWSER, INFRA, MOBILE, SYNTH, and EXT. If not specified, all domains are searched.
|
|
229
|
+
:param _builtins.str entity_tags: A JSON-encoded string, comprising tags associated with the entity fetched.
|
|
231
230
|
* See the **Additional Examples** section below, for an illustration depicting the usage of `jsondecode` with the attribute `entity_tags`, to get the tags associated with the entity fetched.
|
|
232
|
-
:param
|
|
233
|
-
:param
|
|
231
|
+
:param _builtins.bool ignore_case: Ignore case of the `name` when searching for the entity. Defaults to false.
|
|
232
|
+
:param _builtins.bool ignore_not_found: A boolean argument that, when set to true, prevents an error from being thrown when the queried entity is not found. Instead, a warning is displayed. Defaults to `false`.
|
|
234
233
|
|
|
235
234
|
> **WARNING:** Setting the `ignore_not_found` argument to `true` will display an 'entity not found' warning instead of throwing an error. This can lead to downstream errors if the values of attributes exported by this data source are used elsewhere, as all of these values would be null. Please use this argument at your own risk.
|
|
236
|
-
:param
|
|
235
|
+
:param _builtins.str name: The name of the entity in New Relic One. The first entity matching this name for the given search parameters will be returned.
|
|
237
236
|
:param Sequence[Union['GetEntityTagArgs', 'GetEntityTagArgsDict']] tags: A tag applied to the entity. See Nested tag blocks below for details.
|
|
238
|
-
:param
|
|
237
|
+
:param _builtins.str type: The entity's type. Valid values are APPLICATION, DASHBOARD, HOST, MONITOR, WORKLOAD, AWSLAMBDAFUNCTION, SERVICE_LEVEL, and KEY_TRANSACTION. Note: Other entity types may also be queryable as the list of entity types may fluctuate over time.
|
|
239
238
|
"""
|
|
240
239
|
__args__ = dict()
|
|
241
240
|
__args__['accountId'] = account_id
|
pulumi_newrelic/get_group.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
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
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -41,27 +40,27 @@ class GetGroupResult:
|
|
|
41
40
|
raise TypeError("Expected argument 'user_ids' to be a list")
|
|
42
41
|
pulumi.set(__self__, "user_ids", user_ids)
|
|
43
42
|
|
|
44
|
-
@property
|
|
43
|
+
@_builtins.property
|
|
45
44
|
@pulumi.getter(name="authenticationDomainId")
|
|
46
|
-
def authentication_domain_id(self) ->
|
|
45
|
+
def authentication_domain_id(self) -> _builtins.str:
|
|
47
46
|
return pulumi.get(self, "authentication_domain_id")
|
|
48
47
|
|
|
49
|
-
@property
|
|
48
|
+
@_builtins.property
|
|
50
49
|
@pulumi.getter
|
|
51
|
-
def id(self) ->
|
|
50
|
+
def id(self) -> _builtins.str:
|
|
52
51
|
"""
|
|
53
52
|
The ID of the fetched matching group.
|
|
54
53
|
"""
|
|
55
54
|
return pulumi.get(self, "id")
|
|
56
55
|
|
|
57
|
-
@property
|
|
56
|
+
@_builtins.property
|
|
58
57
|
@pulumi.getter
|
|
59
|
-
def name(self) ->
|
|
58
|
+
def name(self) -> _builtins.str:
|
|
60
59
|
return pulumi.get(self, "name")
|
|
61
60
|
|
|
62
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
63
62
|
@pulumi.getter(name="userIds")
|
|
64
|
-
def user_ids(self) -> Sequence[
|
|
63
|
+
def user_ids(self) -> Sequence[_builtins.str]:
|
|
65
64
|
"""
|
|
66
65
|
IDs of users who belong to the group. In the absence of any users in the group, the value of this attribute would be an empty list.
|
|
67
66
|
"""
|
|
@@ -80,8 +79,8 @@ class AwaitableGetGroupResult(GetGroupResult):
|
|
|
80
79
|
user_ids=self.user_ids)
|
|
81
80
|
|
|
82
81
|
|
|
83
|
-
def get_group(authentication_domain_id: Optional[
|
|
84
|
-
name: Optional[
|
|
82
|
+
def get_group(authentication_domain_id: Optional[_builtins.str] = None,
|
|
83
|
+
name: Optional[_builtins.str] = None,
|
|
85
84
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGroupResult:
|
|
86
85
|
"""
|
|
87
86
|
The `Group` data source helps search for a group by its name and retrieve the ID of the matching group and other associated attributes.
|
|
@@ -119,8 +118,8 @@ def get_group(authentication_domain_id: Optional[builtins.str] = None,
|
|
|
119
118
|
```
|
|
120
119
|
|
|
121
120
|
|
|
122
|
-
:param
|
|
123
|
-
:param
|
|
121
|
+
:param _builtins.str authentication_domain_id: The ID of the authentication domain the group to be searched for belongs to.
|
|
122
|
+
:param _builtins.str name: The name of the group to search for.
|
|
124
123
|
|
|
125
124
|
> **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.
|
|
126
125
|
"""
|
|
@@ -135,8 +134,8 @@ def get_group(authentication_domain_id: Optional[builtins.str] = None,
|
|
|
135
134
|
id=pulumi.get(__ret__, 'id'),
|
|
136
135
|
name=pulumi.get(__ret__, 'name'),
|
|
137
136
|
user_ids=pulumi.get(__ret__, 'user_ids'))
|
|
138
|
-
def get_group_output(authentication_domain_id: Optional[pulumi.Input[
|
|
139
|
-
name: Optional[pulumi.Input[
|
|
137
|
+
def get_group_output(authentication_domain_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
138
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
140
139
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGroupResult]:
|
|
141
140
|
"""
|
|
142
141
|
The `Group` data source helps search for a group by its name and retrieve the ID of the matching group and other associated attributes.
|
|
@@ -174,8 +173,8 @@ def get_group_output(authentication_domain_id: Optional[pulumi.Input[builtins.st
|
|
|
174
173
|
```
|
|
175
174
|
|
|
176
175
|
|
|
177
|
-
:param
|
|
178
|
-
:param
|
|
176
|
+
:param _builtins.str authentication_domain_id: The ID of the authentication domain the group to be searched for belongs to.
|
|
177
|
+
:param _builtins.str name: The name of the group to search for.
|
|
179
178
|
|
|
180
179
|
> **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.
|
|
181
180
|
"""
|
|
@@ -2,8 +2,7 @@
|
|
|
2
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
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -47,43 +46,43 @@ class GetKeyTransactionResult:
|
|
|
47
46
|
raise TypeError("Expected argument 'type' to be a str")
|
|
48
47
|
pulumi.set(__self__, "type", type)
|
|
49
48
|
|
|
50
|
-
@property
|
|
49
|
+
@_builtins.property
|
|
51
50
|
@pulumi.getter(name="accountId")
|
|
52
|
-
def account_id(self) ->
|
|
51
|
+
def account_id(self) -> _builtins.str:
|
|
53
52
|
return pulumi.get(self, "account_id")
|
|
54
53
|
|
|
55
|
-
@property
|
|
54
|
+
@_builtins.property
|
|
56
55
|
@pulumi.getter
|
|
57
|
-
def domain(self) ->
|
|
56
|
+
def domain(self) -> _builtins.str:
|
|
58
57
|
"""
|
|
59
58
|
Domain of the key transaction in New Relic.
|
|
60
59
|
"""
|
|
61
60
|
return pulumi.get(self, "domain")
|
|
62
61
|
|
|
63
|
-
@property
|
|
62
|
+
@_builtins.property
|
|
64
63
|
@pulumi.getter
|
|
65
|
-
def guid(self) ->
|
|
64
|
+
def guid(self) -> _builtins.str:
|
|
66
65
|
"""
|
|
67
66
|
GUID of the key transaction in New Relic.
|
|
68
67
|
"""
|
|
69
68
|
return pulumi.get(self, "guid")
|
|
70
69
|
|
|
71
|
-
@property
|
|
70
|
+
@_builtins.property
|
|
72
71
|
@pulumi.getter
|
|
73
|
-
def id(self) ->
|
|
72
|
+
def id(self) -> _builtins.str:
|
|
74
73
|
"""
|
|
75
74
|
The provider-assigned unique ID for this managed resource.
|
|
76
75
|
"""
|
|
77
76
|
return pulumi.get(self, "id")
|
|
78
77
|
|
|
79
|
-
@property
|
|
78
|
+
@_builtins.property
|
|
80
79
|
@pulumi.getter
|
|
81
|
-
def name(self) ->
|
|
80
|
+
def name(self) -> _builtins.str:
|
|
82
81
|
return pulumi.get(self, "name")
|
|
83
82
|
|
|
84
|
-
@property
|
|
83
|
+
@_builtins.property
|
|
85
84
|
@pulumi.getter
|
|
86
|
-
def type(self) ->
|
|
85
|
+
def type(self) -> _builtins.str:
|
|
87
86
|
"""
|
|
88
87
|
Type of the key transaction in New Relic.
|
|
89
88
|
"""
|
|
@@ -104,9 +103,9 @@ class AwaitableGetKeyTransactionResult(GetKeyTransactionResult):
|
|
|
104
103
|
type=self.type)
|
|
105
104
|
|
|
106
105
|
|
|
107
|
-
def get_key_transaction(account_id: Optional[
|
|
108
|
-
guid: Optional[
|
|
109
|
-
name: Optional[
|
|
106
|
+
def get_key_transaction(account_id: Optional[_builtins.str] = None,
|
|
107
|
+
guid: Optional[_builtins.str] = None,
|
|
108
|
+
name: Optional[_builtins.str] = None,
|
|
110
109
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetKeyTransactionResult:
|
|
111
110
|
"""
|
|
112
111
|
Use this data source to get information about a specific key transaction in New Relic that already exists.
|
|
@@ -136,11 +135,11 @@ def get_key_transaction(account_id: Optional[builtins.str] = None,
|
|
|
136
135
|
```
|
|
137
136
|
|
|
138
137
|
|
|
139
|
-
:param
|
|
138
|
+
:param _builtins.str account_id: The account ID you would like to search for key transactions in. Defaults to `account_id` in the `provider{}` (or `NEW_RELIC_ACCOUNT_ID` in your environment) if not specified.
|
|
140
139
|
|
|
141
140
|
> **NOTE** If the `name` specified in the configuration matches the names of multiple key transactions in the account, the data source will return the first match from the list of all matching key transactions retrieved from the API. However, when using the `guid` argument as the search criterion, only the key transaction with that particular GUID is returned, as each key transaction has a unique GUID.
|
|
142
|
-
:param
|
|
143
|
-
:param
|
|
141
|
+
:param _builtins.str guid: GUID of the key transaction in New Relic.
|
|
142
|
+
:param _builtins.str name: The name of the key transaction in New Relic.
|
|
144
143
|
"""
|
|
145
144
|
__args__ = dict()
|
|
146
145
|
__args__['accountId'] = account_id
|
|
@@ -156,9 +155,9 @@ def get_key_transaction(account_id: Optional[builtins.str] = None,
|
|
|
156
155
|
id=pulumi.get(__ret__, 'id'),
|
|
157
156
|
name=pulumi.get(__ret__, 'name'),
|
|
158
157
|
type=pulumi.get(__ret__, 'type'))
|
|
159
|
-
def get_key_transaction_output(account_id: Optional[pulumi.Input[Optional[
|
|
160
|
-
guid: Optional[pulumi.Input[Optional[
|
|
161
|
-
name: Optional[pulumi.Input[
|
|
158
|
+
def get_key_transaction_output(account_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
159
|
+
guid: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
160
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
162
161
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetKeyTransactionResult]:
|
|
163
162
|
"""
|
|
164
163
|
Use this data source to get information about a specific key transaction in New Relic that already exists.
|
|
@@ -188,11 +187,11 @@ def get_key_transaction_output(account_id: Optional[pulumi.Input[Optional[builti
|
|
|
188
187
|
```
|
|
189
188
|
|
|
190
189
|
|
|
191
|
-
:param
|
|
190
|
+
:param _builtins.str account_id: The account ID you would like to search for key transactions in. Defaults to `account_id` in the `provider{}` (or `NEW_RELIC_ACCOUNT_ID` in your environment) if not specified.
|
|
192
191
|
|
|
193
192
|
> **NOTE** If the `name` specified in the configuration matches the names of multiple key transactions in the account, the data source will return the first match from the list of all matching key transactions retrieved from the API. However, when using the `guid` argument as the search criterion, only the key transaction with that particular GUID is returned, as each key transaction has a unique GUID.
|
|
194
|
-
:param
|
|
195
|
-
:param
|
|
193
|
+
:param _builtins.str guid: GUID of the key transaction in New Relic.
|
|
194
|
+
:param _builtins.str name: The name of the key transaction in New Relic.
|
|
196
195
|
"""
|
|
197
196
|
__args__ = dict()
|
|
198
197
|
__args__['accountId'] = account_id
|
|
@@ -2,8 +2,7 @@
|
|
|
2
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
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -58,41 +57,41 @@ class GetNotificationDestinationResult:
|
|
|
58
57
|
raise TypeError("Expected argument 'type' to be a str")
|
|
59
58
|
pulumi.set(__self__, "type", type)
|
|
60
59
|
|
|
61
|
-
@property
|
|
60
|
+
@_builtins.property
|
|
62
61
|
@pulumi.getter(name="accountId")
|
|
63
|
-
def account_id(self) ->
|
|
62
|
+
def account_id(self) -> _builtins.str:
|
|
64
63
|
return pulumi.get(self, "account_id")
|
|
65
64
|
|
|
66
|
-
@property
|
|
65
|
+
@_builtins.property
|
|
67
66
|
@pulumi.getter
|
|
68
|
-
def active(self) ->
|
|
67
|
+
def active(self) -> _builtins.bool:
|
|
69
68
|
"""
|
|
70
69
|
An indication whether the notification destination is active or not.
|
|
71
70
|
"""
|
|
72
71
|
return pulumi.get(self, "active")
|
|
73
72
|
|
|
74
|
-
@property
|
|
73
|
+
@_builtins.property
|
|
75
74
|
@pulumi.getter
|
|
76
|
-
def guid(self) ->
|
|
75
|
+
def guid(self) -> _builtins.str:
|
|
77
76
|
"""
|
|
78
77
|
The unique entity identifier of the destination in New Relic.
|
|
79
78
|
"""
|
|
80
79
|
return pulumi.get(self, "guid")
|
|
81
80
|
|
|
82
|
-
@property
|
|
81
|
+
@_builtins.property
|
|
83
82
|
@pulumi.getter
|
|
84
|
-
def id(self) -> Optional[
|
|
83
|
+
def id(self) -> Optional[_builtins.str]:
|
|
85
84
|
return pulumi.get(self, "id")
|
|
86
85
|
|
|
87
|
-
@property
|
|
86
|
+
@_builtins.property
|
|
88
87
|
@pulumi.getter
|
|
89
|
-
def name(self) -> Optional[
|
|
88
|
+
def name(self) -> Optional[_builtins.str]:
|
|
90
89
|
"""
|
|
91
90
|
The name of the notification destination.
|
|
92
91
|
"""
|
|
93
92
|
return pulumi.get(self, "name")
|
|
94
93
|
|
|
95
|
-
@property
|
|
94
|
+
@_builtins.property
|
|
96
95
|
@pulumi.getter
|
|
97
96
|
def properties(self) -> Sequence['outputs.GetNotificationDestinationPropertyResult']:
|
|
98
97
|
"""
|
|
@@ -100,7 +99,7 @@ class GetNotificationDestinationResult:
|
|
|
100
99
|
"""
|
|
101
100
|
return pulumi.get(self, "properties")
|
|
102
101
|
|
|
103
|
-
@property
|
|
102
|
+
@_builtins.property
|
|
104
103
|
@pulumi.getter(name="secureUrls")
|
|
105
104
|
def secure_urls(self) -> Sequence['outputs.GetNotificationDestinationSecureUrlResult']:
|
|
106
105
|
"""
|
|
@@ -108,17 +107,17 @@ class GetNotificationDestinationResult:
|
|
|
108
107
|
"""
|
|
109
108
|
return pulumi.get(self, "secure_urls")
|
|
110
109
|
|
|
111
|
-
@property
|
|
110
|
+
@_builtins.property
|
|
112
111
|
@pulumi.getter
|
|
113
|
-
def status(self) ->
|
|
112
|
+
def status(self) -> _builtins.str:
|
|
114
113
|
"""
|
|
115
114
|
The status of the notification destination.
|
|
116
115
|
"""
|
|
117
116
|
return pulumi.get(self, "status")
|
|
118
117
|
|
|
119
|
-
@property
|
|
118
|
+
@_builtins.property
|
|
120
119
|
@pulumi.getter
|
|
121
|
-
def type(self) ->
|
|
120
|
+
def type(self) -> _builtins.str:
|
|
122
121
|
"""
|
|
123
122
|
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`, `MICROSOFT_TEAMS` and `WORKFLOW_AUTOMATION`.
|
|
124
123
|
"""
|
|
@@ -142,17 +141,17 @@ class AwaitableGetNotificationDestinationResult(GetNotificationDestinationResult
|
|
|
142
141
|
type=self.type)
|
|
143
142
|
|
|
144
143
|
|
|
145
|
-
def get_notification_destination(account_id: Optional[
|
|
146
|
-
id: Optional[
|
|
147
|
-
name: Optional[
|
|
144
|
+
def get_notification_destination(account_id: Optional[_builtins.str] = None,
|
|
145
|
+
id: Optional[_builtins.str] = None,
|
|
146
|
+
name: Optional[_builtins.str] = None,
|
|
148
147
|
secure_urls: Optional[Sequence[Union['GetNotificationDestinationSecureUrlArgs', 'GetNotificationDestinationSecureUrlArgsDict']]] = None,
|
|
149
148
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNotificationDestinationResult:
|
|
150
149
|
"""
|
|
151
150
|
Use this data source to access information about an existing resource.
|
|
152
151
|
|
|
153
|
-
:param
|
|
154
|
-
:param
|
|
155
|
-
:param
|
|
152
|
+
: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`.
|
|
153
|
+
:param _builtins.str id: The id of the notification destination in New Relic.
|
|
154
|
+
:param _builtins.str name: The name of the notification destination.
|
|
156
155
|
|
|
157
156
|
Optional:
|
|
158
157
|
:param Sequence[Union['GetNotificationDestinationSecureUrlArgs', 'GetNotificationDestinationSecureUrlArgsDict']] secure_urls: The URL in secure format, showing only the `prefix`, as the `secure_suffix` is a secret.
|
|
@@ -175,17 +174,17 @@ def get_notification_destination(account_id: Optional[builtins.str] = None,
|
|
|
175
174
|
secure_urls=pulumi.get(__ret__, 'secure_urls'),
|
|
176
175
|
status=pulumi.get(__ret__, 'status'),
|
|
177
176
|
type=pulumi.get(__ret__, 'type'))
|
|
178
|
-
def get_notification_destination_output(account_id: Optional[pulumi.Input[Optional[
|
|
179
|
-
id: Optional[pulumi.Input[Optional[
|
|
180
|
-
name: Optional[pulumi.Input[Optional[
|
|
177
|
+
def get_notification_destination_output(account_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
178
|
+
id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
179
|
+
name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
181
180
|
secure_urls: Optional[pulumi.Input[Optional[Sequence[Union['GetNotificationDestinationSecureUrlArgs', 'GetNotificationDestinationSecureUrlArgsDict']]]]] = None,
|
|
182
181
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNotificationDestinationResult]:
|
|
183
182
|
"""
|
|
184
183
|
Use this data source to access information about an existing resource.
|
|
185
184
|
|
|
186
|
-
:param
|
|
187
|
-
:param
|
|
188
|
-
:param
|
|
185
|
+
: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`.
|
|
186
|
+
:param _builtins.str id: The id of the notification destination in New Relic.
|
|
187
|
+
:param _builtins.str name: The name of the notification destination.
|
|
189
188
|
|
|
190
189
|
Optional:
|
|
191
190
|
:param Sequence[Union['GetNotificationDestinationSecureUrlArgs', 'GetNotificationDestinationSecureUrlArgsDict']] secure_urls: The URL in secure format, showing only the `prefix`, as the `secure_suffix` is a secret.
|
|
@@ -2,8 +2,7 @@
|
|
|
2
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
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -38,22 +37,22 @@ class GetObfuscationExpressionResult:
|
|
|
38
37
|
raise TypeError("Expected argument 'name' to be a str")
|
|
39
38
|
pulumi.set(__self__, "name", name)
|
|
40
39
|
|
|
41
|
-
@property
|
|
40
|
+
@_builtins.property
|
|
42
41
|
@pulumi.getter(name="accountId")
|
|
43
|
-
def account_id(self) -> Optional[
|
|
42
|
+
def account_id(self) -> Optional[_builtins.str]:
|
|
44
43
|
return pulumi.get(self, "account_id")
|
|
45
44
|
|
|
46
|
-
@property
|
|
45
|
+
@_builtins.property
|
|
47
46
|
@pulumi.getter
|
|
48
|
-
def id(self) ->
|
|
47
|
+
def id(self) -> _builtins.str:
|
|
49
48
|
"""
|
|
50
49
|
The provider-assigned unique ID for this managed resource.
|
|
51
50
|
"""
|
|
52
51
|
return pulumi.get(self, "id")
|
|
53
52
|
|
|
54
|
-
@property
|
|
53
|
+
@_builtins.property
|
|
55
54
|
@pulumi.getter
|
|
56
|
-
def name(self) ->
|
|
55
|
+
def name(self) -> _builtins.str:
|
|
57
56
|
return pulumi.get(self, "name")
|
|
58
57
|
|
|
59
58
|
|
|
@@ -68,8 +67,8 @@ class AwaitableGetObfuscationExpressionResult(GetObfuscationExpressionResult):
|
|
|
68
67
|
name=self.name)
|
|
69
68
|
|
|
70
69
|
|
|
71
|
-
def get_obfuscation_expression(account_id: Optional[
|
|
72
|
-
name: Optional[
|
|
70
|
+
def get_obfuscation_expression(account_id: Optional[_builtins.str] = None,
|
|
71
|
+
name: Optional[_builtins.str] = None,
|
|
73
72
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetObfuscationExpressionResult:
|
|
74
73
|
"""
|
|
75
74
|
Use this data source to get information about a specific Obfuscation Expression in New Relic that already exists.
|
|
@@ -95,8 +94,8 @@ def get_obfuscation_expression(account_id: Optional[builtins.str] = None,
|
|
|
95
94
|
```
|
|
96
95
|
|
|
97
96
|
|
|
98
|
-
:param
|
|
99
|
-
:param
|
|
97
|
+
: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.
|
|
98
|
+
:param _builtins.str name: Name of expression.
|
|
100
99
|
"""
|
|
101
100
|
__args__ = dict()
|
|
102
101
|
__args__['accountId'] = account_id
|
|
@@ -108,8 +107,8 @@ def get_obfuscation_expression(account_id: Optional[builtins.str] = None,
|
|
|
108
107
|
account_id=pulumi.get(__ret__, 'account_id'),
|
|
109
108
|
id=pulumi.get(__ret__, 'id'),
|
|
110
109
|
name=pulumi.get(__ret__, 'name'))
|
|
111
|
-
def get_obfuscation_expression_output(account_id: Optional[pulumi.Input[Optional[
|
|
112
|
-
name: Optional[pulumi.Input[
|
|
110
|
+
def get_obfuscation_expression_output(account_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
111
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
113
112
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetObfuscationExpressionResult]:
|
|
114
113
|
"""
|
|
115
114
|
Use this data source to get information about a specific Obfuscation Expression in New Relic that already exists.
|
|
@@ -135,8 +134,8 @@ def get_obfuscation_expression_output(account_id: Optional[pulumi.Input[Optional
|
|
|
135
134
|
```
|
|
136
135
|
|
|
137
136
|
|
|
138
|
-
:param
|
|
139
|
-
:param
|
|
137
|
+
: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.
|
|
138
|
+
:param _builtins.str name: Name of expression.
|
|
140
139
|
"""
|
|
141
140
|
__args__ = dict()
|
|
142
141
|
__args__['accountId'] = account_id
|