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/key_prefix.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,29 +22,29 @@ __all__ = ['KeyPrefixArgs', 'KeyPrefix']
|
|
|
21
22
|
@pulumi.input_type
|
|
22
23
|
class KeyPrefixArgs:
|
|
23
24
|
def __init__(__self__, *,
|
|
24
|
-
path_prefix: pulumi.Input[str],
|
|
25
|
-
datacenter: Optional[pulumi.Input[str]] = None,
|
|
26
|
-
namespace: Optional[pulumi.Input[str]] = None,
|
|
27
|
-
partition: Optional[pulumi.Input[str]] = None,
|
|
25
|
+
path_prefix: pulumi.Input[builtins.str],
|
|
26
|
+
datacenter: Optional[pulumi.Input[builtins.str]] = None,
|
|
27
|
+
namespace: Optional[pulumi.Input[builtins.str]] = None,
|
|
28
|
+
partition: Optional[pulumi.Input[builtins.str]] = None,
|
|
28
29
|
subkey_collection: Optional[pulumi.Input[Sequence[pulumi.Input['KeyPrefixSubkeyCollectionArgs']]]] = None,
|
|
29
|
-
subkeys: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
30
|
-
token: Optional[pulumi.Input[str]] = None):
|
|
30
|
+
subkeys: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
31
|
+
token: Optional[pulumi.Input[builtins.str]] = None):
|
|
31
32
|
"""
|
|
32
33
|
The set of arguments for constructing a KeyPrefix resource.
|
|
33
|
-
:param pulumi.Input[str] path_prefix: Specifies the common prefix shared by all keys
|
|
34
|
+
:param pulumi.Input[builtins.str] path_prefix: Specifies the common prefix shared by all keys
|
|
34
35
|
that will be managed by this resource instance. In most cases this will
|
|
35
36
|
end with a slash, to manage a "folder" of keys.
|
|
36
|
-
:param pulumi.Input[str] datacenter: The datacenter to use. This overrides the
|
|
37
|
+
:param pulumi.Input[builtins.str] datacenter: The datacenter to use. This overrides the
|
|
37
38
|
agent's default datacenter and the datacenter in the provider setup.
|
|
38
|
-
:param pulumi.Input[str] namespace: The namespace to create the keys within.
|
|
39
|
-
:param pulumi.Input[str] partition: The admin partition to create the keys within.
|
|
39
|
+
:param pulumi.Input[builtins.str] namespace: The namespace to create the keys within.
|
|
40
|
+
:param pulumi.Input[builtins.str] partition: The admin partition to create the keys within.
|
|
40
41
|
:param pulumi.Input[Sequence[pulumi.Input['KeyPrefixSubkeyCollectionArgs']]] subkey_collection: A subkey to add. Supported values documented below.
|
|
41
42
|
Multiple blocks supported.
|
|
42
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] subkeys: A mapping from subkey name (which will be appended
|
|
43
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] subkeys: A mapping from subkey name (which will be appended
|
|
43
44
|
to the given `path_prefix`) to the value that should be stored at that key.
|
|
44
45
|
Use slashes, as shown in the above example, to create "sub-folders" under
|
|
45
46
|
the given path prefix.
|
|
46
|
-
:param pulumi.Input[str] token: The ACL token to use. This overrides the
|
|
47
|
+
:param pulumi.Input[builtins.str] token: The ACL token to use. This overrides the
|
|
47
48
|
token that the agent provides by default.
|
|
48
49
|
"""
|
|
49
50
|
pulumi.set(__self__, "path_prefix", path_prefix)
|
|
@@ -67,7 +68,7 @@ Please use the token argument in the provider configuration""")
|
|
|
67
68
|
|
|
68
69
|
@property
|
|
69
70
|
@pulumi.getter(name="pathPrefix")
|
|
70
|
-
def path_prefix(self) -> pulumi.Input[str]:
|
|
71
|
+
def path_prefix(self) -> pulumi.Input[builtins.str]:
|
|
71
72
|
"""
|
|
72
73
|
Specifies the common prefix shared by all keys
|
|
73
74
|
that will be managed by this resource instance. In most cases this will
|
|
@@ -76,12 +77,12 @@ Please use the token argument in the provider configuration""")
|
|
|
76
77
|
return pulumi.get(self, "path_prefix")
|
|
77
78
|
|
|
78
79
|
@path_prefix.setter
|
|
79
|
-
def path_prefix(self, value: pulumi.Input[str]):
|
|
80
|
+
def path_prefix(self, value: pulumi.Input[builtins.str]):
|
|
80
81
|
pulumi.set(self, "path_prefix", value)
|
|
81
82
|
|
|
82
83
|
@property
|
|
83
84
|
@pulumi.getter
|
|
84
|
-
def datacenter(self) -> Optional[pulumi.Input[str]]:
|
|
85
|
+
def datacenter(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
85
86
|
"""
|
|
86
87
|
The datacenter to use. This overrides the
|
|
87
88
|
agent's default datacenter and the datacenter in the provider setup.
|
|
@@ -89,31 +90,31 @@ Please use the token argument in the provider configuration""")
|
|
|
89
90
|
return pulumi.get(self, "datacenter")
|
|
90
91
|
|
|
91
92
|
@datacenter.setter
|
|
92
|
-
def datacenter(self, value: Optional[pulumi.Input[str]]):
|
|
93
|
+
def datacenter(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
93
94
|
pulumi.set(self, "datacenter", value)
|
|
94
95
|
|
|
95
96
|
@property
|
|
96
97
|
@pulumi.getter
|
|
97
|
-
def namespace(self) -> Optional[pulumi.Input[str]]:
|
|
98
|
+
def namespace(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
98
99
|
"""
|
|
99
100
|
The namespace to create the keys within.
|
|
100
101
|
"""
|
|
101
102
|
return pulumi.get(self, "namespace")
|
|
102
103
|
|
|
103
104
|
@namespace.setter
|
|
104
|
-
def namespace(self, value: Optional[pulumi.Input[str]]):
|
|
105
|
+
def namespace(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
105
106
|
pulumi.set(self, "namespace", value)
|
|
106
107
|
|
|
107
108
|
@property
|
|
108
109
|
@pulumi.getter
|
|
109
|
-
def partition(self) -> Optional[pulumi.Input[str]]:
|
|
110
|
+
def partition(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
110
111
|
"""
|
|
111
112
|
The admin partition to create the keys within.
|
|
112
113
|
"""
|
|
113
114
|
return pulumi.get(self, "partition")
|
|
114
115
|
|
|
115
116
|
@partition.setter
|
|
116
|
-
def partition(self, value: Optional[pulumi.Input[str]]):
|
|
117
|
+
def partition(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
117
118
|
pulumi.set(self, "partition", value)
|
|
118
119
|
|
|
119
120
|
@property
|
|
@@ -131,7 +132,7 @@ Please use the token argument in the provider configuration""")
|
|
|
131
132
|
|
|
132
133
|
@property
|
|
133
134
|
@pulumi.getter
|
|
134
|
-
def subkeys(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
135
|
+
def subkeys(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
135
136
|
"""
|
|
136
137
|
A mapping from subkey name (which will be appended
|
|
137
138
|
to the given `path_prefix`) to the value that should be stored at that key.
|
|
@@ -141,14 +142,14 @@ Please use the token argument in the provider configuration""")
|
|
|
141
142
|
return pulumi.get(self, "subkeys")
|
|
142
143
|
|
|
143
144
|
@subkeys.setter
|
|
144
|
-
def subkeys(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
145
|
+
def subkeys(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
145
146
|
pulumi.set(self, "subkeys", value)
|
|
146
147
|
|
|
147
148
|
@property
|
|
148
149
|
@pulumi.getter
|
|
149
150
|
@_utilities.deprecated("""The token argument has been deprecated and will be removed in a future release.
|
|
150
151
|
Please use the token argument in the provider configuration""")
|
|
151
|
-
def token(self) -> Optional[pulumi.Input[str]]:
|
|
152
|
+
def token(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
152
153
|
"""
|
|
153
154
|
The ACL token to use. This overrides the
|
|
154
155
|
token that the agent provides by default.
|
|
@@ -156,36 +157,36 @@ Please use the token argument in the provider configuration""")
|
|
|
156
157
|
return pulumi.get(self, "token")
|
|
157
158
|
|
|
158
159
|
@token.setter
|
|
159
|
-
def token(self, value: Optional[pulumi.Input[str]]):
|
|
160
|
+
def token(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
160
161
|
pulumi.set(self, "token", value)
|
|
161
162
|
|
|
162
163
|
|
|
163
164
|
@pulumi.input_type
|
|
164
165
|
class _KeyPrefixState:
|
|
165
166
|
def __init__(__self__, *,
|
|
166
|
-
datacenter: Optional[pulumi.Input[str]] = None,
|
|
167
|
-
namespace: Optional[pulumi.Input[str]] = None,
|
|
168
|
-
partition: Optional[pulumi.Input[str]] = None,
|
|
169
|
-
path_prefix: Optional[pulumi.Input[str]] = None,
|
|
167
|
+
datacenter: Optional[pulumi.Input[builtins.str]] = None,
|
|
168
|
+
namespace: Optional[pulumi.Input[builtins.str]] = None,
|
|
169
|
+
partition: Optional[pulumi.Input[builtins.str]] = None,
|
|
170
|
+
path_prefix: Optional[pulumi.Input[builtins.str]] = None,
|
|
170
171
|
subkey_collection: Optional[pulumi.Input[Sequence[pulumi.Input['KeyPrefixSubkeyCollectionArgs']]]] = None,
|
|
171
|
-
subkeys: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
172
|
-
token: Optional[pulumi.Input[str]] = None):
|
|
172
|
+
subkeys: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
173
|
+
token: Optional[pulumi.Input[builtins.str]] = None):
|
|
173
174
|
"""
|
|
174
175
|
Input properties used for looking up and filtering KeyPrefix resources.
|
|
175
|
-
:param pulumi.Input[str] datacenter: The datacenter to use. This overrides the
|
|
176
|
+
:param pulumi.Input[builtins.str] datacenter: The datacenter to use. This overrides the
|
|
176
177
|
agent's default datacenter and the datacenter in the provider setup.
|
|
177
|
-
:param pulumi.Input[str] namespace: The namespace to create the keys within.
|
|
178
|
-
:param pulumi.Input[str] partition: The admin partition to create the keys within.
|
|
179
|
-
:param pulumi.Input[str] path_prefix: Specifies the common prefix shared by all keys
|
|
178
|
+
:param pulumi.Input[builtins.str] namespace: The namespace to create the keys within.
|
|
179
|
+
:param pulumi.Input[builtins.str] partition: The admin partition to create the keys within.
|
|
180
|
+
:param pulumi.Input[builtins.str] path_prefix: Specifies the common prefix shared by all keys
|
|
180
181
|
that will be managed by this resource instance. In most cases this will
|
|
181
182
|
end with a slash, to manage a "folder" of keys.
|
|
182
183
|
:param pulumi.Input[Sequence[pulumi.Input['KeyPrefixSubkeyCollectionArgs']]] subkey_collection: A subkey to add. Supported values documented below.
|
|
183
184
|
Multiple blocks supported.
|
|
184
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] subkeys: A mapping from subkey name (which will be appended
|
|
185
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] subkeys: A mapping from subkey name (which will be appended
|
|
185
186
|
to the given `path_prefix`) to the value that should be stored at that key.
|
|
186
187
|
Use slashes, as shown in the above example, to create "sub-folders" under
|
|
187
188
|
the given path prefix.
|
|
188
|
-
:param pulumi.Input[str] token: The ACL token to use. This overrides the
|
|
189
|
+
:param pulumi.Input[builtins.str] token: The ACL token to use. This overrides the
|
|
189
190
|
token that the agent provides by default.
|
|
190
191
|
"""
|
|
191
192
|
if datacenter is not None:
|
|
@@ -210,7 +211,7 @@ Please use the token argument in the provider configuration""")
|
|
|
210
211
|
|
|
211
212
|
@property
|
|
212
213
|
@pulumi.getter
|
|
213
|
-
def datacenter(self) -> Optional[pulumi.Input[str]]:
|
|
214
|
+
def datacenter(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
214
215
|
"""
|
|
215
216
|
The datacenter to use. This overrides the
|
|
216
217
|
agent's default datacenter and the datacenter in the provider setup.
|
|
@@ -218,36 +219,36 @@ Please use the token argument in the provider configuration""")
|
|
|
218
219
|
return pulumi.get(self, "datacenter")
|
|
219
220
|
|
|
220
221
|
@datacenter.setter
|
|
221
|
-
def datacenter(self, value: Optional[pulumi.Input[str]]):
|
|
222
|
+
def datacenter(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
222
223
|
pulumi.set(self, "datacenter", value)
|
|
223
224
|
|
|
224
225
|
@property
|
|
225
226
|
@pulumi.getter
|
|
226
|
-
def namespace(self) -> Optional[pulumi.Input[str]]:
|
|
227
|
+
def namespace(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
227
228
|
"""
|
|
228
229
|
The namespace to create the keys within.
|
|
229
230
|
"""
|
|
230
231
|
return pulumi.get(self, "namespace")
|
|
231
232
|
|
|
232
233
|
@namespace.setter
|
|
233
|
-
def namespace(self, value: Optional[pulumi.Input[str]]):
|
|
234
|
+
def namespace(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
234
235
|
pulumi.set(self, "namespace", value)
|
|
235
236
|
|
|
236
237
|
@property
|
|
237
238
|
@pulumi.getter
|
|
238
|
-
def partition(self) -> Optional[pulumi.Input[str]]:
|
|
239
|
+
def partition(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
239
240
|
"""
|
|
240
241
|
The admin partition to create the keys within.
|
|
241
242
|
"""
|
|
242
243
|
return pulumi.get(self, "partition")
|
|
243
244
|
|
|
244
245
|
@partition.setter
|
|
245
|
-
def partition(self, value: Optional[pulumi.Input[str]]):
|
|
246
|
+
def partition(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
246
247
|
pulumi.set(self, "partition", value)
|
|
247
248
|
|
|
248
249
|
@property
|
|
249
250
|
@pulumi.getter(name="pathPrefix")
|
|
250
|
-
def path_prefix(self) -> Optional[pulumi.Input[str]]:
|
|
251
|
+
def path_prefix(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
251
252
|
"""
|
|
252
253
|
Specifies the common prefix shared by all keys
|
|
253
254
|
that will be managed by this resource instance. In most cases this will
|
|
@@ -256,7 +257,7 @@ Please use the token argument in the provider configuration""")
|
|
|
256
257
|
return pulumi.get(self, "path_prefix")
|
|
257
258
|
|
|
258
259
|
@path_prefix.setter
|
|
259
|
-
def path_prefix(self, value: Optional[pulumi.Input[str]]):
|
|
260
|
+
def path_prefix(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
260
261
|
pulumi.set(self, "path_prefix", value)
|
|
261
262
|
|
|
262
263
|
@property
|
|
@@ -274,7 +275,7 @@ Please use the token argument in the provider configuration""")
|
|
|
274
275
|
|
|
275
276
|
@property
|
|
276
277
|
@pulumi.getter
|
|
277
|
-
def subkeys(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
278
|
+
def subkeys(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
278
279
|
"""
|
|
279
280
|
A mapping from subkey name (which will be appended
|
|
280
281
|
to the given `path_prefix`) to the value that should be stored at that key.
|
|
@@ -284,14 +285,14 @@ Please use the token argument in the provider configuration""")
|
|
|
284
285
|
return pulumi.get(self, "subkeys")
|
|
285
286
|
|
|
286
287
|
@subkeys.setter
|
|
287
|
-
def subkeys(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
288
|
+
def subkeys(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
288
289
|
pulumi.set(self, "subkeys", value)
|
|
289
290
|
|
|
290
291
|
@property
|
|
291
292
|
@pulumi.getter
|
|
292
293
|
@_utilities.deprecated("""The token argument has been deprecated and will be removed in a future release.
|
|
293
294
|
Please use the token argument in the provider configuration""")
|
|
294
|
-
def token(self) -> Optional[pulumi.Input[str]]:
|
|
295
|
+
def token(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
295
296
|
"""
|
|
296
297
|
The ACL token to use. This overrides the
|
|
297
298
|
token that the agent provides by default.
|
|
@@ -299,22 +300,25 @@ Please use the token argument in the provider configuration""")
|
|
|
299
300
|
return pulumi.get(self, "token")
|
|
300
301
|
|
|
301
302
|
@token.setter
|
|
302
|
-
def token(self, value: Optional[pulumi.Input[str]]):
|
|
303
|
+
def token(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
303
304
|
pulumi.set(self, "token", value)
|
|
304
305
|
|
|
305
306
|
|
|
306
307
|
class KeyPrefix(pulumi.CustomResource):
|
|
308
|
+
|
|
309
|
+
pulumi_type = "consul:index/keyPrefix:KeyPrefix"
|
|
310
|
+
|
|
307
311
|
@overload
|
|
308
312
|
def __init__(__self__,
|
|
309
313
|
resource_name: str,
|
|
310
314
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
311
|
-
datacenter: Optional[pulumi.Input[str]] = None,
|
|
312
|
-
namespace: Optional[pulumi.Input[str]] = None,
|
|
313
|
-
partition: Optional[pulumi.Input[str]] = None,
|
|
314
|
-
path_prefix: Optional[pulumi.Input[str]] = None,
|
|
315
|
+
datacenter: Optional[pulumi.Input[builtins.str]] = None,
|
|
316
|
+
namespace: Optional[pulumi.Input[builtins.str]] = None,
|
|
317
|
+
partition: Optional[pulumi.Input[builtins.str]] = None,
|
|
318
|
+
path_prefix: Optional[pulumi.Input[builtins.str]] = None,
|
|
315
319
|
subkey_collection: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KeyPrefixSubkeyCollectionArgs', 'KeyPrefixSubkeyCollectionArgsDict']]]]] = None,
|
|
316
|
-
subkeys: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
317
|
-
token: Optional[pulumi.Input[str]] = None,
|
|
320
|
+
subkeys: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
321
|
+
token: Optional[pulumi.Input[builtins.str]] = None,
|
|
318
322
|
__props__=None):
|
|
319
323
|
"""
|
|
320
324
|
## Example Usage
|
|
@@ -353,20 +357,20 @@ class KeyPrefix(pulumi.CustomResource):
|
|
|
353
357
|
|
|
354
358
|
:param str resource_name: The name of the resource.
|
|
355
359
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
356
|
-
:param pulumi.Input[str] datacenter: The datacenter to use. This overrides the
|
|
360
|
+
:param pulumi.Input[builtins.str] datacenter: The datacenter to use. This overrides the
|
|
357
361
|
agent's default datacenter and the datacenter in the provider setup.
|
|
358
|
-
:param pulumi.Input[str] namespace: The namespace to create the keys within.
|
|
359
|
-
:param pulumi.Input[str] partition: The admin partition to create the keys within.
|
|
360
|
-
:param pulumi.Input[str] path_prefix: Specifies the common prefix shared by all keys
|
|
362
|
+
:param pulumi.Input[builtins.str] namespace: The namespace to create the keys within.
|
|
363
|
+
:param pulumi.Input[builtins.str] partition: The admin partition to create the keys within.
|
|
364
|
+
:param pulumi.Input[builtins.str] path_prefix: Specifies the common prefix shared by all keys
|
|
361
365
|
that will be managed by this resource instance. In most cases this will
|
|
362
366
|
end with a slash, to manage a "folder" of keys.
|
|
363
367
|
:param pulumi.Input[Sequence[pulumi.Input[Union['KeyPrefixSubkeyCollectionArgs', 'KeyPrefixSubkeyCollectionArgsDict']]]] subkey_collection: A subkey to add. Supported values documented below.
|
|
364
368
|
Multiple blocks supported.
|
|
365
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] subkeys: A mapping from subkey name (which will be appended
|
|
369
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] subkeys: A mapping from subkey name (which will be appended
|
|
366
370
|
to the given `path_prefix`) to the value that should be stored at that key.
|
|
367
371
|
Use slashes, as shown in the above example, to create "sub-folders" under
|
|
368
372
|
the given path prefix.
|
|
369
|
-
:param pulumi.Input[str] token: The ACL token to use. This overrides the
|
|
373
|
+
:param pulumi.Input[builtins.str] token: The ACL token to use. This overrides the
|
|
370
374
|
token that the agent provides by default.
|
|
371
375
|
"""
|
|
372
376
|
...
|
|
@@ -425,13 +429,13 @@ class KeyPrefix(pulumi.CustomResource):
|
|
|
425
429
|
def _internal_init(__self__,
|
|
426
430
|
resource_name: str,
|
|
427
431
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
428
|
-
datacenter: Optional[pulumi.Input[str]] = None,
|
|
429
|
-
namespace: Optional[pulumi.Input[str]] = None,
|
|
430
|
-
partition: Optional[pulumi.Input[str]] = None,
|
|
431
|
-
path_prefix: Optional[pulumi.Input[str]] = None,
|
|
432
|
+
datacenter: Optional[pulumi.Input[builtins.str]] = None,
|
|
433
|
+
namespace: Optional[pulumi.Input[builtins.str]] = None,
|
|
434
|
+
partition: Optional[pulumi.Input[builtins.str]] = None,
|
|
435
|
+
path_prefix: Optional[pulumi.Input[builtins.str]] = None,
|
|
432
436
|
subkey_collection: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KeyPrefixSubkeyCollectionArgs', 'KeyPrefixSubkeyCollectionArgsDict']]]]] = None,
|
|
433
|
-
subkeys: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
434
|
-
token: Optional[pulumi.Input[str]] = None,
|
|
437
|
+
subkeys: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
438
|
+
token: Optional[pulumi.Input[builtins.str]] = None,
|
|
435
439
|
__props__=None):
|
|
436
440
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
437
441
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -462,13 +466,13 @@ class KeyPrefix(pulumi.CustomResource):
|
|
|
462
466
|
def get(resource_name: str,
|
|
463
467
|
id: pulumi.Input[str],
|
|
464
468
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
465
|
-
datacenter: Optional[pulumi.Input[str]] = None,
|
|
466
|
-
namespace: Optional[pulumi.Input[str]] = None,
|
|
467
|
-
partition: Optional[pulumi.Input[str]] = None,
|
|
468
|
-
path_prefix: Optional[pulumi.Input[str]] = None,
|
|
469
|
+
datacenter: Optional[pulumi.Input[builtins.str]] = None,
|
|
470
|
+
namespace: Optional[pulumi.Input[builtins.str]] = None,
|
|
471
|
+
partition: Optional[pulumi.Input[builtins.str]] = None,
|
|
472
|
+
path_prefix: Optional[pulumi.Input[builtins.str]] = None,
|
|
469
473
|
subkey_collection: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KeyPrefixSubkeyCollectionArgs', 'KeyPrefixSubkeyCollectionArgsDict']]]]] = None,
|
|
470
|
-
subkeys: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
471
|
-
token: Optional[pulumi.Input[str]] = None) -> 'KeyPrefix':
|
|
474
|
+
subkeys: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
475
|
+
token: Optional[pulumi.Input[builtins.str]] = None) -> 'KeyPrefix':
|
|
472
476
|
"""
|
|
473
477
|
Get an existing KeyPrefix resource's state with the given name, id, and optional extra
|
|
474
478
|
properties used to qualify the lookup.
|
|
@@ -476,20 +480,20 @@ class KeyPrefix(pulumi.CustomResource):
|
|
|
476
480
|
:param str resource_name: The unique name of the resulting resource.
|
|
477
481
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
478
482
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
479
|
-
:param pulumi.Input[str] datacenter: The datacenter to use. This overrides the
|
|
483
|
+
:param pulumi.Input[builtins.str] datacenter: The datacenter to use. This overrides the
|
|
480
484
|
agent's default datacenter and the datacenter in the provider setup.
|
|
481
|
-
:param pulumi.Input[str] namespace: The namespace to create the keys within.
|
|
482
|
-
:param pulumi.Input[str] partition: The admin partition to create the keys within.
|
|
483
|
-
:param pulumi.Input[str] path_prefix: Specifies the common prefix shared by all keys
|
|
485
|
+
:param pulumi.Input[builtins.str] namespace: The namespace to create the keys within.
|
|
486
|
+
:param pulumi.Input[builtins.str] partition: The admin partition to create the keys within.
|
|
487
|
+
:param pulumi.Input[builtins.str] path_prefix: Specifies the common prefix shared by all keys
|
|
484
488
|
that will be managed by this resource instance. In most cases this will
|
|
485
489
|
end with a slash, to manage a "folder" of keys.
|
|
486
490
|
:param pulumi.Input[Sequence[pulumi.Input[Union['KeyPrefixSubkeyCollectionArgs', 'KeyPrefixSubkeyCollectionArgsDict']]]] subkey_collection: A subkey to add. Supported values documented below.
|
|
487
491
|
Multiple blocks supported.
|
|
488
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] subkeys: A mapping from subkey name (which will be appended
|
|
492
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] subkeys: A mapping from subkey name (which will be appended
|
|
489
493
|
to the given `path_prefix`) to the value that should be stored at that key.
|
|
490
494
|
Use slashes, as shown in the above example, to create "sub-folders" under
|
|
491
495
|
the given path prefix.
|
|
492
|
-
:param pulumi.Input[str] token: The ACL token to use. This overrides the
|
|
496
|
+
:param pulumi.Input[builtins.str] token: The ACL token to use. This overrides the
|
|
493
497
|
token that the agent provides by default.
|
|
494
498
|
"""
|
|
495
499
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -507,7 +511,7 @@ class KeyPrefix(pulumi.CustomResource):
|
|
|
507
511
|
|
|
508
512
|
@property
|
|
509
513
|
@pulumi.getter
|
|
510
|
-
def datacenter(self) -> pulumi.Output[str]:
|
|
514
|
+
def datacenter(self) -> pulumi.Output[builtins.str]:
|
|
511
515
|
"""
|
|
512
516
|
The datacenter to use. This overrides the
|
|
513
517
|
agent's default datacenter and the datacenter in the provider setup.
|
|
@@ -516,7 +520,7 @@ class KeyPrefix(pulumi.CustomResource):
|
|
|
516
520
|
|
|
517
521
|
@property
|
|
518
522
|
@pulumi.getter
|
|
519
|
-
def namespace(self) -> pulumi.Output[Optional[str]]:
|
|
523
|
+
def namespace(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
520
524
|
"""
|
|
521
525
|
The namespace to create the keys within.
|
|
522
526
|
"""
|
|
@@ -524,7 +528,7 @@ class KeyPrefix(pulumi.CustomResource):
|
|
|
524
528
|
|
|
525
529
|
@property
|
|
526
530
|
@pulumi.getter
|
|
527
|
-
def partition(self) -> pulumi.Output[Optional[str]]:
|
|
531
|
+
def partition(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
528
532
|
"""
|
|
529
533
|
The admin partition to create the keys within.
|
|
530
534
|
"""
|
|
@@ -532,7 +536,7 @@ class KeyPrefix(pulumi.CustomResource):
|
|
|
532
536
|
|
|
533
537
|
@property
|
|
534
538
|
@pulumi.getter(name="pathPrefix")
|
|
535
|
-
def path_prefix(self) -> pulumi.Output[str]:
|
|
539
|
+
def path_prefix(self) -> pulumi.Output[builtins.str]:
|
|
536
540
|
"""
|
|
537
541
|
Specifies the common prefix shared by all keys
|
|
538
542
|
that will be managed by this resource instance. In most cases this will
|
|
@@ -551,7 +555,7 @@ class KeyPrefix(pulumi.CustomResource):
|
|
|
551
555
|
|
|
552
556
|
@property
|
|
553
557
|
@pulumi.getter
|
|
554
|
-
def subkeys(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
558
|
+
def subkeys(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
|
|
555
559
|
"""
|
|
556
560
|
A mapping from subkey name (which will be appended
|
|
557
561
|
to the given `path_prefix`) to the value that should be stored at that key.
|
|
@@ -564,7 +568,7 @@ class KeyPrefix(pulumi.CustomResource):
|
|
|
564
568
|
@pulumi.getter
|
|
565
569
|
@_utilities.deprecated("""The token argument has been deprecated and will be removed in a future release.
|
|
566
570
|
Please use the token argument in the provider configuration""")
|
|
567
|
-
def token(self) -> pulumi.Output[Optional[str]]:
|
|
571
|
+
def token(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
568
572
|
"""
|
|
569
573
|
The ACL token to use. This overrides the
|
|
570
574
|
token that the agent provides by default.
|