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