pulumi-alicloud 3.74.0a1737989015__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 (165) hide show
  1. pulumi_alicloud/__init__.py +230 -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/_inputs.py +217 -17
  8. pulumi_alicloud/alb/load_balancer.py +7 -35
  9. pulumi_alicloud/alb/load_balancer_security_group_attachment.py +69 -22
  10. pulumi_alicloud/alb/outputs.py +150 -12
  11. pulumi_alicloud/alb/server_group.py +197 -42
  12. pulumi_alicloud/aligreen/audit_callback.py +2 -2
  13. pulumi_alicloud/aligreen/biz_type.py +2 -2
  14. pulumi_alicloud/aligreen/callback.py +2 -2
  15. pulumi_alicloud/aligreen/image_lib.py +2 -2
  16. pulumi_alicloud/aligreen/keyword_lib.py +2 -2
  17. pulumi_alicloud/aligreen/oss_stock_task.py +77 -14
  18. pulumi_alicloud/apigateway/instance.py +51 -4
  19. pulumi_alicloud/cfg/aggregate_compliance_pack.py +6 -4
  20. pulumi_alicloud/cfg/aggregate_config_rule.py +6 -4
  21. pulumi_alicloud/cfg/aggregator.py +6 -4
  22. pulumi_alicloud/cloudcontrol/get_prices.py +2 -2
  23. pulumi_alicloud/cloudcontrol/get_products.py +2 -2
  24. pulumi_alicloud/cloudcontrol/get_resource_types.py +2 -2
  25. pulumi_alicloud/cloudcontrol/resource.py +2 -2
  26. pulumi_alicloud/cloudfirewall/__init__.py +2 -0
  27. pulumi_alicloud/cloudfirewall/get_nat_firewalls.py +315 -0
  28. pulumi_alicloud/cloudfirewall/get_vpc_cen_tr_firewalls.py +569 -0
  29. pulumi_alicloud/cloudfirewall/outputs.py +362 -0
  30. pulumi_alicloud/cloudphone/__init__.py +12 -0
  31. pulumi_alicloud/cloudphone/_inputs.py +175 -0
  32. pulumi_alicloud/cloudphone/image.py +323 -0
  33. pulumi_alicloud/cloudphone/key_pair.py +294 -0
  34. pulumi_alicloud/cloudphone/outputs.py +138 -0
  35. pulumi_alicloud/cloudphone/policy.py +522 -0
  36. pulumi_alicloud/cloudphoneinstance/__init__.py +9 -0
  37. pulumi_alicloud/cloudphoneinstance/cloud_phone_instance.py +209 -0
  38. pulumi_alicloud/cloudphoneinstance/group.py +961 -0
  39. pulumi_alicloud/cms/get_site_monitors.py +2 -2
  40. pulumi_alicloud/config/outputs.py +20 -0
  41. pulumi_alicloud/cs/_inputs.py +9 -9
  42. pulumi_alicloud/cs/get_kubernetes_clusters.py +5 -4
  43. pulumi_alicloud/cs/get_managed_kubernetes_clusters.py +5 -4
  44. pulumi_alicloud/cs/get_serverless_kubernetes_clusters.py +5 -4
  45. pulumi_alicloud/cs/managed_kubernetes.py +47 -35
  46. pulumi_alicloud/cs/node_pool.py +49 -21
  47. pulumi_alicloud/cs/outputs.py +6 -6
  48. pulumi_alicloud/ddos/ddos_bgp_instance.py +0 -4
  49. pulumi_alicloud/dfs/vsc_mount_point.py +28 -28
  50. pulumi_alicloud/dns/ddos_bgp_instance.py +0 -4
  51. pulumi_alicloud/ebs/replica_group_drill.py +2 -2
  52. pulumi_alicloud/ebs/replica_pair_drill.py +2 -2
  53. pulumi_alicloud/ecs/ecs_deployment_set.py +89 -67
  54. pulumi_alicloud/ecs/eip.py +1 -1
  55. pulumi_alicloud/ecs/eip_address.py +1 -1
  56. pulumi_alicloud/ecs/instance.py +43 -30
  57. pulumi_alicloud/eds/command.py +10 -2
  58. pulumi_alicloud/emrv2/__init__.py +1 -0
  59. pulumi_alicloud/emrv2/_inputs.py +47 -7
  60. pulumi_alicloud/emrv2/get_cluster_instances.py +537 -0
  61. pulumi_alicloud/emrv2/outputs.py +195 -5
  62. pulumi_alicloud/ens/instance_security_group_attachment.py +8 -4
  63. pulumi_alicloud/ens/nat_gateway.py +6 -6
  64. pulumi_alicloud/ens/vswitch.py +36 -36
  65. pulumi_alicloud/esa/__init__.py +19 -0
  66. pulumi_alicloud/esa/_inputs.py +431 -0
  67. pulumi_alicloud/esa/cache_rule.py +1405 -0
  68. pulumi_alicloud/esa/certificate.py +724 -0
  69. pulumi_alicloud/esa/client_ca_certificate.py +388 -0
  70. pulumi_alicloud/esa/client_certificate.py +452 -0
  71. pulumi_alicloud/esa/compression_rule.py +582 -0
  72. pulumi_alicloud/esa/get_sites.py +421 -0
  73. pulumi_alicloud/esa/http_request_header_modification_rule.py +2 -2
  74. pulumi_alicloud/esa/http_response_header_modification_rule.py +560 -0
  75. pulumi_alicloud/esa/https_application_configuration.py +925 -0
  76. pulumi_alicloud/esa/https_basic_configuration.py +1027 -0
  77. pulumi_alicloud/esa/image_transform.py +484 -0
  78. pulumi_alicloud/esa/kv_namespace.py +276 -0
  79. pulumi_alicloud/esa/list.py +2 -2
  80. pulumi_alicloud/esa/network_optimization.py +750 -0
  81. pulumi_alicloud/esa/origin_pool.py +485 -0
  82. pulumi_alicloud/esa/origin_rule.py +768 -0
  83. pulumi_alicloud/esa/outputs.py +425 -0
  84. pulumi_alicloud/esa/page.py +2 -2
  85. pulumi_alicloud/esa/rate_plan_instance.py +2 -2
  86. pulumi_alicloud/esa/record.py +2 -2
  87. pulumi_alicloud/esa/redirect_rule.py +734 -0
  88. pulumi_alicloud/esa/rewrite_url_rule.py +702 -0
  89. pulumi_alicloud/esa/site.py +307 -2
  90. pulumi_alicloud/esa/waiting_room.py +1257 -0
  91. pulumi_alicloud/esa/waiting_room_event.py +1392 -0
  92. pulumi_alicloud/esa/waiting_room_rule.py +504 -0
  93. pulumi_alicloud/ess/scaling_configuration.py +7 -7
  94. pulumi_alicloud/expressconnect/ec_failover_test_job.py +0 -2
  95. pulumi_alicloud/expressconnect/vbr_pconn_association.py +2 -2
  96. pulumi_alicloud/ga/get_basic_accelerators.py +31 -9
  97. pulumi_alicloud/ga/outputs.py +10 -4
  98. pulumi_alicloud/gpdb/db_resource_group.py +6 -6
  99. pulumi_alicloud/gpdb/external_data_service.py +6 -6
  100. pulumi_alicloud/gpdb/streaming_data_service.py +2 -2
  101. pulumi_alicloud/hbr/policy.py +67 -6
  102. pulumi_alicloud/hbr/vault.py +210 -9
  103. pulumi_alicloud/kms/get_keys.py +10 -0
  104. pulumi_alicloud/message/__init__.py +3 -0
  105. pulumi_alicloud/message/_inputs.py +149 -0
  106. pulumi_alicloud/message/outputs.py +112 -0
  107. pulumi_alicloud/message/service_endpoint.py +218 -0
  108. pulumi_alicloud/message/service_endpoint_acl.py +306 -0
  109. pulumi_alicloud/message/service_queue.py +49 -0
  110. pulumi_alicloud/message/service_subscription.py +91 -14
  111. pulumi_alicloud/mse/nacos_config.py +4 -0
  112. pulumi_alicloud/nlb/_inputs.py +114 -24
  113. pulumi_alicloud/nlb/listener.py +87 -20
  114. pulumi_alicloud/nlb/outputs.py +93 -16
  115. pulumi_alicloud/nlb/server_group.py +55 -20
  116. pulumi_alicloud/ots/_inputs.py +3 -3
  117. pulumi_alicloud/ots/outputs.py +2 -2
  118. pulumi_alicloud/pai/workspace_code_source.py +2 -2
  119. pulumi_alicloud/pai/workspace_dataset.py +2 -2
  120. pulumi_alicloud/pai/workspace_datasetversion.py +2 -4
  121. pulumi_alicloud/pai/workspace_experiment.py +2 -2
  122. pulumi_alicloud/pai/workspace_run.py +2 -2
  123. pulumi_alicloud/pai/workspace_workspace.py +2 -2
  124. pulumi_alicloud/privatelink/get_vpc_endpoints.py +21 -1
  125. pulumi_alicloud/privatelink/outputs.py +11 -0
  126. pulumi_alicloud/privatelink/vpc_endpoint.py +1 -1
  127. pulumi_alicloud/pulumi-plugin.json +1 -1
  128. pulumi_alicloud/ram/access_key.py +20 -4
  129. pulumi_alicloud/ram/user.py +10 -2
  130. pulumi_alicloud/rds/instance.py +7 -0
  131. pulumi_alicloud/simpleapplicationserver/get_server_plans.py +7 -7
  132. pulumi_alicloud/simpleapplicationserver/outputs.py +3 -3
  133. pulumi_alicloud/tag/__init__.py +1 -0
  134. pulumi_alicloud/tag/associated_rule.py +306 -0
  135. pulumi_alicloud/tag/policy.py +27 -36
  136. pulumi_alicloud/vpc/__init__.py +1 -0
  137. pulumi_alicloud/vpc/common_bandwith_package.py +107 -44
  138. pulumi_alicloud/vpc/common_bandwith_package_attachment.py +2 -2
  139. pulumi_alicloud/vpc/flow_log.py +184 -49
  140. pulumi_alicloud/vpc/forward_entry.py +8 -4
  141. pulumi_alicloud/vpc/get_enhanced_nat_available_zones.py +38 -2
  142. pulumi_alicloud/vpc/get_forward_entries.py +2 -2
  143. pulumi_alicloud/vpc/get_ipsec_servers.py +14 -2
  144. pulumi_alicloud/vpc/get_nat_gateways.py +48 -2
  145. pulumi_alicloud/vpc/get_prefix_lists.py +11 -2
  146. pulumi_alicloud/vpc/get_snat_entries.py +5 -2
  147. pulumi_alicloud/vpc/get_traffic_mirror_filters.py +14 -2
  148. pulumi_alicloud/vpc/ipam_ipam.py +2 -9
  149. pulumi_alicloud/vpc/ipam_ipam_pool.py +2 -30
  150. pulumi_alicloud/vpc/ipam_ipam_pool_allocation.py +6 -16
  151. pulumi_alicloud/vpc/ipam_ipam_pool_cidr.py +2 -2
  152. pulumi_alicloud/vpc/ipam_ipam_resource_discovery.py +489 -0
  153. pulumi_alicloud/vpc/ipam_ipam_scope.py +2 -9
  154. pulumi_alicloud/vpc/nat_gateway.py +8 -0
  155. pulumi_alicloud/vpc/outputs.py +12 -2
  156. pulumi_alicloud/vpc/router_interface_connection.py +4 -4
  157. pulumi_alicloud/vpc/traffic_mirror_filter.py +2 -2
  158. pulumi_alicloud/vpn/get_gateway_vco_routes.py +11 -2
  159. pulumi_alicloud/vpn/get_gateway_vpn_attachments.py +11 -2
  160. pulumi_alicloud/vpn/get_gateways.py +21 -1
  161. pulumi_alicloud/vpn/outputs.py +23 -12
  162. {pulumi_alicloud-3.74.0a1737989015.dist-info → pulumi_alicloud-3.75.0.dist-info}/METADATA +1 -1
  163. {pulumi_alicloud-3.74.0a1737989015.dist-info → pulumi_alicloud-3.75.0.dist-info}/RECORD +165 -128
  164. {pulumi_alicloud-3.74.0a1737989015.dist-info → pulumi_alicloud-3.75.0.dist-info}/WHEEL +1 -1
  165. {pulumi_alicloud-3.74.0a1737989015.dist-info → pulumi_alicloud-3.75.0.dist-info}/top_level.txt +0 -0
@@ -15,6 +15,8 @@ else:
15
15
  from .. import _utilities
16
16
 
17
17
  __all__ = [
18
+ 'ListenerProxyProtocolConfigArgs',
19
+ 'ListenerProxyProtocolConfigArgsDict',
18
20
  'LoadBalancerDeletionProtectionConfigArgs',
19
21
  'LoadBalancerDeletionProtectionConfigArgsDict',
20
22
  'LoadBalancerModificationProtectionConfigArgs',
@@ -27,6 +29,78 @@ __all__ = [
27
29
 
28
30
  MYPY = False
29
31
 
32
+ if not MYPY:
33
+ class ListenerProxyProtocolConfigArgsDict(TypedDict):
34
+ proxy_protocol_config_private_link_ep_id_enabled: NotRequired[pulumi.Input[bool]]
35
+ """
36
+ Whether to enable carrying PrivateLinkEpId to backend servers through Proxy Protocol.
37
+ """
38
+ proxy_protocol_config_private_link_eps_id_enabled: NotRequired[pulumi.Input[bool]]
39
+ """
40
+ Whether to enable carrying PrivateLinkEpsId to backend servers through the Proxy Protocol.
41
+ """
42
+ proxy_protocol_config_vpc_id_enabled: NotRequired[pulumi.Input[bool]]
43
+ """
44
+ Whether to enable carrying VpcId to backend servers through Proxy Protocol.
45
+ """
46
+ elif False:
47
+ ListenerProxyProtocolConfigArgsDict: TypeAlias = Mapping[str, Any]
48
+
49
+ @pulumi.input_type
50
+ class ListenerProxyProtocolConfigArgs:
51
+ def __init__(__self__, *,
52
+ proxy_protocol_config_private_link_ep_id_enabled: Optional[pulumi.Input[bool]] = None,
53
+ proxy_protocol_config_private_link_eps_id_enabled: Optional[pulumi.Input[bool]] = None,
54
+ proxy_protocol_config_vpc_id_enabled: Optional[pulumi.Input[bool]] = None):
55
+ """
56
+ :param pulumi.Input[bool] proxy_protocol_config_private_link_ep_id_enabled: Whether to enable carrying PrivateLinkEpId to backend servers through Proxy Protocol.
57
+ :param pulumi.Input[bool] proxy_protocol_config_private_link_eps_id_enabled: Whether to enable carrying PrivateLinkEpsId to backend servers through the Proxy Protocol.
58
+ :param pulumi.Input[bool] proxy_protocol_config_vpc_id_enabled: Whether to enable carrying VpcId to backend servers through Proxy Protocol.
59
+ """
60
+ if proxy_protocol_config_private_link_ep_id_enabled is not None:
61
+ pulumi.set(__self__, "proxy_protocol_config_private_link_ep_id_enabled", proxy_protocol_config_private_link_ep_id_enabled)
62
+ if proxy_protocol_config_private_link_eps_id_enabled is not None:
63
+ pulumi.set(__self__, "proxy_protocol_config_private_link_eps_id_enabled", proxy_protocol_config_private_link_eps_id_enabled)
64
+ if proxy_protocol_config_vpc_id_enabled is not None:
65
+ pulumi.set(__self__, "proxy_protocol_config_vpc_id_enabled", proxy_protocol_config_vpc_id_enabled)
66
+
67
+ @property
68
+ @pulumi.getter(name="proxyProtocolConfigPrivateLinkEpIdEnabled")
69
+ def proxy_protocol_config_private_link_ep_id_enabled(self) -> Optional[pulumi.Input[bool]]:
70
+ """
71
+ Whether to enable carrying PrivateLinkEpId to backend servers through Proxy Protocol.
72
+ """
73
+ return pulumi.get(self, "proxy_protocol_config_private_link_ep_id_enabled")
74
+
75
+ @proxy_protocol_config_private_link_ep_id_enabled.setter
76
+ def proxy_protocol_config_private_link_ep_id_enabled(self, value: Optional[pulumi.Input[bool]]):
77
+ pulumi.set(self, "proxy_protocol_config_private_link_ep_id_enabled", value)
78
+
79
+ @property
80
+ @pulumi.getter(name="proxyProtocolConfigPrivateLinkEpsIdEnabled")
81
+ def proxy_protocol_config_private_link_eps_id_enabled(self) -> Optional[pulumi.Input[bool]]:
82
+ """
83
+ Whether to enable carrying PrivateLinkEpsId to backend servers through the Proxy Protocol.
84
+ """
85
+ return pulumi.get(self, "proxy_protocol_config_private_link_eps_id_enabled")
86
+
87
+ @proxy_protocol_config_private_link_eps_id_enabled.setter
88
+ def proxy_protocol_config_private_link_eps_id_enabled(self, value: Optional[pulumi.Input[bool]]):
89
+ pulumi.set(self, "proxy_protocol_config_private_link_eps_id_enabled", value)
90
+
91
+ @property
92
+ @pulumi.getter(name="proxyProtocolConfigVpcIdEnabled")
93
+ def proxy_protocol_config_vpc_id_enabled(self) -> Optional[pulumi.Input[bool]]:
94
+ """
95
+ Whether to enable carrying VpcId to backend servers through Proxy Protocol.
96
+ """
97
+ return pulumi.get(self, "proxy_protocol_config_vpc_id_enabled")
98
+
99
+ @proxy_protocol_config_vpc_id_enabled.setter
100
+ def proxy_protocol_config_vpc_id_enabled(self, value: Optional[pulumi.Input[bool]]):
101
+ pulumi.set(self, "proxy_protocol_config_vpc_id_enabled", value)
102
+
103
+
30
104
  if not MYPY:
31
105
  class LoadBalancerDeletionProtectionConfigArgsDict(TypedDict):
32
106
  enabled: NotRequired[pulumi.Input[bool]]
@@ -379,9 +453,7 @@ if not MYPY:
379
453
  health_check_connect_port: NotRequired[pulumi.Input[int]]
380
454
  """
381
455
  The port that you want to use for health checks on backend servers.
382
-
383
456
  Valid values: `0` to `65535`.
384
-
385
457
  Default value: `0`. If you set the value to 0, the port of the backend server is used for health checks.
386
458
  """
387
459
  health_check_connect_timeout: NotRequired[pulumi.Input[int]]
@@ -397,6 +469,10 @@ if not MYPY:
397
469
  """
398
470
  Specifies whether to enable the health check feature. Valid values:
399
471
  """
472
+ health_check_exp: NotRequired[pulumi.Input[str]]
473
+ """
474
+ health check response character string. The value contains a maximum of 512 characters
475
+ """
400
476
  health_check_http_codes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
401
477
  """
402
478
  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`.
@@ -406,11 +482,13 @@ if not MYPY:
406
482
  health_check_interval: NotRequired[pulumi.Input[int]]
407
483
  """
408
484
  The interval at which health checks are performed. Unit: seconds.
409
-
410
485
  Valid values: `5` to `50`.
411
-
412
486
  Default value: `10`.
413
487
  """
488
+ health_check_req: NotRequired[pulumi.Input[str]]
489
+ """
490
+ UDP healthy check request string, the value is a character string of 512 characters
491
+ """
414
492
  health_check_type: NotRequired[pulumi.Input[str]]
415
493
  """
416
494
  The protocol that you want to use for health checks. Valid values: `TCP` (default) and `HTTP`.
@@ -426,9 +504,7 @@ if not MYPY:
426
504
  healthy_threshold: NotRequired[pulumi.Input[int]]
427
505
  """
428
506
  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`.
429
-
430
507
  Valid values: `2` to `10`.
431
-
432
508
  Default value: `2`.
433
509
  """
434
510
  http_check_method: NotRequired[pulumi.Input[str]]
@@ -440,9 +516,7 @@ if not MYPY:
440
516
  unhealthy_threshold: NotRequired[pulumi.Input[int]]
441
517
  """
442
518
  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`.
443
-
444
519
  Valid values: `2` to `10`.
445
-
446
520
  Default value: `2`.
447
521
  """
448
522
  elif False:
@@ -455,8 +529,10 @@ class ServerGroupHealthCheckArgs:
455
529
  health_check_connect_timeout: Optional[pulumi.Input[int]] = None,
456
530
  health_check_domain: Optional[pulumi.Input[str]] = None,
457
531
  health_check_enabled: Optional[pulumi.Input[bool]] = None,
532
+ health_check_exp: Optional[pulumi.Input[str]] = None,
458
533
  health_check_http_codes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
459
534
  health_check_interval: Optional[pulumi.Input[int]] = None,
535
+ health_check_req: Optional[pulumi.Input[str]] = None,
460
536
  health_check_type: Optional[pulumi.Input[str]] = None,
461
537
  health_check_url: Optional[pulumi.Input[str]] = None,
462
538
  healthy_threshold: Optional[pulumi.Input[int]] = None,
@@ -464,22 +540,20 @@ class ServerGroupHealthCheckArgs:
464
540
  unhealthy_threshold: Optional[pulumi.Input[int]] = None):
465
541
  """
466
542
  :param pulumi.Input[int] health_check_connect_port: The port that you want to use for health checks on backend servers.
467
-
468
543
  Valid values: `0` to `65535`.
469
-
470
544
  Default value: `0`. If you set the value to 0, the port of the backend server is used for health checks.
471
545
  :param pulumi.Input[int] health_check_connect_timeout: The maximum timeout period of a health check. Unit: seconds. Valid values: `1` to `300`. Default value: `5`.
472
546
  :param pulumi.Input[str] health_check_domain: The domain name that you want to use for health checks. Valid values:
473
547
  - `$SERVER_IP`: the private IP address of a backend server.
474
548
  :param pulumi.Input[bool] health_check_enabled: Specifies whether to enable the health check feature. Valid values:
549
+ :param pulumi.Input[str] health_check_exp: health check response character string. The value contains a maximum of 512 characters
475
550
  :param pulumi.Input[Sequence[pulumi.Input[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`.
476
551
 
477
552
  > **NOTE:** This parameter takes effect only when `HealthCheckType` is set to `HTTP`.
478
553
  :param pulumi.Input[int] health_check_interval: The interval at which health checks are performed. Unit: seconds.
479
-
480
554
  Valid values: `5` to `50`.
481
-
482
555
  Default value: `10`.
556
+ :param pulumi.Input[str] health_check_req: UDP healthy check request string, the value is a character string of 512 characters
483
557
  :param pulumi.Input[str] health_check_type: The protocol that you want to use for health checks. Valid values: `TCP` (default) and `HTTP`.
484
558
  :param pulumi.Input[str] health_check_url: The path to which health check requests are sent.
485
559
 
@@ -487,17 +561,13 @@ class ServerGroupHealthCheckArgs:
487
561
 
488
562
  > **NOTE:** This parameter takes effect only when `HealthCheckType` is set to `HTTP`.
489
563
  :param pulumi.Input[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`.
490
-
491
564
  Valid values: `2` to `10`.
492
-
493
565
  Default value: `2`.
494
566
  :param pulumi.Input[str] http_check_method: The HTTP method that is used for health checks. Valid values: `GET` (default) and `HEAD`.
495
567
 
496
568
  > **NOTE:** This parameter takes effect only when `HealthCheckType` is set to `HTTP`.
497
569
  :param pulumi.Input[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`.
498
-
499
570
  Valid values: `2` to `10`.
500
-
501
571
  Default value: `2`.
502
572
  """
503
573
  if health_check_connect_port is not None:
@@ -508,10 +578,14 @@ class ServerGroupHealthCheckArgs:
508
578
  pulumi.set(__self__, "health_check_domain", health_check_domain)
509
579
  if health_check_enabled is not None:
510
580
  pulumi.set(__self__, "health_check_enabled", health_check_enabled)
581
+ if health_check_exp is not None:
582
+ pulumi.set(__self__, "health_check_exp", health_check_exp)
511
583
  if health_check_http_codes is not None:
512
584
  pulumi.set(__self__, "health_check_http_codes", health_check_http_codes)
513
585
  if health_check_interval is not None:
514
586
  pulumi.set(__self__, "health_check_interval", health_check_interval)
587
+ if health_check_req is not None:
588
+ pulumi.set(__self__, "health_check_req", health_check_req)
515
589
  if health_check_type is not None:
516
590
  pulumi.set(__self__, "health_check_type", health_check_type)
517
591
  if health_check_url is not None:
@@ -528,9 +602,7 @@ class ServerGroupHealthCheckArgs:
528
602
  def health_check_connect_port(self) -> Optional[pulumi.Input[int]]:
529
603
  """
530
604
  The port that you want to use for health checks on backend servers.
531
-
532
605
  Valid values: `0` to `65535`.
533
-
534
606
  Default value: `0`. If you set the value to 0, the port of the backend server is used for health checks.
535
607
  """
536
608
  return pulumi.get(self, "health_check_connect_port")
@@ -576,6 +648,18 @@ class ServerGroupHealthCheckArgs:
576
648
  def health_check_enabled(self, value: Optional[pulumi.Input[bool]]):
577
649
  pulumi.set(self, "health_check_enabled", value)
578
650
 
651
+ @property
652
+ @pulumi.getter(name="healthCheckExp")
653
+ def health_check_exp(self) -> Optional[pulumi.Input[str]]:
654
+ """
655
+ health check response character string. The value contains a maximum of 512 characters
656
+ """
657
+ return pulumi.get(self, "health_check_exp")
658
+
659
+ @health_check_exp.setter
660
+ def health_check_exp(self, value: Optional[pulumi.Input[str]]):
661
+ pulumi.set(self, "health_check_exp", value)
662
+
579
663
  @property
580
664
  @pulumi.getter(name="healthCheckHttpCodes")
581
665
  def health_check_http_codes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
@@ -595,9 +679,7 @@ class ServerGroupHealthCheckArgs:
595
679
  def health_check_interval(self) -> Optional[pulumi.Input[int]]:
596
680
  """
597
681
  The interval at which health checks are performed. Unit: seconds.
598
-
599
682
  Valid values: `5` to `50`.
600
-
601
683
  Default value: `10`.
602
684
  """
603
685
  return pulumi.get(self, "health_check_interval")
@@ -606,6 +688,18 @@ class ServerGroupHealthCheckArgs:
606
688
  def health_check_interval(self, value: Optional[pulumi.Input[int]]):
607
689
  pulumi.set(self, "health_check_interval", value)
608
690
 
691
+ @property
692
+ @pulumi.getter(name="healthCheckReq")
693
+ def health_check_req(self) -> Optional[pulumi.Input[str]]:
694
+ """
695
+ UDP healthy check request string, the value is a character string of 512 characters
696
+ """
697
+ return pulumi.get(self, "health_check_req")
698
+
699
+ @health_check_req.setter
700
+ def health_check_req(self, value: Optional[pulumi.Input[str]]):
701
+ pulumi.set(self, "health_check_req", value)
702
+
609
703
  @property
610
704
  @pulumi.getter(name="healthCheckType")
611
705
  def health_check_type(self) -> Optional[pulumi.Input[str]]:
@@ -639,9 +733,7 @@ class ServerGroupHealthCheckArgs:
639
733
  def healthy_threshold(self) -> Optional[pulumi.Input[int]]:
640
734
  """
641
735
  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`.
642
-
643
736
  Valid values: `2` to `10`.
644
-
645
737
  Default value: `2`.
646
738
  """
647
739
  return pulumi.get(self, "healthy_threshold")
@@ -669,9 +761,7 @@ class ServerGroupHealthCheckArgs:
669
761
  def unhealthy_threshold(self) -> Optional[pulumi.Input[int]]:
670
762
  """
671
763
  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`.
672
-
673
764
  Valid values: `2` to `10`.
674
-
675
765
  Default value: `2`.
676
766
  """
677
767
  return pulumi.get(self, "unhealthy_threshold")
@@ -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]: