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.
Files changed (71) hide show
  1. pulumi_consul/__init__.py +1 -1
  2. pulumi_consul/_inputs.py +1604 -1605
  3. pulumi_consul/acl_auth_method.py +174 -175
  4. pulumi_consul/acl_binding_rule.py +123 -124
  5. pulumi_consul/acl_policy.py +107 -108
  6. pulumi_consul/acl_role.py +95 -96
  7. pulumi_consul/acl_role_policy_attachment.py +35 -36
  8. pulumi_consul/acl_token.py +154 -155
  9. pulumi_consul/acl_token_policy_attachment.py +35 -36
  10. pulumi_consul/acl_token_role_attachment.py +35 -36
  11. pulumi_consul/admin_partition.py +82 -36
  12. pulumi_consul/agent_service.py +69 -70
  13. pulumi_consul/autopilot_config.py +137 -138
  14. pulumi_consul/catalog_entry.py +114 -73
  15. pulumi_consul/certificate_authority.py +44 -45
  16. pulumi_consul/config/__init__.py +1 -1
  17. pulumi_consul/config/__init__.pyi +6 -12
  18. pulumi_consul/config/outputs.py +24 -25
  19. pulumi_consul/config/vars.py +22 -28
  20. pulumi_consul/config_entry.py +86 -87
  21. pulumi_consul/config_entry_service_defaults.py +275 -224
  22. pulumi_consul/config_entry_service_intentions.py +75 -76
  23. pulumi_consul/config_entry_service_resolver.py +132 -133
  24. pulumi_consul/config_entry_service_router.py +72 -73
  25. pulumi_consul/config_entry_service_splitter.py +72 -73
  26. pulumi_consul/config_entry_v2_exported_services.py +137 -138
  27. pulumi_consul/get_acl_auth_method.py +36 -37
  28. pulumi_consul/get_acl_policy.py +27 -28
  29. pulumi_consul/get_acl_role.py +27 -28
  30. pulumi_consul/get_acl_token.py +32 -33
  31. pulumi_consul/get_acl_token_secret_id.py +29 -30
  32. pulumi_consul/get_agent_config.py +15 -16
  33. pulumi_consul/get_agent_self.py +149 -146
  34. pulumi_consul/get_autopilot_health.py +14 -15
  35. pulumi_consul/get_catalog_nodes.py +45 -12
  36. pulumi_consul/get_catalog_service.py +27 -28
  37. pulumi_consul/get_catalog_services.py +12 -13
  38. pulumi_consul/get_config_entry.py +29 -30
  39. pulumi_consul/get_config_entry_v2_exported_services.py +51 -52
  40. pulumi_consul/get_datacenters.py +73 -6
  41. pulumi_consul/get_key_prefix.py +38 -39
  42. pulumi_consul/get_keys.py +36 -37
  43. pulumi_consul/get_network_area_members.py +22 -23
  44. pulumi_consul/get_network_segments.py +17 -18
  45. pulumi_consul/get_nodes.py +45 -12
  46. pulumi_consul/get_peering.py +25 -26
  47. pulumi_consul/get_peerings.py +8 -9
  48. pulumi_consul/get_service.py +27 -28
  49. pulumi_consul/get_service_health.py +54 -51
  50. pulumi_consul/get_services.py +12 -13
  51. pulumi_consul/intention.py +137 -138
  52. pulumi_consul/key_prefix.py +106 -107
  53. pulumi_consul/keys.py +79 -80
  54. pulumi_consul/license.py +125 -126
  55. pulumi_consul/namespace.py +103 -104
  56. pulumi_consul/namespace_policy_attachment.py +35 -36
  57. pulumi_consul/namespace_role_attachment.py +35 -36
  58. pulumi_consul/network_area.py +86 -87
  59. pulumi_consul/node.py +99 -100
  60. pulumi_consul/outputs.py +1464 -1465
  61. pulumi_consul/peering.py +107 -108
  62. pulumi_consul/peering_token.py +74 -75
  63. pulumi_consul/prepared_query.py +231 -232
  64. pulumi_consul/provider.py +150 -169
  65. pulumi_consul/pulumi-plugin.json +1 -1
  66. pulumi_consul/service.py +251 -205
  67. {pulumi_consul-3.13.0a1749706342.dist-info → pulumi_consul-3.14.0a1768432677.dist-info}/METADATA +1 -1
  68. pulumi_consul-3.14.0a1768432677.dist-info/RECORD +72 -0
  69. pulumi_consul-3.13.0a1749706342.dist-info/RECORD +0 -72
  70. {pulumi_consul-3.13.0a1749706342.dist-info → pulumi_consul-3.14.0a1768432677.dist-info}/WHEEL +0 -0
  71. {pulumi_consul-3.13.0a1749706342.dist-info → pulumi_consul-3.14.0a1768432677.dist-info}/top_level.txt +0 -0
@@ -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,29 +21,29 @@ __all__ = ['KeyPrefixArgs', 'KeyPrefix']
22
21
  @pulumi.input_type
23
22
  class KeyPrefixArgs:
24
23
  def __init__(__self__, *,
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,
24
+ path_prefix: pulumi.Input[_builtins.str],
25
+ datacenter: Optional[pulumi.Input[_builtins.str]] = None,
26
+ namespace: Optional[pulumi.Input[_builtins.str]] = None,
27
+ partition: Optional[pulumi.Input[_builtins.str]] = None,
29
28
  subkey_collection: Optional[pulumi.Input[Sequence[pulumi.Input['KeyPrefixSubkeyCollectionArgs']]]] = None,
30
- subkeys: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
31
- token: Optional[pulumi.Input[builtins.str]] = None):
29
+ subkeys: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
30
+ token: Optional[pulumi.Input[_builtins.str]] = None):
32
31
  """
33
32
  The set of arguments for constructing a KeyPrefix resource.
34
- :param pulumi.Input[builtins.str] path_prefix: Specifies the common prefix shared by all keys
33
+ :param pulumi.Input[_builtins.str] path_prefix: Specifies the common prefix shared by all keys
35
34
  that will be managed by this resource instance. In most cases this will
36
35
  end with a slash, to manage a "folder" of keys.
37
- :param pulumi.Input[builtins.str] datacenter: The datacenter to use. This overrides the
36
+ :param pulumi.Input[_builtins.str] datacenter: The datacenter to use. This overrides the
38
37
  agent's default datacenter and the datacenter in the provider setup.
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.
38
+ :param pulumi.Input[_builtins.str] namespace: The namespace to create the keys within.
39
+ :param pulumi.Input[_builtins.str] partition: The admin partition to create the keys within.
41
40
  :param pulumi.Input[Sequence[pulumi.Input['KeyPrefixSubkeyCollectionArgs']]] subkey_collection: A subkey to add. Supported values documented below.
42
41
  Multiple blocks supported.
43
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] subkeys: A mapping from subkey name (which will be appended
42
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] subkeys: A mapping from subkey name (which will be appended
44
43
  to the given `path_prefix`) to the value that should be stored at that key.
45
44
  Use slashes, as shown in the above example, to create "sub-folders" under
46
45
  the given path prefix.
47
- :param pulumi.Input[builtins.str] token: The ACL token to use. This overrides the
46
+ :param pulumi.Input[_builtins.str] token: The ACL token to use. This overrides the
48
47
  token that the agent provides by default.
49
48
  """
50
49
  pulumi.set(__self__, "path_prefix", path_prefix)
@@ -66,9 +65,9 @@ Please use the token argument in the provider configuration""")
66
65
  if token is not None:
67
66
  pulumi.set(__self__, "token", token)
68
67
 
69
- @property
68
+ @_builtins.property
70
69
  @pulumi.getter(name="pathPrefix")
71
- def path_prefix(self) -> pulumi.Input[builtins.str]:
70
+ def path_prefix(self) -> pulumi.Input[_builtins.str]:
72
71
  """
73
72
  Specifies the common prefix shared by all keys
74
73
  that will be managed by this resource instance. In most cases this will
@@ -77,12 +76,12 @@ Please use the token argument in the provider configuration""")
77
76
  return pulumi.get(self, "path_prefix")
78
77
 
79
78
  @path_prefix.setter
80
- def path_prefix(self, value: pulumi.Input[builtins.str]):
79
+ def path_prefix(self, value: pulumi.Input[_builtins.str]):
81
80
  pulumi.set(self, "path_prefix", value)
82
81
 
83
- @property
82
+ @_builtins.property
84
83
  @pulumi.getter
85
- def datacenter(self) -> Optional[pulumi.Input[builtins.str]]:
84
+ def datacenter(self) -> Optional[pulumi.Input[_builtins.str]]:
86
85
  """
87
86
  The datacenter to use. This overrides the
88
87
  agent's default datacenter and the datacenter in the provider setup.
@@ -90,34 +89,34 @@ Please use the token argument in the provider configuration""")
90
89
  return pulumi.get(self, "datacenter")
91
90
 
92
91
  @datacenter.setter
93
- def datacenter(self, value: Optional[pulumi.Input[builtins.str]]):
92
+ def datacenter(self, value: Optional[pulumi.Input[_builtins.str]]):
94
93
  pulumi.set(self, "datacenter", value)
95
94
 
96
- @property
95
+ @_builtins.property
97
96
  @pulumi.getter
98
- def namespace(self) -> Optional[pulumi.Input[builtins.str]]:
97
+ def namespace(self) -> Optional[pulumi.Input[_builtins.str]]:
99
98
  """
100
99
  The namespace to create the keys within.
101
100
  """
102
101
  return pulumi.get(self, "namespace")
103
102
 
104
103
  @namespace.setter
105
- def namespace(self, value: Optional[pulumi.Input[builtins.str]]):
104
+ def namespace(self, value: Optional[pulumi.Input[_builtins.str]]):
106
105
  pulumi.set(self, "namespace", value)
107
106
 
108
- @property
107
+ @_builtins.property
109
108
  @pulumi.getter
110
- def partition(self) -> Optional[pulumi.Input[builtins.str]]:
109
+ def partition(self) -> Optional[pulumi.Input[_builtins.str]]:
111
110
  """
112
111
  The admin partition to create the keys within.
113
112
  """
114
113
  return pulumi.get(self, "partition")
115
114
 
116
115
  @partition.setter
117
- def partition(self, value: Optional[pulumi.Input[builtins.str]]):
116
+ def partition(self, value: Optional[pulumi.Input[_builtins.str]]):
118
117
  pulumi.set(self, "partition", value)
119
118
 
120
- @property
119
+ @_builtins.property
121
120
  @pulumi.getter(name="subkeyCollection")
122
121
  def subkey_collection(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KeyPrefixSubkeyCollectionArgs']]]]:
123
122
  """
@@ -130,9 +129,9 @@ Please use the token argument in the provider configuration""")
130
129
  def subkey_collection(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['KeyPrefixSubkeyCollectionArgs']]]]):
131
130
  pulumi.set(self, "subkey_collection", value)
132
131
 
133
- @property
132
+ @_builtins.property
134
133
  @pulumi.getter
135
- def subkeys(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
134
+ def subkeys(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
136
135
  """
137
136
  A mapping from subkey name (which will be appended
138
137
  to the given `path_prefix`) to the value that should be stored at that key.
@@ -142,14 +141,14 @@ Please use the token argument in the provider configuration""")
142
141
  return pulumi.get(self, "subkeys")
143
142
 
144
143
  @subkeys.setter
145
- def subkeys(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
144
+ def subkeys(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
146
145
  pulumi.set(self, "subkeys", value)
147
146
 
148
- @property
147
+ @_builtins.property
149
148
  @pulumi.getter
150
149
  @_utilities.deprecated("""The token argument has been deprecated and will be removed in a future release.
151
150
  Please use the token argument in the provider configuration""")
152
- def token(self) -> Optional[pulumi.Input[builtins.str]]:
151
+ def token(self) -> Optional[pulumi.Input[_builtins.str]]:
153
152
  """
154
153
  The ACL token to use. This overrides the
155
154
  token that the agent provides by default.
@@ -157,36 +156,36 @@ Please use the token argument in the provider configuration""")
157
156
  return pulumi.get(self, "token")
158
157
 
159
158
  @token.setter
160
- def token(self, value: Optional[pulumi.Input[builtins.str]]):
159
+ def token(self, value: Optional[pulumi.Input[_builtins.str]]):
161
160
  pulumi.set(self, "token", value)
162
161
 
163
162
 
164
163
  @pulumi.input_type
165
164
  class _KeyPrefixState:
166
165
  def __init__(__self__, *,
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,
166
+ datacenter: Optional[pulumi.Input[_builtins.str]] = None,
167
+ namespace: Optional[pulumi.Input[_builtins.str]] = None,
168
+ partition: Optional[pulumi.Input[_builtins.str]] = None,
169
+ path_prefix: Optional[pulumi.Input[_builtins.str]] = None,
171
170
  subkey_collection: Optional[pulumi.Input[Sequence[pulumi.Input['KeyPrefixSubkeyCollectionArgs']]]] = None,
172
- subkeys: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
173
- token: Optional[pulumi.Input[builtins.str]] = None):
171
+ subkeys: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
172
+ token: Optional[pulumi.Input[_builtins.str]] = None):
174
173
  """
175
174
  Input properties used for looking up and filtering KeyPrefix resources.
176
- :param pulumi.Input[builtins.str] datacenter: The datacenter to use. This overrides the
175
+ :param pulumi.Input[_builtins.str] datacenter: The datacenter to use. This overrides the
177
176
  agent's default datacenter and the datacenter in the provider setup.
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
177
+ :param pulumi.Input[_builtins.str] namespace: The namespace to create the keys within.
178
+ :param pulumi.Input[_builtins.str] partition: The admin partition to create the keys within.
179
+ :param pulumi.Input[_builtins.str] path_prefix: Specifies the common prefix shared by all keys
181
180
  that will be managed by this resource instance. In most cases this will
182
181
  end with a slash, to manage a "folder" of keys.
183
182
  :param pulumi.Input[Sequence[pulumi.Input['KeyPrefixSubkeyCollectionArgs']]] subkey_collection: A subkey to add. Supported values documented below.
184
183
  Multiple blocks supported.
185
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] subkeys: A mapping from subkey name (which will be appended
184
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] subkeys: A mapping from subkey name (which will be appended
186
185
  to the given `path_prefix`) to the value that should be stored at that key.
187
186
  Use slashes, as shown in the above example, to create "sub-folders" under
188
187
  the given path prefix.
189
- :param pulumi.Input[builtins.str] token: The ACL token to use. This overrides the
188
+ :param pulumi.Input[_builtins.str] token: The ACL token to use. This overrides the
190
189
  token that the agent provides by default.
191
190
  """
192
191
  if datacenter is not None:
@@ -209,9 +208,9 @@ Please use the token argument in the provider configuration""")
209
208
  if token is not None:
210
209
  pulumi.set(__self__, "token", token)
211
210
 
212
- @property
211
+ @_builtins.property
213
212
  @pulumi.getter
214
- def datacenter(self) -> Optional[pulumi.Input[builtins.str]]:
213
+ def datacenter(self) -> Optional[pulumi.Input[_builtins.str]]:
215
214
  """
216
215
  The datacenter to use. This overrides the
217
216
  agent's default datacenter and the datacenter in the provider setup.
@@ -219,36 +218,36 @@ Please use the token argument in the provider configuration""")
219
218
  return pulumi.get(self, "datacenter")
220
219
 
221
220
  @datacenter.setter
222
- def datacenter(self, value: Optional[pulumi.Input[builtins.str]]):
221
+ def datacenter(self, value: Optional[pulumi.Input[_builtins.str]]):
223
222
  pulumi.set(self, "datacenter", value)
224
223
 
225
- @property
224
+ @_builtins.property
226
225
  @pulumi.getter
227
- def namespace(self) -> Optional[pulumi.Input[builtins.str]]:
226
+ def namespace(self) -> Optional[pulumi.Input[_builtins.str]]:
228
227
  """
229
228
  The namespace to create the keys within.
230
229
  """
231
230
  return pulumi.get(self, "namespace")
232
231
 
233
232
  @namespace.setter
234
- def namespace(self, value: Optional[pulumi.Input[builtins.str]]):
233
+ def namespace(self, value: Optional[pulumi.Input[_builtins.str]]):
235
234
  pulumi.set(self, "namespace", value)
236
235
 
237
- @property
236
+ @_builtins.property
238
237
  @pulumi.getter
239
- def partition(self) -> Optional[pulumi.Input[builtins.str]]:
238
+ def partition(self) -> Optional[pulumi.Input[_builtins.str]]:
240
239
  """
241
240
  The admin partition to create the keys within.
242
241
  """
243
242
  return pulumi.get(self, "partition")
244
243
 
245
244
  @partition.setter
246
- def partition(self, value: Optional[pulumi.Input[builtins.str]]):
245
+ def partition(self, value: Optional[pulumi.Input[_builtins.str]]):
247
246
  pulumi.set(self, "partition", value)
248
247
 
249
- @property
248
+ @_builtins.property
250
249
  @pulumi.getter(name="pathPrefix")
251
- def path_prefix(self) -> Optional[pulumi.Input[builtins.str]]:
250
+ def path_prefix(self) -> Optional[pulumi.Input[_builtins.str]]:
252
251
  """
253
252
  Specifies the common prefix shared by all keys
254
253
  that will be managed by this resource instance. In most cases this will
@@ -257,10 +256,10 @@ Please use the token argument in the provider configuration""")
257
256
  return pulumi.get(self, "path_prefix")
258
257
 
259
258
  @path_prefix.setter
260
- def path_prefix(self, value: Optional[pulumi.Input[builtins.str]]):
259
+ def path_prefix(self, value: Optional[pulumi.Input[_builtins.str]]):
261
260
  pulumi.set(self, "path_prefix", value)
262
261
 
263
- @property
262
+ @_builtins.property
264
263
  @pulumi.getter(name="subkeyCollection")
265
264
  def subkey_collection(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KeyPrefixSubkeyCollectionArgs']]]]:
266
265
  """
@@ -273,9 +272,9 @@ Please use the token argument in the provider configuration""")
273
272
  def subkey_collection(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['KeyPrefixSubkeyCollectionArgs']]]]):
274
273
  pulumi.set(self, "subkey_collection", value)
275
274
 
276
- @property
275
+ @_builtins.property
277
276
  @pulumi.getter
278
- def subkeys(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
277
+ def subkeys(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
279
278
  """
280
279
  A mapping from subkey name (which will be appended
281
280
  to the given `path_prefix`) to the value that should be stored at that key.
@@ -285,14 +284,14 @@ Please use the token argument in the provider configuration""")
285
284
  return pulumi.get(self, "subkeys")
286
285
 
287
286
  @subkeys.setter
288
- def subkeys(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
287
+ def subkeys(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
289
288
  pulumi.set(self, "subkeys", value)
290
289
 
291
- @property
290
+ @_builtins.property
292
291
  @pulumi.getter
293
292
  @_utilities.deprecated("""The token argument has been deprecated and will be removed in a future release.
294
293
  Please use the token argument in the provider configuration""")
295
- def token(self) -> Optional[pulumi.Input[builtins.str]]:
294
+ def token(self) -> Optional[pulumi.Input[_builtins.str]]:
296
295
  """
297
296
  The ACL token to use. This overrides the
298
297
  token that the agent provides by default.
@@ -300,7 +299,7 @@ Please use the token argument in the provider configuration""")
300
299
  return pulumi.get(self, "token")
301
300
 
302
301
  @token.setter
303
- def token(self, value: Optional[pulumi.Input[builtins.str]]):
302
+ def token(self, value: Optional[pulumi.Input[_builtins.str]]):
304
303
  pulumi.set(self, "token", value)
305
304
 
306
305
 
@@ -310,13 +309,13 @@ class KeyPrefix(pulumi.CustomResource):
310
309
  def __init__(__self__,
311
310
  resource_name: str,
312
311
  opts: Optional[pulumi.ResourceOptions] = None,
313
- datacenter: Optional[pulumi.Input[builtins.str]] = None,
314
- namespace: Optional[pulumi.Input[builtins.str]] = None,
315
- partition: Optional[pulumi.Input[builtins.str]] = None,
316
- path_prefix: Optional[pulumi.Input[builtins.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,
317
316
  subkey_collection: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KeyPrefixSubkeyCollectionArgs', 'KeyPrefixSubkeyCollectionArgsDict']]]]] = None,
318
- subkeys: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
319
- token: Optional[pulumi.Input[builtins.str]] = None,
317
+ subkeys: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
318
+ token: Optional[pulumi.Input[_builtins.str]] = None,
320
319
  __props__=None):
321
320
  """
322
321
  ## Example Usage
@@ -355,20 +354,20 @@ class KeyPrefix(pulumi.CustomResource):
355
354
 
356
355
  :param str resource_name: The name of the resource.
357
356
  :param pulumi.ResourceOptions opts: Options for the resource.
358
- :param pulumi.Input[builtins.str] datacenter: The datacenter to use. This overrides the
357
+ :param pulumi.Input[_builtins.str] datacenter: The datacenter to use. This overrides the
359
358
  agent's default datacenter and the datacenter in the provider setup.
360
- :param pulumi.Input[builtins.str] namespace: The namespace to create the keys within.
361
- :param pulumi.Input[builtins.str] partition: The admin partition to create the keys within.
362
- :param pulumi.Input[builtins.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
363
362
  that will be managed by this resource instance. In most cases this will
364
363
  end with a slash, to manage a "folder" of keys.
365
364
  :param pulumi.Input[Sequence[pulumi.Input[Union['KeyPrefixSubkeyCollectionArgs', 'KeyPrefixSubkeyCollectionArgsDict']]]] subkey_collection: A subkey to add. Supported values documented below.
366
365
  Multiple blocks supported.
367
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.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
368
367
  to the given `path_prefix`) to the value that should be stored at that key.
369
368
  Use slashes, as shown in the above example, to create "sub-folders" under
370
369
  the given path prefix.
371
- :param pulumi.Input[builtins.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
372
371
  token that the agent provides by default.
373
372
  """
374
373
  ...
@@ -427,13 +426,13 @@ class KeyPrefix(pulumi.CustomResource):
427
426
  def _internal_init(__self__,
428
427
  resource_name: str,
429
428
  opts: Optional[pulumi.ResourceOptions] = None,
430
- datacenter: Optional[pulumi.Input[builtins.str]] = None,
431
- namespace: Optional[pulumi.Input[builtins.str]] = None,
432
- partition: Optional[pulumi.Input[builtins.str]] = None,
433
- path_prefix: Optional[pulumi.Input[builtins.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,
434
433
  subkey_collection: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KeyPrefixSubkeyCollectionArgs', 'KeyPrefixSubkeyCollectionArgsDict']]]]] = None,
435
- subkeys: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
436
- token: Optional[pulumi.Input[builtins.str]] = None,
434
+ subkeys: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
435
+ token: Optional[pulumi.Input[_builtins.str]] = None,
437
436
  __props__=None):
438
437
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
439
438
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -464,13 +463,13 @@ class KeyPrefix(pulumi.CustomResource):
464
463
  def get(resource_name: str,
465
464
  id: pulumi.Input[str],
466
465
  opts: Optional[pulumi.ResourceOptions] = None,
467
- datacenter: Optional[pulumi.Input[builtins.str]] = None,
468
- namespace: Optional[pulumi.Input[builtins.str]] = None,
469
- partition: Optional[pulumi.Input[builtins.str]] = None,
470
- path_prefix: Optional[pulumi.Input[builtins.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,
471
470
  subkey_collection: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KeyPrefixSubkeyCollectionArgs', 'KeyPrefixSubkeyCollectionArgsDict']]]]] = None,
472
- subkeys: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
473
- token: Optional[pulumi.Input[builtins.str]] = None) -> 'KeyPrefix':
471
+ subkeys: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
472
+ token: Optional[pulumi.Input[_builtins.str]] = None) -> 'KeyPrefix':
474
473
  """
475
474
  Get an existing KeyPrefix resource's state with the given name, id, and optional extra
476
475
  properties used to qualify the lookup.
@@ -478,20 +477,20 @@ class KeyPrefix(pulumi.CustomResource):
478
477
  :param str resource_name: The unique name of the resulting resource.
479
478
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
480
479
  :param pulumi.ResourceOptions opts: Options for the resource.
481
- :param pulumi.Input[builtins.str] datacenter: The datacenter to use. This overrides the
480
+ :param pulumi.Input[_builtins.str] datacenter: The datacenter to use. This overrides the
482
481
  agent's default datacenter and the datacenter in the provider setup.
483
- :param pulumi.Input[builtins.str] namespace: The namespace to create the keys within.
484
- :param pulumi.Input[builtins.str] partition: The admin partition to create the keys within.
485
- :param pulumi.Input[builtins.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
486
485
  that will be managed by this resource instance. In most cases this will
487
486
  end with a slash, to manage a "folder" of keys.
488
487
  :param pulumi.Input[Sequence[pulumi.Input[Union['KeyPrefixSubkeyCollectionArgs', 'KeyPrefixSubkeyCollectionArgsDict']]]] subkey_collection: A subkey to add. Supported values documented below.
489
488
  Multiple blocks supported.
490
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.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
491
490
  to the given `path_prefix`) to the value that should be stored at that key.
492
491
  Use slashes, as shown in the above example, to create "sub-folders" under
493
492
  the given path prefix.
494
- :param pulumi.Input[builtins.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
495
494
  token that the agent provides by default.
496
495
  """
497
496
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -507,34 +506,34 @@ class KeyPrefix(pulumi.CustomResource):
507
506
  __props__.__dict__["token"] = token
508
507
  return KeyPrefix(resource_name, opts=opts, __props__=__props__)
509
508
 
510
- @property
509
+ @_builtins.property
511
510
  @pulumi.getter
512
- def datacenter(self) -> pulumi.Output[builtins.str]:
511
+ def datacenter(self) -> pulumi.Output[_builtins.str]:
513
512
  """
514
513
  The datacenter to use. This overrides the
515
514
  agent's default datacenter and the datacenter in the provider setup.
516
515
  """
517
516
  return pulumi.get(self, "datacenter")
518
517
 
519
- @property
518
+ @_builtins.property
520
519
  @pulumi.getter
521
- def namespace(self) -> pulumi.Output[Optional[builtins.str]]:
520
+ def namespace(self) -> pulumi.Output[Optional[_builtins.str]]:
522
521
  """
523
522
  The namespace to create the keys within.
524
523
  """
525
524
  return pulumi.get(self, "namespace")
526
525
 
527
- @property
526
+ @_builtins.property
528
527
  @pulumi.getter
529
- def partition(self) -> pulumi.Output[Optional[builtins.str]]:
528
+ def partition(self) -> pulumi.Output[Optional[_builtins.str]]:
530
529
  """
531
530
  The admin partition to create the keys within.
532
531
  """
533
532
  return pulumi.get(self, "partition")
534
533
 
535
- @property
534
+ @_builtins.property
536
535
  @pulumi.getter(name="pathPrefix")
537
- def path_prefix(self) -> pulumi.Output[builtins.str]:
536
+ def path_prefix(self) -> pulumi.Output[_builtins.str]:
538
537
  """
539
538
  Specifies the common prefix shared by all keys
540
539
  that will be managed by this resource instance. In most cases this will
@@ -542,7 +541,7 @@ class KeyPrefix(pulumi.CustomResource):
542
541
  """
543
542
  return pulumi.get(self, "path_prefix")
544
543
 
545
- @property
544
+ @_builtins.property
546
545
  @pulumi.getter(name="subkeyCollection")
547
546
  def subkey_collection(self) -> pulumi.Output[Optional[Sequence['outputs.KeyPrefixSubkeyCollection']]]:
548
547
  """
@@ -551,9 +550,9 @@ class KeyPrefix(pulumi.CustomResource):
551
550
  """
552
551
  return pulumi.get(self, "subkey_collection")
553
552
 
554
- @property
553
+ @_builtins.property
555
554
  @pulumi.getter
556
- def subkeys(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
555
+ def subkeys(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
557
556
  """
558
557
  A mapping from subkey name (which will be appended
559
558
  to the given `path_prefix`) to the value that should be stored at that key.
@@ -562,11 +561,11 @@ class KeyPrefix(pulumi.CustomResource):
562
561
  """
563
562
  return pulumi.get(self, "subkeys")
564
563
 
565
- @property
564
+ @_builtins.property
566
565
  @pulumi.getter
567
566
  @_utilities.deprecated("""The token argument has been deprecated and will be removed in a future release.
568
567
  Please use the token argument in the provider configuration""")
569
- def token(self) -> pulumi.Output[Optional[builtins.str]]:
568
+ def token(self) -> pulumi.Output[Optional[_builtins.str]]:
570
569
  """
571
570
  The ACL token to use. This overrides the
572
571
  token that the agent provides by default.