pulumi-alicloud 3.63.0__py3-none-any.whl → 3.63.0a1726032285__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-alicloud might be problematic. Click here for more details.
- pulumi_alicloud/__init__.py +0 -24
- pulumi_alicloud/alb/acl.py +19 -18
- pulumi_alicloud/alb/health_check_template.py +88 -96
- pulumi_alicloud/amqp/binding.py +36 -30
- pulumi_alicloud/cen/_inputs.py +14 -180
- pulumi_alicloud/cen/outputs.py +12 -173
- pulumi_alicloud/cen/traffic_marking_policy.py +53 -116
- pulumi_alicloud/cen/transit_router_vpc_attachment.py +119 -338
- pulumi_alicloud/cms/_inputs.py +6 -6
- pulumi_alicloud/cms/outputs.py +6 -6
- pulumi_alicloud/cr/chart_namespace.py +6 -14
- pulumi_alicloud/cr/endpoint_acl_policy.py +2 -10
- pulumi_alicloud/cr/namespace.py +2 -10
- pulumi_alicloud/cs/registry_enterprise_sync_rule.py +10 -10
- pulumi_alicloud/ddos/_inputs.py +9 -8
- pulumi_alicloud/ddos/bgp_ip.py +1 -1
- pulumi_alicloud/ddos/domain_resource.py +90 -446
- pulumi_alicloud/ddos/outputs.py +8 -7
- pulumi_alicloud/eci/container_group.py +0 -47
- pulumi_alicloud/ecs/_inputs.py +0 -28
- pulumi_alicloud/ecs/ecs_snapshot.py +77 -199
- pulumi_alicloud/ecs/outputs.py +0 -20
- pulumi_alicloud/ecs/snapshot.py +8 -26
- pulumi_alicloud/emrv2/_inputs.py +12 -12
- pulumi_alicloud/emrv2/outputs.py +12 -12
- pulumi_alicloud/ens/_inputs.py +2 -50
- pulumi_alicloud/ens/instance.py +184 -428
- pulumi_alicloud/ens/outputs.py +2 -57
- pulumi_alicloud/ess/__init__.py +0 -1
- pulumi_alicloud/ess/alarm.py +0 -47
- pulumi_alicloud/expressconnect/physical_connection.py +185 -321
- pulumi_alicloud/fc/trigger.py +24 -22
- pulumi_alicloud/ga/_inputs.py +5 -23
- pulumi_alicloud/ga/endpoint_group.py +14 -68
- pulumi_alicloud/ga/outputs.py +5 -21
- pulumi_alicloud/governance/account.py +0 -61
- pulumi_alicloud/gpdb/__init__.py +0 -4
- pulumi_alicloud/gpdb/_inputs.py +3 -361
- pulumi_alicloud/gpdb/instance.py +0 -47
- pulumi_alicloud/gpdb/outputs.py +4 -597
- pulumi_alicloud/mongodb/instance.py +0 -94
- pulumi_alicloud/nlb/_inputs.py +64 -120
- pulumi_alicloud/nlb/get_listeners.py +2 -32
- pulumi_alicloud/nlb/get_server_group_server_attachments.py +2 -8
- pulumi_alicloud/nlb/listener.py +245 -315
- pulumi_alicloud/nlb/listener_additional_certificate_attachment.py +25 -25
- pulumi_alicloud/nlb/load_balancer.py +212 -297
- pulumi_alicloud/nlb/load_balancer_security_group_attachment.py +39 -29
- pulumi_alicloud/nlb/loadbalancer_common_bandwidth_package_attachment.py +18 -22
- pulumi_alicloud/nlb/outputs.py +66 -122
- pulumi_alicloud/nlb/security_policy.py +25 -53
- pulumi_alicloud/nlb/server_group.py +133 -196
- pulumi_alicloud/ocean/base_instance.py +163 -498
- pulumi_alicloud/oos/get_secret_parameters.py +9 -111
- pulumi_alicloud/oos/outputs.py +11 -22
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/get_account_alias.py +2 -35
- pulumi_alicloud/rds/instance.py +21 -21
- pulumi_alicloud/rocketmq/_inputs.py +22 -79
- pulumi_alicloud/rocketmq/outputs.py +21 -85
- pulumi_alicloud/rocketmq/rocket_mq_instance.py +113 -307
- pulumi_alicloud/servicemesh/extension_provider.py +2 -2
- pulumi_alicloud/vpc/common_bandwith_package_attachment.py +2 -2
- pulumi_alicloud/vpc/peer_connection.py +59 -127
- pulumi_alicloud/vpc/peer_connection_accepter.py +42 -263
- pulumi_alicloud/vpc/route_entry.py +210 -232
- {pulumi_alicloud-3.63.0.dist-info → pulumi_alicloud-3.63.0a1726032285.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.63.0.dist-info → pulumi_alicloud-3.63.0a1726032285.dist-info}/RECORD +70 -75
- {pulumi_alicloud-3.63.0.dist-info → pulumi_alicloud-3.63.0a1726032285.dist-info}/WHEEL +1 -1
- pulumi_alicloud/ess/server_group_attachment.py +0 -552
- pulumi_alicloud/gpdb/db_instance_ip_array.py +0 -533
- pulumi_alicloud/gpdb/get_data_backups.py +0 -288
- pulumi_alicloud/gpdb/get_log_backups.py +0 -225
- pulumi_alicloud/gpdb/streaming_job.py +0 -1568
- {pulumi_alicloud-3.63.0.dist-info → pulumi_alicloud-3.63.0a1726032285.dist-info}/top_level.txt +0 -0
|
@@ -29,19 +29,19 @@ class HealthCheckTemplateArgs:
|
|
|
29
29
|
unhealthy_threshold: Optional[pulumi.Input[int]] = None):
|
|
30
30
|
"""
|
|
31
31
|
The set of arguments for constructing a HealthCheckTemplate resource.
|
|
32
|
-
:param pulumi.Input[str] health_check_template_name: The name of the health check template.
|
|
32
|
+
:param pulumi.Input[str] health_check_template_name: The name of the health check template. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
|
|
33
33
|
:param pulumi.Input[bool] dry_run: Whether to precheck the API request.
|
|
34
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] health_check_codes: The HTTP status
|
|
35
|
-
:param pulumi.Input[int] health_check_connect_port: The port that is used for health checks. Default value: `0`.
|
|
36
|
-
:param pulumi.Input[str] health_check_host: The domain name that is used for health checks. **NOTE:** `
|
|
37
|
-
:param pulumi.Input[str] health_check_http_version: The version of the HTTP protocol.
|
|
38
|
-
:param pulumi.Input[int] health_check_interval: The interval
|
|
39
|
-
:param pulumi.Input[str] health_check_method: The
|
|
40
|
-
:param pulumi.Input[str] health_check_path: The URL that is used for health checks. **NOTE:** `
|
|
41
|
-
:param pulumi.Input[str] health_check_protocol: The protocol that is used for health checks.
|
|
42
|
-
:param pulumi.Input[int] health_check_timeout: The timeout period of a health check.
|
|
43
|
-
: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
|
|
44
|
-
:param pulumi.Input[int] unhealthy_threshold: The number of times that
|
|
34
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] health_check_codes: The HTTP status code that indicates a successful health check. **NOTE:** The attribute `HealthCheckProtocol` is valid when the attribute is `HTTP` .
|
|
35
|
+
:param pulumi.Input[int] health_check_connect_port: The number of the port that is used for health checks. Valid values: `0` to `65535`. Default value: `0`. This default value indicates that the backend server is used for health checks.
|
|
36
|
+
:param pulumi.Input[str] health_check_host: The domain name that is used for health checks. Default value: `$SERVER_IP`. The domain name must be 1 to 80 characters in length. **NOTE:** The attribute `HealthCheckProtocol` is valid when the attribute is `HTTP` .
|
|
37
|
+
:param pulumi.Input[str] health_check_http_version: The version of the HTTP protocol. Valid values: `HTTP1.0` and `HTTP1.1`. Default value: `HTTP1.1`. **NOTE:** The attribute `HealthCheckProtocol` is valid when the attribute is `HTTP` .
|
|
38
|
+
:param pulumi.Input[int] health_check_interval: The time interval between two consecutive health checks. Valid values: `1` to `50`. Unit: seconds. Default value: `2`.
|
|
39
|
+
:param pulumi.Input[str] health_check_method: The health check method. Valid values: GET and HEAD. Default value: HEAD. **NOTE:** The attribute `HealthCheckProtocol` is valid when the attribute is `HTTP` .
|
|
40
|
+
:param pulumi.Input[str] health_check_path: The URL that is used for health checks. The URL must be 1 to 80 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/), periods (.), percent signs (%), question marks (?), number signs (#), and ampersands (&). The URL can also contain the following extended characters: _ ; ~ ! ( )* [ ] @ $ ^ : ' , +. The URL must start with a forward slash (/). **NOTE:** The attribute `HealthCheckProtocol` is valid when the attribute is `HTTP` .
|
|
41
|
+
:param pulumi.Input[str] health_check_protocol: The protocol that is used for health checks. Valid values: `HTTP` and `TCP`. Default value: `HTTP`.
|
|
42
|
+
:param pulumi.Input[int] health_check_timeout: The timeout period of a health check response. If the backend Elastic Compute Service (ECS) instance does not send an expected response within the specified period of time, the health check fails. Valid values: `1` to `300`. Unit: seconds. Default value: `5`.
|
|
43
|
+
: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 (from fail to success). Valid values: `2` to `10`. Default value: `3`. Unit: seconds.
|
|
44
|
+
:param pulumi.Input[int] unhealthy_threshold: The number of times that an healthy backend server must consecutively fail health checks before it is declared unhealthy (from success to fail). Valid values: `2` to `10`. Default value: `3`. Unit: seconds.
|
|
45
45
|
"""
|
|
46
46
|
pulumi.set(__self__, "health_check_template_name", health_check_template_name)
|
|
47
47
|
if dry_run is not None:
|
|
@@ -73,7 +73,7 @@ class HealthCheckTemplateArgs:
|
|
|
73
73
|
@pulumi.getter(name="healthCheckTemplateName")
|
|
74
74
|
def health_check_template_name(self) -> pulumi.Input[str]:
|
|
75
75
|
"""
|
|
76
|
-
The name of the health check template.
|
|
76
|
+
The name of the health check template. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
|
|
77
77
|
"""
|
|
78
78
|
return pulumi.get(self, "health_check_template_name")
|
|
79
79
|
|
|
@@ -97,7 +97,7 @@ class HealthCheckTemplateArgs:
|
|
|
97
97
|
@pulumi.getter(name="healthCheckCodes")
|
|
98
98
|
def health_check_codes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
99
99
|
"""
|
|
100
|
-
The HTTP status
|
|
100
|
+
The HTTP status code that indicates a successful health check. **NOTE:** The attribute `HealthCheckProtocol` is valid when the attribute is `HTTP` .
|
|
101
101
|
"""
|
|
102
102
|
return pulumi.get(self, "health_check_codes")
|
|
103
103
|
|
|
@@ -109,7 +109,7 @@ class HealthCheckTemplateArgs:
|
|
|
109
109
|
@pulumi.getter(name="healthCheckConnectPort")
|
|
110
110
|
def health_check_connect_port(self) -> Optional[pulumi.Input[int]]:
|
|
111
111
|
"""
|
|
112
|
-
The port that is used for health checks. Default value: `0`.
|
|
112
|
+
The number of the port that is used for health checks. Valid values: `0` to `65535`. Default value: `0`. This default value indicates that the backend server is used for health checks.
|
|
113
113
|
"""
|
|
114
114
|
return pulumi.get(self, "health_check_connect_port")
|
|
115
115
|
|
|
@@ -121,7 +121,7 @@ class HealthCheckTemplateArgs:
|
|
|
121
121
|
@pulumi.getter(name="healthCheckHost")
|
|
122
122
|
def health_check_host(self) -> Optional[pulumi.Input[str]]:
|
|
123
123
|
"""
|
|
124
|
-
The domain name that is used for health checks. **NOTE:** `
|
|
124
|
+
The domain name that is used for health checks. Default value: `$SERVER_IP`. The domain name must be 1 to 80 characters in length. **NOTE:** The attribute `HealthCheckProtocol` is valid when the attribute is `HTTP` .
|
|
125
125
|
"""
|
|
126
126
|
return pulumi.get(self, "health_check_host")
|
|
127
127
|
|
|
@@ -133,7 +133,7 @@ class HealthCheckTemplateArgs:
|
|
|
133
133
|
@pulumi.getter(name="healthCheckHttpVersion")
|
|
134
134
|
def health_check_http_version(self) -> Optional[pulumi.Input[str]]:
|
|
135
135
|
"""
|
|
136
|
-
The version of the HTTP protocol.
|
|
136
|
+
The version of the HTTP protocol. Valid values: `HTTP1.0` and `HTTP1.1`. Default value: `HTTP1.1`. **NOTE:** The attribute `HealthCheckProtocol` is valid when the attribute is `HTTP` .
|
|
137
137
|
"""
|
|
138
138
|
return pulumi.get(self, "health_check_http_version")
|
|
139
139
|
|
|
@@ -145,7 +145,7 @@ class HealthCheckTemplateArgs:
|
|
|
145
145
|
@pulumi.getter(name="healthCheckInterval")
|
|
146
146
|
def health_check_interval(self) -> Optional[pulumi.Input[int]]:
|
|
147
147
|
"""
|
|
148
|
-
The interval
|
|
148
|
+
The time interval between two consecutive health checks. Valid values: `1` to `50`. Unit: seconds. Default value: `2`.
|
|
149
149
|
"""
|
|
150
150
|
return pulumi.get(self, "health_check_interval")
|
|
151
151
|
|
|
@@ -157,7 +157,7 @@ class HealthCheckTemplateArgs:
|
|
|
157
157
|
@pulumi.getter(name="healthCheckMethod")
|
|
158
158
|
def health_check_method(self) -> Optional[pulumi.Input[str]]:
|
|
159
159
|
"""
|
|
160
|
-
The
|
|
160
|
+
The health check method. Valid values: GET and HEAD. Default value: HEAD. **NOTE:** The attribute `HealthCheckProtocol` is valid when the attribute is `HTTP` .
|
|
161
161
|
"""
|
|
162
162
|
return pulumi.get(self, "health_check_method")
|
|
163
163
|
|
|
@@ -169,7 +169,7 @@ class HealthCheckTemplateArgs:
|
|
|
169
169
|
@pulumi.getter(name="healthCheckPath")
|
|
170
170
|
def health_check_path(self) -> Optional[pulumi.Input[str]]:
|
|
171
171
|
"""
|
|
172
|
-
The URL that is used for health checks. **NOTE:** `
|
|
172
|
+
The URL that is used for health checks. The URL must be 1 to 80 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/), periods (.), percent signs (%), question marks (?), number signs (#), and ampersands (&). The URL can also contain the following extended characters: _ ; ~ ! ( )* [ ] @ $ ^ : ' , +. The URL must start with a forward slash (/). **NOTE:** The attribute `HealthCheckProtocol` is valid when the attribute is `HTTP` .
|
|
173
173
|
"""
|
|
174
174
|
return pulumi.get(self, "health_check_path")
|
|
175
175
|
|
|
@@ -181,7 +181,7 @@ class HealthCheckTemplateArgs:
|
|
|
181
181
|
@pulumi.getter(name="healthCheckProtocol")
|
|
182
182
|
def health_check_protocol(self) -> Optional[pulumi.Input[str]]:
|
|
183
183
|
"""
|
|
184
|
-
The protocol that is used for health checks.
|
|
184
|
+
The protocol that is used for health checks. Valid values: `HTTP` and `TCP`. Default value: `HTTP`.
|
|
185
185
|
"""
|
|
186
186
|
return pulumi.get(self, "health_check_protocol")
|
|
187
187
|
|
|
@@ -193,7 +193,7 @@ class HealthCheckTemplateArgs:
|
|
|
193
193
|
@pulumi.getter(name="healthCheckTimeout")
|
|
194
194
|
def health_check_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
195
195
|
"""
|
|
196
|
-
The timeout period of a health check.
|
|
196
|
+
The timeout period of a health check response. If the backend Elastic Compute Service (ECS) instance does not send an expected response within the specified period of time, the health check fails. Valid values: `1` to `300`. Unit: seconds. Default value: `5`.
|
|
197
197
|
"""
|
|
198
198
|
return pulumi.get(self, "health_check_timeout")
|
|
199
199
|
|
|
@@ -205,7 +205,7 @@ class HealthCheckTemplateArgs:
|
|
|
205
205
|
@pulumi.getter(name="healthyThreshold")
|
|
206
206
|
def healthy_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
207
207
|
"""
|
|
208
|
-
The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy
|
|
208
|
+
The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy (from fail to success). Valid values: `2` to `10`. Default value: `3`. Unit: seconds.
|
|
209
209
|
"""
|
|
210
210
|
return pulumi.get(self, "healthy_threshold")
|
|
211
211
|
|
|
@@ -217,7 +217,7 @@ class HealthCheckTemplateArgs:
|
|
|
217
217
|
@pulumi.getter(name="unhealthyThreshold")
|
|
218
218
|
def unhealthy_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
219
219
|
"""
|
|
220
|
-
The number of times that
|
|
220
|
+
The number of times that an healthy backend server must consecutively fail health checks before it is declared unhealthy (from success to fail). Valid values: `2` to `10`. Default value: `3`. Unit: seconds.
|
|
221
221
|
"""
|
|
222
222
|
return pulumi.get(self, "unhealthy_threshold")
|
|
223
223
|
|
|
@@ -245,18 +245,18 @@ class _HealthCheckTemplateState:
|
|
|
245
245
|
"""
|
|
246
246
|
Input properties used for looking up and filtering HealthCheckTemplate resources.
|
|
247
247
|
:param pulumi.Input[bool] dry_run: Whether to precheck the API request.
|
|
248
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] health_check_codes: The HTTP status
|
|
249
|
-
:param pulumi.Input[int] health_check_connect_port: The port that is used for health checks. Default value: `0`.
|
|
250
|
-
:param pulumi.Input[str] health_check_host: The domain name that is used for health checks. **NOTE:** `
|
|
251
|
-
:param pulumi.Input[str] health_check_http_version: The version of the HTTP protocol.
|
|
252
|
-
:param pulumi.Input[int] health_check_interval: The interval
|
|
253
|
-
:param pulumi.Input[str] health_check_method: The
|
|
254
|
-
:param pulumi.Input[str] health_check_path: The URL that is used for health checks. **NOTE:** `
|
|
255
|
-
:param pulumi.Input[str] health_check_protocol: The protocol that is used for health checks.
|
|
256
|
-
:param pulumi.Input[str] health_check_template_name: The name of the health check template.
|
|
257
|
-
:param pulumi.Input[int] health_check_timeout: The timeout period of a health check.
|
|
258
|
-
: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
|
|
259
|
-
:param pulumi.Input[int] unhealthy_threshold: The number of times that
|
|
248
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] health_check_codes: The HTTP status code that indicates a successful health check. **NOTE:** The attribute `HealthCheckProtocol` is valid when the attribute is `HTTP` .
|
|
249
|
+
:param pulumi.Input[int] health_check_connect_port: The number of the port that is used for health checks. Valid values: `0` to `65535`. Default value: `0`. This default value indicates that the backend server is used for health checks.
|
|
250
|
+
:param pulumi.Input[str] health_check_host: The domain name that is used for health checks. Default value: `$SERVER_IP`. The domain name must be 1 to 80 characters in length. **NOTE:** The attribute `HealthCheckProtocol` is valid when the attribute is `HTTP` .
|
|
251
|
+
:param pulumi.Input[str] health_check_http_version: The version of the HTTP protocol. Valid values: `HTTP1.0` and `HTTP1.1`. Default value: `HTTP1.1`. **NOTE:** The attribute `HealthCheckProtocol` is valid when the attribute is `HTTP` .
|
|
252
|
+
:param pulumi.Input[int] health_check_interval: The time interval between two consecutive health checks. Valid values: `1` to `50`. Unit: seconds. Default value: `2`.
|
|
253
|
+
:param pulumi.Input[str] health_check_method: The health check method. Valid values: GET and HEAD. Default value: HEAD. **NOTE:** The attribute `HealthCheckProtocol` is valid when the attribute is `HTTP` .
|
|
254
|
+
:param pulumi.Input[str] health_check_path: The URL that is used for health checks. The URL must be 1 to 80 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/), periods (.), percent signs (%), question marks (?), number signs (#), and ampersands (&). The URL can also contain the following extended characters: _ ; ~ ! ( )* [ ] @ $ ^ : ' , +. The URL must start with a forward slash (/). **NOTE:** The attribute `HealthCheckProtocol` is valid when the attribute is `HTTP` .
|
|
255
|
+
:param pulumi.Input[str] health_check_protocol: The protocol that is used for health checks. Valid values: `HTTP` and `TCP`. Default value: `HTTP`.
|
|
256
|
+
:param pulumi.Input[str] health_check_template_name: The name of the health check template. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
|
|
257
|
+
:param pulumi.Input[int] health_check_timeout: The timeout period of a health check response. If the backend Elastic Compute Service (ECS) instance does not send an expected response within the specified period of time, the health check fails. Valid values: `1` to `300`. Unit: seconds. Default value: `5`.
|
|
258
|
+
: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 (from fail to success). Valid values: `2` to `10`. Default value: `3`. Unit: seconds.
|
|
259
|
+
:param pulumi.Input[int] unhealthy_threshold: The number of times that an healthy backend server must consecutively fail health checks before it is declared unhealthy (from success to fail). Valid values: `2` to `10`. Default value: `3`. Unit: seconds.
|
|
260
260
|
"""
|
|
261
261
|
if dry_run is not None:
|
|
262
262
|
pulumi.set(__self__, "dry_run", dry_run)
|
|
@@ -301,7 +301,7 @@ class _HealthCheckTemplateState:
|
|
|
301
301
|
@pulumi.getter(name="healthCheckCodes")
|
|
302
302
|
def health_check_codes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
303
303
|
"""
|
|
304
|
-
The HTTP status
|
|
304
|
+
The HTTP status code that indicates a successful health check. **NOTE:** The attribute `HealthCheckProtocol` is valid when the attribute is `HTTP` .
|
|
305
305
|
"""
|
|
306
306
|
return pulumi.get(self, "health_check_codes")
|
|
307
307
|
|
|
@@ -313,7 +313,7 @@ class _HealthCheckTemplateState:
|
|
|
313
313
|
@pulumi.getter(name="healthCheckConnectPort")
|
|
314
314
|
def health_check_connect_port(self) -> Optional[pulumi.Input[int]]:
|
|
315
315
|
"""
|
|
316
|
-
The port that is used for health checks. Default value: `0`.
|
|
316
|
+
The number of the port that is used for health checks. Valid values: `0` to `65535`. Default value: `0`. This default value indicates that the backend server is used for health checks.
|
|
317
317
|
"""
|
|
318
318
|
return pulumi.get(self, "health_check_connect_port")
|
|
319
319
|
|
|
@@ -325,7 +325,7 @@ class _HealthCheckTemplateState:
|
|
|
325
325
|
@pulumi.getter(name="healthCheckHost")
|
|
326
326
|
def health_check_host(self) -> Optional[pulumi.Input[str]]:
|
|
327
327
|
"""
|
|
328
|
-
The domain name that is used for health checks. **NOTE:** `
|
|
328
|
+
The domain name that is used for health checks. Default value: `$SERVER_IP`. The domain name must be 1 to 80 characters in length. **NOTE:** The attribute `HealthCheckProtocol` is valid when the attribute is `HTTP` .
|
|
329
329
|
"""
|
|
330
330
|
return pulumi.get(self, "health_check_host")
|
|
331
331
|
|
|
@@ -337,7 +337,7 @@ class _HealthCheckTemplateState:
|
|
|
337
337
|
@pulumi.getter(name="healthCheckHttpVersion")
|
|
338
338
|
def health_check_http_version(self) -> Optional[pulumi.Input[str]]:
|
|
339
339
|
"""
|
|
340
|
-
The version of the HTTP protocol.
|
|
340
|
+
The version of the HTTP protocol. Valid values: `HTTP1.0` and `HTTP1.1`. Default value: `HTTP1.1`. **NOTE:** The attribute `HealthCheckProtocol` is valid when the attribute is `HTTP` .
|
|
341
341
|
"""
|
|
342
342
|
return pulumi.get(self, "health_check_http_version")
|
|
343
343
|
|
|
@@ -349,7 +349,7 @@ class _HealthCheckTemplateState:
|
|
|
349
349
|
@pulumi.getter(name="healthCheckInterval")
|
|
350
350
|
def health_check_interval(self) -> Optional[pulumi.Input[int]]:
|
|
351
351
|
"""
|
|
352
|
-
The interval
|
|
352
|
+
The time interval between two consecutive health checks. Valid values: `1` to `50`. Unit: seconds. Default value: `2`.
|
|
353
353
|
"""
|
|
354
354
|
return pulumi.get(self, "health_check_interval")
|
|
355
355
|
|
|
@@ -361,7 +361,7 @@ class _HealthCheckTemplateState:
|
|
|
361
361
|
@pulumi.getter(name="healthCheckMethod")
|
|
362
362
|
def health_check_method(self) -> Optional[pulumi.Input[str]]:
|
|
363
363
|
"""
|
|
364
|
-
The
|
|
364
|
+
The health check method. Valid values: GET and HEAD. Default value: HEAD. **NOTE:** The attribute `HealthCheckProtocol` is valid when the attribute is `HTTP` .
|
|
365
365
|
"""
|
|
366
366
|
return pulumi.get(self, "health_check_method")
|
|
367
367
|
|
|
@@ -373,7 +373,7 @@ class _HealthCheckTemplateState:
|
|
|
373
373
|
@pulumi.getter(name="healthCheckPath")
|
|
374
374
|
def health_check_path(self) -> Optional[pulumi.Input[str]]:
|
|
375
375
|
"""
|
|
376
|
-
The URL that is used for health checks. **NOTE:** `
|
|
376
|
+
The URL that is used for health checks. The URL must be 1 to 80 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/), periods (.), percent signs (%), question marks (?), number signs (#), and ampersands (&). The URL can also contain the following extended characters: _ ; ~ ! ( )* [ ] @ $ ^ : ' , +. The URL must start with a forward slash (/). **NOTE:** The attribute `HealthCheckProtocol` is valid when the attribute is `HTTP` .
|
|
377
377
|
"""
|
|
378
378
|
return pulumi.get(self, "health_check_path")
|
|
379
379
|
|
|
@@ -385,7 +385,7 @@ class _HealthCheckTemplateState:
|
|
|
385
385
|
@pulumi.getter(name="healthCheckProtocol")
|
|
386
386
|
def health_check_protocol(self) -> Optional[pulumi.Input[str]]:
|
|
387
387
|
"""
|
|
388
|
-
The protocol that is used for health checks.
|
|
388
|
+
The protocol that is used for health checks. Valid values: `HTTP` and `TCP`. Default value: `HTTP`.
|
|
389
389
|
"""
|
|
390
390
|
return pulumi.get(self, "health_check_protocol")
|
|
391
391
|
|
|
@@ -397,7 +397,7 @@ class _HealthCheckTemplateState:
|
|
|
397
397
|
@pulumi.getter(name="healthCheckTemplateName")
|
|
398
398
|
def health_check_template_name(self) -> Optional[pulumi.Input[str]]:
|
|
399
399
|
"""
|
|
400
|
-
The name of the health check template.
|
|
400
|
+
The name of the health check template. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
|
|
401
401
|
"""
|
|
402
402
|
return pulumi.get(self, "health_check_template_name")
|
|
403
403
|
|
|
@@ -409,7 +409,7 @@ class _HealthCheckTemplateState:
|
|
|
409
409
|
@pulumi.getter(name="healthCheckTimeout")
|
|
410
410
|
def health_check_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
411
411
|
"""
|
|
412
|
-
The timeout period of a health check.
|
|
412
|
+
The timeout period of a health check response. If the backend Elastic Compute Service (ECS) instance does not send an expected response within the specified period of time, the health check fails. Valid values: `1` to `300`. Unit: seconds. Default value: `5`.
|
|
413
413
|
"""
|
|
414
414
|
return pulumi.get(self, "health_check_timeout")
|
|
415
415
|
|
|
@@ -421,7 +421,7 @@ class _HealthCheckTemplateState:
|
|
|
421
421
|
@pulumi.getter(name="healthyThreshold")
|
|
422
422
|
def healthy_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
423
423
|
"""
|
|
424
|
-
The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy
|
|
424
|
+
The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy (from fail to success). Valid values: `2` to `10`. Default value: `3`. Unit: seconds.
|
|
425
425
|
"""
|
|
426
426
|
return pulumi.get(self, "healthy_threshold")
|
|
427
427
|
|
|
@@ -433,7 +433,7 @@ class _HealthCheckTemplateState:
|
|
|
433
433
|
@pulumi.getter(name="unhealthyThreshold")
|
|
434
434
|
def unhealthy_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
435
435
|
"""
|
|
436
|
-
The number of times that
|
|
436
|
+
The number of times that an healthy backend server must consecutively fail health checks before it is declared unhealthy (from success to fail). Valid values: `2` to `10`. Default value: `3`. Unit: seconds.
|
|
437
437
|
"""
|
|
438
438
|
return pulumi.get(self, "unhealthy_threshold")
|
|
439
439
|
|
|
@@ -462,7 +462,7 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
462
462
|
unhealthy_threshold: Optional[pulumi.Input[int]] = None,
|
|
463
463
|
__props__=None):
|
|
464
464
|
"""
|
|
465
|
-
Provides
|
|
465
|
+
Provides a Application Load Balancer (ALB) Health Check Template resource.
|
|
466
466
|
|
|
467
467
|
For information about Application Load Balancer (ALB) Health Check Template and how to use it, see [What is Health Check Template](https://www.alibabacloud.com/help/en/slb/application-load-balancer/developer-reference/api-alb-2020-06-16-createhealthchecktemplate).
|
|
468
468
|
|
|
@@ -476,11 +476,7 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
476
476
|
import pulumi
|
|
477
477
|
import pulumi_alicloud as alicloud
|
|
478
478
|
|
|
479
|
-
|
|
480
|
-
name = config.get("name")
|
|
481
|
-
if name is None:
|
|
482
|
-
name = "terraform-example"
|
|
483
|
-
example = alicloud.alb.HealthCheckTemplate("example", health_check_template_name=name)
|
|
479
|
+
example = alicloud.alb.HealthCheckTemplate("example", health_check_template_name="example_name")
|
|
484
480
|
```
|
|
485
481
|
|
|
486
482
|
## Import
|
|
@@ -494,18 +490,18 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
494
490
|
:param str resource_name: The name of the resource.
|
|
495
491
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
496
492
|
:param pulumi.Input[bool] dry_run: Whether to precheck the API request.
|
|
497
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] health_check_codes: The HTTP status
|
|
498
|
-
:param pulumi.Input[int] health_check_connect_port: The port that is used for health checks. Default value: `0`.
|
|
499
|
-
:param pulumi.Input[str] health_check_host: The domain name that is used for health checks. **NOTE:** `
|
|
500
|
-
:param pulumi.Input[str] health_check_http_version: The version of the HTTP protocol.
|
|
501
|
-
:param pulumi.Input[int] health_check_interval: The interval
|
|
502
|
-
:param pulumi.Input[str] health_check_method: The
|
|
503
|
-
:param pulumi.Input[str] health_check_path: The URL that is used for health checks. **NOTE:** `
|
|
504
|
-
:param pulumi.Input[str] health_check_protocol: The protocol that is used for health checks.
|
|
505
|
-
:param pulumi.Input[str] health_check_template_name: The name of the health check template.
|
|
506
|
-
:param pulumi.Input[int] health_check_timeout: The timeout period of a health check.
|
|
507
|
-
: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
|
|
508
|
-
:param pulumi.Input[int] unhealthy_threshold: The number of times that
|
|
493
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] health_check_codes: The HTTP status code that indicates a successful health check. **NOTE:** The attribute `HealthCheckProtocol` is valid when the attribute is `HTTP` .
|
|
494
|
+
:param pulumi.Input[int] health_check_connect_port: The number of the port that is used for health checks. Valid values: `0` to `65535`. Default value: `0`. This default value indicates that the backend server is used for health checks.
|
|
495
|
+
:param pulumi.Input[str] health_check_host: The domain name that is used for health checks. Default value: `$SERVER_IP`. The domain name must be 1 to 80 characters in length. **NOTE:** The attribute `HealthCheckProtocol` is valid when the attribute is `HTTP` .
|
|
496
|
+
:param pulumi.Input[str] health_check_http_version: The version of the HTTP protocol. Valid values: `HTTP1.0` and `HTTP1.1`. Default value: `HTTP1.1`. **NOTE:** The attribute `HealthCheckProtocol` is valid when the attribute is `HTTP` .
|
|
497
|
+
:param pulumi.Input[int] health_check_interval: The time interval between two consecutive health checks. Valid values: `1` to `50`. Unit: seconds. Default value: `2`.
|
|
498
|
+
:param pulumi.Input[str] health_check_method: The health check method. Valid values: GET and HEAD. Default value: HEAD. **NOTE:** The attribute `HealthCheckProtocol` is valid when the attribute is `HTTP` .
|
|
499
|
+
:param pulumi.Input[str] health_check_path: The URL that is used for health checks. The URL must be 1 to 80 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/), periods (.), percent signs (%), question marks (?), number signs (#), and ampersands (&). The URL can also contain the following extended characters: _ ; ~ ! ( )* [ ] @ $ ^ : ' , +. The URL must start with a forward slash (/). **NOTE:** The attribute `HealthCheckProtocol` is valid when the attribute is `HTTP` .
|
|
500
|
+
:param pulumi.Input[str] health_check_protocol: The protocol that is used for health checks. Valid values: `HTTP` and `TCP`. Default value: `HTTP`.
|
|
501
|
+
:param pulumi.Input[str] health_check_template_name: The name of the health check template. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
|
|
502
|
+
:param pulumi.Input[int] health_check_timeout: The timeout period of a health check response. If the backend Elastic Compute Service (ECS) instance does not send an expected response within the specified period of time, the health check fails. Valid values: `1` to `300`. Unit: seconds. Default value: `5`.
|
|
503
|
+
: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 (from fail to success). Valid values: `2` to `10`. Default value: `3`. Unit: seconds.
|
|
504
|
+
:param pulumi.Input[int] unhealthy_threshold: The number of times that an healthy backend server must consecutively fail health checks before it is declared unhealthy (from success to fail). Valid values: `2` to `10`. Default value: `3`. Unit: seconds.
|
|
509
505
|
"""
|
|
510
506
|
...
|
|
511
507
|
@overload
|
|
@@ -514,7 +510,7 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
514
510
|
args: HealthCheckTemplateArgs,
|
|
515
511
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
516
512
|
"""
|
|
517
|
-
Provides
|
|
513
|
+
Provides a Application Load Balancer (ALB) Health Check Template resource.
|
|
518
514
|
|
|
519
515
|
For information about Application Load Balancer (ALB) Health Check Template and how to use it, see [What is Health Check Template](https://www.alibabacloud.com/help/en/slb/application-load-balancer/developer-reference/api-alb-2020-06-16-createhealthchecktemplate).
|
|
520
516
|
|
|
@@ -528,11 +524,7 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
528
524
|
import pulumi
|
|
529
525
|
import pulumi_alicloud as alicloud
|
|
530
526
|
|
|
531
|
-
|
|
532
|
-
name = config.get("name")
|
|
533
|
-
if name is None:
|
|
534
|
-
name = "terraform-example"
|
|
535
|
-
example = alicloud.alb.HealthCheckTemplate("example", health_check_template_name=name)
|
|
527
|
+
example = alicloud.alb.HealthCheckTemplate("example", health_check_template_name="example_name")
|
|
536
528
|
```
|
|
537
529
|
|
|
538
530
|
## Import
|
|
@@ -626,18 +618,18 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
626
618
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
627
619
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
628
620
|
:param pulumi.Input[bool] dry_run: Whether to precheck the API request.
|
|
629
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] health_check_codes: The HTTP status
|
|
630
|
-
:param pulumi.Input[int] health_check_connect_port: The port that is used for health checks. Default value: `0`.
|
|
631
|
-
:param pulumi.Input[str] health_check_host: The domain name that is used for health checks. **NOTE:** `
|
|
632
|
-
:param pulumi.Input[str] health_check_http_version: The version of the HTTP protocol.
|
|
633
|
-
:param pulumi.Input[int] health_check_interval: The interval
|
|
634
|
-
:param pulumi.Input[str] health_check_method: The
|
|
635
|
-
:param pulumi.Input[str] health_check_path: The URL that is used for health checks. **NOTE:** `
|
|
636
|
-
:param pulumi.Input[str] health_check_protocol: The protocol that is used for health checks.
|
|
637
|
-
:param pulumi.Input[str] health_check_template_name: The name of the health check template.
|
|
638
|
-
:param pulumi.Input[int] health_check_timeout: The timeout period of a health check.
|
|
639
|
-
: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
|
|
640
|
-
:param pulumi.Input[int] unhealthy_threshold: The number of times that
|
|
621
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] health_check_codes: The HTTP status code that indicates a successful health check. **NOTE:** The attribute `HealthCheckProtocol` is valid when the attribute is `HTTP` .
|
|
622
|
+
:param pulumi.Input[int] health_check_connect_port: The number of the port that is used for health checks. Valid values: `0` to `65535`. Default value: `0`. This default value indicates that the backend server is used for health checks.
|
|
623
|
+
:param pulumi.Input[str] health_check_host: The domain name that is used for health checks. Default value: `$SERVER_IP`. The domain name must be 1 to 80 characters in length. **NOTE:** The attribute `HealthCheckProtocol` is valid when the attribute is `HTTP` .
|
|
624
|
+
:param pulumi.Input[str] health_check_http_version: The version of the HTTP protocol. Valid values: `HTTP1.0` and `HTTP1.1`. Default value: `HTTP1.1`. **NOTE:** The attribute `HealthCheckProtocol` is valid when the attribute is `HTTP` .
|
|
625
|
+
:param pulumi.Input[int] health_check_interval: The time interval between two consecutive health checks. Valid values: `1` to `50`. Unit: seconds. Default value: `2`.
|
|
626
|
+
:param pulumi.Input[str] health_check_method: The health check method. Valid values: GET and HEAD. Default value: HEAD. **NOTE:** The attribute `HealthCheckProtocol` is valid when the attribute is `HTTP` .
|
|
627
|
+
:param pulumi.Input[str] health_check_path: The URL that is used for health checks. The URL must be 1 to 80 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/), periods (.), percent signs (%), question marks (?), number signs (#), and ampersands (&). The URL can also contain the following extended characters: _ ; ~ ! ( )* [ ] @ $ ^ : ' , +. The URL must start with a forward slash (/). **NOTE:** The attribute `HealthCheckProtocol` is valid when the attribute is `HTTP` .
|
|
628
|
+
:param pulumi.Input[str] health_check_protocol: The protocol that is used for health checks. Valid values: `HTTP` and `TCP`. Default value: `HTTP`.
|
|
629
|
+
:param pulumi.Input[str] health_check_template_name: The name of the health check template. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
|
|
630
|
+
:param pulumi.Input[int] health_check_timeout: The timeout period of a health check response. If the backend Elastic Compute Service (ECS) instance does not send an expected response within the specified period of time, the health check fails. Valid values: `1` to `300`. Unit: seconds. Default value: `5`.
|
|
631
|
+
: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 (from fail to success). Valid values: `2` to `10`. Default value: `3`. Unit: seconds.
|
|
632
|
+
:param pulumi.Input[int] unhealthy_threshold: The number of times that an healthy backend server must consecutively fail health checks before it is declared unhealthy (from success to fail). Valid values: `2` to `10`. Default value: `3`. Unit: seconds.
|
|
641
633
|
"""
|
|
642
634
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
643
635
|
|
|
@@ -670,7 +662,7 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
670
662
|
@pulumi.getter(name="healthCheckCodes")
|
|
671
663
|
def health_check_codes(self) -> pulumi.Output[Sequence[str]]:
|
|
672
664
|
"""
|
|
673
|
-
The HTTP status
|
|
665
|
+
The HTTP status code that indicates a successful health check. **NOTE:** The attribute `HealthCheckProtocol` is valid when the attribute is `HTTP` .
|
|
674
666
|
"""
|
|
675
667
|
return pulumi.get(self, "health_check_codes")
|
|
676
668
|
|
|
@@ -678,7 +670,7 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
678
670
|
@pulumi.getter(name="healthCheckConnectPort")
|
|
679
671
|
def health_check_connect_port(self) -> pulumi.Output[int]:
|
|
680
672
|
"""
|
|
681
|
-
The port that is used for health checks. Default value: `0`.
|
|
673
|
+
The number of the port that is used for health checks. Valid values: `0` to `65535`. Default value: `0`. This default value indicates that the backend server is used for health checks.
|
|
682
674
|
"""
|
|
683
675
|
return pulumi.get(self, "health_check_connect_port")
|
|
684
676
|
|
|
@@ -686,7 +678,7 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
686
678
|
@pulumi.getter(name="healthCheckHost")
|
|
687
679
|
def health_check_host(self) -> pulumi.Output[str]:
|
|
688
680
|
"""
|
|
689
|
-
The domain name that is used for health checks. **NOTE:** `
|
|
681
|
+
The domain name that is used for health checks. Default value: `$SERVER_IP`. The domain name must be 1 to 80 characters in length. **NOTE:** The attribute `HealthCheckProtocol` is valid when the attribute is `HTTP` .
|
|
690
682
|
"""
|
|
691
683
|
return pulumi.get(self, "health_check_host")
|
|
692
684
|
|
|
@@ -694,7 +686,7 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
694
686
|
@pulumi.getter(name="healthCheckHttpVersion")
|
|
695
687
|
def health_check_http_version(self) -> pulumi.Output[str]:
|
|
696
688
|
"""
|
|
697
|
-
The version of the HTTP protocol.
|
|
689
|
+
The version of the HTTP protocol. Valid values: `HTTP1.0` and `HTTP1.1`. Default value: `HTTP1.1`. **NOTE:** The attribute `HealthCheckProtocol` is valid when the attribute is `HTTP` .
|
|
698
690
|
"""
|
|
699
691
|
return pulumi.get(self, "health_check_http_version")
|
|
700
692
|
|
|
@@ -702,7 +694,7 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
702
694
|
@pulumi.getter(name="healthCheckInterval")
|
|
703
695
|
def health_check_interval(self) -> pulumi.Output[int]:
|
|
704
696
|
"""
|
|
705
|
-
The interval
|
|
697
|
+
The time interval between two consecutive health checks. Valid values: `1` to `50`. Unit: seconds. Default value: `2`.
|
|
706
698
|
"""
|
|
707
699
|
return pulumi.get(self, "health_check_interval")
|
|
708
700
|
|
|
@@ -710,7 +702,7 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
710
702
|
@pulumi.getter(name="healthCheckMethod")
|
|
711
703
|
def health_check_method(self) -> pulumi.Output[str]:
|
|
712
704
|
"""
|
|
713
|
-
The
|
|
705
|
+
The health check method. Valid values: GET and HEAD. Default value: HEAD. **NOTE:** The attribute `HealthCheckProtocol` is valid when the attribute is `HTTP` .
|
|
714
706
|
"""
|
|
715
707
|
return pulumi.get(self, "health_check_method")
|
|
716
708
|
|
|
@@ -718,7 +710,7 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
718
710
|
@pulumi.getter(name="healthCheckPath")
|
|
719
711
|
def health_check_path(self) -> pulumi.Output[str]:
|
|
720
712
|
"""
|
|
721
|
-
The URL that is used for health checks. **NOTE:** `
|
|
713
|
+
The URL that is used for health checks. The URL must be 1 to 80 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/), periods (.), percent signs (%), question marks (?), number signs (#), and ampersands (&). The URL can also contain the following extended characters: _ ; ~ ! ( )* [ ] @ $ ^ : ' , +. The URL must start with a forward slash (/). **NOTE:** The attribute `HealthCheckProtocol` is valid when the attribute is `HTTP` .
|
|
722
714
|
"""
|
|
723
715
|
return pulumi.get(self, "health_check_path")
|
|
724
716
|
|
|
@@ -726,7 +718,7 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
726
718
|
@pulumi.getter(name="healthCheckProtocol")
|
|
727
719
|
def health_check_protocol(self) -> pulumi.Output[str]:
|
|
728
720
|
"""
|
|
729
|
-
The protocol that is used for health checks.
|
|
721
|
+
The protocol that is used for health checks. Valid values: `HTTP` and `TCP`. Default value: `HTTP`.
|
|
730
722
|
"""
|
|
731
723
|
return pulumi.get(self, "health_check_protocol")
|
|
732
724
|
|
|
@@ -734,7 +726,7 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
734
726
|
@pulumi.getter(name="healthCheckTemplateName")
|
|
735
727
|
def health_check_template_name(self) -> pulumi.Output[str]:
|
|
736
728
|
"""
|
|
737
|
-
The name of the health check template.
|
|
729
|
+
The name of the health check template. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
|
|
738
730
|
"""
|
|
739
731
|
return pulumi.get(self, "health_check_template_name")
|
|
740
732
|
|
|
@@ -742,7 +734,7 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
742
734
|
@pulumi.getter(name="healthCheckTimeout")
|
|
743
735
|
def health_check_timeout(self) -> pulumi.Output[int]:
|
|
744
736
|
"""
|
|
745
|
-
The timeout period of a health check.
|
|
737
|
+
The timeout period of a health check response. If the backend Elastic Compute Service (ECS) instance does not send an expected response within the specified period of time, the health check fails. Valid values: `1` to `300`. Unit: seconds. Default value: `5`.
|
|
746
738
|
"""
|
|
747
739
|
return pulumi.get(self, "health_check_timeout")
|
|
748
740
|
|
|
@@ -750,7 +742,7 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
750
742
|
@pulumi.getter(name="healthyThreshold")
|
|
751
743
|
def healthy_threshold(self) -> pulumi.Output[int]:
|
|
752
744
|
"""
|
|
753
|
-
The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy
|
|
745
|
+
The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy (from fail to success). Valid values: `2` to `10`. Default value: `3`. Unit: seconds.
|
|
754
746
|
"""
|
|
755
747
|
return pulumi.get(self, "healthy_threshold")
|
|
756
748
|
|
|
@@ -758,7 +750,7 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
758
750
|
@pulumi.getter(name="unhealthyThreshold")
|
|
759
751
|
def unhealthy_threshold(self) -> pulumi.Output[int]:
|
|
760
752
|
"""
|
|
761
|
-
The number of times that
|
|
753
|
+
The number of times that an healthy backend server must consecutively fail health checks before it is declared unhealthy (from success to fail). Valid values: `2` to `10`. Default value: `3`. Unit: seconds.
|
|
762
754
|
"""
|
|
763
755
|
return pulumi.get(self, "unhealthy_threshold")
|
|
764
756
|
|