pulumi-consul 3.13.0a1749706342__py3-none-any.whl → 3.14.0a1768432677__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/__init__.py +1 -1
- pulumi_consul/_inputs.py +1604 -1605
- pulumi_consul/acl_auth_method.py +174 -175
- pulumi_consul/acl_binding_rule.py +123 -124
- pulumi_consul/acl_policy.py +107 -108
- pulumi_consul/acl_role.py +95 -96
- pulumi_consul/acl_role_policy_attachment.py +35 -36
- pulumi_consul/acl_token.py +154 -155
- pulumi_consul/acl_token_policy_attachment.py +35 -36
- pulumi_consul/acl_token_role_attachment.py +35 -36
- pulumi_consul/admin_partition.py +82 -36
- pulumi_consul/agent_service.py +69 -70
- pulumi_consul/autopilot_config.py +137 -138
- pulumi_consul/catalog_entry.py +114 -73
- pulumi_consul/certificate_authority.py +44 -45
- pulumi_consul/config/__init__.py +1 -1
- pulumi_consul/config/__init__.pyi +6 -12
- pulumi_consul/config/outputs.py +24 -25
- pulumi_consul/config/vars.py +22 -28
- pulumi_consul/config_entry.py +86 -87
- pulumi_consul/config_entry_service_defaults.py +275 -224
- pulumi_consul/config_entry_service_intentions.py +75 -76
- pulumi_consul/config_entry_service_resolver.py +132 -133
- pulumi_consul/config_entry_service_router.py +72 -73
- pulumi_consul/config_entry_service_splitter.py +72 -73
- pulumi_consul/config_entry_v2_exported_services.py +137 -138
- pulumi_consul/get_acl_auth_method.py +36 -37
- pulumi_consul/get_acl_policy.py +27 -28
- pulumi_consul/get_acl_role.py +27 -28
- pulumi_consul/get_acl_token.py +32 -33
- pulumi_consul/get_acl_token_secret_id.py +29 -30
- pulumi_consul/get_agent_config.py +15 -16
- pulumi_consul/get_agent_self.py +149 -146
- pulumi_consul/get_autopilot_health.py +14 -15
- pulumi_consul/get_catalog_nodes.py +45 -12
- pulumi_consul/get_catalog_service.py +27 -28
- pulumi_consul/get_catalog_services.py +12 -13
- pulumi_consul/get_config_entry.py +29 -30
- pulumi_consul/get_config_entry_v2_exported_services.py +51 -52
- pulumi_consul/get_datacenters.py +73 -6
- pulumi_consul/get_key_prefix.py +38 -39
- pulumi_consul/get_keys.py +36 -37
- pulumi_consul/get_network_area_members.py +22 -23
- pulumi_consul/get_network_segments.py +17 -18
- pulumi_consul/get_nodes.py +45 -12
- pulumi_consul/get_peering.py +25 -26
- pulumi_consul/get_peerings.py +8 -9
- pulumi_consul/get_service.py +27 -28
- pulumi_consul/get_service_health.py +54 -51
- pulumi_consul/get_services.py +12 -13
- pulumi_consul/intention.py +137 -138
- pulumi_consul/key_prefix.py +106 -107
- pulumi_consul/keys.py +79 -80
- pulumi_consul/license.py +125 -126
- pulumi_consul/namespace.py +103 -104
- pulumi_consul/namespace_policy_attachment.py +35 -36
- pulumi_consul/namespace_role_attachment.py +35 -36
- pulumi_consul/network_area.py +86 -87
- pulumi_consul/node.py +99 -100
- pulumi_consul/outputs.py +1464 -1465
- pulumi_consul/peering.py +107 -108
- pulumi_consul/peering_token.py +74 -75
- pulumi_consul/prepared_query.py +231 -232
- pulumi_consul/provider.py +150 -169
- pulumi_consul/pulumi-plugin.json +1 -1
- pulumi_consul/service.py +251 -205
- {pulumi_consul-3.13.0a1749706342.dist-info → pulumi_consul-3.14.0a1768432677.dist-info}/METADATA +1 -1
- pulumi_consul-3.14.0a1768432677.dist-info/RECORD +72 -0
- pulumi_consul-3.13.0a1749706342.dist-info/RECORD +0 -72
- {pulumi_consul-3.13.0a1749706342.dist-info → pulumi_consul-3.14.0a1768432677.dist-info}/WHEEL +0 -0
- {pulumi_consul-3.13.0a1749706342.dist-info → pulumi_consul-3.14.0a1768432677.dist-info}/top_level.txt +0 -0
pulumi_consul/get_agent_self.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -245,19 +244,19 @@ class GetAgentSelfResult:
|
|
|
245
244
|
raise TypeError("Expected argument 'version_revision' to be a str")
|
|
246
245
|
pulumi.set(__self__, "version_revision", version_revision)
|
|
247
246
|
|
|
248
|
-
@property
|
|
247
|
+
@_builtins.property
|
|
249
248
|
@pulumi.getter(name="aclDatacenter")
|
|
250
|
-
def acl_datacenter(self) ->
|
|
249
|
+
def acl_datacenter(self) -> _builtins.str:
|
|
251
250
|
return pulumi.get(self, "acl_datacenter")
|
|
252
251
|
|
|
253
|
-
@property
|
|
252
|
+
@_builtins.property
|
|
254
253
|
@pulumi.getter(name="aclDefaultPolicy")
|
|
255
|
-
def acl_default_policy(self) ->
|
|
254
|
+
def acl_default_policy(self) -> _builtins.str:
|
|
256
255
|
return pulumi.get(self, "acl_default_policy")
|
|
257
256
|
|
|
258
|
-
@property
|
|
257
|
+
@_builtins.property
|
|
259
258
|
@pulumi.getter(name="aclDisabledTtl")
|
|
260
|
-
def acl_disabled_ttl(self) ->
|
|
259
|
+
def acl_disabled_ttl(self) -> _builtins.str:
|
|
261
260
|
"""
|
|
262
261
|
* [`acl_down_policy`](https://www.consul.io/docs/agent/options.html#acl_down_policy)
|
|
263
262
|
* [`acl_enforce_0_8_semantics`](https://www.consul.io/docs/agent/options.html#acl_enforce_version_8)
|
|
@@ -273,103 +272,103 @@ class GetAgentSelfResult:
|
|
|
273
272
|
"""
|
|
274
273
|
return pulumi.get(self, "acl_disabled_ttl")
|
|
275
274
|
|
|
276
|
-
@property
|
|
275
|
+
@_builtins.property
|
|
277
276
|
@pulumi.getter(name="aclDownPolicy")
|
|
278
|
-
def acl_down_policy(self) ->
|
|
277
|
+
def acl_down_policy(self) -> _builtins.str:
|
|
279
278
|
return pulumi.get(self, "acl_down_policy")
|
|
280
279
|
|
|
281
|
-
@property
|
|
280
|
+
@_builtins.property
|
|
282
281
|
@pulumi.getter(name="aclEnforce08Semantics")
|
|
283
|
-
def acl_enforce08_semantics(self) ->
|
|
282
|
+
def acl_enforce08_semantics(self) -> _builtins.bool:
|
|
284
283
|
return pulumi.get(self, "acl_enforce08_semantics")
|
|
285
284
|
|
|
286
|
-
@property
|
|
285
|
+
@_builtins.property
|
|
287
286
|
@pulumi.getter(name="aclTtl")
|
|
288
|
-
def acl_ttl(self) ->
|
|
287
|
+
def acl_ttl(self) -> _builtins.str:
|
|
289
288
|
return pulumi.get(self, "acl_ttl")
|
|
290
289
|
|
|
291
|
-
@property
|
|
290
|
+
@_builtins.property
|
|
292
291
|
@pulumi.getter
|
|
293
|
-
def addresses(self) -> Mapping[str,
|
|
292
|
+
def addresses(self) -> Mapping[str, _builtins.str]:
|
|
294
293
|
return pulumi.get(self, "addresses")
|
|
295
294
|
|
|
296
|
-
@property
|
|
295
|
+
@_builtins.property
|
|
297
296
|
@pulumi.getter(name="advertiseAddr")
|
|
298
|
-
def advertise_addr(self) ->
|
|
297
|
+
def advertise_addr(self) -> _builtins.str:
|
|
299
298
|
return pulumi.get(self, "advertise_addr")
|
|
300
299
|
|
|
301
|
-
@property
|
|
300
|
+
@_builtins.property
|
|
302
301
|
@pulumi.getter(name="advertiseAddrWan")
|
|
303
|
-
def advertise_addr_wan(self) ->
|
|
302
|
+
def advertise_addr_wan(self) -> _builtins.str:
|
|
304
303
|
return pulumi.get(self, "advertise_addr_wan")
|
|
305
304
|
|
|
306
|
-
@property
|
|
305
|
+
@_builtins.property
|
|
307
306
|
@pulumi.getter(name="advertiseAddrs")
|
|
308
|
-
def advertise_addrs(self) -> Mapping[str,
|
|
307
|
+
def advertise_addrs(self) -> Mapping[str, _builtins.str]:
|
|
309
308
|
return pulumi.get(self, "advertise_addrs")
|
|
310
309
|
|
|
311
|
-
@property
|
|
310
|
+
@_builtins.property
|
|
312
311
|
@pulumi.getter(name="atlasJoin")
|
|
313
|
-
def atlas_join(self) ->
|
|
312
|
+
def atlas_join(self) -> _builtins.bool:
|
|
314
313
|
return pulumi.get(self, "atlas_join")
|
|
315
314
|
|
|
316
|
-
@property
|
|
315
|
+
@_builtins.property
|
|
317
316
|
@pulumi.getter(name="bindAddr")
|
|
318
|
-
def bind_addr(self) ->
|
|
317
|
+
def bind_addr(self) -> _builtins.str:
|
|
319
318
|
return pulumi.get(self, "bind_addr")
|
|
320
319
|
|
|
321
|
-
@property
|
|
320
|
+
@_builtins.property
|
|
322
321
|
@pulumi.getter(name="bootstrapExpect")
|
|
323
|
-
def bootstrap_expect(self) ->
|
|
322
|
+
def bootstrap_expect(self) -> _builtins.int:
|
|
324
323
|
return pulumi.get(self, "bootstrap_expect")
|
|
325
324
|
|
|
326
|
-
@property
|
|
325
|
+
@_builtins.property
|
|
327
326
|
@pulumi.getter(name="bootstrapMode")
|
|
328
|
-
def bootstrap_mode(self) ->
|
|
327
|
+
def bootstrap_mode(self) -> _builtins.bool:
|
|
329
328
|
return pulumi.get(self, "bootstrap_mode")
|
|
330
329
|
|
|
331
|
-
@property
|
|
330
|
+
@_builtins.property
|
|
332
331
|
@pulumi.getter(name="checkDeregisterIntervalMin")
|
|
333
|
-
def check_deregister_interval_min(self) ->
|
|
332
|
+
def check_deregister_interval_min(self) -> _builtins.str:
|
|
334
333
|
return pulumi.get(self, "check_deregister_interval_min")
|
|
335
334
|
|
|
336
|
-
@property
|
|
335
|
+
@_builtins.property
|
|
337
336
|
@pulumi.getter(name="checkReapInterval")
|
|
338
|
-
def check_reap_interval(self) ->
|
|
337
|
+
def check_reap_interval(self) -> _builtins.str:
|
|
339
338
|
"""
|
|
340
339
|
* [`check_update_interval`](https://www.consul.io/docs/agent/options.html#check_update_interval)
|
|
341
340
|
* [`client_addr`](https://www.consul.io/docs/agent/options.html#_client)
|
|
342
341
|
"""
|
|
343
342
|
return pulumi.get(self, "check_reap_interval")
|
|
344
343
|
|
|
345
|
-
@property
|
|
344
|
+
@_builtins.property
|
|
346
345
|
@pulumi.getter(name="checkUpdateInterval")
|
|
347
|
-
def check_update_interval(self) ->
|
|
346
|
+
def check_update_interval(self) -> _builtins.str:
|
|
348
347
|
return pulumi.get(self, "check_update_interval")
|
|
349
348
|
|
|
350
|
-
@property
|
|
349
|
+
@_builtins.property
|
|
351
350
|
@pulumi.getter(name="clientAddr")
|
|
352
|
-
def client_addr(self) ->
|
|
351
|
+
def client_addr(self) -> _builtins.str:
|
|
353
352
|
return pulumi.get(self, "client_addr")
|
|
354
353
|
|
|
355
|
-
@property
|
|
354
|
+
@_builtins.property
|
|
356
355
|
@pulumi.getter(name="dataDir")
|
|
357
|
-
def data_dir(self) ->
|
|
356
|
+
def data_dir(self) -> _builtins.str:
|
|
358
357
|
return pulumi.get(self, "data_dir")
|
|
359
358
|
|
|
360
|
-
@property
|
|
359
|
+
@_builtins.property
|
|
361
360
|
@pulumi.getter
|
|
362
|
-
def datacenter(self) ->
|
|
361
|
+
def datacenter(self) -> _builtins.str:
|
|
363
362
|
return pulumi.get(self, "datacenter")
|
|
364
363
|
|
|
365
|
-
@property
|
|
364
|
+
@_builtins.property
|
|
366
365
|
@pulumi.getter(name="devMode")
|
|
367
|
-
def dev_mode(self) ->
|
|
366
|
+
def dev_mode(self) -> _builtins.bool:
|
|
368
367
|
return pulumi.get(self, "dev_mode")
|
|
369
368
|
|
|
370
|
-
@property
|
|
369
|
+
@_builtins.property
|
|
371
370
|
@pulumi.getter
|
|
372
|
-
def dns(self) -> Mapping[str,
|
|
371
|
+
def dns(self) -> Mapping[str, _builtins.str]:
|
|
373
372
|
"""
|
|
374
373
|
A map of DNS configuration attributes. See below for details on the
|
|
375
374
|
contents of the `dns` attribute.
|
|
@@ -383,24 +382,24 @@ class GetAgentSelfResult:
|
|
|
383
382
|
"""
|
|
384
383
|
return pulumi.get(self, "dns")
|
|
385
384
|
|
|
386
|
-
@property
|
|
385
|
+
@_builtins.property
|
|
387
386
|
@pulumi.getter(name="dnsRecursors")
|
|
388
|
-
def dns_recursors(self) -> Sequence[
|
|
387
|
+
def dns_recursors(self) -> Sequence[_builtins.str]:
|
|
389
388
|
return pulumi.get(self, "dns_recursors")
|
|
390
389
|
|
|
391
|
-
@property
|
|
390
|
+
@_builtins.property
|
|
392
391
|
@pulumi.getter
|
|
393
|
-
def domain(self) ->
|
|
392
|
+
def domain(self) -> _builtins.str:
|
|
394
393
|
return pulumi.get(self, "domain")
|
|
395
394
|
|
|
396
|
-
@property
|
|
395
|
+
@_builtins.property
|
|
397
396
|
@pulumi.getter(name="enableAnonymousSignature")
|
|
398
|
-
def enable_anonymous_signature(self) ->
|
|
397
|
+
def enable_anonymous_signature(self) -> _builtins.bool:
|
|
399
398
|
return pulumi.get(self, "enable_anonymous_signature")
|
|
400
399
|
|
|
401
|
-
@property
|
|
400
|
+
@_builtins.property
|
|
402
401
|
@pulumi.getter(name="enableCoordinates")
|
|
403
|
-
def enable_coordinates(self) ->
|
|
402
|
+
def enable_coordinates(self) -> _builtins.bool:
|
|
404
403
|
"""
|
|
405
404
|
* [`enable_debug`](https://www.consul.io/docs/agent/options.html#enable_debug)
|
|
406
405
|
* [`enable_remote_exec`](https://www.consul.io/docs/agent/options.html#disable_remote_exec)
|
|
@@ -453,237 +452,237 @@ class GetAgentSelfResult:
|
|
|
453
452
|
"""
|
|
454
453
|
return pulumi.get(self, "enable_coordinates")
|
|
455
454
|
|
|
456
|
-
@property
|
|
455
|
+
@_builtins.property
|
|
457
456
|
@pulumi.getter(name="enableDebug")
|
|
458
|
-
def enable_debug(self) ->
|
|
457
|
+
def enable_debug(self) -> _builtins.bool:
|
|
459
458
|
return pulumi.get(self, "enable_debug")
|
|
460
459
|
|
|
461
|
-
@property
|
|
460
|
+
@_builtins.property
|
|
462
461
|
@pulumi.getter(name="enableRemoteExec")
|
|
463
|
-
def enable_remote_exec(self) ->
|
|
462
|
+
def enable_remote_exec(self) -> _builtins.bool:
|
|
464
463
|
return pulumi.get(self, "enable_remote_exec")
|
|
465
464
|
|
|
466
|
-
@property
|
|
465
|
+
@_builtins.property
|
|
467
466
|
@pulumi.getter(name="enableSyslog")
|
|
468
|
-
def enable_syslog(self) ->
|
|
467
|
+
def enable_syslog(self) -> _builtins.bool:
|
|
469
468
|
return pulumi.get(self, "enable_syslog")
|
|
470
469
|
|
|
471
|
-
@property
|
|
470
|
+
@_builtins.property
|
|
472
471
|
@pulumi.getter(name="enableUi")
|
|
473
|
-
def enable_ui(self) ->
|
|
472
|
+
def enable_ui(self) -> _builtins.bool:
|
|
474
473
|
return pulumi.get(self, "enable_ui")
|
|
475
474
|
|
|
476
|
-
@property
|
|
475
|
+
@_builtins.property
|
|
477
476
|
@pulumi.getter(name="enableUpdateCheck")
|
|
478
|
-
def enable_update_check(self) ->
|
|
477
|
+
def enable_update_check(self) -> _builtins.bool:
|
|
479
478
|
return pulumi.get(self, "enable_update_check")
|
|
480
479
|
|
|
481
|
-
@property
|
|
480
|
+
@_builtins.property
|
|
482
481
|
@pulumi.getter
|
|
483
|
-
def id(self) ->
|
|
482
|
+
def id(self) -> _builtins.str:
|
|
484
483
|
return pulumi.get(self, "id")
|
|
485
484
|
|
|
486
|
-
@property
|
|
485
|
+
@_builtins.property
|
|
487
486
|
@pulumi.getter(name="leaveOnInt")
|
|
488
|
-
def leave_on_int(self) ->
|
|
487
|
+
def leave_on_int(self) -> _builtins.bool:
|
|
489
488
|
return pulumi.get(self, "leave_on_int")
|
|
490
489
|
|
|
491
|
-
@property
|
|
490
|
+
@_builtins.property
|
|
492
491
|
@pulumi.getter(name="leaveOnTerm")
|
|
493
|
-
def leave_on_term(self) ->
|
|
492
|
+
def leave_on_term(self) -> _builtins.bool:
|
|
494
493
|
return pulumi.get(self, "leave_on_term")
|
|
495
494
|
|
|
496
|
-
@property
|
|
495
|
+
@_builtins.property
|
|
497
496
|
@pulumi.getter(name="logLevel")
|
|
498
|
-
def log_level(self) ->
|
|
497
|
+
def log_level(self) -> _builtins.str:
|
|
499
498
|
return pulumi.get(self, "log_level")
|
|
500
499
|
|
|
501
|
-
@property
|
|
500
|
+
@_builtins.property
|
|
502
501
|
@pulumi.getter
|
|
503
|
-
def name(self) ->
|
|
502
|
+
def name(self) -> _builtins.str:
|
|
504
503
|
return pulumi.get(self, "name")
|
|
505
504
|
|
|
506
|
-
@property
|
|
505
|
+
@_builtins.property
|
|
507
506
|
@pulumi.getter
|
|
508
|
-
def performance(self) -> Mapping[str,
|
|
507
|
+
def performance(self) -> Mapping[str, _builtins.str]:
|
|
509
508
|
return pulumi.get(self, "performance")
|
|
510
509
|
|
|
511
|
-
@property
|
|
510
|
+
@_builtins.property
|
|
512
511
|
@pulumi.getter(name="pidFile")
|
|
513
|
-
def pid_file(self) ->
|
|
512
|
+
def pid_file(self) -> _builtins.str:
|
|
514
513
|
return pulumi.get(self, "pid_file")
|
|
515
514
|
|
|
516
|
-
@property
|
|
515
|
+
@_builtins.property
|
|
517
516
|
@pulumi.getter
|
|
518
|
-
def ports(self) -> Mapping[str,
|
|
517
|
+
def ports(self) -> Mapping[str, _builtins.int]:
|
|
519
518
|
return pulumi.get(self, "ports")
|
|
520
519
|
|
|
521
|
-
@property
|
|
520
|
+
@_builtins.property
|
|
522
521
|
@pulumi.getter(name="protocolVersion")
|
|
523
|
-
def protocol_version(self) ->
|
|
522
|
+
def protocol_version(self) -> _builtins.int:
|
|
524
523
|
return pulumi.get(self, "protocol_version")
|
|
525
524
|
|
|
526
|
-
@property
|
|
525
|
+
@_builtins.property
|
|
527
526
|
@pulumi.getter(name="reconnectTimeoutLan")
|
|
528
|
-
def reconnect_timeout_lan(self) ->
|
|
527
|
+
def reconnect_timeout_lan(self) -> _builtins.str:
|
|
529
528
|
return pulumi.get(self, "reconnect_timeout_lan")
|
|
530
529
|
|
|
531
|
-
@property
|
|
530
|
+
@_builtins.property
|
|
532
531
|
@pulumi.getter(name="reconnectTimeoutWan")
|
|
533
|
-
def reconnect_timeout_wan(self) ->
|
|
532
|
+
def reconnect_timeout_wan(self) -> _builtins.str:
|
|
534
533
|
return pulumi.get(self, "reconnect_timeout_wan")
|
|
535
534
|
|
|
536
|
-
@property
|
|
535
|
+
@_builtins.property
|
|
537
536
|
@pulumi.getter(name="rejoinAfterLeave")
|
|
538
|
-
def rejoin_after_leave(self) ->
|
|
537
|
+
def rejoin_after_leave(self) -> _builtins.bool:
|
|
539
538
|
return pulumi.get(self, "rejoin_after_leave")
|
|
540
539
|
|
|
541
|
-
@property
|
|
540
|
+
@_builtins.property
|
|
542
541
|
@pulumi.getter(name="retryJoinEc2")
|
|
543
|
-
def retry_join_ec2(self) -> Mapping[str,
|
|
542
|
+
def retry_join_ec2(self) -> Mapping[str, _builtins.str]:
|
|
544
543
|
return pulumi.get(self, "retry_join_ec2")
|
|
545
544
|
|
|
546
|
-
@property
|
|
545
|
+
@_builtins.property
|
|
547
546
|
@pulumi.getter(name="retryJoinGce")
|
|
548
|
-
def retry_join_gce(self) -> Mapping[str,
|
|
547
|
+
def retry_join_gce(self) -> Mapping[str, _builtins.str]:
|
|
549
548
|
return pulumi.get(self, "retry_join_gce")
|
|
550
549
|
|
|
551
|
-
@property
|
|
550
|
+
@_builtins.property
|
|
552
551
|
@pulumi.getter(name="retryJoinWans")
|
|
553
|
-
def retry_join_wans(self) -> Sequence[
|
|
552
|
+
def retry_join_wans(self) -> Sequence[_builtins.str]:
|
|
554
553
|
return pulumi.get(self, "retry_join_wans")
|
|
555
554
|
|
|
556
|
-
@property
|
|
555
|
+
@_builtins.property
|
|
557
556
|
@pulumi.getter(name="retryJoins")
|
|
558
|
-
def retry_joins(self) -> Sequence[
|
|
557
|
+
def retry_joins(self) -> Sequence[_builtins.str]:
|
|
559
558
|
return pulumi.get(self, "retry_joins")
|
|
560
559
|
|
|
561
|
-
@property
|
|
560
|
+
@_builtins.property
|
|
562
561
|
@pulumi.getter(name="retryMaxAttempts")
|
|
563
|
-
def retry_max_attempts(self) ->
|
|
562
|
+
def retry_max_attempts(self) -> _builtins.int:
|
|
564
563
|
return pulumi.get(self, "retry_max_attempts")
|
|
565
564
|
|
|
566
|
-
@property
|
|
565
|
+
@_builtins.property
|
|
567
566
|
@pulumi.getter(name="retryMaxAttemptsWan")
|
|
568
|
-
def retry_max_attempts_wan(self) ->
|
|
567
|
+
def retry_max_attempts_wan(self) -> _builtins.int:
|
|
569
568
|
return pulumi.get(self, "retry_max_attempts_wan")
|
|
570
569
|
|
|
571
|
-
@property
|
|
570
|
+
@_builtins.property
|
|
572
571
|
@pulumi.getter(name="serfLanBindAddr")
|
|
573
|
-
def serf_lan_bind_addr(self) ->
|
|
572
|
+
def serf_lan_bind_addr(self) -> _builtins.str:
|
|
574
573
|
return pulumi.get(self, "serf_lan_bind_addr")
|
|
575
574
|
|
|
576
|
-
@property
|
|
575
|
+
@_builtins.property
|
|
577
576
|
@pulumi.getter(name="serfWanBindAddr")
|
|
578
|
-
def serf_wan_bind_addr(self) ->
|
|
577
|
+
def serf_wan_bind_addr(self) -> _builtins.str:
|
|
579
578
|
return pulumi.get(self, "serf_wan_bind_addr")
|
|
580
579
|
|
|
581
|
-
@property
|
|
580
|
+
@_builtins.property
|
|
582
581
|
@pulumi.getter(name="serverMode")
|
|
583
|
-
def server_mode(self) ->
|
|
582
|
+
def server_mode(self) -> _builtins.bool:
|
|
584
583
|
return pulumi.get(self, "server_mode")
|
|
585
584
|
|
|
586
|
-
@property
|
|
585
|
+
@_builtins.property
|
|
587
586
|
@pulumi.getter(name="serverName")
|
|
588
|
-
def server_name(self) ->
|
|
587
|
+
def server_name(self) -> _builtins.str:
|
|
589
588
|
return pulumi.get(self, "server_name")
|
|
590
589
|
|
|
591
|
-
@property
|
|
590
|
+
@_builtins.property
|
|
592
591
|
@pulumi.getter(name="sessionTtlMin")
|
|
593
|
-
def session_ttl_min(self) ->
|
|
592
|
+
def session_ttl_min(self) -> _builtins.str:
|
|
594
593
|
return pulumi.get(self, "session_ttl_min")
|
|
595
594
|
|
|
596
|
-
@property
|
|
595
|
+
@_builtins.property
|
|
597
596
|
@pulumi.getter(name="startJoinWans")
|
|
598
|
-
def start_join_wans(self) -> Sequence[
|
|
597
|
+
def start_join_wans(self) -> Sequence[_builtins.str]:
|
|
599
598
|
return pulumi.get(self, "start_join_wans")
|
|
600
599
|
|
|
601
|
-
@property
|
|
600
|
+
@_builtins.property
|
|
602
601
|
@pulumi.getter(name="startJoins")
|
|
603
|
-
def start_joins(self) -> Sequence[
|
|
602
|
+
def start_joins(self) -> Sequence[_builtins.str]:
|
|
604
603
|
return pulumi.get(self, "start_joins")
|
|
605
604
|
|
|
606
|
-
@property
|
|
605
|
+
@_builtins.property
|
|
607
606
|
@pulumi.getter(name="syslogFacility")
|
|
608
|
-
def syslog_facility(self) ->
|
|
607
|
+
def syslog_facility(self) -> _builtins.str:
|
|
609
608
|
return pulumi.get(self, "syslog_facility")
|
|
610
609
|
|
|
611
|
-
@property
|
|
610
|
+
@_builtins.property
|
|
612
611
|
@pulumi.getter(name="taggedAddresses")
|
|
613
|
-
def tagged_addresses(self) -> Mapping[str,
|
|
612
|
+
def tagged_addresses(self) -> Mapping[str, _builtins.str]:
|
|
614
613
|
return pulumi.get(self, "tagged_addresses")
|
|
615
614
|
|
|
616
|
-
@property
|
|
615
|
+
@_builtins.property
|
|
617
616
|
@pulumi.getter
|
|
618
|
-
def telemetry(self) -> Mapping[str,
|
|
617
|
+
def telemetry(self) -> Mapping[str, _builtins.str]:
|
|
619
618
|
return pulumi.get(self, "telemetry")
|
|
620
619
|
|
|
621
|
-
@property
|
|
620
|
+
@_builtins.property
|
|
622
621
|
@pulumi.getter(name="tlsCaFile")
|
|
623
|
-
def tls_ca_file(self) ->
|
|
622
|
+
def tls_ca_file(self) -> _builtins.str:
|
|
624
623
|
return pulumi.get(self, "tls_ca_file")
|
|
625
624
|
|
|
626
|
-
@property
|
|
625
|
+
@_builtins.property
|
|
627
626
|
@pulumi.getter(name="tlsCertFile")
|
|
628
|
-
def tls_cert_file(self) ->
|
|
627
|
+
def tls_cert_file(self) -> _builtins.str:
|
|
629
628
|
return pulumi.get(self, "tls_cert_file")
|
|
630
629
|
|
|
631
|
-
@property
|
|
630
|
+
@_builtins.property
|
|
632
631
|
@pulumi.getter(name="tlsKeyFile")
|
|
633
|
-
def tls_key_file(self) ->
|
|
632
|
+
def tls_key_file(self) -> _builtins.str:
|
|
634
633
|
return pulumi.get(self, "tls_key_file")
|
|
635
634
|
|
|
636
|
-
@property
|
|
635
|
+
@_builtins.property
|
|
637
636
|
@pulumi.getter(name="tlsMinVersion")
|
|
638
|
-
def tls_min_version(self) ->
|
|
637
|
+
def tls_min_version(self) -> _builtins.str:
|
|
639
638
|
return pulumi.get(self, "tls_min_version")
|
|
640
639
|
|
|
641
|
-
@property
|
|
640
|
+
@_builtins.property
|
|
642
641
|
@pulumi.getter(name="tlsVerifyIncoming")
|
|
643
|
-
def tls_verify_incoming(self) ->
|
|
642
|
+
def tls_verify_incoming(self) -> _builtins.bool:
|
|
644
643
|
return pulumi.get(self, "tls_verify_incoming")
|
|
645
644
|
|
|
646
|
-
@property
|
|
645
|
+
@_builtins.property
|
|
647
646
|
@pulumi.getter(name="tlsVerifyOutgoing")
|
|
648
|
-
def tls_verify_outgoing(self) ->
|
|
647
|
+
def tls_verify_outgoing(self) -> _builtins.bool:
|
|
649
648
|
return pulumi.get(self, "tls_verify_outgoing")
|
|
650
649
|
|
|
651
|
-
@property
|
|
650
|
+
@_builtins.property
|
|
652
651
|
@pulumi.getter(name="tlsVerifyServerHostname")
|
|
653
|
-
def tls_verify_server_hostname(self) ->
|
|
652
|
+
def tls_verify_server_hostname(self) -> _builtins.bool:
|
|
654
653
|
return pulumi.get(self, "tls_verify_server_hostname")
|
|
655
654
|
|
|
656
|
-
@property
|
|
655
|
+
@_builtins.property
|
|
657
656
|
@pulumi.getter(name="translateWanAddrs")
|
|
658
|
-
def translate_wan_addrs(self) ->
|
|
657
|
+
def translate_wan_addrs(self) -> _builtins.bool:
|
|
659
658
|
return pulumi.get(self, "translate_wan_addrs")
|
|
660
659
|
|
|
661
|
-
@property
|
|
660
|
+
@_builtins.property
|
|
662
661
|
@pulumi.getter(name="uiDir")
|
|
663
|
-
def ui_dir(self) ->
|
|
662
|
+
def ui_dir(self) -> _builtins.str:
|
|
664
663
|
return pulumi.get(self, "ui_dir")
|
|
665
664
|
|
|
666
|
-
@property
|
|
665
|
+
@_builtins.property
|
|
667
666
|
@pulumi.getter(name="unixSockets")
|
|
668
|
-
def unix_sockets(self) -> Mapping[str,
|
|
667
|
+
def unix_sockets(self) -> Mapping[str, _builtins.str]:
|
|
669
668
|
return pulumi.get(self, "unix_sockets")
|
|
670
669
|
|
|
671
|
-
@property
|
|
670
|
+
@_builtins.property
|
|
672
671
|
@pulumi.getter
|
|
673
|
-
def version(self) ->
|
|
672
|
+
def version(self) -> _builtins.str:
|
|
674
673
|
"""
|
|
675
674
|
The version of the Consul agent.
|
|
676
675
|
"""
|
|
677
676
|
return pulumi.get(self, "version")
|
|
678
677
|
|
|
679
|
-
@property
|
|
678
|
+
@_builtins.property
|
|
680
679
|
@pulumi.getter(name="versionPrerelease")
|
|
681
|
-
def version_prerelease(self) ->
|
|
680
|
+
def version_prerelease(self) -> _builtins.str:
|
|
682
681
|
return pulumi.get(self, "version_prerelease")
|
|
683
682
|
|
|
684
|
-
@property
|
|
683
|
+
@_builtins.property
|
|
685
684
|
@pulumi.getter(name="versionRevision")
|
|
686
|
-
def version_revision(self) ->
|
|
685
|
+
def version_revision(self) -> _builtins.str:
|
|
687
686
|
return pulumi.get(self, "version_revision")
|
|
688
687
|
|
|
689
688
|
|
|
@@ -775,6 +774,8 @@ def get_agent_self(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetA
|
|
|
775
774
|
The `get_agent_self` data source returns
|
|
776
775
|
[configuration and status data](https://www.consul.io/docs/agent/http/agent.html#agent_self)
|
|
777
776
|
from the agent specified in the `provider`.
|
|
777
|
+
|
|
778
|
+
## Example Usage
|
|
778
779
|
"""
|
|
779
780
|
__args__ = dict()
|
|
780
781
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
@@ -861,6 +862,8 @@ def get_agent_self_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.Invo
|
|
|
861
862
|
The `get_agent_self` data source returns
|
|
862
863
|
[configuration and status data](https://www.consul.io/docs/agent/http/agent.html#agent_self)
|
|
863
864
|
from the agent specified in the `provider`.
|
|
865
|
+
|
|
866
|
+
## Example Usage
|
|
864
867
|
"""
|
|
865
868
|
__args__ = dict()
|
|
866
869
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -45,38 +44,38 @@ class GetAutopilotHealthResult:
|
|
|
45
44
|
raise TypeError("Expected argument 'servers' to be a list")
|
|
46
45
|
pulumi.set(__self__, "servers", servers)
|
|
47
46
|
|
|
48
|
-
@property
|
|
47
|
+
@_builtins.property
|
|
49
48
|
@pulumi.getter
|
|
50
|
-
def datacenter(self) -> Optional[
|
|
49
|
+
def datacenter(self) -> Optional[_builtins.str]:
|
|
51
50
|
return pulumi.get(self, "datacenter")
|
|
52
51
|
|
|
53
|
-
@property
|
|
52
|
+
@_builtins.property
|
|
54
53
|
@pulumi.getter(name="failureTolerance")
|
|
55
|
-
def failure_tolerance(self) ->
|
|
54
|
+
def failure_tolerance(self) -> _builtins.int:
|
|
56
55
|
"""
|
|
57
56
|
The number of redundant healthy servers that could fail
|
|
58
57
|
without causing an outage
|
|
59
58
|
"""
|
|
60
59
|
return pulumi.get(self, "failure_tolerance")
|
|
61
60
|
|
|
62
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
63
62
|
@pulumi.getter
|
|
64
|
-
def healthy(self) ->
|
|
63
|
+
def healthy(self) -> _builtins.bool:
|
|
65
64
|
"""
|
|
66
65
|
Whether the server is healthy according to the current Autopilot
|
|
67
66
|
configuration
|
|
68
67
|
"""
|
|
69
68
|
return pulumi.get(self, "healthy")
|
|
70
69
|
|
|
71
|
-
@property
|
|
70
|
+
@_builtins.property
|
|
72
71
|
@pulumi.getter
|
|
73
|
-
def id(self) ->
|
|
72
|
+
def id(self) -> _builtins.str:
|
|
74
73
|
"""
|
|
75
74
|
The provider-assigned unique ID for this managed resource.
|
|
76
75
|
"""
|
|
77
76
|
return pulumi.get(self, "id")
|
|
78
77
|
|
|
79
|
-
@property
|
|
78
|
+
@_builtins.property
|
|
80
79
|
@pulumi.getter
|
|
81
80
|
def servers(self) -> Sequence['outputs.GetAutopilotHealthServerResult']:
|
|
82
81
|
"""
|
|
@@ -99,7 +98,7 @@ class AwaitableGetAutopilotHealthResult(GetAutopilotHealthResult):
|
|
|
99
98
|
servers=self.servers)
|
|
100
99
|
|
|
101
100
|
|
|
102
|
-
def get_autopilot_health(datacenter: Optional[
|
|
101
|
+
def get_autopilot_health(datacenter: Optional[_builtins.str] = None,
|
|
103
102
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAutopilotHealthResult:
|
|
104
103
|
"""
|
|
105
104
|
The `get_autopilot_health` data source returns
|
|
@@ -117,7 +116,7 @@ def get_autopilot_health(datacenter: Optional[builtins.str] = None,
|
|
|
117
116
|
```
|
|
118
117
|
|
|
119
118
|
|
|
120
|
-
:param
|
|
119
|
+
:param _builtins.str datacenter: The datacenter to use. This overrides the agent's
|
|
121
120
|
default datacenter and the datacenter in the provider setup.
|
|
122
121
|
"""
|
|
123
122
|
__args__ = dict()
|
|
@@ -131,7 +130,7 @@ def get_autopilot_health(datacenter: Optional[builtins.str] = None,
|
|
|
131
130
|
healthy=pulumi.get(__ret__, 'healthy'),
|
|
132
131
|
id=pulumi.get(__ret__, 'id'),
|
|
133
132
|
servers=pulumi.get(__ret__, 'servers'))
|
|
134
|
-
def get_autopilot_health_output(datacenter: Optional[pulumi.Input[Optional[
|
|
133
|
+
def get_autopilot_health_output(datacenter: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
135
134
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAutopilotHealthResult]:
|
|
136
135
|
"""
|
|
137
136
|
The `get_autopilot_health` data source returns
|
|
@@ -149,7 +148,7 @@ def get_autopilot_health_output(datacenter: Optional[pulumi.Input[Optional[built
|
|
|
149
148
|
```
|
|
150
149
|
|
|
151
150
|
|
|
152
|
-
:param
|
|
151
|
+
:param _builtins.str datacenter: The datacenter to use. This overrides the agent's
|
|
153
152
|
default datacenter and the datacenter in the provider setup.
|
|
154
153
|
"""
|
|
155
154
|
__args__ = dict()
|