pulumi-consul 3.12.0a1713461993__py3-none-any.whl → 3.12.0a1713897703__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 +22 -22
- pulumi_consul/acl_auth_method.py +0 -8
- pulumi_consul/acl_binding_rule.py +0 -4
- pulumi_consul/acl_policy.py +0 -4
- pulumi_consul/acl_role.py +7 -11
- pulumi_consul/acl_role_policy_attachment.py +0 -4
- pulumi_consul/acl_token.py +0 -4
- pulumi_consul/admin_partition.py +0 -4
- pulumi_consul/agent_service.py +0 -4
- pulumi_consul/autopilot_config.py +0 -4
- pulumi_consul/config_entry.py +0 -24
- pulumi_consul/config_entry_service_defaults.py +21 -21
- pulumi_consul/config_entry_service_intentions.py +21 -25
- pulumi_consul/config_entry_service_resolver.py +21 -25
- pulumi_consul/config_entry_service_router.py +21 -21
- pulumi_consul/config_entry_service_splitter.py +14 -18
- pulumi_consul/get_acl_auth_method.py +0 -4
- pulumi_consul/get_acl_policy.py +0 -4
- pulumi_consul/get_acl_role.py +2 -4
- pulumi_consul/get_acl_token.py +0 -4
- pulumi_consul/get_acl_token_secret_id.py +0 -4
- pulumi_consul/get_agent_config.py +0 -4
- pulumi_consul/get_autopilot_health.py +0 -4
- pulumi_consul/get_catalog_service.py +0 -8
- pulumi_consul/get_catalog_services.py +0 -4
- pulumi_consul/get_key_prefix.py +0 -8
- pulumi_consul/get_keys.py +0 -4
- pulumi_consul/get_network_area_members.py +0 -4
- pulumi_consul/get_network_segments.py +0 -4
- pulumi_consul/get_peering.py +0 -4
- pulumi_consul/get_peerings.py +0 -4
- pulumi_consul/get_service.py +0 -8
- pulumi_consul/get_services.py +0 -4
- pulumi_consul/intention.py +0 -8
- pulumi_consul/key_prefix.py +0 -4
- pulumi_consul/keys.py +0 -4
- pulumi_consul/license.py +0 -4
- pulumi_consul/namespace.py +0 -4
- pulumi_consul/network_area.py +0 -4
- pulumi_consul/node.py +0 -4
- pulumi_consul/outputs.py +22 -22
- pulumi_consul/peering.py +0 -4
- pulumi_consul/peering_token.py +0 -4
- pulumi_consul/prepared_query.py +7 -11
- pulumi_consul/service.py +7 -19
- {pulumi_consul-3.12.0a1713461993.dist-info → pulumi_consul-3.12.0a1713897703.dist-info}/METADATA +1 -1
- pulumi_consul-3.12.0a1713897703.dist-info/RECORD +70 -0
- pulumi_consul-3.12.0a1713461993.dist-info/RECORD +0 -70
- {pulumi_consul-3.12.0a1713461993.dist-info → pulumi_consul-3.12.0a1713897703.dist-info}/WHEEL +0 -0
- {pulumi_consul-3.12.0a1713461993.dist-info → pulumi_consul-3.12.0a1713897703.dist-info}/top_level.txt +0 -0
pulumi_consul/get_service.py
CHANGED
|
@@ -132,7 +132,6 @@ def get_service(datacenter: Optional[str] = None,
|
|
|
132
132
|
|
|
133
133
|
## Example Usage
|
|
134
134
|
|
|
135
|
-
<!--Start PulumiCodeChooser -->
|
|
136
135
|
```python
|
|
137
136
|
import pulumi
|
|
138
137
|
import pulumi_consul as consul
|
|
@@ -145,15 +144,12 @@ def get_service(datacenter: Optional[str] = None,
|
|
|
145
144
|
app = example.index.Resource("app", description=std.join(separator= ,
|
|
146
145
|
input=nodes).result)
|
|
147
146
|
```
|
|
148
|
-
<!--End PulumiCodeChooser -->
|
|
149
147
|
|
|
150
148
|
|
|
151
149
|
:param str datacenter: The Consul datacenter to query. Defaults to the
|
|
152
150
|
same value found in `query_options` parameter specified below, or if that is
|
|
153
151
|
empty, the `datacenter` value found in the Consul agent that this provider is
|
|
154
152
|
configured to talk to.
|
|
155
|
-
:param str filter: A filter expression to refine the query, see https://www.consul.io/api-docs/features/filtering
|
|
156
|
-
and https://www.consul.io/api-docs/catalog#filtering-1.
|
|
157
153
|
:param str name: The service name to select.
|
|
158
154
|
:param Sequence[pulumi.InputType['GetServiceQueryOptionArgs']] query_options: See below.
|
|
159
155
|
:param str tag: A single tag that can be used to filter the list of nodes
|
|
@@ -197,7 +193,6 @@ def get_service_output(datacenter: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
197
193
|
|
|
198
194
|
## Example Usage
|
|
199
195
|
|
|
200
|
-
<!--Start PulumiCodeChooser -->
|
|
201
196
|
```python
|
|
202
197
|
import pulumi
|
|
203
198
|
import pulumi_consul as consul
|
|
@@ -210,15 +205,12 @@ def get_service_output(datacenter: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
210
205
|
app = example.index.Resource("app", description=std.join(separator= ,
|
|
211
206
|
input=nodes).result)
|
|
212
207
|
```
|
|
213
|
-
<!--End PulumiCodeChooser -->
|
|
214
208
|
|
|
215
209
|
|
|
216
210
|
:param str datacenter: The Consul datacenter to query. Defaults to the
|
|
217
211
|
same value found in `query_options` parameter specified below, or if that is
|
|
218
212
|
empty, the `datacenter` value found in the Consul agent that this provider is
|
|
219
213
|
configured to talk to.
|
|
220
|
-
:param str filter: A filter expression to refine the query, see https://www.consul.io/api-docs/features/filtering
|
|
221
|
-
and https://www.consul.io/api-docs/catalog#filtering-1.
|
|
222
214
|
:param str name: The service name to select.
|
|
223
215
|
:param Sequence[pulumi.InputType['GetServiceQueryOptionArgs']] query_options: See below.
|
|
224
216
|
:param str tag: A single tag that can be used to filter the list of nodes
|
pulumi_consul/get_services.py
CHANGED
|
@@ -113,7 +113,6 @@ def get_services(query_options: Optional[Sequence[pulumi.InputType['GetServicesQ
|
|
|
113
113
|
|
|
114
114
|
## Example Usage
|
|
115
115
|
|
|
116
|
-
<!--Start PulumiCodeChooser -->
|
|
117
116
|
```python
|
|
118
117
|
import pulumi
|
|
119
118
|
import pulumi_consul as consul
|
|
@@ -127,7 +126,6 @@ def get_services(query_options: Optional[Sequence[pulumi.InputType['GetServicesQ
|
|
|
127
126
|
app = example.index.Resource("app", description=std.join(separator= ,
|
|
128
127
|
input=names).result)
|
|
129
128
|
```
|
|
130
|
-
<!--End PulumiCodeChooser -->
|
|
131
129
|
|
|
132
130
|
|
|
133
131
|
:param Sequence[pulumi.InputType['GetServicesQueryOptionArgs']] query_options: See below.
|
|
@@ -160,7 +158,6 @@ def get_services_output(query_options: Optional[pulumi.Input[Optional[Sequence[p
|
|
|
160
158
|
|
|
161
159
|
## Example Usage
|
|
162
160
|
|
|
163
|
-
<!--Start PulumiCodeChooser -->
|
|
164
161
|
```python
|
|
165
162
|
import pulumi
|
|
166
163
|
import pulumi_consul as consul
|
|
@@ -174,7 +171,6 @@ def get_services_output(query_options: Optional[pulumi.Input[Optional[Sequence[p
|
|
|
174
171
|
app = example.index.Resource("app", description=std.join(separator= ,
|
|
175
172
|
input=names).result)
|
|
176
173
|
```
|
|
177
|
-
<!--End PulumiCodeChooser -->
|
|
178
174
|
|
|
179
175
|
|
|
180
176
|
:param Sequence[pulumi.InputType['GetServicesQueryOptionArgs']] query_options: See below.
|
pulumi_consul/intention.py
CHANGED
|
@@ -341,7 +341,6 @@ class Intention(pulumi.CustomResource):
|
|
|
341
341
|
|
|
342
342
|
Create a simplest intention with static service names:
|
|
343
343
|
|
|
344
|
-
<!--Start PulumiCodeChooser -->
|
|
345
344
|
```python
|
|
346
345
|
import pulumi
|
|
347
346
|
import pulumi_consul as consul
|
|
@@ -351,11 +350,9 @@ class Intention(pulumi.CustomResource):
|
|
|
351
350
|
destination_name="db",
|
|
352
351
|
action="allow")
|
|
353
352
|
```
|
|
354
|
-
<!--End PulumiCodeChooser -->
|
|
355
353
|
|
|
356
354
|
Referencing a known service via a datasource:
|
|
357
355
|
|
|
358
|
-
<!--Start PulumiCodeChooser -->
|
|
359
356
|
```python
|
|
360
357
|
import pulumi
|
|
361
358
|
import pulumi_consul as consul
|
|
@@ -366,7 +363,6 @@ class Intention(pulumi.CustomResource):
|
|
|
366
363
|
action="allow")
|
|
367
364
|
pg = consul.get_service(name="postgresql")
|
|
368
365
|
```
|
|
369
|
-
<!--End PulumiCodeChooser -->
|
|
370
366
|
|
|
371
367
|
## Import
|
|
372
368
|
|
|
@@ -419,7 +415,6 @@ class Intention(pulumi.CustomResource):
|
|
|
419
415
|
|
|
420
416
|
Create a simplest intention with static service names:
|
|
421
417
|
|
|
422
|
-
<!--Start PulumiCodeChooser -->
|
|
423
418
|
```python
|
|
424
419
|
import pulumi
|
|
425
420
|
import pulumi_consul as consul
|
|
@@ -429,11 +424,9 @@ class Intention(pulumi.CustomResource):
|
|
|
429
424
|
destination_name="db",
|
|
430
425
|
action="allow")
|
|
431
426
|
```
|
|
432
|
-
<!--End PulumiCodeChooser -->
|
|
433
427
|
|
|
434
428
|
Referencing a known service via a datasource:
|
|
435
429
|
|
|
436
|
-
<!--Start PulumiCodeChooser -->
|
|
437
430
|
```python
|
|
438
431
|
import pulumi
|
|
439
432
|
import pulumi_consul as consul
|
|
@@ -444,7 +437,6 @@ class Intention(pulumi.CustomResource):
|
|
|
444
437
|
action="allow")
|
|
445
438
|
pg = consul.get_service(name="postgresql")
|
|
446
439
|
```
|
|
447
|
-
<!--End PulumiCodeChooser -->
|
|
448
440
|
|
|
449
441
|
## Import
|
|
450
442
|
|
pulumi_consul/key_prefix.py
CHANGED
|
@@ -320,7 +320,6 @@ class KeyPrefix(pulumi.CustomResource):
|
|
|
320
320
|
"""
|
|
321
321
|
## Example Usage
|
|
322
322
|
|
|
323
|
-
<!--Start PulumiCodeChooser -->
|
|
324
323
|
```python
|
|
325
324
|
import pulumi
|
|
326
325
|
import pulumi_consul as consul
|
|
@@ -343,7 +342,6 @@ class KeyPrefix(pulumi.CustomResource):
|
|
|
343
342
|
flags=2,
|
|
344
343
|
)])
|
|
345
344
|
```
|
|
346
|
-
<!--End PulumiCodeChooser -->
|
|
347
345
|
|
|
348
346
|
## Import
|
|
349
347
|
|
|
@@ -381,7 +379,6 @@ class KeyPrefix(pulumi.CustomResource):
|
|
|
381
379
|
"""
|
|
382
380
|
## Example Usage
|
|
383
381
|
|
|
384
|
-
<!--Start PulumiCodeChooser -->
|
|
385
382
|
```python
|
|
386
383
|
import pulumi
|
|
387
384
|
import pulumi_consul as consul
|
|
@@ -404,7 +401,6 @@ class KeyPrefix(pulumi.CustomResource):
|
|
|
404
401
|
flags=2,
|
|
405
402
|
)])
|
|
406
403
|
```
|
|
407
|
-
<!--End PulumiCodeChooser -->
|
|
408
404
|
|
|
409
405
|
## Import
|
|
410
406
|
|
pulumi_consul/keys.py
CHANGED
|
@@ -247,7 +247,6 @@ class Keys(pulumi.CustomResource):
|
|
|
247
247
|
"""
|
|
248
248
|
## Example Usage
|
|
249
249
|
|
|
250
|
-
<!--Start PulumiCodeChooser -->
|
|
251
250
|
```python
|
|
252
251
|
import pulumi
|
|
253
252
|
import pulumi_consul as consul
|
|
@@ -260,7 +259,6 @@ class Keys(pulumi.CustomResource):
|
|
|
260
259
|
value=app_aws_elb["dnsName"],
|
|
261
260
|
)])
|
|
262
261
|
```
|
|
263
|
-
<!--End PulumiCodeChooser -->
|
|
264
262
|
|
|
265
263
|
:param str resource_name: The name of the resource.
|
|
266
264
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -282,7 +280,6 @@ class Keys(pulumi.CustomResource):
|
|
|
282
280
|
"""
|
|
283
281
|
## Example Usage
|
|
284
282
|
|
|
285
|
-
<!--Start PulumiCodeChooser -->
|
|
286
283
|
```python
|
|
287
284
|
import pulumi
|
|
288
285
|
import pulumi_consul as consul
|
|
@@ -295,7 +292,6 @@ class Keys(pulumi.CustomResource):
|
|
|
295
292
|
value=app_aws_elb["dnsName"],
|
|
296
293
|
)])
|
|
297
294
|
```
|
|
298
|
-
<!--End PulumiCodeChooser -->
|
|
299
295
|
|
|
300
296
|
:param str resource_name: The name of the resource.
|
|
301
297
|
:param KeysArgs args: The arguments to use to populate this resource's properties.
|
pulumi_consul/license.py
CHANGED
|
@@ -271,7 +271,6 @@ class License(pulumi.CustomResource):
|
|
|
271
271
|
|
|
272
272
|
## Example Usage
|
|
273
273
|
|
|
274
|
-
<!--Start PulumiCodeChooser -->
|
|
275
274
|
```python
|
|
276
275
|
import pulumi
|
|
277
276
|
import pulumi_consul as consul
|
|
@@ -279,7 +278,6 @@ class License(pulumi.CustomResource):
|
|
|
279
278
|
|
|
280
279
|
license = consul.License("license", license=std.file(input="license.hclic").result)
|
|
281
280
|
```
|
|
282
|
-
<!--End PulumiCodeChooser -->
|
|
283
281
|
|
|
284
282
|
:param str resource_name: The name of the resource.
|
|
285
283
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -302,7 +300,6 @@ class License(pulumi.CustomResource):
|
|
|
302
300
|
|
|
303
301
|
## Example Usage
|
|
304
302
|
|
|
305
|
-
<!--Start PulumiCodeChooser -->
|
|
306
303
|
```python
|
|
307
304
|
import pulumi
|
|
308
305
|
import pulumi_consul as consul
|
|
@@ -310,7 +307,6 @@ class License(pulumi.CustomResource):
|
|
|
310
307
|
|
|
311
308
|
license = consul.License("license", license=std.file(input="license.hclic").result)
|
|
312
309
|
```
|
|
313
|
-
<!--End PulumiCodeChooser -->
|
|
314
310
|
|
|
315
311
|
:param str resource_name: The name of the resource.
|
|
316
312
|
:param LicenseArgs args: The arguments to use to populate this resource's properties.
|
pulumi_consul/namespace.py
CHANGED
|
@@ -238,7 +238,6 @@ class Namespace(pulumi.CustomResource):
|
|
|
238
238
|
|
|
239
239
|
## Example Usage
|
|
240
240
|
|
|
241
|
-
<!--Start PulumiCodeChooser -->
|
|
242
241
|
```python
|
|
243
242
|
import pulumi
|
|
244
243
|
import pulumi_consul as consul
|
|
@@ -250,7 +249,6 @@ class Namespace(pulumi.CustomResource):
|
|
|
250
249
|
"foo": "bar",
|
|
251
250
|
})
|
|
252
251
|
```
|
|
253
|
-
<!--End PulumiCodeChooser -->
|
|
254
252
|
|
|
255
253
|
## Import
|
|
256
254
|
|
|
@@ -283,7 +281,6 @@ class Namespace(pulumi.CustomResource):
|
|
|
283
281
|
|
|
284
282
|
## Example Usage
|
|
285
283
|
|
|
286
|
-
<!--Start PulumiCodeChooser -->
|
|
287
284
|
```python
|
|
288
285
|
import pulumi
|
|
289
286
|
import pulumi_consul as consul
|
|
@@ -295,7 +292,6 @@ class Namespace(pulumi.CustomResource):
|
|
|
295
292
|
"foo": "bar",
|
|
296
293
|
})
|
|
297
294
|
```
|
|
298
|
-
<!--End PulumiCodeChooser -->
|
|
299
295
|
|
|
300
296
|
## Import
|
|
301
297
|
|
pulumi_consul/network_area.py
CHANGED
|
@@ -250,7 +250,6 @@ class NetworkArea(pulumi.CustomResource):
|
|
|
250
250
|
|
|
251
251
|
## Example Usage
|
|
252
252
|
|
|
253
|
-
<!--Start PulumiCodeChooser -->
|
|
254
253
|
```python
|
|
255
254
|
import pulumi
|
|
256
255
|
import pulumi_consul as consul
|
|
@@ -260,7 +259,6 @@ class NetworkArea(pulumi.CustomResource):
|
|
|
260
259
|
retry_joins=["1.2.3.4"],
|
|
261
260
|
use_tls=True)
|
|
262
261
|
```
|
|
263
|
-
<!--End PulumiCodeChooser -->
|
|
264
262
|
|
|
265
263
|
:param str resource_name: The name of the resource.
|
|
266
264
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -294,7 +292,6 @@ class NetworkArea(pulumi.CustomResource):
|
|
|
294
292
|
|
|
295
293
|
## Example Usage
|
|
296
294
|
|
|
297
|
-
<!--Start PulumiCodeChooser -->
|
|
298
295
|
```python
|
|
299
296
|
import pulumi
|
|
300
297
|
import pulumi_consul as consul
|
|
@@ -304,7 +301,6 @@ class NetworkArea(pulumi.CustomResource):
|
|
|
304
301
|
retry_joins=["1.2.3.4"],
|
|
305
302
|
use_tls=True)
|
|
306
303
|
```
|
|
307
|
-
<!--End PulumiCodeChooser -->
|
|
308
304
|
|
|
309
305
|
:param str resource_name: The name of the resource.
|
|
310
306
|
:param NetworkAreaArgs args: The arguments to use to populate this resource's properties.
|
pulumi_consul/node.py
CHANGED
|
@@ -248,7 +248,6 @@ class Node(pulumi.CustomResource):
|
|
|
248
248
|
|
|
249
249
|
## Example Usage
|
|
250
250
|
|
|
251
|
-
<!--Start PulumiCodeChooser -->
|
|
252
251
|
```python
|
|
253
252
|
import pulumi
|
|
254
253
|
import pulumi_consul as consul
|
|
@@ -257,7 +256,6 @@ class Node(pulumi.CustomResource):
|
|
|
257
256
|
address="192.168.10.10",
|
|
258
257
|
name="foobar")
|
|
259
258
|
```
|
|
260
|
-
<!--End PulumiCodeChooser -->
|
|
261
259
|
|
|
262
260
|
## Import
|
|
263
261
|
|
|
@@ -287,7 +285,6 @@ class Node(pulumi.CustomResource):
|
|
|
287
285
|
|
|
288
286
|
## Example Usage
|
|
289
287
|
|
|
290
|
-
<!--Start PulumiCodeChooser -->
|
|
291
288
|
```python
|
|
292
289
|
import pulumi
|
|
293
290
|
import pulumi_consul as consul
|
|
@@ -296,7 +293,6 @@ class Node(pulumi.CustomResource):
|
|
|
296
293
|
address="192.168.10.10",
|
|
297
294
|
name="foobar")
|
|
298
295
|
```
|
|
299
|
-
<!--End PulumiCodeChooser -->
|
|
300
296
|
|
|
301
297
|
## Import
|
|
302
298
|
|
pulumi_consul/outputs.py
CHANGED
|
@@ -1664,7 +1664,7 @@ class ConfigEntryServiceIntentionsSourcePermission(dict):
|
|
|
1664
1664
|
action: str,
|
|
1665
1665
|
https: Sequence['outputs.ConfigEntryServiceIntentionsSourcePermissionHttp']):
|
|
1666
1666
|
"""
|
|
1667
|
-
:param str action: Specifies the action to take when the source sends traffic to the destination service.
|
|
1667
|
+
:param str action: Specifies the action to take when the source sends traffic to the destination service. The value is either allow or deny.
|
|
1668
1668
|
:param Sequence['ConfigEntryServiceIntentionsSourcePermissionHttpArgs'] https: Specifies a set of HTTP-specific match criteria.
|
|
1669
1669
|
"""
|
|
1670
1670
|
pulumi.set(__self__, "action", action)
|
|
@@ -1674,7 +1674,7 @@ class ConfigEntryServiceIntentionsSourcePermission(dict):
|
|
|
1674
1674
|
@pulumi.getter
|
|
1675
1675
|
def action(self) -> str:
|
|
1676
1676
|
"""
|
|
1677
|
-
Specifies the action to take when the source sends traffic to the destination service.
|
|
1677
|
+
Specifies the action to take when the source sends traffic to the destination service. The value is either allow or deny.
|
|
1678
1678
|
"""
|
|
1679
1679
|
return pulumi.get(self, "action")
|
|
1680
1680
|
|
|
@@ -1786,7 +1786,7 @@ class ConfigEntryServiceIntentionsSourcePermissionHttpHeader(dict):
|
|
|
1786
1786
|
regex: Optional[str] = None,
|
|
1787
1787
|
suffix: Optional[str] = None):
|
|
1788
1788
|
"""
|
|
1789
|
-
:param str name: Specifies the name of
|
|
1789
|
+
:param str name: Specifies the name of the header to match.
|
|
1790
1790
|
:param str exact: Specifies a value for the header key set in the Name field. If the request header value matches the Exact value, Consul applies the permission.
|
|
1791
1791
|
:param bool invert: Inverts the matching logic configured in the Header.
|
|
1792
1792
|
:param str prefix: Specifies a prefix value for the header key set in the Name field.
|
|
@@ -1812,7 +1812,7 @@ class ConfigEntryServiceIntentionsSourcePermissionHttpHeader(dict):
|
|
|
1812
1812
|
@pulumi.getter
|
|
1813
1813
|
def name(self) -> str:
|
|
1814
1814
|
"""
|
|
1815
|
-
Specifies the name of
|
|
1815
|
+
Specifies the name of the header to match.
|
|
1816
1816
|
"""
|
|
1817
1817
|
return pulumi.get(self, "name")
|
|
1818
1818
|
|
|
@@ -2004,11 +2004,11 @@ class ConfigEntryServiceResolverFailoverTarget(dict):
|
|
|
2004
2004
|
service_subset: Optional[str] = None):
|
|
2005
2005
|
"""
|
|
2006
2006
|
:param str datacenter: Specifies the WAN federated datacenter to use for the failover target. If empty, the current datacenter is used.
|
|
2007
|
-
:param str namespace: Specifies the namespace
|
|
2007
|
+
:param str namespace: Specifies the namespace to use for the failover target. If empty, the default namespace is used.
|
|
2008
2008
|
:param str partition: Specifies the admin partition within the same datacenter to use for the failover target. If empty, the default partition is used.
|
|
2009
2009
|
:param str peer: Specifies the destination cluster peer to resolve the target service name from.
|
|
2010
|
-
:param str service: Specifies the name
|
|
2011
|
-
:param str service_subset: Specifies the
|
|
2010
|
+
:param str service: Specifies the service name to use for the failover target. If empty, the current service name is used.
|
|
2011
|
+
:param str service_subset: Specifies the named subset to use for the failover target. If empty, the default subset for the requested service name is used.
|
|
2012
2012
|
"""
|
|
2013
2013
|
if datacenter is not None:
|
|
2014
2014
|
pulumi.set(__self__, "datacenter", datacenter)
|
|
@@ -2035,7 +2035,7 @@ class ConfigEntryServiceResolverFailoverTarget(dict):
|
|
|
2035
2035
|
@pulumi.getter
|
|
2036
2036
|
def namespace(self) -> Optional[str]:
|
|
2037
2037
|
"""
|
|
2038
|
-
Specifies the namespace
|
|
2038
|
+
Specifies the namespace to use for the failover target. If empty, the default namespace is used.
|
|
2039
2039
|
"""
|
|
2040
2040
|
return pulumi.get(self, "namespace")
|
|
2041
2041
|
|
|
@@ -2059,7 +2059,7 @@ class ConfigEntryServiceResolverFailoverTarget(dict):
|
|
|
2059
2059
|
@pulumi.getter
|
|
2060
2060
|
def service(self) -> Optional[str]:
|
|
2061
2061
|
"""
|
|
2062
|
-
Specifies the name
|
|
2062
|
+
Specifies the service name to use for the failover target. If empty, the current service name is used.
|
|
2063
2063
|
"""
|
|
2064
2064
|
return pulumi.get(self, "service")
|
|
2065
2065
|
|
|
@@ -2067,7 +2067,7 @@ class ConfigEntryServiceResolverFailoverTarget(dict):
|
|
|
2067
2067
|
@pulumi.getter(name="serviceSubset")
|
|
2068
2068
|
def service_subset(self) -> Optional[str]:
|
|
2069
2069
|
"""
|
|
2070
|
-
Specifies the
|
|
2070
|
+
Specifies the named subset to use for the failover target. If empty, the default subset for the requested service name is used.
|
|
2071
2071
|
"""
|
|
2072
2072
|
return pulumi.get(self, "service_subset")
|
|
2073
2073
|
|
|
@@ -2805,9 +2805,9 @@ class ConfigEntryServiceRouterRouteDestinationResponseHeaders(dict):
|
|
|
2805
2805
|
removes: Optional[Sequence[str]] = None,
|
|
2806
2806
|
set: Optional[Mapping[str, str]] = None):
|
|
2807
2807
|
"""
|
|
2808
|
-
:param Mapping[str, str] add: Defines a set of key-value pairs to add to the header. Use header names as the keys
|
|
2808
|
+
:param Mapping[str, str] add: Defines a set of key-value pairs to add to the header. Use header names as the keys
|
|
2809
2809
|
:param Sequence[str] removes: Defines a list of headers to remove.
|
|
2810
|
-
:param Mapping[str, str] set: Defines a set of key-value pairs to add to the
|
|
2810
|
+
:param Mapping[str, str] set: Defines a set of key-value pairs to add to the response header or to replace existing header values with
|
|
2811
2811
|
"""
|
|
2812
2812
|
if add is not None:
|
|
2813
2813
|
pulumi.set(__self__, "add", add)
|
|
@@ -2820,7 +2820,7 @@ class ConfigEntryServiceRouterRouteDestinationResponseHeaders(dict):
|
|
|
2820
2820
|
@pulumi.getter
|
|
2821
2821
|
def add(self) -> Optional[Mapping[str, str]]:
|
|
2822
2822
|
"""
|
|
2823
|
-
Defines a set of key-value pairs to add to the header. Use header names as the keys
|
|
2823
|
+
Defines a set of key-value pairs to add to the header. Use header names as the keys
|
|
2824
2824
|
"""
|
|
2825
2825
|
return pulumi.get(self, "add")
|
|
2826
2826
|
|
|
@@ -2836,7 +2836,7 @@ class ConfigEntryServiceRouterRouteDestinationResponseHeaders(dict):
|
|
|
2836
2836
|
@pulumi.getter
|
|
2837
2837
|
def set(self) -> Optional[Mapping[str, str]]:
|
|
2838
2838
|
"""
|
|
2839
|
-
Defines a set of key-value pairs to add to the
|
|
2839
|
+
Defines a set of key-value pairs to add to the response header or to replace existing header values with
|
|
2840
2840
|
"""
|
|
2841
2841
|
return pulumi.get(self, "set")
|
|
2842
2842
|
|
|
@@ -3061,10 +3061,10 @@ class ConfigEntryServiceRouterRouteMatchHttpQueryParam(dict):
|
|
|
3061
3061
|
present: Optional[bool] = None,
|
|
3062
3062
|
regex: Optional[str] = None):
|
|
3063
3063
|
"""
|
|
3064
|
-
:param str exact: Specifies that a request matches when the
|
|
3065
|
-
:param str name: Specifies the name of the HTTP
|
|
3066
|
-
:param bool present: Specifies that a request matches when the value in the `name` argument is present anywhere in the HTTP
|
|
3067
|
-
:param str regex: Specifies that a request matches when the
|
|
3064
|
+
:param str exact: Specifies that a request matches when the query parameter with the given name is this exact value.
|
|
3065
|
+
:param str name: Specifies the name of the HTTP query parameter to match.
|
|
3066
|
+
:param bool present: Specifies that a request matches when the value in the `name` argument is present anywhere in the HTTP query parameter.
|
|
3067
|
+
:param str regex: Specifies that a request matches when the query parameter with the given name matches this regular expression.
|
|
3068
3068
|
"""
|
|
3069
3069
|
if exact is not None:
|
|
3070
3070
|
pulumi.set(__self__, "exact", exact)
|
|
@@ -3079,7 +3079,7 @@ class ConfigEntryServiceRouterRouteMatchHttpQueryParam(dict):
|
|
|
3079
3079
|
@pulumi.getter
|
|
3080
3080
|
def exact(self) -> Optional[str]:
|
|
3081
3081
|
"""
|
|
3082
|
-
Specifies that a request matches when the
|
|
3082
|
+
Specifies that a request matches when the query parameter with the given name is this exact value.
|
|
3083
3083
|
"""
|
|
3084
3084
|
return pulumi.get(self, "exact")
|
|
3085
3085
|
|
|
@@ -3087,7 +3087,7 @@ class ConfigEntryServiceRouterRouteMatchHttpQueryParam(dict):
|
|
|
3087
3087
|
@pulumi.getter
|
|
3088
3088
|
def name(self) -> Optional[str]:
|
|
3089
3089
|
"""
|
|
3090
|
-
Specifies the name of the HTTP
|
|
3090
|
+
Specifies the name of the HTTP query parameter to match.
|
|
3091
3091
|
"""
|
|
3092
3092
|
return pulumi.get(self, "name")
|
|
3093
3093
|
|
|
@@ -3095,7 +3095,7 @@ class ConfigEntryServiceRouterRouteMatchHttpQueryParam(dict):
|
|
|
3095
3095
|
@pulumi.getter
|
|
3096
3096
|
def present(self) -> Optional[bool]:
|
|
3097
3097
|
"""
|
|
3098
|
-
Specifies that a request matches when the value in the `name` argument is present anywhere in the HTTP
|
|
3098
|
+
Specifies that a request matches when the value in the `name` argument is present anywhere in the HTTP query parameter.
|
|
3099
3099
|
"""
|
|
3100
3100
|
return pulumi.get(self, "present")
|
|
3101
3101
|
|
|
@@ -3103,7 +3103,7 @@ class ConfigEntryServiceRouterRouteMatchHttpQueryParam(dict):
|
|
|
3103
3103
|
@pulumi.getter
|
|
3104
3104
|
def regex(self) -> Optional[str]:
|
|
3105
3105
|
"""
|
|
3106
|
-
Specifies that a request matches when the
|
|
3106
|
+
Specifies that a request matches when the query parameter with the given name matches this regular expression.
|
|
3107
3107
|
"""
|
|
3108
3108
|
return pulumi.get(self, "regex")
|
|
3109
3109
|
|
pulumi_consul/peering.py
CHANGED
|
@@ -238,7 +238,6 @@ class Peering(pulumi.CustomResource):
|
|
|
238
238
|
|
|
239
239
|
## Example Usage
|
|
240
240
|
|
|
241
|
-
<!--Start PulumiCodeChooser -->
|
|
242
241
|
```python
|
|
243
242
|
import pulumi
|
|
244
243
|
import pulumi_consul as consul
|
|
@@ -251,7 +250,6 @@ class Peering(pulumi.CustomResource):
|
|
|
251
250
|
"hello": "world",
|
|
252
251
|
})
|
|
253
252
|
```
|
|
254
|
-
<!--End PulumiCodeChooser -->
|
|
255
253
|
|
|
256
254
|
:param str resource_name: The name of the resource.
|
|
257
255
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -276,7 +274,6 @@ class Peering(pulumi.CustomResource):
|
|
|
276
274
|
|
|
277
275
|
## Example Usage
|
|
278
276
|
|
|
279
|
-
<!--Start PulumiCodeChooser -->
|
|
280
277
|
```python
|
|
281
278
|
import pulumi
|
|
282
279
|
import pulumi_consul as consul
|
|
@@ -289,7 +286,6 @@ class Peering(pulumi.CustomResource):
|
|
|
289
286
|
"hello": "world",
|
|
290
287
|
})
|
|
291
288
|
```
|
|
292
|
-
<!--End PulumiCodeChooser -->
|
|
293
289
|
|
|
294
290
|
:param str resource_name: The name of the resource.
|
|
295
291
|
:param PeeringArgs args: The arguments to use to populate this resource's properties.
|
pulumi_consul/peering_token.py
CHANGED
|
@@ -150,14 +150,12 @@ class PeeringToken(pulumi.CustomResource):
|
|
|
150
150
|
|
|
151
151
|
## Example Usage
|
|
152
152
|
|
|
153
|
-
<!--Start PulumiCodeChooser -->
|
|
154
153
|
```python
|
|
155
154
|
import pulumi
|
|
156
155
|
import pulumi_consul as consul
|
|
157
156
|
|
|
158
157
|
token = consul.PeeringToken("token", peer_name="eu-cluster")
|
|
159
158
|
```
|
|
160
|
-
<!--End PulumiCodeChooser -->
|
|
161
159
|
|
|
162
160
|
:param str resource_name: The name of the resource.
|
|
163
161
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -181,14 +179,12 @@ class PeeringToken(pulumi.CustomResource):
|
|
|
181
179
|
|
|
182
180
|
## Example Usage
|
|
183
181
|
|
|
184
|
-
<!--Start PulumiCodeChooser -->
|
|
185
182
|
```python
|
|
186
183
|
import pulumi
|
|
187
184
|
import pulumi_consul as consul
|
|
188
185
|
|
|
189
186
|
token = consul.PeeringToken("token", peer_name="eu-cluster")
|
|
190
187
|
```
|
|
191
|
-
<!--End PulumiCodeChooser -->
|
|
192
188
|
|
|
193
189
|
:param str resource_name: The name of the resource.
|
|
194
190
|
:param PeeringTokenArgs args: The arguments to use to populate this resource's properties.
|
pulumi_consul/prepared_query.py
CHANGED
|
@@ -36,7 +36,7 @@ class PreparedQueryArgs:
|
|
|
36
36
|
The set of arguments for constructing a PreparedQuery resource.
|
|
37
37
|
:param pulumi.Input[str] service: The name of the service to query
|
|
38
38
|
:param pulumi.Input[bool] connect: When `true` the prepared query will return connect proxy services for a queried service. Conditions such as `tags` in the prepared query will be matched against the proxy service. Defaults to false.
|
|
39
|
-
:param pulumi.Input[str] datacenter:
|
|
39
|
+
:param pulumi.Input[str] datacenter: The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.
|
|
40
40
|
:param pulumi.Input['PreparedQueryDnsArgs'] dns: Settings for controlling the DNS response details.
|
|
41
41
|
:param pulumi.Input['PreparedQueryFailoverArgs'] failover: Options for controlling behavior when no healthy nodes are available in the local DC.
|
|
42
42
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] ignore_check_ids: Specifies a list of check IDs that should be ignored when filtering unhealthy instances. This is mostly useful in an emergency or as a temporary measure when a health check is found to be unreliable. Being able to ignore it in centrally-defined queries can be simpler than de-registering the check as an interim solution until the check can be fixed.
|
|
@@ -116,7 +116,7 @@ Please use the token argument in the provider configuration""")
|
|
|
116
116
|
@pulumi.getter
|
|
117
117
|
def datacenter(self) -> Optional[pulumi.Input[str]]:
|
|
118
118
|
"""
|
|
119
|
-
|
|
119
|
+
The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.
|
|
120
120
|
"""
|
|
121
121
|
return pulumi.get(self, "datacenter")
|
|
122
122
|
|
|
@@ -308,7 +308,7 @@ class _PreparedQueryState:
|
|
|
308
308
|
"""
|
|
309
309
|
Input properties used for looking up and filtering PreparedQuery resources.
|
|
310
310
|
:param pulumi.Input[bool] connect: When `true` the prepared query will return connect proxy services for a queried service. Conditions such as `tags` in the prepared query will be matched against the proxy service. Defaults to false.
|
|
311
|
-
:param pulumi.Input[str] datacenter:
|
|
311
|
+
:param pulumi.Input[str] datacenter: The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.
|
|
312
312
|
:param pulumi.Input['PreparedQueryDnsArgs'] dns: Settings for controlling the DNS response details.
|
|
313
313
|
:param pulumi.Input['PreparedQueryFailoverArgs'] failover: Options for controlling behavior when no healthy nodes are available in the local DC.
|
|
314
314
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] ignore_check_ids: Specifies a list of check IDs that should be ignored when filtering unhealthy instances. This is mostly useful in an emergency or as a temporary measure when a health check is found to be unreliable. Being able to ignore it in centrally-defined queries can be simpler than de-registering the check as an interim solution until the check can be fixed.
|
|
@@ -378,7 +378,7 @@ Please use the token argument in the provider configuration""")
|
|
|
378
378
|
@pulumi.getter
|
|
379
379
|
def datacenter(self) -> Optional[pulumi.Input[str]]:
|
|
380
380
|
"""
|
|
381
|
-
|
|
381
|
+
The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.
|
|
382
382
|
"""
|
|
383
383
|
return pulumi.get(self, "datacenter")
|
|
384
384
|
|
|
@@ -585,7 +585,6 @@ class PreparedQuery(pulumi.CustomResource):
|
|
|
585
585
|
"""
|
|
586
586
|
## Example Usage
|
|
587
587
|
|
|
588
|
-
<!--Start PulumiCodeChooser -->
|
|
589
588
|
```python
|
|
590
589
|
import pulumi
|
|
591
590
|
import pulumi_consul as consul
|
|
@@ -644,7 +643,6 @@ class PreparedQuery(pulumi.CustomResource):
|
|
|
644
643
|
ttl="5m",
|
|
645
644
|
))
|
|
646
645
|
```
|
|
647
|
-
<!--End PulumiCodeChooser -->
|
|
648
646
|
|
|
649
647
|
## Import
|
|
650
648
|
|
|
@@ -655,7 +653,7 @@ class PreparedQuery(pulumi.CustomResource):
|
|
|
655
653
|
:param str resource_name: The name of the resource.
|
|
656
654
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
657
655
|
:param pulumi.Input[bool] connect: When `true` the prepared query will return connect proxy services for a queried service. Conditions such as `tags` in the prepared query will be matched against the proxy service. Defaults to false.
|
|
658
|
-
:param pulumi.Input[str] datacenter:
|
|
656
|
+
:param pulumi.Input[str] datacenter: The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.
|
|
659
657
|
:param pulumi.Input[pulumi.InputType['PreparedQueryDnsArgs']] dns: Settings for controlling the DNS response details.
|
|
660
658
|
:param pulumi.Input[pulumi.InputType['PreparedQueryFailoverArgs']] failover: Options for controlling behavior when no healthy nodes are available in the local DC.
|
|
661
659
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] ignore_check_ids: Specifies a list of check IDs that should be ignored when filtering unhealthy instances. This is mostly useful in an emergency or as a temporary measure when a health check is found to be unreliable. Being able to ignore it in centrally-defined queries can be simpler than de-registering the check as an interim solution until the check can be fixed.
|
|
@@ -680,7 +678,6 @@ class PreparedQuery(pulumi.CustomResource):
|
|
|
680
678
|
"""
|
|
681
679
|
## Example Usage
|
|
682
680
|
|
|
683
|
-
<!--Start PulumiCodeChooser -->
|
|
684
681
|
```python
|
|
685
682
|
import pulumi
|
|
686
683
|
import pulumi_consul as consul
|
|
@@ -739,7 +736,6 @@ class PreparedQuery(pulumi.CustomResource):
|
|
|
739
736
|
ttl="5m",
|
|
740
737
|
))
|
|
741
738
|
```
|
|
742
|
-
<!--End PulumiCodeChooser -->
|
|
743
739
|
|
|
744
740
|
## Import
|
|
745
741
|
|
|
@@ -841,7 +837,7 @@ class PreparedQuery(pulumi.CustomResource):
|
|
|
841
837
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
842
838
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
843
839
|
:param pulumi.Input[bool] connect: When `true` the prepared query will return connect proxy services for a queried service. Conditions such as `tags` in the prepared query will be matched against the proxy service. Defaults to false.
|
|
844
|
-
:param pulumi.Input[str] datacenter:
|
|
840
|
+
:param pulumi.Input[str] datacenter: The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.
|
|
845
841
|
:param pulumi.Input[pulumi.InputType['PreparedQueryDnsArgs']] dns: Settings for controlling the DNS response details.
|
|
846
842
|
:param pulumi.Input[pulumi.InputType['PreparedQueryFailoverArgs']] failover: Options for controlling behavior when no healthy nodes are available in the local DC.
|
|
847
843
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] ignore_check_ids: Specifies a list of check IDs that should be ignored when filtering unhealthy instances. This is mostly useful in an emergency or as a temporary measure when a health check is found to be unreliable. Being able to ignore it in centrally-defined queries can be simpler than de-registering the check as an interim solution until the check can be fixed.
|
|
@@ -891,7 +887,7 @@ class PreparedQuery(pulumi.CustomResource):
|
|
|
891
887
|
@pulumi.getter
|
|
892
888
|
def datacenter(self) -> pulumi.Output[Optional[str]]:
|
|
893
889
|
"""
|
|
894
|
-
|
|
890
|
+
The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.
|
|
895
891
|
"""
|
|
896
892
|
return pulumi.get(self, "datacenter")
|
|
897
893
|
|