pulumi-consul 3.13.0a1749706342__py3-none-any.whl → 3.14.0a1768432677__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_consul/__init__.py +1 -1
- pulumi_consul/_inputs.py +1604 -1605
- pulumi_consul/acl_auth_method.py +174 -175
- pulumi_consul/acl_binding_rule.py +123 -124
- pulumi_consul/acl_policy.py +107 -108
- pulumi_consul/acl_role.py +95 -96
- pulumi_consul/acl_role_policy_attachment.py +35 -36
- pulumi_consul/acl_token.py +154 -155
- pulumi_consul/acl_token_policy_attachment.py +35 -36
- pulumi_consul/acl_token_role_attachment.py +35 -36
- pulumi_consul/admin_partition.py +82 -36
- pulumi_consul/agent_service.py +69 -70
- pulumi_consul/autopilot_config.py +137 -138
- pulumi_consul/catalog_entry.py +114 -73
- pulumi_consul/certificate_authority.py +44 -45
- pulumi_consul/config/__init__.py +1 -1
- pulumi_consul/config/__init__.pyi +6 -12
- pulumi_consul/config/outputs.py +24 -25
- pulumi_consul/config/vars.py +22 -28
- pulumi_consul/config_entry.py +86 -87
- pulumi_consul/config_entry_service_defaults.py +275 -224
- pulumi_consul/config_entry_service_intentions.py +75 -76
- pulumi_consul/config_entry_service_resolver.py +132 -133
- pulumi_consul/config_entry_service_router.py +72 -73
- pulumi_consul/config_entry_service_splitter.py +72 -73
- pulumi_consul/config_entry_v2_exported_services.py +137 -138
- pulumi_consul/get_acl_auth_method.py +36 -37
- pulumi_consul/get_acl_policy.py +27 -28
- pulumi_consul/get_acl_role.py +27 -28
- pulumi_consul/get_acl_token.py +32 -33
- pulumi_consul/get_acl_token_secret_id.py +29 -30
- pulumi_consul/get_agent_config.py +15 -16
- pulumi_consul/get_agent_self.py +149 -146
- pulumi_consul/get_autopilot_health.py +14 -15
- pulumi_consul/get_catalog_nodes.py +45 -12
- pulumi_consul/get_catalog_service.py +27 -28
- pulumi_consul/get_catalog_services.py +12 -13
- pulumi_consul/get_config_entry.py +29 -30
- pulumi_consul/get_config_entry_v2_exported_services.py +51 -52
- pulumi_consul/get_datacenters.py +73 -6
- pulumi_consul/get_key_prefix.py +38 -39
- pulumi_consul/get_keys.py +36 -37
- pulumi_consul/get_network_area_members.py +22 -23
- pulumi_consul/get_network_segments.py +17 -18
- pulumi_consul/get_nodes.py +45 -12
- pulumi_consul/get_peering.py +25 -26
- pulumi_consul/get_peerings.py +8 -9
- pulumi_consul/get_service.py +27 -28
- pulumi_consul/get_service_health.py +54 -51
- pulumi_consul/get_services.py +12 -13
- pulumi_consul/intention.py +137 -138
- pulumi_consul/key_prefix.py +106 -107
- pulumi_consul/keys.py +79 -80
- pulumi_consul/license.py +125 -126
- pulumi_consul/namespace.py +103 -104
- pulumi_consul/namespace_policy_attachment.py +35 -36
- pulumi_consul/namespace_role_attachment.py +35 -36
- pulumi_consul/network_area.py +86 -87
- pulumi_consul/node.py +99 -100
- pulumi_consul/outputs.py +1464 -1465
- pulumi_consul/peering.py +107 -108
- pulumi_consul/peering_token.py +74 -75
- pulumi_consul/prepared_query.py +231 -232
- pulumi_consul/provider.py +150 -169
- pulumi_consul/pulumi-plugin.json +1 -1
- pulumi_consul/service.py +251 -205
- {pulumi_consul-3.13.0a1749706342.dist-info → pulumi_consul-3.14.0a1768432677.dist-info}/METADATA +1 -1
- pulumi_consul-3.14.0a1768432677.dist-info/RECORD +72 -0
- pulumi_consul-3.13.0a1749706342.dist-info/RECORD +0 -72
- {pulumi_consul-3.13.0a1749706342.dist-info → pulumi_consul-3.14.0a1768432677.dist-info}/WHEEL +0 -0
- {pulumi_consul-3.13.0a1749706342.dist-info → pulumi_consul-3.14.0a1768432677.dist-info}/top_level.txt +0 -0
pulumi_consul/keys.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
|
|
@@ -22,20 +21,20 @@ __all__ = ['KeysArgs', 'Keys']
|
|
|
22
21
|
@pulumi.input_type
|
|
23
22
|
class KeysArgs:
|
|
24
23
|
def __init__(__self__, *,
|
|
25
|
-
datacenter: Optional[pulumi.Input[
|
|
24
|
+
datacenter: Optional[pulumi.Input[_builtins.str]] = None,
|
|
26
25
|
keys: Optional[pulumi.Input[Sequence[pulumi.Input['KeysKeyArgs']]]] = None,
|
|
27
|
-
namespace: Optional[pulumi.Input[
|
|
28
|
-
partition: Optional[pulumi.Input[
|
|
29
|
-
token: Optional[pulumi.Input[
|
|
26
|
+
namespace: Optional[pulumi.Input[_builtins.str]] = None,
|
|
27
|
+
partition: Optional[pulumi.Input[_builtins.str]] = None,
|
|
28
|
+
token: Optional[pulumi.Input[_builtins.str]] = None):
|
|
30
29
|
"""
|
|
31
30
|
The set of arguments for constructing a Keys resource.
|
|
32
|
-
:param pulumi.Input[
|
|
31
|
+
:param pulumi.Input[_builtins.str] datacenter: The datacenter to use. This overrides the
|
|
33
32
|
agent's default datacenter and the datacenter in the provider setup.
|
|
34
33
|
:param pulumi.Input[Sequence[pulumi.Input['KeysKeyArgs']]] keys: Specifies a key in Consul to be written.
|
|
35
34
|
Supported values documented below.
|
|
36
|
-
:param pulumi.Input[
|
|
37
|
-
:param pulumi.Input[
|
|
38
|
-
:param pulumi.Input[
|
|
35
|
+
:param pulumi.Input[_builtins.str] namespace: The namespace to create the keys within.
|
|
36
|
+
:param pulumi.Input[_builtins.str] partition: The partition to create the keys within.
|
|
37
|
+
:param pulumi.Input[_builtins.str] token: The ACL token to use. This overrides the
|
|
39
38
|
token that the agent provides by default.
|
|
40
39
|
"""
|
|
41
40
|
if datacenter is not None:
|
|
@@ -54,9 +53,9 @@ Please use the token argument in the provider configuration""")
|
|
|
54
53
|
if token is not None:
|
|
55
54
|
pulumi.set(__self__, "token", token)
|
|
56
55
|
|
|
57
|
-
@property
|
|
56
|
+
@_builtins.property
|
|
58
57
|
@pulumi.getter
|
|
59
|
-
def datacenter(self) -> Optional[pulumi.Input[
|
|
58
|
+
def datacenter(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
60
59
|
"""
|
|
61
60
|
The datacenter to use. This overrides the
|
|
62
61
|
agent's default datacenter and the datacenter in the provider setup.
|
|
@@ -64,10 +63,10 @@ Please use the token argument in the provider configuration""")
|
|
|
64
63
|
return pulumi.get(self, "datacenter")
|
|
65
64
|
|
|
66
65
|
@datacenter.setter
|
|
67
|
-
def datacenter(self, value: Optional[pulumi.Input[
|
|
66
|
+
def datacenter(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
68
67
|
pulumi.set(self, "datacenter", value)
|
|
69
68
|
|
|
70
|
-
@property
|
|
69
|
+
@_builtins.property
|
|
71
70
|
@pulumi.getter
|
|
72
71
|
def keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KeysKeyArgs']]]]:
|
|
73
72
|
"""
|
|
@@ -80,35 +79,35 @@ Please use the token argument in the provider configuration""")
|
|
|
80
79
|
def keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['KeysKeyArgs']]]]):
|
|
81
80
|
pulumi.set(self, "keys", value)
|
|
82
81
|
|
|
83
|
-
@property
|
|
82
|
+
@_builtins.property
|
|
84
83
|
@pulumi.getter
|
|
85
|
-
def namespace(self) -> Optional[pulumi.Input[
|
|
84
|
+
def namespace(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
86
85
|
"""
|
|
87
86
|
The namespace to create the keys within.
|
|
88
87
|
"""
|
|
89
88
|
return pulumi.get(self, "namespace")
|
|
90
89
|
|
|
91
90
|
@namespace.setter
|
|
92
|
-
def namespace(self, value: Optional[pulumi.Input[
|
|
91
|
+
def namespace(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
93
92
|
pulumi.set(self, "namespace", value)
|
|
94
93
|
|
|
95
|
-
@property
|
|
94
|
+
@_builtins.property
|
|
96
95
|
@pulumi.getter
|
|
97
|
-
def partition(self) -> Optional[pulumi.Input[
|
|
96
|
+
def partition(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
98
97
|
"""
|
|
99
98
|
The partition to create the keys within.
|
|
100
99
|
"""
|
|
101
100
|
return pulumi.get(self, "partition")
|
|
102
101
|
|
|
103
102
|
@partition.setter
|
|
104
|
-
def partition(self, value: Optional[pulumi.Input[
|
|
103
|
+
def partition(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
105
104
|
pulumi.set(self, "partition", value)
|
|
106
105
|
|
|
107
|
-
@property
|
|
106
|
+
@_builtins.property
|
|
108
107
|
@pulumi.getter
|
|
109
108
|
@_utilities.deprecated("""The token argument has been deprecated and will be removed in a future release.
|
|
110
109
|
Please use the token argument in the provider configuration""")
|
|
111
|
-
def token(self) -> Optional[pulumi.Input[
|
|
110
|
+
def token(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
112
111
|
"""
|
|
113
112
|
The ACL token to use. This overrides the
|
|
114
113
|
token that the agent provides by default.
|
|
@@ -116,28 +115,28 @@ Please use the token argument in the provider configuration""")
|
|
|
116
115
|
return pulumi.get(self, "token")
|
|
117
116
|
|
|
118
117
|
@token.setter
|
|
119
|
-
def token(self, value: Optional[pulumi.Input[
|
|
118
|
+
def token(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
120
119
|
pulumi.set(self, "token", value)
|
|
121
120
|
|
|
122
121
|
|
|
123
122
|
@pulumi.input_type
|
|
124
123
|
class _KeysState:
|
|
125
124
|
def __init__(__self__, *,
|
|
126
|
-
datacenter: Optional[pulumi.Input[
|
|
125
|
+
datacenter: Optional[pulumi.Input[_builtins.str]] = None,
|
|
127
126
|
keys: Optional[pulumi.Input[Sequence[pulumi.Input['KeysKeyArgs']]]] = None,
|
|
128
|
-
namespace: Optional[pulumi.Input[
|
|
129
|
-
partition: Optional[pulumi.Input[
|
|
130
|
-
token: Optional[pulumi.Input[
|
|
131
|
-
var: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
127
|
+
namespace: Optional[pulumi.Input[_builtins.str]] = None,
|
|
128
|
+
partition: Optional[pulumi.Input[_builtins.str]] = None,
|
|
129
|
+
token: Optional[pulumi.Input[_builtins.str]] = None,
|
|
130
|
+
var: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
|
|
132
131
|
"""
|
|
133
132
|
Input properties used for looking up and filtering Keys resources.
|
|
134
|
-
:param pulumi.Input[
|
|
133
|
+
:param pulumi.Input[_builtins.str] datacenter: The datacenter to use. This overrides the
|
|
135
134
|
agent's default datacenter and the datacenter in the provider setup.
|
|
136
135
|
:param pulumi.Input[Sequence[pulumi.Input['KeysKeyArgs']]] keys: Specifies a key in Consul to be written.
|
|
137
136
|
Supported values documented below.
|
|
138
|
-
:param pulumi.Input[
|
|
139
|
-
:param pulumi.Input[
|
|
140
|
-
:param pulumi.Input[
|
|
137
|
+
:param pulumi.Input[_builtins.str] namespace: The namespace to create the keys within.
|
|
138
|
+
:param pulumi.Input[_builtins.str] partition: The partition to create the keys within.
|
|
139
|
+
:param pulumi.Input[_builtins.str] token: The ACL token to use. This overrides the
|
|
141
140
|
token that the agent provides by default.
|
|
142
141
|
"""
|
|
143
142
|
if datacenter is not None:
|
|
@@ -158,9 +157,9 @@ Please use the token argument in the provider configuration""")
|
|
|
158
157
|
if var is not None:
|
|
159
158
|
pulumi.set(__self__, "var", var)
|
|
160
159
|
|
|
161
|
-
@property
|
|
160
|
+
@_builtins.property
|
|
162
161
|
@pulumi.getter
|
|
163
|
-
def datacenter(self) -> Optional[pulumi.Input[
|
|
162
|
+
def datacenter(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
164
163
|
"""
|
|
165
164
|
The datacenter to use. This overrides the
|
|
166
165
|
agent's default datacenter and the datacenter in the provider setup.
|
|
@@ -168,10 +167,10 @@ Please use the token argument in the provider configuration""")
|
|
|
168
167
|
return pulumi.get(self, "datacenter")
|
|
169
168
|
|
|
170
169
|
@datacenter.setter
|
|
171
|
-
def datacenter(self, value: Optional[pulumi.Input[
|
|
170
|
+
def datacenter(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
172
171
|
pulumi.set(self, "datacenter", value)
|
|
173
172
|
|
|
174
|
-
@property
|
|
173
|
+
@_builtins.property
|
|
175
174
|
@pulumi.getter
|
|
176
175
|
def keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KeysKeyArgs']]]]:
|
|
177
176
|
"""
|
|
@@ -184,35 +183,35 @@ Please use the token argument in the provider configuration""")
|
|
|
184
183
|
def keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['KeysKeyArgs']]]]):
|
|
185
184
|
pulumi.set(self, "keys", value)
|
|
186
185
|
|
|
187
|
-
@property
|
|
186
|
+
@_builtins.property
|
|
188
187
|
@pulumi.getter
|
|
189
|
-
def namespace(self) -> Optional[pulumi.Input[
|
|
188
|
+
def namespace(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
190
189
|
"""
|
|
191
190
|
The namespace to create the keys within.
|
|
192
191
|
"""
|
|
193
192
|
return pulumi.get(self, "namespace")
|
|
194
193
|
|
|
195
194
|
@namespace.setter
|
|
196
|
-
def namespace(self, value: Optional[pulumi.Input[
|
|
195
|
+
def namespace(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
197
196
|
pulumi.set(self, "namespace", value)
|
|
198
197
|
|
|
199
|
-
@property
|
|
198
|
+
@_builtins.property
|
|
200
199
|
@pulumi.getter
|
|
201
|
-
def partition(self) -> Optional[pulumi.Input[
|
|
200
|
+
def partition(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
202
201
|
"""
|
|
203
202
|
The partition to create the keys within.
|
|
204
203
|
"""
|
|
205
204
|
return pulumi.get(self, "partition")
|
|
206
205
|
|
|
207
206
|
@partition.setter
|
|
208
|
-
def partition(self, value: Optional[pulumi.Input[
|
|
207
|
+
def partition(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
209
208
|
pulumi.set(self, "partition", value)
|
|
210
209
|
|
|
211
|
-
@property
|
|
210
|
+
@_builtins.property
|
|
212
211
|
@pulumi.getter
|
|
213
212
|
@_utilities.deprecated("""The token argument has been deprecated and will be removed in a future release.
|
|
214
213
|
Please use the token argument in the provider configuration""")
|
|
215
|
-
def token(self) -> Optional[pulumi.Input[
|
|
214
|
+
def token(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
216
215
|
"""
|
|
217
216
|
The ACL token to use. This overrides the
|
|
218
217
|
token that the agent provides by default.
|
|
@@ -220,16 +219,16 @@ Please use the token argument in the provider configuration""")
|
|
|
220
219
|
return pulumi.get(self, "token")
|
|
221
220
|
|
|
222
221
|
@token.setter
|
|
223
|
-
def token(self, value: Optional[pulumi.Input[
|
|
222
|
+
def token(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
224
223
|
pulumi.set(self, "token", value)
|
|
225
224
|
|
|
226
|
-
@property
|
|
225
|
+
@_builtins.property
|
|
227
226
|
@pulumi.getter
|
|
228
|
-
def var(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
227
|
+
def var(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
229
228
|
return pulumi.get(self, "var")
|
|
230
229
|
|
|
231
230
|
@var.setter
|
|
232
|
-
def var(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
231
|
+
def var(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
233
232
|
pulumi.set(self, "var", value)
|
|
234
233
|
|
|
235
234
|
|
|
@@ -239,11 +238,11 @@ class Keys(pulumi.CustomResource):
|
|
|
239
238
|
def __init__(__self__,
|
|
240
239
|
resource_name: str,
|
|
241
240
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
242
|
-
datacenter: Optional[pulumi.Input[
|
|
241
|
+
datacenter: Optional[pulumi.Input[_builtins.str]] = None,
|
|
243
242
|
keys: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KeysKeyArgs', 'KeysKeyArgsDict']]]]] = None,
|
|
244
|
-
namespace: Optional[pulumi.Input[
|
|
245
|
-
partition: Optional[pulumi.Input[
|
|
246
|
-
token: Optional[pulumi.Input[
|
|
243
|
+
namespace: Optional[pulumi.Input[_builtins.str]] = None,
|
|
244
|
+
partition: Optional[pulumi.Input[_builtins.str]] = None,
|
|
245
|
+
token: Optional[pulumi.Input[_builtins.str]] = None,
|
|
247
246
|
__props__=None):
|
|
248
247
|
"""
|
|
249
248
|
## Example Usage
|
|
@@ -263,13 +262,13 @@ class Keys(pulumi.CustomResource):
|
|
|
263
262
|
|
|
264
263
|
:param str resource_name: The name of the resource.
|
|
265
264
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
266
|
-
:param pulumi.Input[
|
|
265
|
+
:param pulumi.Input[_builtins.str] datacenter: The datacenter to use. This overrides the
|
|
267
266
|
agent's default datacenter and the datacenter in the provider setup.
|
|
268
267
|
:param pulumi.Input[Sequence[pulumi.Input[Union['KeysKeyArgs', 'KeysKeyArgsDict']]]] keys: Specifies a key in Consul to be written.
|
|
269
268
|
Supported values documented below.
|
|
270
|
-
:param pulumi.Input[
|
|
271
|
-
:param pulumi.Input[
|
|
272
|
-
:param pulumi.Input[
|
|
269
|
+
:param pulumi.Input[_builtins.str] namespace: The namespace to create the keys within.
|
|
270
|
+
:param pulumi.Input[_builtins.str] partition: The partition to create the keys within.
|
|
271
|
+
:param pulumi.Input[_builtins.str] token: The ACL token to use. This overrides the
|
|
273
272
|
token that the agent provides by default.
|
|
274
273
|
"""
|
|
275
274
|
...
|
|
@@ -309,11 +308,11 @@ class Keys(pulumi.CustomResource):
|
|
|
309
308
|
def _internal_init(__self__,
|
|
310
309
|
resource_name: str,
|
|
311
310
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
312
|
-
datacenter: Optional[pulumi.Input[
|
|
311
|
+
datacenter: Optional[pulumi.Input[_builtins.str]] = None,
|
|
313
312
|
keys: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KeysKeyArgs', 'KeysKeyArgsDict']]]]] = None,
|
|
314
|
-
namespace: Optional[pulumi.Input[
|
|
315
|
-
partition: Optional[pulumi.Input[
|
|
316
|
-
token: Optional[pulumi.Input[
|
|
313
|
+
namespace: Optional[pulumi.Input[_builtins.str]] = None,
|
|
314
|
+
partition: Optional[pulumi.Input[_builtins.str]] = None,
|
|
315
|
+
token: Optional[pulumi.Input[_builtins.str]] = None,
|
|
317
316
|
__props__=None):
|
|
318
317
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
319
318
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -341,12 +340,12 @@ class Keys(pulumi.CustomResource):
|
|
|
341
340
|
def get(resource_name: str,
|
|
342
341
|
id: pulumi.Input[str],
|
|
343
342
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
344
|
-
datacenter: Optional[pulumi.Input[
|
|
343
|
+
datacenter: Optional[pulumi.Input[_builtins.str]] = None,
|
|
345
344
|
keys: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KeysKeyArgs', 'KeysKeyArgsDict']]]]] = None,
|
|
346
|
-
namespace: Optional[pulumi.Input[
|
|
347
|
-
partition: Optional[pulumi.Input[
|
|
348
|
-
token: Optional[pulumi.Input[
|
|
349
|
-
var: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
345
|
+
namespace: Optional[pulumi.Input[_builtins.str]] = None,
|
|
346
|
+
partition: Optional[pulumi.Input[_builtins.str]] = None,
|
|
347
|
+
token: Optional[pulumi.Input[_builtins.str]] = None,
|
|
348
|
+
var: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None) -> 'Keys':
|
|
350
349
|
"""
|
|
351
350
|
Get an existing Keys resource's state with the given name, id, and optional extra
|
|
352
351
|
properties used to qualify the lookup.
|
|
@@ -354,13 +353,13 @@ class Keys(pulumi.CustomResource):
|
|
|
354
353
|
:param str resource_name: The unique name of the resulting resource.
|
|
355
354
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
356
355
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
357
|
-
:param pulumi.Input[
|
|
356
|
+
:param pulumi.Input[_builtins.str] datacenter: The datacenter to use. This overrides the
|
|
358
357
|
agent's default datacenter and the datacenter in the provider setup.
|
|
359
358
|
:param pulumi.Input[Sequence[pulumi.Input[Union['KeysKeyArgs', 'KeysKeyArgsDict']]]] keys: Specifies a key in Consul to be written.
|
|
360
359
|
Supported values documented below.
|
|
361
|
-
:param pulumi.Input[
|
|
362
|
-
:param pulumi.Input[
|
|
363
|
-
:param pulumi.Input[
|
|
360
|
+
:param pulumi.Input[_builtins.str] namespace: The namespace to create the keys within.
|
|
361
|
+
:param pulumi.Input[_builtins.str] partition: The partition to create the keys within.
|
|
362
|
+
:param pulumi.Input[_builtins.str] token: The ACL token to use. This overrides the
|
|
364
363
|
token that the agent provides by default.
|
|
365
364
|
"""
|
|
366
365
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -375,16 +374,16 @@ class Keys(pulumi.CustomResource):
|
|
|
375
374
|
__props__.__dict__["var"] = var
|
|
376
375
|
return Keys(resource_name, opts=opts, __props__=__props__)
|
|
377
376
|
|
|
378
|
-
@property
|
|
377
|
+
@_builtins.property
|
|
379
378
|
@pulumi.getter
|
|
380
|
-
def datacenter(self) -> pulumi.Output[
|
|
379
|
+
def datacenter(self) -> pulumi.Output[_builtins.str]:
|
|
381
380
|
"""
|
|
382
381
|
The datacenter to use. This overrides the
|
|
383
382
|
agent's default datacenter and the datacenter in the provider setup.
|
|
384
383
|
"""
|
|
385
384
|
return pulumi.get(self, "datacenter")
|
|
386
385
|
|
|
387
|
-
@property
|
|
386
|
+
@_builtins.property
|
|
388
387
|
@pulumi.getter
|
|
389
388
|
def keys(self) -> pulumi.Output[Optional[Sequence['outputs.KeysKey']]]:
|
|
390
389
|
"""
|
|
@@ -393,35 +392,35 @@ class Keys(pulumi.CustomResource):
|
|
|
393
392
|
"""
|
|
394
393
|
return pulumi.get(self, "keys")
|
|
395
394
|
|
|
396
|
-
@property
|
|
395
|
+
@_builtins.property
|
|
397
396
|
@pulumi.getter
|
|
398
|
-
def namespace(self) -> pulumi.Output[Optional[
|
|
397
|
+
def namespace(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
399
398
|
"""
|
|
400
399
|
The namespace to create the keys within.
|
|
401
400
|
"""
|
|
402
401
|
return pulumi.get(self, "namespace")
|
|
403
402
|
|
|
404
|
-
@property
|
|
403
|
+
@_builtins.property
|
|
405
404
|
@pulumi.getter
|
|
406
|
-
def partition(self) -> pulumi.Output[Optional[
|
|
405
|
+
def partition(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
407
406
|
"""
|
|
408
407
|
The partition to create the keys within.
|
|
409
408
|
"""
|
|
410
409
|
return pulumi.get(self, "partition")
|
|
411
410
|
|
|
412
|
-
@property
|
|
411
|
+
@_builtins.property
|
|
413
412
|
@pulumi.getter
|
|
414
413
|
@_utilities.deprecated("""The token argument has been deprecated and will be removed in a future release.
|
|
415
414
|
Please use the token argument in the provider configuration""")
|
|
416
|
-
def token(self) -> pulumi.Output[Optional[
|
|
415
|
+
def token(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
417
416
|
"""
|
|
418
417
|
The ACL token to use. This overrides the
|
|
419
418
|
token that the agent provides by default.
|
|
420
419
|
"""
|
|
421
420
|
return pulumi.get(self, "token")
|
|
422
421
|
|
|
423
|
-
@property
|
|
422
|
+
@_builtins.property
|
|
424
423
|
@pulumi.getter
|
|
425
|
-
def var(self) -> pulumi.Output[Mapping[str,
|
|
424
|
+
def var(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
|
|
426
425
|
return pulumi.get(self, "var")
|
|
427
426
|
|