pulumi-consul 3.11.1__py3-none-any.whl → 3.11.3__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.
- pulumi_consul/_inputs.py +62 -26
- pulumi_consul/_utilities.py +2 -2
- pulumi_consul/acl_auth_method.py +4 -0
- pulumi_consul/acl_binding_rule.py +2 -0
- pulumi_consul/acl_policy.py +4 -4
- pulumi_consul/acl_role.py +13 -13
- pulumi_consul/acl_role_policy_attachment.py +10 -8
- pulumi_consul/acl_token.py +18 -14
- pulumi_consul/acl_token_policy_attachment.py +10 -6
- pulumi_consul/acl_token_role_attachment.py +6 -4
- pulumi_consul/admin_partition.py +8 -4
- pulumi_consul/agent_service.py +2 -0
- pulumi_consul/catalog_entry.py +0 -42
- pulumi_consul/certificate_authority.py +2 -28
- pulumi_consul/config/outputs.py +24 -0
- pulumi_consul/config_entry.py +76 -32
- pulumi_consul/config_entry_service_defaults.py +23 -23
- pulumi_consul/config_entry_service_intentions.py +27 -27
- pulumi_consul/config_entry_service_resolver.py +57 -59
- pulumi_consul/config_entry_service_router.py +21 -61
- pulumi_consul/config_entry_service_splitter.py +24 -22
- pulumi_consul/get_acl_role.py +2 -0
- pulumi_consul/get_acl_token_secret_id.py +8 -6
- pulumi_consul/get_catalog_service.py +30 -4
- pulumi_consul/get_catalog_services.py +32 -0
- pulumi_consul/get_key_prefix.py +18 -18
- pulumi_consul/get_keys.py +4 -6
- pulumi_consul/get_network_area_members.py +6 -6
- pulumi_consul/get_network_segments.py +4 -4
- pulumi_consul/get_service.py +30 -4
- pulumi_consul/get_services.py +32 -0
- pulumi_consul/intention.py +12 -12
- pulumi_consul/key_prefix.py +32 -30
- pulumi_consul/keys.py +6 -6
- pulumi_consul/license.py +4 -2
- pulumi_consul/namespace.py +8 -4
- pulumi_consul/namespace_policy_attachment.py +6 -4
- pulumi_consul/namespace_role_attachment.py +6 -4
- pulumi_consul/node.py +8 -4
- pulumi_consul/outputs.py +126 -24
- pulumi_consul/peering.py +8 -18
- pulumi_consul/prepared_query.py +65 -61
- pulumi_consul/pulumi-plugin.json +2 -1
- pulumi_consul/service.py +133 -7
- {pulumi_consul-3.11.1.dist-info → pulumi_consul-3.11.3.dist-info}/METADATA +2 -2
- pulumi_consul-3.11.3.dist-info/RECORD +70 -0
- {pulumi_consul-3.11.1.dist-info → pulumi_consul-3.11.3.dist-info}/WHEEL +1 -1
- pulumi_consul-3.11.1.dist-info/RECORD +0 -70
- {pulumi_consul-3.11.1.dist-info → pulumi_consul-3.11.3.dist-info}/top_level.txt +0 -0
|
@@ -26,9 +26,9 @@ class ConfigEntryServiceIntentionsArgs:
|
|
|
26
26
|
The set of arguments for constructing a ConfigEntryServiceIntentions resource.
|
|
27
27
|
:param pulumi.Input[Sequence[pulumi.Input['ConfigEntryServiceIntentionsJwtArgs']]] jwts: Specifies a JSON Web Token provider configured in a JWT provider configuration entry, as well as additional configurations for verifying a service's JWT before authorizing communication between services
|
|
28
28
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] meta: Specifies key-value pairs to add to the KV store.
|
|
29
|
-
:param pulumi.Input[str] name: Specifies
|
|
30
|
-
:param pulumi.Input[str] namespace: Specifies the
|
|
31
|
-
:param pulumi.Input[str] partition: Specifies the
|
|
29
|
+
:param pulumi.Input[str] name: Specifies a name of the destination service for all intentions defined in the configuration entry.
|
|
30
|
+
:param pulumi.Input[str] namespace: Specifies the namespace to apply the configuration entry.
|
|
31
|
+
:param pulumi.Input[str] partition: Specifies the admin partition to apply the configuration entry.
|
|
32
32
|
:param pulumi.Input[Sequence[pulumi.Input['ConfigEntryServiceIntentionsSourceArgs']]] sources: List of configurations that define intention sources and the authorization granted to the sources.
|
|
33
33
|
"""
|
|
34
34
|
if jwts is not None:
|
|
@@ -72,7 +72,7 @@ class ConfigEntryServiceIntentionsArgs:
|
|
|
72
72
|
@pulumi.getter
|
|
73
73
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
74
74
|
"""
|
|
75
|
-
Specifies
|
|
75
|
+
Specifies a name of the destination service for all intentions defined in the configuration entry.
|
|
76
76
|
"""
|
|
77
77
|
return pulumi.get(self, "name")
|
|
78
78
|
|
|
@@ -84,7 +84,7 @@ class ConfigEntryServiceIntentionsArgs:
|
|
|
84
84
|
@pulumi.getter
|
|
85
85
|
def namespace(self) -> Optional[pulumi.Input[str]]:
|
|
86
86
|
"""
|
|
87
|
-
Specifies the
|
|
87
|
+
Specifies the namespace to apply the configuration entry.
|
|
88
88
|
"""
|
|
89
89
|
return pulumi.get(self, "namespace")
|
|
90
90
|
|
|
@@ -96,7 +96,7 @@ class ConfigEntryServiceIntentionsArgs:
|
|
|
96
96
|
@pulumi.getter
|
|
97
97
|
def partition(self) -> Optional[pulumi.Input[str]]:
|
|
98
98
|
"""
|
|
99
|
-
Specifies the
|
|
99
|
+
Specifies the admin partition to apply the configuration entry.
|
|
100
100
|
"""
|
|
101
101
|
return pulumi.get(self, "partition")
|
|
102
102
|
|
|
@@ -130,9 +130,9 @@ class _ConfigEntryServiceIntentionsState:
|
|
|
130
130
|
Input properties used for looking up and filtering ConfigEntryServiceIntentions resources.
|
|
131
131
|
:param pulumi.Input[Sequence[pulumi.Input['ConfigEntryServiceIntentionsJwtArgs']]] jwts: Specifies a JSON Web Token provider configured in a JWT provider configuration entry, as well as additional configurations for verifying a service's JWT before authorizing communication between services
|
|
132
132
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] meta: Specifies key-value pairs to add to the KV store.
|
|
133
|
-
:param pulumi.Input[str] name: Specifies
|
|
134
|
-
:param pulumi.Input[str] namespace: Specifies the
|
|
135
|
-
:param pulumi.Input[str] partition: Specifies the
|
|
133
|
+
:param pulumi.Input[str] name: Specifies a name of the destination service for all intentions defined in the configuration entry.
|
|
134
|
+
:param pulumi.Input[str] namespace: Specifies the namespace to apply the configuration entry.
|
|
135
|
+
:param pulumi.Input[str] partition: Specifies the admin partition to apply the configuration entry.
|
|
136
136
|
:param pulumi.Input[Sequence[pulumi.Input['ConfigEntryServiceIntentionsSourceArgs']]] sources: List of configurations that define intention sources and the authorization granted to the sources.
|
|
137
137
|
"""
|
|
138
138
|
if jwts is not None:
|
|
@@ -176,7 +176,7 @@ class _ConfigEntryServiceIntentionsState:
|
|
|
176
176
|
@pulumi.getter
|
|
177
177
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
178
178
|
"""
|
|
179
|
-
Specifies
|
|
179
|
+
Specifies a name of the destination service for all intentions defined in the configuration entry.
|
|
180
180
|
"""
|
|
181
181
|
return pulumi.get(self, "name")
|
|
182
182
|
|
|
@@ -188,7 +188,7 @@ class _ConfigEntryServiceIntentionsState:
|
|
|
188
188
|
@pulumi.getter
|
|
189
189
|
def namespace(self) -> Optional[pulumi.Input[str]]:
|
|
190
190
|
"""
|
|
191
|
-
Specifies the
|
|
191
|
+
Specifies the namespace to apply the configuration entry.
|
|
192
192
|
"""
|
|
193
193
|
return pulumi.get(self, "namespace")
|
|
194
194
|
|
|
@@ -200,7 +200,7 @@ class _ConfigEntryServiceIntentionsState:
|
|
|
200
200
|
@pulumi.getter
|
|
201
201
|
def partition(self) -> Optional[pulumi.Input[str]]:
|
|
202
202
|
"""
|
|
203
|
-
Specifies the
|
|
203
|
+
Specifies the admin partition to apply the configuration entry.
|
|
204
204
|
"""
|
|
205
205
|
return pulumi.get(self, "partition")
|
|
206
206
|
|
|
@@ -234,8 +234,6 @@ class ConfigEntryServiceIntentions(pulumi.CustomResource):
|
|
|
234
234
|
sources: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConfigEntryServiceIntentionsSourceArgs']]]]] = None,
|
|
235
235
|
__props__=None):
|
|
236
236
|
"""
|
|
237
|
-
The `consul_service_intentions_config_entry` resource configures [service intentions](https://developer.hashicorp.com/consul/docs/connect/config-entries/service-intentions) that are configurations for controlling access between services in the service mesh. A single service intentions configuration entry specifies one destination service and one or more L4 traffic sources, L7 traffic sources, or combination of traffic sources.
|
|
238
|
-
|
|
239
237
|
## Example Usage
|
|
240
238
|
|
|
241
239
|
```python
|
|
@@ -243,7 +241,8 @@ class ConfigEntryServiceIntentions(pulumi.CustomResource):
|
|
|
243
241
|
import json
|
|
244
242
|
import pulumi_consul as consul
|
|
245
243
|
|
|
246
|
-
jwt_provider = consul.ConfigEntry("
|
|
244
|
+
jwt_provider = consul.ConfigEntry("jwt_provider",
|
|
245
|
+
name="okta",
|
|
247
246
|
kind="jwt-provider",
|
|
248
247
|
config_json=json.dumps({
|
|
249
248
|
"ClockSkewSeconds": 30,
|
|
@@ -256,6 +255,7 @@ class ConfigEntryServiceIntentions(pulumi.CustomResource):
|
|
|
256
255
|
},
|
|
257
256
|
}))
|
|
258
257
|
web = consul.ConfigEntryServiceIntentions("web",
|
|
258
|
+
name="web",
|
|
259
259
|
jwts=[consul.ConfigEntryServiceIntentionsJwtArgs(
|
|
260
260
|
providers=[consul.ConfigEntryServiceIntentionsJwtProviderArgs(
|
|
261
261
|
name=jwt_provider.name,
|
|
@@ -286,9 +286,9 @@ class ConfigEntryServiceIntentions(pulumi.CustomResource):
|
|
|
286
286
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
287
287
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConfigEntryServiceIntentionsJwtArgs']]]] jwts: Specifies a JSON Web Token provider configured in a JWT provider configuration entry, as well as additional configurations for verifying a service's JWT before authorizing communication between services
|
|
288
288
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] meta: Specifies key-value pairs to add to the KV store.
|
|
289
|
-
:param pulumi.Input[str] name: Specifies
|
|
290
|
-
:param pulumi.Input[str] namespace: Specifies the
|
|
291
|
-
:param pulumi.Input[str] partition: Specifies the
|
|
289
|
+
:param pulumi.Input[str] name: Specifies a name of the destination service for all intentions defined in the configuration entry.
|
|
290
|
+
:param pulumi.Input[str] namespace: Specifies the namespace to apply the configuration entry.
|
|
291
|
+
:param pulumi.Input[str] partition: Specifies the admin partition to apply the configuration entry.
|
|
292
292
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConfigEntryServiceIntentionsSourceArgs']]]] sources: List of configurations that define intention sources and the authorization granted to the sources.
|
|
293
293
|
"""
|
|
294
294
|
...
|
|
@@ -298,8 +298,6 @@ class ConfigEntryServiceIntentions(pulumi.CustomResource):
|
|
|
298
298
|
args: Optional[ConfigEntryServiceIntentionsArgs] = None,
|
|
299
299
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
300
300
|
"""
|
|
301
|
-
The `consul_service_intentions_config_entry` resource configures [service intentions](https://developer.hashicorp.com/consul/docs/connect/config-entries/service-intentions) that are configurations for controlling access between services in the service mesh. A single service intentions configuration entry specifies one destination service and one or more L4 traffic sources, L7 traffic sources, or combination of traffic sources.
|
|
302
|
-
|
|
303
301
|
## Example Usage
|
|
304
302
|
|
|
305
303
|
```python
|
|
@@ -307,7 +305,8 @@ class ConfigEntryServiceIntentions(pulumi.CustomResource):
|
|
|
307
305
|
import json
|
|
308
306
|
import pulumi_consul as consul
|
|
309
307
|
|
|
310
|
-
jwt_provider = consul.ConfigEntry("
|
|
308
|
+
jwt_provider = consul.ConfigEntry("jwt_provider",
|
|
309
|
+
name="okta",
|
|
311
310
|
kind="jwt-provider",
|
|
312
311
|
config_json=json.dumps({
|
|
313
312
|
"ClockSkewSeconds": 30,
|
|
@@ -320,6 +319,7 @@ class ConfigEntryServiceIntentions(pulumi.CustomResource):
|
|
|
320
319
|
},
|
|
321
320
|
}))
|
|
322
321
|
web = consul.ConfigEntryServiceIntentions("web",
|
|
322
|
+
name="web",
|
|
323
323
|
jwts=[consul.ConfigEntryServiceIntentionsJwtArgs(
|
|
324
324
|
providers=[consul.ConfigEntryServiceIntentionsJwtProviderArgs(
|
|
325
325
|
name=jwt_provider.name,
|
|
@@ -407,9 +407,9 @@ class ConfigEntryServiceIntentions(pulumi.CustomResource):
|
|
|
407
407
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
408
408
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConfigEntryServiceIntentionsJwtArgs']]]] jwts: Specifies a JSON Web Token provider configured in a JWT provider configuration entry, as well as additional configurations for verifying a service's JWT before authorizing communication between services
|
|
409
409
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] meta: Specifies key-value pairs to add to the KV store.
|
|
410
|
-
:param pulumi.Input[str] name: Specifies
|
|
411
|
-
:param pulumi.Input[str] namespace: Specifies the
|
|
412
|
-
:param pulumi.Input[str] partition: Specifies the
|
|
410
|
+
:param pulumi.Input[str] name: Specifies a name of the destination service for all intentions defined in the configuration entry.
|
|
411
|
+
:param pulumi.Input[str] namespace: Specifies the namespace to apply the configuration entry.
|
|
412
|
+
:param pulumi.Input[str] partition: Specifies the admin partition to apply the configuration entry.
|
|
413
413
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConfigEntryServiceIntentionsSourceArgs']]]] sources: List of configurations that define intention sources and the authorization granted to the sources.
|
|
414
414
|
"""
|
|
415
415
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -444,7 +444,7 @@ class ConfigEntryServiceIntentions(pulumi.CustomResource):
|
|
|
444
444
|
@pulumi.getter
|
|
445
445
|
def name(self) -> pulumi.Output[str]:
|
|
446
446
|
"""
|
|
447
|
-
Specifies
|
|
447
|
+
Specifies a name of the destination service for all intentions defined in the configuration entry.
|
|
448
448
|
"""
|
|
449
449
|
return pulumi.get(self, "name")
|
|
450
450
|
|
|
@@ -452,7 +452,7 @@ class ConfigEntryServiceIntentions(pulumi.CustomResource):
|
|
|
452
452
|
@pulumi.getter
|
|
453
453
|
def namespace(self) -> pulumi.Output[Optional[str]]:
|
|
454
454
|
"""
|
|
455
|
-
Specifies the
|
|
455
|
+
Specifies the namespace to apply the configuration entry.
|
|
456
456
|
"""
|
|
457
457
|
return pulumi.get(self, "namespace")
|
|
458
458
|
|
|
@@ -460,7 +460,7 @@ class ConfigEntryServiceIntentions(pulumi.CustomResource):
|
|
|
460
460
|
@pulumi.getter
|
|
461
461
|
def partition(self) -> pulumi.Output[Optional[str]]:
|
|
462
462
|
"""
|
|
463
|
-
Specifies the
|
|
463
|
+
Specifies the admin partition to apply the configuration entry.
|
|
464
464
|
"""
|
|
465
465
|
return pulumi.get(self, "partition")
|
|
466
466
|
|
|
@@ -34,9 +34,9 @@ class ConfigEntryServiceResolverArgs:
|
|
|
34
34
|
:param pulumi.Input[Sequence[pulumi.Input['ConfigEntryServiceResolverFailoverArgs']]] failovers: Specifies controls for rerouting traffic to an alternate pool of service instances if the target service fails.
|
|
35
35
|
:param pulumi.Input[Sequence[pulumi.Input['ConfigEntryServiceResolverLoadBalancerArgs']]] load_balancers: Specifies the load balancing policy and configuration for services issuing requests to this upstream.
|
|
36
36
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] meta: Specifies key-value pairs to add to the KV store.
|
|
37
|
-
:param pulumi.Input[str] name:
|
|
38
|
-
:param pulumi.Input[str] namespace: Specifies the namespace
|
|
39
|
-
:param pulumi.Input[str] partition: Specifies the admin partition
|
|
37
|
+
:param pulumi.Input[str] name: Specifies a name for the configuration entry.
|
|
38
|
+
:param pulumi.Input[str] namespace: Specifies the namespace that the service resolver applies to.
|
|
39
|
+
:param pulumi.Input[str] partition: Specifies the admin partition that the service resolver applies to.
|
|
40
40
|
:param pulumi.Input[Sequence[pulumi.Input['ConfigEntryServiceResolverRedirectArgs']]] redirects: Specifies redirect instructions for local service traffic so that services deployed to a different network location resolve the upstream request instead.
|
|
41
41
|
:param pulumi.Input[str] request_timeout: Specifies the timeout duration for receiving an HTTP response from this service.
|
|
42
42
|
:param pulumi.Input[Sequence[pulumi.Input['ConfigEntryServiceResolverSubsetArgs']]] subsets: Specifies names for custom service subsets and the conditions under which service instances belong to each subset.
|
|
@@ -128,7 +128,7 @@ class ConfigEntryServiceResolverArgs:
|
|
|
128
128
|
@pulumi.getter
|
|
129
129
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
130
130
|
"""
|
|
131
|
-
|
|
131
|
+
Specifies a name for the configuration entry.
|
|
132
132
|
"""
|
|
133
133
|
return pulumi.get(self, "name")
|
|
134
134
|
|
|
@@ -140,7 +140,7 @@ class ConfigEntryServiceResolverArgs:
|
|
|
140
140
|
@pulumi.getter
|
|
141
141
|
def namespace(self) -> Optional[pulumi.Input[str]]:
|
|
142
142
|
"""
|
|
143
|
-
Specifies the namespace
|
|
143
|
+
Specifies the namespace that the service resolver applies to.
|
|
144
144
|
"""
|
|
145
145
|
return pulumi.get(self, "namespace")
|
|
146
146
|
|
|
@@ -152,7 +152,7 @@ class ConfigEntryServiceResolverArgs:
|
|
|
152
152
|
@pulumi.getter
|
|
153
153
|
def partition(self) -> Optional[pulumi.Input[str]]:
|
|
154
154
|
"""
|
|
155
|
-
Specifies the admin partition
|
|
155
|
+
Specifies the admin partition that the service resolver applies to.
|
|
156
156
|
"""
|
|
157
157
|
return pulumi.get(self, "partition")
|
|
158
158
|
|
|
@@ -218,9 +218,9 @@ class _ConfigEntryServiceResolverState:
|
|
|
218
218
|
:param pulumi.Input[Sequence[pulumi.Input['ConfigEntryServiceResolverFailoverArgs']]] failovers: Specifies controls for rerouting traffic to an alternate pool of service instances if the target service fails.
|
|
219
219
|
:param pulumi.Input[Sequence[pulumi.Input['ConfigEntryServiceResolverLoadBalancerArgs']]] load_balancers: Specifies the load balancing policy and configuration for services issuing requests to this upstream.
|
|
220
220
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] meta: Specifies key-value pairs to add to the KV store.
|
|
221
|
-
:param pulumi.Input[str] name:
|
|
222
|
-
:param pulumi.Input[str] namespace: Specifies the namespace
|
|
223
|
-
:param pulumi.Input[str] partition: Specifies the admin partition
|
|
221
|
+
:param pulumi.Input[str] name: Specifies a name for the configuration entry.
|
|
222
|
+
:param pulumi.Input[str] namespace: Specifies the namespace that the service resolver applies to.
|
|
223
|
+
:param pulumi.Input[str] partition: Specifies the admin partition that the service resolver applies to.
|
|
224
224
|
:param pulumi.Input[Sequence[pulumi.Input['ConfigEntryServiceResolverRedirectArgs']]] redirects: Specifies redirect instructions for local service traffic so that services deployed to a different network location resolve the upstream request instead.
|
|
225
225
|
:param pulumi.Input[str] request_timeout: Specifies the timeout duration for receiving an HTTP response from this service.
|
|
226
226
|
:param pulumi.Input[Sequence[pulumi.Input['ConfigEntryServiceResolverSubsetArgs']]] subsets: Specifies names for custom service subsets and the conditions under which service instances belong to each subset.
|
|
@@ -312,7 +312,7 @@ class _ConfigEntryServiceResolverState:
|
|
|
312
312
|
@pulumi.getter
|
|
313
313
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
314
314
|
"""
|
|
315
|
-
|
|
315
|
+
Specifies a name for the configuration entry.
|
|
316
316
|
"""
|
|
317
317
|
return pulumi.get(self, "name")
|
|
318
318
|
|
|
@@ -324,7 +324,7 @@ class _ConfigEntryServiceResolverState:
|
|
|
324
324
|
@pulumi.getter
|
|
325
325
|
def namespace(self) -> Optional[pulumi.Input[str]]:
|
|
326
326
|
"""
|
|
327
|
-
Specifies the namespace
|
|
327
|
+
Specifies the namespace that the service resolver applies to.
|
|
328
328
|
"""
|
|
329
329
|
return pulumi.get(self, "namespace")
|
|
330
330
|
|
|
@@ -336,7 +336,7 @@ class _ConfigEntryServiceResolverState:
|
|
|
336
336
|
@pulumi.getter
|
|
337
337
|
def partition(self) -> Optional[pulumi.Input[str]]:
|
|
338
338
|
"""
|
|
339
|
-
Specifies the admin partition
|
|
339
|
+
Specifies the admin partition that the service resolver applies to.
|
|
340
340
|
"""
|
|
341
341
|
return pulumi.get(self, "partition")
|
|
342
342
|
|
|
@@ -399,8 +399,6 @@ class ConfigEntryServiceResolver(pulumi.CustomResource):
|
|
|
399
399
|
subsets: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConfigEntryServiceResolverSubsetArgs']]]]] = None,
|
|
400
400
|
__props__=None):
|
|
401
401
|
"""
|
|
402
|
-
The `ConfigEntryServiceResolver` resource configures a [service resolver](https://developer.hashicorp.com/consul/docs/connect/config-entries/service-resolver) that creates named subsets of service instances and define their behavior when satisfying upstream requests.
|
|
403
|
-
|
|
404
402
|
## Example Usage
|
|
405
403
|
|
|
406
404
|
```python
|
|
@@ -408,33 +406,34 @@ class ConfigEntryServiceResolver(pulumi.CustomResource):
|
|
|
408
406
|
import pulumi_consul as consul
|
|
409
407
|
|
|
410
408
|
web = consul.ConfigEntryServiceResolver("web",
|
|
411
|
-
|
|
409
|
+
name="web",
|
|
412
410
|
default_subset="v1",
|
|
411
|
+
connect_timeout="15s",
|
|
412
|
+
subsets=[
|
|
413
|
+
consul.ConfigEntryServiceResolverSubsetArgs(
|
|
414
|
+
name="v1",
|
|
415
|
+
filter="Service.Meta.version == v1",
|
|
416
|
+
),
|
|
417
|
+
consul.ConfigEntryServiceResolverSubsetArgs(
|
|
418
|
+
name="v2",
|
|
419
|
+
filter="Service.Meta.version == v2",
|
|
420
|
+
),
|
|
421
|
+
],
|
|
422
|
+
redirects=[consul.ConfigEntryServiceResolverRedirectArgs(
|
|
423
|
+
service="web",
|
|
424
|
+
datacenter="dc2",
|
|
425
|
+
)],
|
|
413
426
|
failovers=[
|
|
414
427
|
consul.ConfigEntryServiceResolverFailoverArgs(
|
|
415
|
-
datacenters=["dc2"],
|
|
416
428
|
subset_name="v2",
|
|
429
|
+
datacenters=["dc2"],
|
|
417
430
|
),
|
|
418
431
|
consul.ConfigEntryServiceResolverFailoverArgs(
|
|
432
|
+
subset_name="*",
|
|
419
433
|
datacenters=[
|
|
420
434
|
"dc3",
|
|
421
435
|
"dc4",
|
|
422
436
|
],
|
|
423
|
-
subset_name="*",
|
|
424
|
-
),
|
|
425
|
-
],
|
|
426
|
-
redirects=[consul.ConfigEntryServiceResolverRedirectArgs(
|
|
427
|
-
datacenter="dc2",
|
|
428
|
-
service="web",
|
|
429
|
-
)],
|
|
430
|
-
subsets=[
|
|
431
|
-
consul.ConfigEntryServiceResolverSubsetArgs(
|
|
432
|
-
filter="Service.Meta.version == v1",
|
|
433
|
-
name="v1",
|
|
434
|
-
),
|
|
435
|
-
consul.ConfigEntryServiceResolverSubsetArgs(
|
|
436
|
-
filter="Service.Meta.version == v2",
|
|
437
|
-
name="v2",
|
|
438
437
|
),
|
|
439
438
|
])
|
|
440
439
|
```
|
|
@@ -446,9 +445,9 @@ class ConfigEntryServiceResolver(pulumi.CustomResource):
|
|
|
446
445
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConfigEntryServiceResolverFailoverArgs']]]] failovers: Specifies controls for rerouting traffic to an alternate pool of service instances if the target service fails.
|
|
447
446
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConfigEntryServiceResolverLoadBalancerArgs']]]] load_balancers: Specifies the load balancing policy and configuration for services issuing requests to this upstream.
|
|
448
447
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] meta: Specifies key-value pairs to add to the KV store.
|
|
449
|
-
:param pulumi.Input[str] name:
|
|
450
|
-
:param pulumi.Input[str] namespace: Specifies the namespace
|
|
451
|
-
:param pulumi.Input[str] partition: Specifies the admin partition
|
|
448
|
+
:param pulumi.Input[str] name: Specifies a name for the configuration entry.
|
|
449
|
+
:param pulumi.Input[str] namespace: Specifies the namespace that the service resolver applies to.
|
|
450
|
+
:param pulumi.Input[str] partition: Specifies the admin partition that the service resolver applies to.
|
|
452
451
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConfigEntryServiceResolverRedirectArgs']]]] redirects: Specifies redirect instructions for local service traffic so that services deployed to a different network location resolve the upstream request instead.
|
|
453
452
|
:param pulumi.Input[str] request_timeout: Specifies the timeout duration for receiving an HTTP response from this service.
|
|
454
453
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConfigEntryServiceResolverSubsetArgs']]]] subsets: Specifies names for custom service subsets and the conditions under which service instances belong to each subset.
|
|
@@ -460,8 +459,6 @@ class ConfigEntryServiceResolver(pulumi.CustomResource):
|
|
|
460
459
|
args: Optional[ConfigEntryServiceResolverArgs] = None,
|
|
461
460
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
462
461
|
"""
|
|
463
|
-
The `ConfigEntryServiceResolver` resource configures a [service resolver](https://developer.hashicorp.com/consul/docs/connect/config-entries/service-resolver) that creates named subsets of service instances and define their behavior when satisfying upstream requests.
|
|
464
|
-
|
|
465
462
|
## Example Usage
|
|
466
463
|
|
|
467
464
|
```python
|
|
@@ -469,33 +466,34 @@ class ConfigEntryServiceResolver(pulumi.CustomResource):
|
|
|
469
466
|
import pulumi_consul as consul
|
|
470
467
|
|
|
471
468
|
web = consul.ConfigEntryServiceResolver("web",
|
|
472
|
-
|
|
469
|
+
name="web",
|
|
473
470
|
default_subset="v1",
|
|
471
|
+
connect_timeout="15s",
|
|
472
|
+
subsets=[
|
|
473
|
+
consul.ConfigEntryServiceResolverSubsetArgs(
|
|
474
|
+
name="v1",
|
|
475
|
+
filter="Service.Meta.version == v1",
|
|
476
|
+
),
|
|
477
|
+
consul.ConfigEntryServiceResolverSubsetArgs(
|
|
478
|
+
name="v2",
|
|
479
|
+
filter="Service.Meta.version == v2",
|
|
480
|
+
),
|
|
481
|
+
],
|
|
482
|
+
redirects=[consul.ConfigEntryServiceResolverRedirectArgs(
|
|
483
|
+
service="web",
|
|
484
|
+
datacenter="dc2",
|
|
485
|
+
)],
|
|
474
486
|
failovers=[
|
|
475
487
|
consul.ConfigEntryServiceResolverFailoverArgs(
|
|
476
|
-
datacenters=["dc2"],
|
|
477
488
|
subset_name="v2",
|
|
489
|
+
datacenters=["dc2"],
|
|
478
490
|
),
|
|
479
491
|
consul.ConfigEntryServiceResolverFailoverArgs(
|
|
492
|
+
subset_name="*",
|
|
480
493
|
datacenters=[
|
|
481
494
|
"dc3",
|
|
482
495
|
"dc4",
|
|
483
496
|
],
|
|
484
|
-
subset_name="*",
|
|
485
|
-
),
|
|
486
|
-
],
|
|
487
|
-
redirects=[consul.ConfigEntryServiceResolverRedirectArgs(
|
|
488
|
-
datacenter="dc2",
|
|
489
|
-
service="web",
|
|
490
|
-
)],
|
|
491
|
-
subsets=[
|
|
492
|
-
consul.ConfigEntryServiceResolverSubsetArgs(
|
|
493
|
-
filter="Service.Meta.version == v1",
|
|
494
|
-
name="v1",
|
|
495
|
-
),
|
|
496
|
-
consul.ConfigEntryServiceResolverSubsetArgs(
|
|
497
|
-
filter="Service.Meta.version == v2",
|
|
498
|
-
name="v2",
|
|
499
497
|
),
|
|
500
498
|
])
|
|
501
499
|
```
|
|
@@ -579,9 +577,9 @@ class ConfigEntryServiceResolver(pulumi.CustomResource):
|
|
|
579
577
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConfigEntryServiceResolverFailoverArgs']]]] failovers: Specifies controls for rerouting traffic to an alternate pool of service instances if the target service fails.
|
|
580
578
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConfigEntryServiceResolverLoadBalancerArgs']]]] load_balancers: Specifies the load balancing policy and configuration for services issuing requests to this upstream.
|
|
581
579
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] meta: Specifies key-value pairs to add to the KV store.
|
|
582
|
-
:param pulumi.Input[str] name:
|
|
583
|
-
:param pulumi.Input[str] namespace: Specifies the namespace
|
|
584
|
-
:param pulumi.Input[str] partition: Specifies the admin partition
|
|
580
|
+
:param pulumi.Input[str] name: Specifies a name for the configuration entry.
|
|
581
|
+
:param pulumi.Input[str] namespace: Specifies the namespace that the service resolver applies to.
|
|
582
|
+
:param pulumi.Input[str] partition: Specifies the admin partition that the service resolver applies to.
|
|
585
583
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConfigEntryServiceResolverRedirectArgs']]]] redirects: Specifies redirect instructions for local service traffic so that services deployed to a different network location resolve the upstream request instead.
|
|
586
584
|
:param pulumi.Input[str] request_timeout: Specifies the timeout duration for receiving an HTTP response from this service.
|
|
587
585
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConfigEntryServiceResolverSubsetArgs']]]] subsets: Specifies names for custom service subsets and the conditions under which service instances belong to each subset.
|
|
@@ -647,7 +645,7 @@ class ConfigEntryServiceResolver(pulumi.CustomResource):
|
|
|
647
645
|
@pulumi.getter
|
|
648
646
|
def name(self) -> pulumi.Output[str]:
|
|
649
647
|
"""
|
|
650
|
-
|
|
648
|
+
Specifies a name for the configuration entry.
|
|
651
649
|
"""
|
|
652
650
|
return pulumi.get(self, "name")
|
|
653
651
|
|
|
@@ -655,7 +653,7 @@ class ConfigEntryServiceResolver(pulumi.CustomResource):
|
|
|
655
653
|
@pulumi.getter
|
|
656
654
|
def namespace(self) -> pulumi.Output[Optional[str]]:
|
|
657
655
|
"""
|
|
658
|
-
Specifies the namespace
|
|
656
|
+
Specifies the namespace that the service resolver applies to.
|
|
659
657
|
"""
|
|
660
658
|
return pulumi.get(self, "namespace")
|
|
661
659
|
|
|
@@ -663,7 +661,7 @@ class ConfigEntryServiceResolver(pulumi.CustomResource):
|
|
|
663
661
|
@pulumi.getter
|
|
664
662
|
def partition(self) -> pulumi.Output[Optional[str]]:
|
|
665
663
|
"""
|
|
666
|
-
Specifies the admin partition
|
|
664
|
+
Specifies the admin partition that the service resolver applies to.
|
|
667
665
|
"""
|
|
668
666
|
return pulumi.get(self, "partition")
|
|
669
667
|
|
|
@@ -24,9 +24,9 @@ class ConfigEntryServiceRouterArgs:
|
|
|
24
24
|
"""
|
|
25
25
|
The set of arguments for constructing a ConfigEntryServiceRouter resource.
|
|
26
26
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] meta: Specifies key-value pairs to add to the KV store.
|
|
27
|
-
:param pulumi.Input[str] name: Specifies
|
|
28
|
-
:param pulumi.Input[str] namespace: Specifies the
|
|
29
|
-
:param pulumi.Input[str] partition: Specifies the
|
|
27
|
+
:param pulumi.Input[str] name: Specifies a name for the configuration entry.
|
|
28
|
+
:param pulumi.Input[str] namespace: Specifies the namespace to apply the configuration entry.
|
|
29
|
+
:param pulumi.Input[str] partition: Specifies the admin partition to apply the configuration entry.
|
|
30
30
|
:param pulumi.Input[Sequence[pulumi.Input['ConfigEntryServiceRouterRouteArgs']]] routes: Defines the possible routes for L7 requests.
|
|
31
31
|
"""
|
|
32
32
|
if meta is not None:
|
|
@@ -56,7 +56,7 @@ class ConfigEntryServiceRouterArgs:
|
|
|
56
56
|
@pulumi.getter
|
|
57
57
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
58
58
|
"""
|
|
59
|
-
Specifies
|
|
59
|
+
Specifies a name for the configuration entry.
|
|
60
60
|
"""
|
|
61
61
|
return pulumi.get(self, "name")
|
|
62
62
|
|
|
@@ -68,7 +68,7 @@ class ConfigEntryServiceRouterArgs:
|
|
|
68
68
|
@pulumi.getter
|
|
69
69
|
def namespace(self) -> Optional[pulumi.Input[str]]:
|
|
70
70
|
"""
|
|
71
|
-
Specifies the
|
|
71
|
+
Specifies the namespace to apply the configuration entry.
|
|
72
72
|
"""
|
|
73
73
|
return pulumi.get(self, "namespace")
|
|
74
74
|
|
|
@@ -80,7 +80,7 @@ class ConfigEntryServiceRouterArgs:
|
|
|
80
80
|
@pulumi.getter
|
|
81
81
|
def partition(self) -> Optional[pulumi.Input[str]]:
|
|
82
82
|
"""
|
|
83
|
-
Specifies the
|
|
83
|
+
Specifies the admin partition to apply the configuration entry.
|
|
84
84
|
"""
|
|
85
85
|
return pulumi.get(self, "partition")
|
|
86
86
|
|
|
@@ -112,9 +112,9 @@ class _ConfigEntryServiceRouterState:
|
|
|
112
112
|
"""
|
|
113
113
|
Input properties used for looking up and filtering ConfigEntryServiceRouter resources.
|
|
114
114
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] meta: Specifies key-value pairs to add to the KV store.
|
|
115
|
-
:param pulumi.Input[str] name: Specifies
|
|
116
|
-
:param pulumi.Input[str] namespace: Specifies the
|
|
117
|
-
:param pulumi.Input[str] partition: Specifies the
|
|
115
|
+
:param pulumi.Input[str] name: Specifies a name for the configuration entry.
|
|
116
|
+
:param pulumi.Input[str] namespace: Specifies the namespace to apply the configuration entry.
|
|
117
|
+
:param pulumi.Input[str] partition: Specifies the admin partition to apply the configuration entry.
|
|
118
118
|
:param pulumi.Input[Sequence[pulumi.Input['ConfigEntryServiceRouterRouteArgs']]] routes: Defines the possible routes for L7 requests.
|
|
119
119
|
"""
|
|
120
120
|
if meta is not None:
|
|
@@ -144,7 +144,7 @@ class _ConfigEntryServiceRouterState:
|
|
|
144
144
|
@pulumi.getter
|
|
145
145
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
146
146
|
"""
|
|
147
|
-
Specifies
|
|
147
|
+
Specifies a name for the configuration entry.
|
|
148
148
|
"""
|
|
149
149
|
return pulumi.get(self, "name")
|
|
150
150
|
|
|
@@ -156,7 +156,7 @@ class _ConfigEntryServiceRouterState:
|
|
|
156
156
|
@pulumi.getter
|
|
157
157
|
def namespace(self) -> Optional[pulumi.Input[str]]:
|
|
158
158
|
"""
|
|
159
|
-
Specifies the
|
|
159
|
+
Specifies the namespace to apply the configuration entry.
|
|
160
160
|
"""
|
|
161
161
|
return pulumi.get(self, "namespace")
|
|
162
162
|
|
|
@@ -168,7 +168,7 @@ class _ConfigEntryServiceRouterState:
|
|
|
168
168
|
@pulumi.getter
|
|
169
169
|
def partition(self) -> Optional[pulumi.Input[str]]:
|
|
170
170
|
"""
|
|
171
|
-
Specifies the
|
|
171
|
+
Specifies the admin partition to apply the configuration entry.
|
|
172
172
|
"""
|
|
173
173
|
return pulumi.get(self, "partition")
|
|
174
174
|
|
|
@@ -201,34 +201,14 @@ class ConfigEntryServiceRouter(pulumi.CustomResource):
|
|
|
201
201
|
routes: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConfigEntryServiceRouterRouteArgs']]]]] = None,
|
|
202
202
|
__props__=None):
|
|
203
203
|
"""
|
|
204
|
-
The `ConfigEntryServiceRouter` resource configures a [service router](https://developer.hashicorp.com/consul/docs/connect/config-entries/service-router) to redirect a traffic request for a service to one or more specific service instances.
|
|
205
|
-
|
|
206
204
|
## Example Usage
|
|
207
205
|
|
|
208
|
-
```python
|
|
209
|
-
import pulumi
|
|
210
|
-
import pulumi_consul as consul
|
|
211
|
-
|
|
212
|
-
admin_service_defaults_config_entry_service_defaults = consul.ConfigEntryServiceDefaults("adminServiceDefaultsConfigEntryServiceDefaults", protocol="http")
|
|
213
|
-
admin_service_defaults_index_config_entry_service_defaults_config_entry_service_defaults = consul.ConfigEntryServiceDefaults("adminServiceDefaultsIndex/configEntryServiceDefaultsConfigEntryServiceDefaults", protocol="http")
|
|
214
|
-
foo = consul.ConfigEntryServiceRouter("foo", routes=[consul.ConfigEntryServiceRouterRouteArgs(
|
|
215
|
-
match=consul.ConfigEntryServiceRouterRouteMatchArgs(
|
|
216
|
-
http=consul.ConfigEntryServiceRouterRouteMatchHttpArgs(
|
|
217
|
-
path_prefix="/admin",
|
|
218
|
-
),
|
|
219
|
-
),
|
|
220
|
-
destination=consul.ConfigEntryServiceRouterRouteDestinationArgs(
|
|
221
|
-
service=consul_config_entry["admin_service"]["name"],
|
|
222
|
-
),
|
|
223
|
-
)])
|
|
224
|
-
```
|
|
225
|
-
|
|
226
206
|
:param str resource_name: The name of the resource.
|
|
227
207
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
228
208
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] meta: Specifies key-value pairs to add to the KV store.
|
|
229
|
-
:param pulumi.Input[str] name: Specifies
|
|
230
|
-
:param pulumi.Input[str] namespace: Specifies the
|
|
231
|
-
:param pulumi.Input[str] partition: Specifies the
|
|
209
|
+
:param pulumi.Input[str] name: Specifies a name for the configuration entry.
|
|
210
|
+
:param pulumi.Input[str] namespace: Specifies the namespace to apply the configuration entry.
|
|
211
|
+
:param pulumi.Input[str] partition: Specifies the admin partition to apply the configuration entry.
|
|
232
212
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConfigEntryServiceRouterRouteArgs']]]] routes: Defines the possible routes for L7 requests.
|
|
233
213
|
"""
|
|
234
214
|
...
|
|
@@ -238,28 +218,8 @@ class ConfigEntryServiceRouter(pulumi.CustomResource):
|
|
|
238
218
|
args: Optional[ConfigEntryServiceRouterArgs] = None,
|
|
239
219
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
240
220
|
"""
|
|
241
|
-
The `ConfigEntryServiceRouter` resource configures a [service router](https://developer.hashicorp.com/consul/docs/connect/config-entries/service-router) to redirect a traffic request for a service to one or more specific service instances.
|
|
242
|
-
|
|
243
221
|
## Example Usage
|
|
244
222
|
|
|
245
|
-
```python
|
|
246
|
-
import pulumi
|
|
247
|
-
import pulumi_consul as consul
|
|
248
|
-
|
|
249
|
-
admin_service_defaults_config_entry_service_defaults = consul.ConfigEntryServiceDefaults("adminServiceDefaultsConfigEntryServiceDefaults", protocol="http")
|
|
250
|
-
admin_service_defaults_index_config_entry_service_defaults_config_entry_service_defaults = consul.ConfigEntryServiceDefaults("adminServiceDefaultsIndex/configEntryServiceDefaultsConfigEntryServiceDefaults", protocol="http")
|
|
251
|
-
foo = consul.ConfigEntryServiceRouter("foo", routes=[consul.ConfigEntryServiceRouterRouteArgs(
|
|
252
|
-
match=consul.ConfigEntryServiceRouterRouteMatchArgs(
|
|
253
|
-
http=consul.ConfigEntryServiceRouterRouteMatchHttpArgs(
|
|
254
|
-
path_prefix="/admin",
|
|
255
|
-
),
|
|
256
|
-
),
|
|
257
|
-
destination=consul.ConfigEntryServiceRouterRouteDestinationArgs(
|
|
258
|
-
service=consul_config_entry["admin_service"]["name"],
|
|
259
|
-
),
|
|
260
|
-
)])
|
|
261
|
-
```
|
|
262
|
-
|
|
263
223
|
:param str resource_name: The name of the resource.
|
|
264
224
|
:param ConfigEntryServiceRouterArgs args: The arguments to use to populate this resource's properties.
|
|
265
225
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -317,9 +277,9 @@ class ConfigEntryServiceRouter(pulumi.CustomResource):
|
|
|
317
277
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
318
278
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
319
279
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] meta: Specifies key-value pairs to add to the KV store.
|
|
320
|
-
:param pulumi.Input[str] name: Specifies
|
|
321
|
-
:param pulumi.Input[str] namespace: Specifies the
|
|
322
|
-
:param pulumi.Input[str] partition: Specifies the
|
|
280
|
+
:param pulumi.Input[str] name: Specifies a name for the configuration entry.
|
|
281
|
+
:param pulumi.Input[str] namespace: Specifies the namespace to apply the configuration entry.
|
|
282
|
+
:param pulumi.Input[str] partition: Specifies the admin partition to apply the configuration entry.
|
|
323
283
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConfigEntryServiceRouterRouteArgs']]]] routes: Defines the possible routes for L7 requests.
|
|
324
284
|
"""
|
|
325
285
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -345,7 +305,7 @@ class ConfigEntryServiceRouter(pulumi.CustomResource):
|
|
|
345
305
|
@pulumi.getter
|
|
346
306
|
def name(self) -> pulumi.Output[str]:
|
|
347
307
|
"""
|
|
348
|
-
Specifies
|
|
308
|
+
Specifies a name for the configuration entry.
|
|
349
309
|
"""
|
|
350
310
|
return pulumi.get(self, "name")
|
|
351
311
|
|
|
@@ -353,7 +313,7 @@ class ConfigEntryServiceRouter(pulumi.CustomResource):
|
|
|
353
313
|
@pulumi.getter
|
|
354
314
|
def namespace(self) -> pulumi.Output[Optional[str]]:
|
|
355
315
|
"""
|
|
356
|
-
Specifies the
|
|
316
|
+
Specifies the namespace to apply the configuration entry.
|
|
357
317
|
"""
|
|
358
318
|
return pulumi.get(self, "namespace")
|
|
359
319
|
|
|
@@ -361,7 +321,7 @@ class ConfigEntryServiceRouter(pulumi.CustomResource):
|
|
|
361
321
|
@pulumi.getter
|
|
362
322
|
def partition(self) -> pulumi.Output[Optional[str]]:
|
|
363
323
|
"""
|
|
364
|
-
Specifies the
|
|
324
|
+
Specifies the admin partition to apply the configuration entry.
|
|
365
325
|
"""
|
|
366
326
|
return pulumi.get(self, "partition")
|
|
367
327
|
|