pulumi-consul 3.13.0a1743485707__py3-none-any.whl → 3.13.0a1744182998__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-consul might be problematic. Click here for more details.

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.0a1743485707.dist-info → pulumi_consul-3.13.0a1744182998.dist-info}/METADATA +1 -1
  68. pulumi_consul-3.13.0a1744182998.dist-info/RECORD +72 -0
  69. pulumi_consul-3.13.0a1743485707.dist-info/RECORD +0 -72
  70. {pulumi_consul-3.13.0a1743485707.dist-info → pulumi_consul-3.13.0a1744182998.dist-info}/WHEEL +0 -0
  71. {pulumi_consul-3.13.0a1743485707.dist-info → pulumi_consul-3.13.0a1744182998.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,38 +359,38 @@ 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
 
@@ -398,17 +399,17 @@ class AclAuthMethod(pulumi.CustomResource):
398
399
  def __init__(__self__,
399
400
  resource_name: str,
400
401
  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,
402
+ config: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
403
+ config_json: Optional[pulumi.Input[builtins.str]] = None,
404
+ description: Optional[pulumi.Input[builtins.str]] = None,
405
+ display_name: Optional[pulumi.Input[builtins.str]] = None,
406
+ max_token_ttl: Optional[pulumi.Input[builtins.str]] = None,
407
+ name: Optional[pulumi.Input[builtins.str]] = None,
408
+ namespace: Optional[pulumi.Input[builtins.str]] = None,
408
409
  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,
410
+ partition: Optional[pulumi.Input[builtins.str]] = None,
411
+ token_locality: Optional[pulumi.Input[builtins.str]] = None,
412
+ type: Optional[pulumi.Input[builtins.str]] = None,
412
413
  __props__=None):
413
414
  """
414
415
  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 +468,17 @@ class AclAuthMethod(pulumi.CustomResource):
467
468
 
468
469
  :param str resource_name: The name of the resource.
469
470
  :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.
471
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] config: The raw configuration for this ACL auth method.
472
+ :param pulumi.Input[builtins.str] config_json: The raw configuration for this ACL auth method.
473
+ :param pulumi.Input[builtins.str] description: A free form human readable description of the auth method.
474
+ :param pulumi.Input[builtins.str] display_name: An optional name to use instead of the name attribute when displaying information about this auth method.
475
+ :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.**
476
+ :param pulumi.Input[builtins.str] name: The name of the ACL auth method.
477
+ :param pulumi.Input[builtins.str] namespace: The namespace in which to create the auth method.
477
478
  :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.
479
+ :param pulumi.Input[builtins.str] partition: The partition the ACL auth method is associated with.
480
+ :param pulumi.Input[builtins.str] token_locality: The kind of token that this auth method produces. This can be either 'local' or 'global'.
481
+ :param pulumi.Input[builtins.str] type: The type of the ACL auth method.
481
482
  """
482
483
  ...
483
484
  @overload
@@ -555,17 +556,17 @@ class AclAuthMethod(pulumi.CustomResource):
555
556
  def _internal_init(__self__,
556
557
  resource_name: str,
557
558
  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,
559
+ config: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
560
+ config_json: Optional[pulumi.Input[builtins.str]] = None,
561
+ description: Optional[pulumi.Input[builtins.str]] = None,
562
+ display_name: Optional[pulumi.Input[builtins.str]] = None,
563
+ max_token_ttl: Optional[pulumi.Input[builtins.str]] = None,
564
+ name: Optional[pulumi.Input[builtins.str]] = None,
565
+ namespace: Optional[pulumi.Input[builtins.str]] = None,
565
566
  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,
567
+ partition: Optional[pulumi.Input[builtins.str]] = None,
568
+ token_locality: Optional[pulumi.Input[builtins.str]] = None,
569
+ type: Optional[pulumi.Input[builtins.str]] = None,
569
570
  __props__=None):
570
571
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
571
572
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -598,17 +599,17 @@ class AclAuthMethod(pulumi.CustomResource):
598
599
  def get(resource_name: str,
599
600
  id: pulumi.Input[str],
600
601
  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,
602
+ config: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
603
+ config_json: Optional[pulumi.Input[builtins.str]] = None,
604
+ description: Optional[pulumi.Input[builtins.str]] = None,
605
+ display_name: Optional[pulumi.Input[builtins.str]] = None,
606
+ max_token_ttl: Optional[pulumi.Input[builtins.str]] = None,
607
+ name: Optional[pulumi.Input[builtins.str]] = None,
608
+ namespace: Optional[pulumi.Input[builtins.str]] = None,
608
609
  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':
610
+ partition: Optional[pulumi.Input[builtins.str]] = None,
611
+ token_locality: Optional[pulumi.Input[builtins.str]] = None,
612
+ type: Optional[pulumi.Input[builtins.str]] = None) -> 'AclAuthMethod':
612
613
  """
613
614
  Get an existing AclAuthMethod resource's state with the given name, id, and optional extra
614
615
  properties used to qualify the lookup.
@@ -616,17 +617,17 @@ class AclAuthMethod(pulumi.CustomResource):
616
617
  :param str resource_name: The unique name of the resulting resource.
617
618
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
618
619
  :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.
620
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] config: The raw configuration for this ACL auth method.
621
+ :param pulumi.Input[builtins.str] config_json: The raw configuration for this ACL auth method.
622
+ :param pulumi.Input[builtins.str] description: A free form human readable description of the auth method.
623
+ :param pulumi.Input[builtins.str] display_name: An optional name to use instead of the name attribute when displaying information about this auth method.
624
+ :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.**
625
+ :param pulumi.Input[builtins.str] name: The name of the ACL auth method.
626
+ :param pulumi.Input[builtins.str] namespace: The namespace in which to create the auth method.
626
627
  :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.
628
+ :param pulumi.Input[builtins.str] partition: The partition the ACL auth method is associated with.
629
+ :param pulumi.Input[builtins.str] token_locality: The kind of token that this auth method produces. This can be either 'local' or 'global'.
630
+ :param pulumi.Input[builtins.str] type: The type of the ACL auth method.
630
631
  """
631
632
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
632
633
 
@@ -648,7 +649,7 @@ class AclAuthMethod(pulumi.CustomResource):
648
649
  @property
649
650
  @pulumi.getter
650
651
  @_utilities.deprecated("""The config attribute is deprecated, please use `config_json` instead.""")
651
- def config(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
652
+ def config(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
652
653
  """
653
654
  The raw configuration for this ACL auth method.
654
655
  """
@@ -656,7 +657,7 @@ class AclAuthMethod(pulumi.CustomResource):
656
657
 
657
658
  @property
658
659
  @pulumi.getter(name="configJson")
659
- def config_json(self) -> pulumi.Output[Optional[str]]:
660
+ def config_json(self) -> pulumi.Output[Optional[builtins.str]]:
660
661
  """
661
662
  The raw configuration for this ACL auth method.
662
663
  """
@@ -664,7 +665,7 @@ class AclAuthMethod(pulumi.CustomResource):
664
665
 
665
666
  @property
666
667
  @pulumi.getter
667
- def description(self) -> pulumi.Output[Optional[str]]:
668
+ def description(self) -> pulumi.Output[Optional[builtins.str]]:
668
669
  """
669
670
  A free form human readable description of the auth method.
670
671
  """
@@ -672,7 +673,7 @@ class AclAuthMethod(pulumi.CustomResource):
672
673
 
673
674
  @property
674
675
  @pulumi.getter(name="displayName")
675
- def display_name(self) -> pulumi.Output[Optional[str]]:
676
+ def display_name(self) -> pulumi.Output[Optional[builtins.str]]:
676
677
  """
677
678
  An optional name to use instead of the name attribute when displaying information about this auth method.
678
679
  """
@@ -680,7 +681,7 @@ class AclAuthMethod(pulumi.CustomResource):
680
681
 
681
682
  @property
682
683
  @pulumi.getter(name="maxTokenTtl")
683
- def max_token_ttl(self) -> pulumi.Output[Optional[str]]:
684
+ def max_token_ttl(self) -> pulumi.Output[Optional[builtins.str]]:
684
685
  """
685
686
  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
687
  """
@@ -688,7 +689,7 @@ class AclAuthMethod(pulumi.CustomResource):
688
689
 
689
690
  @property
690
691
  @pulumi.getter
691
- def name(self) -> pulumi.Output[str]:
692
+ def name(self) -> pulumi.Output[builtins.str]:
692
693
  """
693
694
  The name of the ACL auth method.
694
695
  """
@@ -696,7 +697,7 @@ class AclAuthMethod(pulumi.CustomResource):
696
697
 
697
698
  @property
698
699
  @pulumi.getter
699
- def namespace(self) -> pulumi.Output[Optional[str]]:
700
+ def namespace(self) -> pulumi.Output[Optional[builtins.str]]:
700
701
  """
701
702
  The namespace in which to create the auth method.
702
703
  """
@@ -712,7 +713,7 @@ class AclAuthMethod(pulumi.CustomResource):
712
713
 
713
714
  @property
714
715
  @pulumi.getter
715
- def partition(self) -> pulumi.Output[Optional[str]]:
716
+ def partition(self) -> pulumi.Output[Optional[builtins.str]]:
716
717
  """
717
718
  The partition the ACL auth method is associated with.
718
719
  """
@@ -720,7 +721,7 @@ class AclAuthMethod(pulumi.CustomResource):
720
721
 
721
722
  @property
722
723
  @pulumi.getter(name="tokenLocality")
723
- def token_locality(self) -> pulumi.Output[Optional[str]]:
724
+ def token_locality(self) -> pulumi.Output[Optional[builtins.str]]:
724
725
  """
725
726
  The kind of token that this auth method produces. This can be either 'local' or 'global'.
726
727
  """
@@ -728,7 +729,7 @@ class AclAuthMethod(pulumi.CustomResource):
728
729
 
729
730
  @property
730
731
  @pulumi.getter
731
- def type(self) -> pulumi.Output[str]:
732
+ def type(self) -> pulumi.Output[builtins.str]:
732
733
  """
733
734
  The type of the ACL auth method.
734
735
  """