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/get_entity.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
|
|
@@ -66,80 +66,80 @@ class GetEntityResult:
|
|
|
66
66
|
raise TypeError("Expected argument 'type' to be a str")
|
|
67
67
|
pulumi.set(__self__, "type", type)
|
|
68
68
|
|
|
69
|
-
@property
|
|
69
|
+
@_builtins.property
|
|
70
70
|
@pulumi.getter(name="accountId")
|
|
71
|
-
def account_id(self) -> str:
|
|
71
|
+
def account_id(self) -> _builtins.str:
|
|
72
72
|
return pulumi.get(self, "account_id")
|
|
73
73
|
|
|
74
|
-
@property
|
|
74
|
+
@_builtins.property
|
|
75
75
|
@pulumi.getter(name="applicationId")
|
|
76
|
-
def application_id(self) -> str:
|
|
76
|
+
def application_id(self) -> _builtins.str:
|
|
77
77
|
"""
|
|
78
78
|
The domain-specific application ID of the entity. Only returned for APM and Browser applications.
|
|
79
79
|
"""
|
|
80
80
|
return pulumi.get(self, "application_id")
|
|
81
81
|
|
|
82
|
-
@property
|
|
82
|
+
@_builtins.property
|
|
83
83
|
@pulumi.getter
|
|
84
|
-
def domain(self) -> str:
|
|
84
|
+
def domain(self) -> _builtins.str:
|
|
85
85
|
return pulumi.get(self, "domain")
|
|
86
86
|
|
|
87
|
-
@property
|
|
87
|
+
@_builtins.property
|
|
88
88
|
@pulumi.getter(name="entityTags")
|
|
89
|
-
def entity_tags(self) -> str:
|
|
89
|
+
def entity_tags(self) -> _builtins.str:
|
|
90
90
|
"""
|
|
91
91
|
A JSON-encoded string, comprising tags associated with the entity fetched.
|
|
92
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.
|
|
93
93
|
"""
|
|
94
94
|
return pulumi.get(self, "entity_tags")
|
|
95
95
|
|
|
96
|
-
@property
|
|
96
|
+
@_builtins.property
|
|
97
97
|
@pulumi.getter
|
|
98
|
-
def guid(self) -> str:
|
|
98
|
+
def guid(self) -> _builtins.str:
|
|
99
99
|
"""
|
|
100
100
|
The unique GUID of the entity.
|
|
101
101
|
"""
|
|
102
102
|
return pulumi.get(self, "guid")
|
|
103
103
|
|
|
104
|
-
@property
|
|
104
|
+
@_builtins.property
|
|
105
105
|
@pulumi.getter
|
|
106
|
-
def id(self) -> str:
|
|
106
|
+
def id(self) -> _builtins.str:
|
|
107
107
|
"""
|
|
108
108
|
The provider-assigned unique ID for this managed resource.
|
|
109
109
|
"""
|
|
110
110
|
return pulumi.get(self, "id")
|
|
111
111
|
|
|
112
|
-
@property
|
|
112
|
+
@_builtins.property
|
|
113
113
|
@pulumi.getter(name="ignoreCase")
|
|
114
|
-
def ignore_case(self) -> Optional[bool]:
|
|
114
|
+
def ignore_case(self) -> Optional[_builtins.bool]:
|
|
115
115
|
return pulumi.get(self, "ignore_case")
|
|
116
116
|
|
|
117
|
-
@property
|
|
117
|
+
@_builtins.property
|
|
118
118
|
@pulumi.getter(name="ignoreNotFound")
|
|
119
|
-
def ignore_not_found(self) -> Optional[bool]:
|
|
119
|
+
def ignore_not_found(self) -> Optional[_builtins.bool]:
|
|
120
120
|
return pulumi.get(self, "ignore_not_found")
|
|
121
121
|
|
|
122
|
-
@property
|
|
122
|
+
@_builtins.property
|
|
123
123
|
@pulumi.getter
|
|
124
|
-
def name(self) -> str:
|
|
124
|
+
def name(self) -> _builtins.str:
|
|
125
125
|
return pulumi.get(self, "name")
|
|
126
126
|
|
|
127
|
-
@property
|
|
127
|
+
@_builtins.property
|
|
128
128
|
@pulumi.getter(name="servingApmApplicationId")
|
|
129
|
-
def serving_apm_application_id(self) -> str:
|
|
129
|
+
def serving_apm_application_id(self) -> _builtins.str:
|
|
130
130
|
"""
|
|
131
131
|
The browser-specific ID of the backing APM entity. Only returned for Browser applications.
|
|
132
132
|
"""
|
|
133
133
|
return pulumi.get(self, "serving_apm_application_id")
|
|
134
134
|
|
|
135
|
-
@property
|
|
135
|
+
@_builtins.property
|
|
136
136
|
@pulumi.getter
|
|
137
137
|
def tags(self) -> Optional[Sequence['outputs.GetEntityTagResult']]:
|
|
138
138
|
return pulumi.get(self, "tags")
|
|
139
139
|
|
|
140
|
-
@property
|
|
140
|
+
@_builtins.property
|
|
141
141
|
@pulumi.getter
|
|
142
|
-
def type(self) -> str:
|
|
142
|
+
def type(self) -> _builtins.str:
|
|
143
143
|
return pulumi.get(self, "type")
|
|
144
144
|
|
|
145
145
|
|
|
@@ -163,29 +163,29 @@ class AwaitableGetEntityResult(GetEntityResult):
|
|
|
163
163
|
type=self.type)
|
|
164
164
|
|
|
165
165
|
|
|
166
|
-
def get_entity(account_id: Optional[str] = None,
|
|
167
|
-
domain: Optional[str] = None,
|
|
168
|
-
entity_tags: Optional[str] = None,
|
|
169
|
-
ignore_case: Optional[bool] = None,
|
|
170
|
-
ignore_not_found: Optional[bool] = None,
|
|
171
|
-
name: Optional[str] = None,
|
|
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,
|
|
172
172
|
tags: Optional[Sequence[Union['GetEntityTagArgs', 'GetEntityTagArgsDict']]] = None,
|
|
173
|
-
type: Optional[str] = None,
|
|
173
|
+
type: Optional[_builtins.str] = None,
|
|
174
174
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetEntityResult:
|
|
175
175
|
"""
|
|
176
176
|
Use this data source to access information about an existing resource.
|
|
177
177
|
|
|
178
|
-
:param 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 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 str entity_tags: A JSON-encoded string, comprising tags associated with the entity fetched.
|
|
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.
|
|
181
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.
|
|
182
|
-
:param bool ignore_case: Ignore case of the `name` when searching for the entity. Defaults to false.
|
|
183
|
-
:param 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`.
|
|
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`.
|
|
184
184
|
|
|
185
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.
|
|
186
|
-
:param 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.
|
|
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.
|
|
187
187
|
:param Sequence[Union['GetEntityTagArgs', 'GetEntityTagArgsDict']] tags: A tag applied to the entity. See Nested tag blocks below for details.
|
|
188
|
-
:param 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.
|
|
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.
|
|
189
189
|
"""
|
|
190
190
|
__args__ = dict()
|
|
191
191
|
__args__['accountId'] = account_id
|
|
@@ -212,29 +212,29 @@ def get_entity(account_id: Optional[str] = None,
|
|
|
212
212
|
serving_apm_application_id=pulumi.get(__ret__, 'serving_apm_application_id'),
|
|
213
213
|
tags=pulumi.get(__ret__, 'tags'),
|
|
214
214
|
type=pulumi.get(__ret__, 'type'))
|
|
215
|
-
def get_entity_output(account_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
216
|
-
domain: Optional[pulumi.Input[Optional[str]]] = None,
|
|
217
|
-
entity_tags: Optional[pulumi.Input[Optional[str]]] = None,
|
|
218
|
-
ignore_case: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
219
|
-
ignore_not_found: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
220
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
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,
|
|
221
221
|
tags: Optional[pulumi.Input[Optional[Sequence[Union['GetEntityTagArgs', 'GetEntityTagArgsDict']]]]] = None,
|
|
222
|
-
type: Optional[pulumi.Input[Optional[str]]] = None,
|
|
222
|
+
type: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
223
223
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetEntityResult]:
|
|
224
224
|
"""
|
|
225
225
|
Use this data source to access information about an existing resource.
|
|
226
226
|
|
|
227
|
-
:param 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 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 str entity_tags: A JSON-encoded string, comprising tags associated with the entity fetched.
|
|
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.
|
|
230
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.
|
|
231
|
-
:param bool ignore_case: Ignore case of the `name` when searching for the entity. Defaults to false.
|
|
232
|
-
:param 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`.
|
|
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`.
|
|
233
233
|
|
|
234
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.
|
|
235
|
-
:param 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.
|
|
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.
|
|
236
236
|
:param Sequence[Union['GetEntityTagArgs', 'GetEntityTagArgsDict']] tags: A tag applied to the entity. See Nested tag blocks below for details.
|
|
237
|
-
:param 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.
|
|
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.
|
|
238
238
|
"""
|
|
239
239
|
__args__ = dict()
|
|
240
240
|
__args__['accountId'] = account_id
|
pulumi_newrelic/get_group.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
|
|
@@ -40,27 +40,27 @@ class GetGroupResult:
|
|
|
40
40
|
raise TypeError("Expected argument 'user_ids' to be a list")
|
|
41
41
|
pulumi.set(__self__, "user_ids", user_ids)
|
|
42
42
|
|
|
43
|
-
@property
|
|
43
|
+
@_builtins.property
|
|
44
44
|
@pulumi.getter(name="authenticationDomainId")
|
|
45
|
-
def authentication_domain_id(self) -> str:
|
|
45
|
+
def authentication_domain_id(self) -> _builtins.str:
|
|
46
46
|
return pulumi.get(self, "authentication_domain_id")
|
|
47
47
|
|
|
48
|
-
@property
|
|
48
|
+
@_builtins.property
|
|
49
49
|
@pulumi.getter
|
|
50
|
-
def id(self) -> str:
|
|
50
|
+
def id(self) -> _builtins.str:
|
|
51
51
|
"""
|
|
52
52
|
The ID of the fetched matching group.
|
|
53
53
|
"""
|
|
54
54
|
return pulumi.get(self, "id")
|
|
55
55
|
|
|
56
|
-
@property
|
|
56
|
+
@_builtins.property
|
|
57
57
|
@pulumi.getter
|
|
58
|
-
def name(self) -> str:
|
|
58
|
+
def name(self) -> _builtins.str:
|
|
59
59
|
return pulumi.get(self, "name")
|
|
60
60
|
|
|
61
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
62
62
|
@pulumi.getter(name="userIds")
|
|
63
|
-
def user_ids(self) -> Sequence[str]:
|
|
63
|
+
def user_ids(self) -> Sequence[_builtins.str]:
|
|
64
64
|
"""
|
|
65
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.
|
|
66
66
|
"""
|
|
@@ -79,8 +79,8 @@ class AwaitableGetGroupResult(GetGroupResult):
|
|
|
79
79
|
user_ids=self.user_ids)
|
|
80
80
|
|
|
81
81
|
|
|
82
|
-
def get_group(authentication_domain_id: Optional[str] = None,
|
|
83
|
-
name: Optional[str] = None,
|
|
82
|
+
def get_group(authentication_domain_id: Optional[_builtins.str] = None,
|
|
83
|
+
name: Optional[_builtins.str] = None,
|
|
84
84
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGroupResult:
|
|
85
85
|
"""
|
|
86
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.
|
|
@@ -113,13 +113,13 @@ def get_group(authentication_domain_id: Optional[str] = None,
|
|
|
113
113
|
foo_get_group = newrelic.get_group(authentication_domain_id=foo.id,
|
|
114
114
|
name="Test Group")
|
|
115
115
|
id = foo_get_group.id
|
|
116
|
-
user_ids = std.join(separator=", ",
|
|
117
|
-
input=foo_get_group.user_ids).result if
|
|
116
|
+
user_ids = len(foo_get_group.user_ids).apply(lambda length: std.join(separator=", ",
|
|
117
|
+
input=foo_get_group.user_ids).result if length > 0 else "")
|
|
118
118
|
```
|
|
119
119
|
|
|
120
120
|
|
|
121
|
-
:param str authentication_domain_id: The ID of the authentication domain the group to be searched for belongs to.
|
|
122
|
-
:param str name: The name of the group to search for.
|
|
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.
|
|
123
123
|
|
|
124
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.
|
|
125
125
|
"""
|
|
@@ -134,8 +134,8 @@ def get_group(authentication_domain_id: Optional[str] = None,
|
|
|
134
134
|
id=pulumi.get(__ret__, 'id'),
|
|
135
135
|
name=pulumi.get(__ret__, 'name'),
|
|
136
136
|
user_ids=pulumi.get(__ret__, 'user_ids'))
|
|
137
|
-
def get_group_output(authentication_domain_id: Optional[pulumi.Input[str]] = None,
|
|
138
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
137
|
+
def get_group_output(authentication_domain_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
138
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
139
139
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGroupResult]:
|
|
140
140
|
"""
|
|
141
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.
|
|
@@ -168,13 +168,13 @@ def get_group_output(authentication_domain_id: Optional[pulumi.Input[str]] = Non
|
|
|
168
168
|
foo_get_group = newrelic.get_group(authentication_domain_id=foo.id,
|
|
169
169
|
name="Test Group")
|
|
170
170
|
id = foo_get_group.id
|
|
171
|
-
user_ids = std.join(separator=", ",
|
|
172
|
-
input=foo_get_group.user_ids).result if
|
|
171
|
+
user_ids = len(foo_get_group.user_ids).apply(lambda length: std.join(separator=", ",
|
|
172
|
+
input=foo_get_group.user_ids).result if length > 0 else "")
|
|
173
173
|
```
|
|
174
174
|
|
|
175
175
|
|
|
176
|
-
:param str authentication_domain_id: The ID of the authentication domain the group to be searched for belongs to.
|
|
177
|
-
:param str name: The name of the group to search for.
|
|
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.
|
|
178
178
|
|
|
179
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.
|
|
180
180
|
"""
|
|
@@ -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
|
|
@@ -46,43 +46,43 @@ class GetKeyTransactionResult:
|
|
|
46
46
|
raise TypeError("Expected argument 'type' to be a str")
|
|
47
47
|
pulumi.set(__self__, "type", type)
|
|
48
48
|
|
|
49
|
-
@property
|
|
49
|
+
@_builtins.property
|
|
50
50
|
@pulumi.getter(name="accountId")
|
|
51
|
-
def account_id(self) -> str:
|
|
51
|
+
def account_id(self) -> _builtins.str:
|
|
52
52
|
return pulumi.get(self, "account_id")
|
|
53
53
|
|
|
54
|
-
@property
|
|
54
|
+
@_builtins.property
|
|
55
55
|
@pulumi.getter
|
|
56
|
-
def domain(self) -> str:
|
|
56
|
+
def domain(self) -> _builtins.str:
|
|
57
57
|
"""
|
|
58
58
|
Domain of the key transaction in New Relic.
|
|
59
59
|
"""
|
|
60
60
|
return pulumi.get(self, "domain")
|
|
61
61
|
|
|
62
|
-
@property
|
|
62
|
+
@_builtins.property
|
|
63
63
|
@pulumi.getter
|
|
64
|
-
def guid(self) -> str:
|
|
64
|
+
def guid(self) -> _builtins.str:
|
|
65
65
|
"""
|
|
66
66
|
GUID of the key transaction in New Relic.
|
|
67
67
|
"""
|
|
68
68
|
return pulumi.get(self, "guid")
|
|
69
69
|
|
|
70
|
-
@property
|
|
70
|
+
@_builtins.property
|
|
71
71
|
@pulumi.getter
|
|
72
|
-
def id(self) -> str:
|
|
72
|
+
def id(self) -> _builtins.str:
|
|
73
73
|
"""
|
|
74
74
|
The provider-assigned unique ID for this managed resource.
|
|
75
75
|
"""
|
|
76
76
|
return pulumi.get(self, "id")
|
|
77
77
|
|
|
78
|
-
@property
|
|
78
|
+
@_builtins.property
|
|
79
79
|
@pulumi.getter
|
|
80
|
-
def name(self) -> str:
|
|
80
|
+
def name(self) -> _builtins.str:
|
|
81
81
|
return pulumi.get(self, "name")
|
|
82
82
|
|
|
83
|
-
@property
|
|
83
|
+
@_builtins.property
|
|
84
84
|
@pulumi.getter
|
|
85
|
-
def type(self) -> str:
|
|
85
|
+
def type(self) -> _builtins.str:
|
|
86
86
|
"""
|
|
87
87
|
Type of the key transaction in New Relic.
|
|
88
88
|
"""
|
|
@@ -103,9 +103,9 @@ class AwaitableGetKeyTransactionResult(GetKeyTransactionResult):
|
|
|
103
103
|
type=self.type)
|
|
104
104
|
|
|
105
105
|
|
|
106
|
-
def get_key_transaction(account_id: Optional[str] = None,
|
|
107
|
-
guid: Optional[str] = None,
|
|
108
|
-
name: Optional[str] = None,
|
|
106
|
+
def get_key_transaction(account_id: Optional[_builtins.str] = None,
|
|
107
|
+
guid: Optional[_builtins.str] = None,
|
|
108
|
+
name: Optional[_builtins.str] = None,
|
|
109
109
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetKeyTransactionResult:
|
|
110
110
|
"""
|
|
111
111
|
Use this data source to get information about a specific key transaction in New Relic that already exists.
|
|
@@ -135,11 +135,11 @@ def get_key_transaction(account_id: Optional[str] = None,
|
|
|
135
135
|
```
|
|
136
136
|
|
|
137
137
|
|
|
138
|
-
:param 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.
|
|
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.
|
|
139
139
|
|
|
140
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.
|
|
141
|
-
:param str guid: GUID of the key transaction in New Relic.
|
|
142
|
-
:param str name: The name of the key transaction in New Relic.
|
|
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.
|
|
143
143
|
"""
|
|
144
144
|
__args__ = dict()
|
|
145
145
|
__args__['accountId'] = account_id
|
|
@@ -155,9 +155,9 @@ def get_key_transaction(account_id: Optional[str] = None,
|
|
|
155
155
|
id=pulumi.get(__ret__, 'id'),
|
|
156
156
|
name=pulumi.get(__ret__, 'name'),
|
|
157
157
|
type=pulumi.get(__ret__, 'type'))
|
|
158
|
-
def get_key_transaction_output(account_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
159
|
-
guid: Optional[pulumi.Input[Optional[str]]] = None,
|
|
160
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
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,
|
|
161
161
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetKeyTransactionResult]:
|
|
162
162
|
"""
|
|
163
163
|
Use this data source to get information about a specific key transaction in New Relic that already exists.
|
|
@@ -187,11 +187,11 @@ def get_key_transaction_output(account_id: Optional[pulumi.Input[Optional[str]]]
|
|
|
187
187
|
```
|
|
188
188
|
|
|
189
189
|
|
|
190
|
-
:param 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.
|
|
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.
|
|
191
191
|
|
|
192
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.
|
|
193
|
-
:param str guid: GUID of the key transaction in New Relic.
|
|
194
|
-
:param str name: The name of the key transaction in New Relic.
|
|
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.
|
|
195
195
|
"""
|
|
196
196
|
__args__ = dict()
|
|
197
197
|
__args__['accountId'] = account_id
|
|
@@ -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
|
|
@@ -57,41 +57,41 @@ class GetNotificationDestinationResult:
|
|
|
57
57
|
raise TypeError("Expected argument 'type' to be a str")
|
|
58
58
|
pulumi.set(__self__, "type", type)
|
|
59
59
|
|
|
60
|
-
@property
|
|
60
|
+
@_builtins.property
|
|
61
61
|
@pulumi.getter(name="accountId")
|
|
62
|
-
def account_id(self) -> str:
|
|
62
|
+
def account_id(self) -> _builtins.str:
|
|
63
63
|
return pulumi.get(self, "account_id")
|
|
64
64
|
|
|
65
|
-
@property
|
|
65
|
+
@_builtins.property
|
|
66
66
|
@pulumi.getter
|
|
67
|
-
def active(self) -> bool:
|
|
67
|
+
def active(self) -> _builtins.bool:
|
|
68
68
|
"""
|
|
69
69
|
An indication whether the notification destination is active or not.
|
|
70
70
|
"""
|
|
71
71
|
return pulumi.get(self, "active")
|
|
72
72
|
|
|
73
|
-
@property
|
|
73
|
+
@_builtins.property
|
|
74
74
|
@pulumi.getter
|
|
75
|
-
def guid(self) -> str:
|
|
75
|
+
def guid(self) -> _builtins.str:
|
|
76
76
|
"""
|
|
77
77
|
The unique entity identifier of the destination in New Relic.
|
|
78
78
|
"""
|
|
79
79
|
return pulumi.get(self, "guid")
|
|
80
80
|
|
|
81
|
-
@property
|
|
81
|
+
@_builtins.property
|
|
82
82
|
@pulumi.getter
|
|
83
|
-
def id(self) -> Optional[str]:
|
|
83
|
+
def id(self) -> Optional[_builtins.str]:
|
|
84
84
|
return pulumi.get(self, "id")
|
|
85
85
|
|
|
86
|
-
@property
|
|
86
|
+
@_builtins.property
|
|
87
87
|
@pulumi.getter
|
|
88
|
-
def name(self) -> Optional[str]:
|
|
88
|
+
def name(self) -> Optional[_builtins.str]:
|
|
89
89
|
"""
|
|
90
90
|
The name of the notification destination.
|
|
91
91
|
"""
|
|
92
92
|
return pulumi.get(self, "name")
|
|
93
93
|
|
|
94
|
-
@property
|
|
94
|
+
@_builtins.property
|
|
95
95
|
@pulumi.getter
|
|
96
96
|
def properties(self) -> Sequence['outputs.GetNotificationDestinationPropertyResult']:
|
|
97
97
|
"""
|
|
@@ -99,7 +99,7 @@ class GetNotificationDestinationResult:
|
|
|
99
99
|
"""
|
|
100
100
|
return pulumi.get(self, "properties")
|
|
101
101
|
|
|
102
|
-
@property
|
|
102
|
+
@_builtins.property
|
|
103
103
|
@pulumi.getter(name="secureUrls")
|
|
104
104
|
def secure_urls(self) -> Sequence['outputs.GetNotificationDestinationSecureUrlResult']:
|
|
105
105
|
"""
|
|
@@ -107,19 +107,19 @@ class GetNotificationDestinationResult:
|
|
|
107
107
|
"""
|
|
108
108
|
return pulumi.get(self, "secure_urls")
|
|
109
109
|
|
|
110
|
-
@property
|
|
110
|
+
@_builtins.property
|
|
111
111
|
@pulumi.getter
|
|
112
|
-
def status(self) -> str:
|
|
112
|
+
def status(self) -> _builtins.str:
|
|
113
113
|
"""
|
|
114
114
|
The status of the notification destination.
|
|
115
115
|
"""
|
|
116
116
|
return pulumi.get(self, "status")
|
|
117
117
|
|
|
118
|
-
@property
|
|
118
|
+
@_builtins.property
|
|
119
119
|
@pulumi.getter
|
|
120
|
-
def type(self) -> str:
|
|
120
|
+
def type(self) -> _builtins.str:
|
|
121
121
|
"""
|
|
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` and `
|
|
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`.
|
|
123
123
|
"""
|
|
124
124
|
return pulumi.get(self, "type")
|
|
125
125
|
|
|
@@ -141,17 +141,17 @@ class AwaitableGetNotificationDestinationResult(GetNotificationDestinationResult
|
|
|
141
141
|
type=self.type)
|
|
142
142
|
|
|
143
143
|
|
|
144
|
-
def get_notification_destination(account_id: Optional[str] = None,
|
|
145
|
-
id: Optional[str] = None,
|
|
146
|
-
name: Optional[str] = None,
|
|
144
|
+
def get_notification_destination(account_id: Optional[_builtins.str] = None,
|
|
145
|
+
id: Optional[_builtins.str] = None,
|
|
146
|
+
name: Optional[_builtins.str] = None,
|
|
147
147
|
secure_urls: Optional[Sequence[Union['GetNotificationDestinationSecureUrlArgs', 'GetNotificationDestinationSecureUrlArgsDict']]] = None,
|
|
148
148
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNotificationDestinationResult:
|
|
149
149
|
"""
|
|
150
150
|
Use this data source to access information about an existing resource.
|
|
151
151
|
|
|
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.
|
|
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.
|
|
155
155
|
|
|
156
156
|
Optional:
|
|
157
157
|
: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 +174,17 @@ def get_notification_destination(account_id: Optional[str] = None,
|
|
|
174
174
|
secure_urls=pulumi.get(__ret__, 'secure_urls'),
|
|
175
175
|
status=pulumi.get(__ret__, 'status'),
|
|
176
176
|
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,
|
|
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,
|
|
180
180
|
secure_urls: Optional[pulumi.Input[Optional[Sequence[Union['GetNotificationDestinationSecureUrlArgs', 'GetNotificationDestinationSecureUrlArgsDict']]]]] = None,
|
|
181
181
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNotificationDestinationResult]:
|
|
182
182
|
"""
|
|
183
183
|
Use this data source to access information about an existing resource.
|
|
184
184
|
|
|
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.
|
|
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.
|
|
188
188
|
|
|
189
189
|
Optional:
|
|
190
190
|
:param Sequence[Union['GetNotificationDestinationSecureUrlArgs', 'GetNotificationDestinationSecureUrlArgsDict']] secure_urls: The URL in secure format, showing only the `prefix`, as the `secure_suffix` is a secret.
|