pulumi-alicloud 3.74.0a1737782319__py3-none-any.whl → 3.75.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-alicloud might be problematic. Click here for more details.
- pulumi_alicloud/__init__.py +310 -0
- pulumi_alicloud/_inputs.py +33 -0
- pulumi_alicloud/_utilities.py +8 -4
- pulumi_alicloud/ackone/__init__.py +1 -0
- pulumi_alicloud/ackone/cluster.py +73 -8
- pulumi_alicloud/ackone/membership_attachment.py +223 -0
- pulumi_alicloud/alb/__init__.py +1 -0
- pulumi_alicloud/alb/_inputs.py +1109 -246
- pulumi_alicloud/alb/get_server_groups.py +55 -25
- pulumi_alicloud/alb/listener.py +269 -174
- pulumi_alicloud/alb/load_balancer.py +211 -118
- pulumi_alicloud/alb/load_balancer_security_group_attachment.py +69 -22
- pulumi_alicloud/alb/load_balancer_zone_shifted_attachment.py +303 -0
- pulumi_alicloud/alb/outputs.py +856 -220
- pulumi_alicloud/alb/server_group.py +661 -96
- pulumi_alicloud/aligreen/audit_callback.py +2 -2
- pulumi_alicloud/aligreen/biz_type.py +2 -2
- pulumi_alicloud/aligreen/callback.py +2 -2
- pulumi_alicloud/aligreen/image_lib.py +2 -2
- pulumi_alicloud/aligreen/keyword_lib.py +2 -2
- pulumi_alicloud/aligreen/oss_stock_task.py +77 -14
- pulumi_alicloud/apigateway/instance.py +51 -4
- pulumi_alicloud/cen/_inputs.py +34 -0
- pulumi_alicloud/cen/outputs.py +37 -0
- pulumi_alicloud/cen/transit_router_multicast_domain.py +123 -36
- pulumi_alicloud/cfg/aggregate_compliance_pack.py +6 -4
- pulumi_alicloud/cfg/aggregate_config_rule.py +6 -4
- pulumi_alicloud/cfg/aggregator.py +6 -4
- pulumi_alicloud/cloudcontrol/get_prices.py +2 -2
- pulumi_alicloud/cloudcontrol/get_products.py +2 -2
- pulumi_alicloud/cloudcontrol/get_resource_types.py +2 -2
- pulumi_alicloud/cloudcontrol/resource.py +2 -2
- pulumi_alicloud/cloudfirewall/__init__.py +2 -0
- pulumi_alicloud/cloudfirewall/get_nat_firewalls.py +315 -0
- pulumi_alicloud/cloudfirewall/get_vpc_cen_tr_firewalls.py +569 -0
- pulumi_alicloud/cloudfirewall/outputs.py +362 -0
- pulumi_alicloud/cloudphone/__init__.py +12 -0
- pulumi_alicloud/cloudphone/_inputs.py +175 -0
- pulumi_alicloud/cloudphone/image.py +323 -0
- pulumi_alicloud/cloudphone/key_pair.py +294 -0
- pulumi_alicloud/cloudphone/outputs.py +138 -0
- pulumi_alicloud/cloudphone/policy.py +522 -0
- pulumi_alicloud/cloudphoneinstance/__init__.py +9 -0
- pulumi_alicloud/cloudphoneinstance/cloud_phone_instance.py +209 -0
- pulumi_alicloud/cloudphoneinstance/group.py +961 -0
- pulumi_alicloud/cms/get_site_monitors.py +2 -2
- pulumi_alicloud/config/outputs.py +20 -0
- pulumi_alicloud/cs/_inputs.py +358 -10
- pulumi_alicloud/cs/get_kubernetes_clusters.py +5 -4
- pulumi_alicloud/cs/get_managed_kubernetes_clusters.py +5 -4
- pulumi_alicloud/cs/get_serverless_kubernetes_clusters.py +5 -4
- pulumi_alicloud/cs/kubernetes.py +15 -15
- pulumi_alicloud/cs/managed_kubernetes.py +47 -35
- pulumi_alicloud/cs/node_pool.py +126 -23
- pulumi_alicloud/cs/outputs.py +271 -7
- pulumi_alicloud/ddos/ddos_bgp_instance.py +0 -4
- pulumi_alicloud/dfs/file_system.py +62 -23
- pulumi_alicloud/dfs/mount_point.py +48 -22
- pulumi_alicloud/dfs/vsc_mount_point.py +28 -28
- pulumi_alicloud/dns/ddos_bgp_instance.py +0 -4
- pulumi_alicloud/ebs/replica_group_drill.py +2 -2
- pulumi_alicloud/ebs/replica_pair_drill.py +2 -2
- pulumi_alicloud/ecs/ecs_deployment_set.py +89 -67
- pulumi_alicloud/ecs/eip.py +1 -1
- pulumi_alicloud/ecs/eip_address.py +1 -1
- pulumi_alicloud/ecs/instance.py +43 -30
- pulumi_alicloud/eds/command.py +10 -2
- pulumi_alicloud/emrv2/__init__.py +1 -0
- pulumi_alicloud/emrv2/_inputs.py +47 -7
- pulumi_alicloud/emrv2/get_cluster_instances.py +537 -0
- pulumi_alicloud/emrv2/outputs.py +195 -5
- pulumi_alicloud/ens/instance_security_group_attachment.py +8 -4
- pulumi_alicloud/ens/nat_gateway.py +6 -6
- pulumi_alicloud/ens/vswitch.py +36 -36
- pulumi_alicloud/esa/__init__.py +22 -0
- pulumi_alicloud/esa/_inputs.py +512 -0
- pulumi_alicloud/esa/cache_rule.py +1405 -0
- pulumi_alicloud/esa/certificate.py +724 -0
- pulumi_alicloud/esa/client_ca_certificate.py +388 -0
- pulumi_alicloud/esa/client_certificate.py +452 -0
- pulumi_alicloud/esa/compression_rule.py +582 -0
- pulumi_alicloud/esa/get_sites.py +421 -0
- pulumi_alicloud/esa/http_request_header_modification_rule.py +531 -0
- pulumi_alicloud/esa/http_response_header_modification_rule.py +560 -0
- pulumi_alicloud/esa/https_application_configuration.py +925 -0
- pulumi_alicloud/esa/https_basic_configuration.py +1027 -0
- pulumi_alicloud/esa/image_transform.py +484 -0
- pulumi_alicloud/esa/kv_namespace.py +276 -0
- pulumi_alicloud/esa/list.py +361 -0
- pulumi_alicloud/esa/network_optimization.py +750 -0
- pulumi_alicloud/esa/origin_pool.py +485 -0
- pulumi_alicloud/esa/origin_rule.py +768 -0
- pulumi_alicloud/esa/outputs.py +473 -0
- pulumi_alicloud/esa/page.py +376 -0
- pulumi_alicloud/esa/rate_plan_instance.py +63 -7
- pulumi_alicloud/esa/record.py +2 -2
- pulumi_alicloud/esa/redirect_rule.py +734 -0
- pulumi_alicloud/esa/rewrite_url_rule.py +702 -0
- pulumi_alicloud/esa/site.py +307 -2
- pulumi_alicloud/esa/waiting_room.py +1257 -0
- pulumi_alicloud/esa/waiting_room_event.py +1392 -0
- pulumi_alicloud/esa/waiting_room_rule.py +504 -0
- pulumi_alicloud/ess/get_scaling_groups.py +64 -10
- pulumi_alicloud/ess/get_scaling_rules.py +74 -10
- pulumi_alicloud/ess/outputs.py +357 -17
- pulumi_alicloud/ess/scaling_configuration.py +7 -7
- pulumi_alicloud/eventbridge/get_service.py +2 -6
- pulumi_alicloud/expressconnect/ec_failover_test_job.py +0 -2
- pulumi_alicloud/expressconnect/vbr_pconn_association.py +2 -2
- pulumi_alicloud/fc/_inputs.py +75 -75
- pulumi_alicloud/fc/outputs.py +50 -50
- pulumi_alicloud/fc/v3_function.py +53 -6
- pulumi_alicloud/ga/get_basic_accelerators.py +31 -9
- pulumi_alicloud/ga/outputs.py +10 -4
- pulumi_alicloud/gpdb/db_resource_group.py +6 -6
- pulumi_alicloud/gpdb/external_data_service.py +6 -6
- pulumi_alicloud/gpdb/streaming_data_service.py +2 -2
- pulumi_alicloud/hbr/policy.py +67 -6
- pulumi_alicloud/hbr/vault.py +210 -9
- pulumi_alicloud/kms/__init__.py +1 -0
- pulumi_alicloud/kms/get_instances.py +160 -0
- pulumi_alicloud/kms/get_keys.py +10 -0
- pulumi_alicloud/kms/instance.py +0 -60
- pulumi_alicloud/kms/outputs.py +19 -0
- pulumi_alicloud/maxcompute/__init__.py +5 -0
- pulumi_alicloud/maxcompute/_inputs.py +615 -42
- pulumi_alicloud/maxcompute/outputs.py +486 -28
- pulumi_alicloud/maxcompute/project.py +63 -31
- pulumi_alicloud/maxcompute/quota_plan.py +412 -0
- pulumi_alicloud/maxcompute/quota_schedule.py +260 -0
- pulumi_alicloud/maxcompute/role.py +423 -0
- pulumi_alicloud/maxcompute/role_user_attachment.py +368 -0
- pulumi_alicloud/maxcompute/tunnel_quota_timer.py +287 -0
- pulumi_alicloud/message/__init__.py +3 -0
- pulumi_alicloud/message/_inputs.py +149 -0
- pulumi_alicloud/message/outputs.py +112 -0
- pulumi_alicloud/message/service_endpoint.py +218 -0
- pulumi_alicloud/message/service_endpoint_acl.py +306 -0
- pulumi_alicloud/message/service_queue.py +49 -0
- pulumi_alicloud/message/service_subscription.py +91 -14
- pulumi_alicloud/mse/nacos_config.py +4 -0
- pulumi_alicloud/nlb/_inputs.py +114 -24
- pulumi_alicloud/nlb/listener.py +87 -20
- pulumi_alicloud/nlb/outputs.py +93 -16
- pulumi_alicloud/nlb/server_group.py +55 -20
- pulumi_alicloud/ots/_inputs.py +3 -3
- pulumi_alicloud/ots/outputs.py +2 -2
- pulumi_alicloud/pai/workspace_code_source.py +2 -2
- pulumi_alicloud/pai/workspace_dataset.py +2 -2
- pulumi_alicloud/pai/workspace_datasetversion.py +2 -4
- pulumi_alicloud/pai/workspace_experiment.py +2 -2
- pulumi_alicloud/pai/workspace_run.py +2 -2
- pulumi_alicloud/pai/workspace_workspace.py +2 -2
- pulumi_alicloud/privatelink/get_vpc_endpoints.py +21 -1
- pulumi_alicloud/privatelink/outputs.py +11 -0
- pulumi_alicloud/privatelink/vpc_endpoint.py +1 -1
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/access_key.py +20 -4
- pulumi_alicloud/ram/user.py +10 -2
- pulumi_alicloud/rds/instance.py +75 -0
- pulumi_alicloud/simpleapplicationserver/get_server_plans.py +7 -7
- pulumi_alicloud/simpleapplicationserver/outputs.py +3 -3
- pulumi_alicloud/tag/__init__.py +1 -0
- pulumi_alicloud/tag/associated_rule.py +306 -0
- pulumi_alicloud/tag/policy.py +27 -36
- pulumi_alicloud/vpc/__init__.py +2 -0
- pulumi_alicloud/vpc/common_bandwith_package.py +107 -44
- pulumi_alicloud/vpc/common_bandwith_package_attachment.py +2 -2
- pulumi_alicloud/vpc/flow_log.py +184 -49
- pulumi_alicloud/vpc/forward_entry.py +8 -4
- pulumi_alicloud/vpc/get_enhanced_nat_available_zones.py +38 -2
- pulumi_alicloud/vpc/get_forward_entries.py +2 -2
- pulumi_alicloud/vpc/get_ipsec_servers.py +14 -2
- pulumi_alicloud/vpc/get_nat_gateways.py +48 -2
- pulumi_alicloud/vpc/get_prefix_lists.py +11 -2
- pulumi_alicloud/vpc/get_snat_entries.py +5 -2
- pulumi_alicloud/vpc/get_traffic_mirror_filters.py +14 -2
- pulumi_alicloud/vpc/ipam_ipam.py +2 -9
- pulumi_alicloud/vpc/ipam_ipam_pool.py +49 -30
- pulumi_alicloud/vpc/ipam_ipam_pool_allocation.py +6 -16
- pulumi_alicloud/vpc/ipam_ipam_pool_cidr.py +2 -2
- pulumi_alicloud/vpc/ipam_ipam_resource_discovery.py +489 -0
- pulumi_alicloud/vpc/ipam_ipam_scope.py +49 -9
- pulumi_alicloud/vpc/ipam_service.py +144 -0
- pulumi_alicloud/vpc/ipv4_cidr_block.py +162 -51
- pulumi_alicloud/vpc/nat_gateway.py +8 -0
- pulumi_alicloud/vpc/outputs.py +12 -2
- pulumi_alicloud/vpc/router_interface_connection.py +4 -4
- pulumi_alicloud/vpc/traffic_mirror_filter.py +2 -2
- pulumi_alicloud/vpn/get_gateway_vco_routes.py +11 -2
- pulumi_alicloud/vpn/get_gateway_vpn_attachments.py +11 -2
- pulumi_alicloud/vpn/get_gateways.py +21 -1
- pulumi_alicloud/vpn/outputs.py +23 -12
- {pulumi_alicloud-3.74.0a1737782319.dist-info → pulumi_alicloud-3.75.0.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.74.0a1737782319.dist-info → pulumi_alicloud-3.75.0.dist-info}/RECORD +197 -149
- {pulumi_alicloud-3.74.0a1737782319.dist-info → pulumi_alicloud-3.75.0.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.74.0a1737782319.dist-info → pulumi_alicloud-3.75.0.dist-info}/top_level.txt +0 -0
pulumi_alicloud/alb/outputs.py
CHANGED
|
@@ -21,6 +21,7 @@ __all__ = [
|
|
|
21
21
|
'ListenerAccessLogTracingConfig',
|
|
22
22
|
'ListenerAclConfig',
|
|
23
23
|
'ListenerAclConfigAclRelation',
|
|
24
|
+
'ListenerCaCertificate',
|
|
24
25
|
'ListenerCertificates',
|
|
25
26
|
'ListenerDefaultAction',
|
|
26
27
|
'ListenerDefaultActionForwardGroupConfig',
|
|
@@ -28,6 +29,7 @@ __all__ = [
|
|
|
28
29
|
'ListenerQuicConfig',
|
|
29
30
|
'ListenerXForwardedForConfig',
|
|
30
31
|
'LoadBalancerAccessLogConfig',
|
|
32
|
+
'LoadBalancerDeletionProtectionConfig',
|
|
31
33
|
'LoadBalancerLoadBalancerBillingConfig',
|
|
32
34
|
'LoadBalancerModificationProtectionConfig',
|
|
33
35
|
'LoadBalancerZoneMapping',
|
|
@@ -58,9 +60,12 @@ __all__ = [
|
|
|
58
60
|
'RuleRuleConditionResponseHeaderConfig',
|
|
59
61
|
'RuleRuleConditionResponseStatusCodeConfig',
|
|
60
62
|
'RuleRuleConditionSourceIpConfig',
|
|
63
|
+
'ServerGroupConnectionDrainConfig',
|
|
61
64
|
'ServerGroupHealthCheckConfig',
|
|
62
65
|
'ServerGroupServer',
|
|
66
|
+
'ServerGroupSlowStartConfig',
|
|
63
67
|
'ServerGroupStickySessionConfig',
|
|
68
|
+
'ServerGroupUchConfig',
|
|
64
69
|
'GetAclsAclResult',
|
|
65
70
|
'GetAclsAclAclEntryResult',
|
|
66
71
|
'GetAscriptsAscriptResult',
|
|
@@ -238,22 +243,23 @@ class ListenerAccessLogTracingConfig(dict):
|
|
|
238
243
|
return super().get(key, default)
|
|
239
244
|
|
|
240
245
|
def __init__(__self__, *,
|
|
241
|
-
tracing_enabled:
|
|
246
|
+
tracing_enabled: bool,
|
|
242
247
|
tracing_sample: Optional[int] = None,
|
|
243
248
|
tracing_type: Optional[str] = None):
|
|
244
249
|
"""
|
|
245
|
-
:param bool tracing_enabled: Xtrace Function.
|
|
250
|
+
:param bool tracing_enabled: Xtrace Function.
|
|
251
|
+
|
|
252
|
+
Value: True **** Or False * *.
|
|
246
253
|
|
|
247
|
-
|
|
248
|
-
:param int tracing_sample: Xtrace Sampling Rate. Value: `1` to `10000`.
|
|
254
|
+
Default Value: False * *.
|
|
249
255
|
|
|
250
|
-
> **NOTE:**
|
|
251
|
-
:param
|
|
256
|
+
> **NOTE:** Only Instances outside the Security Group to Access the Log Switch `accesslogenabled` Open, in Order to Set This Parameter to the **True * *.
|
|
257
|
+
:param int tracing_sample: Xtrace Sampling Rate. Value: 1~10000 **.> `tracingenabled` **True When Effective.
|
|
258
|
+
:param str tracing_type: Xtrace Type Value Is **Zipkin * *.
|
|
252
259
|
|
|
253
|
-
> **NOTE:**
|
|
260
|
+
> **NOTE:** `tracingenabled` **True When Effective.
|
|
254
261
|
"""
|
|
255
|
-
|
|
256
|
-
pulumi.set(__self__, "tracing_enabled", tracing_enabled)
|
|
262
|
+
pulumi.set(__self__, "tracing_enabled", tracing_enabled)
|
|
257
263
|
if tracing_sample is not None:
|
|
258
264
|
pulumi.set(__self__, "tracing_sample", tracing_sample)
|
|
259
265
|
if tracing_type is not None:
|
|
@@ -261,11 +267,15 @@ class ListenerAccessLogTracingConfig(dict):
|
|
|
261
267
|
|
|
262
268
|
@property
|
|
263
269
|
@pulumi.getter(name="tracingEnabled")
|
|
264
|
-
def tracing_enabled(self) ->
|
|
270
|
+
def tracing_enabled(self) -> bool:
|
|
265
271
|
"""
|
|
266
|
-
Xtrace Function.
|
|
272
|
+
Xtrace Function.
|
|
267
273
|
|
|
268
|
-
|
|
274
|
+
Value: True **** Or False * *.
|
|
275
|
+
|
|
276
|
+
Default Value: False * *.
|
|
277
|
+
|
|
278
|
+
> **NOTE:** Only Instances outside the Security Group to Access the Log Switch `accesslogenabled` Open, in Order to Set This Parameter to the **True * *.
|
|
269
279
|
"""
|
|
270
280
|
return pulumi.get(self, "tracing_enabled")
|
|
271
281
|
|
|
@@ -273,9 +283,7 @@ class ListenerAccessLogTracingConfig(dict):
|
|
|
273
283
|
@pulumi.getter(name="tracingSample")
|
|
274
284
|
def tracing_sample(self) -> Optional[int]:
|
|
275
285
|
"""
|
|
276
|
-
Xtrace Sampling Rate. Value:
|
|
277
|
-
|
|
278
|
-
> **NOTE:** This attribute is valid when `tracingenabled` is `true`.
|
|
286
|
+
Xtrace Sampling Rate. Value: 1~10000 **.> `tracingenabled` **True When Effective.
|
|
279
287
|
"""
|
|
280
288
|
return pulumi.get(self, "tracing_sample")
|
|
281
289
|
|
|
@@ -283,9 +291,9 @@ class ListenerAccessLogTracingConfig(dict):
|
|
|
283
291
|
@pulumi.getter(name="tracingType")
|
|
284
292
|
def tracing_type(self) -> Optional[str]:
|
|
285
293
|
"""
|
|
286
|
-
Xtrace Type Value Is
|
|
294
|
+
Xtrace Type Value Is **Zipkin * *.
|
|
287
295
|
|
|
288
|
-
> **NOTE:**
|
|
296
|
+
> **NOTE:** `tracingenabled` **True When Effective.
|
|
289
297
|
"""
|
|
290
298
|
return pulumi.get(self, "tracing_type")
|
|
291
299
|
|
|
@@ -364,7 +372,7 @@ class ListenerAclConfigAclRelation(dict):
|
|
|
364
372
|
status: Optional[str] = None):
|
|
365
373
|
"""
|
|
366
374
|
:param str acl_id: Snooping Binding of the Access Policy Group ID List.
|
|
367
|
-
:param str status: The
|
|
375
|
+
:param str status: The Current IP Address of the Listened State
|
|
368
376
|
"""
|
|
369
377
|
if acl_id is not None:
|
|
370
378
|
pulumi.set(__self__, "acl_id", acl_id)
|
|
@@ -383,11 +391,47 @@ class ListenerAclConfigAclRelation(dict):
|
|
|
383
391
|
@pulumi.getter
|
|
384
392
|
def status(self) -> Optional[str]:
|
|
385
393
|
"""
|
|
386
|
-
The
|
|
394
|
+
The Current IP Address of the Listened State
|
|
387
395
|
"""
|
|
388
396
|
return pulumi.get(self, "status")
|
|
389
397
|
|
|
390
398
|
|
|
399
|
+
@pulumi.output_type
|
|
400
|
+
class ListenerCaCertificate(dict):
|
|
401
|
+
@staticmethod
|
|
402
|
+
def __key_warning(key: str):
|
|
403
|
+
suggest = None
|
|
404
|
+
if key == "certificateId":
|
|
405
|
+
suggest = "certificate_id"
|
|
406
|
+
|
|
407
|
+
if suggest:
|
|
408
|
+
pulumi.log.warn(f"Key '{key}' not found in ListenerCaCertificate. Access the value via the '{suggest}' property getter instead.")
|
|
409
|
+
|
|
410
|
+
def __getitem__(self, key: str) -> Any:
|
|
411
|
+
ListenerCaCertificate.__key_warning(key)
|
|
412
|
+
return super().__getitem__(key)
|
|
413
|
+
|
|
414
|
+
def get(self, key: str, default = None) -> Any:
|
|
415
|
+
ListenerCaCertificate.__key_warning(key)
|
|
416
|
+
return super().get(key, default)
|
|
417
|
+
|
|
418
|
+
def __init__(__self__, *,
|
|
419
|
+
certificate_id: Optional[str] = None):
|
|
420
|
+
"""
|
|
421
|
+
:param str certificate_id: The ID of the certificate. Currently, only server certificates are supported.
|
|
422
|
+
"""
|
|
423
|
+
if certificate_id is not None:
|
|
424
|
+
pulumi.set(__self__, "certificate_id", certificate_id)
|
|
425
|
+
|
|
426
|
+
@property
|
|
427
|
+
@pulumi.getter(name="certificateId")
|
|
428
|
+
def certificate_id(self) -> Optional[str]:
|
|
429
|
+
"""
|
|
430
|
+
The ID of the certificate. Currently, only server certificates are supported.
|
|
431
|
+
"""
|
|
432
|
+
return pulumi.get(self, "certificate_id")
|
|
433
|
+
|
|
434
|
+
|
|
391
435
|
@pulumi.output_type
|
|
392
436
|
class ListenerCertificates(dict):
|
|
393
437
|
@staticmethod
|
|
@@ -410,7 +454,7 @@ class ListenerCertificates(dict):
|
|
|
410
454
|
def __init__(__self__, *,
|
|
411
455
|
certificate_id: Optional[str] = None):
|
|
412
456
|
"""
|
|
413
|
-
:param str certificate_id: The ID of the
|
|
457
|
+
:param str certificate_id: The ID of the certificate. Currently, only server certificates are supported.
|
|
414
458
|
"""
|
|
415
459
|
if certificate_id is not None:
|
|
416
460
|
pulumi.set(__self__, "certificate_id", certificate_id)
|
|
@@ -419,7 +463,7 @@ class ListenerCertificates(dict):
|
|
|
419
463
|
@pulumi.getter(name="certificateId")
|
|
420
464
|
def certificate_id(self) -> Optional[str]:
|
|
421
465
|
"""
|
|
422
|
-
The ID of the
|
|
466
|
+
The ID of the certificate. Currently, only server certificates are supported.
|
|
423
467
|
"""
|
|
424
468
|
return pulumi.get(self, "certificate_id")
|
|
425
469
|
|
|
@@ -444,30 +488,31 @@ class ListenerDefaultAction(dict):
|
|
|
444
488
|
return super().get(key, default)
|
|
445
489
|
|
|
446
490
|
def __init__(__self__, *,
|
|
447
|
-
|
|
448
|
-
|
|
491
|
+
type: str,
|
|
492
|
+
forward_group_config: Optional['outputs.ListenerDefaultActionForwardGroupConfig'] = None):
|
|
449
493
|
"""
|
|
450
|
-
:param
|
|
451
|
-
:param
|
|
494
|
+
:param str type: Action Type
|
|
495
|
+
:param 'ListenerDefaultActionForwardGroupConfigArgs' forward_group_config: Forwarding Action Configurations See `forward_group_config` below.
|
|
452
496
|
"""
|
|
453
|
-
pulumi.set(__self__, "forward_group_config", forward_group_config)
|
|
454
497
|
pulumi.set(__self__, "type", type)
|
|
498
|
+
if forward_group_config is not None:
|
|
499
|
+
pulumi.set(__self__, "forward_group_config", forward_group_config)
|
|
455
500
|
|
|
456
501
|
@property
|
|
457
|
-
@pulumi.getter
|
|
458
|
-
def
|
|
502
|
+
@pulumi.getter
|
|
503
|
+
def type(self) -> str:
|
|
459
504
|
"""
|
|
460
|
-
|
|
505
|
+
Action Type
|
|
461
506
|
"""
|
|
462
|
-
return pulumi.get(self, "
|
|
507
|
+
return pulumi.get(self, "type")
|
|
463
508
|
|
|
464
509
|
@property
|
|
465
|
-
@pulumi.getter
|
|
466
|
-
def
|
|
510
|
+
@pulumi.getter(name="forwardGroupConfig")
|
|
511
|
+
def forward_group_config(self) -> Optional['outputs.ListenerDefaultActionForwardGroupConfig']:
|
|
467
512
|
"""
|
|
468
|
-
Action
|
|
513
|
+
Forwarding Action Configurations See `forward_group_config` below.
|
|
469
514
|
"""
|
|
470
|
-
return pulumi.get(self, "
|
|
515
|
+
return pulumi.get(self, "forward_group_config")
|
|
471
516
|
|
|
472
517
|
|
|
473
518
|
@pulumi.output_type
|
|
@@ -492,7 +537,7 @@ class ListenerDefaultActionForwardGroupConfig(dict):
|
|
|
492
537
|
def __init__(__self__, *,
|
|
493
538
|
server_group_tuples: Sequence['outputs.ListenerDefaultActionForwardGroupConfigServerGroupTuple']):
|
|
494
539
|
"""
|
|
495
|
-
:param Sequence['ListenerDefaultActionForwardGroupConfigServerGroupTupleArgs'] server_group_tuples: The
|
|
540
|
+
:param Sequence['ListenerDefaultActionForwardGroupConfigServerGroupTupleArgs'] server_group_tuples: The Forwarding Destination Server Group See `server_group_tuples` below.
|
|
496
541
|
"""
|
|
497
542
|
pulumi.set(__self__, "server_group_tuples", server_group_tuples)
|
|
498
543
|
|
|
@@ -500,7 +545,7 @@ class ListenerDefaultActionForwardGroupConfig(dict):
|
|
|
500
545
|
@pulumi.getter(name="serverGroupTuples")
|
|
501
546
|
def server_group_tuples(self) -> Sequence['outputs.ListenerDefaultActionForwardGroupConfigServerGroupTuple']:
|
|
502
547
|
"""
|
|
503
|
-
The
|
|
548
|
+
The Forwarding Destination Server Group See `server_group_tuples` below.
|
|
504
549
|
"""
|
|
505
550
|
return pulumi.get(self, "server_group_tuples")
|
|
506
551
|
|
|
@@ -527,7 +572,7 @@ class ListenerDefaultActionForwardGroupConfigServerGroupTuple(dict):
|
|
|
527
572
|
def __init__(__self__, *,
|
|
528
573
|
server_group_id: str):
|
|
529
574
|
"""
|
|
530
|
-
:param str server_group_id:
|
|
575
|
+
:param str server_group_id: Forwarded to the Destination Server Group ID
|
|
531
576
|
"""
|
|
532
577
|
pulumi.set(__self__, "server_group_id", server_group_id)
|
|
533
578
|
|
|
@@ -535,7 +580,7 @@ class ListenerDefaultActionForwardGroupConfigServerGroupTuple(dict):
|
|
|
535
580
|
@pulumi.getter(name="serverGroupId")
|
|
536
581
|
def server_group_id(self) -> str:
|
|
537
582
|
"""
|
|
538
|
-
|
|
583
|
+
Forwarded to the Destination Server Group ID
|
|
539
584
|
"""
|
|
540
585
|
return pulumi.get(self, "server_group_id")
|
|
541
586
|
|
|
@@ -566,9 +611,7 @@ class ListenerQuicConfig(dict):
|
|
|
566
611
|
quic_upgrade_enabled: Optional[bool] = None):
|
|
567
612
|
"""
|
|
568
613
|
:param str quic_listener_id: There Is a Need to Correlate the QuIC Listener ID. The Https Listener, in Effect at the Time. quicupgradeenabled True When Required.
|
|
569
|
-
:param bool quic_upgrade_enabled: Indicates Whether to Enable the QuIC Upgrade
|
|
570
|
-
|
|
571
|
-
> **NOTE:** The attribute is valid when the attribute `ListenerProtocol` is `HTTPS`.
|
|
614
|
+
:param bool quic_upgrade_enabled: Indicates Whether to Enable the QuIC Upgrade
|
|
572
615
|
"""
|
|
573
616
|
if quic_listener_id is not None:
|
|
574
617
|
pulumi.set(__self__, "quic_listener_id", quic_listener_id)
|
|
@@ -587,9 +630,7 @@ class ListenerQuicConfig(dict):
|
|
|
587
630
|
@pulumi.getter(name="quicUpgradeEnabled")
|
|
588
631
|
def quic_upgrade_enabled(self) -> Optional[bool]:
|
|
589
632
|
"""
|
|
590
|
-
Indicates Whether to Enable the QuIC Upgrade
|
|
591
|
-
|
|
592
|
-
> **NOTE:** The attribute is valid when the attribute `ListenerProtocol` is `HTTPS`.
|
|
633
|
+
Indicates Whether to Enable the QuIC Upgrade
|
|
593
634
|
"""
|
|
594
635
|
return pulumi.get(self, "quic_upgrade_enabled")
|
|
595
636
|
|
|
@@ -623,6 +664,10 @@ class ListenerXForwardedForConfig(dict):
|
|
|
623
664
|
suggest = "x_forwarded_for_client_src_port_enabled"
|
|
624
665
|
elif key == "xForwardedForEnabled":
|
|
625
666
|
suggest = "x_forwarded_for_enabled"
|
|
667
|
+
elif key == "xForwardedForHostEnabled":
|
|
668
|
+
suggest = "x_forwarded_for_host_enabled"
|
|
669
|
+
elif key == "xForwardedForProcessingMode":
|
|
670
|
+
suggest = "x_forwarded_for_processing_mode"
|
|
626
671
|
elif key == "xForwardedForProtoEnabled":
|
|
627
672
|
suggest = "x_forwarded_for_proto_enabled"
|
|
628
673
|
elif key == "xForwardedForSlbIdEnabled":
|
|
@@ -654,25 +699,53 @@ class ListenerXForwardedForConfig(dict):
|
|
|
654
699
|
x_forwarded_for_client_source_ips_trusted: Optional[str] = None,
|
|
655
700
|
x_forwarded_for_client_src_port_enabled: Optional[bool] = None,
|
|
656
701
|
x_forwarded_for_enabled: Optional[bool] = None,
|
|
702
|
+
x_forwarded_for_host_enabled: Optional[bool] = None,
|
|
703
|
+
x_forwarded_for_processing_mode: Optional[str] = None,
|
|
657
704
|
x_forwarded_for_proto_enabled: Optional[bool] = None,
|
|
658
705
|
x_forwarded_for_slb_id_enabled: Optional[bool] = None,
|
|
659
706
|
x_forwarded_for_slb_port_enabled: Optional[bool] = None):
|
|
660
707
|
"""
|
|
661
|
-
:param str x_forwarded_for_client_cert_client_verify_alias: The Custom Header Field Names Only When
|
|
662
|
-
:param bool x_forwarded_for_client_cert_client_verify_enabled: Indicates Whether the
|
|
663
|
-
:param str x_forwarded_for_client_cert_finger_print_alias: The Custom Header Field Names Only When
|
|
664
|
-
:param bool x_forwarded_for_client_cert_finger_print_enabled: Indicates Whether the
|
|
665
|
-
:param str x_forwarded_for_client_cert_issuer_dn_alias: The Custom Header Field Names Only When
|
|
666
|
-
:param bool x_forwarded_for_client_cert_issuer_dn_enabled: Indicates Whether the
|
|
667
|
-
:param str x_forwarded_for_client_cert_subject_dn_alias: The
|
|
668
|
-
:param bool x_forwarded_for_client_cert_subject_dn_enabled:
|
|
669
|
-
:param bool x_forwarded_for_client_source_ips_enabled: Whether to use the X-Forwarded-Client-Ip header to obtain the source IP address of the server load balancer instance. Value:
|
|
670
|
-
|
|
708
|
+
:param str x_forwarded_for_client_cert_client_verify_alias: The Custom Header Field Names Only When xforwardedforclientcertclientverifyenabled Has a Value of True, this Value Will Not Take Effect until.
|
|
709
|
+
:param bool x_forwarded_for_client_cert_client_verify_enabled: Indicates Whether the X-Forwarded-Clientcert-clientverify Header Field Is Used to Obtain Access to the Server Load Balancer Instance of the Client Certificate to Verify the Results.
|
|
710
|
+
:param str x_forwarded_for_client_cert_finger_print_alias: The Custom Header Field Names Only When xforwardedforclientcertfingerprintenabled, Which Evaluates to True When the Entry into Force of.
|
|
711
|
+
:param bool x_forwarded_for_client_cert_finger_print_enabled: Indicates Whether the X-Forwarded-Clientcert-fingerprint Header Field Is Used to Obtain Access to the Server Load Balancer Instance of the Client Certificate Fingerprint Value.
|
|
712
|
+
:param str x_forwarded_for_client_cert_issuer_dn_alias: The Custom Header Field Names Only When xforwardedforclientcertsubjectdnenabled, Which Evaluates to True When the Entry into Force of.
|
|
713
|
+
:param bool x_forwarded_for_client_cert_issuer_dn_enabled: Indicates Whether the X-Forwarded-Clientcert-issuerdn Header Field Is Used to Obtain Access to the Server Load Balancer Instance of the Client Certificate after the Manifests Are Signed, the Publisher Information.
|
|
714
|
+
:param str x_forwarded_for_client_cert_subject_dn_alias: The Custom Header Field Name,
|
|
715
|
+
:param bool x_forwarded_for_client_cert_subject_dn_enabled: Indicates Whether the X-Forwarded-Clientcert-subjectdn Header Field Is Used to Obtain Access to the Server Load Balancer Instance of the Client Certificate Owner Information.
|
|
716
|
+
:param bool x_forwarded_for_client_source_ips_enabled: Whether to use the X-Forwarded-Client-Ip header to obtain the source IP address of the server load balancer instance. Value:
|
|
717
|
+
|
|
718
|
+
true: Yes.
|
|
719
|
+
|
|
720
|
+
false (default): No.
|
|
721
|
+
|
|
722
|
+
Note HTTP, HTTPS, and QUIC listeners support this parameter. The function corresponding to this parameter is not open by default. Please contact the account manager if you need to use it.
|
|
723
|
+
:param str x_forwarded_for_client_source_ips_trusted: Specify the trusted proxy IP.
|
|
724
|
+
|
|
725
|
+
Application-oriented load balancing ALB will traverse the X-Forwarded-For from back to front, and select the first IP that is not in the trusted IP list as the real client IP, which will be used for the source IP speed limit.
|
|
671
726
|
:param bool x_forwarded_for_client_src_port_enabled: Indicates Whether the X-Forwarded-Client-Port Header Field Is Used to Obtain Access to Server Load Balancer Instances to the Client, and Those of the Ports.
|
|
672
727
|
:param bool x_forwarded_for_enabled: Whether to Enable by X-Forwarded-For Header Field Is Used to Obtain the Client IP Addresses.
|
|
728
|
+
:param bool x_forwarded_for_host_enabled: Whether to enable the X-Forwarded-Host header field to obtain the domain name of the client accessing the Application Load Balancer. Value:
|
|
729
|
+
|
|
730
|
+
true: Yes.
|
|
731
|
+
|
|
732
|
+
false (default): No.
|
|
733
|
+
|
|
734
|
+
HTTP, HTTPS, and QUIC listeners support this parameter.
|
|
735
|
+
:param str x_forwarded_for_processing_mode: Schema for processing X-Forwarded-For header fields. This value takes effect only when XForwardedForEnabled is true. Value:
|
|
736
|
+
|
|
737
|
+
append (default): append.
|
|
738
|
+
|
|
739
|
+
remove: Delete.
|
|
740
|
+
|
|
741
|
+
Configure append to add the last hop IP address to the X-Forwarded-For header field before sending the request to the backend service.
|
|
742
|
+
|
|
743
|
+
Configure remove to delete the X-Forwarded-For header before the request is sent to the backend service, regardless of whether the request carries X-Forwarded-For header fields.
|
|
744
|
+
|
|
745
|
+
HTTP and HTTPS listeners support this parameter.
|
|
673
746
|
:param bool x_forwarded_for_proto_enabled: Indicates Whether the X-Forwarded-Proto Header Field Is Used to Obtain the Server Load Balancer Instance Snooping Protocols.
|
|
674
|
-
:param bool x_forwarded_for_slb_id_enabled: Indicates Whether the SLB-ID Header Field Is Used to Obtain the Load Balancing Instance Id
|
|
675
|
-
:param bool x_forwarded_for_slb_port_enabled: Indicates Whether the X-Forwarded-Port Header Field Is Used to Obtain the Server Load Balancer Instance Listening Port
|
|
747
|
+
:param bool x_forwarded_for_slb_id_enabled: Indicates Whether the SLB-ID Header Field Is Used to Obtain the Load Balancing Instance Id
|
|
748
|
+
:param bool x_forwarded_for_slb_port_enabled: Indicates Whether the X-Forwarded-Port Header Field Is Used to Obtain the Server Load Balancer Instance Listening Port
|
|
676
749
|
"""
|
|
677
750
|
if x_forwarded_for_client_cert_client_verify_alias is not None:
|
|
678
751
|
pulumi.set(__self__, "x_forwarded_for_client_cert_client_verify_alias", x_forwarded_for_client_cert_client_verify_alias)
|
|
@@ -698,6 +771,10 @@ class ListenerXForwardedForConfig(dict):
|
|
|
698
771
|
pulumi.set(__self__, "x_forwarded_for_client_src_port_enabled", x_forwarded_for_client_src_port_enabled)
|
|
699
772
|
if x_forwarded_for_enabled is not None:
|
|
700
773
|
pulumi.set(__self__, "x_forwarded_for_enabled", x_forwarded_for_enabled)
|
|
774
|
+
if x_forwarded_for_host_enabled is not None:
|
|
775
|
+
pulumi.set(__self__, "x_forwarded_for_host_enabled", x_forwarded_for_host_enabled)
|
|
776
|
+
if x_forwarded_for_processing_mode is not None:
|
|
777
|
+
pulumi.set(__self__, "x_forwarded_for_processing_mode", x_forwarded_for_processing_mode)
|
|
701
778
|
if x_forwarded_for_proto_enabled is not None:
|
|
702
779
|
pulumi.set(__self__, "x_forwarded_for_proto_enabled", x_forwarded_for_proto_enabled)
|
|
703
780
|
if x_forwarded_for_slb_id_enabled is not None:
|
|
@@ -709,7 +786,7 @@ class ListenerXForwardedForConfig(dict):
|
|
|
709
786
|
@pulumi.getter(name="xForwardedForClientCertClientVerifyAlias")
|
|
710
787
|
def x_forwarded_for_client_cert_client_verify_alias(self) -> Optional[str]:
|
|
711
788
|
"""
|
|
712
|
-
The Custom Header Field Names Only When
|
|
789
|
+
The Custom Header Field Names Only When xforwardedforclientcertclientverifyenabled Has a Value of True, this Value Will Not Take Effect until.
|
|
713
790
|
"""
|
|
714
791
|
return pulumi.get(self, "x_forwarded_for_client_cert_client_verify_alias")
|
|
715
792
|
|
|
@@ -717,7 +794,7 @@ class ListenerXForwardedForConfig(dict):
|
|
|
717
794
|
@pulumi.getter(name="xForwardedForClientCertClientVerifyEnabled")
|
|
718
795
|
def x_forwarded_for_client_cert_client_verify_enabled(self) -> Optional[bool]:
|
|
719
796
|
"""
|
|
720
|
-
Indicates Whether the
|
|
797
|
+
Indicates Whether the X-Forwarded-Clientcert-clientverify Header Field Is Used to Obtain Access to the Server Load Balancer Instance of the Client Certificate to Verify the Results.
|
|
721
798
|
"""
|
|
722
799
|
return pulumi.get(self, "x_forwarded_for_client_cert_client_verify_enabled")
|
|
723
800
|
|
|
@@ -725,7 +802,7 @@ class ListenerXForwardedForConfig(dict):
|
|
|
725
802
|
@pulumi.getter(name="xForwardedForClientCertFingerPrintAlias")
|
|
726
803
|
def x_forwarded_for_client_cert_finger_print_alias(self) -> Optional[str]:
|
|
727
804
|
"""
|
|
728
|
-
The Custom Header Field Names Only When
|
|
805
|
+
The Custom Header Field Names Only When xforwardedforclientcertfingerprintenabled, Which Evaluates to True When the Entry into Force of.
|
|
729
806
|
"""
|
|
730
807
|
return pulumi.get(self, "x_forwarded_for_client_cert_finger_print_alias")
|
|
731
808
|
|
|
@@ -733,7 +810,7 @@ class ListenerXForwardedForConfig(dict):
|
|
|
733
810
|
@pulumi.getter(name="xForwardedForClientCertFingerPrintEnabled")
|
|
734
811
|
def x_forwarded_for_client_cert_finger_print_enabled(self) -> Optional[bool]:
|
|
735
812
|
"""
|
|
736
|
-
Indicates Whether the
|
|
813
|
+
Indicates Whether the X-Forwarded-Clientcert-fingerprint Header Field Is Used to Obtain Access to the Server Load Balancer Instance of the Client Certificate Fingerprint Value.
|
|
737
814
|
"""
|
|
738
815
|
return pulumi.get(self, "x_forwarded_for_client_cert_finger_print_enabled")
|
|
739
816
|
|
|
@@ -741,7 +818,7 @@ class ListenerXForwardedForConfig(dict):
|
|
|
741
818
|
@pulumi.getter(name="xForwardedForClientCertIssuerDnAlias")
|
|
742
819
|
def x_forwarded_for_client_cert_issuer_dn_alias(self) -> Optional[str]:
|
|
743
820
|
"""
|
|
744
|
-
The Custom Header Field Names Only When
|
|
821
|
+
The Custom Header Field Names Only When xforwardedforclientcertsubjectdnenabled, Which Evaluates to True When the Entry into Force of.
|
|
745
822
|
"""
|
|
746
823
|
return pulumi.get(self, "x_forwarded_for_client_cert_issuer_dn_alias")
|
|
747
824
|
|
|
@@ -749,7 +826,7 @@ class ListenerXForwardedForConfig(dict):
|
|
|
749
826
|
@pulumi.getter(name="xForwardedForClientCertIssuerDnEnabled")
|
|
750
827
|
def x_forwarded_for_client_cert_issuer_dn_enabled(self) -> Optional[bool]:
|
|
751
828
|
"""
|
|
752
|
-
Indicates Whether the
|
|
829
|
+
Indicates Whether the X-Forwarded-Clientcert-issuerdn Header Field Is Used to Obtain Access to the Server Load Balancer Instance of the Client Certificate after the Manifests Are Signed, the Publisher Information.
|
|
753
830
|
"""
|
|
754
831
|
return pulumi.get(self, "x_forwarded_for_client_cert_issuer_dn_enabled")
|
|
755
832
|
|
|
@@ -757,7 +834,7 @@ class ListenerXForwardedForConfig(dict):
|
|
|
757
834
|
@pulumi.getter(name="xForwardedForClientCertSubjectDnAlias")
|
|
758
835
|
def x_forwarded_for_client_cert_subject_dn_alias(self) -> Optional[str]:
|
|
759
836
|
"""
|
|
760
|
-
The
|
|
837
|
+
The Custom Header Field Name,
|
|
761
838
|
"""
|
|
762
839
|
return pulumi.get(self, "x_forwarded_for_client_cert_subject_dn_alias")
|
|
763
840
|
|
|
@@ -765,7 +842,7 @@ class ListenerXForwardedForConfig(dict):
|
|
|
765
842
|
@pulumi.getter(name="xForwardedForClientCertSubjectDnEnabled")
|
|
766
843
|
def x_forwarded_for_client_cert_subject_dn_enabled(self) -> Optional[bool]:
|
|
767
844
|
"""
|
|
768
|
-
|
|
845
|
+
Indicates Whether the X-Forwarded-Clientcert-subjectdn Header Field Is Used to Obtain Access to the Server Load Balancer Instance of the Client Certificate Owner Information.
|
|
769
846
|
"""
|
|
770
847
|
return pulumi.get(self, "x_forwarded_for_client_cert_subject_dn_enabled")
|
|
771
848
|
|
|
@@ -773,7 +850,13 @@ class ListenerXForwardedForConfig(dict):
|
|
|
773
850
|
@pulumi.getter(name="xForwardedForClientSourceIpsEnabled")
|
|
774
851
|
def x_forwarded_for_client_source_ips_enabled(self) -> Optional[bool]:
|
|
775
852
|
"""
|
|
776
|
-
Whether to use the X-Forwarded-Client-Ip header to obtain the source IP address of the server load balancer instance. Value:
|
|
853
|
+
Whether to use the X-Forwarded-Client-Ip header to obtain the source IP address of the server load balancer instance. Value:
|
|
854
|
+
|
|
855
|
+
true: Yes.
|
|
856
|
+
|
|
857
|
+
false (default): No.
|
|
858
|
+
|
|
859
|
+
Note HTTP, HTTPS, and QUIC listeners support this parameter. The function corresponding to this parameter is not open by default. Please contact the account manager if you need to use it.
|
|
777
860
|
"""
|
|
778
861
|
return pulumi.get(self, "x_forwarded_for_client_source_ips_enabled")
|
|
779
862
|
|
|
@@ -781,7 +864,9 @@ class ListenerXForwardedForConfig(dict):
|
|
|
781
864
|
@pulumi.getter(name="xForwardedForClientSourceIpsTrusted")
|
|
782
865
|
def x_forwarded_for_client_source_ips_trusted(self) -> Optional[str]:
|
|
783
866
|
"""
|
|
784
|
-
Specify the trusted proxy IP.
|
|
867
|
+
Specify the trusted proxy IP.
|
|
868
|
+
|
|
869
|
+
Application-oriented load balancing ALB will traverse the X-Forwarded-For from back to front, and select the first IP that is not in the trusted IP list as the real client IP, which will be used for the source IP speed limit.
|
|
785
870
|
"""
|
|
786
871
|
return pulumi.get(self, "x_forwarded_for_client_source_ips_trusted")
|
|
787
872
|
|
|
@@ -801,6 +886,38 @@ class ListenerXForwardedForConfig(dict):
|
|
|
801
886
|
"""
|
|
802
887
|
return pulumi.get(self, "x_forwarded_for_enabled")
|
|
803
888
|
|
|
889
|
+
@property
|
|
890
|
+
@pulumi.getter(name="xForwardedForHostEnabled")
|
|
891
|
+
def x_forwarded_for_host_enabled(self) -> Optional[bool]:
|
|
892
|
+
"""
|
|
893
|
+
Whether to enable the X-Forwarded-Host header field to obtain the domain name of the client accessing the Application Load Balancer. Value:
|
|
894
|
+
|
|
895
|
+
true: Yes.
|
|
896
|
+
|
|
897
|
+
false (default): No.
|
|
898
|
+
|
|
899
|
+
HTTP, HTTPS, and QUIC listeners support this parameter.
|
|
900
|
+
"""
|
|
901
|
+
return pulumi.get(self, "x_forwarded_for_host_enabled")
|
|
902
|
+
|
|
903
|
+
@property
|
|
904
|
+
@pulumi.getter(name="xForwardedForProcessingMode")
|
|
905
|
+
def x_forwarded_for_processing_mode(self) -> Optional[str]:
|
|
906
|
+
"""
|
|
907
|
+
Schema for processing X-Forwarded-For header fields. This value takes effect only when XForwardedForEnabled is true. Value:
|
|
908
|
+
|
|
909
|
+
append (default): append.
|
|
910
|
+
|
|
911
|
+
remove: Delete.
|
|
912
|
+
|
|
913
|
+
Configure append to add the last hop IP address to the X-Forwarded-For header field before sending the request to the backend service.
|
|
914
|
+
|
|
915
|
+
Configure remove to delete the X-Forwarded-For header before the request is sent to the backend service, regardless of whether the request carries X-Forwarded-For header fields.
|
|
916
|
+
|
|
917
|
+
HTTP and HTTPS listeners support this parameter.
|
|
918
|
+
"""
|
|
919
|
+
return pulumi.get(self, "x_forwarded_for_processing_mode")
|
|
920
|
+
|
|
804
921
|
@property
|
|
805
922
|
@pulumi.getter(name="xForwardedForProtoEnabled")
|
|
806
923
|
def x_forwarded_for_proto_enabled(self) -> Optional[bool]:
|
|
@@ -813,7 +930,7 @@ class ListenerXForwardedForConfig(dict):
|
|
|
813
930
|
@pulumi.getter(name="xForwardedForSlbIdEnabled")
|
|
814
931
|
def x_forwarded_for_slb_id_enabled(self) -> Optional[bool]:
|
|
815
932
|
"""
|
|
816
|
-
Indicates Whether the SLB-ID Header Field Is Used to Obtain the Load Balancing Instance Id
|
|
933
|
+
Indicates Whether the SLB-ID Header Field Is Used to Obtain the Load Balancing Instance Id
|
|
817
934
|
"""
|
|
818
935
|
return pulumi.get(self, "x_forwarded_for_slb_id_enabled")
|
|
819
936
|
|
|
@@ -821,7 +938,7 @@ class ListenerXForwardedForConfig(dict):
|
|
|
821
938
|
@pulumi.getter(name="xForwardedForSlbPortEnabled")
|
|
822
939
|
def x_forwarded_for_slb_port_enabled(self) -> Optional[bool]:
|
|
823
940
|
"""
|
|
824
|
-
Indicates Whether the X-Forwarded-Port Header Field Is Used to Obtain the Server Load Balancer Instance Listening Port
|
|
941
|
+
Indicates Whether the X-Forwarded-Port Header Field Is Used to Obtain the Server Load Balancer Instance Listening Port
|
|
825
942
|
"""
|
|
826
943
|
return pulumi.get(self, "x_forwarded_for_slb_port_enabled")
|
|
827
944
|
|
|
@@ -848,18 +965,20 @@ class LoadBalancerAccessLogConfig(dict):
|
|
|
848
965
|
return super().get(key, default)
|
|
849
966
|
|
|
850
967
|
def __init__(__self__, *,
|
|
851
|
-
log_project: str,
|
|
852
|
-
log_store: str):
|
|
968
|
+
log_project: Optional[str] = None,
|
|
969
|
+
log_store: Optional[str] = None):
|
|
853
970
|
"""
|
|
854
971
|
:param str log_project: The project to which the access log is shipped.
|
|
855
972
|
:param str log_store: The Logstore to which the access log is shipped.
|
|
856
973
|
"""
|
|
857
|
-
|
|
858
|
-
|
|
974
|
+
if log_project is not None:
|
|
975
|
+
pulumi.set(__self__, "log_project", log_project)
|
|
976
|
+
if log_store is not None:
|
|
977
|
+
pulumi.set(__self__, "log_store", log_store)
|
|
859
978
|
|
|
860
979
|
@property
|
|
861
980
|
@pulumi.getter(name="logProject")
|
|
862
|
-
def log_project(self) -> str:
|
|
981
|
+
def log_project(self) -> Optional[str]:
|
|
863
982
|
"""
|
|
864
983
|
The project to which the access log is shipped.
|
|
865
984
|
"""
|
|
@@ -867,13 +986,61 @@ class LoadBalancerAccessLogConfig(dict):
|
|
|
867
986
|
|
|
868
987
|
@property
|
|
869
988
|
@pulumi.getter(name="logStore")
|
|
870
|
-
def log_store(self) -> str:
|
|
989
|
+
def log_store(self) -> Optional[str]:
|
|
871
990
|
"""
|
|
872
991
|
The Logstore to which the access log is shipped.
|
|
873
992
|
"""
|
|
874
993
|
return pulumi.get(self, "log_store")
|
|
875
994
|
|
|
876
995
|
|
|
996
|
+
@pulumi.output_type
|
|
997
|
+
class LoadBalancerDeletionProtectionConfig(dict):
|
|
998
|
+
@staticmethod
|
|
999
|
+
def __key_warning(key: str):
|
|
1000
|
+
suggest = None
|
|
1001
|
+
if key == "enabledTime":
|
|
1002
|
+
suggest = "enabled_time"
|
|
1003
|
+
|
|
1004
|
+
if suggest:
|
|
1005
|
+
pulumi.log.warn(f"Key '{key}' not found in LoadBalancerDeletionProtectionConfig. Access the value via the '{suggest}' property getter instead.")
|
|
1006
|
+
|
|
1007
|
+
def __getitem__(self, key: str) -> Any:
|
|
1008
|
+
LoadBalancerDeletionProtectionConfig.__key_warning(key)
|
|
1009
|
+
return super().__getitem__(key)
|
|
1010
|
+
|
|
1011
|
+
def get(self, key: str, default = None) -> Any:
|
|
1012
|
+
LoadBalancerDeletionProtectionConfig.__key_warning(key)
|
|
1013
|
+
return super().get(key, default)
|
|
1014
|
+
|
|
1015
|
+
def __init__(__self__, *,
|
|
1016
|
+
enabled: Optional[bool] = None,
|
|
1017
|
+
enabled_time: Optional[str] = None):
|
|
1018
|
+
"""
|
|
1019
|
+
:param bool enabled: Remove the Protection Status
|
|
1020
|
+
:param str enabled_time: Deletion Protection Turn-on Time Use Greenwich Mean Time, in the Format of Yyyy-MM-ddTHH: mm: SSZ
|
|
1021
|
+
"""
|
|
1022
|
+
if enabled is not None:
|
|
1023
|
+
pulumi.set(__self__, "enabled", enabled)
|
|
1024
|
+
if enabled_time is not None:
|
|
1025
|
+
pulumi.set(__self__, "enabled_time", enabled_time)
|
|
1026
|
+
|
|
1027
|
+
@property
|
|
1028
|
+
@pulumi.getter
|
|
1029
|
+
def enabled(self) -> Optional[bool]:
|
|
1030
|
+
"""
|
|
1031
|
+
Remove the Protection Status
|
|
1032
|
+
"""
|
|
1033
|
+
return pulumi.get(self, "enabled")
|
|
1034
|
+
|
|
1035
|
+
@property
|
|
1036
|
+
@pulumi.getter(name="enabledTime")
|
|
1037
|
+
def enabled_time(self) -> Optional[str]:
|
|
1038
|
+
"""
|
|
1039
|
+
Deletion Protection Turn-on Time Use Greenwich Mean Time, in the Format of Yyyy-MM-ddTHH: mm: SSZ
|
|
1040
|
+
"""
|
|
1041
|
+
return pulumi.get(self, "enabled_time")
|
|
1042
|
+
|
|
1043
|
+
|
|
877
1044
|
@pulumi.output_type
|
|
878
1045
|
class LoadBalancerLoadBalancerBillingConfig(dict):
|
|
879
1046
|
@staticmethod
|
|
@@ -896,7 +1063,7 @@ class LoadBalancerLoadBalancerBillingConfig(dict):
|
|
|
896
1063
|
def __init__(__self__, *,
|
|
897
1064
|
pay_type: str):
|
|
898
1065
|
"""
|
|
899
|
-
:param str pay_type:
|
|
1066
|
+
:param str pay_type: Pay Type
|
|
900
1067
|
"""
|
|
901
1068
|
pulumi.set(__self__, "pay_type", pay_type)
|
|
902
1069
|
|
|
@@ -904,7 +1071,7 @@ class LoadBalancerLoadBalancerBillingConfig(dict):
|
|
|
904
1071
|
@pulumi.getter(name="payType")
|
|
905
1072
|
def pay_type(self) -> str:
|
|
906
1073
|
"""
|
|
907
|
-
|
|
1074
|
+
Pay Type
|
|
908
1075
|
"""
|
|
909
1076
|
return pulumi.get(self, "pay_type")
|
|
910
1077
|
|
|
@@ -915,8 +1082,8 @@ class LoadBalancerModificationProtectionConfig(dict):
|
|
|
915
1082
|
reason: Optional[str] = None,
|
|
916
1083
|
status: Optional[str] = None):
|
|
917
1084
|
"""
|
|
918
|
-
:param str reason:
|
|
919
|
-
:param str status:
|
|
1085
|
+
:param str reason: Managed Instance
|
|
1086
|
+
:param str status: Load Balancing Modify the Protection Status
|
|
920
1087
|
"""
|
|
921
1088
|
if reason is not None:
|
|
922
1089
|
pulumi.set(__self__, "reason", reason)
|
|
@@ -927,7 +1094,7 @@ class LoadBalancerModificationProtectionConfig(dict):
|
|
|
927
1094
|
@pulumi.getter
|
|
928
1095
|
def reason(self) -> Optional[str]:
|
|
929
1096
|
"""
|
|
930
|
-
|
|
1097
|
+
Managed Instance
|
|
931
1098
|
"""
|
|
932
1099
|
return pulumi.get(self, "reason")
|
|
933
1100
|
|
|
@@ -935,7 +1102,7 @@ class LoadBalancerModificationProtectionConfig(dict):
|
|
|
935
1102
|
@pulumi.getter
|
|
936
1103
|
def status(self) -> Optional[str]:
|
|
937
1104
|
"""
|
|
938
|
-
|
|
1105
|
+
Load Balancing Modify the Protection Status
|
|
939
1106
|
"""
|
|
940
1107
|
return pulumi.get(self, "status")
|
|
941
1108
|
|
|
@@ -949,6 +1116,14 @@ class LoadBalancerZoneMapping(dict):
|
|
|
949
1116
|
suggest = "vswitch_id"
|
|
950
1117
|
elif key == "zoneId":
|
|
951
1118
|
suggest = "zone_id"
|
|
1119
|
+
elif key == "allocationId":
|
|
1120
|
+
suggest = "allocation_id"
|
|
1121
|
+
elif key == "eipType":
|
|
1122
|
+
suggest = "eip_type"
|
|
1123
|
+
elif key == "intranetAddress":
|
|
1124
|
+
suggest = "intranet_address"
|
|
1125
|
+
elif key == "ipv6Address":
|
|
1126
|
+
suggest = "ipv6_address"
|
|
952
1127
|
elif key == "loadBalancerAddresses":
|
|
953
1128
|
suggest = "load_balancer_addresses"
|
|
954
1129
|
|
|
@@ -966,14 +1141,34 @@ class LoadBalancerZoneMapping(dict):
|
|
|
966
1141
|
def __init__(__self__, *,
|
|
967
1142
|
vswitch_id: str,
|
|
968
1143
|
zone_id: str,
|
|
1144
|
+
address: Optional[str] = None,
|
|
1145
|
+
allocation_id: Optional[str] = None,
|
|
1146
|
+
eip_type: Optional[str] = None,
|
|
1147
|
+
intranet_address: Optional[str] = None,
|
|
1148
|
+
ipv6_address: Optional[str] = None,
|
|
969
1149
|
load_balancer_addresses: Optional[Sequence['outputs.LoadBalancerZoneMappingLoadBalancerAddress']] = None):
|
|
970
1150
|
"""
|
|
971
|
-
:param str vswitch_id: The ID of the
|
|
972
|
-
:param str zone_id: The
|
|
973
|
-
:param
|
|
1151
|
+
:param str vswitch_id: The ID of the vSwitch that corresponds to the zone. Each zone can use only one vSwitch and subnet.
|
|
1152
|
+
:param str zone_id: The ID of the zone to which the SLB instance belongs.
|
|
1153
|
+
:param str address: An IP address of the IPv4 type.
|
|
1154
|
+
:param str allocation_id: The ID of the EIP instance.
|
|
1155
|
+
:param str eip_type: The type of the EIP instance.
|
|
1156
|
+
:param str intranet_address: IPv4 private network address.
|
|
1157
|
+
:param str ipv6_address: An IP address of the IPv6 type.
|
|
1158
|
+
:param Sequence['LoadBalancerZoneMappingLoadBalancerAddressArgs'] load_balancer_addresses: The instance address.
|
|
974
1159
|
"""
|
|
975
1160
|
pulumi.set(__self__, "vswitch_id", vswitch_id)
|
|
976
1161
|
pulumi.set(__self__, "zone_id", zone_id)
|
|
1162
|
+
if address is not None:
|
|
1163
|
+
pulumi.set(__self__, "address", address)
|
|
1164
|
+
if allocation_id is not None:
|
|
1165
|
+
pulumi.set(__self__, "allocation_id", allocation_id)
|
|
1166
|
+
if eip_type is not None:
|
|
1167
|
+
pulumi.set(__self__, "eip_type", eip_type)
|
|
1168
|
+
if intranet_address is not None:
|
|
1169
|
+
pulumi.set(__self__, "intranet_address", intranet_address)
|
|
1170
|
+
if ipv6_address is not None:
|
|
1171
|
+
pulumi.set(__self__, "ipv6_address", ipv6_address)
|
|
977
1172
|
if load_balancer_addresses is not None:
|
|
978
1173
|
pulumi.set(__self__, "load_balancer_addresses", load_balancer_addresses)
|
|
979
1174
|
|
|
@@ -981,7 +1176,7 @@ class LoadBalancerZoneMapping(dict):
|
|
|
981
1176
|
@pulumi.getter(name="vswitchId")
|
|
982
1177
|
def vswitch_id(self) -> str:
|
|
983
1178
|
"""
|
|
984
|
-
The ID of the
|
|
1179
|
+
The ID of the vSwitch that corresponds to the zone. Each zone can use only one vSwitch and subnet.
|
|
985
1180
|
"""
|
|
986
1181
|
return pulumi.get(self, "vswitch_id")
|
|
987
1182
|
|
|
@@ -989,15 +1184,55 @@ class LoadBalancerZoneMapping(dict):
|
|
|
989
1184
|
@pulumi.getter(name="zoneId")
|
|
990
1185
|
def zone_id(self) -> str:
|
|
991
1186
|
"""
|
|
992
|
-
The
|
|
1187
|
+
The ID of the zone to which the SLB instance belongs.
|
|
993
1188
|
"""
|
|
994
1189
|
return pulumi.get(self, "zone_id")
|
|
995
1190
|
|
|
1191
|
+
@property
|
|
1192
|
+
@pulumi.getter
|
|
1193
|
+
def address(self) -> Optional[str]:
|
|
1194
|
+
"""
|
|
1195
|
+
An IP address of the IPv4 type.
|
|
1196
|
+
"""
|
|
1197
|
+
return pulumi.get(self, "address")
|
|
1198
|
+
|
|
1199
|
+
@property
|
|
1200
|
+
@pulumi.getter(name="allocationId")
|
|
1201
|
+
def allocation_id(self) -> Optional[str]:
|
|
1202
|
+
"""
|
|
1203
|
+
The ID of the EIP instance.
|
|
1204
|
+
"""
|
|
1205
|
+
return pulumi.get(self, "allocation_id")
|
|
1206
|
+
|
|
1207
|
+
@property
|
|
1208
|
+
@pulumi.getter(name="eipType")
|
|
1209
|
+
def eip_type(self) -> Optional[str]:
|
|
1210
|
+
"""
|
|
1211
|
+
The type of the EIP instance.
|
|
1212
|
+
"""
|
|
1213
|
+
return pulumi.get(self, "eip_type")
|
|
1214
|
+
|
|
1215
|
+
@property
|
|
1216
|
+
@pulumi.getter(name="intranetAddress")
|
|
1217
|
+
def intranet_address(self) -> Optional[str]:
|
|
1218
|
+
"""
|
|
1219
|
+
IPv4 private network address.
|
|
1220
|
+
"""
|
|
1221
|
+
return pulumi.get(self, "intranet_address")
|
|
1222
|
+
|
|
1223
|
+
@property
|
|
1224
|
+
@pulumi.getter(name="ipv6Address")
|
|
1225
|
+
def ipv6_address(self) -> Optional[str]:
|
|
1226
|
+
"""
|
|
1227
|
+
An IP address of the IPv6 type.
|
|
1228
|
+
"""
|
|
1229
|
+
return pulumi.get(self, "ipv6_address")
|
|
1230
|
+
|
|
996
1231
|
@property
|
|
997
1232
|
@pulumi.getter(name="loadBalancerAddresses")
|
|
998
1233
|
def load_balancer_addresses(self) -> Optional[Sequence['outputs.LoadBalancerZoneMappingLoadBalancerAddress']]:
|
|
999
1234
|
"""
|
|
1000
|
-
The
|
|
1235
|
+
The instance address.
|
|
1001
1236
|
"""
|
|
1002
1237
|
return pulumi.get(self, "load_balancer_addresses")
|
|
1003
1238
|
|
|
@@ -1011,8 +1246,18 @@ class LoadBalancerZoneMappingLoadBalancerAddress(dict):
|
|
|
1011
1246
|
suggest = "allocation_id"
|
|
1012
1247
|
elif key == "eipType":
|
|
1013
1248
|
suggest = "eip_type"
|
|
1249
|
+
elif key == "intranetAddress":
|
|
1250
|
+
suggest = "intranet_address"
|
|
1251
|
+
elif key == "intranetAddressHcStatus":
|
|
1252
|
+
suggest = "intranet_address_hc_status"
|
|
1253
|
+
elif key == "ipv4LocalAddresses":
|
|
1254
|
+
suggest = "ipv4_local_addresses"
|
|
1014
1255
|
elif key == "ipv6Address":
|
|
1015
1256
|
suggest = "ipv6_address"
|
|
1257
|
+
elif key == "ipv6AddressHcStatus":
|
|
1258
|
+
suggest = "ipv6_address_hc_status"
|
|
1259
|
+
elif key == "ipv6LocalAddresses":
|
|
1260
|
+
suggest = "ipv6_local_addresses"
|
|
1016
1261
|
|
|
1017
1262
|
if suggest:
|
|
1018
1263
|
pulumi.log.warn(f"Key '{key}' not found in LoadBalancerZoneMappingLoadBalancerAddress. Access the value via the '{suggest}' property getter instead.")
|
|
@@ -1029,12 +1274,22 @@ class LoadBalancerZoneMappingLoadBalancerAddress(dict):
|
|
|
1029
1274
|
address: Optional[str] = None,
|
|
1030
1275
|
allocation_id: Optional[str] = None,
|
|
1031
1276
|
eip_type: Optional[str] = None,
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1277
|
+
intranet_address: Optional[str] = None,
|
|
1278
|
+
intranet_address_hc_status: Optional[str] = None,
|
|
1279
|
+
ipv4_local_addresses: Optional[Sequence[str]] = None,
|
|
1280
|
+
ipv6_address: Optional[str] = None,
|
|
1281
|
+
ipv6_address_hc_status: Optional[str] = None,
|
|
1282
|
+
ipv6_local_addresses: Optional[Sequence[str]] = None):
|
|
1283
|
+
"""
|
|
1284
|
+
:param str address: An IP address of the IPv4 type.
|
|
1285
|
+
:param str allocation_id: The elastic IP identifier.
|
|
1286
|
+
:param str eip_type: The type of the public EIP. Value:
|
|
1287
|
+
:param str intranet_address: IPv4 private network address.
|
|
1288
|
+
:param str intranet_address_hc_status: The private network IPv4 address detection status of the application-oriented load balancing instance.
|
|
1289
|
+
:param Sequence[str] ipv4_local_addresses: IPv4 Local address list. The list of addresses used by ALB to interact with the backend service.
|
|
1290
|
+
:param str ipv6_address: An IP address of the IPv6 type.
|
|
1291
|
+
:param str ipv6_address_hc_status: The IPv6 address detection status of the application-based load balancing instance.
|
|
1292
|
+
:param Sequence[str] ipv6_local_addresses: IPv6 Local address list. The list of addresses used by ALB to interact with the backend service.
|
|
1038
1293
|
"""
|
|
1039
1294
|
if address is not None:
|
|
1040
1295
|
pulumi.set(__self__, "address", address)
|
|
@@ -1042,14 +1297,24 @@ class LoadBalancerZoneMappingLoadBalancerAddress(dict):
|
|
|
1042
1297
|
pulumi.set(__self__, "allocation_id", allocation_id)
|
|
1043
1298
|
if eip_type is not None:
|
|
1044
1299
|
pulumi.set(__self__, "eip_type", eip_type)
|
|
1300
|
+
if intranet_address is not None:
|
|
1301
|
+
pulumi.set(__self__, "intranet_address", intranet_address)
|
|
1302
|
+
if intranet_address_hc_status is not None:
|
|
1303
|
+
pulumi.set(__self__, "intranet_address_hc_status", intranet_address_hc_status)
|
|
1304
|
+
if ipv4_local_addresses is not None:
|
|
1305
|
+
pulumi.set(__self__, "ipv4_local_addresses", ipv4_local_addresses)
|
|
1045
1306
|
if ipv6_address is not None:
|
|
1046
1307
|
pulumi.set(__self__, "ipv6_address", ipv6_address)
|
|
1308
|
+
if ipv6_address_hc_status is not None:
|
|
1309
|
+
pulumi.set(__self__, "ipv6_address_hc_status", ipv6_address_hc_status)
|
|
1310
|
+
if ipv6_local_addresses is not None:
|
|
1311
|
+
pulumi.set(__self__, "ipv6_local_addresses", ipv6_local_addresses)
|
|
1047
1312
|
|
|
1048
1313
|
@property
|
|
1049
1314
|
@pulumi.getter
|
|
1050
1315
|
def address(self) -> Optional[str]:
|
|
1051
1316
|
"""
|
|
1052
|
-
IP address
|
|
1317
|
+
An IP address of the IPv4 type.
|
|
1053
1318
|
"""
|
|
1054
1319
|
return pulumi.get(self, "address")
|
|
1055
1320
|
|
|
@@ -1057,7 +1322,7 @@ class LoadBalancerZoneMappingLoadBalancerAddress(dict):
|
|
|
1057
1322
|
@pulumi.getter(name="allocationId")
|
|
1058
1323
|
def allocation_id(self) -> Optional[str]:
|
|
1059
1324
|
"""
|
|
1060
|
-
The
|
|
1325
|
+
The elastic IP identifier.
|
|
1061
1326
|
"""
|
|
1062
1327
|
return pulumi.get(self, "allocation_id")
|
|
1063
1328
|
|
|
@@ -1065,18 +1330,58 @@ class LoadBalancerZoneMappingLoadBalancerAddress(dict):
|
|
|
1065
1330
|
@pulumi.getter(name="eipType")
|
|
1066
1331
|
def eip_type(self) -> Optional[str]:
|
|
1067
1332
|
"""
|
|
1068
|
-
The type of the EIP.
|
|
1333
|
+
The type of the public EIP. Value:
|
|
1069
1334
|
"""
|
|
1070
1335
|
return pulumi.get(self, "eip_type")
|
|
1071
1336
|
|
|
1337
|
+
@property
|
|
1338
|
+
@pulumi.getter(name="intranetAddress")
|
|
1339
|
+
def intranet_address(self) -> Optional[str]:
|
|
1340
|
+
"""
|
|
1341
|
+
IPv4 private network address.
|
|
1342
|
+
"""
|
|
1343
|
+
return pulumi.get(self, "intranet_address")
|
|
1344
|
+
|
|
1345
|
+
@property
|
|
1346
|
+
@pulumi.getter(name="intranetAddressHcStatus")
|
|
1347
|
+
def intranet_address_hc_status(self) -> Optional[str]:
|
|
1348
|
+
"""
|
|
1349
|
+
The private network IPv4 address detection status of the application-oriented load balancing instance.
|
|
1350
|
+
"""
|
|
1351
|
+
return pulumi.get(self, "intranet_address_hc_status")
|
|
1352
|
+
|
|
1353
|
+
@property
|
|
1354
|
+
@pulumi.getter(name="ipv4LocalAddresses")
|
|
1355
|
+
def ipv4_local_addresses(self) -> Optional[Sequence[str]]:
|
|
1356
|
+
"""
|
|
1357
|
+
IPv4 Local address list. The list of addresses used by ALB to interact with the backend service.
|
|
1358
|
+
"""
|
|
1359
|
+
return pulumi.get(self, "ipv4_local_addresses")
|
|
1360
|
+
|
|
1072
1361
|
@property
|
|
1073
1362
|
@pulumi.getter(name="ipv6Address")
|
|
1074
1363
|
def ipv6_address(self) -> Optional[str]:
|
|
1075
1364
|
"""
|
|
1076
|
-
|
|
1365
|
+
An IP address of the IPv6 type.
|
|
1077
1366
|
"""
|
|
1078
1367
|
return pulumi.get(self, "ipv6_address")
|
|
1079
1368
|
|
|
1369
|
+
@property
|
|
1370
|
+
@pulumi.getter(name="ipv6AddressHcStatus")
|
|
1371
|
+
def ipv6_address_hc_status(self) -> Optional[str]:
|
|
1372
|
+
"""
|
|
1373
|
+
The IPv6 address detection status of the application-based load balancing instance.
|
|
1374
|
+
"""
|
|
1375
|
+
return pulumi.get(self, "ipv6_address_hc_status")
|
|
1376
|
+
|
|
1377
|
+
@property
|
|
1378
|
+
@pulumi.getter(name="ipv6LocalAddresses")
|
|
1379
|
+
def ipv6_local_addresses(self) -> Optional[Sequence[str]]:
|
|
1380
|
+
"""
|
|
1381
|
+
IPv6 Local address list. The list of addresses used by ALB to interact with the backend service.
|
|
1382
|
+
"""
|
|
1383
|
+
return pulumi.get(self, "ipv6_local_addresses")
|
|
1384
|
+
|
|
1080
1385
|
|
|
1081
1386
|
@pulumi.output_type
|
|
1082
1387
|
class RuleRuleAction(dict):
|
|
@@ -2336,6 +2641,64 @@ class RuleRuleConditionSourceIpConfig(dict):
|
|
|
2336
2641
|
return pulumi.get(self, "values")
|
|
2337
2642
|
|
|
2338
2643
|
|
|
2644
|
+
@pulumi.output_type
|
|
2645
|
+
class ServerGroupConnectionDrainConfig(dict):
|
|
2646
|
+
@staticmethod
|
|
2647
|
+
def __key_warning(key: str):
|
|
2648
|
+
suggest = None
|
|
2649
|
+
if key == "connectionDrainEnabled":
|
|
2650
|
+
suggest = "connection_drain_enabled"
|
|
2651
|
+
elif key == "connectionDrainTimeout":
|
|
2652
|
+
suggest = "connection_drain_timeout"
|
|
2653
|
+
|
|
2654
|
+
if suggest:
|
|
2655
|
+
pulumi.log.warn(f"Key '{key}' not found in ServerGroupConnectionDrainConfig. Access the value via the '{suggest}' property getter instead.")
|
|
2656
|
+
|
|
2657
|
+
def __getitem__(self, key: str) -> Any:
|
|
2658
|
+
ServerGroupConnectionDrainConfig.__key_warning(key)
|
|
2659
|
+
return super().__getitem__(key)
|
|
2660
|
+
|
|
2661
|
+
def get(self, key: str, default = None) -> Any:
|
|
2662
|
+
ServerGroupConnectionDrainConfig.__key_warning(key)
|
|
2663
|
+
return super().get(key, default)
|
|
2664
|
+
|
|
2665
|
+
def __init__(__self__, *,
|
|
2666
|
+
connection_drain_enabled: Optional[bool] = None,
|
|
2667
|
+
connection_drain_timeout: Optional[int] = None):
|
|
2668
|
+
"""
|
|
2669
|
+
:param bool connection_drain_enabled: Specifies whether to enable connection draining. Valid values:
|
|
2670
|
+
:param int connection_drain_timeout: The timeout period of connection draining.
|
|
2671
|
+
|
|
2672
|
+
Valid values: `0` to `900`.
|
|
2673
|
+
|
|
2674
|
+
Default value: `300`.
|
|
2675
|
+
"""
|
|
2676
|
+
if connection_drain_enabled is not None:
|
|
2677
|
+
pulumi.set(__self__, "connection_drain_enabled", connection_drain_enabled)
|
|
2678
|
+
if connection_drain_timeout is not None:
|
|
2679
|
+
pulumi.set(__self__, "connection_drain_timeout", connection_drain_timeout)
|
|
2680
|
+
|
|
2681
|
+
@property
|
|
2682
|
+
@pulumi.getter(name="connectionDrainEnabled")
|
|
2683
|
+
def connection_drain_enabled(self) -> Optional[bool]:
|
|
2684
|
+
"""
|
|
2685
|
+
Specifies whether to enable connection draining. Valid values:
|
|
2686
|
+
"""
|
|
2687
|
+
return pulumi.get(self, "connection_drain_enabled")
|
|
2688
|
+
|
|
2689
|
+
@property
|
|
2690
|
+
@pulumi.getter(name="connectionDrainTimeout")
|
|
2691
|
+
def connection_drain_timeout(self) -> Optional[int]:
|
|
2692
|
+
"""
|
|
2693
|
+
The timeout period of connection draining.
|
|
2694
|
+
|
|
2695
|
+
Valid values: `0` to `900`.
|
|
2696
|
+
|
|
2697
|
+
Default value: `300`.
|
|
2698
|
+
"""
|
|
2699
|
+
return pulumi.get(self, "connection_drain_timeout")
|
|
2700
|
+
|
|
2701
|
+
|
|
2339
2702
|
@pulumi.output_type
|
|
2340
2703
|
class ServerGroupHealthCheckConfig(dict):
|
|
2341
2704
|
@staticmethod
|
|
@@ -2391,20 +2754,75 @@ class ServerGroupHealthCheckConfig(dict):
|
|
|
2391
2754
|
healthy_threshold: Optional[int] = None,
|
|
2392
2755
|
unhealthy_threshold: Optional[int] = None):
|
|
2393
2756
|
"""
|
|
2394
|
-
:param bool health_check_enabled: Specifies whether to enable the health check feature. Valid values:
|
|
2395
|
-
:param Sequence[str] health_check_codes: The
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2757
|
+
:param bool health_check_enabled: Specifies whether to enable the health check feature. Valid values:
|
|
2758
|
+
:param Sequence[str] health_check_codes: The status code for a successful health check
|
|
2759
|
+
:param int health_check_connect_port: The backend port that is used for health checks.
|
|
2760
|
+
|
|
2761
|
+
Valid values: `0` to `65535`.
|
|
2762
|
+
|
|
2763
|
+
If you set the value to `0`, the backend port is used for health checks.
|
|
2764
|
+
|
|
2765
|
+
> **NOTE:** This parameter takes effect only if you set `HealthCheckEnabled` to `true`.
|
|
2399
2766
|
:param str health_check_host: The domain name that is used for health checks.
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2767
|
+
|
|
2768
|
+
* **Backend Server Internal IP** (default): Use the internal IP address of backend servers as the health check domain name.
|
|
2769
|
+
|
|
2770
|
+
* **Custom Domain Name**: Enter a domain name.
|
|
2771
|
+
|
|
2772
|
+
* The domain name must be 1 to 80 characters in length.
|
|
2773
|
+
* The domain name can contain lowercase letters, digits, hyphens (-), and periods (.).
|
|
2774
|
+
* The domain name must contain at least one period (.) but cannot start or end with a period (.).
|
|
2775
|
+
* The rightmost domain label of the domain name can contain only letters, and cannot contain digits or hyphens (-).
|
|
2776
|
+
* The domain name cannot start or end with a hyphen (-).
|
|
2777
|
+
|
|
2778
|
+
> **NOTE:** This parameter takes effect only if `HealthCheckProtocol` is set to `HTTP`, `HTTPS`, or `gRPC`.
|
|
2779
|
+
:param str health_check_http_version: The HTTP version that is used for health checks. Valid values:
|
|
2780
|
+
|
|
2781
|
+
* **HTTP1.0**
|
|
2782
|
+
|
|
2783
|
+
* **HTTP1.1**
|
|
2784
|
+
|
|
2785
|
+
> **NOTE:** This parameter takes effect only if you set `HealthCheckEnabled` to true and `HealthCheckProtocol` to `HTTP` or `HTTPS`.
|
|
2786
|
+
:param int health_check_interval: The interval at which health checks are performed. Unit: seconds.
|
|
2787
|
+
|
|
2788
|
+
Valid values: `1` to `50`.
|
|
2789
|
+
|
|
2790
|
+
> **NOTE:** This parameter takes effect only if you set `HealthCheckEnabled` to `true`.
|
|
2791
|
+
:param str health_check_method: The HTTP method that is used for health checks. Valid values:
|
|
2792
|
+
|
|
2793
|
+
* `GET`: If the length of a response exceeds 8 KB, the response is truncated. However, the health check result is not affected.
|
|
2794
|
+
|
|
2795
|
+
* `POST`: gRPC health checks use the POST method by default.
|
|
2796
|
+
|
|
2797
|
+
* `HEAD`: HTTP and HTTPS health checks use the HEAD method by default.
|
|
2798
|
+
|
|
2799
|
+
> **NOTE:** This parameter takes effect only if you set `HealthCheckEnabled` to true and `HealthCheckProtocol` to `HTTP`, `HTTPS`, or `gRPC`.
|
|
2800
|
+
:param str health_check_path: The URL that is used for health checks.
|
|
2801
|
+
|
|
2802
|
+
The URL must be 1 to 80 characters in length, and can contain letters, digits, and the following special characters: `- / . % ? # & =`. It can also contain the following extended characters: `_ ; ~ ! ( ) * [ ] @ $ ^ : ' , +`. The URL must start with a forward slash (`/`).
|
|
2803
|
+
|
|
2804
|
+
> **NOTE:** This parameter takes effect only if you set `HealthCheckEnabled` to `true` and `HealthCheckProtocol` to `HTTP` or `HTTPS`.
|
|
2805
|
+
:param str health_check_protocol: The protocol that is used for health checks. Valid values:
|
|
2806
|
+
|
|
2807
|
+
- `HTTP`: HTTP health checks simulate browser behaviors by sending HEAD or GET requests to probe the availability of backend servers.
|
|
2808
|
+
- `HTTPS`: HTTPS health checks simulate browser behaviors by sending HEAD or GET requests to probe the availability of backend servers. HTTPS provides higher security than HTTP because HTTPS supports data encryption.
|
|
2809
|
+
- `TCP`: TCP health checks send TCP SYN packets to a backend server to probe the availability of backend servers.
|
|
2810
|
+
- `gRPC`: gRPC health checks send POST or GET requests to a backend server to check whether the backend server is healthy.
|
|
2811
|
+
:param int health_check_timeout: The timeout period of a health check response. If a backend ECS instance does not respond within the specified timeout period, the ECS instance fails the health check. Unit: seconds.
|
|
2812
|
+
|
|
2813
|
+
Valid values: `1` to `300`.
|
|
2814
|
+
|
|
2815
|
+
> **NOTE:** This parameter takes effect only if you set `HealthCheckEnabled` to `true`.
|
|
2816
|
+
:param int healthy_threshold: The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy. In this case, the health check status of the backend server changes from `fail` to `success`.
|
|
2817
|
+
|
|
2818
|
+
Valid values: `2` to `10`.
|
|
2819
|
+
|
|
2820
|
+
Default value: `3`.
|
|
2821
|
+
:param int unhealthy_threshold: The number of times that a healthy backend server must consecutively fail health checks before it is declared unhealthy. In this case, the health check status of the backend server changes from `success` to `fail`.
|
|
2822
|
+
|
|
2823
|
+
Valid values: `2` to `10`.
|
|
2824
|
+
|
|
2825
|
+
Default value: `3`.
|
|
2408
2826
|
"""
|
|
2409
2827
|
pulumi.set(__self__, "health_check_enabled", health_check_enabled)
|
|
2410
2828
|
if health_check_codes is not None:
|
|
@@ -2434,7 +2852,7 @@ class ServerGroupHealthCheckConfig(dict):
|
|
|
2434
2852
|
@pulumi.getter(name="healthCheckEnabled")
|
|
2435
2853
|
def health_check_enabled(self) -> bool:
|
|
2436
2854
|
"""
|
|
2437
|
-
Specifies whether to enable the health check feature. Valid values:
|
|
2855
|
+
Specifies whether to enable the health check feature. Valid values:
|
|
2438
2856
|
"""
|
|
2439
2857
|
return pulumi.get(self, "health_check_enabled")
|
|
2440
2858
|
|
|
@@ -2442,9 +2860,7 @@ class ServerGroupHealthCheckConfig(dict):
|
|
|
2442
2860
|
@pulumi.getter(name="healthCheckCodes")
|
|
2443
2861
|
def health_check_codes(self) -> Optional[Sequence[str]]:
|
|
2444
2862
|
"""
|
|
2445
|
-
The
|
|
2446
|
-
- If `health_check_protocol` is set to `HTTP` or `HTTPS`. Valid values: `http_2xx`, `http_3xx`, `http_4xx`, and `http_5xx`. Default value: `http_2xx`.
|
|
2447
|
-
- If `health_check_protocol` is set to `gRPC`. Valid values: `0` to `99`. Default value: `0`.
|
|
2863
|
+
The status code for a successful health check
|
|
2448
2864
|
"""
|
|
2449
2865
|
return pulumi.get(self, "health_check_codes")
|
|
2450
2866
|
|
|
@@ -2452,7 +2868,13 @@ class ServerGroupHealthCheckConfig(dict):
|
|
|
2452
2868
|
@pulumi.getter(name="healthCheckConnectPort")
|
|
2453
2869
|
def health_check_connect_port(self) -> Optional[int]:
|
|
2454
2870
|
"""
|
|
2455
|
-
The backend port that is used for health checks.
|
|
2871
|
+
The backend port that is used for health checks.
|
|
2872
|
+
|
|
2873
|
+
Valid values: `0` to `65535`.
|
|
2874
|
+
|
|
2875
|
+
If you set the value to `0`, the backend port is used for health checks.
|
|
2876
|
+
|
|
2877
|
+
> **NOTE:** This parameter takes effect only if you set `HealthCheckEnabled` to `true`.
|
|
2456
2878
|
"""
|
|
2457
2879
|
return pulumi.get(self, "health_check_connect_port")
|
|
2458
2880
|
|
|
@@ -2461,6 +2883,18 @@ class ServerGroupHealthCheckConfig(dict):
|
|
|
2461
2883
|
def health_check_host(self) -> Optional[str]:
|
|
2462
2884
|
"""
|
|
2463
2885
|
The domain name that is used for health checks.
|
|
2886
|
+
|
|
2887
|
+
* **Backend Server Internal IP** (default): Use the internal IP address of backend servers as the health check domain name.
|
|
2888
|
+
|
|
2889
|
+
* **Custom Domain Name**: Enter a domain name.
|
|
2890
|
+
|
|
2891
|
+
* The domain name must be 1 to 80 characters in length.
|
|
2892
|
+
* The domain name can contain lowercase letters, digits, hyphens (-), and periods (.).
|
|
2893
|
+
* The domain name must contain at least one period (.) but cannot start or end with a period (.).
|
|
2894
|
+
* The rightmost domain label of the domain name can contain only letters, and cannot contain digits or hyphens (-).
|
|
2895
|
+
* The domain name cannot start or end with a hyphen (-).
|
|
2896
|
+
|
|
2897
|
+
> **NOTE:** This parameter takes effect only if `HealthCheckProtocol` is set to `HTTP`, `HTTPS`, or `gRPC`.
|
|
2464
2898
|
"""
|
|
2465
2899
|
return pulumi.get(self, "health_check_host")
|
|
2466
2900
|
|
|
@@ -2468,7 +2902,13 @@ class ServerGroupHealthCheckConfig(dict):
|
|
|
2468
2902
|
@pulumi.getter(name="healthCheckHttpVersion")
|
|
2469
2903
|
def health_check_http_version(self) -> Optional[str]:
|
|
2470
2904
|
"""
|
|
2471
|
-
The version
|
|
2905
|
+
The HTTP version that is used for health checks. Valid values:
|
|
2906
|
+
|
|
2907
|
+
* **HTTP1.0**
|
|
2908
|
+
|
|
2909
|
+
* **HTTP1.1**
|
|
2910
|
+
|
|
2911
|
+
> **NOTE:** This parameter takes effect only if you set `HealthCheckEnabled` to true and `HealthCheckProtocol` to `HTTP` or `HTTPS`.
|
|
2472
2912
|
"""
|
|
2473
2913
|
return pulumi.get(self, "health_check_http_version")
|
|
2474
2914
|
|
|
@@ -2476,7 +2916,11 @@ class ServerGroupHealthCheckConfig(dict):
|
|
|
2476
2916
|
@pulumi.getter(name="healthCheckInterval")
|
|
2477
2917
|
def health_check_interval(self) -> Optional[int]:
|
|
2478
2918
|
"""
|
|
2479
|
-
The interval at which health checks are performed. Unit: seconds.
|
|
2919
|
+
The interval at which health checks are performed. Unit: seconds.
|
|
2920
|
+
|
|
2921
|
+
Valid values: `1` to `50`.
|
|
2922
|
+
|
|
2923
|
+
> **NOTE:** This parameter takes effect only if you set `HealthCheckEnabled` to `true`.
|
|
2480
2924
|
"""
|
|
2481
2925
|
return pulumi.get(self, "health_check_interval")
|
|
2482
2926
|
|
|
@@ -2484,7 +2928,15 @@ class ServerGroupHealthCheckConfig(dict):
|
|
|
2484
2928
|
@pulumi.getter(name="healthCheckMethod")
|
|
2485
2929
|
def health_check_method(self) -> Optional[str]:
|
|
2486
2930
|
"""
|
|
2487
|
-
The HTTP method that is used for health checks.
|
|
2931
|
+
The HTTP method that is used for health checks. Valid values:
|
|
2932
|
+
|
|
2933
|
+
* `GET`: If the length of a response exceeds 8 KB, the response is truncated. However, the health check result is not affected.
|
|
2934
|
+
|
|
2935
|
+
* `POST`: gRPC health checks use the POST method by default.
|
|
2936
|
+
|
|
2937
|
+
* `HEAD`: HTTP and HTTPS health checks use the HEAD method by default.
|
|
2938
|
+
|
|
2939
|
+
> **NOTE:** This parameter takes effect only if you set `HealthCheckEnabled` to true and `HealthCheckProtocol` to `HTTP`, `HTTPS`, or `gRPC`.
|
|
2488
2940
|
"""
|
|
2489
2941
|
return pulumi.get(self, "health_check_method")
|
|
2490
2942
|
|
|
@@ -2492,7 +2944,11 @@ class ServerGroupHealthCheckConfig(dict):
|
|
|
2492
2944
|
@pulumi.getter(name="healthCheckPath")
|
|
2493
2945
|
def health_check_path(self) -> Optional[str]:
|
|
2494
2946
|
"""
|
|
2495
|
-
The
|
|
2947
|
+
The URL that is used for health checks.
|
|
2948
|
+
|
|
2949
|
+
The URL must be 1 to 80 characters in length, and can contain letters, digits, and the following special characters: `- / . % ? # & =`. It can also contain the following extended characters: `_ ; ~ ! ( ) * [ ] @ $ ^ : ' , +`. The URL must start with a forward slash (`/`).
|
|
2950
|
+
|
|
2951
|
+
> **NOTE:** This parameter takes effect only if you set `HealthCheckEnabled` to `true` and `HealthCheckProtocol` to `HTTP` or `HTTPS`.
|
|
2496
2952
|
"""
|
|
2497
2953
|
return pulumi.get(self, "health_check_path")
|
|
2498
2954
|
|
|
@@ -2500,7 +2956,12 @@ class ServerGroupHealthCheckConfig(dict):
|
|
|
2500
2956
|
@pulumi.getter(name="healthCheckProtocol")
|
|
2501
2957
|
def health_check_protocol(self) -> Optional[str]:
|
|
2502
2958
|
"""
|
|
2503
|
-
The protocol that is used for health checks. Valid values:
|
|
2959
|
+
The protocol that is used for health checks. Valid values:
|
|
2960
|
+
|
|
2961
|
+
- `HTTP`: HTTP health checks simulate browser behaviors by sending HEAD or GET requests to probe the availability of backend servers.
|
|
2962
|
+
- `HTTPS`: HTTPS health checks simulate browser behaviors by sending HEAD or GET requests to probe the availability of backend servers. HTTPS provides higher security than HTTP because HTTPS supports data encryption.
|
|
2963
|
+
- `TCP`: TCP health checks send TCP SYN packets to a backend server to probe the availability of backend servers.
|
|
2964
|
+
- `gRPC`: gRPC health checks send POST or GET requests to a backend server to check whether the backend server is healthy.
|
|
2504
2965
|
"""
|
|
2505
2966
|
return pulumi.get(self, "health_check_protocol")
|
|
2506
2967
|
|
|
@@ -2508,7 +2969,11 @@ class ServerGroupHealthCheckConfig(dict):
|
|
|
2508
2969
|
@pulumi.getter(name="healthCheckTimeout")
|
|
2509
2970
|
def health_check_timeout(self) -> Optional[int]:
|
|
2510
2971
|
"""
|
|
2511
|
-
The timeout period
|
|
2972
|
+
The timeout period of a health check response. If a backend ECS instance does not respond within the specified timeout period, the ECS instance fails the health check. Unit: seconds.
|
|
2973
|
+
|
|
2974
|
+
Valid values: `1` to `300`.
|
|
2975
|
+
|
|
2976
|
+
> **NOTE:** This parameter takes effect only if you set `HealthCheckEnabled` to `true`.
|
|
2512
2977
|
"""
|
|
2513
2978
|
return pulumi.get(self, "health_check_timeout")
|
|
2514
2979
|
|
|
@@ -2516,7 +2981,11 @@ class ServerGroupHealthCheckConfig(dict):
|
|
|
2516
2981
|
@pulumi.getter(name="healthyThreshold")
|
|
2517
2982
|
def healthy_threshold(self) -> Optional[int]:
|
|
2518
2983
|
"""
|
|
2519
|
-
The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy.
|
|
2984
|
+
The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy. In this case, the health check status of the backend server changes from `fail` to `success`.
|
|
2985
|
+
|
|
2986
|
+
Valid values: `2` to `10`.
|
|
2987
|
+
|
|
2988
|
+
Default value: `3`.
|
|
2520
2989
|
"""
|
|
2521
2990
|
return pulumi.get(self, "healthy_threshold")
|
|
2522
2991
|
|
|
@@ -2524,7 +2993,11 @@ class ServerGroupHealthCheckConfig(dict):
|
|
|
2524
2993
|
@pulumi.getter(name="unhealthyThreshold")
|
|
2525
2994
|
def unhealthy_threshold(self) -> Optional[int]:
|
|
2526
2995
|
"""
|
|
2527
|
-
The number of times that a healthy backend server must consecutively fail health checks before it is declared unhealthy.
|
|
2996
|
+
The number of times that a healthy backend server must consecutively fail health checks before it is declared unhealthy. In this case, the health check status of the backend server changes from `success` to `fail`.
|
|
2997
|
+
|
|
2998
|
+
Valid values: `2` to `10`.
|
|
2999
|
+
|
|
3000
|
+
Default value: `3`.
|
|
2528
3001
|
"""
|
|
2529
3002
|
return pulumi.get(self, "unhealthy_threshold")
|
|
2530
3003
|
|
|
@@ -2540,6 +3013,8 @@ class ServerGroupServer(dict):
|
|
|
2540
3013
|
suggest = "server_type"
|
|
2541
3014
|
elif key == "remoteIpEnabled":
|
|
2542
3015
|
suggest = "remote_ip_enabled"
|
|
3016
|
+
elif key == "serverGroupId":
|
|
3017
|
+
suggest = "server_group_id"
|
|
2543
3018
|
elif key == "serverIp":
|
|
2544
3019
|
suggest = "server_ip"
|
|
2545
3020
|
|
|
@@ -2560,26 +3035,38 @@ class ServerGroupServer(dict):
|
|
|
2560
3035
|
description: Optional[str] = None,
|
|
2561
3036
|
port: Optional[int] = None,
|
|
2562
3037
|
remote_ip_enabled: Optional[bool] = None,
|
|
3038
|
+
server_group_id: Optional[str] = None,
|
|
2563
3039
|
server_ip: Optional[str] = None,
|
|
2564
3040
|
status: Optional[str] = None,
|
|
2565
3041
|
weight: Optional[int] = None):
|
|
2566
3042
|
"""
|
|
2567
|
-
:param str server_id: The ID of the backend server.
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
- `
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
:param str
|
|
2582
|
-
:param int
|
|
3043
|
+
:param str server_id: The ID of the backend server. You can specify at most 200 servers in each call.
|
|
3044
|
+
|
|
3045
|
+
* If the server group is of the `Instance` type, set ServerId to the ID of a resource of the `Ecs`, `Eni`, or `Eci` type.
|
|
3046
|
+
|
|
3047
|
+
* If the server group is of the `Ip` type, set ServerId to IP addresses.
|
|
3048
|
+
|
|
3049
|
+
> **NOTE:** You cannot perform this operation on a server group of the Function Compute type. You can call the [ListServerGroups](https://www.alibabacloud.com/help/en/doc-detail/213627.html) operation to query the type of server groups.
|
|
3050
|
+
:param str server_type: The type of the backend server. You can specify at most 200 servers in each call. Default values:
|
|
3051
|
+
|
|
3052
|
+
- `Ecs`: Elastic Compute Service (ECS) instance
|
|
3053
|
+
- `Eni`: elastic network interface (ENI)
|
|
3054
|
+
- `Eci`: elastic container instance
|
|
3055
|
+
- `Ip`: IP address
|
|
3056
|
+
- `Fc`: Function Compute
|
|
3057
|
+
:param str description: The description of the backend server. The description must be 2 to 256 characters in length, and cannot start with http:// or https://.
|
|
3058
|
+
:param int port: The port that is used by the backend server. Valid values: `1` to `65535`. You can specify at most 200 servers in each call.
|
|
3059
|
+
|
|
3060
|
+
> **NOTE:** This parameter is required if you set `ServerType` to `Ecs`, `Eni`, `Eci`, or `Ip`. You do not need to set this parameter if `ServerType` is set to `Fc`.
|
|
3061
|
+
:param bool remote_ip_enabled: Specifies whether to enable the remote IP feature. You can specify at most 200 servers in each call. Default values:
|
|
3062
|
+
:param str server_group_id: The ID of the server group.
|
|
3063
|
+
:param str server_ip: The IP address of the backend server. You can specify at most 200 servers in each call.
|
|
3064
|
+
|
|
3065
|
+
> **NOTE:** You do not need to set this parameter if you set `ServerType` to `Fc`.
|
|
3066
|
+
:param str status: The status of the resource
|
|
3067
|
+
:param int weight: The weight of the backend server. Valid values: `0` to `100`. Default value: `100`. If the value is set to `0`, no requests are forwarded to the server. You can specify at most 200 servers in each call.
|
|
3068
|
+
|
|
3069
|
+
> **NOTE:** You do not need to set this parameter if you set `ServerType` to `Fc`.
|
|
2583
3070
|
"""
|
|
2584
3071
|
pulumi.set(__self__, "server_id", server_id)
|
|
2585
3072
|
pulumi.set(__self__, "server_type", server_type)
|
|
@@ -2589,6 +3076,8 @@ class ServerGroupServer(dict):
|
|
|
2589
3076
|
pulumi.set(__self__, "port", port)
|
|
2590
3077
|
if remote_ip_enabled is not None:
|
|
2591
3078
|
pulumi.set(__self__, "remote_ip_enabled", remote_ip_enabled)
|
|
3079
|
+
if server_group_id is not None:
|
|
3080
|
+
pulumi.set(__self__, "server_group_id", server_group_id)
|
|
2592
3081
|
if server_ip is not None:
|
|
2593
3082
|
pulumi.set(__self__, "server_ip", server_ip)
|
|
2594
3083
|
if status is not None:
|
|
@@ -2600,10 +3089,13 @@ class ServerGroupServer(dict):
|
|
|
2600
3089
|
@pulumi.getter(name="serverId")
|
|
2601
3090
|
def server_id(self) -> str:
|
|
2602
3091
|
"""
|
|
2603
|
-
The ID of the backend server.
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
3092
|
+
The ID of the backend server. You can specify at most 200 servers in each call.
|
|
3093
|
+
|
|
3094
|
+
* If the server group is of the `Instance` type, set ServerId to the ID of a resource of the `Ecs`, `Eni`, or `Eci` type.
|
|
3095
|
+
|
|
3096
|
+
* If the server group is of the `Ip` type, set ServerId to IP addresses.
|
|
3097
|
+
|
|
3098
|
+
> **NOTE:** You cannot perform this operation on a server group of the Function Compute type. You can call the [ListServerGroups](https://www.alibabacloud.com/help/en/doc-detail/213627.html) operation to query the type of server groups.
|
|
2607
3099
|
"""
|
|
2608
3100
|
return pulumi.get(self, "server_id")
|
|
2609
3101
|
|
|
@@ -2611,12 +3103,13 @@ class ServerGroupServer(dict):
|
|
|
2611
3103
|
@pulumi.getter(name="serverType")
|
|
2612
3104
|
def server_type(self) -> str:
|
|
2613
3105
|
"""
|
|
2614
|
-
The type of the server.
|
|
2615
|
-
|
|
2616
|
-
- `
|
|
2617
|
-
- `
|
|
2618
|
-
- `
|
|
2619
|
-
- `
|
|
3106
|
+
The type of the backend server. You can specify at most 200 servers in each call. Default values:
|
|
3107
|
+
|
|
3108
|
+
- `Ecs`: Elastic Compute Service (ECS) instance
|
|
3109
|
+
- `Eni`: elastic network interface (ENI)
|
|
3110
|
+
- `Eci`: elastic container instance
|
|
3111
|
+
- `Ip`: IP address
|
|
3112
|
+
- `Fc`: Function Compute
|
|
2620
3113
|
"""
|
|
2621
3114
|
return pulumi.get(self, "server_type")
|
|
2622
3115
|
|
|
@@ -2624,7 +3117,7 @@ class ServerGroupServer(dict):
|
|
|
2624
3117
|
@pulumi.getter
|
|
2625
3118
|
def description(self) -> Optional[str]:
|
|
2626
3119
|
"""
|
|
2627
|
-
The description of the backend server.
|
|
3120
|
+
The description of the backend server. The description must be 2 to 256 characters in length, and cannot start with http:// or https://.
|
|
2628
3121
|
"""
|
|
2629
3122
|
return pulumi.get(self, "description")
|
|
2630
3123
|
|
|
@@ -2632,7 +3125,9 @@ class ServerGroupServer(dict):
|
|
|
2632
3125
|
@pulumi.getter
|
|
2633
3126
|
def port(self) -> Optional[int]:
|
|
2634
3127
|
"""
|
|
2635
|
-
The port used by the backend server. Valid values: `1` to `65535`.
|
|
3128
|
+
The port that is used by the backend server. Valid values: `1` to `65535`. You can specify at most 200 servers in each call.
|
|
3129
|
+
|
|
3130
|
+
> **NOTE:** This parameter is required if you set `ServerType` to `Ecs`, `Eni`, `Eci`, or `Ip`. You do not need to set this parameter if `ServerType` is set to `Fc`.
|
|
2636
3131
|
"""
|
|
2637
3132
|
return pulumi.get(self, "port")
|
|
2638
3133
|
|
|
@@ -2640,15 +3135,25 @@ class ServerGroupServer(dict):
|
|
|
2640
3135
|
@pulumi.getter(name="remoteIpEnabled")
|
|
2641
3136
|
def remote_ip_enabled(self) -> Optional[bool]:
|
|
2642
3137
|
"""
|
|
2643
|
-
Specifies whether to enable the remote IP
|
|
3138
|
+
Specifies whether to enable the remote IP feature. You can specify at most 200 servers in each call. Default values:
|
|
2644
3139
|
"""
|
|
2645
3140
|
return pulumi.get(self, "remote_ip_enabled")
|
|
2646
3141
|
|
|
3142
|
+
@property
|
|
3143
|
+
@pulumi.getter(name="serverGroupId")
|
|
3144
|
+
def server_group_id(self) -> Optional[str]:
|
|
3145
|
+
"""
|
|
3146
|
+
The ID of the server group.
|
|
3147
|
+
"""
|
|
3148
|
+
return pulumi.get(self, "server_group_id")
|
|
3149
|
+
|
|
2647
3150
|
@property
|
|
2648
3151
|
@pulumi.getter(name="serverIp")
|
|
2649
3152
|
def server_ip(self) -> Optional[str]:
|
|
2650
3153
|
"""
|
|
2651
|
-
The IP address of
|
|
3154
|
+
The IP address of the backend server. You can specify at most 200 servers in each call.
|
|
3155
|
+
|
|
3156
|
+
> **NOTE:** You do not need to set this parameter if you set `ServerType` to `Fc`.
|
|
2652
3157
|
"""
|
|
2653
3158
|
return pulumi.get(self, "server_ip")
|
|
2654
3159
|
|
|
@@ -2656,7 +3161,7 @@ class ServerGroupServer(dict):
|
|
|
2656
3161
|
@pulumi.getter
|
|
2657
3162
|
def status(self) -> Optional[str]:
|
|
2658
3163
|
"""
|
|
2659
|
-
The status of the
|
|
3164
|
+
The status of the resource
|
|
2660
3165
|
"""
|
|
2661
3166
|
return pulumi.get(self, "status")
|
|
2662
3167
|
|
|
@@ -2664,11 +3169,71 @@ class ServerGroupServer(dict):
|
|
|
2664
3169
|
@pulumi.getter
|
|
2665
3170
|
def weight(self) -> Optional[int]:
|
|
2666
3171
|
"""
|
|
2667
|
-
The weight of the server.
|
|
3172
|
+
The weight of the backend server. Valid values: `0` to `100`. Default value: `100`. If the value is set to `0`, no requests are forwarded to the server. You can specify at most 200 servers in each call.
|
|
3173
|
+
|
|
3174
|
+
> **NOTE:** You do not need to set this parameter if you set `ServerType` to `Fc`.
|
|
2668
3175
|
"""
|
|
2669
3176
|
return pulumi.get(self, "weight")
|
|
2670
3177
|
|
|
2671
3178
|
|
|
3179
|
+
@pulumi.output_type
|
|
3180
|
+
class ServerGroupSlowStartConfig(dict):
|
|
3181
|
+
@staticmethod
|
|
3182
|
+
def __key_warning(key: str):
|
|
3183
|
+
suggest = None
|
|
3184
|
+
if key == "slowStartDuration":
|
|
3185
|
+
suggest = "slow_start_duration"
|
|
3186
|
+
elif key == "slowStartEnabled":
|
|
3187
|
+
suggest = "slow_start_enabled"
|
|
3188
|
+
|
|
3189
|
+
if suggest:
|
|
3190
|
+
pulumi.log.warn(f"Key '{key}' not found in ServerGroupSlowStartConfig. Access the value via the '{suggest}' property getter instead.")
|
|
3191
|
+
|
|
3192
|
+
def __getitem__(self, key: str) -> Any:
|
|
3193
|
+
ServerGroupSlowStartConfig.__key_warning(key)
|
|
3194
|
+
return super().__getitem__(key)
|
|
3195
|
+
|
|
3196
|
+
def get(self, key: str, default = None) -> Any:
|
|
3197
|
+
ServerGroupSlowStartConfig.__key_warning(key)
|
|
3198
|
+
return super().get(key, default)
|
|
3199
|
+
|
|
3200
|
+
def __init__(__self__, *,
|
|
3201
|
+
slow_start_duration: Optional[int] = None,
|
|
3202
|
+
slow_start_enabled: Optional[bool] = None):
|
|
3203
|
+
"""
|
|
3204
|
+
:param int slow_start_duration: The duration of a slow start.
|
|
3205
|
+
|
|
3206
|
+
Valid values: 30 to 900.
|
|
3207
|
+
|
|
3208
|
+
Default value: 30.
|
|
3209
|
+
:param bool slow_start_enabled: Indicates whether slow starts are enabled. Valid values:
|
|
3210
|
+
"""
|
|
3211
|
+
if slow_start_duration is not None:
|
|
3212
|
+
pulumi.set(__self__, "slow_start_duration", slow_start_duration)
|
|
3213
|
+
if slow_start_enabled is not None:
|
|
3214
|
+
pulumi.set(__self__, "slow_start_enabled", slow_start_enabled)
|
|
3215
|
+
|
|
3216
|
+
@property
|
|
3217
|
+
@pulumi.getter(name="slowStartDuration")
|
|
3218
|
+
def slow_start_duration(self) -> Optional[int]:
|
|
3219
|
+
"""
|
|
3220
|
+
The duration of a slow start.
|
|
3221
|
+
|
|
3222
|
+
Valid values: 30 to 900.
|
|
3223
|
+
|
|
3224
|
+
Default value: 30.
|
|
3225
|
+
"""
|
|
3226
|
+
return pulumi.get(self, "slow_start_duration")
|
|
3227
|
+
|
|
3228
|
+
@property
|
|
3229
|
+
@pulumi.getter(name="slowStartEnabled")
|
|
3230
|
+
def slow_start_enabled(self) -> Optional[bool]:
|
|
3231
|
+
"""
|
|
3232
|
+
Indicates whether slow starts are enabled. Valid values:
|
|
3233
|
+
"""
|
|
3234
|
+
return pulumi.get(self, "slow_start_enabled")
|
|
3235
|
+
|
|
3236
|
+
|
|
2672
3237
|
@pulumi.output_type
|
|
2673
3238
|
class ServerGroupStickySessionConfig(dict):
|
|
2674
3239
|
@staticmethod
|
|
@@ -2698,10 +3263,30 @@ class ServerGroupStickySessionConfig(dict):
|
|
|
2698
3263
|
sticky_session_enabled: Optional[bool] = None,
|
|
2699
3264
|
sticky_session_type: Optional[str] = None):
|
|
2700
3265
|
"""
|
|
2701
|
-
:param str cookie: The cookie to be configured on the server.
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
3266
|
+
:param str cookie: The cookie to be configured on the server.
|
|
3267
|
+
|
|
3268
|
+
The cookie must be 1 to 200 characters in length and can contain only ASCII characters and digits. It cannot contain commas (,), semicolons (;), or space characters. It cannot start with a dollar sign ($).
|
|
3269
|
+
|
|
3270
|
+
> **NOTE:** This parameter takes effect when the `StickySessionEnabled` parameter is set to `true` and the `StickySessionType` parameter is set to `Server`.
|
|
3271
|
+
:param int cookie_timeout: The maximum amount of time to wait before the session cookie expires. Unit: seconds.
|
|
3272
|
+
|
|
3273
|
+
Valid values: `1` to `86400`.
|
|
3274
|
+
|
|
3275
|
+
Default value: `1000`.
|
|
3276
|
+
|
|
3277
|
+
> **NOTE:** This parameter takes effect only when `StickySessionEnabled` is set to `true` and `StickySessionType` is set to `Insert`.
|
|
3278
|
+
:param bool sticky_session_enabled: Specifies whether to enable session persistence. Valid values:
|
|
3279
|
+
:param str sticky_session_type: The method that is used to handle a cookie. Valid values:
|
|
3280
|
+
|
|
3281
|
+
* `Insert`: inserts a cookie.
|
|
3282
|
+
|
|
3283
|
+
ALB inserts a cookie (SERVERID) into the first HTTP or HTTPS response packet that is sent to a client. The next request from the client contains this cookie and the listener forwards this request to the recorded backend server.
|
|
3284
|
+
|
|
3285
|
+
* `Server`: rewrites a cookie.
|
|
3286
|
+
|
|
3287
|
+
When ALB detects a user-defined cookie, it overwrites the original cookie with the user-defined cookie. Subsequent requests to ALB carry this user-defined cookie, and ALB determines the destination servers of the requests based on the cookies.
|
|
3288
|
+
|
|
3289
|
+
> **NOTE:** This parameter takes effect when the `StickySessionEnabled` parameter is set to `true` for the server group.
|
|
2705
3290
|
"""
|
|
2706
3291
|
if cookie is not None:
|
|
2707
3292
|
pulumi.set(__self__, "cookie", cookie)
|
|
@@ -2716,7 +3301,11 @@ class ServerGroupStickySessionConfig(dict):
|
|
|
2716
3301
|
@pulumi.getter
|
|
2717
3302
|
def cookie(self) -> Optional[str]:
|
|
2718
3303
|
"""
|
|
2719
|
-
The cookie to be configured on the server.
|
|
3304
|
+
The cookie to be configured on the server.
|
|
3305
|
+
|
|
3306
|
+
The cookie must be 1 to 200 characters in length and can contain only ASCII characters and digits. It cannot contain commas (,), semicolons (;), or space characters. It cannot start with a dollar sign ($).
|
|
3307
|
+
|
|
3308
|
+
> **NOTE:** This parameter takes effect when the `StickySessionEnabled` parameter is set to `true` and the `StickySessionType` parameter is set to `Server`.
|
|
2720
3309
|
"""
|
|
2721
3310
|
return pulumi.get(self, "cookie")
|
|
2722
3311
|
|
|
@@ -2724,7 +3313,13 @@ class ServerGroupStickySessionConfig(dict):
|
|
|
2724
3313
|
@pulumi.getter(name="cookieTimeout")
|
|
2725
3314
|
def cookie_timeout(self) -> Optional[int]:
|
|
2726
3315
|
"""
|
|
2727
|
-
The
|
|
3316
|
+
The maximum amount of time to wait before the session cookie expires. Unit: seconds.
|
|
3317
|
+
|
|
3318
|
+
Valid values: `1` to `86400`.
|
|
3319
|
+
|
|
3320
|
+
Default value: `1000`.
|
|
3321
|
+
|
|
3322
|
+
> **NOTE:** This parameter takes effect only when `StickySessionEnabled` is set to `true` and `StickySessionType` is set to `Insert`.
|
|
2728
3323
|
"""
|
|
2729
3324
|
return pulumi.get(self, "cookie_timeout")
|
|
2730
3325
|
|
|
@@ -2732,7 +3327,7 @@ class ServerGroupStickySessionConfig(dict):
|
|
|
2732
3327
|
@pulumi.getter(name="stickySessionEnabled")
|
|
2733
3328
|
def sticky_session_enabled(self) -> Optional[bool]:
|
|
2734
3329
|
"""
|
|
2735
|
-
Specifies whether to enable session persistence.
|
|
3330
|
+
Specifies whether to enable session persistence. Valid values:
|
|
2736
3331
|
"""
|
|
2737
3332
|
return pulumi.get(self, "sticky_session_enabled")
|
|
2738
3333
|
|
|
@@ -2740,11 +3335,52 @@ class ServerGroupStickySessionConfig(dict):
|
|
|
2740
3335
|
@pulumi.getter(name="stickySessionType")
|
|
2741
3336
|
def sticky_session_type(self) -> Optional[str]:
|
|
2742
3337
|
"""
|
|
2743
|
-
The method that is used to handle a cookie. Valid values:
|
|
3338
|
+
The method that is used to handle a cookie. Valid values:
|
|
3339
|
+
|
|
3340
|
+
* `Insert`: inserts a cookie.
|
|
3341
|
+
|
|
3342
|
+
ALB inserts a cookie (SERVERID) into the first HTTP or HTTPS response packet that is sent to a client. The next request from the client contains this cookie and the listener forwards this request to the recorded backend server.
|
|
3343
|
+
|
|
3344
|
+
* `Server`: rewrites a cookie.
|
|
3345
|
+
|
|
3346
|
+
When ALB detects a user-defined cookie, it overwrites the original cookie with the user-defined cookie. Subsequent requests to ALB carry this user-defined cookie, and ALB determines the destination servers of the requests based on the cookies.
|
|
3347
|
+
|
|
3348
|
+
> **NOTE:** This parameter takes effect when the `StickySessionEnabled` parameter is set to `true` for the server group.
|
|
2744
3349
|
"""
|
|
2745
3350
|
return pulumi.get(self, "sticky_session_type")
|
|
2746
3351
|
|
|
2747
3352
|
|
|
3353
|
+
@pulumi.output_type
|
|
3354
|
+
class ServerGroupUchConfig(dict):
|
|
3355
|
+
def __init__(__self__, *,
|
|
3356
|
+
type: Optional[str] = None,
|
|
3357
|
+
value: Optional[str] = None):
|
|
3358
|
+
"""
|
|
3359
|
+
:param str type: The parameter type. Only QueryString can be filled.
|
|
3360
|
+
:param str value: Consistency hash parameter value
|
|
3361
|
+
"""
|
|
3362
|
+
if type is not None:
|
|
3363
|
+
pulumi.set(__self__, "type", type)
|
|
3364
|
+
if value is not None:
|
|
3365
|
+
pulumi.set(__self__, "value", value)
|
|
3366
|
+
|
|
3367
|
+
@property
|
|
3368
|
+
@pulumi.getter
|
|
3369
|
+
def type(self) -> Optional[str]:
|
|
3370
|
+
"""
|
|
3371
|
+
The parameter type. Only QueryString can be filled.
|
|
3372
|
+
"""
|
|
3373
|
+
return pulumi.get(self, "type")
|
|
3374
|
+
|
|
3375
|
+
@property
|
|
3376
|
+
@pulumi.getter
|
|
3377
|
+
def value(self) -> Optional[str]:
|
|
3378
|
+
"""
|
|
3379
|
+
Consistency hash parameter value
|
|
3380
|
+
"""
|
|
3381
|
+
return pulumi.get(self, "value")
|
|
3382
|
+
|
|
3383
|
+
|
|
2748
3384
|
@pulumi.output_type
|
|
2749
3385
|
class GetAclsAclResult(dict):
|
|
2750
3386
|
def __init__(__self__, *,
|
|
@@ -5152,17 +5788,17 @@ class GetServerGroupsGroupResult(dict):
|
|
|
5152
5788
|
tags: Mapping[str, str],
|
|
5153
5789
|
vpc_id: str):
|
|
5154
5790
|
"""
|
|
5155
|
-
:param Sequence['GetServerGroupsGroupHealthCheckConfigArgs'] health_check_configs: The configuration of health checks.
|
|
5791
|
+
:param Sequence['GetServerGroupsGroupHealthCheckConfigArgs'] health_check_configs: The configuration of health checks. **Note:** `health_check_config` takes effect only if `enable_details` is set to `true`.
|
|
5156
5792
|
:param str id: The ID of the Server Group.
|
|
5157
|
-
:param str protocol: The
|
|
5158
|
-
:param str scheduler: The scheduling algorithm.
|
|
5159
|
-
:param str server_group_id: The
|
|
5160
|
-
:param str server_group_name: The
|
|
5161
|
-
:param Sequence['GetServerGroupsGroupServerArgs'] servers: The backend server.
|
|
5162
|
-
:param str status: The status of the
|
|
5163
|
-
:param Sequence['GetServerGroupsGroupStickySessionConfigArgs'] sticky_session_configs: The configuration of the sticky session.
|
|
5164
|
-
:param Mapping[str, str] tags: A
|
|
5165
|
-
:param str vpc_id: The ID of the
|
|
5793
|
+
:param str protocol: The backend protocol.
|
|
5794
|
+
:param str scheduler: The scheduling algorithm.
|
|
5795
|
+
:param str server_group_id: The ID of the Server Group.
|
|
5796
|
+
:param str server_group_name: The names of the Server Group.
|
|
5797
|
+
:param Sequence['GetServerGroupsGroupServerArgs'] servers: The backend server. **Note:** `servers` takes effect only if `enable_details` is set to `true`.
|
|
5798
|
+
:param str status: The status of the Server Group. Valid values: `Available`, `Configuring`, `Provisioning`.
|
|
5799
|
+
:param Sequence['GetServerGroupsGroupStickySessionConfigArgs'] sticky_session_configs: The configuration of the sticky session. **Note:** `sticky_session_config` takes effect only if `enable_details` is set to `true`.
|
|
5800
|
+
:param Mapping[str, str] tags: A mapping of tags to assign to the resource.
|
|
5801
|
+
:param str vpc_id: The ID of the virtual private cloud (VPC).
|
|
5166
5802
|
"""
|
|
5167
5803
|
pulumi.set(__self__, "health_check_configs", health_check_configs)
|
|
5168
5804
|
pulumi.set(__self__, "id", id)
|
|
@@ -5180,7 +5816,7 @@ class GetServerGroupsGroupResult(dict):
|
|
|
5180
5816
|
@pulumi.getter(name="healthCheckConfigs")
|
|
5181
5817
|
def health_check_configs(self) -> Sequence['outputs.GetServerGroupsGroupHealthCheckConfigResult']:
|
|
5182
5818
|
"""
|
|
5183
|
-
The configuration of health checks.
|
|
5819
|
+
The configuration of health checks. **Note:** `health_check_config` takes effect only if `enable_details` is set to `true`.
|
|
5184
5820
|
"""
|
|
5185
5821
|
return pulumi.get(self, "health_check_configs")
|
|
5186
5822
|
|
|
@@ -5196,7 +5832,7 @@ class GetServerGroupsGroupResult(dict):
|
|
|
5196
5832
|
@pulumi.getter
|
|
5197
5833
|
def protocol(self) -> str:
|
|
5198
5834
|
"""
|
|
5199
|
-
The
|
|
5835
|
+
The backend protocol.
|
|
5200
5836
|
"""
|
|
5201
5837
|
return pulumi.get(self, "protocol")
|
|
5202
5838
|
|
|
@@ -5204,7 +5840,7 @@ class GetServerGroupsGroupResult(dict):
|
|
|
5204
5840
|
@pulumi.getter
|
|
5205
5841
|
def scheduler(self) -> str:
|
|
5206
5842
|
"""
|
|
5207
|
-
The scheduling algorithm.
|
|
5843
|
+
The scheduling algorithm.
|
|
5208
5844
|
"""
|
|
5209
5845
|
return pulumi.get(self, "scheduler")
|
|
5210
5846
|
|
|
@@ -5212,7 +5848,7 @@ class GetServerGroupsGroupResult(dict):
|
|
|
5212
5848
|
@pulumi.getter(name="serverGroupId")
|
|
5213
5849
|
def server_group_id(self) -> str:
|
|
5214
5850
|
"""
|
|
5215
|
-
The
|
|
5851
|
+
The ID of the Server Group.
|
|
5216
5852
|
"""
|
|
5217
5853
|
return pulumi.get(self, "server_group_id")
|
|
5218
5854
|
|
|
@@ -5220,7 +5856,7 @@ class GetServerGroupsGroupResult(dict):
|
|
|
5220
5856
|
@pulumi.getter(name="serverGroupName")
|
|
5221
5857
|
def server_group_name(self) -> str:
|
|
5222
5858
|
"""
|
|
5223
|
-
The
|
|
5859
|
+
The names of the Server Group.
|
|
5224
5860
|
"""
|
|
5225
5861
|
return pulumi.get(self, "server_group_name")
|
|
5226
5862
|
|
|
@@ -5228,7 +5864,7 @@ class GetServerGroupsGroupResult(dict):
|
|
|
5228
5864
|
@pulumi.getter
|
|
5229
5865
|
def servers(self) -> Sequence['outputs.GetServerGroupsGroupServerResult']:
|
|
5230
5866
|
"""
|
|
5231
|
-
The backend server.
|
|
5867
|
+
The backend server. **Note:** `servers` takes effect only if `enable_details` is set to `true`.
|
|
5232
5868
|
"""
|
|
5233
5869
|
return pulumi.get(self, "servers")
|
|
5234
5870
|
|
|
@@ -5236,7 +5872,7 @@ class GetServerGroupsGroupResult(dict):
|
|
|
5236
5872
|
@pulumi.getter
|
|
5237
5873
|
def status(self) -> str:
|
|
5238
5874
|
"""
|
|
5239
|
-
The status of the
|
|
5875
|
+
The status of the Server Group. Valid values: `Available`, `Configuring`, `Provisioning`.
|
|
5240
5876
|
"""
|
|
5241
5877
|
return pulumi.get(self, "status")
|
|
5242
5878
|
|
|
@@ -5244,7 +5880,7 @@ class GetServerGroupsGroupResult(dict):
|
|
|
5244
5880
|
@pulumi.getter(name="stickySessionConfigs")
|
|
5245
5881
|
def sticky_session_configs(self) -> Sequence['outputs.GetServerGroupsGroupStickySessionConfigResult']:
|
|
5246
5882
|
"""
|
|
5247
|
-
The configuration of the sticky session.
|
|
5883
|
+
The configuration of the sticky session. **Note:** `sticky_session_config` takes effect only if `enable_details` is set to `true`.
|
|
5248
5884
|
"""
|
|
5249
5885
|
return pulumi.get(self, "sticky_session_configs")
|
|
5250
5886
|
|
|
@@ -5252,7 +5888,7 @@ class GetServerGroupsGroupResult(dict):
|
|
|
5252
5888
|
@pulumi.getter
|
|
5253
5889
|
def tags(self) -> Mapping[str, str]:
|
|
5254
5890
|
"""
|
|
5255
|
-
A
|
|
5891
|
+
A mapping of tags to assign to the resource.
|
|
5256
5892
|
"""
|
|
5257
5893
|
return pulumi.get(self, "tags")
|
|
5258
5894
|
|
|
@@ -5260,7 +5896,7 @@ class GetServerGroupsGroupResult(dict):
|
|
|
5260
5896
|
@pulumi.getter(name="vpcId")
|
|
5261
5897
|
def vpc_id(self) -> str:
|
|
5262
5898
|
"""
|
|
5263
|
-
The ID of the
|
|
5899
|
+
The ID of the virtual private cloud (VPC).
|
|
5264
5900
|
"""
|
|
5265
5901
|
return pulumi.get(self, "vpc_id")
|
|
5266
5902
|
|
|
@@ -5281,18 +5917,18 @@ class GetServerGroupsGroupHealthCheckConfigResult(dict):
|
|
|
5281
5917
|
healthy_threshold: int,
|
|
5282
5918
|
unhealthy_threshold: int):
|
|
5283
5919
|
"""
|
|
5284
|
-
:param Sequence[str] health_check_codes: The status code for a successful health check. Multiple status codes can be specified as a list.
|
|
5285
|
-
:param int health_check_connect_port: The port of the backend server that is used for health checks.
|
|
5286
|
-
:param bool health_check_enabled: Indicates whether health checks are enabled.
|
|
5920
|
+
:param Sequence[str] health_check_codes: The status code for a successful health check. Multiple status codes can be specified as a list.
|
|
5921
|
+
:param int health_check_connect_port: The port of the backend server that is used for health checks.
|
|
5922
|
+
:param bool health_check_enabled: Indicates whether health checks are enabled.
|
|
5287
5923
|
:param str health_check_host: The domain name that is used for health checks.
|
|
5288
|
-
:param str health_check_http_version: HTTP protocol version.
|
|
5289
|
-
:param int health_check_interval: The time interval between two consecutive health checks.
|
|
5290
|
-
:param str health_check_method: Health check method.
|
|
5291
|
-
:param str health_check_path: The forwarding rule path of health checks.
|
|
5292
|
-
:param str health_check_protocol: Health check protocol.
|
|
5293
|
-
:param int health_check_timeout: The timeout period of a health check response. If a backend Elastic Compute Service (ECS) instance does not send an expected response within the specified period of time, the ECS instance is considered unhealthy.
|
|
5294
|
-
:param int healthy_threshold: The number of health checks that an unhealthy backend server must pass consecutively before it is declared healthy. In this case, the health check state is changed from fail to success.
|
|
5295
|
-
:param int unhealthy_threshold: The number of consecutive health checks that a healthy backend server must consecutively fail before it is declared unhealthy. In this case, the health check state is changed from success to fail.
|
|
5924
|
+
:param str health_check_http_version: HTTP protocol version.
|
|
5925
|
+
:param int health_check_interval: The time interval between two consecutive health checks.
|
|
5926
|
+
:param str health_check_method: Health check method.
|
|
5927
|
+
:param str health_check_path: The forwarding rule path of health checks.
|
|
5928
|
+
:param str health_check_protocol: Health check protocol.
|
|
5929
|
+
:param int health_check_timeout: The timeout period of a health check response. If a backend Elastic Compute Service (ECS) instance does not send an expected response within the specified period of time, the ECS instance is considered unhealthy.
|
|
5930
|
+
:param int healthy_threshold: The number of health checks that an unhealthy backend server must pass consecutively before it is declared healthy. In this case, the health check state is changed from fail to success.
|
|
5931
|
+
:param int unhealthy_threshold: The number of consecutive health checks that a healthy backend server must consecutively fail before it is declared unhealthy. In this case, the health check state is changed from success to fail.
|
|
5296
5932
|
"""
|
|
5297
5933
|
pulumi.set(__self__, "health_check_codes", health_check_codes)
|
|
5298
5934
|
pulumi.set(__self__, "health_check_connect_port", health_check_connect_port)
|
|
@@ -5311,7 +5947,7 @@ class GetServerGroupsGroupHealthCheckConfigResult(dict):
|
|
|
5311
5947
|
@pulumi.getter(name="healthCheckCodes")
|
|
5312
5948
|
def health_check_codes(self) -> Sequence[str]:
|
|
5313
5949
|
"""
|
|
5314
|
-
The status code for a successful health check. Multiple status codes can be specified as a list.
|
|
5950
|
+
The status code for a successful health check. Multiple status codes can be specified as a list.
|
|
5315
5951
|
"""
|
|
5316
5952
|
return pulumi.get(self, "health_check_codes")
|
|
5317
5953
|
|
|
@@ -5319,7 +5955,7 @@ class GetServerGroupsGroupHealthCheckConfigResult(dict):
|
|
|
5319
5955
|
@pulumi.getter(name="healthCheckConnectPort")
|
|
5320
5956
|
def health_check_connect_port(self) -> int:
|
|
5321
5957
|
"""
|
|
5322
|
-
The port of the backend server that is used for health checks.
|
|
5958
|
+
The port of the backend server that is used for health checks.
|
|
5323
5959
|
"""
|
|
5324
5960
|
return pulumi.get(self, "health_check_connect_port")
|
|
5325
5961
|
|
|
@@ -5327,7 +5963,7 @@ class GetServerGroupsGroupHealthCheckConfigResult(dict):
|
|
|
5327
5963
|
@pulumi.getter(name="healthCheckEnabled")
|
|
5328
5964
|
def health_check_enabled(self) -> bool:
|
|
5329
5965
|
"""
|
|
5330
|
-
Indicates whether health checks are enabled.
|
|
5966
|
+
Indicates whether health checks are enabled.
|
|
5331
5967
|
"""
|
|
5332
5968
|
return pulumi.get(self, "health_check_enabled")
|
|
5333
5969
|
|
|
@@ -5343,7 +5979,7 @@ class GetServerGroupsGroupHealthCheckConfigResult(dict):
|
|
|
5343
5979
|
@pulumi.getter(name="healthCheckHttpVersion")
|
|
5344
5980
|
def health_check_http_version(self) -> str:
|
|
5345
5981
|
"""
|
|
5346
|
-
HTTP protocol version.
|
|
5982
|
+
HTTP protocol version.
|
|
5347
5983
|
"""
|
|
5348
5984
|
return pulumi.get(self, "health_check_http_version")
|
|
5349
5985
|
|
|
@@ -5351,7 +5987,7 @@ class GetServerGroupsGroupHealthCheckConfigResult(dict):
|
|
|
5351
5987
|
@pulumi.getter(name="healthCheckInterval")
|
|
5352
5988
|
def health_check_interval(self) -> int:
|
|
5353
5989
|
"""
|
|
5354
|
-
The time interval between two consecutive health checks.
|
|
5990
|
+
The time interval between two consecutive health checks.
|
|
5355
5991
|
"""
|
|
5356
5992
|
return pulumi.get(self, "health_check_interval")
|
|
5357
5993
|
|
|
@@ -5359,7 +5995,7 @@ class GetServerGroupsGroupHealthCheckConfigResult(dict):
|
|
|
5359
5995
|
@pulumi.getter(name="healthCheckMethod")
|
|
5360
5996
|
def health_check_method(self) -> str:
|
|
5361
5997
|
"""
|
|
5362
|
-
Health check method.
|
|
5998
|
+
Health check method.
|
|
5363
5999
|
"""
|
|
5364
6000
|
return pulumi.get(self, "health_check_method")
|
|
5365
6001
|
|
|
@@ -5367,7 +6003,7 @@ class GetServerGroupsGroupHealthCheckConfigResult(dict):
|
|
|
5367
6003
|
@pulumi.getter(name="healthCheckPath")
|
|
5368
6004
|
def health_check_path(self) -> str:
|
|
5369
6005
|
"""
|
|
5370
|
-
The forwarding rule path of health checks.
|
|
6006
|
+
The forwarding rule path of health checks.
|
|
5371
6007
|
"""
|
|
5372
6008
|
return pulumi.get(self, "health_check_path")
|
|
5373
6009
|
|
|
@@ -5375,7 +6011,7 @@ class GetServerGroupsGroupHealthCheckConfigResult(dict):
|
|
|
5375
6011
|
@pulumi.getter(name="healthCheckProtocol")
|
|
5376
6012
|
def health_check_protocol(self) -> str:
|
|
5377
6013
|
"""
|
|
5378
|
-
Health check protocol.
|
|
6014
|
+
Health check protocol.
|
|
5379
6015
|
"""
|
|
5380
6016
|
return pulumi.get(self, "health_check_protocol")
|
|
5381
6017
|
|
|
@@ -5383,7 +6019,7 @@ class GetServerGroupsGroupHealthCheckConfigResult(dict):
|
|
|
5383
6019
|
@pulumi.getter(name="healthCheckTimeout")
|
|
5384
6020
|
def health_check_timeout(self) -> int:
|
|
5385
6021
|
"""
|
|
5386
|
-
The timeout period of a health check response. If a backend Elastic Compute Service (ECS) instance does not send an expected response within the specified period of time, the ECS instance is considered unhealthy.
|
|
6022
|
+
The timeout period of a health check response. If a backend Elastic Compute Service (ECS) instance does not send an expected response within the specified period of time, the ECS instance is considered unhealthy.
|
|
5387
6023
|
"""
|
|
5388
6024
|
return pulumi.get(self, "health_check_timeout")
|
|
5389
6025
|
|
|
@@ -5391,7 +6027,7 @@ class GetServerGroupsGroupHealthCheckConfigResult(dict):
|
|
|
5391
6027
|
@pulumi.getter(name="healthyThreshold")
|
|
5392
6028
|
def healthy_threshold(self) -> int:
|
|
5393
6029
|
"""
|
|
5394
|
-
The number of health checks that an unhealthy backend server must pass consecutively before it is declared healthy. In this case, the health check state is changed from fail to success.
|
|
6030
|
+
The number of health checks that an unhealthy backend server must pass consecutively before it is declared healthy. In this case, the health check state is changed from fail to success.
|
|
5395
6031
|
"""
|
|
5396
6032
|
return pulumi.get(self, "healthy_threshold")
|
|
5397
6033
|
|
|
@@ -5399,7 +6035,7 @@ class GetServerGroupsGroupHealthCheckConfigResult(dict):
|
|
|
5399
6035
|
@pulumi.getter(name="unhealthyThreshold")
|
|
5400
6036
|
def unhealthy_threshold(self) -> int:
|
|
5401
6037
|
"""
|
|
5402
|
-
The number of consecutive health checks that a healthy backend server must consecutively fail before it is declared unhealthy. In this case, the health check state is changed from success to fail.
|
|
6038
|
+
The number of consecutive health checks that a healthy backend server must consecutively fail before it is declared unhealthy. In this case, the health check state is changed from success to fail.
|
|
5403
6039
|
"""
|
|
5404
6040
|
return pulumi.get(self, "unhealthy_threshold")
|
|
5405
6041
|
|
|
@@ -5416,12 +6052,12 @@ class GetServerGroupsGroupServerResult(dict):
|
|
|
5416
6052
|
weight: int):
|
|
5417
6053
|
"""
|
|
5418
6054
|
:param str description: The description of the server.
|
|
5419
|
-
:param int port: The port that is used by the server.
|
|
6055
|
+
:param int port: The port that is used by the server.
|
|
5420
6056
|
:param str server_id: The ID of the ECS instance, ENI instance or ECI instance.
|
|
5421
6057
|
:param str server_ip: The IP address of the ENI instance when it is in the inclusive ENI mode.
|
|
5422
|
-
:param str server_type: The type of the server. The type of the server.
|
|
5423
|
-
:param str status: The status of the
|
|
5424
|
-
:param int weight: The weight of the server.
|
|
6058
|
+
:param str server_type: The type of the server. The type of the server.
|
|
6059
|
+
:param str status: The status of the Server Group. Valid values: `Available`, `Configuring`, `Provisioning`.
|
|
6060
|
+
:param int weight: The weight of the server.
|
|
5425
6061
|
"""
|
|
5426
6062
|
pulumi.set(__self__, "description", description)
|
|
5427
6063
|
pulumi.set(__self__, "port", port)
|
|
@@ -5443,7 +6079,7 @@ class GetServerGroupsGroupServerResult(dict):
|
|
|
5443
6079
|
@pulumi.getter
|
|
5444
6080
|
def port(self) -> int:
|
|
5445
6081
|
"""
|
|
5446
|
-
The port that is used by the server.
|
|
6082
|
+
The port that is used by the server.
|
|
5447
6083
|
"""
|
|
5448
6084
|
return pulumi.get(self, "port")
|
|
5449
6085
|
|
|
@@ -5467,7 +6103,7 @@ class GetServerGroupsGroupServerResult(dict):
|
|
|
5467
6103
|
@pulumi.getter(name="serverType")
|
|
5468
6104
|
def server_type(self) -> str:
|
|
5469
6105
|
"""
|
|
5470
|
-
The type of the server. The type of the server.
|
|
6106
|
+
The type of the server. The type of the server.
|
|
5471
6107
|
"""
|
|
5472
6108
|
return pulumi.get(self, "server_type")
|
|
5473
6109
|
|
|
@@ -5475,7 +6111,7 @@ class GetServerGroupsGroupServerResult(dict):
|
|
|
5475
6111
|
@pulumi.getter
|
|
5476
6112
|
def status(self) -> str:
|
|
5477
6113
|
"""
|
|
5478
|
-
The status of the
|
|
6114
|
+
The status of the Server Group. Valid values: `Available`, `Configuring`, `Provisioning`.
|
|
5479
6115
|
"""
|
|
5480
6116
|
return pulumi.get(self, "status")
|
|
5481
6117
|
|
|
@@ -5483,7 +6119,7 @@ class GetServerGroupsGroupServerResult(dict):
|
|
|
5483
6119
|
@pulumi.getter
|
|
5484
6120
|
def weight(self) -> int:
|
|
5485
6121
|
"""
|
|
5486
|
-
The weight of the server.
|
|
6122
|
+
The weight of the server.
|
|
5487
6123
|
"""
|
|
5488
6124
|
return pulumi.get(self, "weight")
|
|
5489
6125
|
|
|
@@ -5496,10 +6132,10 @@ class GetServerGroupsGroupStickySessionConfigResult(dict):
|
|
|
5496
6132
|
sticky_session_enabled: bool,
|
|
5497
6133
|
sticky_session_type: str):
|
|
5498
6134
|
"""
|
|
5499
|
-
:param str cookie: the cookie that is configured on the server.
|
|
5500
|
-
:param int cookie_timeout: The timeout period of a cookie. The timeout period of a cookie.
|
|
5501
|
-
:param bool sticky_session_enabled: Indicates whether sticky session is enabled.
|
|
5502
|
-
:param str sticky_session_type: The method that is used to handle a cookie.
|
|
6135
|
+
:param str cookie: the cookie that is configured on the server.
|
|
6136
|
+
:param int cookie_timeout: The timeout period of a cookie. The timeout period of a cookie.
|
|
6137
|
+
:param bool sticky_session_enabled: Indicates whether sticky session is enabled.
|
|
6138
|
+
:param str sticky_session_type: The method that is used to handle a cookie.
|
|
5503
6139
|
"""
|
|
5504
6140
|
pulumi.set(__self__, "cookie", cookie)
|
|
5505
6141
|
pulumi.set(__self__, "cookie_timeout", cookie_timeout)
|
|
@@ -5510,7 +6146,7 @@ class GetServerGroupsGroupStickySessionConfigResult(dict):
|
|
|
5510
6146
|
@pulumi.getter
|
|
5511
6147
|
def cookie(self) -> str:
|
|
5512
6148
|
"""
|
|
5513
|
-
the cookie that is configured on the server.
|
|
6149
|
+
the cookie that is configured on the server.
|
|
5514
6150
|
"""
|
|
5515
6151
|
return pulumi.get(self, "cookie")
|
|
5516
6152
|
|
|
@@ -5518,7 +6154,7 @@ class GetServerGroupsGroupStickySessionConfigResult(dict):
|
|
|
5518
6154
|
@pulumi.getter(name="cookieTimeout")
|
|
5519
6155
|
def cookie_timeout(self) -> int:
|
|
5520
6156
|
"""
|
|
5521
|
-
The timeout period of a cookie. The timeout period of a cookie.
|
|
6157
|
+
The timeout period of a cookie. The timeout period of a cookie.
|
|
5522
6158
|
"""
|
|
5523
6159
|
return pulumi.get(self, "cookie_timeout")
|
|
5524
6160
|
|
|
@@ -5526,7 +6162,7 @@ class GetServerGroupsGroupStickySessionConfigResult(dict):
|
|
|
5526
6162
|
@pulumi.getter(name="stickySessionEnabled")
|
|
5527
6163
|
def sticky_session_enabled(self) -> bool:
|
|
5528
6164
|
"""
|
|
5529
|
-
Indicates whether sticky session is enabled.
|
|
6165
|
+
Indicates whether sticky session is enabled.
|
|
5530
6166
|
"""
|
|
5531
6167
|
return pulumi.get(self, "sticky_session_enabled")
|
|
5532
6168
|
|
|
@@ -5534,7 +6170,7 @@ class GetServerGroupsGroupStickySessionConfigResult(dict):
|
|
|
5534
6170
|
@pulumi.getter(name="stickySessionType")
|
|
5535
6171
|
def sticky_session_type(self) -> str:
|
|
5536
6172
|
"""
|
|
5537
|
-
The method that is used to handle a cookie.
|
|
6173
|
+
The method that is used to handle a cookie.
|
|
5538
6174
|
"""
|
|
5539
6175
|
return pulumi.get(self, "sticky_session_type")
|
|
5540
6176
|
|