pulumi-consul 3.13.0a1743571864__py3-none-any.whl → 3.13.0a1744263036__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.

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