pulumi-consul 3.12.4a1739378040__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.

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 +144 -140
  4. pulumi_consul/acl_binding_rule.py +102 -98
  5. pulumi_consul/acl_policy.py +88 -84
  6. pulumi_consul/acl_role.py +74 -70
  7. pulumi_consul/acl_role_policy_attachment.py +32 -28
  8. pulumi_consul/acl_token.py +116 -112
  9. pulumi_consul/acl_token_policy_attachment.py +32 -28
  10. pulumi_consul/acl_token_role_attachment.py +32 -28
  11. pulumi_consul/admin_partition.py +32 -28
  12. pulumi_consul/agent_service.py +60 -56
  13. pulumi_consul/autopilot_config.py +116 -112
  14. pulumi_consul/catalog_entry.py +60 -56
  15. pulumi_consul/certificate_authority.py +38 -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 +74 -70
  21. pulumi_consul/config_entry_service_defaults.py +172 -168
  22. pulumi_consul/config_entry_service_intentions.py +60 -56
  23. pulumi_consul/config_entry_service_resolver.py +102 -98
  24. pulumi_consul/config_entry_service_router.py +60 -56
  25. pulumi_consul/config_entry_service_splitter.py +60 -56
  26. pulumi_consul/config_entry_v2_exported_services.py +116 -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 +116 -112
  52. pulumi_consul/key_prefix.py +88 -84
  53. pulumi_consul/keys.py +65 -61
  54. pulumi_consul/license.py +102 -98
  55. pulumi_consul/namespace.py +88 -84
  56. pulumi_consul/namespace_policy_attachment.py +32 -28
  57. pulumi_consul/namespace_role_attachment.py +32 -28
  58. pulumi_consul/network_area.py +74 -70
  59. pulumi_consul/node.py +84 -80
  60. pulumi_consul/outputs.py +1054 -1053
  61. pulumi_consul/peering.py +86 -82
  62. pulumi_consul/peering_token.py +63 -59
  63. pulumi_consul/prepared_query.py +186 -182
  64. pulumi_consul/provider.py +113 -109
  65. pulumi_consul/pulumi-plugin.json +1 -1
  66. pulumi_consul/service.py +168 -164
  67. {pulumi_consul-3.12.4a1739378040.dist-info → pulumi_consul-3.12.5.dist-info}/METADATA +2 -2
  68. pulumi_consul-3.12.5.dist-info/RECORD +72 -0
  69. {pulumi_consul-3.12.4a1739378040.dist-info → pulumi_consul-3.12.5.dist-info}/WHEEL +1 -1
  70. pulumi_consul-3.12.4a1739378040.dist-info/RECORD +0 -72
  71. {pulumi_consul-3.12.4a1739378040.dist-info → pulumi_consul-3.12.5.dist-info}/top_level.txt +0 -0
@@ -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,30 +22,30 @@ __all__ = ['AclAuthMethodArgs', 'AclAuthMethod']
21
22
  @pulumi.input_type
22
23
  class AclAuthMethodArgs:
23
24
  def __init__(__self__, *,
24
- type: pulumi.Input[str],
25
- config: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
26
- config_json: Optional[pulumi.Input[str]] = None,
27
- description: Optional[pulumi.Input[str]] = None,
28
- display_name: Optional[pulumi.Input[str]] = None,
29
- max_token_ttl: Optional[pulumi.Input[str]] = None,
30
- name: Optional[pulumi.Input[str]] = None,
31
- namespace: Optional[pulumi.Input[str]] = None,
25
+ type: pulumi.Input[builtins.str],
26
+ config: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
27
+ config_json: Optional[pulumi.Input[builtins.str]] = None,
28
+ description: Optional[pulumi.Input[builtins.str]] = None,
29
+ display_name: Optional[pulumi.Input[builtins.str]] = None,
30
+ max_token_ttl: Optional[pulumi.Input[builtins.str]] = None,
31
+ name: Optional[pulumi.Input[builtins.str]] = None,
32
+ namespace: Optional[pulumi.Input[builtins.str]] = None,
32
33
  namespace_rules: Optional[pulumi.Input[Sequence[pulumi.Input['AclAuthMethodNamespaceRuleArgs']]]] = None,
33
- partition: Optional[pulumi.Input[str]] = None,
34
- token_locality: Optional[pulumi.Input[str]] = None):
34
+ partition: Optional[pulumi.Input[builtins.str]] = None,
35
+ token_locality: Optional[pulumi.Input[builtins.str]] = None):
35
36
  """
36
37
  The set of arguments for constructing a AclAuthMethod resource.
37
- :param pulumi.Input[str] type: The type of the ACL auth method.
38
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] config: The raw configuration for this ACL auth method.
39
- :param pulumi.Input[str] config_json: The raw configuration for this ACL auth method.
40
- :param pulumi.Input[str] description: A free form human readable description of the auth method.
41
- :param pulumi.Input[str] display_name: An optional name to use instead of the name attribute when displaying information about this auth method.
42
- :param pulumi.Input[str] max_token_ttl: The maximum life of any token created by this auth method. **This attribute is required and must be set to a nonzero for the OIDC auth method.**
43
- :param pulumi.Input[str] name: The name of the ACL auth method.
44
- :param pulumi.Input[str] namespace: The namespace in which to create the auth method.
38
+ :param pulumi.Input[builtins.str] type: The type of the ACL auth method.
39
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] config: The raw configuration for this ACL auth method.
40
+ :param pulumi.Input[builtins.str] config_json: The raw configuration for this ACL auth method.
41
+ :param pulumi.Input[builtins.str] description: A free form human readable description of the auth method.
42
+ :param pulumi.Input[builtins.str] display_name: An optional name to use instead of the name attribute when displaying information about this auth method.
43
+ :param pulumi.Input[builtins.str] max_token_ttl: The maximum life of any token created by this auth method. **This attribute is required and must be set to a nonzero for the OIDC auth method.**
44
+ :param pulumi.Input[builtins.str] name: The name of the ACL auth method.
45
+ :param pulumi.Input[builtins.str] namespace: The namespace in which to create the auth method.
45
46
  :param pulumi.Input[Sequence[pulumi.Input['AclAuthMethodNamespaceRuleArgs']]] namespace_rules: A set of rules that control which namespace tokens created via this auth method will be created within.
46
- :param pulumi.Input[str] partition: The partition the ACL auth method is associated with.
47
- :param pulumi.Input[str] token_locality: The kind of token that this auth method produces. This can be either 'local' or 'global'.
47
+ :param pulumi.Input[builtins.str] partition: The partition the ACL auth method is associated with.
48
+ :param pulumi.Input[builtins.str] token_locality: The kind of token that this auth method produces. This can be either 'local' or 'global'.
48
49
  """
49
50
  pulumi.set(__self__, "type", type)
50
51
  if config is not None:
@@ -73,99 +74,99 @@ class AclAuthMethodArgs:
73
74
 
74
75
  @property
75
76
  @pulumi.getter
76
- def type(self) -> pulumi.Input[str]:
77
+ def type(self) -> pulumi.Input[builtins.str]:
77
78
  """
78
79
  The type of the ACL auth method.
79
80
  """
80
81
  return pulumi.get(self, "type")
81
82
 
82
83
  @type.setter
83
- def type(self, value: pulumi.Input[str]):
84
+ def type(self, value: pulumi.Input[builtins.str]):
84
85
  pulumi.set(self, "type", value)
85
86
 
86
87
  @property
87
88
  @pulumi.getter
88
89
  @_utilities.deprecated("""The config attribute is deprecated, please use `config_json` instead.""")
89
- def config(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
90
+ def config(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
90
91
  """
91
92
  The raw configuration for this ACL auth method.
92
93
  """
93
94
  return pulumi.get(self, "config")
94
95
 
95
96
  @config.setter
96
- def config(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
97
+ def config(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
97
98
  pulumi.set(self, "config", value)
98
99
 
99
100
  @property
100
101
  @pulumi.getter(name="configJson")
101
- def config_json(self) -> Optional[pulumi.Input[str]]:
102
+ def config_json(self) -> Optional[pulumi.Input[builtins.str]]:
102
103
  """
103
104
  The raw configuration for this ACL auth method.
104
105
  """
105
106
  return pulumi.get(self, "config_json")
106
107
 
107
108
  @config_json.setter
108
- def config_json(self, value: Optional[pulumi.Input[str]]):
109
+ def config_json(self, value: Optional[pulumi.Input[builtins.str]]):
109
110
  pulumi.set(self, "config_json", value)
110
111
 
111
112
  @property
112
113
  @pulumi.getter
113
- def description(self) -> Optional[pulumi.Input[str]]:
114
+ def description(self) -> Optional[pulumi.Input[builtins.str]]:
114
115
  """
115
116
  A free form human readable description of the auth method.
116
117
  """
117
118
  return pulumi.get(self, "description")
118
119
 
119
120
  @description.setter
120
- def description(self, value: Optional[pulumi.Input[str]]):
121
+ def description(self, value: Optional[pulumi.Input[builtins.str]]):
121
122
  pulumi.set(self, "description", value)
122
123
 
123
124
  @property
124
125
  @pulumi.getter(name="displayName")
125
- def display_name(self) -> Optional[pulumi.Input[str]]:
126
+ def display_name(self) -> Optional[pulumi.Input[builtins.str]]:
126
127
  """
127
128
  An optional name to use instead of the name attribute when displaying information about this auth method.
128
129
  """
129
130
  return pulumi.get(self, "display_name")
130
131
 
131
132
  @display_name.setter
132
- def display_name(self, value: Optional[pulumi.Input[str]]):
133
+ def display_name(self, value: Optional[pulumi.Input[builtins.str]]):
133
134
  pulumi.set(self, "display_name", value)
134
135
 
135
136
  @property
136
137
  @pulumi.getter(name="maxTokenTtl")
137
- def max_token_ttl(self) -> Optional[pulumi.Input[str]]:
138
+ def max_token_ttl(self) -> Optional[pulumi.Input[builtins.str]]:
138
139
  """
139
140
  The maximum life of any token created by this auth method. **This attribute is required and must be set to a nonzero for the OIDC auth method.**
140
141
  """
141
142
  return pulumi.get(self, "max_token_ttl")
142
143
 
143
144
  @max_token_ttl.setter
144
- def max_token_ttl(self, value: Optional[pulumi.Input[str]]):
145
+ def max_token_ttl(self, value: Optional[pulumi.Input[builtins.str]]):
145
146
  pulumi.set(self, "max_token_ttl", value)
146
147
 
147
148
  @property
148
149
  @pulumi.getter
149
- def name(self) -> Optional[pulumi.Input[str]]:
150
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
150
151
  """
151
152
  The name of the ACL auth method.
152
153
  """
153
154
  return pulumi.get(self, "name")
154
155
 
155
156
  @name.setter
156
- def name(self, value: Optional[pulumi.Input[str]]):
157
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
157
158
  pulumi.set(self, "name", value)
158
159
 
159
160
  @property
160
161
  @pulumi.getter
161
- def namespace(self) -> Optional[pulumi.Input[str]]:
162
+ def namespace(self) -> Optional[pulumi.Input[builtins.str]]:
162
163
  """
163
164
  The namespace in which to create the auth method.
164
165
  """
165
166
  return pulumi.get(self, "namespace")
166
167
 
167
168
  @namespace.setter
168
- def namespace(self, value: Optional[pulumi.Input[str]]):
169
+ def namespace(self, value: Optional[pulumi.Input[builtins.str]]):
169
170
  pulumi.set(self, "namespace", value)
170
171
 
171
172
  @property
@@ -182,56 +183,56 @@ class AclAuthMethodArgs:
182
183
 
183
184
  @property
184
185
  @pulumi.getter
185
- def partition(self) -> Optional[pulumi.Input[str]]:
186
+ def partition(self) -> Optional[pulumi.Input[builtins.str]]:
186
187
  """
187
188
  The partition the ACL auth method is associated with.
188
189
  """
189
190
  return pulumi.get(self, "partition")
190
191
 
191
192
  @partition.setter
192
- def partition(self, value: Optional[pulumi.Input[str]]):
193
+ def partition(self, value: Optional[pulumi.Input[builtins.str]]):
193
194
  pulumi.set(self, "partition", value)
194
195
 
195
196
  @property
196
197
  @pulumi.getter(name="tokenLocality")
197
- def token_locality(self) -> Optional[pulumi.Input[str]]:
198
+ def token_locality(self) -> Optional[pulumi.Input[builtins.str]]:
198
199
  """
199
200
  The kind of token that this auth method produces. This can be either 'local' or 'global'.
200
201
  """
201
202
  return pulumi.get(self, "token_locality")
202
203
 
203
204
  @token_locality.setter
204
- def token_locality(self, value: Optional[pulumi.Input[str]]):
205
+ def token_locality(self, value: Optional[pulumi.Input[builtins.str]]):
205
206
  pulumi.set(self, "token_locality", value)
206
207
 
207
208
 
208
209
  @pulumi.input_type
209
210
  class _AclAuthMethodState:
210
211
  def __init__(__self__, *,
211
- config: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
212
- config_json: Optional[pulumi.Input[str]] = None,
213
- description: Optional[pulumi.Input[str]] = None,
214
- display_name: Optional[pulumi.Input[str]] = None,
215
- max_token_ttl: Optional[pulumi.Input[str]] = None,
216
- name: Optional[pulumi.Input[str]] = None,
217
- namespace: Optional[pulumi.Input[str]] = None,
212
+ config: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
213
+ config_json: Optional[pulumi.Input[builtins.str]] = None,
214
+ description: Optional[pulumi.Input[builtins.str]] = None,
215
+ display_name: Optional[pulumi.Input[builtins.str]] = None,
216
+ max_token_ttl: Optional[pulumi.Input[builtins.str]] = None,
217
+ name: Optional[pulumi.Input[builtins.str]] = None,
218
+ namespace: Optional[pulumi.Input[builtins.str]] = None,
218
219
  namespace_rules: Optional[pulumi.Input[Sequence[pulumi.Input['AclAuthMethodNamespaceRuleArgs']]]] = None,
219
- partition: Optional[pulumi.Input[str]] = None,
220
- token_locality: Optional[pulumi.Input[str]] = None,
221
- type: Optional[pulumi.Input[str]] = None):
220
+ partition: Optional[pulumi.Input[builtins.str]] = None,
221
+ token_locality: Optional[pulumi.Input[builtins.str]] = None,
222
+ type: Optional[pulumi.Input[builtins.str]] = None):
222
223
  """
223
224
  Input properties used for looking up and filtering AclAuthMethod resources.
224
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] config: The raw configuration for this ACL auth method.
225
- :param pulumi.Input[str] config_json: The raw configuration for this ACL auth method.
226
- :param pulumi.Input[str] description: A free form human readable description of the auth method.
227
- :param pulumi.Input[str] display_name: An optional name to use instead of the name attribute when displaying information about this auth method.
228
- :param pulumi.Input[str] max_token_ttl: The maximum life of any token created by this auth method. **This attribute is required and must be set to a nonzero for the OIDC auth method.**
229
- :param pulumi.Input[str] name: The name of the ACL auth method.
230
- :param pulumi.Input[str] namespace: The namespace in which to create the auth method.
225
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] config: The raw configuration for this ACL auth method.
226
+ :param pulumi.Input[builtins.str] config_json: The raw configuration for this ACL auth method.
227
+ :param pulumi.Input[builtins.str] description: A free form human readable description of the auth method.
228
+ :param pulumi.Input[builtins.str] display_name: An optional name to use instead of the name attribute when displaying information about this auth method.
229
+ :param pulumi.Input[builtins.str] max_token_ttl: The maximum life of any token created by this auth method. **This attribute is required and must be set to a nonzero for the OIDC auth method.**
230
+ :param pulumi.Input[builtins.str] name: The name of the ACL auth method.
231
+ :param pulumi.Input[builtins.str] namespace: The namespace in which to create the auth method.
231
232
  :param pulumi.Input[Sequence[pulumi.Input['AclAuthMethodNamespaceRuleArgs']]] namespace_rules: A set of rules that control which namespace tokens created via this auth method will be created within.
232
- :param pulumi.Input[str] partition: The partition the ACL auth method is associated with.
233
- :param pulumi.Input[str] token_locality: The kind of token that this auth method produces. This can be either 'local' or 'global'.
234
- :param pulumi.Input[str] type: The type of the ACL auth method.
233
+ :param pulumi.Input[builtins.str] partition: The partition the ACL auth method is associated with.
234
+ :param pulumi.Input[builtins.str] token_locality: The kind of token that this auth method produces. This can be either 'local' or 'global'.
235
+ :param pulumi.Input[builtins.str] type: The type of the ACL auth method.
235
236
  """
236
237
  if config is not None:
237
238
  warnings.warn("""The config attribute is deprecated, please use `config_json` instead.""", DeprecationWarning)
@@ -262,86 +263,86 @@ class _AclAuthMethodState:
262
263
  @property
263
264
  @pulumi.getter
264
265
  @_utilities.deprecated("""The config attribute is deprecated, please use `config_json` instead.""")
265
- def config(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
266
+ def config(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
266
267
  """
267
268
  The raw configuration for this ACL auth method.
268
269
  """
269
270
  return pulumi.get(self, "config")
270
271
 
271
272
  @config.setter
272
- def config(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
273
+ def config(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
273
274
  pulumi.set(self, "config", value)
274
275
 
275
276
  @property
276
277
  @pulumi.getter(name="configJson")
277
- def config_json(self) -> Optional[pulumi.Input[str]]:
278
+ def config_json(self) -> Optional[pulumi.Input[builtins.str]]:
278
279
  """
279
280
  The raw configuration for this ACL auth method.
280
281
  """
281
282
  return pulumi.get(self, "config_json")
282
283
 
283
284
  @config_json.setter
284
- def config_json(self, value: Optional[pulumi.Input[str]]):
285
+ def config_json(self, value: Optional[pulumi.Input[builtins.str]]):
285
286
  pulumi.set(self, "config_json", value)
286
287
 
287
288
  @property
288
289
  @pulumi.getter
289
- def description(self) -> Optional[pulumi.Input[str]]:
290
+ def description(self) -> Optional[pulumi.Input[builtins.str]]:
290
291
  """
291
292
  A free form human readable description of the auth method.
292
293
  """
293
294
  return pulumi.get(self, "description")
294
295
 
295
296
  @description.setter
296
- def description(self, value: Optional[pulumi.Input[str]]):
297
+ def description(self, value: Optional[pulumi.Input[builtins.str]]):
297
298
  pulumi.set(self, "description", value)
298
299
 
299
300
  @property
300
301
  @pulumi.getter(name="displayName")
301
- def display_name(self) -> Optional[pulumi.Input[str]]:
302
+ def display_name(self) -> Optional[pulumi.Input[builtins.str]]:
302
303
  """
303
304
  An optional name to use instead of the name attribute when displaying information about this auth method.
304
305
  """
305
306
  return pulumi.get(self, "display_name")
306
307
 
307
308
  @display_name.setter
308
- def display_name(self, value: Optional[pulumi.Input[str]]):
309
+ def display_name(self, value: Optional[pulumi.Input[builtins.str]]):
309
310
  pulumi.set(self, "display_name", value)
310
311
 
311
312
  @property
312
313
  @pulumi.getter(name="maxTokenTtl")
313
- def max_token_ttl(self) -> Optional[pulumi.Input[str]]:
314
+ def max_token_ttl(self) -> Optional[pulumi.Input[builtins.str]]:
314
315
  """
315
316
  The maximum life of any token created by this auth method. **This attribute is required and must be set to a nonzero for the OIDC auth method.**
316
317
  """
317
318
  return pulumi.get(self, "max_token_ttl")
318
319
 
319
320
  @max_token_ttl.setter
320
- def max_token_ttl(self, value: Optional[pulumi.Input[str]]):
321
+ def max_token_ttl(self, value: Optional[pulumi.Input[builtins.str]]):
321
322
  pulumi.set(self, "max_token_ttl", value)
322
323
 
323
324
  @property
324
325
  @pulumi.getter
325
- def name(self) -> Optional[pulumi.Input[str]]:
326
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
326
327
  """
327
328
  The name of the ACL auth method.
328
329
  """
329
330
  return pulumi.get(self, "name")
330
331
 
331
332
  @name.setter
332
- def name(self, value: Optional[pulumi.Input[str]]):
333
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
333
334
  pulumi.set(self, "name", value)
334
335
 
335
336
  @property
336
337
  @pulumi.getter
337
- def namespace(self) -> Optional[pulumi.Input[str]]:
338
+ def namespace(self) -> Optional[pulumi.Input[builtins.str]]:
338
339
  """
339
340
  The namespace in which to create the auth method.
340
341
  """
341
342
  return pulumi.get(self, "namespace")
342
343
 
343
344
  @namespace.setter
344
- def namespace(self, value: Optional[pulumi.Input[str]]):
345
+ def namespace(self, value: Optional[pulumi.Input[builtins.str]]):
345
346
  pulumi.set(self, "namespace", value)
346
347
 
347
348
  @property
@@ -358,57 +359,60 @@ class _AclAuthMethodState:
358
359
 
359
360
  @property
360
361
  @pulumi.getter
361
- def partition(self) -> Optional[pulumi.Input[str]]:
362
+ def partition(self) -> Optional[pulumi.Input[builtins.str]]:
362
363
  """
363
364
  The partition the ACL auth method is associated with.
364
365
  """
365
366
  return pulumi.get(self, "partition")
366
367
 
367
368
  @partition.setter
368
- def partition(self, value: Optional[pulumi.Input[str]]):
369
+ def partition(self, value: Optional[pulumi.Input[builtins.str]]):
369
370
  pulumi.set(self, "partition", value)
370
371
 
371
372
  @property
372
373
  @pulumi.getter(name="tokenLocality")
373
- def token_locality(self) -> Optional[pulumi.Input[str]]:
374
+ def token_locality(self) -> Optional[pulumi.Input[builtins.str]]:
374
375
  """
375
376
  The kind of token that this auth method produces. This can be either 'local' or 'global'.
376
377
  """
377
378
  return pulumi.get(self, "token_locality")
378
379
 
379
380
  @token_locality.setter
380
- def token_locality(self, value: Optional[pulumi.Input[str]]):
381
+ def token_locality(self, value: Optional[pulumi.Input[builtins.str]]):
381
382
  pulumi.set(self, "token_locality", value)
382
383
 
383
384
  @property
384
385
  @pulumi.getter
385
- def type(self) -> Optional[pulumi.Input[str]]:
386
+ def type(self) -> Optional[pulumi.Input[builtins.str]]:
386
387
  """
387
388
  The type of the ACL auth method.
388
389
  """
389
390
  return pulumi.get(self, "type")
390
391
 
391
392
  @type.setter
392
- def type(self, value: Optional[pulumi.Input[str]]):
393
+ def type(self, value: Optional[pulumi.Input[builtins.str]]):
393
394
  pulumi.set(self, "type", value)
394
395
 
395
396
 
396
397
  class AclAuthMethod(pulumi.CustomResource):
398
+
399
+ pulumi_type = "consul:index/aclAuthMethod:AclAuthMethod"
400
+
397
401
  @overload
398
402
  def __init__(__self__,
399
403
  resource_name: str,
400
404
  opts: Optional[pulumi.ResourceOptions] = None,
401
- config: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
402
- config_json: Optional[pulumi.Input[str]] = None,
403
- description: Optional[pulumi.Input[str]] = None,
404
- display_name: Optional[pulumi.Input[str]] = None,
405
- max_token_ttl: Optional[pulumi.Input[str]] = None,
406
- name: Optional[pulumi.Input[str]] = None,
407
- namespace: Optional[pulumi.Input[str]] = None,
405
+ config: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
406
+ config_json: Optional[pulumi.Input[builtins.str]] = None,
407
+ description: Optional[pulumi.Input[builtins.str]] = None,
408
+ display_name: Optional[pulumi.Input[builtins.str]] = None,
409
+ max_token_ttl: Optional[pulumi.Input[builtins.str]] = None,
410
+ name: Optional[pulumi.Input[builtins.str]] = None,
411
+ namespace: Optional[pulumi.Input[builtins.str]] = None,
408
412
  namespace_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AclAuthMethodNamespaceRuleArgs', 'AclAuthMethodNamespaceRuleArgsDict']]]]] = None,
409
- partition: Optional[pulumi.Input[str]] = None,
410
- token_locality: Optional[pulumi.Input[str]] = None,
411
- type: Optional[pulumi.Input[str]] = None,
413
+ partition: Optional[pulumi.Input[builtins.str]] = None,
414
+ token_locality: Optional[pulumi.Input[builtins.str]] = None,
415
+ type: Optional[pulumi.Input[builtins.str]] = None,
412
416
  __props__=None):
413
417
  """
414
418
  Starting with Consul 1.5.0, the `AclAuthMethod` resource can be used to managed [Consul ACL auth methods](https://www.consul.io/docs/acl/auth-methods).
@@ -467,17 +471,17 @@ class AclAuthMethod(pulumi.CustomResource):
467
471
 
468
472
  :param str resource_name: The name of the resource.
469
473
  :param pulumi.ResourceOptions opts: Options for the resource.
470
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] config: The raw configuration for this ACL auth method.
471
- :param pulumi.Input[str] config_json: The raw configuration for this ACL auth method.
472
- :param pulumi.Input[str] description: A free form human readable description of the auth method.
473
- :param pulumi.Input[str] display_name: An optional name to use instead of the name attribute when displaying information about this auth method.
474
- :param pulumi.Input[str] max_token_ttl: The maximum life of any token created by this auth method. **This attribute is required and must be set to a nonzero for the OIDC auth method.**
475
- :param pulumi.Input[str] name: The name of the ACL auth method.
476
- :param pulumi.Input[str] namespace: The namespace in which to create the auth method.
474
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] config: The raw configuration for this ACL auth method.
475
+ :param pulumi.Input[builtins.str] config_json: The raw configuration for this ACL auth method.
476
+ :param pulumi.Input[builtins.str] description: A free form human readable description of the auth method.
477
+ :param pulumi.Input[builtins.str] display_name: An optional name to use instead of the name attribute when displaying information about this auth method.
478
+ :param pulumi.Input[builtins.str] max_token_ttl: The maximum life of any token created by this auth method. **This attribute is required and must be set to a nonzero for the OIDC auth method.**
479
+ :param pulumi.Input[builtins.str] name: The name of the ACL auth method.
480
+ :param pulumi.Input[builtins.str] namespace: The namespace in which to create the auth method.
477
481
  :param pulumi.Input[Sequence[pulumi.Input[Union['AclAuthMethodNamespaceRuleArgs', 'AclAuthMethodNamespaceRuleArgsDict']]]] namespace_rules: A set of rules that control which namespace tokens created via this auth method will be created within.
478
- :param pulumi.Input[str] partition: The partition the ACL auth method is associated with.
479
- :param pulumi.Input[str] token_locality: The kind of token that this auth method produces. This can be either 'local' or 'global'.
480
- :param pulumi.Input[str] type: The type of the ACL auth method.
482
+ :param pulumi.Input[builtins.str] partition: The partition the ACL auth method is associated with.
483
+ :param pulumi.Input[builtins.str] token_locality: The kind of token that this auth method produces. This can be either 'local' or 'global'.
484
+ :param pulumi.Input[builtins.str] type: The type of the ACL auth method.
481
485
  """
482
486
  ...
483
487
  @overload
@@ -555,17 +559,17 @@ class AclAuthMethod(pulumi.CustomResource):
555
559
  def _internal_init(__self__,
556
560
  resource_name: str,
557
561
  opts: Optional[pulumi.ResourceOptions] = None,
558
- config: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
559
- config_json: Optional[pulumi.Input[str]] = None,
560
- description: Optional[pulumi.Input[str]] = None,
561
- display_name: Optional[pulumi.Input[str]] = None,
562
- max_token_ttl: Optional[pulumi.Input[str]] = None,
563
- name: Optional[pulumi.Input[str]] = None,
564
- namespace: Optional[pulumi.Input[str]] = None,
562
+ config: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
563
+ config_json: Optional[pulumi.Input[builtins.str]] = None,
564
+ description: Optional[pulumi.Input[builtins.str]] = None,
565
+ display_name: Optional[pulumi.Input[builtins.str]] = None,
566
+ max_token_ttl: Optional[pulumi.Input[builtins.str]] = None,
567
+ name: Optional[pulumi.Input[builtins.str]] = None,
568
+ namespace: Optional[pulumi.Input[builtins.str]] = None,
565
569
  namespace_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AclAuthMethodNamespaceRuleArgs', 'AclAuthMethodNamespaceRuleArgsDict']]]]] = None,
566
- partition: Optional[pulumi.Input[str]] = None,
567
- token_locality: Optional[pulumi.Input[str]] = None,
568
- type: Optional[pulumi.Input[str]] = None,
570
+ partition: Optional[pulumi.Input[builtins.str]] = None,
571
+ token_locality: Optional[pulumi.Input[builtins.str]] = None,
572
+ type: Optional[pulumi.Input[builtins.str]] = None,
569
573
  __props__=None):
570
574
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
571
575
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -598,17 +602,17 @@ class AclAuthMethod(pulumi.CustomResource):
598
602
  def get(resource_name: str,
599
603
  id: pulumi.Input[str],
600
604
  opts: Optional[pulumi.ResourceOptions] = None,
601
- config: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
602
- config_json: Optional[pulumi.Input[str]] = None,
603
- description: Optional[pulumi.Input[str]] = None,
604
- display_name: Optional[pulumi.Input[str]] = None,
605
- max_token_ttl: Optional[pulumi.Input[str]] = None,
606
- name: Optional[pulumi.Input[str]] = None,
607
- namespace: Optional[pulumi.Input[str]] = None,
605
+ config: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
606
+ config_json: Optional[pulumi.Input[builtins.str]] = None,
607
+ description: Optional[pulumi.Input[builtins.str]] = None,
608
+ display_name: Optional[pulumi.Input[builtins.str]] = None,
609
+ max_token_ttl: Optional[pulumi.Input[builtins.str]] = None,
610
+ name: Optional[pulumi.Input[builtins.str]] = None,
611
+ namespace: Optional[pulumi.Input[builtins.str]] = None,
608
612
  namespace_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AclAuthMethodNamespaceRuleArgs', 'AclAuthMethodNamespaceRuleArgsDict']]]]] = None,
609
- partition: Optional[pulumi.Input[str]] = None,
610
- token_locality: Optional[pulumi.Input[str]] = None,
611
- type: Optional[pulumi.Input[str]] = None) -> 'AclAuthMethod':
613
+ partition: Optional[pulumi.Input[builtins.str]] = None,
614
+ token_locality: Optional[pulumi.Input[builtins.str]] = None,
615
+ type: Optional[pulumi.Input[builtins.str]] = None) -> 'AclAuthMethod':
612
616
  """
613
617
  Get an existing AclAuthMethod resource's state with the given name, id, and optional extra
614
618
  properties used to qualify the lookup.
@@ -616,17 +620,17 @@ class AclAuthMethod(pulumi.CustomResource):
616
620
  :param str resource_name: The unique name of the resulting resource.
617
621
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
618
622
  :param pulumi.ResourceOptions opts: Options for the resource.
619
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] config: The raw configuration for this ACL auth method.
620
- :param pulumi.Input[str] config_json: The raw configuration for this ACL auth method.
621
- :param pulumi.Input[str] description: A free form human readable description of the auth method.
622
- :param pulumi.Input[str] display_name: An optional name to use instead of the name attribute when displaying information about this auth method.
623
- :param pulumi.Input[str] max_token_ttl: The maximum life of any token created by this auth method. **This attribute is required and must be set to a nonzero for the OIDC auth method.**
624
- :param pulumi.Input[str] name: The name of the ACL auth method.
625
- :param pulumi.Input[str] namespace: The namespace in which to create the auth method.
623
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] config: The raw configuration for this ACL auth method.
624
+ :param pulumi.Input[builtins.str] config_json: The raw configuration for this ACL auth method.
625
+ :param pulumi.Input[builtins.str] description: A free form human readable description of the auth method.
626
+ :param pulumi.Input[builtins.str] display_name: An optional name to use instead of the name attribute when displaying information about this auth method.
627
+ :param pulumi.Input[builtins.str] max_token_ttl: The maximum life of any token created by this auth method. **This attribute is required and must be set to a nonzero for the OIDC auth method.**
628
+ :param pulumi.Input[builtins.str] name: The name of the ACL auth method.
629
+ :param pulumi.Input[builtins.str] namespace: The namespace in which to create the auth method.
626
630
  :param pulumi.Input[Sequence[pulumi.Input[Union['AclAuthMethodNamespaceRuleArgs', 'AclAuthMethodNamespaceRuleArgsDict']]]] namespace_rules: A set of rules that control which namespace tokens created via this auth method will be created within.
627
- :param pulumi.Input[str] partition: The partition the ACL auth method is associated with.
628
- :param pulumi.Input[str] token_locality: The kind of token that this auth method produces. This can be either 'local' or 'global'.
629
- :param pulumi.Input[str] type: The type of the ACL auth method.
631
+ :param pulumi.Input[builtins.str] partition: The partition the ACL auth method is associated with.
632
+ :param pulumi.Input[builtins.str] token_locality: The kind of token that this auth method produces. This can be either 'local' or 'global'.
633
+ :param pulumi.Input[builtins.str] type: The type of the ACL auth method.
630
634
  """
631
635
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
632
636
 
@@ -648,7 +652,7 @@ class AclAuthMethod(pulumi.CustomResource):
648
652
  @property
649
653
  @pulumi.getter
650
654
  @_utilities.deprecated("""The config attribute is deprecated, please use `config_json` instead.""")
651
- def config(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
655
+ def config(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
652
656
  """
653
657
  The raw configuration for this ACL auth method.
654
658
  """
@@ -656,7 +660,7 @@ class AclAuthMethod(pulumi.CustomResource):
656
660
 
657
661
  @property
658
662
  @pulumi.getter(name="configJson")
659
- def config_json(self) -> pulumi.Output[Optional[str]]:
663
+ def config_json(self) -> pulumi.Output[Optional[builtins.str]]:
660
664
  """
661
665
  The raw configuration for this ACL auth method.
662
666
  """
@@ -664,7 +668,7 @@ class AclAuthMethod(pulumi.CustomResource):
664
668
 
665
669
  @property
666
670
  @pulumi.getter
667
- def description(self) -> pulumi.Output[Optional[str]]:
671
+ def description(self) -> pulumi.Output[Optional[builtins.str]]:
668
672
  """
669
673
  A free form human readable description of the auth method.
670
674
  """
@@ -672,7 +676,7 @@ class AclAuthMethod(pulumi.CustomResource):
672
676
 
673
677
  @property
674
678
  @pulumi.getter(name="displayName")
675
- def display_name(self) -> pulumi.Output[Optional[str]]:
679
+ def display_name(self) -> pulumi.Output[Optional[builtins.str]]:
676
680
  """
677
681
  An optional name to use instead of the name attribute when displaying information about this auth method.
678
682
  """
@@ -680,7 +684,7 @@ class AclAuthMethod(pulumi.CustomResource):
680
684
 
681
685
  @property
682
686
  @pulumi.getter(name="maxTokenTtl")
683
- def max_token_ttl(self) -> pulumi.Output[Optional[str]]:
687
+ def max_token_ttl(self) -> pulumi.Output[Optional[builtins.str]]:
684
688
  """
685
689
  The maximum life of any token created by this auth method. **This attribute is required and must be set to a nonzero for the OIDC auth method.**
686
690
  """
@@ -688,7 +692,7 @@ class AclAuthMethod(pulumi.CustomResource):
688
692
 
689
693
  @property
690
694
  @pulumi.getter
691
- def name(self) -> pulumi.Output[str]:
695
+ def name(self) -> pulumi.Output[builtins.str]:
692
696
  """
693
697
  The name of the ACL auth method.
694
698
  """
@@ -696,7 +700,7 @@ class AclAuthMethod(pulumi.CustomResource):
696
700
 
697
701
  @property
698
702
  @pulumi.getter
699
- def namespace(self) -> pulumi.Output[Optional[str]]:
703
+ def namespace(self) -> pulumi.Output[Optional[builtins.str]]:
700
704
  """
701
705
  The namespace in which to create the auth method.
702
706
  """
@@ -712,7 +716,7 @@ class AclAuthMethod(pulumi.CustomResource):
712
716
 
713
717
  @property
714
718
  @pulumi.getter
715
- def partition(self) -> pulumi.Output[Optional[str]]:
719
+ def partition(self) -> pulumi.Output[Optional[builtins.str]]:
716
720
  """
717
721
  The partition the ACL auth method is associated with.
718
722
  """
@@ -720,7 +724,7 @@ class AclAuthMethod(pulumi.CustomResource):
720
724
 
721
725
  @property
722
726
  @pulumi.getter(name="tokenLocality")
723
- def token_locality(self) -> pulumi.Output[Optional[str]]:
727
+ def token_locality(self) -> pulumi.Output[Optional[builtins.str]]:
724
728
  """
725
729
  The kind of token that this auth method produces. This can be either 'local' or 'global'.
726
730
  """
@@ -728,7 +732,7 @@ class AclAuthMethod(pulumi.CustomResource):
728
732
 
729
733
  @property
730
734
  @pulumi.getter
731
- def type(self) -> pulumi.Output[str]:
735
+ def type(self) -> pulumi.Output[builtins.str]:
732
736
  """
733
737
  The type of the ACL auth method.
734
738
  """