pulumi-newrelic 5.16.0a1698964311__py3-none-any.whl → 5.58.0a1763707205__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.
Potentially problematic release.
This version of pulumi-newrelic might be problematic. Click here for more details.
- pulumi_newrelic/__init__.py +58 -1
- pulumi_newrelic/_inputs.py +10772 -2775
- pulumi_newrelic/_utilities.py +92 -11
- pulumi_newrelic/account_management.py +56 -42
- pulumi_newrelic/alert_channel.py +177 -151
- pulumi_newrelic/alert_condition.py +313 -301
- pulumi_newrelic/alert_muting_rule.py +195 -138
- pulumi_newrelic/alert_policy.py +157 -109
- pulumi_newrelic/alert_policy_channel.py +95 -81
- pulumi_newrelic/api_access_key.py +191 -209
- pulumi_newrelic/browser_application.py +161 -153
- pulumi_newrelic/cloud/__init__.py +3 -1
- pulumi_newrelic/cloud/_inputs.py +4267 -2710
- pulumi_newrelic/cloud/aws_govcloud_integrations.py +238 -200
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +159 -212
- pulumi_newrelic/cloud/aws_integrations.py +518 -1490
- pulumi_newrelic/cloud/aws_link_account.py +88 -76
- pulumi_newrelic/cloud/azure_integrations.py +681 -587
- pulumi_newrelic/cloud/azure_link_account.py +129 -117
- pulumi_newrelic/cloud/gcp_integrations.py +436 -408
- pulumi_newrelic/cloud/gcp_link_account.py +71 -59
- pulumi_newrelic/cloud/oci_link_account.py +926 -0
- pulumi_newrelic/cloud/outputs.py +1678 -2317
- pulumi_newrelic/config/__init__.py +2 -1
- pulumi_newrelic/config/__init__.pyi +45 -0
- pulumi_newrelic/config/vars.py +22 -17
- pulumi_newrelic/data_partition_rule.py +129 -117
- pulumi_newrelic/entity_tags.py +153 -31
- pulumi_newrelic/events_to_metrics_rule.py +114 -102
- pulumi_newrelic/get_account.py +41 -29
- pulumi_newrelic/get_alert_channel.py +73 -28
- pulumi_newrelic/get_alert_policy.py +83 -34
- pulumi_newrelic/get_application.py +51 -39
- pulumi_newrelic/get_authentication_domain.py +111 -0
- pulumi_newrelic/get_cloud_account.py +43 -31
- pulumi_newrelic/get_entity.py +126 -121
- pulumi_newrelic/get_group.py +190 -0
- pulumi_newrelic/get_key_transaction.py +117 -38
- pulumi_newrelic/get_notification_destination.py +86 -36
- pulumi_newrelic/get_obfuscation_expression.py +47 -35
- pulumi_newrelic/get_service_level_alert_helper.py +237 -137
- pulumi_newrelic/get_test_grok_pattern.py +47 -32
- pulumi_newrelic/get_user.py +165 -0
- pulumi_newrelic/group.py +286 -0
- pulumi_newrelic/infra_alert_condition.py +400 -382
- pulumi_newrelic/insights/__init__.py +2 -1
- pulumi_newrelic/insights/_inputs.py +94 -23
- pulumi_newrelic/insights/event.py +56 -48
- pulumi_newrelic/insights/outputs.py +51 -18
- pulumi_newrelic/key_transaction.py +465 -0
- pulumi_newrelic/log_parsing_rule.py +169 -153
- pulumi_newrelic/monitor_downtime.py +914 -0
- pulumi_newrelic/notification_channel.py +560 -418
- pulumi_newrelic/notification_destination.py +379 -124
- pulumi_newrelic/nrql_alert_condition.py +945 -513
- pulumi_newrelic/nrql_drop_rule.py +121 -129
- pulumi_newrelic/obfuscation_expression.py +88 -76
- pulumi_newrelic/obfuscation_rule.py +123 -109
- pulumi_newrelic/one_dashboard.py +118 -108
- pulumi_newrelic/one_dashboard_json.py +77 -67
- pulumi_newrelic/one_dashboard_raw.py +214 -202
- pulumi_newrelic/outputs.py +5491 -2141
- pulumi_newrelic/pipeline_cloud_rule.py +335 -0
- pulumi_newrelic/plugins/__init__.py +2 -1
- pulumi_newrelic/plugins/_inputs.py +520 -90
- pulumi_newrelic/plugins/application_settings.py +463 -167
- pulumi_newrelic/plugins/outputs.py +337 -75
- pulumi_newrelic/plugins/workload.py +387 -151
- pulumi_newrelic/provider.py +156 -142
- pulumi_newrelic/pulumi-plugin.json +2 -1
- pulumi_newrelic/service_level.py +277 -255
- pulumi_newrelic/synthetics/__init__.py +2 -1
- pulumi_newrelic/synthetics/_inputs.py +275 -106
- pulumi_newrelic/synthetics/alert_condition.py +174 -160
- pulumi_newrelic/synthetics/broken_links_monitor.py +367 -207
- pulumi_newrelic/synthetics/cert_check_monitor.py +380 -218
- pulumi_newrelic/synthetics/get_private_location.py +51 -39
- pulumi_newrelic/synthetics/get_secure_credential.py +39 -27
- pulumi_newrelic/synthetics/monitor.py +668 -462
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +219 -201
- pulumi_newrelic/synthetics/outputs.py +102 -85
- pulumi_newrelic/synthetics/private_location.py +120 -110
- pulumi_newrelic/synthetics/script_monitor.py +623 -375
- pulumi_newrelic/synthetics/secure_credential.py +99 -93
- pulumi_newrelic/synthetics/step_monitor.py +545 -201
- pulumi_newrelic/user.py +366 -0
- pulumi_newrelic/workflow.py +348 -312
- {pulumi_newrelic-5.16.0a1698964311.dist-info → pulumi_newrelic-5.58.0a1763707205.dist-info}/METADATA +8 -7
- pulumi_newrelic-5.58.0a1763707205.dist-info/RECORD +92 -0
- {pulumi_newrelic-5.16.0a1698964311.dist-info → pulumi_newrelic-5.58.0a1763707205.dist-info}/WHEEL +1 -1
- pulumi_newrelic-5.16.0a1698964311.dist-info/RECORD +0 -82
- {pulumi_newrelic-5.16.0a1698964311.dist-info → pulumi_newrelic-5.58.0a1763707205.dist-info}/top_level.txt +0 -0
|
@@ -1,12 +1,17 @@
|
|
|
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
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from .. import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = ['SecureCredentialArgs', 'SecureCredential']
|
|
@@ -14,18 +19,18 @@ __all__ = ['SecureCredentialArgs', 'SecureCredential']
|
|
|
14
19
|
@pulumi.input_type
|
|
15
20
|
class SecureCredentialArgs:
|
|
16
21
|
def __init__(__self__, *,
|
|
17
|
-
key: pulumi.Input[str],
|
|
18
|
-
value: pulumi.Input[str],
|
|
19
|
-
account_id: Optional[pulumi.Input[
|
|
20
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
21
|
-
last_updated: Optional[pulumi.Input[str]] = None):
|
|
22
|
+
key: pulumi.Input[_builtins.str],
|
|
23
|
+
value: pulumi.Input[_builtins.str],
|
|
24
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
25
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
26
|
+
last_updated: Optional[pulumi.Input[_builtins.str]] = None):
|
|
22
27
|
"""
|
|
23
28
|
The set of arguments for constructing a SecureCredential resource.
|
|
24
|
-
:param pulumi.Input[str] key: The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.
|
|
25
|
-
:param pulumi.Input[str] value: The secure credential's value.
|
|
26
|
-
:param pulumi.Input[
|
|
27
|
-
:param pulumi.Input[str] description: The secure credential's description.
|
|
28
|
-
:param pulumi.Input[str] last_updated: The time the secure credential was last updated.
|
|
29
|
+
:param pulumi.Input[_builtins.str] key: The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.
|
|
30
|
+
:param pulumi.Input[_builtins.str] value: The secure credential's value.
|
|
31
|
+
:param pulumi.Input[_builtins.str] account_id: Determines the New Relic account where the secure credential will be created. Defaults to the account associated with the API key used.
|
|
32
|
+
:param pulumi.Input[_builtins.str] description: The secure credential's description.
|
|
33
|
+
:param pulumi.Input[_builtins.str] last_updated: The time the secure credential was last updated.
|
|
29
34
|
"""
|
|
30
35
|
pulumi.set(__self__, "key", key)
|
|
31
36
|
pulumi.set(__self__, "value", value)
|
|
@@ -36,82 +41,82 @@ class SecureCredentialArgs:
|
|
|
36
41
|
if last_updated is not None:
|
|
37
42
|
pulumi.set(__self__, "last_updated", last_updated)
|
|
38
43
|
|
|
39
|
-
@property
|
|
44
|
+
@_builtins.property
|
|
40
45
|
@pulumi.getter
|
|
41
|
-
def key(self) -> pulumi.Input[str]:
|
|
46
|
+
def key(self) -> pulumi.Input[_builtins.str]:
|
|
42
47
|
"""
|
|
43
48
|
The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.
|
|
44
49
|
"""
|
|
45
50
|
return pulumi.get(self, "key")
|
|
46
51
|
|
|
47
52
|
@key.setter
|
|
48
|
-
def key(self, value: pulumi.Input[str]):
|
|
53
|
+
def key(self, value: pulumi.Input[_builtins.str]):
|
|
49
54
|
pulumi.set(self, "key", value)
|
|
50
55
|
|
|
51
|
-
@property
|
|
56
|
+
@_builtins.property
|
|
52
57
|
@pulumi.getter
|
|
53
|
-
def value(self) -> pulumi.Input[str]:
|
|
58
|
+
def value(self) -> pulumi.Input[_builtins.str]:
|
|
54
59
|
"""
|
|
55
60
|
The secure credential's value.
|
|
56
61
|
"""
|
|
57
62
|
return pulumi.get(self, "value")
|
|
58
63
|
|
|
59
64
|
@value.setter
|
|
60
|
-
def value(self, value: pulumi.Input[str]):
|
|
65
|
+
def value(self, value: pulumi.Input[_builtins.str]):
|
|
61
66
|
pulumi.set(self, "value", value)
|
|
62
67
|
|
|
63
|
-
@property
|
|
68
|
+
@_builtins.property
|
|
64
69
|
@pulumi.getter(name="accountId")
|
|
65
|
-
def account_id(self) -> Optional[pulumi.Input[
|
|
70
|
+
def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
66
71
|
"""
|
|
67
72
|
Determines the New Relic account where the secure credential will be created. Defaults to the account associated with the API key used.
|
|
68
73
|
"""
|
|
69
74
|
return pulumi.get(self, "account_id")
|
|
70
75
|
|
|
71
76
|
@account_id.setter
|
|
72
|
-
def account_id(self, value: Optional[pulumi.Input[
|
|
77
|
+
def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
73
78
|
pulumi.set(self, "account_id", value)
|
|
74
79
|
|
|
75
|
-
@property
|
|
80
|
+
@_builtins.property
|
|
76
81
|
@pulumi.getter
|
|
77
|
-
def description(self) -> Optional[pulumi.Input[str]]:
|
|
82
|
+
def description(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
78
83
|
"""
|
|
79
84
|
The secure credential's description.
|
|
80
85
|
"""
|
|
81
86
|
return pulumi.get(self, "description")
|
|
82
87
|
|
|
83
88
|
@description.setter
|
|
84
|
-
def description(self, value: Optional[pulumi.Input[str]]):
|
|
89
|
+
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
85
90
|
pulumi.set(self, "description", value)
|
|
86
91
|
|
|
87
|
-
@property
|
|
92
|
+
@_builtins.property
|
|
88
93
|
@pulumi.getter(name="lastUpdated")
|
|
89
|
-
def last_updated(self) -> Optional[pulumi.Input[str]]:
|
|
94
|
+
def last_updated(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
90
95
|
"""
|
|
91
96
|
The time the secure credential was last updated.
|
|
92
97
|
"""
|
|
93
98
|
return pulumi.get(self, "last_updated")
|
|
94
99
|
|
|
95
100
|
@last_updated.setter
|
|
96
|
-
def last_updated(self, value: Optional[pulumi.Input[str]]):
|
|
101
|
+
def last_updated(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
97
102
|
pulumi.set(self, "last_updated", value)
|
|
98
103
|
|
|
99
104
|
|
|
100
105
|
@pulumi.input_type
|
|
101
106
|
class _SecureCredentialState:
|
|
102
107
|
def __init__(__self__, *,
|
|
103
|
-
account_id: Optional[pulumi.Input[
|
|
104
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
105
|
-
key: Optional[pulumi.Input[str]] = None,
|
|
106
|
-
last_updated: Optional[pulumi.Input[str]] = None,
|
|
107
|
-
value: Optional[pulumi.Input[str]] = None):
|
|
108
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
109
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
110
|
+
key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
111
|
+
last_updated: Optional[pulumi.Input[_builtins.str]] = None,
|
|
112
|
+
value: Optional[pulumi.Input[_builtins.str]] = None):
|
|
108
113
|
"""
|
|
109
114
|
Input properties used for looking up and filtering SecureCredential resources.
|
|
110
|
-
:param pulumi.Input[
|
|
111
|
-
:param pulumi.Input[str] description: The secure credential's description.
|
|
112
|
-
:param pulumi.Input[str] key: The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.
|
|
113
|
-
:param pulumi.Input[str] last_updated: The time the secure credential was last updated.
|
|
114
|
-
:param pulumi.Input[str] value: The secure credential's value.
|
|
115
|
+
:param pulumi.Input[_builtins.str] account_id: Determines the New Relic account where the secure credential will be created. Defaults to the account associated with the API key used.
|
|
116
|
+
:param pulumi.Input[_builtins.str] description: The secure credential's description.
|
|
117
|
+
:param pulumi.Input[_builtins.str] key: The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.
|
|
118
|
+
:param pulumi.Input[_builtins.str] last_updated: The time the secure credential was last updated.
|
|
119
|
+
:param pulumi.Input[_builtins.str] value: The secure credential's value.
|
|
115
120
|
"""
|
|
116
121
|
if account_id is not None:
|
|
117
122
|
pulumi.set(__self__, "account_id", account_id)
|
|
@@ -124,77 +129,78 @@ class _SecureCredentialState:
|
|
|
124
129
|
if value is not None:
|
|
125
130
|
pulumi.set(__self__, "value", value)
|
|
126
131
|
|
|
127
|
-
@property
|
|
132
|
+
@_builtins.property
|
|
128
133
|
@pulumi.getter(name="accountId")
|
|
129
|
-
def account_id(self) -> Optional[pulumi.Input[
|
|
134
|
+
def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
130
135
|
"""
|
|
131
136
|
Determines the New Relic account where the secure credential will be created. Defaults to the account associated with the API key used.
|
|
132
137
|
"""
|
|
133
138
|
return pulumi.get(self, "account_id")
|
|
134
139
|
|
|
135
140
|
@account_id.setter
|
|
136
|
-
def account_id(self, value: Optional[pulumi.Input[
|
|
141
|
+
def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
137
142
|
pulumi.set(self, "account_id", value)
|
|
138
143
|
|
|
139
|
-
@property
|
|
144
|
+
@_builtins.property
|
|
140
145
|
@pulumi.getter
|
|
141
|
-
def description(self) -> Optional[pulumi.Input[str]]:
|
|
146
|
+
def description(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
142
147
|
"""
|
|
143
148
|
The secure credential's description.
|
|
144
149
|
"""
|
|
145
150
|
return pulumi.get(self, "description")
|
|
146
151
|
|
|
147
152
|
@description.setter
|
|
148
|
-
def description(self, value: Optional[pulumi.Input[str]]):
|
|
153
|
+
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
149
154
|
pulumi.set(self, "description", value)
|
|
150
155
|
|
|
151
|
-
@property
|
|
156
|
+
@_builtins.property
|
|
152
157
|
@pulumi.getter
|
|
153
|
-
def key(self) -> Optional[pulumi.Input[str]]:
|
|
158
|
+
def key(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
154
159
|
"""
|
|
155
160
|
The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.
|
|
156
161
|
"""
|
|
157
162
|
return pulumi.get(self, "key")
|
|
158
163
|
|
|
159
164
|
@key.setter
|
|
160
|
-
def key(self, value: Optional[pulumi.Input[str]]):
|
|
165
|
+
def key(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
161
166
|
pulumi.set(self, "key", value)
|
|
162
167
|
|
|
163
|
-
@property
|
|
168
|
+
@_builtins.property
|
|
164
169
|
@pulumi.getter(name="lastUpdated")
|
|
165
|
-
def last_updated(self) -> Optional[pulumi.Input[str]]:
|
|
170
|
+
def last_updated(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
166
171
|
"""
|
|
167
172
|
The time the secure credential was last updated.
|
|
168
173
|
"""
|
|
169
174
|
return pulumi.get(self, "last_updated")
|
|
170
175
|
|
|
171
176
|
@last_updated.setter
|
|
172
|
-
def last_updated(self, value: Optional[pulumi.Input[str]]):
|
|
177
|
+
def last_updated(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
173
178
|
pulumi.set(self, "last_updated", value)
|
|
174
179
|
|
|
175
|
-
@property
|
|
180
|
+
@_builtins.property
|
|
176
181
|
@pulumi.getter
|
|
177
|
-
def value(self) -> Optional[pulumi.Input[str]]:
|
|
182
|
+
def value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
178
183
|
"""
|
|
179
184
|
The secure credential's value.
|
|
180
185
|
"""
|
|
181
186
|
return pulumi.get(self, "value")
|
|
182
187
|
|
|
183
188
|
@value.setter
|
|
184
|
-
def value(self, value: Optional[pulumi.Input[str]]):
|
|
189
|
+
def value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
185
190
|
pulumi.set(self, "value", value)
|
|
186
191
|
|
|
187
192
|
|
|
193
|
+
@pulumi.type_token("newrelic:synthetics/secureCredential:SecureCredential")
|
|
188
194
|
class SecureCredential(pulumi.CustomResource):
|
|
189
195
|
@overload
|
|
190
196
|
def __init__(__self__,
|
|
191
197
|
resource_name: str,
|
|
192
198
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
193
|
-
account_id: Optional[pulumi.Input[
|
|
194
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
195
|
-
key: Optional[pulumi.Input[str]] = None,
|
|
196
|
-
last_updated: Optional[pulumi.Input[str]] = None,
|
|
197
|
-
value: Optional[pulumi.Input[str]] = None,
|
|
199
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
200
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
201
|
+
key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
202
|
+
last_updated: Optional[pulumi.Input[_builtins.str]] = None,
|
|
203
|
+
value: Optional[pulumi.Input[_builtins.str]] = None,
|
|
198
204
|
__props__=None):
|
|
199
205
|
"""
|
|
200
206
|
Use this resource to create and manage New Relic Synthetic secure credentials.
|
|
@@ -206,9 +212,9 @@ class SecureCredential(pulumi.CustomResource):
|
|
|
206
212
|
import pulumi_newrelic as newrelic
|
|
207
213
|
|
|
208
214
|
foo = newrelic.synthetics.SecureCredential("foo",
|
|
209
|
-
description="My description",
|
|
210
215
|
key="MY_KEY",
|
|
211
|
-
value="My value"
|
|
216
|
+
value="My value",
|
|
217
|
+
description="My description")
|
|
212
218
|
```
|
|
213
219
|
|
|
214
220
|
## Import
|
|
@@ -216,16 +222,16 @@ class SecureCredential(pulumi.CustomResource):
|
|
|
216
222
|
A Synthetics secure credential can be imported using its `key`:
|
|
217
223
|
|
|
218
224
|
```sh
|
|
219
|
-
|
|
225
|
+
$ pulumi import newrelic:synthetics/secureCredential:SecureCredential foo MY_KEY
|
|
220
226
|
```
|
|
221
227
|
|
|
222
228
|
:param str resource_name: The name of the resource.
|
|
223
229
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
224
|
-
:param pulumi.Input[
|
|
225
|
-
:param pulumi.Input[str] description: The secure credential's description.
|
|
226
|
-
:param pulumi.Input[str] key: The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.
|
|
227
|
-
:param pulumi.Input[str] last_updated: The time the secure credential was last updated.
|
|
228
|
-
:param pulumi.Input[str] value: The secure credential's value.
|
|
230
|
+
:param pulumi.Input[_builtins.str] account_id: Determines the New Relic account where the secure credential will be created. Defaults to the account associated with the API key used.
|
|
231
|
+
:param pulumi.Input[_builtins.str] description: The secure credential's description.
|
|
232
|
+
:param pulumi.Input[_builtins.str] key: The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.
|
|
233
|
+
:param pulumi.Input[_builtins.str] last_updated: The time the secure credential was last updated.
|
|
234
|
+
:param pulumi.Input[_builtins.str] value: The secure credential's value.
|
|
229
235
|
"""
|
|
230
236
|
...
|
|
231
237
|
@overload
|
|
@@ -243,9 +249,9 @@ class SecureCredential(pulumi.CustomResource):
|
|
|
243
249
|
import pulumi_newrelic as newrelic
|
|
244
250
|
|
|
245
251
|
foo = newrelic.synthetics.SecureCredential("foo",
|
|
246
|
-
description="My description",
|
|
247
252
|
key="MY_KEY",
|
|
248
|
-
value="My value"
|
|
253
|
+
value="My value",
|
|
254
|
+
description="My description")
|
|
249
255
|
```
|
|
250
256
|
|
|
251
257
|
## Import
|
|
@@ -253,7 +259,7 @@ class SecureCredential(pulumi.CustomResource):
|
|
|
253
259
|
A Synthetics secure credential can be imported using its `key`:
|
|
254
260
|
|
|
255
261
|
```sh
|
|
256
|
-
|
|
262
|
+
$ pulumi import newrelic:synthetics/secureCredential:SecureCredential foo MY_KEY
|
|
257
263
|
```
|
|
258
264
|
|
|
259
265
|
:param str resource_name: The name of the resource.
|
|
@@ -271,11 +277,11 @@ class SecureCredential(pulumi.CustomResource):
|
|
|
271
277
|
def _internal_init(__self__,
|
|
272
278
|
resource_name: str,
|
|
273
279
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
274
|
-
account_id: Optional[pulumi.Input[
|
|
275
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
276
|
-
key: Optional[pulumi.Input[str]] = None,
|
|
277
|
-
last_updated: Optional[pulumi.Input[str]] = None,
|
|
278
|
-
value: Optional[pulumi.Input[str]] = None,
|
|
280
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
281
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
282
|
+
key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
283
|
+
last_updated: Optional[pulumi.Input[_builtins.str]] = None,
|
|
284
|
+
value: Optional[pulumi.Input[_builtins.str]] = None,
|
|
279
285
|
__props__=None):
|
|
280
286
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
281
287
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -306,11 +312,11 @@ class SecureCredential(pulumi.CustomResource):
|
|
|
306
312
|
def get(resource_name: str,
|
|
307
313
|
id: pulumi.Input[str],
|
|
308
314
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
309
|
-
account_id: Optional[pulumi.Input[
|
|
310
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
311
|
-
key: Optional[pulumi.Input[str]] = None,
|
|
312
|
-
last_updated: Optional[pulumi.Input[str]] = None,
|
|
313
|
-
value: Optional[pulumi.Input[str]] = None) -> 'SecureCredential':
|
|
315
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
316
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
317
|
+
key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
318
|
+
last_updated: Optional[pulumi.Input[_builtins.str]] = None,
|
|
319
|
+
value: Optional[pulumi.Input[_builtins.str]] = None) -> 'SecureCredential':
|
|
314
320
|
"""
|
|
315
321
|
Get an existing SecureCredential resource's state with the given name, id, and optional extra
|
|
316
322
|
properties used to qualify the lookup.
|
|
@@ -318,11 +324,11 @@ class SecureCredential(pulumi.CustomResource):
|
|
|
318
324
|
:param str resource_name: The unique name of the resulting resource.
|
|
319
325
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
320
326
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
321
|
-
:param pulumi.Input[
|
|
322
|
-
:param pulumi.Input[str] description: The secure credential's description.
|
|
323
|
-
:param pulumi.Input[str] key: The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.
|
|
324
|
-
:param pulumi.Input[str] last_updated: The time the secure credential was last updated.
|
|
325
|
-
:param pulumi.Input[str] value: The secure credential's value.
|
|
327
|
+
:param pulumi.Input[_builtins.str] account_id: Determines the New Relic account where the secure credential will be created. Defaults to the account associated with the API key used.
|
|
328
|
+
:param pulumi.Input[_builtins.str] description: The secure credential's description.
|
|
329
|
+
:param pulumi.Input[_builtins.str] key: The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.
|
|
330
|
+
:param pulumi.Input[_builtins.str] last_updated: The time the secure credential was last updated.
|
|
331
|
+
:param pulumi.Input[_builtins.str] value: The secure credential's value.
|
|
326
332
|
"""
|
|
327
333
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
328
334
|
|
|
@@ -335,41 +341,41 @@ class SecureCredential(pulumi.CustomResource):
|
|
|
335
341
|
__props__.__dict__["value"] = value
|
|
336
342
|
return SecureCredential(resource_name, opts=opts, __props__=__props__)
|
|
337
343
|
|
|
338
|
-
@property
|
|
344
|
+
@_builtins.property
|
|
339
345
|
@pulumi.getter(name="accountId")
|
|
340
|
-
def account_id(self) -> pulumi.Output[
|
|
346
|
+
def account_id(self) -> pulumi.Output[_builtins.str]:
|
|
341
347
|
"""
|
|
342
348
|
Determines the New Relic account where the secure credential will be created. Defaults to the account associated with the API key used.
|
|
343
349
|
"""
|
|
344
350
|
return pulumi.get(self, "account_id")
|
|
345
351
|
|
|
346
|
-
@property
|
|
352
|
+
@_builtins.property
|
|
347
353
|
@pulumi.getter
|
|
348
|
-
def description(self) -> pulumi.Output[Optional[str]]:
|
|
354
|
+
def description(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
349
355
|
"""
|
|
350
356
|
The secure credential's description.
|
|
351
357
|
"""
|
|
352
358
|
return pulumi.get(self, "description")
|
|
353
359
|
|
|
354
|
-
@property
|
|
360
|
+
@_builtins.property
|
|
355
361
|
@pulumi.getter
|
|
356
|
-
def key(self) -> pulumi.Output[str]:
|
|
362
|
+
def key(self) -> pulumi.Output[_builtins.str]:
|
|
357
363
|
"""
|
|
358
364
|
The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API.
|
|
359
365
|
"""
|
|
360
366
|
return pulumi.get(self, "key")
|
|
361
367
|
|
|
362
|
-
@property
|
|
368
|
+
@_builtins.property
|
|
363
369
|
@pulumi.getter(name="lastUpdated")
|
|
364
|
-
def last_updated(self) -> pulumi.Output[str]:
|
|
370
|
+
def last_updated(self) -> pulumi.Output[_builtins.str]:
|
|
365
371
|
"""
|
|
366
372
|
The time the secure credential was last updated.
|
|
367
373
|
"""
|
|
368
374
|
return pulumi.get(self, "last_updated")
|
|
369
375
|
|
|
370
|
-
@property
|
|
376
|
+
@_builtins.property
|
|
371
377
|
@pulumi.getter
|
|
372
|
-
def value(self) -> pulumi.Output[str]:
|
|
378
|
+
def value(self) -> pulumi.Output[_builtins.str]:
|
|
373
379
|
"""
|
|
374
380
|
The secure credential's value.
|
|
375
381
|
"""
|