pulumi-consul 3.13.0a1743571864__py3-none-any.whl → 3.13.0a1744182998__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 +141 -140
- pulumi_consul/acl_binding_rule.py +99 -98
- pulumi_consul/acl_policy.py +85 -84
- pulumi_consul/acl_role.py +71 -70
- pulumi_consul/acl_role_policy_attachment.py +29 -28
- pulumi_consul/acl_token.py +113 -112
- pulumi_consul/acl_token_policy_attachment.py +29 -28
- pulumi_consul/acl_token_role_attachment.py +29 -28
- pulumi_consul/admin_partition.py +29 -28
- pulumi_consul/agent_service.py +57 -56
- pulumi_consul/autopilot_config.py +113 -112
- pulumi_consul/catalog_entry.py +57 -56
- pulumi_consul/certificate_authority.py +35 -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 +71 -70
- pulumi_consul/config_entry_service_defaults.py +169 -168
- pulumi_consul/config_entry_service_intentions.py +57 -56
- pulumi_consul/config_entry_service_resolver.py +99 -98
- pulumi_consul/config_entry_service_router.py +57 -56
- pulumi_consul/config_entry_service_splitter.py +57 -56
- pulumi_consul/config_entry_v2_exported_services.py +113 -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 +113 -112
- pulumi_consul/key_prefix.py +85 -84
- pulumi_consul/keys.py +62 -61
- pulumi_consul/license.py +99 -98
- pulumi_consul/namespace.py +85 -84
- pulumi_consul/namespace_policy_attachment.py +29 -28
- pulumi_consul/namespace_role_attachment.py +29 -28
- pulumi_consul/network_area.py +71 -70
- pulumi_consul/node.py +81 -80
- pulumi_consul/outputs.py +1054 -1053
- pulumi_consul/peering.py +83 -82
- pulumi_consul/peering_token.py +60 -59
- pulumi_consul/prepared_query.py +183 -182
- pulumi_consul/provider.py +110 -109
- pulumi_consul/pulumi-plugin.json +1 -1
- pulumi_consul/service.py +165 -164
- {pulumi_consul-3.13.0a1743571864.dist-info → pulumi_consul-3.13.0a1744182998.dist-info}/METADATA +1 -1
- pulumi_consul-3.13.0a1744182998.dist-info/RECORD +72 -0
- pulumi_consul-3.13.0a1743571864.dist-info/RECORD +0 -72
- {pulumi_consul-3.13.0a1743571864.dist-info → pulumi_consul-3.13.0a1744182998.dist-info}/WHEEL +0 -0
- {pulumi_consul-3.13.0a1743571864.dist-info → pulumi_consul-3.13.0a1744182998.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,7 +300,7 @@ 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
|
|
|
@@ -308,13 +309,13 @@ class KeyPrefix(pulumi.CustomResource):
|
|
|
308
309
|
def __init__(__self__,
|
|
309
310
|
resource_name: str,
|
|
310
311
|
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,
|
|
312
|
+
datacenter: Optional[pulumi.Input[builtins.str]] = None,
|
|
313
|
+
namespace: Optional[pulumi.Input[builtins.str]] = None,
|
|
314
|
+
partition: Optional[pulumi.Input[builtins.str]] = None,
|
|
315
|
+
path_prefix: Optional[pulumi.Input[builtins.str]] = None,
|
|
315
316
|
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,
|
|
317
|
+
subkeys: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
318
|
+
token: Optional[pulumi.Input[builtins.str]] = None,
|
|
318
319
|
__props__=None):
|
|
319
320
|
"""
|
|
320
321
|
## Example Usage
|
|
@@ -353,20 +354,20 @@ class KeyPrefix(pulumi.CustomResource):
|
|
|
353
354
|
|
|
354
355
|
:param str resource_name: The name of the resource.
|
|
355
356
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
356
|
-
:param pulumi.Input[str] datacenter: The datacenter to use. This overrides the
|
|
357
|
+
:param pulumi.Input[builtins.str] datacenter: The datacenter to use. This overrides the
|
|
357
358
|
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
|
|
359
|
+
:param pulumi.Input[builtins.str] namespace: The namespace to create the keys within.
|
|
360
|
+
:param pulumi.Input[builtins.str] partition: The admin partition to create the keys within.
|
|
361
|
+
:param pulumi.Input[builtins.str] path_prefix: Specifies the common prefix shared by all keys
|
|
361
362
|
that will be managed by this resource instance. In most cases this will
|
|
362
363
|
end with a slash, to manage a "folder" of keys.
|
|
363
364
|
:param pulumi.Input[Sequence[pulumi.Input[Union['KeyPrefixSubkeyCollectionArgs', 'KeyPrefixSubkeyCollectionArgsDict']]]] subkey_collection: A subkey to add. Supported values documented below.
|
|
364
365
|
Multiple blocks supported.
|
|
365
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] subkeys: A mapping from subkey name (which will be appended
|
|
366
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] subkeys: A mapping from subkey name (which will be appended
|
|
366
367
|
to the given `path_prefix`) to the value that should be stored at that key.
|
|
367
368
|
Use slashes, as shown in the above example, to create "sub-folders" under
|
|
368
369
|
the given path prefix.
|
|
369
|
-
:param pulumi.Input[str] token: The ACL token to use. This overrides the
|
|
370
|
+
:param pulumi.Input[builtins.str] token: The ACL token to use. This overrides the
|
|
370
371
|
token that the agent provides by default.
|
|
371
372
|
"""
|
|
372
373
|
...
|
|
@@ -425,13 +426,13 @@ class KeyPrefix(pulumi.CustomResource):
|
|
|
425
426
|
def _internal_init(__self__,
|
|
426
427
|
resource_name: str,
|
|
427
428
|
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,
|
|
429
|
+
datacenter: Optional[pulumi.Input[builtins.str]] = None,
|
|
430
|
+
namespace: Optional[pulumi.Input[builtins.str]] = None,
|
|
431
|
+
partition: Optional[pulumi.Input[builtins.str]] = None,
|
|
432
|
+
path_prefix: Optional[pulumi.Input[builtins.str]] = None,
|
|
432
433
|
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,
|
|
434
|
+
subkeys: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
435
|
+
token: Optional[pulumi.Input[builtins.str]] = None,
|
|
435
436
|
__props__=None):
|
|
436
437
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
437
438
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -462,13 +463,13 @@ class KeyPrefix(pulumi.CustomResource):
|
|
|
462
463
|
def get(resource_name: str,
|
|
463
464
|
id: pulumi.Input[str],
|
|
464
465
|
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,
|
|
466
|
+
datacenter: Optional[pulumi.Input[builtins.str]] = None,
|
|
467
|
+
namespace: Optional[pulumi.Input[builtins.str]] = None,
|
|
468
|
+
partition: Optional[pulumi.Input[builtins.str]] = None,
|
|
469
|
+
path_prefix: Optional[pulumi.Input[builtins.str]] = None,
|
|
469
470
|
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':
|
|
471
|
+
subkeys: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
472
|
+
token: Optional[pulumi.Input[builtins.str]] = None) -> 'KeyPrefix':
|
|
472
473
|
"""
|
|
473
474
|
Get an existing KeyPrefix resource's state with the given name, id, and optional extra
|
|
474
475
|
properties used to qualify the lookup.
|
|
@@ -476,20 +477,20 @@ class KeyPrefix(pulumi.CustomResource):
|
|
|
476
477
|
:param str resource_name: The unique name of the resulting resource.
|
|
477
478
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
478
479
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
479
|
-
:param pulumi.Input[str] datacenter: The datacenter to use. This overrides the
|
|
480
|
+
:param pulumi.Input[builtins.str] datacenter: The datacenter to use. This overrides the
|
|
480
481
|
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
|
|
482
|
+
:param pulumi.Input[builtins.str] namespace: The namespace to create the keys within.
|
|
483
|
+
:param pulumi.Input[builtins.str] partition: The admin partition to create the keys within.
|
|
484
|
+
:param pulumi.Input[builtins.str] path_prefix: Specifies the common prefix shared by all keys
|
|
484
485
|
that will be managed by this resource instance. In most cases this will
|
|
485
486
|
end with a slash, to manage a "folder" of keys.
|
|
486
487
|
:param pulumi.Input[Sequence[pulumi.Input[Union['KeyPrefixSubkeyCollectionArgs', 'KeyPrefixSubkeyCollectionArgsDict']]]] subkey_collection: A subkey to add. Supported values documented below.
|
|
487
488
|
Multiple blocks supported.
|
|
488
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] subkeys: A mapping from subkey name (which will be appended
|
|
489
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] subkeys: A mapping from subkey name (which will be appended
|
|
489
490
|
to the given `path_prefix`) to the value that should be stored at that key.
|
|
490
491
|
Use slashes, as shown in the above example, to create "sub-folders" under
|
|
491
492
|
the given path prefix.
|
|
492
|
-
:param pulumi.Input[str] token: The ACL token to use. This overrides the
|
|
493
|
+
:param pulumi.Input[builtins.str] token: The ACL token to use. This overrides the
|
|
493
494
|
token that the agent provides by default.
|
|
494
495
|
"""
|
|
495
496
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -507,7 +508,7 @@ class KeyPrefix(pulumi.CustomResource):
|
|
|
507
508
|
|
|
508
509
|
@property
|
|
509
510
|
@pulumi.getter
|
|
510
|
-
def datacenter(self) -> pulumi.Output[str]:
|
|
511
|
+
def datacenter(self) -> pulumi.Output[builtins.str]:
|
|
511
512
|
"""
|
|
512
513
|
The datacenter to use. This overrides the
|
|
513
514
|
agent's default datacenter and the datacenter in the provider setup.
|
|
@@ -516,7 +517,7 @@ class KeyPrefix(pulumi.CustomResource):
|
|
|
516
517
|
|
|
517
518
|
@property
|
|
518
519
|
@pulumi.getter
|
|
519
|
-
def namespace(self) -> pulumi.Output[Optional[str]]:
|
|
520
|
+
def namespace(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
520
521
|
"""
|
|
521
522
|
The namespace to create the keys within.
|
|
522
523
|
"""
|
|
@@ -524,7 +525,7 @@ class KeyPrefix(pulumi.CustomResource):
|
|
|
524
525
|
|
|
525
526
|
@property
|
|
526
527
|
@pulumi.getter
|
|
527
|
-
def partition(self) -> pulumi.Output[Optional[str]]:
|
|
528
|
+
def partition(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
528
529
|
"""
|
|
529
530
|
The admin partition to create the keys within.
|
|
530
531
|
"""
|
|
@@ -532,7 +533,7 @@ class KeyPrefix(pulumi.CustomResource):
|
|
|
532
533
|
|
|
533
534
|
@property
|
|
534
535
|
@pulumi.getter(name="pathPrefix")
|
|
535
|
-
def path_prefix(self) -> pulumi.Output[str]:
|
|
536
|
+
def path_prefix(self) -> pulumi.Output[builtins.str]:
|
|
536
537
|
"""
|
|
537
538
|
Specifies the common prefix shared by all keys
|
|
538
539
|
that will be managed by this resource instance. In most cases this will
|
|
@@ -551,7 +552,7 @@ class KeyPrefix(pulumi.CustomResource):
|
|
|
551
552
|
|
|
552
553
|
@property
|
|
553
554
|
@pulumi.getter
|
|
554
|
-
def subkeys(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
555
|
+
def subkeys(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
|
|
555
556
|
"""
|
|
556
557
|
A mapping from subkey name (which will be appended
|
|
557
558
|
to the given `path_prefix`) to the value that should be stored at that key.
|
|
@@ -564,7 +565,7 @@ class KeyPrefix(pulumi.CustomResource):
|
|
|
564
565
|
@pulumi.getter
|
|
565
566
|
@_utilities.deprecated("""The token argument has been deprecated and will be removed in a future release.
|
|
566
567
|
Please use the token argument in the provider configuration""")
|
|
567
|
-
def token(self) -> pulumi.Output[Optional[str]]:
|
|
568
|
+
def token(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
568
569
|
"""
|
|
569
570
|
The ACL token to use. This overrides the
|
|
570
571
|
token that the agent provides by default.
|