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.

Files changed (197) hide show
  1. pulumi_alicloud/__init__.py +310 -0
  2. pulumi_alicloud/_inputs.py +33 -0
  3. pulumi_alicloud/_utilities.py +8 -4
  4. pulumi_alicloud/ackone/__init__.py +1 -0
  5. pulumi_alicloud/ackone/cluster.py +73 -8
  6. pulumi_alicloud/ackone/membership_attachment.py +223 -0
  7. pulumi_alicloud/alb/__init__.py +1 -0
  8. pulumi_alicloud/alb/_inputs.py +1109 -246
  9. pulumi_alicloud/alb/get_server_groups.py +55 -25
  10. pulumi_alicloud/alb/listener.py +269 -174
  11. pulumi_alicloud/alb/load_balancer.py +211 -118
  12. pulumi_alicloud/alb/load_balancer_security_group_attachment.py +69 -22
  13. pulumi_alicloud/alb/load_balancer_zone_shifted_attachment.py +303 -0
  14. pulumi_alicloud/alb/outputs.py +856 -220
  15. pulumi_alicloud/alb/server_group.py +661 -96
  16. pulumi_alicloud/aligreen/audit_callback.py +2 -2
  17. pulumi_alicloud/aligreen/biz_type.py +2 -2
  18. pulumi_alicloud/aligreen/callback.py +2 -2
  19. pulumi_alicloud/aligreen/image_lib.py +2 -2
  20. pulumi_alicloud/aligreen/keyword_lib.py +2 -2
  21. pulumi_alicloud/aligreen/oss_stock_task.py +77 -14
  22. pulumi_alicloud/apigateway/instance.py +51 -4
  23. pulumi_alicloud/cen/_inputs.py +34 -0
  24. pulumi_alicloud/cen/outputs.py +37 -0
  25. pulumi_alicloud/cen/transit_router_multicast_domain.py +123 -36
  26. pulumi_alicloud/cfg/aggregate_compliance_pack.py +6 -4
  27. pulumi_alicloud/cfg/aggregate_config_rule.py +6 -4
  28. pulumi_alicloud/cfg/aggregator.py +6 -4
  29. pulumi_alicloud/cloudcontrol/get_prices.py +2 -2
  30. pulumi_alicloud/cloudcontrol/get_products.py +2 -2
  31. pulumi_alicloud/cloudcontrol/get_resource_types.py +2 -2
  32. pulumi_alicloud/cloudcontrol/resource.py +2 -2
  33. pulumi_alicloud/cloudfirewall/__init__.py +2 -0
  34. pulumi_alicloud/cloudfirewall/get_nat_firewalls.py +315 -0
  35. pulumi_alicloud/cloudfirewall/get_vpc_cen_tr_firewalls.py +569 -0
  36. pulumi_alicloud/cloudfirewall/outputs.py +362 -0
  37. pulumi_alicloud/cloudphone/__init__.py +12 -0
  38. pulumi_alicloud/cloudphone/_inputs.py +175 -0
  39. pulumi_alicloud/cloudphone/image.py +323 -0
  40. pulumi_alicloud/cloudphone/key_pair.py +294 -0
  41. pulumi_alicloud/cloudphone/outputs.py +138 -0
  42. pulumi_alicloud/cloudphone/policy.py +522 -0
  43. pulumi_alicloud/cloudphoneinstance/__init__.py +9 -0
  44. pulumi_alicloud/cloudphoneinstance/cloud_phone_instance.py +209 -0
  45. pulumi_alicloud/cloudphoneinstance/group.py +961 -0
  46. pulumi_alicloud/cms/get_site_monitors.py +2 -2
  47. pulumi_alicloud/config/outputs.py +20 -0
  48. pulumi_alicloud/cs/_inputs.py +358 -10
  49. pulumi_alicloud/cs/get_kubernetes_clusters.py +5 -4
  50. pulumi_alicloud/cs/get_managed_kubernetes_clusters.py +5 -4
  51. pulumi_alicloud/cs/get_serverless_kubernetes_clusters.py +5 -4
  52. pulumi_alicloud/cs/kubernetes.py +15 -15
  53. pulumi_alicloud/cs/managed_kubernetes.py +47 -35
  54. pulumi_alicloud/cs/node_pool.py +126 -23
  55. pulumi_alicloud/cs/outputs.py +271 -7
  56. pulumi_alicloud/ddos/ddos_bgp_instance.py +0 -4
  57. pulumi_alicloud/dfs/file_system.py +62 -23
  58. pulumi_alicloud/dfs/mount_point.py +48 -22
  59. pulumi_alicloud/dfs/vsc_mount_point.py +28 -28
  60. pulumi_alicloud/dns/ddos_bgp_instance.py +0 -4
  61. pulumi_alicloud/ebs/replica_group_drill.py +2 -2
  62. pulumi_alicloud/ebs/replica_pair_drill.py +2 -2
  63. pulumi_alicloud/ecs/ecs_deployment_set.py +89 -67
  64. pulumi_alicloud/ecs/eip.py +1 -1
  65. pulumi_alicloud/ecs/eip_address.py +1 -1
  66. pulumi_alicloud/ecs/instance.py +43 -30
  67. pulumi_alicloud/eds/command.py +10 -2
  68. pulumi_alicloud/emrv2/__init__.py +1 -0
  69. pulumi_alicloud/emrv2/_inputs.py +47 -7
  70. pulumi_alicloud/emrv2/get_cluster_instances.py +537 -0
  71. pulumi_alicloud/emrv2/outputs.py +195 -5
  72. pulumi_alicloud/ens/instance_security_group_attachment.py +8 -4
  73. pulumi_alicloud/ens/nat_gateway.py +6 -6
  74. pulumi_alicloud/ens/vswitch.py +36 -36
  75. pulumi_alicloud/esa/__init__.py +22 -0
  76. pulumi_alicloud/esa/_inputs.py +512 -0
  77. pulumi_alicloud/esa/cache_rule.py +1405 -0
  78. pulumi_alicloud/esa/certificate.py +724 -0
  79. pulumi_alicloud/esa/client_ca_certificate.py +388 -0
  80. pulumi_alicloud/esa/client_certificate.py +452 -0
  81. pulumi_alicloud/esa/compression_rule.py +582 -0
  82. pulumi_alicloud/esa/get_sites.py +421 -0
  83. pulumi_alicloud/esa/http_request_header_modification_rule.py +531 -0
  84. pulumi_alicloud/esa/http_response_header_modification_rule.py +560 -0
  85. pulumi_alicloud/esa/https_application_configuration.py +925 -0
  86. pulumi_alicloud/esa/https_basic_configuration.py +1027 -0
  87. pulumi_alicloud/esa/image_transform.py +484 -0
  88. pulumi_alicloud/esa/kv_namespace.py +276 -0
  89. pulumi_alicloud/esa/list.py +361 -0
  90. pulumi_alicloud/esa/network_optimization.py +750 -0
  91. pulumi_alicloud/esa/origin_pool.py +485 -0
  92. pulumi_alicloud/esa/origin_rule.py +768 -0
  93. pulumi_alicloud/esa/outputs.py +473 -0
  94. pulumi_alicloud/esa/page.py +376 -0
  95. pulumi_alicloud/esa/rate_plan_instance.py +63 -7
  96. pulumi_alicloud/esa/record.py +2 -2
  97. pulumi_alicloud/esa/redirect_rule.py +734 -0
  98. pulumi_alicloud/esa/rewrite_url_rule.py +702 -0
  99. pulumi_alicloud/esa/site.py +307 -2
  100. pulumi_alicloud/esa/waiting_room.py +1257 -0
  101. pulumi_alicloud/esa/waiting_room_event.py +1392 -0
  102. pulumi_alicloud/esa/waiting_room_rule.py +504 -0
  103. pulumi_alicloud/ess/get_scaling_groups.py +64 -10
  104. pulumi_alicloud/ess/get_scaling_rules.py +74 -10
  105. pulumi_alicloud/ess/outputs.py +357 -17
  106. pulumi_alicloud/ess/scaling_configuration.py +7 -7
  107. pulumi_alicloud/eventbridge/get_service.py +2 -6
  108. pulumi_alicloud/expressconnect/ec_failover_test_job.py +0 -2
  109. pulumi_alicloud/expressconnect/vbr_pconn_association.py +2 -2
  110. pulumi_alicloud/fc/_inputs.py +75 -75
  111. pulumi_alicloud/fc/outputs.py +50 -50
  112. pulumi_alicloud/fc/v3_function.py +53 -6
  113. pulumi_alicloud/ga/get_basic_accelerators.py +31 -9
  114. pulumi_alicloud/ga/outputs.py +10 -4
  115. pulumi_alicloud/gpdb/db_resource_group.py +6 -6
  116. pulumi_alicloud/gpdb/external_data_service.py +6 -6
  117. pulumi_alicloud/gpdb/streaming_data_service.py +2 -2
  118. pulumi_alicloud/hbr/policy.py +67 -6
  119. pulumi_alicloud/hbr/vault.py +210 -9
  120. pulumi_alicloud/kms/__init__.py +1 -0
  121. pulumi_alicloud/kms/get_instances.py +160 -0
  122. pulumi_alicloud/kms/get_keys.py +10 -0
  123. pulumi_alicloud/kms/instance.py +0 -60
  124. pulumi_alicloud/kms/outputs.py +19 -0
  125. pulumi_alicloud/maxcompute/__init__.py +5 -0
  126. pulumi_alicloud/maxcompute/_inputs.py +615 -42
  127. pulumi_alicloud/maxcompute/outputs.py +486 -28
  128. pulumi_alicloud/maxcompute/project.py +63 -31
  129. pulumi_alicloud/maxcompute/quota_plan.py +412 -0
  130. pulumi_alicloud/maxcompute/quota_schedule.py +260 -0
  131. pulumi_alicloud/maxcompute/role.py +423 -0
  132. pulumi_alicloud/maxcompute/role_user_attachment.py +368 -0
  133. pulumi_alicloud/maxcompute/tunnel_quota_timer.py +287 -0
  134. pulumi_alicloud/message/__init__.py +3 -0
  135. pulumi_alicloud/message/_inputs.py +149 -0
  136. pulumi_alicloud/message/outputs.py +112 -0
  137. pulumi_alicloud/message/service_endpoint.py +218 -0
  138. pulumi_alicloud/message/service_endpoint_acl.py +306 -0
  139. pulumi_alicloud/message/service_queue.py +49 -0
  140. pulumi_alicloud/message/service_subscription.py +91 -14
  141. pulumi_alicloud/mse/nacos_config.py +4 -0
  142. pulumi_alicloud/nlb/_inputs.py +114 -24
  143. pulumi_alicloud/nlb/listener.py +87 -20
  144. pulumi_alicloud/nlb/outputs.py +93 -16
  145. pulumi_alicloud/nlb/server_group.py +55 -20
  146. pulumi_alicloud/ots/_inputs.py +3 -3
  147. pulumi_alicloud/ots/outputs.py +2 -2
  148. pulumi_alicloud/pai/workspace_code_source.py +2 -2
  149. pulumi_alicloud/pai/workspace_dataset.py +2 -2
  150. pulumi_alicloud/pai/workspace_datasetversion.py +2 -4
  151. pulumi_alicloud/pai/workspace_experiment.py +2 -2
  152. pulumi_alicloud/pai/workspace_run.py +2 -2
  153. pulumi_alicloud/pai/workspace_workspace.py +2 -2
  154. pulumi_alicloud/privatelink/get_vpc_endpoints.py +21 -1
  155. pulumi_alicloud/privatelink/outputs.py +11 -0
  156. pulumi_alicloud/privatelink/vpc_endpoint.py +1 -1
  157. pulumi_alicloud/pulumi-plugin.json +1 -1
  158. pulumi_alicloud/ram/access_key.py +20 -4
  159. pulumi_alicloud/ram/user.py +10 -2
  160. pulumi_alicloud/rds/instance.py +75 -0
  161. pulumi_alicloud/simpleapplicationserver/get_server_plans.py +7 -7
  162. pulumi_alicloud/simpleapplicationserver/outputs.py +3 -3
  163. pulumi_alicloud/tag/__init__.py +1 -0
  164. pulumi_alicloud/tag/associated_rule.py +306 -0
  165. pulumi_alicloud/tag/policy.py +27 -36
  166. pulumi_alicloud/vpc/__init__.py +2 -0
  167. pulumi_alicloud/vpc/common_bandwith_package.py +107 -44
  168. pulumi_alicloud/vpc/common_bandwith_package_attachment.py +2 -2
  169. pulumi_alicloud/vpc/flow_log.py +184 -49
  170. pulumi_alicloud/vpc/forward_entry.py +8 -4
  171. pulumi_alicloud/vpc/get_enhanced_nat_available_zones.py +38 -2
  172. pulumi_alicloud/vpc/get_forward_entries.py +2 -2
  173. pulumi_alicloud/vpc/get_ipsec_servers.py +14 -2
  174. pulumi_alicloud/vpc/get_nat_gateways.py +48 -2
  175. pulumi_alicloud/vpc/get_prefix_lists.py +11 -2
  176. pulumi_alicloud/vpc/get_snat_entries.py +5 -2
  177. pulumi_alicloud/vpc/get_traffic_mirror_filters.py +14 -2
  178. pulumi_alicloud/vpc/ipam_ipam.py +2 -9
  179. pulumi_alicloud/vpc/ipam_ipam_pool.py +49 -30
  180. pulumi_alicloud/vpc/ipam_ipam_pool_allocation.py +6 -16
  181. pulumi_alicloud/vpc/ipam_ipam_pool_cidr.py +2 -2
  182. pulumi_alicloud/vpc/ipam_ipam_resource_discovery.py +489 -0
  183. pulumi_alicloud/vpc/ipam_ipam_scope.py +49 -9
  184. pulumi_alicloud/vpc/ipam_service.py +144 -0
  185. pulumi_alicloud/vpc/ipv4_cidr_block.py +162 -51
  186. pulumi_alicloud/vpc/nat_gateway.py +8 -0
  187. pulumi_alicloud/vpc/outputs.py +12 -2
  188. pulumi_alicloud/vpc/router_interface_connection.py +4 -4
  189. pulumi_alicloud/vpc/traffic_mirror_filter.py +2 -2
  190. pulumi_alicloud/vpn/get_gateway_vco_routes.py +11 -2
  191. pulumi_alicloud/vpn/get_gateway_vpn_attachments.py +11 -2
  192. pulumi_alicloud/vpn/get_gateways.py +21 -1
  193. pulumi_alicloud/vpn/outputs.py +23 -12
  194. {pulumi_alicloud-3.74.0a1737782319.dist-info → pulumi_alicloud-3.75.0.dist-info}/METADATA +1 -1
  195. {pulumi_alicloud-3.74.0a1737782319.dist-info → pulumi_alicloud-3.75.0.dist-info}/RECORD +197 -149
  196. {pulumi_alicloud-3.74.0a1737782319.dist-info → pulumi_alicloud-3.75.0.dist-info}/WHEEL +1 -1
  197. {pulumi_alicloud-3.74.0a1737782319.dist-info → pulumi_alicloud-3.75.0.dist-info}/top_level.txt +0 -0
@@ -13,6 +13,8 @@ if sys.version_info >= (3, 11):
13
13
  else:
14
14
  from typing_extensions import NotRequired, TypedDict, TypeAlias
15
15
  from .. import _utilities
16
+ from . import outputs
17
+ from ._inputs import *
16
18
 
17
19
  __all__ = ['ListenerArgs', 'Listener']
18
20
 
@@ -33,6 +35,7 @@ class ListenerArgs:
33
35
  idle_timeout: Optional[pulumi.Input[int]] = None,
34
36
  listener_description: Optional[pulumi.Input[str]] = None,
35
37
  mss: Optional[pulumi.Input[int]] = None,
38
+ proxy_protocol_config: Optional[pulumi.Input['ListenerProxyProtocolConfigArgs']] = None,
36
39
  proxy_protocol_enabled: Optional[pulumi.Input[bool]] = None,
37
40
  sec_sensor_enabled: Optional[pulumi.Input[bool]] = None,
38
41
  security_policy_id: Optional[pulumi.Input[str]] = None,
@@ -42,7 +45,6 @@ class ListenerArgs:
42
45
  """
43
46
  The set of arguments for constructing a Listener resource.
44
47
  :param pulumi.Input[int] listener_port: The listener port. Valid values: `0` to `65535`.
45
-
46
48
  If you set the value to `0`, the listener listens by port range. If you set the value to `0`, you must specify `StartPort` and `EndPort`.
47
49
  :param pulumi.Input[str] listener_protocol: The listening protocol. Valid values: `TCP`, `UDP`, and `TCPSSL`.
48
50
  :param pulumi.Input[str] load_balancer_id: The ID of the Network Load Balancer (NLB) instance.
@@ -70,11 +72,11 @@ class ListenerArgs:
70
72
  > **NOTE:** This parameter is required when `ListenerPort` is set to `0`.
71
73
  :param pulumi.Input[int] idle_timeout: The timeout period of idle connections. Unit: seconds. Valid values: `1` to `900`. Default value: `900`.
72
74
  :param pulumi.Input[str] listener_description: Enter a name for the listener.
73
-
74
75
  The description must be 2 to 256 characters in length, and can contain letters, digits, commas (,), periods (.), semicolons (;), forward slashes (/), at signs (@), underscores (\\_), and hyphens (-).
75
76
  :param pulumi.Input[int] mss: The maximum size of a TCP segment. Unit: bytes. Valid values: `0` to `1500`. `0` specifies that the maximum segment size remains unchanged.
76
77
 
77
78
  > **NOTE:** This parameter is supported only by TCP listeners and listeners that use SSL over TCP.
79
+ :param pulumi.Input['ListenerProxyProtocolConfigArgs'] proxy_protocol_config: The Proxy Protocol is used to carry the VpcId, PrivateLinkEpId, and PrivateLinkEpsId information to the backend server for configuration. See `proxy_protocol_config` below.
78
80
  :param pulumi.Input[bool] proxy_protocol_enabled: Specifies whether to use the Proxy protocol to pass client IP addresses to backend servers. Valid values:
79
81
  :param pulumi.Input[bool] sec_sensor_enabled: Specifies whether to enable fine-grained monitoring. Valid values:
80
82
  :param pulumi.Input[str] security_policy_id: The security policy ID. System security policies and custom security policies are supported.
@@ -112,6 +114,8 @@ class ListenerArgs:
112
114
  pulumi.set(__self__, "listener_description", listener_description)
113
115
  if mss is not None:
114
116
  pulumi.set(__self__, "mss", mss)
117
+ if proxy_protocol_config is not None:
118
+ pulumi.set(__self__, "proxy_protocol_config", proxy_protocol_config)
115
119
  if proxy_protocol_enabled is not None:
116
120
  pulumi.set(__self__, "proxy_protocol_enabled", proxy_protocol_enabled)
117
121
  if sec_sensor_enabled is not None:
@@ -130,7 +134,6 @@ class ListenerArgs:
130
134
  def listener_port(self) -> pulumi.Input[int]:
131
135
  """
132
136
  The listener port. Valid values: `0` to `65535`.
133
-
134
137
  If you set the value to `0`, the listener listens by port range. If you set the value to `0`, you must specify `StartPort` and `EndPort`.
135
138
  """
136
139
  return pulumi.get(self, "listener_port")
@@ -290,7 +293,6 @@ class ListenerArgs:
290
293
  def listener_description(self) -> Optional[pulumi.Input[str]]:
291
294
  """
292
295
  Enter a name for the listener.
293
-
294
296
  The description must be 2 to 256 characters in length, and can contain letters, digits, commas (,), periods (.), semicolons (;), forward slashes (/), at signs (@), underscores (\\_), and hyphens (-).
295
297
  """
296
298
  return pulumi.get(self, "listener_description")
@@ -313,6 +315,18 @@ class ListenerArgs:
313
315
  def mss(self, value: Optional[pulumi.Input[int]]):
314
316
  pulumi.set(self, "mss", value)
315
317
 
318
+ @property
319
+ @pulumi.getter(name="proxyProtocolConfig")
320
+ def proxy_protocol_config(self) -> Optional[pulumi.Input['ListenerProxyProtocolConfigArgs']]:
321
+ """
322
+ The Proxy Protocol is used to carry the VpcId, PrivateLinkEpId, and PrivateLinkEpsId information to the backend server for configuration. See `proxy_protocol_config` below.
323
+ """
324
+ return pulumi.get(self, "proxy_protocol_config")
325
+
326
+ @proxy_protocol_config.setter
327
+ def proxy_protocol_config(self, value: Optional[pulumi.Input['ListenerProxyProtocolConfigArgs']]):
328
+ pulumi.set(self, "proxy_protocol_config", value)
329
+
316
330
  @property
317
331
  @pulumi.getter(name="proxyProtocolEnabled")
318
332
  def proxy_protocol_enabled(self) -> Optional[pulumi.Input[bool]]:
@@ -408,7 +422,9 @@ class _ListenerState:
408
422
  listener_protocol: Optional[pulumi.Input[str]] = None,
409
423
  load_balancer_id: Optional[pulumi.Input[str]] = None,
410
424
  mss: Optional[pulumi.Input[int]] = None,
425
+ proxy_protocol_config: Optional[pulumi.Input['ListenerProxyProtocolConfigArgs']] = None,
411
426
  proxy_protocol_enabled: Optional[pulumi.Input[bool]] = None,
427
+ region_id: Optional[pulumi.Input[str]] = None,
412
428
  sec_sensor_enabled: Optional[pulumi.Input[bool]] = None,
413
429
  security_policy_id: Optional[pulumi.Input[str]] = None,
414
430
  server_group_id: Optional[pulumi.Input[str]] = None,
@@ -440,17 +456,18 @@ class _ListenerState:
440
456
  > **NOTE:** This parameter is required when `ListenerPort` is set to `0`.
441
457
  :param pulumi.Input[int] idle_timeout: The timeout period of idle connections. Unit: seconds. Valid values: `1` to `900`. Default value: `900`.
442
458
  :param pulumi.Input[str] listener_description: Enter a name for the listener.
443
-
444
459
  The description must be 2 to 256 characters in length, and can contain letters, digits, commas (,), periods (.), semicolons (;), forward slashes (/), at signs (@), underscores (\\_), and hyphens (-).
445
460
  :param pulumi.Input[int] listener_port: The listener port. Valid values: `0` to `65535`.
446
-
447
461
  If you set the value to `0`, the listener listens by port range. If you set the value to `0`, you must specify `StartPort` and `EndPort`.
448
462
  :param pulumi.Input[str] listener_protocol: The listening protocol. Valid values: `TCP`, `UDP`, and `TCPSSL`.
449
463
  :param pulumi.Input[str] load_balancer_id: The ID of the Network Load Balancer (NLB) instance.
450
464
  :param pulumi.Input[int] mss: The maximum size of a TCP segment. Unit: bytes. Valid values: `0` to `1500`. `0` specifies that the maximum segment size remains unchanged.
451
465
 
452
466
  > **NOTE:** This parameter is supported only by TCP listeners and listeners that use SSL over TCP.
467
+ :param pulumi.Input['ListenerProxyProtocolConfigArgs'] proxy_protocol_config: The Proxy Protocol is used to carry the VpcId, PrivateLinkEpId, and PrivateLinkEpsId information to the backend server for configuration. See `proxy_protocol_config` below.
453
468
  :param pulumi.Input[bool] proxy_protocol_enabled: Specifies whether to use the Proxy protocol to pass client IP addresses to backend servers. Valid values:
469
+ :param pulumi.Input[str] region_id: The ID of the region where the Network Load Balancer (NLB) instance is deployed.
470
+ You can call the [DescribeRegions](https://www.alibabacloud.com/help/en/doc-detail/443657.html) operation to query the most recent region list.
454
471
  :param pulumi.Input[bool] sec_sensor_enabled: Specifies whether to enable fine-grained monitoring. Valid values:
455
472
  :param pulumi.Input[str] security_policy_id: The security policy ID. System security policies and custom security policies are supported.
456
473
 
@@ -490,8 +507,12 @@ class _ListenerState:
490
507
  pulumi.set(__self__, "load_balancer_id", load_balancer_id)
491
508
  if mss is not None:
492
509
  pulumi.set(__self__, "mss", mss)
510
+ if proxy_protocol_config is not None:
511
+ pulumi.set(__self__, "proxy_protocol_config", proxy_protocol_config)
493
512
  if proxy_protocol_enabled is not None:
494
513
  pulumi.set(__self__, "proxy_protocol_enabled", proxy_protocol_enabled)
514
+ if region_id is not None:
515
+ pulumi.set(__self__, "region_id", region_id)
495
516
  if sec_sensor_enabled is not None:
496
517
  pulumi.set(__self__, "sec_sensor_enabled", sec_sensor_enabled)
497
518
  if security_policy_id is not None:
@@ -620,7 +641,6 @@ class _ListenerState:
620
641
  def listener_description(self) -> Optional[pulumi.Input[str]]:
621
642
  """
622
643
  Enter a name for the listener.
623
-
624
644
  The description must be 2 to 256 characters in length, and can contain letters, digits, commas (,), periods (.), semicolons (;), forward slashes (/), at signs (@), underscores (\\_), and hyphens (-).
625
645
  """
626
646
  return pulumi.get(self, "listener_description")
@@ -634,7 +654,6 @@ class _ListenerState:
634
654
  def listener_port(self) -> Optional[pulumi.Input[int]]:
635
655
  """
636
656
  The listener port. Valid values: `0` to `65535`.
637
-
638
657
  If you set the value to `0`, the listener listens by port range. If you set the value to `0`, you must specify `StartPort` and `EndPort`.
639
658
  """
640
659
  return pulumi.get(self, "listener_port")
@@ -681,6 +700,18 @@ class _ListenerState:
681
700
  def mss(self, value: Optional[pulumi.Input[int]]):
682
701
  pulumi.set(self, "mss", value)
683
702
 
703
+ @property
704
+ @pulumi.getter(name="proxyProtocolConfig")
705
+ def proxy_protocol_config(self) -> Optional[pulumi.Input['ListenerProxyProtocolConfigArgs']]:
706
+ """
707
+ The Proxy Protocol is used to carry the VpcId, PrivateLinkEpId, and PrivateLinkEpsId information to the backend server for configuration. See `proxy_protocol_config` below.
708
+ """
709
+ return pulumi.get(self, "proxy_protocol_config")
710
+
711
+ @proxy_protocol_config.setter
712
+ def proxy_protocol_config(self, value: Optional[pulumi.Input['ListenerProxyProtocolConfigArgs']]):
713
+ pulumi.set(self, "proxy_protocol_config", value)
714
+
684
715
  @property
685
716
  @pulumi.getter(name="proxyProtocolEnabled")
686
717
  def proxy_protocol_enabled(self) -> Optional[pulumi.Input[bool]]:
@@ -693,6 +724,19 @@ class _ListenerState:
693
724
  def proxy_protocol_enabled(self, value: Optional[pulumi.Input[bool]]):
694
725
  pulumi.set(self, "proxy_protocol_enabled", value)
695
726
 
727
+ @property
728
+ @pulumi.getter(name="regionId")
729
+ def region_id(self) -> Optional[pulumi.Input[str]]:
730
+ """
731
+ The ID of the region where the Network Load Balancer (NLB) instance is deployed.
732
+ You can call the [DescribeRegions](https://www.alibabacloud.com/help/en/doc-detail/443657.html) operation to query the most recent region list.
733
+ """
734
+ return pulumi.get(self, "region_id")
735
+
736
+ @region_id.setter
737
+ def region_id(self, value: Optional[pulumi.Input[str]]):
738
+ pulumi.set(self, "region_id", value)
739
+
696
740
  @property
697
741
  @pulumi.getter(name="secSensorEnabled")
698
742
  def sec_sensor_enabled(self) -> Optional[pulumi.Input[bool]]:
@@ -790,6 +834,7 @@ class Listener(pulumi.CustomResource):
790
834
  listener_protocol: Optional[pulumi.Input[str]] = None,
791
835
  load_balancer_id: Optional[pulumi.Input[str]] = None,
792
836
  mss: Optional[pulumi.Input[int]] = None,
837
+ proxy_protocol_config: Optional[pulumi.Input[Union['ListenerProxyProtocolConfigArgs', 'ListenerProxyProtocolConfigArgsDict']]] = None,
793
838
  proxy_protocol_enabled: Optional[pulumi.Input[bool]] = None,
794
839
  sec_sensor_enabled: Optional[pulumi.Input[bool]] = None,
795
840
  security_policy_id: Optional[pulumi.Input[str]] = None,
@@ -799,9 +844,9 @@ class Listener(pulumi.CustomResource):
799
844
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
800
845
  __props__=None):
801
846
  """
802
- Provides a NLB Listener resource.
847
+ Provides a Network Load Balancer (NLB) Listener resource.
803
848
 
804
- For information about NLB Listener and how to use it, see [What is Listener](https://www.alibabacloud.com/help/en/server-load-balancer/latest/api-nlb-2022-04-30-createlistener).
849
+ For information about Network Load Balancer (NLB) Listener and how to use it, see [What is Listener](https://www.alibabacloud.com/help/en/server-load-balancer/latest/api-nlb-2022-04-30-createlistener).
805
850
 
806
851
  > **NOTE:** Available since v1.191.0.
807
852
 
@@ -899,7 +944,7 @@ class Listener(pulumi.CustomResource):
899
944
 
900
945
  ## Import
901
946
 
902
- NLB Listener can be imported using the id, e.g.
947
+ Network Load Balancer (NLB) Listener can be imported using the id, e.g.
903
948
 
904
949
  ```sh
905
950
  $ pulumi import alicloud:nlb/listener:Listener example <id>
@@ -930,16 +975,15 @@ class Listener(pulumi.CustomResource):
930
975
  > **NOTE:** This parameter is required when `ListenerPort` is set to `0`.
931
976
  :param pulumi.Input[int] idle_timeout: The timeout period of idle connections. Unit: seconds. Valid values: `1` to `900`. Default value: `900`.
932
977
  :param pulumi.Input[str] listener_description: Enter a name for the listener.
933
-
934
978
  The description must be 2 to 256 characters in length, and can contain letters, digits, commas (,), periods (.), semicolons (;), forward slashes (/), at signs (@), underscores (\\_), and hyphens (-).
935
979
  :param pulumi.Input[int] listener_port: The listener port. Valid values: `0` to `65535`.
936
-
937
980
  If you set the value to `0`, the listener listens by port range. If you set the value to `0`, you must specify `StartPort` and `EndPort`.
938
981
  :param pulumi.Input[str] listener_protocol: The listening protocol. Valid values: `TCP`, `UDP`, and `TCPSSL`.
939
982
  :param pulumi.Input[str] load_balancer_id: The ID of the Network Load Balancer (NLB) instance.
940
983
  :param pulumi.Input[int] mss: The maximum size of a TCP segment. Unit: bytes. Valid values: `0` to `1500`. `0` specifies that the maximum segment size remains unchanged.
941
984
 
942
985
  > **NOTE:** This parameter is supported only by TCP listeners and listeners that use SSL over TCP.
986
+ :param pulumi.Input[Union['ListenerProxyProtocolConfigArgs', 'ListenerProxyProtocolConfigArgsDict']] proxy_protocol_config: The Proxy Protocol is used to carry the VpcId, PrivateLinkEpId, and PrivateLinkEpsId information to the backend server for configuration. See `proxy_protocol_config` below.
943
987
  :param pulumi.Input[bool] proxy_protocol_enabled: Specifies whether to use the Proxy protocol to pass client IP addresses to backend servers. Valid values:
944
988
  :param pulumi.Input[bool] sec_sensor_enabled: Specifies whether to enable fine-grained monitoring. Valid values:
945
989
  :param pulumi.Input[str] security_policy_id: The security policy ID. System security policies and custom security policies are supported.
@@ -961,9 +1005,9 @@ class Listener(pulumi.CustomResource):
961
1005
  args: ListenerArgs,
962
1006
  opts: Optional[pulumi.ResourceOptions] = None):
963
1007
  """
964
- Provides a NLB Listener resource.
1008
+ Provides a Network Load Balancer (NLB) Listener resource.
965
1009
 
966
- For information about NLB Listener and how to use it, see [What is Listener](https://www.alibabacloud.com/help/en/server-load-balancer/latest/api-nlb-2022-04-30-createlistener).
1010
+ For information about Network Load Balancer (NLB) Listener and how to use it, see [What is Listener](https://www.alibabacloud.com/help/en/server-load-balancer/latest/api-nlb-2022-04-30-createlistener).
967
1011
 
968
1012
  > **NOTE:** Available since v1.191.0.
969
1013
 
@@ -1061,7 +1105,7 @@ class Listener(pulumi.CustomResource):
1061
1105
 
1062
1106
  ## Import
1063
1107
 
1064
- NLB Listener can be imported using the id, e.g.
1108
+ Network Load Balancer (NLB) Listener can be imported using the id, e.g.
1065
1109
 
1066
1110
  ```sh
1067
1111
  $ pulumi import alicloud:nlb/listener:Listener example <id>
@@ -1095,6 +1139,7 @@ class Listener(pulumi.CustomResource):
1095
1139
  listener_protocol: Optional[pulumi.Input[str]] = None,
1096
1140
  load_balancer_id: Optional[pulumi.Input[str]] = None,
1097
1141
  mss: Optional[pulumi.Input[int]] = None,
1142
+ proxy_protocol_config: Optional[pulumi.Input[Union['ListenerProxyProtocolConfigArgs', 'ListenerProxyProtocolConfigArgsDict']]] = None,
1098
1143
  proxy_protocol_enabled: Optional[pulumi.Input[bool]] = None,
1099
1144
  sec_sensor_enabled: Optional[pulumi.Input[bool]] = None,
1100
1145
  security_policy_id: Optional[pulumi.Input[str]] = None,
@@ -1130,6 +1175,7 @@ class Listener(pulumi.CustomResource):
1130
1175
  raise TypeError("Missing required property 'load_balancer_id'")
1131
1176
  __props__.__dict__["load_balancer_id"] = load_balancer_id
1132
1177
  __props__.__dict__["mss"] = mss
1178
+ __props__.__dict__["proxy_protocol_config"] = proxy_protocol_config
1133
1179
  __props__.__dict__["proxy_protocol_enabled"] = proxy_protocol_enabled
1134
1180
  __props__.__dict__["sec_sensor_enabled"] = sec_sensor_enabled
1135
1181
  __props__.__dict__["security_policy_id"] = security_policy_id
@@ -1139,6 +1185,7 @@ class Listener(pulumi.CustomResource):
1139
1185
  __props__.__dict__["start_port"] = start_port
1140
1186
  __props__.__dict__["status"] = status
1141
1187
  __props__.__dict__["tags"] = tags
1188
+ __props__.__dict__["region_id"] = None
1142
1189
  super(Listener, __self__).__init__(
1143
1190
  'alicloud:nlb/listener:Listener',
1144
1191
  resource_name,
@@ -1162,7 +1209,9 @@ class Listener(pulumi.CustomResource):
1162
1209
  listener_protocol: Optional[pulumi.Input[str]] = None,
1163
1210
  load_balancer_id: Optional[pulumi.Input[str]] = None,
1164
1211
  mss: Optional[pulumi.Input[int]] = None,
1212
+ proxy_protocol_config: Optional[pulumi.Input[Union['ListenerProxyProtocolConfigArgs', 'ListenerProxyProtocolConfigArgsDict']]] = None,
1165
1213
  proxy_protocol_enabled: Optional[pulumi.Input[bool]] = None,
1214
+ region_id: Optional[pulumi.Input[str]] = None,
1166
1215
  sec_sensor_enabled: Optional[pulumi.Input[bool]] = None,
1167
1216
  security_policy_id: Optional[pulumi.Input[str]] = None,
1168
1217
  server_group_id: Optional[pulumi.Input[str]] = None,
@@ -1199,17 +1248,18 @@ class Listener(pulumi.CustomResource):
1199
1248
  > **NOTE:** This parameter is required when `ListenerPort` is set to `0`.
1200
1249
  :param pulumi.Input[int] idle_timeout: The timeout period of idle connections. Unit: seconds. Valid values: `1` to `900`. Default value: `900`.
1201
1250
  :param pulumi.Input[str] listener_description: Enter a name for the listener.
1202
-
1203
1251
  The description must be 2 to 256 characters in length, and can contain letters, digits, commas (,), periods (.), semicolons (;), forward slashes (/), at signs (@), underscores (\\_), and hyphens (-).
1204
1252
  :param pulumi.Input[int] listener_port: The listener port. Valid values: `0` to `65535`.
1205
-
1206
1253
  If you set the value to `0`, the listener listens by port range. If you set the value to `0`, you must specify `StartPort` and `EndPort`.
1207
1254
  :param pulumi.Input[str] listener_protocol: The listening protocol. Valid values: `TCP`, `UDP`, and `TCPSSL`.
1208
1255
  :param pulumi.Input[str] load_balancer_id: The ID of the Network Load Balancer (NLB) instance.
1209
1256
  :param pulumi.Input[int] mss: The maximum size of a TCP segment. Unit: bytes. Valid values: `0` to `1500`. `0` specifies that the maximum segment size remains unchanged.
1210
1257
 
1211
1258
  > **NOTE:** This parameter is supported only by TCP listeners and listeners that use SSL over TCP.
1259
+ :param pulumi.Input[Union['ListenerProxyProtocolConfigArgs', 'ListenerProxyProtocolConfigArgsDict']] proxy_protocol_config: The Proxy Protocol is used to carry the VpcId, PrivateLinkEpId, and PrivateLinkEpsId information to the backend server for configuration. See `proxy_protocol_config` below.
1212
1260
  :param pulumi.Input[bool] proxy_protocol_enabled: Specifies whether to use the Proxy protocol to pass client IP addresses to backend servers. Valid values:
1261
+ :param pulumi.Input[str] region_id: The ID of the region where the Network Load Balancer (NLB) instance is deployed.
1262
+ You can call the [DescribeRegions](https://www.alibabacloud.com/help/en/doc-detail/443657.html) operation to query the most recent region list.
1213
1263
  :param pulumi.Input[bool] sec_sensor_enabled: Specifies whether to enable fine-grained monitoring. Valid values:
1214
1264
  :param pulumi.Input[str] security_policy_id: The security policy ID. System security policies and custom security policies are supported.
1215
1265
 
@@ -1240,7 +1290,9 @@ class Listener(pulumi.CustomResource):
1240
1290
  __props__.__dict__["listener_protocol"] = listener_protocol
1241
1291
  __props__.__dict__["load_balancer_id"] = load_balancer_id
1242
1292
  __props__.__dict__["mss"] = mss
1293
+ __props__.__dict__["proxy_protocol_config"] = proxy_protocol_config
1243
1294
  __props__.__dict__["proxy_protocol_enabled"] = proxy_protocol_enabled
1295
+ __props__.__dict__["region_id"] = region_id
1244
1296
  __props__.__dict__["sec_sensor_enabled"] = sec_sensor_enabled
1245
1297
  __props__.__dict__["security_policy_id"] = security_policy_id
1246
1298
  __props__.__dict__["server_group_id"] = server_group_id
@@ -1332,7 +1384,6 @@ class Listener(pulumi.CustomResource):
1332
1384
  def listener_description(self) -> pulumi.Output[Optional[str]]:
1333
1385
  """
1334
1386
  Enter a name for the listener.
1335
-
1336
1387
  The description must be 2 to 256 characters in length, and can contain letters, digits, commas (,), periods (.), semicolons (;), forward slashes (/), at signs (@), underscores (\\_), and hyphens (-).
1337
1388
  """
1338
1389
  return pulumi.get(self, "listener_description")
@@ -1342,7 +1393,6 @@ class Listener(pulumi.CustomResource):
1342
1393
  def listener_port(self) -> pulumi.Output[int]:
1343
1394
  """
1344
1395
  The listener port. Valid values: `0` to `65535`.
1345
-
1346
1396
  If you set the value to `0`, the listener listens by port range. If you set the value to `0`, you must specify `StartPort` and `EndPort`.
1347
1397
  """
1348
1398
  return pulumi.get(self, "listener_port")
@@ -1373,6 +1423,14 @@ class Listener(pulumi.CustomResource):
1373
1423
  """
1374
1424
  return pulumi.get(self, "mss")
1375
1425
 
1426
+ @property
1427
+ @pulumi.getter(name="proxyProtocolConfig")
1428
+ def proxy_protocol_config(self) -> pulumi.Output['outputs.ListenerProxyProtocolConfig']:
1429
+ """
1430
+ The Proxy Protocol is used to carry the VpcId, PrivateLinkEpId, and PrivateLinkEpsId information to the backend server for configuration. See `proxy_protocol_config` below.
1431
+ """
1432
+ return pulumi.get(self, "proxy_protocol_config")
1433
+
1376
1434
  @property
1377
1435
  @pulumi.getter(name="proxyProtocolEnabled")
1378
1436
  def proxy_protocol_enabled(self) -> pulumi.Output[bool]:
@@ -1381,6 +1439,15 @@ class Listener(pulumi.CustomResource):
1381
1439
  """
1382
1440
  return pulumi.get(self, "proxy_protocol_enabled")
1383
1441
 
1442
+ @property
1443
+ @pulumi.getter(name="regionId")
1444
+ def region_id(self) -> pulumi.Output[str]:
1445
+ """
1446
+ The ID of the region where the Network Load Balancer (NLB) instance is deployed.
1447
+ You can call the [DescribeRegions](https://www.alibabacloud.com/help/en/doc-detail/443657.html) operation to query the most recent region list.
1448
+ """
1449
+ return pulumi.get(self, "region_id")
1450
+
1384
1451
  @property
1385
1452
  @pulumi.getter(name="secSensorEnabled")
1386
1453
  def sec_sensor_enabled(self) -> pulumi.Output[bool]:
@@ -16,6 +16,7 @@ from .. import _utilities
16
16
  from . import outputs
17
17
 
18
18
  __all__ = [
19
+ 'ListenerProxyProtocolConfig',
19
20
  'LoadBalancerDeletionProtectionConfig',
20
21
  'LoadBalancerModificationProtectionConfig',
21
22
  'LoadBalancerZoneMapping',
@@ -31,6 +32,70 @@ __all__ = [
31
32
  'GetZonesZoneResult',
32
33
  ]
33
34
 
35
+ @pulumi.output_type
36
+ class ListenerProxyProtocolConfig(dict):
37
+ @staticmethod
38
+ def __key_warning(key: str):
39
+ suggest = None
40
+ if key == "proxyProtocolConfigPrivateLinkEpIdEnabled":
41
+ suggest = "proxy_protocol_config_private_link_ep_id_enabled"
42
+ elif key == "proxyProtocolConfigPrivateLinkEpsIdEnabled":
43
+ suggest = "proxy_protocol_config_private_link_eps_id_enabled"
44
+ elif key == "proxyProtocolConfigVpcIdEnabled":
45
+ suggest = "proxy_protocol_config_vpc_id_enabled"
46
+
47
+ if suggest:
48
+ pulumi.log.warn(f"Key '{key}' not found in ListenerProxyProtocolConfig. Access the value via the '{suggest}' property getter instead.")
49
+
50
+ def __getitem__(self, key: str) -> Any:
51
+ ListenerProxyProtocolConfig.__key_warning(key)
52
+ return super().__getitem__(key)
53
+
54
+ def get(self, key: str, default = None) -> Any:
55
+ ListenerProxyProtocolConfig.__key_warning(key)
56
+ return super().get(key, default)
57
+
58
+ def __init__(__self__, *,
59
+ proxy_protocol_config_private_link_ep_id_enabled: Optional[bool] = None,
60
+ proxy_protocol_config_private_link_eps_id_enabled: Optional[bool] = None,
61
+ proxy_protocol_config_vpc_id_enabled: Optional[bool] = None):
62
+ """
63
+ :param bool proxy_protocol_config_private_link_ep_id_enabled: Whether to enable carrying PrivateLinkEpId to backend servers through Proxy Protocol.
64
+ :param bool proxy_protocol_config_private_link_eps_id_enabled: Whether to enable carrying PrivateLinkEpsId to backend servers through the Proxy Protocol.
65
+ :param bool proxy_protocol_config_vpc_id_enabled: Whether to enable carrying VpcId to backend servers through Proxy Protocol.
66
+ """
67
+ if proxy_protocol_config_private_link_ep_id_enabled is not None:
68
+ pulumi.set(__self__, "proxy_protocol_config_private_link_ep_id_enabled", proxy_protocol_config_private_link_ep_id_enabled)
69
+ if proxy_protocol_config_private_link_eps_id_enabled is not None:
70
+ pulumi.set(__self__, "proxy_protocol_config_private_link_eps_id_enabled", proxy_protocol_config_private_link_eps_id_enabled)
71
+ if proxy_protocol_config_vpc_id_enabled is not None:
72
+ pulumi.set(__self__, "proxy_protocol_config_vpc_id_enabled", proxy_protocol_config_vpc_id_enabled)
73
+
74
+ @property
75
+ @pulumi.getter(name="proxyProtocolConfigPrivateLinkEpIdEnabled")
76
+ def proxy_protocol_config_private_link_ep_id_enabled(self) -> Optional[bool]:
77
+ """
78
+ Whether to enable carrying PrivateLinkEpId to backend servers through Proxy Protocol.
79
+ """
80
+ return pulumi.get(self, "proxy_protocol_config_private_link_ep_id_enabled")
81
+
82
+ @property
83
+ @pulumi.getter(name="proxyProtocolConfigPrivateLinkEpsIdEnabled")
84
+ def proxy_protocol_config_private_link_eps_id_enabled(self) -> Optional[bool]:
85
+ """
86
+ Whether to enable carrying PrivateLinkEpsId to backend servers through the Proxy Protocol.
87
+ """
88
+ return pulumi.get(self, "proxy_protocol_config_private_link_eps_id_enabled")
89
+
90
+ @property
91
+ @pulumi.getter(name="proxyProtocolConfigVpcIdEnabled")
92
+ def proxy_protocol_config_vpc_id_enabled(self) -> Optional[bool]:
93
+ """
94
+ Whether to enable carrying VpcId to backend servers through Proxy Protocol.
95
+ """
96
+ return pulumi.get(self, "proxy_protocol_config_vpc_id_enabled")
97
+
98
+
34
99
  @pulumi.output_type
35
100
  class LoadBalancerDeletionProtectionConfig(dict):
36
101
  @staticmethod
@@ -316,10 +381,14 @@ class ServerGroupHealthCheck(dict):
316
381
  suggest = "health_check_domain"
317
382
  elif key == "healthCheckEnabled":
318
383
  suggest = "health_check_enabled"
384
+ elif key == "healthCheckExp":
385
+ suggest = "health_check_exp"
319
386
  elif key == "healthCheckHttpCodes":
320
387
  suggest = "health_check_http_codes"
321
388
  elif key == "healthCheckInterval":
322
389
  suggest = "health_check_interval"
390
+ elif key == "healthCheckReq":
391
+ suggest = "health_check_req"
323
392
  elif key == "healthCheckType":
324
393
  suggest = "health_check_type"
325
394
  elif key == "healthCheckUrl":
@@ -347,8 +416,10 @@ class ServerGroupHealthCheck(dict):
347
416
  health_check_connect_timeout: Optional[int] = None,
348
417
  health_check_domain: Optional[str] = None,
349
418
  health_check_enabled: Optional[bool] = None,
419
+ health_check_exp: Optional[str] = None,
350
420
  health_check_http_codes: Optional[Sequence[str]] = None,
351
421
  health_check_interval: Optional[int] = None,
422
+ health_check_req: Optional[str] = None,
352
423
  health_check_type: Optional[str] = None,
353
424
  health_check_url: Optional[str] = None,
354
425
  healthy_threshold: Optional[int] = None,
@@ -356,22 +427,20 @@ class ServerGroupHealthCheck(dict):
356
427
  unhealthy_threshold: Optional[int] = None):
357
428
  """
358
429
  :param int health_check_connect_port: The port that you want to use for health checks on backend servers.
359
-
360
430
  Valid values: `0` to `65535`.
361
-
362
431
  Default value: `0`. If you set the value to 0, the port of the backend server is used for health checks.
363
432
  :param int health_check_connect_timeout: The maximum timeout period of a health check. Unit: seconds. Valid values: `1` to `300`. Default value: `5`.
364
433
  :param str health_check_domain: The domain name that you want to use for health checks. Valid values:
365
434
  - `$SERVER_IP`: the private IP address of a backend server.
366
435
  :param bool health_check_enabled: Specifies whether to enable the health check feature. Valid values:
436
+ :param str health_check_exp: health check response character string. The value contains a maximum of 512 characters
367
437
  :param Sequence[str] health_check_http_codes: The HTTP status codes to return for health checks. Separate multiple HTTP status codes with commas (,). Valid values: `http\\_2xx` (default), `http\\_3xx`, `http\\_4xx`, and `http\\_5xx`.
368
438
 
369
439
  > **NOTE:** This parameter takes effect only when `HealthCheckType` is set to `HTTP`.
370
440
  :param int health_check_interval: The interval at which health checks are performed. Unit: seconds.
371
-
372
441
  Valid values: `5` to `50`.
373
-
374
442
  Default value: `10`.
443
+ :param str health_check_req: UDP healthy check request string, the value is a character string of 512 characters
375
444
  :param str health_check_type: The protocol that you want to use for health checks. Valid values: `TCP` (default) and `HTTP`.
376
445
  :param str health_check_url: The path to which health check requests are sent.
377
446
 
@@ -379,17 +448,13 @@ class ServerGroupHealthCheck(dict):
379
448
 
380
449
  > **NOTE:** This parameter takes effect only when `HealthCheckType` is set to `HTTP`.
381
450
  :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 status changes from `fail` to `success`.
382
-
383
451
  Valid values: `2` to `10`.
384
-
385
452
  Default value: `2`.
386
453
  :param str http_check_method: The HTTP method that is used for health checks. Valid values: `GET` (default) and `HEAD`.
387
454
 
388
455
  > **NOTE:** This parameter takes effect only when `HealthCheckType` is set to `HTTP`.
389
456
  :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 status changes from `success` to `fail`.
390
-
391
457
  Valid values: `2` to `10`.
392
-
393
458
  Default value: `2`.
394
459
  """
395
460
  if health_check_connect_port is not None:
@@ -400,10 +465,14 @@ class ServerGroupHealthCheck(dict):
400
465
  pulumi.set(__self__, "health_check_domain", health_check_domain)
401
466
  if health_check_enabled is not None:
402
467
  pulumi.set(__self__, "health_check_enabled", health_check_enabled)
468
+ if health_check_exp is not None:
469
+ pulumi.set(__self__, "health_check_exp", health_check_exp)
403
470
  if health_check_http_codes is not None:
404
471
  pulumi.set(__self__, "health_check_http_codes", health_check_http_codes)
405
472
  if health_check_interval is not None:
406
473
  pulumi.set(__self__, "health_check_interval", health_check_interval)
474
+ if health_check_req is not None:
475
+ pulumi.set(__self__, "health_check_req", health_check_req)
407
476
  if health_check_type is not None:
408
477
  pulumi.set(__self__, "health_check_type", health_check_type)
409
478
  if health_check_url is not None:
@@ -420,9 +489,7 @@ class ServerGroupHealthCheck(dict):
420
489
  def health_check_connect_port(self) -> Optional[int]:
421
490
  """
422
491
  The port that you want to use for health checks on backend servers.
423
-
424
492
  Valid values: `0` to `65535`.
425
-
426
493
  Default value: `0`. If you set the value to 0, the port of the backend server is used for health checks.
427
494
  """
428
495
  return pulumi.get(self, "health_check_connect_port")
@@ -452,6 +519,14 @@ class ServerGroupHealthCheck(dict):
452
519
  """
453
520
  return pulumi.get(self, "health_check_enabled")
454
521
 
522
+ @property
523
+ @pulumi.getter(name="healthCheckExp")
524
+ def health_check_exp(self) -> Optional[str]:
525
+ """
526
+ health check response character string. The value contains a maximum of 512 characters
527
+ """
528
+ return pulumi.get(self, "health_check_exp")
529
+
455
530
  @property
456
531
  @pulumi.getter(name="healthCheckHttpCodes")
457
532
  def health_check_http_codes(self) -> Optional[Sequence[str]]:
@@ -467,13 +542,19 @@ class ServerGroupHealthCheck(dict):
467
542
  def health_check_interval(self) -> Optional[int]:
468
543
  """
469
544
  The interval at which health checks are performed. Unit: seconds.
470
-
471
545
  Valid values: `5` to `50`.
472
-
473
546
  Default value: `10`.
474
547
  """
475
548
  return pulumi.get(self, "health_check_interval")
476
549
 
550
+ @property
551
+ @pulumi.getter(name="healthCheckReq")
552
+ def health_check_req(self) -> Optional[str]:
553
+ """
554
+ UDP healthy check request string, the value is a character string of 512 characters
555
+ """
556
+ return pulumi.get(self, "health_check_req")
557
+
477
558
  @property
478
559
  @pulumi.getter(name="healthCheckType")
479
560
  def health_check_type(self) -> Optional[str]:
@@ -499,9 +580,7 @@ class ServerGroupHealthCheck(dict):
499
580
  def healthy_threshold(self) -> Optional[int]:
500
581
  """
501
582
  The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy. In this case, the health status changes from `fail` to `success`.
502
-
503
583
  Valid values: `2` to `10`.
504
-
505
584
  Default value: `2`.
506
585
  """
507
586
  return pulumi.get(self, "healthy_threshold")
@@ -521,9 +600,7 @@ class ServerGroupHealthCheck(dict):
521
600
  def unhealthy_threshold(self) -> Optional[int]:
522
601
  """
523
602
  The number of times that a healthy backend server must consecutively fail health checks before it is declared unhealthy. In this case, the health status changes from `success` to `fail`.
524
-
525
603
  Valid values: `2` to `10`.
526
-
527
604
  Default value: `2`.
528
605
  """
529
606
  return pulumi.get(self, "unhealthy_threshold")