pulumi-consul 3.12.4__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.
- pulumi_consul/__init__.py +1 -0
- pulumi_consul/_inputs.py +1306 -1305
- pulumi_consul/acl_auth_method.py +144 -140
- pulumi_consul/acl_binding_rule.py +102 -98
- pulumi_consul/acl_policy.py +88 -84
- pulumi_consul/acl_role.py +74 -70
- pulumi_consul/acl_role_policy_attachment.py +32 -28
- pulumi_consul/acl_token.py +116 -112
- pulumi_consul/acl_token_policy_attachment.py +32 -28
- pulumi_consul/acl_token_role_attachment.py +32 -28
- pulumi_consul/admin_partition.py +32 -28
- pulumi_consul/agent_service.py +60 -56
- pulumi_consul/autopilot_config.py +116 -112
- pulumi_consul/catalog_entry.py +60 -56
- pulumi_consul/certificate_authority.py +38 -34
- pulumi_consul/config/__init__.py +1 -0
- pulumi_consul/config/__init__.pyi +1 -0
- pulumi_consul/config/outputs.py +18 -17
- pulumi_consul/config/vars.py +1 -0
- pulumi_consul/config_entry.py +74 -70
- pulumi_consul/config_entry_service_defaults.py +172 -168
- pulumi_consul/config_entry_service_intentions.py +60 -56
- pulumi_consul/config_entry_service_resolver.py +102 -98
- pulumi_consul/config_entry_service_router.py +60 -56
- pulumi_consul/config_entry_service_splitter.py +60 -56
- pulumi_consul/config_entry_v2_exported_services.py +116 -112
- pulumi_consul/get_acl_auth_method.py +24 -23
- pulumi_consul/get_acl_policy.py +20 -19
- pulumi_consul/get_acl_role.py +18 -17
- pulumi_consul/get_acl_token.py +20 -19
- pulumi_consul/get_acl_token_secret_id.py +22 -21
- pulumi_consul/get_agent_config.py +8 -7
- pulumi_consul/get_agent_self.py +73 -72
- pulumi_consul/get_autopilot_health.py +9 -8
- pulumi_consul/get_catalog_nodes.py +5 -4
- pulumi_consul/get_catalog_service.py +20 -19
- pulumi_consul/get_catalog_services.py +6 -5
- pulumi_consul/get_config_entry.py +23 -22
- pulumi_consul/get_config_entry_v2_exported_services.py +42 -41
- pulumi_consul/get_datacenters.py +3 -2
- pulumi_consul/get_key_prefix.py +29 -28
- pulumi_consul/get_keys.py +28 -27
- pulumi_consul/get_network_area_members.py +17 -16
- pulumi_consul/get_network_segments.py +13 -12
- pulumi_consul/get_nodes.py +5 -4
- pulumi_consul/get_peering.py +15 -14
- pulumi_consul/get_peerings.py +5 -4
- pulumi_consul/get_service.py +20 -19
- pulumi_consul/get_service_health.py +40 -39
- pulumi_consul/get_services.py +6 -5
- pulumi_consul/intention.py +116 -112
- pulumi_consul/key_prefix.py +88 -84
- pulumi_consul/keys.py +65 -61
- pulumi_consul/license.py +102 -98
- pulumi_consul/namespace.py +88 -84
- pulumi_consul/namespace_policy_attachment.py +32 -28
- pulumi_consul/namespace_role_attachment.py +32 -28
- pulumi_consul/network_area.py +74 -70
- pulumi_consul/node.py +84 -80
- pulumi_consul/outputs.py +1054 -1053
- pulumi_consul/peering.py +86 -82
- pulumi_consul/peering_token.py +63 -59
- pulumi_consul/prepared_query.py +186 -182
- pulumi_consul/provider.py +113 -109
- pulumi_consul/pulumi-plugin.json +1 -1
- pulumi_consul/service.py +168 -164
- {pulumi_consul-3.12.4.dist-info → pulumi_consul-3.12.5.dist-info}/METADATA +2 -2
- pulumi_consul-3.12.5.dist-info/RECORD +72 -0
- {pulumi_consul-3.12.4.dist-info → pulumi_consul-3.12.5.dist-info}/WHEEL +1 -1
- pulumi_consul-3.12.4.dist-info/RECORD +0 -72
- {pulumi_consul-3.12.4.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,24 +22,24 @@ __all__ = ['AclBindingRuleArgs', 'AclBindingRule']
|
|
|
21
22
|
@pulumi.input_type
|
|
22
23
|
class AclBindingRuleArgs:
|
|
23
24
|
def __init__(__self__, *,
|
|
24
|
-
auth_method: pulumi.Input[str],
|
|
25
|
-
bind_name: pulumi.Input[str],
|
|
26
|
-
bind_type: pulumi.Input[str],
|
|
25
|
+
auth_method: pulumi.Input[builtins.str],
|
|
26
|
+
bind_name: pulumi.Input[builtins.str],
|
|
27
|
+
bind_type: pulumi.Input[builtins.str],
|
|
27
28
|
bind_vars: Optional[pulumi.Input['AclBindingRuleBindVarsArgs']] = None,
|
|
28
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
29
|
-
namespace: Optional[pulumi.Input[str]] = None,
|
|
30
|
-
partition: Optional[pulumi.Input[str]] = None,
|
|
31
|
-
selector: Optional[pulumi.Input[str]] = None):
|
|
29
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
30
|
+
namespace: Optional[pulumi.Input[builtins.str]] = None,
|
|
31
|
+
partition: Optional[pulumi.Input[builtins.str]] = None,
|
|
32
|
+
selector: Optional[pulumi.Input[builtins.str]] = None):
|
|
32
33
|
"""
|
|
33
34
|
The set of arguments for constructing a AclBindingRule resource.
|
|
34
|
-
:param pulumi.Input[str] auth_method: The name of the ACL auth method this rule apply.
|
|
35
|
-
:param pulumi.Input[str] bind_name: The name to bind to a token at login-time.
|
|
36
|
-
:param pulumi.Input[str] bind_type: Specifies the way the binding rule affects a token created at login.
|
|
35
|
+
:param pulumi.Input[builtins.str] auth_method: The name of the ACL auth method this rule apply.
|
|
36
|
+
:param pulumi.Input[builtins.str] bind_name: The name to bind to a token at login-time.
|
|
37
|
+
:param pulumi.Input[builtins.str] bind_type: Specifies the way the binding rule affects a token created at login.
|
|
37
38
|
:param pulumi.Input['AclBindingRuleBindVarsArgs'] bind_vars: The variables used when binding rule type is `templated-policy`. Can be lightly templated using HIL `${foo}` syntax from available field names.
|
|
38
|
-
:param pulumi.Input[str] description: A free form human readable description of the binding rule.
|
|
39
|
-
:param pulumi.Input[str] namespace: The namespace to create the binding rule within.
|
|
40
|
-
:param pulumi.Input[str] partition: The partition the ACL binding rule is associated with.
|
|
41
|
-
:param pulumi.Input[str] selector: The expression used to match this rule against valid identities returned from an auth method validation.
|
|
39
|
+
:param pulumi.Input[builtins.str] description: A free form human readable description of the binding rule.
|
|
40
|
+
:param pulumi.Input[builtins.str] namespace: The namespace to create the binding rule within.
|
|
41
|
+
:param pulumi.Input[builtins.str] partition: The partition the ACL binding rule is associated with.
|
|
42
|
+
:param pulumi.Input[builtins.str] selector: The expression used to match this rule against valid identities returned from an auth method validation.
|
|
42
43
|
"""
|
|
43
44
|
pulumi.set(__self__, "auth_method", auth_method)
|
|
44
45
|
pulumi.set(__self__, "bind_name", bind_name)
|
|
@@ -56,38 +57,38 @@ class AclBindingRuleArgs:
|
|
|
56
57
|
|
|
57
58
|
@property
|
|
58
59
|
@pulumi.getter(name="authMethod")
|
|
59
|
-
def auth_method(self) -> pulumi.Input[str]:
|
|
60
|
+
def auth_method(self) -> pulumi.Input[builtins.str]:
|
|
60
61
|
"""
|
|
61
62
|
The name of the ACL auth method this rule apply.
|
|
62
63
|
"""
|
|
63
64
|
return pulumi.get(self, "auth_method")
|
|
64
65
|
|
|
65
66
|
@auth_method.setter
|
|
66
|
-
def auth_method(self, value: pulumi.Input[str]):
|
|
67
|
+
def auth_method(self, value: pulumi.Input[builtins.str]):
|
|
67
68
|
pulumi.set(self, "auth_method", value)
|
|
68
69
|
|
|
69
70
|
@property
|
|
70
71
|
@pulumi.getter(name="bindName")
|
|
71
|
-
def bind_name(self) -> pulumi.Input[str]:
|
|
72
|
+
def bind_name(self) -> pulumi.Input[builtins.str]:
|
|
72
73
|
"""
|
|
73
74
|
The name to bind to a token at login-time.
|
|
74
75
|
"""
|
|
75
76
|
return pulumi.get(self, "bind_name")
|
|
76
77
|
|
|
77
78
|
@bind_name.setter
|
|
78
|
-
def bind_name(self, value: pulumi.Input[str]):
|
|
79
|
+
def bind_name(self, value: pulumi.Input[builtins.str]):
|
|
79
80
|
pulumi.set(self, "bind_name", value)
|
|
80
81
|
|
|
81
82
|
@property
|
|
82
83
|
@pulumi.getter(name="bindType")
|
|
83
|
-
def bind_type(self) -> pulumi.Input[str]:
|
|
84
|
+
def bind_type(self) -> pulumi.Input[builtins.str]:
|
|
84
85
|
"""
|
|
85
86
|
Specifies the way the binding rule affects a token created at login.
|
|
86
87
|
"""
|
|
87
88
|
return pulumi.get(self, "bind_type")
|
|
88
89
|
|
|
89
90
|
@bind_type.setter
|
|
90
|
-
def bind_type(self, value: pulumi.Input[str]):
|
|
91
|
+
def bind_type(self, value: pulumi.Input[builtins.str]):
|
|
91
92
|
pulumi.set(self, "bind_type", value)
|
|
92
93
|
|
|
93
94
|
@property
|
|
@@ -104,74 +105,74 @@ class AclBindingRuleArgs:
|
|
|
104
105
|
|
|
105
106
|
@property
|
|
106
107
|
@pulumi.getter
|
|
107
|
-
def description(self) -> Optional[pulumi.Input[str]]:
|
|
108
|
+
def description(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
108
109
|
"""
|
|
109
110
|
A free form human readable description of the binding rule.
|
|
110
111
|
"""
|
|
111
112
|
return pulumi.get(self, "description")
|
|
112
113
|
|
|
113
114
|
@description.setter
|
|
114
|
-
def description(self, value: Optional[pulumi.Input[str]]):
|
|
115
|
+
def description(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
115
116
|
pulumi.set(self, "description", value)
|
|
116
117
|
|
|
117
118
|
@property
|
|
118
119
|
@pulumi.getter
|
|
119
|
-
def namespace(self) -> Optional[pulumi.Input[str]]:
|
|
120
|
+
def namespace(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
120
121
|
"""
|
|
121
122
|
The namespace to create the binding rule within.
|
|
122
123
|
"""
|
|
123
124
|
return pulumi.get(self, "namespace")
|
|
124
125
|
|
|
125
126
|
@namespace.setter
|
|
126
|
-
def namespace(self, value: Optional[pulumi.Input[str]]):
|
|
127
|
+
def namespace(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
127
128
|
pulumi.set(self, "namespace", value)
|
|
128
129
|
|
|
129
130
|
@property
|
|
130
131
|
@pulumi.getter
|
|
131
|
-
def partition(self) -> Optional[pulumi.Input[str]]:
|
|
132
|
+
def partition(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
132
133
|
"""
|
|
133
134
|
The partition the ACL binding rule is associated with.
|
|
134
135
|
"""
|
|
135
136
|
return pulumi.get(self, "partition")
|
|
136
137
|
|
|
137
138
|
@partition.setter
|
|
138
|
-
def partition(self, value: Optional[pulumi.Input[str]]):
|
|
139
|
+
def partition(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
139
140
|
pulumi.set(self, "partition", value)
|
|
140
141
|
|
|
141
142
|
@property
|
|
142
143
|
@pulumi.getter
|
|
143
|
-
def selector(self) -> Optional[pulumi.Input[str]]:
|
|
144
|
+
def selector(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
144
145
|
"""
|
|
145
146
|
The expression used to match this rule against valid identities returned from an auth method validation.
|
|
146
147
|
"""
|
|
147
148
|
return pulumi.get(self, "selector")
|
|
148
149
|
|
|
149
150
|
@selector.setter
|
|
150
|
-
def selector(self, value: Optional[pulumi.Input[str]]):
|
|
151
|
+
def selector(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
151
152
|
pulumi.set(self, "selector", value)
|
|
152
153
|
|
|
153
154
|
|
|
154
155
|
@pulumi.input_type
|
|
155
156
|
class _AclBindingRuleState:
|
|
156
157
|
def __init__(__self__, *,
|
|
157
|
-
auth_method: Optional[pulumi.Input[str]] = None,
|
|
158
|
-
bind_name: Optional[pulumi.Input[str]] = None,
|
|
159
|
-
bind_type: Optional[pulumi.Input[str]] = None,
|
|
158
|
+
auth_method: Optional[pulumi.Input[builtins.str]] = None,
|
|
159
|
+
bind_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
160
|
+
bind_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
160
161
|
bind_vars: Optional[pulumi.Input['AclBindingRuleBindVarsArgs']] = None,
|
|
161
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
162
|
-
namespace: Optional[pulumi.Input[str]] = None,
|
|
163
|
-
partition: Optional[pulumi.Input[str]] = None,
|
|
164
|
-
selector: Optional[pulumi.Input[str]] = None):
|
|
162
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
163
|
+
namespace: Optional[pulumi.Input[builtins.str]] = None,
|
|
164
|
+
partition: Optional[pulumi.Input[builtins.str]] = None,
|
|
165
|
+
selector: Optional[pulumi.Input[builtins.str]] = None):
|
|
165
166
|
"""
|
|
166
167
|
Input properties used for looking up and filtering AclBindingRule resources.
|
|
167
|
-
:param pulumi.Input[str] auth_method: The name of the ACL auth method this rule apply.
|
|
168
|
-
:param pulumi.Input[str] bind_name: The name to bind to a token at login-time.
|
|
169
|
-
:param pulumi.Input[str] bind_type: Specifies the way the binding rule affects a token created at login.
|
|
168
|
+
:param pulumi.Input[builtins.str] auth_method: The name of the ACL auth method this rule apply.
|
|
169
|
+
:param pulumi.Input[builtins.str] bind_name: The name to bind to a token at login-time.
|
|
170
|
+
:param pulumi.Input[builtins.str] bind_type: Specifies the way the binding rule affects a token created at login.
|
|
170
171
|
:param pulumi.Input['AclBindingRuleBindVarsArgs'] bind_vars: The variables used when binding rule type is `templated-policy`. Can be lightly templated using HIL `${foo}` syntax from available field names.
|
|
171
|
-
:param pulumi.Input[str] description: A free form human readable description of the binding rule.
|
|
172
|
-
:param pulumi.Input[str] namespace: The namespace to create the binding rule within.
|
|
173
|
-
:param pulumi.Input[str] partition: The partition the ACL binding rule is associated with.
|
|
174
|
-
:param pulumi.Input[str] selector: The expression used to match this rule against valid identities returned from an auth method validation.
|
|
172
|
+
:param pulumi.Input[builtins.str] description: A free form human readable description of the binding rule.
|
|
173
|
+
:param pulumi.Input[builtins.str] namespace: The namespace to create the binding rule within.
|
|
174
|
+
:param pulumi.Input[builtins.str] partition: The partition the ACL binding rule is associated with.
|
|
175
|
+
:param pulumi.Input[builtins.str] selector: The expression used to match this rule against valid identities returned from an auth method validation.
|
|
175
176
|
"""
|
|
176
177
|
if auth_method is not None:
|
|
177
178
|
pulumi.set(__self__, "auth_method", auth_method)
|
|
@@ -192,38 +193,38 @@ class _AclBindingRuleState:
|
|
|
192
193
|
|
|
193
194
|
@property
|
|
194
195
|
@pulumi.getter(name="authMethod")
|
|
195
|
-
def auth_method(self) -> Optional[pulumi.Input[str]]:
|
|
196
|
+
def auth_method(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
196
197
|
"""
|
|
197
198
|
The name of the ACL auth method this rule apply.
|
|
198
199
|
"""
|
|
199
200
|
return pulumi.get(self, "auth_method")
|
|
200
201
|
|
|
201
202
|
@auth_method.setter
|
|
202
|
-
def auth_method(self, value: Optional[pulumi.Input[str]]):
|
|
203
|
+
def auth_method(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
203
204
|
pulumi.set(self, "auth_method", value)
|
|
204
205
|
|
|
205
206
|
@property
|
|
206
207
|
@pulumi.getter(name="bindName")
|
|
207
|
-
def bind_name(self) -> Optional[pulumi.Input[str]]:
|
|
208
|
+
def bind_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
208
209
|
"""
|
|
209
210
|
The name to bind to a token at login-time.
|
|
210
211
|
"""
|
|
211
212
|
return pulumi.get(self, "bind_name")
|
|
212
213
|
|
|
213
214
|
@bind_name.setter
|
|
214
|
-
def bind_name(self, value: Optional[pulumi.Input[str]]):
|
|
215
|
+
def bind_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
215
216
|
pulumi.set(self, "bind_name", value)
|
|
216
217
|
|
|
217
218
|
@property
|
|
218
219
|
@pulumi.getter(name="bindType")
|
|
219
|
-
def bind_type(self) -> Optional[pulumi.Input[str]]:
|
|
220
|
+
def bind_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
220
221
|
"""
|
|
221
222
|
Specifies the way the binding rule affects a token created at login.
|
|
222
223
|
"""
|
|
223
224
|
return pulumi.get(self, "bind_type")
|
|
224
225
|
|
|
225
226
|
@bind_type.setter
|
|
226
|
-
def bind_type(self, value: Optional[pulumi.Input[str]]):
|
|
227
|
+
def bind_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
227
228
|
pulumi.set(self, "bind_type", value)
|
|
228
229
|
|
|
229
230
|
@property
|
|
@@ -240,66 +241,69 @@ class _AclBindingRuleState:
|
|
|
240
241
|
|
|
241
242
|
@property
|
|
242
243
|
@pulumi.getter
|
|
243
|
-
def description(self) -> Optional[pulumi.Input[str]]:
|
|
244
|
+
def description(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
244
245
|
"""
|
|
245
246
|
A free form human readable description of the binding rule.
|
|
246
247
|
"""
|
|
247
248
|
return pulumi.get(self, "description")
|
|
248
249
|
|
|
249
250
|
@description.setter
|
|
250
|
-
def description(self, value: Optional[pulumi.Input[str]]):
|
|
251
|
+
def description(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
251
252
|
pulumi.set(self, "description", value)
|
|
252
253
|
|
|
253
254
|
@property
|
|
254
255
|
@pulumi.getter
|
|
255
|
-
def namespace(self) -> Optional[pulumi.Input[str]]:
|
|
256
|
+
def namespace(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
256
257
|
"""
|
|
257
258
|
The namespace to create the binding rule within.
|
|
258
259
|
"""
|
|
259
260
|
return pulumi.get(self, "namespace")
|
|
260
261
|
|
|
261
262
|
@namespace.setter
|
|
262
|
-
def namespace(self, value: Optional[pulumi.Input[str]]):
|
|
263
|
+
def namespace(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
263
264
|
pulumi.set(self, "namespace", value)
|
|
264
265
|
|
|
265
266
|
@property
|
|
266
267
|
@pulumi.getter
|
|
267
|
-
def partition(self) -> Optional[pulumi.Input[str]]:
|
|
268
|
+
def partition(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
268
269
|
"""
|
|
269
270
|
The partition the ACL binding rule is associated with.
|
|
270
271
|
"""
|
|
271
272
|
return pulumi.get(self, "partition")
|
|
272
273
|
|
|
273
274
|
@partition.setter
|
|
274
|
-
def partition(self, value: Optional[pulumi.Input[str]]):
|
|
275
|
+
def partition(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
275
276
|
pulumi.set(self, "partition", value)
|
|
276
277
|
|
|
277
278
|
@property
|
|
278
279
|
@pulumi.getter
|
|
279
|
-
def selector(self) -> Optional[pulumi.Input[str]]:
|
|
280
|
+
def selector(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
280
281
|
"""
|
|
281
282
|
The expression used to match this rule against valid identities returned from an auth method validation.
|
|
282
283
|
"""
|
|
283
284
|
return pulumi.get(self, "selector")
|
|
284
285
|
|
|
285
286
|
@selector.setter
|
|
286
|
-
def selector(self, value: Optional[pulumi.Input[str]]):
|
|
287
|
+
def selector(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
287
288
|
pulumi.set(self, "selector", value)
|
|
288
289
|
|
|
289
290
|
|
|
290
291
|
class AclBindingRule(pulumi.CustomResource):
|
|
292
|
+
|
|
293
|
+
pulumi_type = "consul:index/aclBindingRule:AclBindingRule"
|
|
294
|
+
|
|
291
295
|
@overload
|
|
292
296
|
def __init__(__self__,
|
|
293
297
|
resource_name: str,
|
|
294
298
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
295
|
-
auth_method: Optional[pulumi.Input[str]] = None,
|
|
296
|
-
bind_name: Optional[pulumi.Input[str]] = None,
|
|
297
|
-
bind_type: Optional[pulumi.Input[str]] = None,
|
|
299
|
+
auth_method: Optional[pulumi.Input[builtins.str]] = None,
|
|
300
|
+
bind_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
301
|
+
bind_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
298
302
|
bind_vars: Optional[pulumi.Input[Union['AclBindingRuleBindVarsArgs', 'AclBindingRuleBindVarsArgsDict']]] = None,
|
|
299
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
300
|
-
namespace: Optional[pulumi.Input[str]] = None,
|
|
301
|
-
partition: Optional[pulumi.Input[str]] = None,
|
|
302
|
-
selector: Optional[pulumi.Input[str]] = None,
|
|
303
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
304
|
+
namespace: Optional[pulumi.Input[builtins.str]] = None,
|
|
305
|
+
partition: Optional[pulumi.Input[builtins.str]] = None,
|
|
306
|
+
selector: Optional[pulumi.Input[builtins.str]] = None,
|
|
303
307
|
__props__=None):
|
|
304
308
|
"""
|
|
305
309
|
Starting with Consul 1.5.0, the AclBindingRule resource can be used to managed Consul ACL binding rules.
|
|
@@ -331,14 +335,14 @@ class AclBindingRule(pulumi.CustomResource):
|
|
|
331
335
|
|
|
332
336
|
:param str resource_name: The name of the resource.
|
|
333
337
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
334
|
-
:param pulumi.Input[str] auth_method: The name of the ACL auth method this rule apply.
|
|
335
|
-
:param pulumi.Input[str] bind_name: The name to bind to a token at login-time.
|
|
336
|
-
:param pulumi.Input[str] bind_type: Specifies the way the binding rule affects a token created at login.
|
|
338
|
+
:param pulumi.Input[builtins.str] auth_method: The name of the ACL auth method this rule apply.
|
|
339
|
+
:param pulumi.Input[builtins.str] bind_name: The name to bind to a token at login-time.
|
|
340
|
+
:param pulumi.Input[builtins.str] bind_type: Specifies the way the binding rule affects a token created at login.
|
|
337
341
|
:param pulumi.Input[Union['AclBindingRuleBindVarsArgs', 'AclBindingRuleBindVarsArgsDict']] bind_vars: The variables used when binding rule type is `templated-policy`. Can be lightly templated using HIL `${foo}` syntax from available field names.
|
|
338
|
-
:param pulumi.Input[str] description: A free form human readable description of the binding rule.
|
|
339
|
-
:param pulumi.Input[str] namespace: The namespace to create the binding rule within.
|
|
340
|
-
:param pulumi.Input[str] partition: The partition the ACL binding rule is associated with.
|
|
341
|
-
:param pulumi.Input[str] selector: The expression used to match this rule against valid identities returned from an auth method validation.
|
|
342
|
+
:param pulumi.Input[builtins.str] description: A free form human readable description of the binding rule.
|
|
343
|
+
:param pulumi.Input[builtins.str] namespace: The namespace to create the binding rule within.
|
|
344
|
+
:param pulumi.Input[builtins.str] partition: The partition the ACL binding rule is associated with.
|
|
345
|
+
:param pulumi.Input[builtins.str] selector: The expression used to match this rule against valid identities returned from an auth method validation.
|
|
342
346
|
"""
|
|
343
347
|
...
|
|
344
348
|
@overload
|
|
@@ -389,14 +393,14 @@ class AclBindingRule(pulumi.CustomResource):
|
|
|
389
393
|
def _internal_init(__self__,
|
|
390
394
|
resource_name: str,
|
|
391
395
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
392
|
-
auth_method: Optional[pulumi.Input[str]] = None,
|
|
393
|
-
bind_name: Optional[pulumi.Input[str]] = None,
|
|
394
|
-
bind_type: Optional[pulumi.Input[str]] = None,
|
|
396
|
+
auth_method: Optional[pulumi.Input[builtins.str]] = None,
|
|
397
|
+
bind_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
398
|
+
bind_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
395
399
|
bind_vars: Optional[pulumi.Input[Union['AclBindingRuleBindVarsArgs', 'AclBindingRuleBindVarsArgsDict']]] = None,
|
|
396
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
397
|
-
namespace: Optional[pulumi.Input[str]] = None,
|
|
398
|
-
partition: Optional[pulumi.Input[str]] = None,
|
|
399
|
-
selector: Optional[pulumi.Input[str]] = None,
|
|
400
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
401
|
+
namespace: Optional[pulumi.Input[builtins.str]] = None,
|
|
402
|
+
partition: Optional[pulumi.Input[builtins.str]] = None,
|
|
403
|
+
selector: Optional[pulumi.Input[builtins.str]] = None,
|
|
400
404
|
__props__=None):
|
|
401
405
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
402
406
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -430,14 +434,14 @@ class AclBindingRule(pulumi.CustomResource):
|
|
|
430
434
|
def get(resource_name: str,
|
|
431
435
|
id: pulumi.Input[str],
|
|
432
436
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
433
|
-
auth_method: Optional[pulumi.Input[str]] = None,
|
|
434
|
-
bind_name: Optional[pulumi.Input[str]] = None,
|
|
435
|
-
bind_type: Optional[pulumi.Input[str]] = None,
|
|
437
|
+
auth_method: Optional[pulumi.Input[builtins.str]] = None,
|
|
438
|
+
bind_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
439
|
+
bind_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
436
440
|
bind_vars: Optional[pulumi.Input[Union['AclBindingRuleBindVarsArgs', 'AclBindingRuleBindVarsArgsDict']]] = None,
|
|
437
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
438
|
-
namespace: Optional[pulumi.Input[str]] = None,
|
|
439
|
-
partition: Optional[pulumi.Input[str]] = None,
|
|
440
|
-
selector: Optional[pulumi.Input[str]] = None) -> 'AclBindingRule':
|
|
441
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
442
|
+
namespace: Optional[pulumi.Input[builtins.str]] = None,
|
|
443
|
+
partition: Optional[pulumi.Input[builtins.str]] = None,
|
|
444
|
+
selector: Optional[pulumi.Input[builtins.str]] = None) -> 'AclBindingRule':
|
|
441
445
|
"""
|
|
442
446
|
Get an existing AclBindingRule resource's state with the given name, id, and optional extra
|
|
443
447
|
properties used to qualify the lookup.
|
|
@@ -445,14 +449,14 @@ class AclBindingRule(pulumi.CustomResource):
|
|
|
445
449
|
:param str resource_name: The unique name of the resulting resource.
|
|
446
450
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
447
451
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
448
|
-
:param pulumi.Input[str] auth_method: The name of the ACL auth method this rule apply.
|
|
449
|
-
:param pulumi.Input[str] bind_name: The name to bind to a token at login-time.
|
|
450
|
-
:param pulumi.Input[str] bind_type: Specifies the way the binding rule affects a token created at login.
|
|
452
|
+
:param pulumi.Input[builtins.str] auth_method: The name of the ACL auth method this rule apply.
|
|
453
|
+
:param pulumi.Input[builtins.str] bind_name: The name to bind to a token at login-time.
|
|
454
|
+
:param pulumi.Input[builtins.str] bind_type: Specifies the way the binding rule affects a token created at login.
|
|
451
455
|
:param pulumi.Input[Union['AclBindingRuleBindVarsArgs', 'AclBindingRuleBindVarsArgsDict']] bind_vars: The variables used when binding rule type is `templated-policy`. Can be lightly templated using HIL `${foo}` syntax from available field names.
|
|
452
|
-
:param pulumi.Input[str] description: A free form human readable description of the binding rule.
|
|
453
|
-
:param pulumi.Input[str] namespace: The namespace to create the binding rule within.
|
|
454
|
-
:param pulumi.Input[str] partition: The partition the ACL binding rule is associated with.
|
|
455
|
-
:param pulumi.Input[str] selector: The expression used to match this rule against valid identities returned from an auth method validation.
|
|
456
|
+
:param pulumi.Input[builtins.str] description: A free form human readable description of the binding rule.
|
|
457
|
+
:param pulumi.Input[builtins.str] namespace: The namespace to create the binding rule within.
|
|
458
|
+
:param pulumi.Input[builtins.str] partition: The partition the ACL binding rule is associated with.
|
|
459
|
+
:param pulumi.Input[builtins.str] selector: The expression used to match this rule against valid identities returned from an auth method validation.
|
|
456
460
|
"""
|
|
457
461
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
458
462
|
|
|
@@ -470,7 +474,7 @@ class AclBindingRule(pulumi.CustomResource):
|
|
|
470
474
|
|
|
471
475
|
@property
|
|
472
476
|
@pulumi.getter(name="authMethod")
|
|
473
|
-
def auth_method(self) -> pulumi.Output[str]:
|
|
477
|
+
def auth_method(self) -> pulumi.Output[builtins.str]:
|
|
474
478
|
"""
|
|
475
479
|
The name of the ACL auth method this rule apply.
|
|
476
480
|
"""
|
|
@@ -478,7 +482,7 @@ class AclBindingRule(pulumi.CustomResource):
|
|
|
478
482
|
|
|
479
483
|
@property
|
|
480
484
|
@pulumi.getter(name="bindName")
|
|
481
|
-
def bind_name(self) -> pulumi.Output[str]:
|
|
485
|
+
def bind_name(self) -> pulumi.Output[builtins.str]:
|
|
482
486
|
"""
|
|
483
487
|
The name to bind to a token at login-time.
|
|
484
488
|
"""
|
|
@@ -486,7 +490,7 @@ class AclBindingRule(pulumi.CustomResource):
|
|
|
486
490
|
|
|
487
491
|
@property
|
|
488
492
|
@pulumi.getter(name="bindType")
|
|
489
|
-
def bind_type(self) -> pulumi.Output[str]:
|
|
493
|
+
def bind_type(self) -> pulumi.Output[builtins.str]:
|
|
490
494
|
"""
|
|
491
495
|
Specifies the way the binding rule affects a token created at login.
|
|
492
496
|
"""
|
|
@@ -502,7 +506,7 @@ class AclBindingRule(pulumi.CustomResource):
|
|
|
502
506
|
|
|
503
507
|
@property
|
|
504
508
|
@pulumi.getter
|
|
505
|
-
def description(self) -> pulumi.Output[Optional[str]]:
|
|
509
|
+
def description(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
506
510
|
"""
|
|
507
511
|
A free form human readable description of the binding rule.
|
|
508
512
|
"""
|
|
@@ -510,7 +514,7 @@ class AclBindingRule(pulumi.CustomResource):
|
|
|
510
514
|
|
|
511
515
|
@property
|
|
512
516
|
@pulumi.getter
|
|
513
|
-
def namespace(self) -> pulumi.Output[Optional[str]]:
|
|
517
|
+
def namespace(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
514
518
|
"""
|
|
515
519
|
The namespace to create the binding rule within.
|
|
516
520
|
"""
|
|
@@ -518,7 +522,7 @@ class AclBindingRule(pulumi.CustomResource):
|
|
|
518
522
|
|
|
519
523
|
@property
|
|
520
524
|
@pulumi.getter
|
|
521
|
-
def partition(self) -> pulumi.Output[Optional[str]]:
|
|
525
|
+
def partition(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
522
526
|
"""
|
|
523
527
|
The partition the ACL binding rule is associated with.
|
|
524
528
|
"""
|
|
@@ -526,7 +530,7 @@ class AclBindingRule(pulumi.CustomResource):
|
|
|
526
530
|
|
|
527
531
|
@property
|
|
528
532
|
@pulumi.getter
|
|
529
|
-
def selector(self) -> pulumi.Output[Optional[str]]:
|
|
533
|
+
def selector(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
530
534
|
"""
|
|
531
535
|
The expression used to match this rule against valid identities returned from an auth method validation.
|
|
532
536
|
"""
|