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.
- pulumi_consul/__init__.py +1 -0
- pulumi_consul/_inputs.py +1306 -1305
- pulumi_consul/acl_auth_method.py +141 -140
- pulumi_consul/acl_binding_rule.py +99 -98
- pulumi_consul/acl_policy.py +85 -84
- pulumi_consul/acl_role.py +71 -70
- pulumi_consul/acl_role_policy_attachment.py +29 -28
- pulumi_consul/acl_token.py +113 -112
- pulumi_consul/acl_token_policy_attachment.py +29 -28
- pulumi_consul/acl_token_role_attachment.py +29 -28
- pulumi_consul/admin_partition.py +29 -28
- pulumi_consul/agent_service.py +57 -56
- pulumi_consul/autopilot_config.py +113 -112
- pulumi_consul/catalog_entry.py +57 -56
- pulumi_consul/certificate_authority.py +35 -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 +71 -70
- pulumi_consul/config_entry_service_defaults.py +169 -168
- pulumi_consul/config_entry_service_intentions.py +57 -56
- pulumi_consul/config_entry_service_resolver.py +99 -98
- pulumi_consul/config_entry_service_router.py +57 -56
- pulumi_consul/config_entry_service_splitter.py +57 -56
- pulumi_consul/config_entry_v2_exported_services.py +113 -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 +113 -112
- pulumi_consul/key_prefix.py +85 -84
- pulumi_consul/keys.py +62 -61
- pulumi_consul/license.py +99 -98
- pulumi_consul/namespace.py +85 -84
- pulumi_consul/namespace_policy_attachment.py +29 -28
- pulumi_consul/namespace_role_attachment.py +29 -28
- pulumi_consul/network_area.py +71 -70
- pulumi_consul/node.py +81 -80
- pulumi_consul/outputs.py +1054 -1053
- pulumi_consul/peering.py +83 -82
- pulumi_consul/peering_token.py +60 -59
- pulumi_consul/prepared_query.py +183 -182
- pulumi_consul/provider.py +110 -109
- pulumi_consul/pulumi-plugin.json +1 -1
- pulumi_consul/service.py +165 -164
- {pulumi_consul-3.13.0a1743485707.dist-info → pulumi_consul-3.13.0a1744182998.dist-info}/METADATA +1 -1
- pulumi_consul-3.13.0a1744182998.dist-info/RECORD +72 -0
- pulumi_consul-3.13.0a1743485707.dist-info/RECORD +0 -72
- {pulumi_consul-3.13.0a1743485707.dist-info → pulumi_consul-3.13.0a1744182998.dist-info}/WHEEL +0 -0
- {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,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,50 +241,50 @@ 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
|
|
|
@@ -292,14 +293,14 @@ class AclBindingRule(pulumi.CustomResource):
|
|
|
292
293
|
def __init__(__self__,
|
|
293
294
|
resource_name: str,
|
|
294
295
|
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,
|
|
296
|
+
auth_method: Optional[pulumi.Input[builtins.str]] = None,
|
|
297
|
+
bind_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
298
|
+
bind_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
298
299
|
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,
|
|
300
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
301
|
+
namespace: Optional[pulumi.Input[builtins.str]] = None,
|
|
302
|
+
partition: Optional[pulumi.Input[builtins.str]] = None,
|
|
303
|
+
selector: Optional[pulumi.Input[builtins.str]] = None,
|
|
303
304
|
__props__=None):
|
|
304
305
|
"""
|
|
305
306
|
Starting with Consul 1.5.0, the AclBindingRule resource can be used to managed Consul ACL binding rules.
|
|
@@ -331,14 +332,14 @@ class AclBindingRule(pulumi.CustomResource):
|
|
|
331
332
|
|
|
332
333
|
:param str resource_name: The name of the resource.
|
|
333
334
|
: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.
|
|
335
|
+
:param pulumi.Input[builtins.str] auth_method: The name of the ACL auth method this rule apply.
|
|
336
|
+
:param pulumi.Input[builtins.str] bind_name: The name to bind to a token at login-time.
|
|
337
|
+
:param pulumi.Input[builtins.str] bind_type: Specifies the way the binding rule affects a token created at login.
|
|
337
338
|
: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.
|
|
339
|
+
:param pulumi.Input[builtins.str] description: A free form human readable description of the binding rule.
|
|
340
|
+
:param pulumi.Input[builtins.str] namespace: The namespace to create the binding rule within.
|
|
341
|
+
:param pulumi.Input[builtins.str] partition: The partition the ACL binding rule is associated with.
|
|
342
|
+
:param pulumi.Input[builtins.str] selector: The expression used to match this rule against valid identities returned from an auth method validation.
|
|
342
343
|
"""
|
|
343
344
|
...
|
|
344
345
|
@overload
|
|
@@ -389,14 +390,14 @@ class AclBindingRule(pulumi.CustomResource):
|
|
|
389
390
|
def _internal_init(__self__,
|
|
390
391
|
resource_name: str,
|
|
391
392
|
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,
|
|
393
|
+
auth_method: Optional[pulumi.Input[builtins.str]] = None,
|
|
394
|
+
bind_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
395
|
+
bind_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
395
396
|
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,
|
|
397
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
398
|
+
namespace: Optional[pulumi.Input[builtins.str]] = None,
|
|
399
|
+
partition: Optional[pulumi.Input[builtins.str]] = None,
|
|
400
|
+
selector: Optional[pulumi.Input[builtins.str]] = None,
|
|
400
401
|
__props__=None):
|
|
401
402
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
402
403
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -430,14 +431,14 @@ class AclBindingRule(pulumi.CustomResource):
|
|
|
430
431
|
def get(resource_name: str,
|
|
431
432
|
id: pulumi.Input[str],
|
|
432
433
|
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,
|
|
434
|
+
auth_method: Optional[pulumi.Input[builtins.str]] = None,
|
|
435
|
+
bind_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
436
|
+
bind_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
436
437
|
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':
|
|
438
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
439
|
+
namespace: Optional[pulumi.Input[builtins.str]] = None,
|
|
440
|
+
partition: Optional[pulumi.Input[builtins.str]] = None,
|
|
441
|
+
selector: Optional[pulumi.Input[builtins.str]] = None) -> 'AclBindingRule':
|
|
441
442
|
"""
|
|
442
443
|
Get an existing AclBindingRule resource's state with the given name, id, and optional extra
|
|
443
444
|
properties used to qualify the lookup.
|
|
@@ -445,14 +446,14 @@ class AclBindingRule(pulumi.CustomResource):
|
|
|
445
446
|
:param str resource_name: The unique name of the resulting resource.
|
|
446
447
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
447
448
|
: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.
|
|
449
|
+
:param pulumi.Input[builtins.str] auth_method: The name of the ACL auth method this rule apply.
|
|
450
|
+
:param pulumi.Input[builtins.str] bind_name: The name to bind to a token at login-time.
|
|
451
|
+
:param pulumi.Input[builtins.str] bind_type: Specifies the way the binding rule affects a token created at login.
|
|
451
452
|
: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.
|
|
453
|
+
:param pulumi.Input[builtins.str] description: A free form human readable description of the binding rule.
|
|
454
|
+
:param pulumi.Input[builtins.str] namespace: The namespace to create the binding rule within.
|
|
455
|
+
:param pulumi.Input[builtins.str] partition: The partition the ACL binding rule is associated with.
|
|
456
|
+
:param pulumi.Input[builtins.str] selector: The expression used to match this rule against valid identities returned from an auth method validation.
|
|
456
457
|
"""
|
|
457
458
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
458
459
|
|
|
@@ -470,7 +471,7 @@ class AclBindingRule(pulumi.CustomResource):
|
|
|
470
471
|
|
|
471
472
|
@property
|
|
472
473
|
@pulumi.getter(name="authMethod")
|
|
473
|
-
def auth_method(self) -> pulumi.Output[str]:
|
|
474
|
+
def auth_method(self) -> pulumi.Output[builtins.str]:
|
|
474
475
|
"""
|
|
475
476
|
The name of the ACL auth method this rule apply.
|
|
476
477
|
"""
|
|
@@ -478,7 +479,7 @@ class AclBindingRule(pulumi.CustomResource):
|
|
|
478
479
|
|
|
479
480
|
@property
|
|
480
481
|
@pulumi.getter(name="bindName")
|
|
481
|
-
def bind_name(self) -> pulumi.Output[str]:
|
|
482
|
+
def bind_name(self) -> pulumi.Output[builtins.str]:
|
|
482
483
|
"""
|
|
483
484
|
The name to bind to a token at login-time.
|
|
484
485
|
"""
|
|
@@ -486,7 +487,7 @@ class AclBindingRule(pulumi.CustomResource):
|
|
|
486
487
|
|
|
487
488
|
@property
|
|
488
489
|
@pulumi.getter(name="bindType")
|
|
489
|
-
def bind_type(self) -> pulumi.Output[str]:
|
|
490
|
+
def bind_type(self) -> pulumi.Output[builtins.str]:
|
|
490
491
|
"""
|
|
491
492
|
Specifies the way the binding rule affects a token created at login.
|
|
492
493
|
"""
|
|
@@ -502,7 +503,7 @@ class AclBindingRule(pulumi.CustomResource):
|
|
|
502
503
|
|
|
503
504
|
@property
|
|
504
505
|
@pulumi.getter
|
|
505
|
-
def description(self) -> pulumi.Output[Optional[str]]:
|
|
506
|
+
def description(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
506
507
|
"""
|
|
507
508
|
A free form human readable description of the binding rule.
|
|
508
509
|
"""
|
|
@@ -510,7 +511,7 @@ class AclBindingRule(pulumi.CustomResource):
|
|
|
510
511
|
|
|
511
512
|
@property
|
|
512
513
|
@pulumi.getter
|
|
513
|
-
def namespace(self) -> pulumi.Output[Optional[str]]:
|
|
514
|
+
def namespace(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
514
515
|
"""
|
|
515
516
|
The namespace to create the binding rule within.
|
|
516
517
|
"""
|
|
@@ -518,7 +519,7 @@ class AclBindingRule(pulumi.CustomResource):
|
|
|
518
519
|
|
|
519
520
|
@property
|
|
520
521
|
@pulumi.getter
|
|
521
|
-
def partition(self) -> pulumi.Output[Optional[str]]:
|
|
522
|
+
def partition(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
522
523
|
"""
|
|
523
524
|
The partition the ACL binding rule is associated with.
|
|
524
525
|
"""
|
|
@@ -526,7 +527,7 @@ class AclBindingRule(pulumi.CustomResource):
|
|
|
526
527
|
|
|
527
528
|
@property
|
|
528
529
|
@pulumi.getter
|
|
529
|
-
def selector(self) -> pulumi.Output[Optional[str]]:
|
|
530
|
+
def selector(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
530
531
|
"""
|
|
531
532
|
The expression used to match this rule against valid identities returned from an auth method validation.
|
|
532
533
|
"""
|