pulumi-alicloud 3.76.0a1743484854__py3-none-any.whl → 3.76.0a1744139894__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 (237) hide show
  1. pulumi_alicloud/__init__.py +271 -4
  2. pulumi_alicloud/_inputs.py +20 -0
  3. pulumi_alicloud/actiontrail/global_events_storage_region.py +2 -2
  4. pulumi_alicloud/adb/db_cluster_lake_version.py +458 -49
  5. pulumi_alicloud/alb/load_balancer_access_log_config_attachment.py +2 -2
  6. pulumi_alicloud/alb/server_group.py +2 -2
  7. pulumi_alicloud/alikafka/sasl_acl.py +7 -7
  8. pulumi_alicloud/apigateway/_inputs.py +134 -0
  9. pulumi_alicloud/apigateway/group.py +117 -5
  10. pulumi_alicloud/apigateway/instance.py +148 -7
  11. pulumi_alicloud/apigateway/outputs.py +107 -0
  12. pulumi_alicloud/arms/alert_contact.py +2 -2
  13. pulumi_alicloud/arms/alert_contact_group.py +2 -2
  14. pulumi_alicloud/arms/get_prometheus.py +2 -6
  15. pulumi_alicloud/arms/grafana_workspace.py +511 -69
  16. pulumi_alicloud/arms/outputs.py +18 -18
  17. pulumi_alicloud/arms/prometheus_alert_rule.py +2 -2
  18. pulumi_alicloud/arms/prometheus_monitoring.py +2 -2
  19. pulumi_alicloud/cdn/domain_new.py +2 -2
  20. pulumi_alicloud/cen/_inputs.py +6 -3
  21. pulumi_alicloud/cen/get_transit_router_vpn_attachments.py +131 -19
  22. pulumi_alicloud/cen/instance.py +101 -59
  23. pulumi_alicloud/cen/inter_region_traffic_qos_policy.py +126 -81
  24. pulumi_alicloud/cen/inter_region_traffic_qos_queue.py +93 -47
  25. pulumi_alicloud/cen/outputs.py +69 -26
  26. pulumi_alicloud/cen/transit_route_table_aggregation.py +171 -55
  27. pulumi_alicloud/cen/transit_router.py +127 -53
  28. pulumi_alicloud/cen/transit_router_cidr.py +53 -35
  29. pulumi_alicloud/cen/transit_router_ecr_attachment.py +2 -2
  30. pulumi_alicloud/cen/transit_router_peer_attachment.py +360 -143
  31. pulumi_alicloud/cen/transit_router_route_table_association.py +33 -43
  32. pulumi_alicloud/cen/transit_router_vpn_attachment.py +438 -109
  33. pulumi_alicloud/clickhouse/db_cluster.py +179 -6
  34. pulumi_alicloud/clickhouseenterprisedbcluster/__init__.py +14 -0
  35. pulumi_alicloud/clickhouseenterprisedbcluster/_inputs.py +167 -0
  36. pulumi_alicloud/clickhouseenterprisedbcluster/account.py +554 -0
  37. pulumi_alicloud/clickhouseenterprisedbcluster/backup_policy.py +407 -0
  38. pulumi_alicloud/clickhouseenterprisedbcluster/click_house_enterprise_db_cluster.py +641 -0
  39. pulumi_alicloud/clickhouseenterprisedbcluster/outputs.py +147 -0
  40. pulumi_alicloud/clickhouseenterprisedbcluster/public_endpoint.py +364 -0
  41. pulumi_alicloud/clickhouseenterprisedbcluster/security_ip.py +357 -0
  42. pulumi_alicloud/cloudsso/scim_server_credential.py +178 -11
  43. pulumi_alicloud/config/outputs.py +12 -0
  44. pulumi_alicloud/cs/__init__.py +1 -0
  45. pulumi_alicloud/cs/get_kubernetes_node_pools.py +147 -0
  46. pulumi_alicloud/cs/managed_kubernetes.py +127 -24
  47. pulumi_alicloud/cs/node_pool.py +42 -42
  48. pulumi_alicloud/cs/outputs.py +1782 -4
  49. pulumi_alicloud/databasefilesystem/service_linked_role.py +2 -2
  50. pulumi_alicloud/dataworks/data_source.py +2 -2
  51. pulumi_alicloud/dataworks/data_source_shared_rule.py +2 -2
  52. pulumi_alicloud/dataworks/di_alarm_rule.py +2 -2
  53. pulumi_alicloud/dataworks/di_job.py +2 -2
  54. pulumi_alicloud/dataworks/dw_resource_group.py +2 -2
  55. pulumi_alicloud/dataworks/network.py +2 -2
  56. pulumi_alicloud/dataworks/project.py +2 -2
  57. pulumi_alicloud/dataworks/project_member.py +2 -2
  58. pulumi_alicloud/dbs/backup_plan.py +2 -2
  59. pulumi_alicloud/ddos/bgp_policy.py +2 -2
  60. pulumi_alicloud/eais/__init__.py +2 -0
  61. pulumi_alicloud/eais/_inputs.py +75 -0
  62. pulumi_alicloud/eais/client_instance_attachment.py +408 -0
  63. pulumi_alicloud/eais/instance.py +365 -118
  64. pulumi_alicloud/eais/outputs.py +32 -0
  65. pulumi_alicloud/ebs/disk_replica_group.py +512 -30
  66. pulumi_alicloud/ebs/disk_replica_pair.py +443 -113
  67. pulumi_alicloud/ebs/enterprise_snapshot_policy.py +2 -2
  68. pulumi_alicloud/ebs/enterprise_snapshot_policy_attachment.py +2 -2
  69. pulumi_alicloud/ecp/instance.py +2 -2
  70. pulumi_alicloud/ecp/key_pair.py +4 -4
  71. pulumi_alicloud/ecs/_inputs.py +33 -0
  72. pulumi_alicloud/ecs/disk.py +1 -1
  73. pulumi_alicloud/ecs/ecs_disk.py +1 -1
  74. pulumi_alicloud/ecs/ecs_launch_template.py +23 -23
  75. pulumi_alicloud/ecs/instance.py +1 -1
  76. pulumi_alicloud/ecs/outputs.py +26 -2
  77. pulumi_alicloud/eflo/__init__.py +5 -0
  78. pulumi_alicloud/eflo/_inputs.py +1717 -0
  79. pulumi_alicloud/eflo/cluster.py +935 -0
  80. pulumi_alicloud/eflo/invocation.py +1114 -0
  81. pulumi_alicloud/eflo/node.py +1013 -0
  82. pulumi_alicloud/eflo/node_group.py +1101 -0
  83. pulumi_alicloud/eflo/outputs.py +1366 -0
  84. pulumi_alicloud/ens/eip_instance_attachment.py +2 -2
  85. pulumi_alicloud/ens/image.py +81 -34
  86. pulumi_alicloud/esa/__init__.py +4 -0
  87. pulumi_alicloud/esa/_inputs.py +640 -18
  88. pulumi_alicloud/esa/cache_reserve_instance.py +522 -0
  89. pulumi_alicloud/esa/cache_rule.py +193 -179
  90. pulumi_alicloud/esa/certificate.py +99 -92
  91. pulumi_alicloud/esa/compression_rule.py +42 -28
  92. pulumi_alicloud/esa/edge_container_app.py +972 -0
  93. pulumi_alicloud/esa/edge_container_app_record.py +376 -0
  94. pulumi_alicloud/esa/http_request_header_modification_rule.py +56 -42
  95. pulumi_alicloud/esa/http_response_header_modification_rule.py +35 -56
  96. pulumi_alicloud/esa/https_application_configuration.py +42 -28
  97. pulumi_alicloud/esa/https_basic_configuration.py +56 -42
  98. pulumi_alicloud/esa/image_transform.py +42 -28
  99. pulumi_alicloud/esa/kv_namespace.py +11 -11
  100. pulumi_alicloud/esa/list.py +28 -28
  101. pulumi_alicloud/esa/network_optimization.py +56 -126
  102. pulumi_alicloud/esa/origin_pool.py +19 -19
  103. pulumi_alicloud/esa/origin_rule.py +67 -39
  104. pulumi_alicloud/esa/outputs.py +536 -12
  105. pulumi_alicloud/esa/page.py +28 -49
  106. pulumi_alicloud/esa/rate_plan_instance.py +86 -159
  107. pulumi_alicloud/esa/redirect_rule.py +42 -28
  108. pulumi_alicloud/esa/rewrite_url_rule.py +49 -63
  109. pulumi_alicloud/esa/site.py +67 -123
  110. pulumi_alicloud/esa/site_delivery_task.py +841 -0
  111. pulumi_alicloud/esa/waiting_room.py +269 -319
  112. pulumi_alicloud/esa/waiting_room_event.py +291 -305
  113. pulumi_alicloud/esa/waiting_room_rule.py +46 -53
  114. pulumi_alicloud/ess/_inputs.py +155 -0
  115. pulumi_alicloud/ess/outputs.py +128 -0
  116. pulumi_alicloud/ess/scaling_group.py +237 -2
  117. pulumi_alicloud/ess/scaling_rule.py +143 -2
  118. pulumi_alicloud/expressconnect/router_grant_association.py +2 -2
  119. pulumi_alicloud/expressconnect/virtual_border_router.py +4 -4
  120. pulumi_alicloud/gpdb/hadoop_data_source.py +2 -2
  121. pulumi_alicloud/gpdb/jdbc_data_source.py +2 -2
  122. pulumi_alicloud/gpdb/remote_adb_data_source.py +6 -6
  123. pulumi_alicloud/gpdb/streaming_data_source.py +2 -2
  124. pulumi_alicloud/gpdb/streaming_job.py +2 -2
  125. pulumi_alicloud/ims/oidc_provider.py +24 -13
  126. pulumi_alicloud/kvstore/account.py +9 -9
  127. pulumi_alicloud/kvstore/connection.py +2 -2
  128. pulumi_alicloud/kvstore/get_instance_classes.py +2 -2
  129. pulumi_alicloud/kvstore/get_instance_engines.py +2 -2
  130. pulumi_alicloud/kvstore/instance.py +7 -7
  131. pulumi_alicloud/kvstore/outputs.py +2 -2
  132. pulumi_alicloud/live/caster.py +2 -2
  133. pulumi_alicloud/maxcompute/__init__.py +1 -0
  134. pulumi_alicloud/maxcompute/_inputs.py +232 -3
  135. pulumi_alicloud/maxcompute/outputs.py +183 -2
  136. pulumi_alicloud/maxcompute/project.py +2 -2
  137. pulumi_alicloud/maxcompute/quota.py +438 -0
  138. pulumi_alicloud/nas/mount_target.py +149 -54
  139. pulumi_alicloud/nlb/__init__.py +1 -0
  140. pulumi_alicloud/nlb/_inputs.py +43 -6
  141. pulumi_alicloud/nlb/load_balancer.py +212 -24
  142. pulumi_alicloud/nlb/load_balancer_zone_shifted_attachment.py +397 -0
  143. pulumi_alicloud/nlb/outputs.py +30 -4
  144. pulumi_alicloud/nlb/server_group_server_attachment.py +118 -65
  145. pulumi_alicloud/oss/__init__.py +1 -0
  146. pulumi_alicloud/oss/_inputs.py +20 -0
  147. pulumi_alicloud/oss/access_point.py +2 -2
  148. pulumi_alicloud/oss/bucket_cname.py +2 -2
  149. pulumi_alicloud/oss/bucket_cors.py +2 -2
  150. pulumi_alicloud/oss/bucket_style.py +402 -0
  151. pulumi_alicloud/oss/bucket_website.py +2 -2
  152. pulumi_alicloud/oss/outputs.py +14 -0
  153. pulumi_alicloud/pai/service.py +59 -67
  154. pulumi_alicloud/polardb/cluster.py +75 -28
  155. pulumi_alicloud/privatelink/vpc_endpoint_zone.py +1 -1
  156. pulumi_alicloud/pulumi-plugin.json +1 -1
  157. pulumi_alicloud/ram/__init__.py +3 -0
  158. pulumi_alicloud/ram/_inputs.py +9 -9
  159. pulumi_alicloud/ram/access_key.py +77 -31
  160. pulumi_alicloud/ram/account_alias.py +18 -45
  161. pulumi_alicloud/ram/get_system_policys.py +189 -0
  162. pulumi_alicloud/ram/group.py +156 -35
  163. pulumi_alicloud/ram/group_policy_attachment.py +51 -29
  164. pulumi_alicloud/ram/login_profile.py +92 -38
  165. pulumi_alicloud/ram/outputs.py +91 -6
  166. pulumi_alicloud/ram/password_policy.py +779 -0
  167. pulumi_alicloud/ram/policy.py +199 -88
  168. pulumi_alicloud/ram/role_policy_attachment.py +51 -29
  169. pulumi_alicloud/ram/saml_provider.py +44 -37
  170. pulumi_alicloud/ram/user_group_attachment.py +273 -0
  171. pulumi_alicloud/ram/user_policy_attachment.py +49 -27
  172. pulumi_alicloud/rds/__init__.py +1 -0
  173. pulumi_alicloud/rds/custom_disk.py +1053 -0
  174. pulumi_alicloud/rds/instance.py +110 -14
  175. pulumi_alicloud/redis/tair_instance.py +14 -14
  176. pulumi_alicloud/resourcemanager/__init__.py +1 -0
  177. pulumi_alicloud/resourcemanager/_inputs.py +53 -0
  178. pulumi_alicloud/resourcemanager/auto_grouping_rule.py +796 -0
  179. pulumi_alicloud/resourcemanager/outputs.py +50 -0
  180. pulumi_alicloud/resourcemanager/shared_resource.py +7 -0
  181. pulumi_alicloud/rocketmq/__init__.py +1 -1
  182. pulumi_alicloud/rocketmq/_inputs.py +146 -4
  183. pulumi_alicloud/rocketmq/account.py +452 -0
  184. pulumi_alicloud/rocketmq/acl.py +473 -47
  185. pulumi_alicloud/rocketmq/client_user.py +8 -2
  186. pulumi_alicloud/rocketmq/consumer_group.py +121 -24
  187. pulumi_alicloud/rocketmq/dnat_entry.py +8 -2
  188. pulumi_alicloud/rocketmq/outputs.py +113 -4
  189. pulumi_alicloud/rocketmq/qos.py +8 -2
  190. pulumi_alicloud/rocketmq/qos_car.py +10 -4
  191. pulumi_alicloud/rocketmq/qos_policy.py +6 -0
  192. pulumi_alicloud/rocketmq/rocket_mq_instance.py +136 -7
  193. pulumi_alicloud/rocketmq/rocket_mq_topic.py +121 -24
  194. pulumi_alicloud/rocketmq/snat_entry.py +8 -2
  195. pulumi_alicloud/sag/__init__.py +8 -0
  196. pulumi_alicloud/sag/acl.py +200 -0
  197. pulumi_alicloud/{rocketmq → sag}/acl_rule.py +7 -7
  198. pulumi_alicloud/sag/client_user.py +560 -0
  199. pulumi_alicloud/sag/dnat_entry.py +512 -0
  200. pulumi_alicloud/sag/get_acls.py +2 -2
  201. pulumi_alicloud/sag/qos.py +202 -0
  202. pulumi_alicloud/sag/qos_car.py +654 -0
  203. pulumi_alicloud/sag/qos_policy.py +659 -0
  204. pulumi_alicloud/sag/snat_entry.py +313 -0
  205. pulumi_alicloud/securitycenter/group.py +2 -2
  206. pulumi_alicloud/selectdb/db_instance.py +60 -11
  207. pulumi_alicloud/slb/server_group_server_attachment.py +101 -111
  208. pulumi_alicloud/sls/oss_export_sink.py +2 -2
  209. pulumi_alicloud/threatdetection/__init__.py +3 -0
  210. pulumi_alicloud/threatdetection/anti_brute_force_rule.py +41 -65
  211. pulumi_alicloud/threatdetection/asset_bind.py +209 -0
  212. pulumi_alicloud/threatdetection/asset_selection_config.py +258 -0
  213. pulumi_alicloud/threatdetection/instance.py +271 -54
  214. pulumi_alicloud/threatdetection/log_meta.py +351 -0
  215. pulumi_alicloud/vpc/__init__.py +1 -0
  216. pulumi_alicloud/vpc/_inputs.py +281 -0
  217. pulumi_alicloud/vpc/gateway_endpoint.py +85 -27
  218. pulumi_alicloud/vpc/get_ipam_ipam_pool_allocations.py +2 -2
  219. pulumi_alicloud/vpc/get_ipam_ipam_pool_cidrs.py +2 -2
  220. pulumi_alicloud/vpc/get_ipam_ipam_pools.py +2 -2
  221. pulumi_alicloud/vpc/get_ipam_ipam_scopes.py +2 -2
  222. pulumi_alicloud/vpc/get_ipam_ipams.py +2 -2
  223. pulumi_alicloud/vpc/ipv6_address.py +85 -5
  224. pulumi_alicloud/vpc/outputs.py +232 -0
  225. pulumi_alicloud/vpc/peer_connection.py +84 -42
  226. pulumi_alicloud/vpc/peer_connection_accepter.py +7 -21
  227. pulumi_alicloud/vpc/route_table.py +100 -45
  228. pulumi_alicloud/vpc/vpc_route_entry.py +724 -0
  229. pulumi_alicloud/vpn/_inputs.py +716 -71
  230. pulumi_alicloud/vpn/gateway_vpn_attachment.py +622 -128
  231. pulumi_alicloud/vpn/get_gateway_vpn_attachments.py +20 -63
  232. pulumi_alicloud/vpn/ipsec_server.py +2 -2
  233. pulumi_alicloud/vpn/outputs.py +1963 -998
  234. {pulumi_alicloud-3.76.0a1743484854.dist-info → pulumi_alicloud-3.76.0a1744139894.dist-info}/METADATA +1 -1
  235. {pulumi_alicloud-3.76.0a1743484854.dist-info → pulumi_alicloud-3.76.0a1744139894.dist-info}/RECORD +237 -197
  236. {pulumi_alicloud-3.76.0a1743484854.dist-info → pulumi_alicloud-3.76.0a1744139894.dist-info}/WHEEL +0 -0
  237. {pulumi_alicloud-3.76.0a1743484854.dist-info → pulumi_alicloud-3.76.0a1744139894.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,972 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+
17
+ __all__ = ['EdgeContainerAppArgs', 'EdgeContainerApp']
18
+
19
+ @pulumi.input_type
20
+ class EdgeContainerAppArgs:
21
+ def __init__(__self__, *,
22
+ edge_container_app_name: pulumi.Input[str],
23
+ service_port: pulumi.Input[int],
24
+ target_port: pulumi.Input[int],
25
+ health_check_fail_times: Optional[pulumi.Input[int]] = None,
26
+ health_check_host: Optional[pulumi.Input[str]] = None,
27
+ health_check_http_code: Optional[pulumi.Input[str]] = None,
28
+ health_check_interval: Optional[pulumi.Input[int]] = None,
29
+ health_check_method: Optional[pulumi.Input[str]] = None,
30
+ health_check_port: Optional[pulumi.Input[int]] = None,
31
+ health_check_succ_times: Optional[pulumi.Input[int]] = None,
32
+ health_check_timeout: Optional[pulumi.Input[int]] = None,
33
+ health_check_type: Optional[pulumi.Input[str]] = None,
34
+ health_check_uri: Optional[pulumi.Input[str]] = None,
35
+ remarks: Optional[pulumi.Input[str]] = None):
36
+ """
37
+ The set of arguments for constructing a EdgeContainerApp resource.
38
+ :param pulumi.Input[str] edge_container_app_name: The application name must start with a lowercase letter. Lowercase letters, numbers, and bars are supported. The length is limited to 6 to 128 characters.
39
+ :param pulumi.Input[int] service_port: The name of the application. The name must start with a lowercase letter and can contain lowercase letters, digits, and hyphens (-). The name must be 6 to 128 characters in length.
40
+ :param pulumi.Input[int] target_port: The server port. Valid values: 1 to 65535.
41
+ :param pulumi.Input[int] health_check_fail_times: The number of consecutive successful health checks required for an application to be considered as healthy. Valid values: 1 to 10. Default value: 2.
42
+ :param pulumi.Input[str] health_check_host: The health check type. By default, this parameter is left empty.
43
+
44
+ Valid values:
45
+ :param pulumi.Input[str] health_check_http_code: The domain name that is used for health checks. This parameter is empty by default.
46
+ :param pulumi.Input[int] health_check_interval: The timeout period of a health check response. If a backend ECS instance does not respond within the specified timeout period, the ECS instance fails the health check. Unit: seconds.
47
+ Valid values: `1` to `100`.
48
+ Default value: `3`.
49
+ :param pulumi.Input[str] health_check_method: The HTTP status code returned for a successful health check. Valid values:
50
+
51
+ - **http\\_2xx** (default)
52
+ - **http\\_3xx**
53
+ :param pulumi.Input[int] health_check_port: The URI used for health checks. The URI must be `1` to `80` characters in length. Default value: "/".
54
+ :param pulumi.Input[int] health_check_succ_times: The interval between two consecutive health checks. Unit: seconds. Valid values: `1` to `50`. Default value: `5`.
55
+ :param pulumi.Input[int] health_check_timeout: The port used for health checks. Valid values: 1 to 65535. Default value: 80.
56
+ :param pulumi.Input[str] health_check_type: The remarks. This parameter is empty by default.
57
+ :param pulumi.Input[str] health_check_uri: The HTTP request method for health checks. Valid values:
58
+
59
+ - `HEAD` (default): requests the headers of the resource.
60
+ - `GET`: requests the specified resource and returns both the headers and entity body.
61
+ :param pulumi.Input[str] remarks: The backend port, which is also the service port of the application. Valid values: 1 to 65535.
62
+ """
63
+ pulumi.set(__self__, "edge_container_app_name", edge_container_app_name)
64
+ pulumi.set(__self__, "service_port", service_port)
65
+ pulumi.set(__self__, "target_port", target_port)
66
+ if health_check_fail_times is not None:
67
+ pulumi.set(__self__, "health_check_fail_times", health_check_fail_times)
68
+ if health_check_host is not None:
69
+ pulumi.set(__self__, "health_check_host", health_check_host)
70
+ if health_check_http_code is not None:
71
+ pulumi.set(__self__, "health_check_http_code", health_check_http_code)
72
+ if health_check_interval is not None:
73
+ pulumi.set(__self__, "health_check_interval", health_check_interval)
74
+ if health_check_method is not None:
75
+ pulumi.set(__self__, "health_check_method", health_check_method)
76
+ if health_check_port is not None:
77
+ pulumi.set(__self__, "health_check_port", health_check_port)
78
+ if health_check_succ_times is not None:
79
+ pulumi.set(__self__, "health_check_succ_times", health_check_succ_times)
80
+ if health_check_timeout is not None:
81
+ pulumi.set(__self__, "health_check_timeout", health_check_timeout)
82
+ if health_check_type is not None:
83
+ pulumi.set(__self__, "health_check_type", health_check_type)
84
+ if health_check_uri is not None:
85
+ pulumi.set(__self__, "health_check_uri", health_check_uri)
86
+ if remarks is not None:
87
+ pulumi.set(__self__, "remarks", remarks)
88
+
89
+ @property
90
+ @pulumi.getter(name="edgeContainerAppName")
91
+ def edge_container_app_name(self) -> pulumi.Input[str]:
92
+ """
93
+ The application name must start with a lowercase letter. Lowercase letters, numbers, and bars are supported. The length is limited to 6 to 128 characters.
94
+ """
95
+ return pulumi.get(self, "edge_container_app_name")
96
+
97
+ @edge_container_app_name.setter
98
+ def edge_container_app_name(self, value: pulumi.Input[str]):
99
+ pulumi.set(self, "edge_container_app_name", value)
100
+
101
+ @property
102
+ @pulumi.getter(name="servicePort")
103
+ def service_port(self) -> pulumi.Input[int]:
104
+ """
105
+ The name of the application. The name must start with a lowercase letter and can contain lowercase letters, digits, and hyphens (-). The name must be 6 to 128 characters in length.
106
+ """
107
+ return pulumi.get(self, "service_port")
108
+
109
+ @service_port.setter
110
+ def service_port(self, value: pulumi.Input[int]):
111
+ pulumi.set(self, "service_port", value)
112
+
113
+ @property
114
+ @pulumi.getter(name="targetPort")
115
+ def target_port(self) -> pulumi.Input[int]:
116
+ """
117
+ The server port. Valid values: 1 to 65535.
118
+ """
119
+ return pulumi.get(self, "target_port")
120
+
121
+ @target_port.setter
122
+ def target_port(self, value: pulumi.Input[int]):
123
+ pulumi.set(self, "target_port", value)
124
+
125
+ @property
126
+ @pulumi.getter(name="healthCheckFailTimes")
127
+ def health_check_fail_times(self) -> Optional[pulumi.Input[int]]:
128
+ """
129
+ The number of consecutive successful health checks required for an application to be considered as healthy. Valid values: 1 to 10. Default value: 2.
130
+ """
131
+ return pulumi.get(self, "health_check_fail_times")
132
+
133
+ @health_check_fail_times.setter
134
+ def health_check_fail_times(self, value: Optional[pulumi.Input[int]]):
135
+ pulumi.set(self, "health_check_fail_times", value)
136
+
137
+ @property
138
+ @pulumi.getter(name="healthCheckHost")
139
+ def health_check_host(self) -> Optional[pulumi.Input[str]]:
140
+ """
141
+ The health check type. By default, this parameter is left empty.
142
+
143
+ Valid values:
144
+ """
145
+ return pulumi.get(self, "health_check_host")
146
+
147
+ @health_check_host.setter
148
+ def health_check_host(self, value: Optional[pulumi.Input[str]]):
149
+ pulumi.set(self, "health_check_host", value)
150
+
151
+ @property
152
+ @pulumi.getter(name="healthCheckHttpCode")
153
+ def health_check_http_code(self) -> Optional[pulumi.Input[str]]:
154
+ """
155
+ The domain name that is used for health checks. This parameter is empty by default.
156
+ """
157
+ return pulumi.get(self, "health_check_http_code")
158
+
159
+ @health_check_http_code.setter
160
+ def health_check_http_code(self, value: Optional[pulumi.Input[str]]):
161
+ pulumi.set(self, "health_check_http_code", value)
162
+
163
+ @property
164
+ @pulumi.getter(name="healthCheckInterval")
165
+ def health_check_interval(self) -> Optional[pulumi.Input[int]]:
166
+ """
167
+ The timeout period of a health check response. If a backend ECS instance does not respond within the specified timeout period, the ECS instance fails the health check. Unit: seconds.
168
+ Valid values: `1` to `100`.
169
+ Default value: `3`.
170
+ """
171
+ return pulumi.get(self, "health_check_interval")
172
+
173
+ @health_check_interval.setter
174
+ def health_check_interval(self, value: Optional[pulumi.Input[int]]):
175
+ pulumi.set(self, "health_check_interval", value)
176
+
177
+ @property
178
+ @pulumi.getter(name="healthCheckMethod")
179
+ def health_check_method(self) -> Optional[pulumi.Input[str]]:
180
+ """
181
+ The HTTP status code returned for a successful health check. Valid values:
182
+
183
+ - **http\\_2xx** (default)
184
+ - **http\\_3xx**
185
+ """
186
+ return pulumi.get(self, "health_check_method")
187
+
188
+ @health_check_method.setter
189
+ def health_check_method(self, value: Optional[pulumi.Input[str]]):
190
+ pulumi.set(self, "health_check_method", value)
191
+
192
+ @property
193
+ @pulumi.getter(name="healthCheckPort")
194
+ def health_check_port(self) -> Optional[pulumi.Input[int]]:
195
+ """
196
+ The URI used for health checks. The URI must be `1` to `80` characters in length. Default value: "/".
197
+ """
198
+ return pulumi.get(self, "health_check_port")
199
+
200
+ @health_check_port.setter
201
+ def health_check_port(self, value: Optional[pulumi.Input[int]]):
202
+ pulumi.set(self, "health_check_port", value)
203
+
204
+ @property
205
+ @pulumi.getter(name="healthCheckSuccTimes")
206
+ def health_check_succ_times(self) -> Optional[pulumi.Input[int]]:
207
+ """
208
+ The interval between two consecutive health checks. Unit: seconds. Valid values: `1` to `50`. Default value: `5`.
209
+ """
210
+ return pulumi.get(self, "health_check_succ_times")
211
+
212
+ @health_check_succ_times.setter
213
+ def health_check_succ_times(self, value: Optional[pulumi.Input[int]]):
214
+ pulumi.set(self, "health_check_succ_times", value)
215
+
216
+ @property
217
+ @pulumi.getter(name="healthCheckTimeout")
218
+ def health_check_timeout(self) -> Optional[pulumi.Input[int]]:
219
+ """
220
+ The port used for health checks. Valid values: 1 to 65535. Default value: 80.
221
+ """
222
+ return pulumi.get(self, "health_check_timeout")
223
+
224
+ @health_check_timeout.setter
225
+ def health_check_timeout(self, value: Optional[pulumi.Input[int]]):
226
+ pulumi.set(self, "health_check_timeout", value)
227
+
228
+ @property
229
+ @pulumi.getter(name="healthCheckType")
230
+ def health_check_type(self) -> Optional[pulumi.Input[str]]:
231
+ """
232
+ The remarks. This parameter is empty by default.
233
+ """
234
+ return pulumi.get(self, "health_check_type")
235
+
236
+ @health_check_type.setter
237
+ def health_check_type(self, value: Optional[pulumi.Input[str]]):
238
+ pulumi.set(self, "health_check_type", value)
239
+
240
+ @property
241
+ @pulumi.getter(name="healthCheckUri")
242
+ def health_check_uri(self) -> Optional[pulumi.Input[str]]:
243
+ """
244
+ The HTTP request method for health checks. Valid values:
245
+
246
+ - `HEAD` (default): requests the headers of the resource.
247
+ - `GET`: requests the specified resource and returns both the headers and entity body.
248
+ """
249
+ return pulumi.get(self, "health_check_uri")
250
+
251
+ @health_check_uri.setter
252
+ def health_check_uri(self, value: Optional[pulumi.Input[str]]):
253
+ pulumi.set(self, "health_check_uri", value)
254
+
255
+ @property
256
+ @pulumi.getter
257
+ def remarks(self) -> Optional[pulumi.Input[str]]:
258
+ """
259
+ The backend port, which is also the service port of the application. Valid values: 1 to 65535.
260
+ """
261
+ return pulumi.get(self, "remarks")
262
+
263
+ @remarks.setter
264
+ def remarks(self, value: Optional[pulumi.Input[str]]):
265
+ pulumi.set(self, "remarks", value)
266
+
267
+
268
+ @pulumi.input_type
269
+ class _EdgeContainerAppState:
270
+ def __init__(__self__, *,
271
+ create_time: Optional[pulumi.Input[str]] = None,
272
+ edge_container_app_name: Optional[pulumi.Input[str]] = None,
273
+ health_check_fail_times: Optional[pulumi.Input[int]] = None,
274
+ health_check_host: Optional[pulumi.Input[str]] = None,
275
+ health_check_http_code: Optional[pulumi.Input[str]] = None,
276
+ health_check_interval: Optional[pulumi.Input[int]] = None,
277
+ health_check_method: Optional[pulumi.Input[str]] = None,
278
+ health_check_port: Optional[pulumi.Input[int]] = None,
279
+ health_check_succ_times: Optional[pulumi.Input[int]] = None,
280
+ health_check_timeout: Optional[pulumi.Input[int]] = None,
281
+ health_check_type: Optional[pulumi.Input[str]] = None,
282
+ health_check_uri: Optional[pulumi.Input[str]] = None,
283
+ remarks: Optional[pulumi.Input[str]] = None,
284
+ service_port: Optional[pulumi.Input[int]] = None,
285
+ status: Optional[pulumi.Input[str]] = None,
286
+ target_port: Optional[pulumi.Input[int]] = None):
287
+ """
288
+ Input properties used for looking up and filtering EdgeContainerApp resources.
289
+ :param pulumi.Input[str] create_time: The time when the application was created.
290
+ :param pulumi.Input[str] edge_container_app_name: The application name must start with a lowercase letter. Lowercase letters, numbers, and bars are supported. The length is limited to 6 to 128 characters.
291
+ :param pulumi.Input[int] health_check_fail_times: The number of consecutive successful health checks required for an application to be considered as healthy. Valid values: 1 to 10. Default value: 2.
292
+ :param pulumi.Input[str] health_check_host: The health check type. By default, this parameter is left empty.
293
+
294
+ Valid values:
295
+ :param pulumi.Input[str] health_check_http_code: The domain name that is used for health checks. This parameter is empty by default.
296
+ :param pulumi.Input[int] health_check_interval: The timeout period of a health check response. If a backend ECS instance does not respond within the specified timeout period, the ECS instance fails the health check. Unit: seconds.
297
+ Valid values: `1` to `100`.
298
+ Default value: `3`.
299
+ :param pulumi.Input[str] health_check_method: The HTTP status code returned for a successful health check. Valid values:
300
+
301
+ - **http\\_2xx** (default)
302
+ - **http\\_3xx**
303
+ :param pulumi.Input[int] health_check_port: The URI used for health checks. The URI must be `1` to `80` characters in length. Default value: "/".
304
+ :param pulumi.Input[int] health_check_succ_times: The interval between two consecutive health checks. Unit: seconds. Valid values: `1` to `50`. Default value: `5`.
305
+ :param pulumi.Input[int] health_check_timeout: The port used for health checks. Valid values: 1 to 65535. Default value: 80.
306
+ :param pulumi.Input[str] health_check_type: The remarks. This parameter is empty by default.
307
+ :param pulumi.Input[str] health_check_uri: The HTTP request method for health checks. Valid values:
308
+
309
+ - `HEAD` (default): requests the headers of the resource.
310
+ - `GET`: requests the specified resource and returns both the headers and entity body.
311
+ :param pulumi.Input[str] remarks: The backend port, which is also the service port of the application. Valid values: 1 to 65535.
312
+ :param pulumi.Input[int] service_port: The name of the application. The name must start with a lowercase letter and can contain lowercase letters, digits, and hyphens (-). The name must be 6 to 128 characters in length.
313
+ :param pulumi.Input[str] status: The status of the application.
314
+ :param pulumi.Input[int] target_port: The server port. Valid values: 1 to 65535.
315
+ """
316
+ if create_time is not None:
317
+ pulumi.set(__self__, "create_time", create_time)
318
+ if edge_container_app_name is not None:
319
+ pulumi.set(__self__, "edge_container_app_name", edge_container_app_name)
320
+ if health_check_fail_times is not None:
321
+ pulumi.set(__self__, "health_check_fail_times", health_check_fail_times)
322
+ if health_check_host is not None:
323
+ pulumi.set(__self__, "health_check_host", health_check_host)
324
+ if health_check_http_code is not None:
325
+ pulumi.set(__self__, "health_check_http_code", health_check_http_code)
326
+ if health_check_interval is not None:
327
+ pulumi.set(__self__, "health_check_interval", health_check_interval)
328
+ if health_check_method is not None:
329
+ pulumi.set(__self__, "health_check_method", health_check_method)
330
+ if health_check_port is not None:
331
+ pulumi.set(__self__, "health_check_port", health_check_port)
332
+ if health_check_succ_times is not None:
333
+ pulumi.set(__self__, "health_check_succ_times", health_check_succ_times)
334
+ if health_check_timeout is not None:
335
+ pulumi.set(__self__, "health_check_timeout", health_check_timeout)
336
+ if health_check_type is not None:
337
+ pulumi.set(__self__, "health_check_type", health_check_type)
338
+ if health_check_uri is not None:
339
+ pulumi.set(__self__, "health_check_uri", health_check_uri)
340
+ if remarks is not None:
341
+ pulumi.set(__self__, "remarks", remarks)
342
+ if service_port is not None:
343
+ pulumi.set(__self__, "service_port", service_port)
344
+ if status is not None:
345
+ pulumi.set(__self__, "status", status)
346
+ if target_port is not None:
347
+ pulumi.set(__self__, "target_port", target_port)
348
+
349
+ @property
350
+ @pulumi.getter(name="createTime")
351
+ def create_time(self) -> Optional[pulumi.Input[str]]:
352
+ """
353
+ The time when the application was created.
354
+ """
355
+ return pulumi.get(self, "create_time")
356
+
357
+ @create_time.setter
358
+ def create_time(self, value: Optional[pulumi.Input[str]]):
359
+ pulumi.set(self, "create_time", value)
360
+
361
+ @property
362
+ @pulumi.getter(name="edgeContainerAppName")
363
+ def edge_container_app_name(self) -> Optional[pulumi.Input[str]]:
364
+ """
365
+ The application name must start with a lowercase letter. Lowercase letters, numbers, and bars are supported. The length is limited to 6 to 128 characters.
366
+ """
367
+ return pulumi.get(self, "edge_container_app_name")
368
+
369
+ @edge_container_app_name.setter
370
+ def edge_container_app_name(self, value: Optional[pulumi.Input[str]]):
371
+ pulumi.set(self, "edge_container_app_name", value)
372
+
373
+ @property
374
+ @pulumi.getter(name="healthCheckFailTimes")
375
+ def health_check_fail_times(self) -> Optional[pulumi.Input[int]]:
376
+ """
377
+ The number of consecutive successful health checks required for an application to be considered as healthy. Valid values: 1 to 10. Default value: 2.
378
+ """
379
+ return pulumi.get(self, "health_check_fail_times")
380
+
381
+ @health_check_fail_times.setter
382
+ def health_check_fail_times(self, value: Optional[pulumi.Input[int]]):
383
+ pulumi.set(self, "health_check_fail_times", value)
384
+
385
+ @property
386
+ @pulumi.getter(name="healthCheckHost")
387
+ def health_check_host(self) -> Optional[pulumi.Input[str]]:
388
+ """
389
+ The health check type. By default, this parameter is left empty.
390
+
391
+ Valid values:
392
+ """
393
+ return pulumi.get(self, "health_check_host")
394
+
395
+ @health_check_host.setter
396
+ def health_check_host(self, value: Optional[pulumi.Input[str]]):
397
+ pulumi.set(self, "health_check_host", value)
398
+
399
+ @property
400
+ @pulumi.getter(name="healthCheckHttpCode")
401
+ def health_check_http_code(self) -> Optional[pulumi.Input[str]]:
402
+ """
403
+ The domain name that is used for health checks. This parameter is empty by default.
404
+ """
405
+ return pulumi.get(self, "health_check_http_code")
406
+
407
+ @health_check_http_code.setter
408
+ def health_check_http_code(self, value: Optional[pulumi.Input[str]]):
409
+ pulumi.set(self, "health_check_http_code", value)
410
+
411
+ @property
412
+ @pulumi.getter(name="healthCheckInterval")
413
+ def health_check_interval(self) -> Optional[pulumi.Input[int]]:
414
+ """
415
+ The timeout period of a health check response. If a backend ECS instance does not respond within the specified timeout period, the ECS instance fails the health check. Unit: seconds.
416
+ Valid values: `1` to `100`.
417
+ Default value: `3`.
418
+ """
419
+ return pulumi.get(self, "health_check_interval")
420
+
421
+ @health_check_interval.setter
422
+ def health_check_interval(self, value: Optional[pulumi.Input[int]]):
423
+ pulumi.set(self, "health_check_interval", value)
424
+
425
+ @property
426
+ @pulumi.getter(name="healthCheckMethod")
427
+ def health_check_method(self) -> Optional[pulumi.Input[str]]:
428
+ """
429
+ The HTTP status code returned for a successful health check. Valid values:
430
+
431
+ - **http\\_2xx** (default)
432
+ - **http\\_3xx**
433
+ """
434
+ return pulumi.get(self, "health_check_method")
435
+
436
+ @health_check_method.setter
437
+ def health_check_method(self, value: Optional[pulumi.Input[str]]):
438
+ pulumi.set(self, "health_check_method", value)
439
+
440
+ @property
441
+ @pulumi.getter(name="healthCheckPort")
442
+ def health_check_port(self) -> Optional[pulumi.Input[int]]:
443
+ """
444
+ The URI used for health checks. The URI must be `1` to `80` characters in length. Default value: "/".
445
+ """
446
+ return pulumi.get(self, "health_check_port")
447
+
448
+ @health_check_port.setter
449
+ def health_check_port(self, value: Optional[pulumi.Input[int]]):
450
+ pulumi.set(self, "health_check_port", value)
451
+
452
+ @property
453
+ @pulumi.getter(name="healthCheckSuccTimes")
454
+ def health_check_succ_times(self) -> Optional[pulumi.Input[int]]:
455
+ """
456
+ The interval between two consecutive health checks. Unit: seconds. Valid values: `1` to `50`. Default value: `5`.
457
+ """
458
+ return pulumi.get(self, "health_check_succ_times")
459
+
460
+ @health_check_succ_times.setter
461
+ def health_check_succ_times(self, value: Optional[pulumi.Input[int]]):
462
+ pulumi.set(self, "health_check_succ_times", value)
463
+
464
+ @property
465
+ @pulumi.getter(name="healthCheckTimeout")
466
+ def health_check_timeout(self) -> Optional[pulumi.Input[int]]:
467
+ """
468
+ The port used for health checks. Valid values: 1 to 65535. Default value: 80.
469
+ """
470
+ return pulumi.get(self, "health_check_timeout")
471
+
472
+ @health_check_timeout.setter
473
+ def health_check_timeout(self, value: Optional[pulumi.Input[int]]):
474
+ pulumi.set(self, "health_check_timeout", value)
475
+
476
+ @property
477
+ @pulumi.getter(name="healthCheckType")
478
+ def health_check_type(self) -> Optional[pulumi.Input[str]]:
479
+ """
480
+ The remarks. This parameter is empty by default.
481
+ """
482
+ return pulumi.get(self, "health_check_type")
483
+
484
+ @health_check_type.setter
485
+ def health_check_type(self, value: Optional[pulumi.Input[str]]):
486
+ pulumi.set(self, "health_check_type", value)
487
+
488
+ @property
489
+ @pulumi.getter(name="healthCheckUri")
490
+ def health_check_uri(self) -> Optional[pulumi.Input[str]]:
491
+ """
492
+ The HTTP request method for health checks. Valid values:
493
+
494
+ - `HEAD` (default): requests the headers of the resource.
495
+ - `GET`: requests the specified resource and returns both the headers and entity body.
496
+ """
497
+ return pulumi.get(self, "health_check_uri")
498
+
499
+ @health_check_uri.setter
500
+ def health_check_uri(self, value: Optional[pulumi.Input[str]]):
501
+ pulumi.set(self, "health_check_uri", value)
502
+
503
+ @property
504
+ @pulumi.getter
505
+ def remarks(self) -> Optional[pulumi.Input[str]]:
506
+ """
507
+ The backend port, which is also the service port of the application. Valid values: 1 to 65535.
508
+ """
509
+ return pulumi.get(self, "remarks")
510
+
511
+ @remarks.setter
512
+ def remarks(self, value: Optional[pulumi.Input[str]]):
513
+ pulumi.set(self, "remarks", value)
514
+
515
+ @property
516
+ @pulumi.getter(name="servicePort")
517
+ def service_port(self) -> Optional[pulumi.Input[int]]:
518
+ """
519
+ The name of the application. The name must start with a lowercase letter and can contain lowercase letters, digits, and hyphens (-). The name must be 6 to 128 characters in length.
520
+ """
521
+ return pulumi.get(self, "service_port")
522
+
523
+ @service_port.setter
524
+ def service_port(self, value: Optional[pulumi.Input[int]]):
525
+ pulumi.set(self, "service_port", value)
526
+
527
+ @property
528
+ @pulumi.getter
529
+ def status(self) -> Optional[pulumi.Input[str]]:
530
+ """
531
+ The status of the application.
532
+ """
533
+ return pulumi.get(self, "status")
534
+
535
+ @status.setter
536
+ def status(self, value: Optional[pulumi.Input[str]]):
537
+ pulumi.set(self, "status", value)
538
+
539
+ @property
540
+ @pulumi.getter(name="targetPort")
541
+ def target_port(self) -> Optional[pulumi.Input[int]]:
542
+ """
543
+ The server port. Valid values: 1 to 65535.
544
+ """
545
+ return pulumi.get(self, "target_port")
546
+
547
+ @target_port.setter
548
+ def target_port(self, value: Optional[pulumi.Input[int]]):
549
+ pulumi.set(self, "target_port", value)
550
+
551
+
552
+ class EdgeContainerApp(pulumi.CustomResource):
553
+ @overload
554
+ def __init__(__self__,
555
+ resource_name: str,
556
+ opts: Optional[pulumi.ResourceOptions] = None,
557
+ edge_container_app_name: Optional[pulumi.Input[str]] = None,
558
+ health_check_fail_times: Optional[pulumi.Input[int]] = None,
559
+ health_check_host: Optional[pulumi.Input[str]] = None,
560
+ health_check_http_code: Optional[pulumi.Input[str]] = None,
561
+ health_check_interval: Optional[pulumi.Input[int]] = None,
562
+ health_check_method: Optional[pulumi.Input[str]] = None,
563
+ health_check_port: Optional[pulumi.Input[int]] = None,
564
+ health_check_succ_times: Optional[pulumi.Input[int]] = None,
565
+ health_check_timeout: Optional[pulumi.Input[int]] = None,
566
+ health_check_type: Optional[pulumi.Input[str]] = None,
567
+ health_check_uri: Optional[pulumi.Input[str]] = None,
568
+ remarks: Optional[pulumi.Input[str]] = None,
569
+ service_port: Optional[pulumi.Input[int]] = None,
570
+ target_port: Optional[pulumi.Input[int]] = None,
571
+ __props__=None):
572
+ """
573
+ Provides a ESA Edge Container App resource.
574
+
575
+ For information about ESA Edge Container App and how to use it, see [What is Edge Container App](https://next.api.alibabacloud.com/document/ESA/2024-09-10/CreateEdgeContainerApp).
576
+
577
+ > **NOTE:** Available since v1.247.0.
578
+
579
+ ## Example Usage
580
+
581
+ Basic Usage
582
+
583
+ ```python
584
+ import pulumi
585
+ import pulumi_alicloud as alicloud
586
+
587
+ config = pulumi.Config()
588
+ name = config.get("name")
589
+ if name is None:
590
+ name = "tfexample"
591
+ default = alicloud.esa.EdgeContainerApp("default",
592
+ target_port=3000,
593
+ health_check_host="example.com",
594
+ remarks=name,
595
+ health_check_port=80,
596
+ health_check_uri="/",
597
+ health_check_timeout=3,
598
+ health_check_method="HEAD",
599
+ health_check_http_code="http_2xx",
600
+ health_check_fail_times=5,
601
+ service_port=80,
602
+ health_check_interval=5,
603
+ health_check_succ_times=2,
604
+ edge_container_app_name=name,
605
+ health_check_type="l7")
606
+ ```
607
+
608
+ ## Import
609
+
610
+ ESA Edge Container App can be imported using the id, e.g.
611
+
612
+ ```sh
613
+ $ pulumi import alicloud:esa/edgeContainerApp:EdgeContainerApp example <id>
614
+ ```
615
+
616
+ :param str resource_name: The name of the resource.
617
+ :param pulumi.ResourceOptions opts: Options for the resource.
618
+ :param pulumi.Input[str] edge_container_app_name: The application name must start with a lowercase letter. Lowercase letters, numbers, and bars are supported. The length is limited to 6 to 128 characters.
619
+ :param pulumi.Input[int] health_check_fail_times: The number of consecutive successful health checks required for an application to be considered as healthy. Valid values: 1 to 10. Default value: 2.
620
+ :param pulumi.Input[str] health_check_host: The health check type. By default, this parameter is left empty.
621
+
622
+ Valid values:
623
+ :param pulumi.Input[str] health_check_http_code: The domain name that is used for health checks. This parameter is empty by default.
624
+ :param pulumi.Input[int] health_check_interval: The timeout period of a health check response. If a backend ECS instance does not respond within the specified timeout period, the ECS instance fails the health check. Unit: seconds.
625
+ Valid values: `1` to `100`.
626
+ Default value: `3`.
627
+ :param pulumi.Input[str] health_check_method: The HTTP status code returned for a successful health check. Valid values:
628
+
629
+ - **http\\_2xx** (default)
630
+ - **http\\_3xx**
631
+ :param pulumi.Input[int] health_check_port: The URI used for health checks. The URI must be `1` to `80` characters in length. Default value: "/".
632
+ :param pulumi.Input[int] health_check_succ_times: The interval between two consecutive health checks. Unit: seconds. Valid values: `1` to `50`. Default value: `5`.
633
+ :param pulumi.Input[int] health_check_timeout: The port used for health checks. Valid values: 1 to 65535. Default value: 80.
634
+ :param pulumi.Input[str] health_check_type: The remarks. This parameter is empty by default.
635
+ :param pulumi.Input[str] health_check_uri: The HTTP request method for health checks. Valid values:
636
+
637
+ - `HEAD` (default): requests the headers of the resource.
638
+ - `GET`: requests the specified resource and returns both the headers and entity body.
639
+ :param pulumi.Input[str] remarks: The backend port, which is also the service port of the application. Valid values: 1 to 65535.
640
+ :param pulumi.Input[int] service_port: The name of the application. The name must start with a lowercase letter and can contain lowercase letters, digits, and hyphens (-). The name must be 6 to 128 characters in length.
641
+ :param pulumi.Input[int] target_port: The server port. Valid values: 1 to 65535.
642
+ """
643
+ ...
644
+ @overload
645
+ def __init__(__self__,
646
+ resource_name: str,
647
+ args: EdgeContainerAppArgs,
648
+ opts: Optional[pulumi.ResourceOptions] = None):
649
+ """
650
+ Provides a ESA Edge Container App resource.
651
+
652
+ For information about ESA Edge Container App and how to use it, see [What is Edge Container App](https://next.api.alibabacloud.com/document/ESA/2024-09-10/CreateEdgeContainerApp).
653
+
654
+ > **NOTE:** Available since v1.247.0.
655
+
656
+ ## Example Usage
657
+
658
+ Basic Usage
659
+
660
+ ```python
661
+ import pulumi
662
+ import pulumi_alicloud as alicloud
663
+
664
+ config = pulumi.Config()
665
+ name = config.get("name")
666
+ if name is None:
667
+ name = "tfexample"
668
+ default = alicloud.esa.EdgeContainerApp("default",
669
+ target_port=3000,
670
+ health_check_host="example.com",
671
+ remarks=name,
672
+ health_check_port=80,
673
+ health_check_uri="/",
674
+ health_check_timeout=3,
675
+ health_check_method="HEAD",
676
+ health_check_http_code="http_2xx",
677
+ health_check_fail_times=5,
678
+ service_port=80,
679
+ health_check_interval=5,
680
+ health_check_succ_times=2,
681
+ edge_container_app_name=name,
682
+ health_check_type="l7")
683
+ ```
684
+
685
+ ## Import
686
+
687
+ ESA Edge Container App can be imported using the id, e.g.
688
+
689
+ ```sh
690
+ $ pulumi import alicloud:esa/edgeContainerApp:EdgeContainerApp example <id>
691
+ ```
692
+
693
+ :param str resource_name: The name of the resource.
694
+ :param EdgeContainerAppArgs args: The arguments to use to populate this resource's properties.
695
+ :param pulumi.ResourceOptions opts: Options for the resource.
696
+ """
697
+ ...
698
+ def __init__(__self__, resource_name: str, *args, **kwargs):
699
+ resource_args, opts = _utilities.get_resource_args_opts(EdgeContainerAppArgs, pulumi.ResourceOptions, *args, **kwargs)
700
+ if resource_args is not None:
701
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
702
+ else:
703
+ __self__._internal_init(resource_name, *args, **kwargs)
704
+
705
+ def _internal_init(__self__,
706
+ resource_name: str,
707
+ opts: Optional[pulumi.ResourceOptions] = None,
708
+ edge_container_app_name: Optional[pulumi.Input[str]] = None,
709
+ health_check_fail_times: Optional[pulumi.Input[int]] = None,
710
+ health_check_host: Optional[pulumi.Input[str]] = None,
711
+ health_check_http_code: Optional[pulumi.Input[str]] = None,
712
+ health_check_interval: Optional[pulumi.Input[int]] = None,
713
+ health_check_method: Optional[pulumi.Input[str]] = None,
714
+ health_check_port: Optional[pulumi.Input[int]] = None,
715
+ health_check_succ_times: Optional[pulumi.Input[int]] = None,
716
+ health_check_timeout: Optional[pulumi.Input[int]] = None,
717
+ health_check_type: Optional[pulumi.Input[str]] = None,
718
+ health_check_uri: Optional[pulumi.Input[str]] = None,
719
+ remarks: Optional[pulumi.Input[str]] = None,
720
+ service_port: Optional[pulumi.Input[int]] = None,
721
+ target_port: Optional[pulumi.Input[int]] = None,
722
+ __props__=None):
723
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
724
+ if not isinstance(opts, pulumi.ResourceOptions):
725
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
726
+ if opts.id is None:
727
+ if __props__ is not None:
728
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
729
+ __props__ = EdgeContainerAppArgs.__new__(EdgeContainerAppArgs)
730
+
731
+ if edge_container_app_name is None and not opts.urn:
732
+ raise TypeError("Missing required property 'edge_container_app_name'")
733
+ __props__.__dict__["edge_container_app_name"] = edge_container_app_name
734
+ __props__.__dict__["health_check_fail_times"] = health_check_fail_times
735
+ __props__.__dict__["health_check_host"] = health_check_host
736
+ __props__.__dict__["health_check_http_code"] = health_check_http_code
737
+ __props__.__dict__["health_check_interval"] = health_check_interval
738
+ __props__.__dict__["health_check_method"] = health_check_method
739
+ __props__.__dict__["health_check_port"] = health_check_port
740
+ __props__.__dict__["health_check_succ_times"] = health_check_succ_times
741
+ __props__.__dict__["health_check_timeout"] = health_check_timeout
742
+ __props__.__dict__["health_check_type"] = health_check_type
743
+ __props__.__dict__["health_check_uri"] = health_check_uri
744
+ __props__.__dict__["remarks"] = remarks
745
+ if service_port is None and not opts.urn:
746
+ raise TypeError("Missing required property 'service_port'")
747
+ __props__.__dict__["service_port"] = service_port
748
+ if target_port is None and not opts.urn:
749
+ raise TypeError("Missing required property 'target_port'")
750
+ __props__.__dict__["target_port"] = target_port
751
+ __props__.__dict__["create_time"] = None
752
+ __props__.__dict__["status"] = None
753
+ super(EdgeContainerApp, __self__).__init__(
754
+ 'alicloud:esa/edgeContainerApp:EdgeContainerApp',
755
+ resource_name,
756
+ __props__,
757
+ opts)
758
+
759
+ @staticmethod
760
+ def get(resource_name: str,
761
+ id: pulumi.Input[str],
762
+ opts: Optional[pulumi.ResourceOptions] = None,
763
+ create_time: Optional[pulumi.Input[str]] = None,
764
+ edge_container_app_name: Optional[pulumi.Input[str]] = None,
765
+ health_check_fail_times: Optional[pulumi.Input[int]] = None,
766
+ health_check_host: Optional[pulumi.Input[str]] = None,
767
+ health_check_http_code: Optional[pulumi.Input[str]] = None,
768
+ health_check_interval: Optional[pulumi.Input[int]] = None,
769
+ health_check_method: Optional[pulumi.Input[str]] = None,
770
+ health_check_port: Optional[pulumi.Input[int]] = None,
771
+ health_check_succ_times: Optional[pulumi.Input[int]] = None,
772
+ health_check_timeout: Optional[pulumi.Input[int]] = None,
773
+ health_check_type: Optional[pulumi.Input[str]] = None,
774
+ health_check_uri: Optional[pulumi.Input[str]] = None,
775
+ remarks: Optional[pulumi.Input[str]] = None,
776
+ service_port: Optional[pulumi.Input[int]] = None,
777
+ status: Optional[pulumi.Input[str]] = None,
778
+ target_port: Optional[pulumi.Input[int]] = None) -> 'EdgeContainerApp':
779
+ """
780
+ Get an existing EdgeContainerApp resource's state with the given name, id, and optional extra
781
+ properties used to qualify the lookup.
782
+
783
+ :param str resource_name: The unique name of the resulting resource.
784
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
785
+ :param pulumi.ResourceOptions opts: Options for the resource.
786
+ :param pulumi.Input[str] create_time: The time when the application was created.
787
+ :param pulumi.Input[str] edge_container_app_name: The application name must start with a lowercase letter. Lowercase letters, numbers, and bars are supported. The length is limited to 6 to 128 characters.
788
+ :param pulumi.Input[int] health_check_fail_times: The number of consecutive successful health checks required for an application to be considered as healthy. Valid values: 1 to 10. Default value: 2.
789
+ :param pulumi.Input[str] health_check_host: The health check type. By default, this parameter is left empty.
790
+
791
+ Valid values:
792
+ :param pulumi.Input[str] health_check_http_code: The domain name that is used for health checks. This parameter is empty by default.
793
+ :param pulumi.Input[int] health_check_interval: The timeout period of a health check response. If a backend ECS instance does not respond within the specified timeout period, the ECS instance fails the health check. Unit: seconds.
794
+ Valid values: `1` to `100`.
795
+ Default value: `3`.
796
+ :param pulumi.Input[str] health_check_method: The HTTP status code returned for a successful health check. Valid values:
797
+
798
+ - **http\\_2xx** (default)
799
+ - **http\\_3xx**
800
+ :param pulumi.Input[int] health_check_port: The URI used for health checks. The URI must be `1` to `80` characters in length. Default value: "/".
801
+ :param pulumi.Input[int] health_check_succ_times: The interval between two consecutive health checks. Unit: seconds. Valid values: `1` to `50`. Default value: `5`.
802
+ :param pulumi.Input[int] health_check_timeout: The port used for health checks. Valid values: 1 to 65535. Default value: 80.
803
+ :param pulumi.Input[str] health_check_type: The remarks. This parameter is empty by default.
804
+ :param pulumi.Input[str] health_check_uri: The HTTP request method for health checks. Valid values:
805
+
806
+ - `HEAD` (default): requests the headers of the resource.
807
+ - `GET`: requests the specified resource and returns both the headers and entity body.
808
+ :param pulumi.Input[str] remarks: The backend port, which is also the service port of the application. Valid values: 1 to 65535.
809
+ :param pulumi.Input[int] service_port: The name of the application. The name must start with a lowercase letter and can contain lowercase letters, digits, and hyphens (-). The name must be 6 to 128 characters in length.
810
+ :param pulumi.Input[str] status: The status of the application.
811
+ :param pulumi.Input[int] target_port: The server port. Valid values: 1 to 65535.
812
+ """
813
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
814
+
815
+ __props__ = _EdgeContainerAppState.__new__(_EdgeContainerAppState)
816
+
817
+ __props__.__dict__["create_time"] = create_time
818
+ __props__.__dict__["edge_container_app_name"] = edge_container_app_name
819
+ __props__.__dict__["health_check_fail_times"] = health_check_fail_times
820
+ __props__.__dict__["health_check_host"] = health_check_host
821
+ __props__.__dict__["health_check_http_code"] = health_check_http_code
822
+ __props__.__dict__["health_check_interval"] = health_check_interval
823
+ __props__.__dict__["health_check_method"] = health_check_method
824
+ __props__.__dict__["health_check_port"] = health_check_port
825
+ __props__.__dict__["health_check_succ_times"] = health_check_succ_times
826
+ __props__.__dict__["health_check_timeout"] = health_check_timeout
827
+ __props__.__dict__["health_check_type"] = health_check_type
828
+ __props__.__dict__["health_check_uri"] = health_check_uri
829
+ __props__.__dict__["remarks"] = remarks
830
+ __props__.__dict__["service_port"] = service_port
831
+ __props__.__dict__["status"] = status
832
+ __props__.__dict__["target_port"] = target_port
833
+ return EdgeContainerApp(resource_name, opts=opts, __props__=__props__)
834
+
835
+ @property
836
+ @pulumi.getter(name="createTime")
837
+ def create_time(self) -> pulumi.Output[str]:
838
+ """
839
+ The time when the application was created.
840
+ """
841
+ return pulumi.get(self, "create_time")
842
+
843
+ @property
844
+ @pulumi.getter(name="edgeContainerAppName")
845
+ def edge_container_app_name(self) -> pulumi.Output[str]:
846
+ """
847
+ The application name must start with a lowercase letter. Lowercase letters, numbers, and bars are supported. The length is limited to 6 to 128 characters.
848
+ """
849
+ return pulumi.get(self, "edge_container_app_name")
850
+
851
+ @property
852
+ @pulumi.getter(name="healthCheckFailTimes")
853
+ def health_check_fail_times(self) -> pulumi.Output[Optional[int]]:
854
+ """
855
+ The number of consecutive successful health checks required for an application to be considered as healthy. Valid values: 1 to 10. Default value: 2.
856
+ """
857
+ return pulumi.get(self, "health_check_fail_times")
858
+
859
+ @property
860
+ @pulumi.getter(name="healthCheckHost")
861
+ def health_check_host(self) -> pulumi.Output[Optional[str]]:
862
+ """
863
+ The health check type. By default, this parameter is left empty.
864
+
865
+ Valid values:
866
+ """
867
+ return pulumi.get(self, "health_check_host")
868
+
869
+ @property
870
+ @pulumi.getter(name="healthCheckHttpCode")
871
+ def health_check_http_code(self) -> pulumi.Output[str]:
872
+ """
873
+ The domain name that is used for health checks. This parameter is empty by default.
874
+ """
875
+ return pulumi.get(self, "health_check_http_code")
876
+
877
+ @property
878
+ @pulumi.getter(name="healthCheckInterval")
879
+ def health_check_interval(self) -> pulumi.Output[int]:
880
+ """
881
+ The timeout period of a health check response. If a backend ECS instance does not respond within the specified timeout period, the ECS instance fails the health check. Unit: seconds.
882
+ Valid values: `1` to `100`.
883
+ Default value: `3`.
884
+ """
885
+ return pulumi.get(self, "health_check_interval")
886
+
887
+ @property
888
+ @pulumi.getter(name="healthCheckMethod")
889
+ def health_check_method(self) -> pulumi.Output[str]:
890
+ """
891
+ The HTTP status code returned for a successful health check. Valid values:
892
+
893
+ - **http\\_2xx** (default)
894
+ - **http\\_3xx**
895
+ """
896
+ return pulumi.get(self, "health_check_method")
897
+
898
+ @property
899
+ @pulumi.getter(name="healthCheckPort")
900
+ def health_check_port(self) -> pulumi.Output[int]:
901
+ """
902
+ The URI used for health checks. The URI must be `1` to `80` characters in length. Default value: "/".
903
+ """
904
+ return pulumi.get(self, "health_check_port")
905
+
906
+ @property
907
+ @pulumi.getter(name="healthCheckSuccTimes")
908
+ def health_check_succ_times(self) -> pulumi.Output[int]:
909
+ """
910
+ The interval between two consecutive health checks. Unit: seconds. Valid values: `1` to `50`. Default value: `5`.
911
+ """
912
+ return pulumi.get(self, "health_check_succ_times")
913
+
914
+ @property
915
+ @pulumi.getter(name="healthCheckTimeout")
916
+ def health_check_timeout(self) -> pulumi.Output[int]:
917
+ """
918
+ The port used for health checks. Valid values: 1 to 65535. Default value: 80.
919
+ """
920
+ return pulumi.get(self, "health_check_timeout")
921
+
922
+ @property
923
+ @pulumi.getter(name="healthCheckType")
924
+ def health_check_type(self) -> pulumi.Output[str]:
925
+ """
926
+ The remarks. This parameter is empty by default.
927
+ """
928
+ return pulumi.get(self, "health_check_type")
929
+
930
+ @property
931
+ @pulumi.getter(name="healthCheckUri")
932
+ def health_check_uri(self) -> pulumi.Output[str]:
933
+ """
934
+ The HTTP request method for health checks. Valid values:
935
+
936
+ - `HEAD` (default): requests the headers of the resource.
937
+ - `GET`: requests the specified resource and returns both the headers and entity body.
938
+ """
939
+ return pulumi.get(self, "health_check_uri")
940
+
941
+ @property
942
+ @pulumi.getter
943
+ def remarks(self) -> pulumi.Output[Optional[str]]:
944
+ """
945
+ The backend port, which is also the service port of the application. Valid values: 1 to 65535.
946
+ """
947
+ return pulumi.get(self, "remarks")
948
+
949
+ @property
950
+ @pulumi.getter(name="servicePort")
951
+ def service_port(self) -> pulumi.Output[int]:
952
+ """
953
+ The name of the application. The name must start with a lowercase letter and can contain lowercase letters, digits, and hyphens (-). The name must be 6 to 128 characters in length.
954
+ """
955
+ return pulumi.get(self, "service_port")
956
+
957
+ @property
958
+ @pulumi.getter
959
+ def status(self) -> pulumi.Output[str]:
960
+ """
961
+ The status of the application.
962
+ """
963
+ return pulumi.get(self, "status")
964
+
965
+ @property
966
+ @pulumi.getter(name="targetPort")
967
+ def target_port(self) -> pulumi.Output[int]:
968
+ """
969
+ The server port. Valid values: 1 to 65535.
970
+ """
971
+ return pulumi.get(self, "target_port")
972
+