pulumi-alicloud 3.78.0a1747200018__py3-none-any.whl → 3.78.0a1747367664__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 +32 -0
- pulumi_alicloud/adb/cluster.py +12 -12
- pulumi_alicloud/alb/health_check_template.py +233 -93
- pulumi_alicloud/alb/load_balancer.py +110 -0
- pulumi_alicloud/amqp/exchange.py +250 -159
- pulumi_alicloud/apigateway/_inputs.py +23 -3
- pulumi_alicloud/apigateway/api.py +7 -7
- pulumi_alicloud/apigateway/backend.py +8 -8
- pulumi_alicloud/apigateway/outputs.py +16 -2
- pulumi_alicloud/arms/remote_write.py +2 -2
- pulumi_alicloud/bp/studio_application.py +2 -2
- pulumi_alicloud/cassandra/cluster.py +2 -2
- pulumi_alicloud/cassandra/data_center.py +2 -2
- pulumi_alicloud/cdn/fc_trigger.py +2 -2
- pulumi_alicloud/cen/_inputs.py +78 -27
- pulumi_alicloud/cen/bandwidth_limit.py +7 -7
- pulumi_alicloud/cen/inter_region_traffic_qos_policy.py +6 -6
- pulumi_alicloud/cen/outputs.py +52 -18
- pulumi_alicloud/cen/traffic_marking_policy.py +49 -9
- pulumi_alicloud/chatbot/publish_task.py +2 -2
- pulumi_alicloud/cloudfirewall/__init__.py +1 -0
- pulumi_alicloud/cloudfirewall/ips_config.py +523 -0
- pulumi_alicloud/cr/registry_enterprise_instance.py +4 -4
- pulumi_alicloud/das/switch_das_pro.py +6 -2
- pulumi_alicloud/dataworks/di_alarm_rule.py +6 -4
- pulumi_alicloud/dataworks/di_job.py +8 -6
- pulumi_alicloud/dataworks/project_member.py +2 -2
- pulumi_alicloud/ddos/domain_resource.py +19 -9
- pulumi_alicloud/dms/enterprise_logic_database.py +2 -2
- pulumi_alicloud/dms/enterprise_proxy_access.py +2 -2
- pulumi_alicloud/drds/instance.py +12 -8
- pulumi_alicloud/ebs/dedicated_block_storage_cluster.py +2 -2
- pulumi_alicloud/ecs/activation.py +2 -2
- pulumi_alicloud/ecs/capacity_reservation.py +2 -2
- pulumi_alicloud/ecs/ecs_disk_attachment.py +2 -2
- pulumi_alicloud/ecs/ecs_invocation.py +12 -6
- pulumi_alicloud/ecs/ecs_network_interface_permission.py +2 -2
- pulumi_alicloud/ecs/ecs_snapshot_group.py +2 -2
- pulumi_alicloud/ecs/elasticity_assurance.py +2 -2
- pulumi_alicloud/ecs/image_copy.py +2 -2
- pulumi_alicloud/ecs/image_export.py +2 -2
- pulumi_alicloud/ecs/reserved_instance.py +2 -2
- pulumi_alicloud/ecs/snapshot.py +8 -4
- pulumi_alicloud/ecs/storage_capacity_unit.py +2 -2
- pulumi_alicloud/emr/cluster.py +4 -4
- pulumi_alicloud/esa/edge_container_app_record.py +10 -2
- pulumi_alicloud/esa/http_request_header_modification_rule.py +12 -4
- pulumi_alicloud/esa/http_response_header_modification_rule.py +12 -4
- pulumi_alicloud/esa/https_basic_configuration.py +12 -4
- pulumi_alicloud/esa/network_optimization.py +10 -2
- pulumi_alicloud/esa/origin_pool.py +10 -10
- pulumi_alicloud/esa/redirect_rule.py +12 -4
- pulumi_alicloud/esa/rewrite_url_rule.py +12 -4
- pulumi_alicloud/ess/outputs.py +107 -0
- pulumi_alicloud/ess/scaling_group.py +47 -0
- pulumi_alicloud/expressconnect/virtual_border_router.py +4 -4
- pulumi_alicloud/fnf/execution.py +2 -2
- pulumi_alicloud/fnf/flow.py +2 -2
- pulumi_alicloud/fnf/schedule.py +2 -2
- pulumi_alicloud/gpdb/elastic_instance.py +8 -8
- pulumi_alicloud/hbr/ecs_backup_plan.py +10 -2
- pulumi_alicloud/hbr/hana_backup_client.py +2 -2
- pulumi_alicloud/hbr/hana_backup_plan.py +2 -2
- pulumi_alicloud/hbr/hana_instance.py +2 -2
- pulumi_alicloud/hbr/nas_backup_plan.py +10 -2
- pulumi_alicloud/hbr/oss_backup_plan.py +10 -2
- pulumi_alicloud/hbr/ots_backup_plan.py +10 -2
- pulumi_alicloud/hbr/restore_job.py +2 -2
- pulumi_alicloud/hbr/server_backup_plan.py +10 -2
- pulumi_alicloud/kms/_inputs.py +12 -12
- pulumi_alicloud/kms/instance.py +80 -47
- pulumi_alicloud/kms/outputs.py +8 -8
- pulumi_alicloud/kvstore/instance.py +21 -7
- pulumi_alicloud/lindorm/instance.py +101 -7
- pulumi_alicloud/log/etl.py +2 -2
- pulumi_alicloud/log/ingestion.py +4 -6
- pulumi_alicloud/log/oss_export.py +4 -6
- pulumi_alicloud/log/oss_shipper.py +2 -2
- pulumi_alicloud/mse/gateway.py +2 -2
- pulumi_alicloud/mse/nacos_config.py +2 -0
- pulumi_alicloud/mse/znode.py +2 -2
- pulumi_alicloud/nas/mount_target.py +6 -6
- pulumi_alicloud/nas/snapshot.py +2 -2
- pulumi_alicloud/oos/default_patch_baseline.py +2 -2
- pulumi_alicloud/oos/secret_parameter.py +2 -2
- pulumi_alicloud/oss/bucket_replication.py +8 -8
- pulumi_alicloud/pai/__init__.py +3 -0
- pulumi_alicloud/pai/_inputs.py +108 -0
- pulumi_alicloud/pai/outputs.py +64 -0
- pulumi_alicloud/pai/workspace_member.py +393 -0
- pulumi_alicloud/pai/workspace_model.py +792 -0
- pulumi_alicloud/pai/workspace_model_version.py +1129 -0
- pulumi_alicloud/polardb/cluster.py +68 -7
- pulumi_alicloud/polardb/global_database_network.py +2 -2
- pulumi_alicloud/polardb/parameter_group.py +2 -2
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/group_policy_attachment.py +2 -2
- pulumi_alicloud/ram/role.py +2 -2
- pulumi_alicloud/ram/role_attachment.py +6 -4
- pulumi_alicloud/rds/instance.py +47 -47
- pulumi_alicloud/rds/rds_clone_db_instance.py +30 -30
- pulumi_alicloud/rds/rds_upgrade_db_instance.py +2 -2
- pulumi_alicloud/resourcemanager/account.py +315 -116
- pulumi_alicloud/rocketmq/group.py +2 -2
- pulumi_alicloud/ros/change_set.py +2 -2
- pulumi_alicloud/ros/stack.py +2 -2
- pulumi_alicloud/ros/stack_group.py +2 -2
- pulumi_alicloud/ros/stack_instance.py +2 -2
- pulumi_alicloud/ros/template_scratch.py +2 -2
- pulumi_alicloud/scdn/domain.py +2 -2
- pulumi_alicloud/securitycenter/service_linked_role.py +2 -2
- pulumi_alicloud/servicecatalog/provisioned_product.py +2 -2
- pulumi_alicloud/slb/_inputs.py +44 -0
- pulumi_alicloud/slb/acl_entry_attachment.py +2 -2
- pulumi_alicloud/slb/ca_certificate.py +4 -0
- pulumi_alicloud/slb/listener.py +46 -89
- pulumi_alicloud/slb/master_slave_server_group.py +17 -35
- pulumi_alicloud/slb/outputs.py +26 -0
- pulumi_alicloud/sms/short_url.py +2 -2
- pulumi_alicloud/threatdetection/backup_policy.py +2 -2
- pulumi_alicloud/threatdetection/honeypot_probe.py +2 -2
- pulumi_alicloud/threatdetection/instance.py +28 -21
- pulumi_alicloud/threatdetection/outputs.py +98 -6
- pulumi_alicloud/threatdetection/vul_whitelist.py +2 -2
- pulumi_alicloud/threatdetection/web_lock_config.py +2 -2
- pulumi_alicloud/tsdb/instance.py +2 -2
- pulumi_alicloud/vpc/common_bandwith_package.py +28 -14
- pulumi_alicloud/vpc/forward_entry.py +4 -4
- pulumi_alicloud/vpc/gateway_route_table_attachment.py +2 -2
- pulumi_alicloud/vpc/ha_vip.py +4 -4
- pulumi_alicloud/vpc/ha_vipv2.py +4 -0
- pulumi_alicloud/vpc/ipv4_gateway.py +78 -37
- pulumi_alicloud/vpc/ipv6_gateway.py +2 -2
- pulumi_alicloud/vpc/nat_ip.py +2 -2
- pulumi_alicloud/vpc/prefix_list.py +2 -2
- pulumi_alicloud/vpc/route_entry.py +6 -2
- pulumi_alicloud/vpn/gateway_vco_route.py +2 -2
- pulumi_alicloud/vpn/ipsec_server.py +2 -2
- pulumi_alicloud/vpn/pbr_route_entry.py +2 -2
- pulumi_alicloud/vpn/route_entry.py +8 -8
- pulumi_alicloud/wafv3/instance.py +2 -2
- pulumi_alicloud/wafv3/outputs.py +11 -0
- {pulumi_alicloud-3.78.0a1747200018.dist-info → pulumi_alicloud-3.78.0a1747367664.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.78.0a1747200018.dist-info → pulumi_alicloud-3.78.0a1747367664.dist-info}/RECORD +146 -142
- {pulumi_alicloud-3.78.0a1747200018.dist-info → pulumi_alicloud-3.78.0a1747367664.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.78.0a1747200018.dist-info → pulumi_alicloud-3.78.0a1747367664.dist-info}/top_level.txt +0 -0
|
@@ -32,22 +32,32 @@ class HealthCheckTemplateArgs:
|
|
|
32
32
|
health_check_protocol: Optional[pulumi.Input[builtins.str]] = None,
|
|
33
33
|
health_check_timeout: Optional[pulumi.Input[builtins.int]] = None,
|
|
34
34
|
healthy_threshold: Optional[pulumi.Input[builtins.int]] = None,
|
|
35
|
+
resource_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
36
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
35
37
|
unhealthy_threshold: Optional[pulumi.Input[builtins.int]] = None):
|
|
36
38
|
"""
|
|
37
39
|
The set of arguments for constructing a HealthCheckTemplate resource.
|
|
38
|
-
:param pulumi.Input[builtins.str] health_check_template_name: The name of the health check template.
|
|
39
|
-
:param pulumi.Input[builtins.bool] dry_run: Whether to
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
:param pulumi.Input[builtins.str]
|
|
43
|
-
:param pulumi.Input[builtins.
|
|
44
|
-
:param pulumi.Input[builtins.
|
|
45
|
-
:param pulumi.Input[builtins.str]
|
|
46
|
-
:param pulumi.Input[builtins.
|
|
47
|
-
:param pulumi.Input[builtins.str]
|
|
48
|
-
:param pulumi.Input[builtins.
|
|
49
|
-
:param pulumi.Input[builtins.
|
|
50
|
-
|
|
40
|
+
:param pulumi.Input[builtins.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.
|
|
41
|
+
:param pulumi.Input[builtins.bool] dry_run: Whether to PreCheck only this request, value:
|
|
42
|
+
true: sends a check request and does not create a resource. Check items include whether required parameters, request format, and business restrictions have been filled in. If the check fails, the corresponding error is returned. If the check passes, the error code DryRunOperation is returned.
|
|
43
|
+
false (default): Sends a normal request, returns the http_2xx status code after the check, and directly performs the operation.
|
|
44
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] health_check_codes: The HTTP code of the health check. The default value is http_2xx. The normal HTTP code for health check. Separate multiple codes with commas (,). Valid values: http_2xx, http_3xx, http_4xx, or http_5xx.
|
|
45
|
+
:param pulumi.Input[builtins.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 value indicates that the backend server is used for health checks.
|
|
46
|
+
:param pulumi.Input[builtins.str] health_check_host: The domain name that is used for health checks. Valid values: $SERVER_IP (default value): The private IP addresses of backend servers. If the $_ip parameter is set or the HealthCheckHost parameter is not set, SLB uses the private IP addresses of backend servers as the domain names for health checks. domain: The domain name must be 1 to 80 characters in length, and can contain only letters, digits, periods (.),and hyphens (-).
|
|
47
|
+
:param pulumi.Input[builtins.str] health_check_http_version: The version of the HTTP protocol. Valid values: HTTP 1.0 and HTTP 1.1. Default value: HTTP 1.1.
|
|
48
|
+
:param pulumi.Input[builtins.int] health_check_interval: The time interval between two consecutive health checks. Valid values: 1 to 50. Unit: seconds. Default value: 2.
|
|
49
|
+
:param pulumi.Input[builtins.str] health_check_method: The health check method. Valid values: GET and HEAD. Default value: HEAD.
|
|
50
|
+
:param pulumi.Input[builtins.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 (/).
|
|
51
|
+
:param pulumi.Input[builtins.str] health_check_protocol: The protocol used for the health check. Value:
|
|
52
|
+
HTTP (default): Sends a HEAD or GET request to simulate the browser's access behavior to check whether the server application is healthy.
|
|
53
|
+
HTTPS: Sends a HEAD or GET request to simulate the browser's access behavior to check whether the server application is healthy. (Data encryption is more secure than HTTP.)
|
|
54
|
+
TCP: Sends a SYN handshake packet to check whether the server port is alive.
|
|
55
|
+
gRPC: Check whether the server application is healthy by sending a POST or GET request.
|
|
56
|
+
:param pulumi.Input[builtins.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.
|
|
57
|
+
:param pulumi.Input[builtins.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).
|
|
58
|
+
:param pulumi.Input[builtins.str] resource_group_id: The ID of the resource group
|
|
59
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: The tag of the resource
|
|
60
|
+
:param pulumi.Input[builtins.int] unhealthy_threshold: Specifies the number of times that an healthy backend server must consecutively fail health checks before it is declared unhealthy (from success to fail).
|
|
51
61
|
"""
|
|
52
62
|
pulumi.set(__self__, "health_check_template_name", health_check_template_name)
|
|
53
63
|
if dry_run is not None:
|
|
@@ -72,6 +82,10 @@ class HealthCheckTemplateArgs:
|
|
|
72
82
|
pulumi.set(__self__, "health_check_timeout", health_check_timeout)
|
|
73
83
|
if healthy_threshold is not None:
|
|
74
84
|
pulumi.set(__self__, "healthy_threshold", healthy_threshold)
|
|
85
|
+
if resource_group_id is not None:
|
|
86
|
+
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
87
|
+
if tags is not None:
|
|
88
|
+
pulumi.set(__self__, "tags", tags)
|
|
75
89
|
if unhealthy_threshold is not None:
|
|
76
90
|
pulumi.set(__self__, "unhealthy_threshold", unhealthy_threshold)
|
|
77
91
|
|
|
@@ -79,7 +93,7 @@ class HealthCheckTemplateArgs:
|
|
|
79
93
|
@pulumi.getter(name="healthCheckTemplateName")
|
|
80
94
|
def health_check_template_name(self) -> pulumi.Input[builtins.str]:
|
|
81
95
|
"""
|
|
82
|
-
The name of the health check template.
|
|
96
|
+
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.
|
|
83
97
|
"""
|
|
84
98
|
return pulumi.get(self, "health_check_template_name")
|
|
85
99
|
|
|
@@ -91,7 +105,9 @@ class HealthCheckTemplateArgs:
|
|
|
91
105
|
@pulumi.getter(name="dryRun")
|
|
92
106
|
def dry_run(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
93
107
|
"""
|
|
94
|
-
Whether to
|
|
108
|
+
Whether to PreCheck only this request, value:
|
|
109
|
+
true: sends a check request and does not create a resource. Check items include whether required parameters, request format, and business restrictions have been filled in. If the check fails, the corresponding error is returned. If the check passes, the error code DryRunOperation is returned.
|
|
110
|
+
false (default): Sends a normal request, returns the http_2xx status code after the check, and directly performs the operation.
|
|
95
111
|
"""
|
|
96
112
|
return pulumi.get(self, "dry_run")
|
|
97
113
|
|
|
@@ -103,7 +119,7 @@ class HealthCheckTemplateArgs:
|
|
|
103
119
|
@pulumi.getter(name="healthCheckCodes")
|
|
104
120
|
def health_check_codes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
105
121
|
"""
|
|
106
|
-
The HTTP
|
|
122
|
+
The HTTP code of the health check. The default value is http_2xx. The normal HTTP code for health check. Separate multiple codes with commas (,). Valid values: http_2xx, http_3xx, http_4xx, or http_5xx.
|
|
107
123
|
"""
|
|
108
124
|
return pulumi.get(self, "health_check_codes")
|
|
109
125
|
|
|
@@ -115,7 +131,7 @@ class HealthCheckTemplateArgs:
|
|
|
115
131
|
@pulumi.getter(name="healthCheckConnectPort")
|
|
116
132
|
def health_check_connect_port(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
117
133
|
"""
|
|
118
|
-
The port that is used for health checks. Default value:
|
|
134
|
+
The number of the port that is used for health checks. Valid values: 0 to 65535. Default value: 0. This value indicates that the backend server is used for health checks.
|
|
119
135
|
"""
|
|
120
136
|
return pulumi.get(self, "health_check_connect_port")
|
|
121
137
|
|
|
@@ -127,7 +143,7 @@ class HealthCheckTemplateArgs:
|
|
|
127
143
|
@pulumi.getter(name="healthCheckHost")
|
|
128
144
|
def health_check_host(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
129
145
|
"""
|
|
130
|
-
The domain name that is used for health checks.
|
|
146
|
+
The domain name that is used for health checks. Valid values: $SERVER_IP (default value): The private IP addresses of backend servers. If the $_ip parameter is set or the HealthCheckHost parameter is not set, SLB uses the private IP addresses of backend servers as the domain names for health checks. domain: The domain name must be 1 to 80 characters in length, and can contain only letters, digits, periods (.),and hyphens (-).
|
|
131
147
|
"""
|
|
132
148
|
return pulumi.get(self, "health_check_host")
|
|
133
149
|
|
|
@@ -139,7 +155,7 @@ class HealthCheckTemplateArgs:
|
|
|
139
155
|
@pulumi.getter(name="healthCheckHttpVersion")
|
|
140
156
|
def health_check_http_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
141
157
|
"""
|
|
142
|
-
The version of the HTTP protocol.
|
|
158
|
+
The version of the HTTP protocol. Valid values: HTTP 1.0 and HTTP 1.1. Default value: HTTP 1.1.
|
|
143
159
|
"""
|
|
144
160
|
return pulumi.get(self, "health_check_http_version")
|
|
145
161
|
|
|
@@ -151,7 +167,7 @@ class HealthCheckTemplateArgs:
|
|
|
151
167
|
@pulumi.getter(name="healthCheckInterval")
|
|
152
168
|
def health_check_interval(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
153
169
|
"""
|
|
154
|
-
The interval
|
|
170
|
+
The time interval between two consecutive health checks. Valid values: 1 to 50. Unit: seconds. Default value: 2.
|
|
155
171
|
"""
|
|
156
172
|
return pulumi.get(self, "health_check_interval")
|
|
157
173
|
|
|
@@ -163,7 +179,7 @@ class HealthCheckTemplateArgs:
|
|
|
163
179
|
@pulumi.getter(name="healthCheckMethod")
|
|
164
180
|
def health_check_method(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
165
181
|
"""
|
|
166
|
-
The
|
|
182
|
+
The health check method. Valid values: GET and HEAD. Default value: HEAD.
|
|
167
183
|
"""
|
|
168
184
|
return pulumi.get(self, "health_check_method")
|
|
169
185
|
|
|
@@ -175,7 +191,7 @@ class HealthCheckTemplateArgs:
|
|
|
175
191
|
@pulumi.getter(name="healthCheckPath")
|
|
176
192
|
def health_check_path(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
177
193
|
"""
|
|
178
|
-
The URL that is used for health checks.
|
|
194
|
+
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 (/).
|
|
179
195
|
"""
|
|
180
196
|
return pulumi.get(self, "health_check_path")
|
|
181
197
|
|
|
@@ -187,7 +203,11 @@ class HealthCheckTemplateArgs:
|
|
|
187
203
|
@pulumi.getter(name="healthCheckProtocol")
|
|
188
204
|
def health_check_protocol(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
189
205
|
"""
|
|
190
|
-
The protocol
|
|
206
|
+
The protocol used for the health check. Value:
|
|
207
|
+
HTTP (default): Sends a HEAD or GET request to simulate the browser's access behavior to check whether the server application is healthy.
|
|
208
|
+
HTTPS: Sends a HEAD or GET request to simulate the browser's access behavior to check whether the server application is healthy. (Data encryption is more secure than HTTP.)
|
|
209
|
+
TCP: Sends a SYN handshake packet to check whether the server port is alive.
|
|
210
|
+
gRPC: Check whether the server application is healthy by sending a POST or GET request.
|
|
191
211
|
"""
|
|
192
212
|
return pulumi.get(self, "health_check_protocol")
|
|
193
213
|
|
|
@@ -199,7 +219,7 @@ class HealthCheckTemplateArgs:
|
|
|
199
219
|
@pulumi.getter(name="healthCheckTimeout")
|
|
200
220
|
def health_check_timeout(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
201
221
|
"""
|
|
202
|
-
The timeout period of a health check.
|
|
222
|
+
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.
|
|
203
223
|
"""
|
|
204
224
|
return pulumi.get(self, "health_check_timeout")
|
|
205
225
|
|
|
@@ -211,7 +231,7 @@ class HealthCheckTemplateArgs:
|
|
|
211
231
|
@pulumi.getter(name="healthyThreshold")
|
|
212
232
|
def healthy_threshold(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
213
233
|
"""
|
|
214
|
-
The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy
|
|
234
|
+
The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy (from fail to success).
|
|
215
235
|
"""
|
|
216
236
|
return pulumi.get(self, "healthy_threshold")
|
|
217
237
|
|
|
@@ -219,11 +239,35 @@ class HealthCheckTemplateArgs:
|
|
|
219
239
|
def healthy_threshold(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
220
240
|
pulumi.set(self, "healthy_threshold", value)
|
|
221
241
|
|
|
242
|
+
@property
|
|
243
|
+
@pulumi.getter(name="resourceGroupId")
|
|
244
|
+
def resource_group_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
245
|
+
"""
|
|
246
|
+
The ID of the resource group
|
|
247
|
+
"""
|
|
248
|
+
return pulumi.get(self, "resource_group_id")
|
|
249
|
+
|
|
250
|
+
@resource_group_id.setter
|
|
251
|
+
def resource_group_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
252
|
+
pulumi.set(self, "resource_group_id", value)
|
|
253
|
+
|
|
254
|
+
@property
|
|
255
|
+
@pulumi.getter
|
|
256
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
257
|
+
"""
|
|
258
|
+
The tag of the resource
|
|
259
|
+
"""
|
|
260
|
+
return pulumi.get(self, "tags")
|
|
261
|
+
|
|
262
|
+
@tags.setter
|
|
263
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
264
|
+
pulumi.set(self, "tags", value)
|
|
265
|
+
|
|
222
266
|
@property
|
|
223
267
|
@pulumi.getter(name="unhealthyThreshold")
|
|
224
268
|
def unhealthy_threshold(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
225
269
|
"""
|
|
226
|
-
|
|
270
|
+
Specifies the number of times that an healthy backend server must consecutively fail health checks before it is declared unhealthy (from success to fail).
|
|
227
271
|
"""
|
|
228
272
|
return pulumi.get(self, "unhealthy_threshold")
|
|
229
273
|
|
|
@@ -247,22 +291,32 @@ class _HealthCheckTemplateState:
|
|
|
247
291
|
health_check_template_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
248
292
|
health_check_timeout: Optional[pulumi.Input[builtins.int]] = None,
|
|
249
293
|
healthy_threshold: Optional[pulumi.Input[builtins.int]] = None,
|
|
294
|
+
resource_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
295
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
250
296
|
unhealthy_threshold: Optional[pulumi.Input[builtins.int]] = None):
|
|
251
297
|
"""
|
|
252
298
|
Input properties used for looking up and filtering HealthCheckTemplate resources.
|
|
253
|
-
:param pulumi.Input[builtins.bool] dry_run: Whether to
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
:param pulumi.Input[builtins.str]
|
|
257
|
-
:param pulumi.Input[builtins.
|
|
258
|
-
:param pulumi.Input[builtins.
|
|
259
|
-
:param pulumi.Input[builtins.str]
|
|
260
|
-
:param pulumi.Input[builtins.
|
|
261
|
-
:param pulumi.Input[builtins.str]
|
|
262
|
-
:param pulumi.Input[builtins.str]
|
|
263
|
-
:param pulumi.Input[builtins.
|
|
264
|
-
|
|
265
|
-
|
|
299
|
+
:param pulumi.Input[builtins.bool] dry_run: Whether to PreCheck only this request, value:
|
|
300
|
+
true: sends a check request and does not create a resource. Check items include whether required parameters, request format, and business restrictions have been filled in. If the check fails, the corresponding error is returned. If the check passes, the error code DryRunOperation is returned.
|
|
301
|
+
false (default): Sends a normal request, returns the http_2xx status code after the check, and directly performs the operation.
|
|
302
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] health_check_codes: The HTTP code of the health check. The default value is http_2xx. The normal HTTP code for health check. Separate multiple codes with commas (,). Valid values: http_2xx, http_3xx, http_4xx, or http_5xx.
|
|
303
|
+
:param pulumi.Input[builtins.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 value indicates that the backend server is used for health checks.
|
|
304
|
+
:param pulumi.Input[builtins.str] health_check_host: The domain name that is used for health checks. Valid values: $SERVER_IP (default value): The private IP addresses of backend servers. If the $_ip parameter is set or the HealthCheckHost parameter is not set, SLB uses the private IP addresses of backend servers as the domain names for health checks. domain: The domain name must be 1 to 80 characters in length, and can contain only letters, digits, periods (.),and hyphens (-).
|
|
305
|
+
:param pulumi.Input[builtins.str] health_check_http_version: The version of the HTTP protocol. Valid values: HTTP 1.0 and HTTP 1.1. Default value: HTTP 1.1.
|
|
306
|
+
:param pulumi.Input[builtins.int] health_check_interval: The time interval between two consecutive health checks. Valid values: 1 to 50. Unit: seconds. Default value: 2.
|
|
307
|
+
:param pulumi.Input[builtins.str] health_check_method: The health check method. Valid values: GET and HEAD. Default value: HEAD.
|
|
308
|
+
:param pulumi.Input[builtins.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 (/).
|
|
309
|
+
:param pulumi.Input[builtins.str] health_check_protocol: The protocol used for the health check. Value:
|
|
310
|
+
HTTP (default): Sends a HEAD or GET request to simulate the browser's access behavior to check whether the server application is healthy.
|
|
311
|
+
HTTPS: Sends a HEAD or GET request to simulate the browser's access behavior to check whether the server application is healthy. (Data encryption is more secure than HTTP.)
|
|
312
|
+
TCP: Sends a SYN handshake packet to check whether the server port is alive.
|
|
313
|
+
gRPC: Check whether the server application is healthy by sending a POST or GET request.
|
|
314
|
+
:param pulumi.Input[builtins.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.
|
|
315
|
+
:param pulumi.Input[builtins.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.
|
|
316
|
+
:param pulumi.Input[builtins.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).
|
|
317
|
+
:param pulumi.Input[builtins.str] resource_group_id: The ID of the resource group
|
|
318
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: The tag of the resource
|
|
319
|
+
:param pulumi.Input[builtins.int] unhealthy_threshold: Specifies the number of times that an healthy backend server must consecutively fail health checks before it is declared unhealthy (from success to fail).
|
|
266
320
|
"""
|
|
267
321
|
if dry_run is not None:
|
|
268
322
|
pulumi.set(__self__, "dry_run", dry_run)
|
|
@@ -288,6 +342,10 @@ class _HealthCheckTemplateState:
|
|
|
288
342
|
pulumi.set(__self__, "health_check_timeout", health_check_timeout)
|
|
289
343
|
if healthy_threshold is not None:
|
|
290
344
|
pulumi.set(__self__, "healthy_threshold", healthy_threshold)
|
|
345
|
+
if resource_group_id is not None:
|
|
346
|
+
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
347
|
+
if tags is not None:
|
|
348
|
+
pulumi.set(__self__, "tags", tags)
|
|
291
349
|
if unhealthy_threshold is not None:
|
|
292
350
|
pulumi.set(__self__, "unhealthy_threshold", unhealthy_threshold)
|
|
293
351
|
|
|
@@ -295,7 +353,9 @@ class _HealthCheckTemplateState:
|
|
|
295
353
|
@pulumi.getter(name="dryRun")
|
|
296
354
|
def dry_run(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
297
355
|
"""
|
|
298
|
-
Whether to
|
|
356
|
+
Whether to PreCheck only this request, value:
|
|
357
|
+
true: sends a check request and does not create a resource. Check items include whether required parameters, request format, and business restrictions have been filled in. If the check fails, the corresponding error is returned. If the check passes, the error code DryRunOperation is returned.
|
|
358
|
+
false (default): Sends a normal request, returns the http_2xx status code after the check, and directly performs the operation.
|
|
299
359
|
"""
|
|
300
360
|
return pulumi.get(self, "dry_run")
|
|
301
361
|
|
|
@@ -307,7 +367,7 @@ class _HealthCheckTemplateState:
|
|
|
307
367
|
@pulumi.getter(name="healthCheckCodes")
|
|
308
368
|
def health_check_codes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
309
369
|
"""
|
|
310
|
-
The HTTP
|
|
370
|
+
The HTTP code of the health check. The default value is http_2xx. The normal HTTP code for health check. Separate multiple codes with commas (,). Valid values: http_2xx, http_3xx, http_4xx, or http_5xx.
|
|
311
371
|
"""
|
|
312
372
|
return pulumi.get(self, "health_check_codes")
|
|
313
373
|
|
|
@@ -319,7 +379,7 @@ class _HealthCheckTemplateState:
|
|
|
319
379
|
@pulumi.getter(name="healthCheckConnectPort")
|
|
320
380
|
def health_check_connect_port(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
321
381
|
"""
|
|
322
|
-
The port that is used for health checks. Default value:
|
|
382
|
+
The number of the port that is used for health checks. Valid values: 0 to 65535. Default value: 0. This value indicates that the backend server is used for health checks.
|
|
323
383
|
"""
|
|
324
384
|
return pulumi.get(self, "health_check_connect_port")
|
|
325
385
|
|
|
@@ -331,7 +391,7 @@ class _HealthCheckTemplateState:
|
|
|
331
391
|
@pulumi.getter(name="healthCheckHost")
|
|
332
392
|
def health_check_host(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
333
393
|
"""
|
|
334
|
-
The domain name that is used for health checks.
|
|
394
|
+
The domain name that is used for health checks. Valid values: $SERVER_IP (default value): The private IP addresses of backend servers. If the $_ip parameter is set or the HealthCheckHost parameter is not set, SLB uses the private IP addresses of backend servers as the domain names for health checks. domain: The domain name must be 1 to 80 characters in length, and can contain only letters, digits, periods (.),and hyphens (-).
|
|
335
395
|
"""
|
|
336
396
|
return pulumi.get(self, "health_check_host")
|
|
337
397
|
|
|
@@ -343,7 +403,7 @@ class _HealthCheckTemplateState:
|
|
|
343
403
|
@pulumi.getter(name="healthCheckHttpVersion")
|
|
344
404
|
def health_check_http_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
345
405
|
"""
|
|
346
|
-
The version of the HTTP protocol.
|
|
406
|
+
The version of the HTTP protocol. Valid values: HTTP 1.0 and HTTP 1.1. Default value: HTTP 1.1.
|
|
347
407
|
"""
|
|
348
408
|
return pulumi.get(self, "health_check_http_version")
|
|
349
409
|
|
|
@@ -355,7 +415,7 @@ class _HealthCheckTemplateState:
|
|
|
355
415
|
@pulumi.getter(name="healthCheckInterval")
|
|
356
416
|
def health_check_interval(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
357
417
|
"""
|
|
358
|
-
The interval
|
|
418
|
+
The time interval between two consecutive health checks. Valid values: 1 to 50. Unit: seconds. Default value: 2.
|
|
359
419
|
"""
|
|
360
420
|
return pulumi.get(self, "health_check_interval")
|
|
361
421
|
|
|
@@ -367,7 +427,7 @@ class _HealthCheckTemplateState:
|
|
|
367
427
|
@pulumi.getter(name="healthCheckMethod")
|
|
368
428
|
def health_check_method(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
369
429
|
"""
|
|
370
|
-
The
|
|
430
|
+
The health check method. Valid values: GET and HEAD. Default value: HEAD.
|
|
371
431
|
"""
|
|
372
432
|
return pulumi.get(self, "health_check_method")
|
|
373
433
|
|
|
@@ -379,7 +439,7 @@ class _HealthCheckTemplateState:
|
|
|
379
439
|
@pulumi.getter(name="healthCheckPath")
|
|
380
440
|
def health_check_path(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
381
441
|
"""
|
|
382
|
-
The URL that is used for health checks.
|
|
442
|
+
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 (/).
|
|
383
443
|
"""
|
|
384
444
|
return pulumi.get(self, "health_check_path")
|
|
385
445
|
|
|
@@ -391,7 +451,11 @@ class _HealthCheckTemplateState:
|
|
|
391
451
|
@pulumi.getter(name="healthCheckProtocol")
|
|
392
452
|
def health_check_protocol(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
393
453
|
"""
|
|
394
|
-
The protocol
|
|
454
|
+
The protocol used for the health check. Value:
|
|
455
|
+
HTTP (default): Sends a HEAD or GET request to simulate the browser's access behavior to check whether the server application is healthy.
|
|
456
|
+
HTTPS: Sends a HEAD or GET request to simulate the browser's access behavior to check whether the server application is healthy. (Data encryption is more secure than HTTP.)
|
|
457
|
+
TCP: Sends a SYN handshake packet to check whether the server port is alive.
|
|
458
|
+
gRPC: Check whether the server application is healthy by sending a POST or GET request.
|
|
395
459
|
"""
|
|
396
460
|
return pulumi.get(self, "health_check_protocol")
|
|
397
461
|
|
|
@@ -403,7 +467,7 @@ class _HealthCheckTemplateState:
|
|
|
403
467
|
@pulumi.getter(name="healthCheckTemplateName")
|
|
404
468
|
def health_check_template_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
405
469
|
"""
|
|
406
|
-
The name of the health check template.
|
|
470
|
+
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.
|
|
407
471
|
"""
|
|
408
472
|
return pulumi.get(self, "health_check_template_name")
|
|
409
473
|
|
|
@@ -415,7 +479,7 @@ class _HealthCheckTemplateState:
|
|
|
415
479
|
@pulumi.getter(name="healthCheckTimeout")
|
|
416
480
|
def health_check_timeout(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
417
481
|
"""
|
|
418
|
-
The timeout period of a health check.
|
|
482
|
+
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.
|
|
419
483
|
"""
|
|
420
484
|
return pulumi.get(self, "health_check_timeout")
|
|
421
485
|
|
|
@@ -427,7 +491,7 @@ class _HealthCheckTemplateState:
|
|
|
427
491
|
@pulumi.getter(name="healthyThreshold")
|
|
428
492
|
def healthy_threshold(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
429
493
|
"""
|
|
430
|
-
The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy
|
|
494
|
+
The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy (from fail to success).
|
|
431
495
|
"""
|
|
432
496
|
return pulumi.get(self, "healthy_threshold")
|
|
433
497
|
|
|
@@ -435,11 +499,35 @@ class _HealthCheckTemplateState:
|
|
|
435
499
|
def healthy_threshold(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
436
500
|
pulumi.set(self, "healthy_threshold", value)
|
|
437
501
|
|
|
502
|
+
@property
|
|
503
|
+
@pulumi.getter(name="resourceGroupId")
|
|
504
|
+
def resource_group_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
505
|
+
"""
|
|
506
|
+
The ID of the resource group
|
|
507
|
+
"""
|
|
508
|
+
return pulumi.get(self, "resource_group_id")
|
|
509
|
+
|
|
510
|
+
@resource_group_id.setter
|
|
511
|
+
def resource_group_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
512
|
+
pulumi.set(self, "resource_group_id", value)
|
|
513
|
+
|
|
514
|
+
@property
|
|
515
|
+
@pulumi.getter
|
|
516
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
517
|
+
"""
|
|
518
|
+
The tag of the resource
|
|
519
|
+
"""
|
|
520
|
+
return pulumi.get(self, "tags")
|
|
521
|
+
|
|
522
|
+
@tags.setter
|
|
523
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
524
|
+
pulumi.set(self, "tags", value)
|
|
525
|
+
|
|
438
526
|
@property
|
|
439
527
|
@pulumi.getter(name="unhealthyThreshold")
|
|
440
528
|
def unhealthy_threshold(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
441
529
|
"""
|
|
442
|
-
|
|
530
|
+
Specifies the number of times that an healthy backend server must consecutively fail health checks before it is declared unhealthy (from success to fail).
|
|
443
531
|
"""
|
|
444
532
|
return pulumi.get(self, "unhealthy_threshold")
|
|
445
533
|
|
|
@@ -466,10 +554,14 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
466
554
|
health_check_template_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
467
555
|
health_check_timeout: Optional[pulumi.Input[builtins.int]] = None,
|
|
468
556
|
healthy_threshold: Optional[pulumi.Input[builtins.int]] = None,
|
|
557
|
+
resource_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
558
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
469
559
|
unhealthy_threshold: Optional[pulumi.Input[builtins.int]] = None,
|
|
470
560
|
__props__=None):
|
|
471
561
|
"""
|
|
472
|
-
Provides
|
|
562
|
+
Provides a Application Load Balancer (ALB) Health Check Template resource.
|
|
563
|
+
|
|
564
|
+
Health check template.
|
|
473
565
|
|
|
474
566
|
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).
|
|
475
567
|
|
|
@@ -500,19 +592,27 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
500
592
|
|
|
501
593
|
:param str resource_name: The name of the resource.
|
|
502
594
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
503
|
-
:param pulumi.Input[builtins.bool] dry_run: Whether to
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
:param pulumi.Input[builtins.str]
|
|
507
|
-
:param pulumi.Input[builtins.
|
|
508
|
-
:param pulumi.Input[builtins.
|
|
509
|
-
:param pulumi.Input[builtins.str]
|
|
510
|
-
:param pulumi.Input[builtins.
|
|
511
|
-
:param pulumi.Input[builtins.str]
|
|
512
|
-
:param pulumi.Input[builtins.str]
|
|
513
|
-
:param pulumi.Input[builtins.
|
|
514
|
-
|
|
515
|
-
|
|
595
|
+
:param pulumi.Input[builtins.bool] dry_run: Whether to PreCheck only this request, value:
|
|
596
|
+
true: sends a check request and does not create a resource. Check items include whether required parameters, request format, and business restrictions have been filled in. If the check fails, the corresponding error is returned. If the check passes, the error code DryRunOperation is returned.
|
|
597
|
+
false (default): Sends a normal request, returns the http_2xx status code after the check, and directly performs the operation.
|
|
598
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] health_check_codes: The HTTP code of the health check. The default value is http_2xx. The normal HTTP code for health check. Separate multiple codes with commas (,). Valid values: http_2xx, http_3xx, http_4xx, or http_5xx.
|
|
599
|
+
:param pulumi.Input[builtins.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 value indicates that the backend server is used for health checks.
|
|
600
|
+
:param pulumi.Input[builtins.str] health_check_host: The domain name that is used for health checks. Valid values: $SERVER_IP (default value): The private IP addresses of backend servers. If the $_ip parameter is set or the HealthCheckHost parameter is not set, SLB uses the private IP addresses of backend servers as the domain names for health checks. domain: The domain name must be 1 to 80 characters in length, and can contain only letters, digits, periods (.),and hyphens (-).
|
|
601
|
+
:param pulumi.Input[builtins.str] health_check_http_version: The version of the HTTP protocol. Valid values: HTTP 1.0 and HTTP 1.1. Default value: HTTP 1.1.
|
|
602
|
+
:param pulumi.Input[builtins.int] health_check_interval: The time interval between two consecutive health checks. Valid values: 1 to 50. Unit: seconds. Default value: 2.
|
|
603
|
+
:param pulumi.Input[builtins.str] health_check_method: The health check method. Valid values: GET and HEAD. Default value: HEAD.
|
|
604
|
+
:param pulumi.Input[builtins.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 (/).
|
|
605
|
+
:param pulumi.Input[builtins.str] health_check_protocol: The protocol used for the health check. Value:
|
|
606
|
+
HTTP (default): Sends a HEAD or GET request to simulate the browser's access behavior to check whether the server application is healthy.
|
|
607
|
+
HTTPS: Sends a HEAD or GET request to simulate the browser's access behavior to check whether the server application is healthy. (Data encryption is more secure than HTTP.)
|
|
608
|
+
TCP: Sends a SYN handshake packet to check whether the server port is alive.
|
|
609
|
+
gRPC: Check whether the server application is healthy by sending a POST or GET request.
|
|
610
|
+
:param pulumi.Input[builtins.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.
|
|
611
|
+
:param pulumi.Input[builtins.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.
|
|
612
|
+
:param pulumi.Input[builtins.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).
|
|
613
|
+
:param pulumi.Input[builtins.str] resource_group_id: The ID of the resource group
|
|
614
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: The tag of the resource
|
|
615
|
+
:param pulumi.Input[builtins.int] unhealthy_threshold: Specifies the number of times that an healthy backend server must consecutively fail health checks before it is declared unhealthy (from success to fail).
|
|
516
616
|
"""
|
|
517
617
|
...
|
|
518
618
|
@overload
|
|
@@ -521,7 +621,9 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
521
621
|
args: HealthCheckTemplateArgs,
|
|
522
622
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
523
623
|
"""
|
|
524
|
-
Provides
|
|
624
|
+
Provides a Application Load Balancer (ALB) Health Check Template resource.
|
|
625
|
+
|
|
626
|
+
Health check template.
|
|
525
627
|
|
|
526
628
|
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).
|
|
527
629
|
|
|
@@ -577,6 +679,8 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
577
679
|
health_check_template_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
578
680
|
health_check_timeout: Optional[pulumi.Input[builtins.int]] = None,
|
|
579
681
|
healthy_threshold: Optional[pulumi.Input[builtins.int]] = None,
|
|
682
|
+
resource_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
683
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
580
684
|
unhealthy_threshold: Optional[pulumi.Input[builtins.int]] = None,
|
|
581
685
|
__props__=None):
|
|
582
686
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -601,6 +705,8 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
601
705
|
__props__.__dict__["health_check_template_name"] = health_check_template_name
|
|
602
706
|
__props__.__dict__["health_check_timeout"] = health_check_timeout
|
|
603
707
|
__props__.__dict__["healthy_threshold"] = healthy_threshold
|
|
708
|
+
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
709
|
+
__props__.__dict__["tags"] = tags
|
|
604
710
|
__props__.__dict__["unhealthy_threshold"] = unhealthy_threshold
|
|
605
711
|
super(HealthCheckTemplate, __self__).__init__(
|
|
606
712
|
'alicloud:alb/healthCheckTemplate:HealthCheckTemplate',
|
|
@@ -624,6 +730,8 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
624
730
|
health_check_template_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
625
731
|
health_check_timeout: Optional[pulumi.Input[builtins.int]] = None,
|
|
626
732
|
healthy_threshold: Optional[pulumi.Input[builtins.int]] = None,
|
|
733
|
+
resource_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
734
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
627
735
|
unhealthy_threshold: Optional[pulumi.Input[builtins.int]] = None) -> 'HealthCheckTemplate':
|
|
628
736
|
"""
|
|
629
737
|
Get an existing HealthCheckTemplate resource's state with the given name, id, and optional extra
|
|
@@ -632,19 +740,27 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
632
740
|
:param str resource_name: The unique name of the resulting resource.
|
|
633
741
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
634
742
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
635
|
-
:param pulumi.Input[builtins.bool] dry_run: Whether to
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
:param pulumi.Input[builtins.str]
|
|
639
|
-
:param pulumi.Input[builtins.
|
|
640
|
-
:param pulumi.Input[builtins.
|
|
641
|
-
:param pulumi.Input[builtins.str]
|
|
642
|
-
:param pulumi.Input[builtins.
|
|
643
|
-
:param pulumi.Input[builtins.str]
|
|
644
|
-
:param pulumi.Input[builtins.str]
|
|
645
|
-
:param pulumi.Input[builtins.
|
|
646
|
-
|
|
647
|
-
|
|
743
|
+
:param pulumi.Input[builtins.bool] dry_run: Whether to PreCheck only this request, value:
|
|
744
|
+
true: sends a check request and does not create a resource. Check items include whether required parameters, request format, and business restrictions have been filled in. If the check fails, the corresponding error is returned. If the check passes, the error code DryRunOperation is returned.
|
|
745
|
+
false (default): Sends a normal request, returns the http_2xx status code after the check, and directly performs the operation.
|
|
746
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] health_check_codes: The HTTP code of the health check. The default value is http_2xx. The normal HTTP code for health check. Separate multiple codes with commas (,). Valid values: http_2xx, http_3xx, http_4xx, or http_5xx.
|
|
747
|
+
:param pulumi.Input[builtins.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 value indicates that the backend server is used for health checks.
|
|
748
|
+
:param pulumi.Input[builtins.str] health_check_host: The domain name that is used for health checks. Valid values: $SERVER_IP (default value): The private IP addresses of backend servers. If the $_ip parameter is set or the HealthCheckHost parameter is not set, SLB uses the private IP addresses of backend servers as the domain names for health checks. domain: The domain name must be 1 to 80 characters in length, and can contain only letters, digits, periods (.),and hyphens (-).
|
|
749
|
+
:param pulumi.Input[builtins.str] health_check_http_version: The version of the HTTP protocol. Valid values: HTTP 1.0 and HTTP 1.1. Default value: HTTP 1.1.
|
|
750
|
+
:param pulumi.Input[builtins.int] health_check_interval: The time interval between two consecutive health checks. Valid values: 1 to 50. Unit: seconds. Default value: 2.
|
|
751
|
+
:param pulumi.Input[builtins.str] health_check_method: The health check method. Valid values: GET and HEAD. Default value: HEAD.
|
|
752
|
+
:param pulumi.Input[builtins.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 (/).
|
|
753
|
+
:param pulumi.Input[builtins.str] health_check_protocol: The protocol used for the health check. Value:
|
|
754
|
+
HTTP (default): Sends a HEAD or GET request to simulate the browser's access behavior to check whether the server application is healthy.
|
|
755
|
+
HTTPS: Sends a HEAD or GET request to simulate the browser's access behavior to check whether the server application is healthy. (Data encryption is more secure than HTTP.)
|
|
756
|
+
TCP: Sends a SYN handshake packet to check whether the server port is alive.
|
|
757
|
+
gRPC: Check whether the server application is healthy by sending a POST or GET request.
|
|
758
|
+
:param pulumi.Input[builtins.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.
|
|
759
|
+
:param pulumi.Input[builtins.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.
|
|
760
|
+
:param pulumi.Input[builtins.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).
|
|
761
|
+
:param pulumi.Input[builtins.str] resource_group_id: The ID of the resource group
|
|
762
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: The tag of the resource
|
|
763
|
+
:param pulumi.Input[builtins.int] unhealthy_threshold: Specifies the number of times that an healthy backend server must consecutively fail health checks before it is declared unhealthy (from success to fail).
|
|
648
764
|
"""
|
|
649
765
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
650
766
|
|
|
@@ -662,6 +778,8 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
662
778
|
__props__.__dict__["health_check_template_name"] = health_check_template_name
|
|
663
779
|
__props__.__dict__["health_check_timeout"] = health_check_timeout
|
|
664
780
|
__props__.__dict__["healthy_threshold"] = healthy_threshold
|
|
781
|
+
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
782
|
+
__props__.__dict__["tags"] = tags
|
|
665
783
|
__props__.__dict__["unhealthy_threshold"] = unhealthy_threshold
|
|
666
784
|
return HealthCheckTemplate(resource_name, opts=opts, __props__=__props__)
|
|
667
785
|
|
|
@@ -669,7 +787,9 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
669
787
|
@pulumi.getter(name="dryRun")
|
|
670
788
|
def dry_run(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
671
789
|
"""
|
|
672
|
-
Whether to
|
|
790
|
+
Whether to PreCheck only this request, value:
|
|
791
|
+
true: sends a check request and does not create a resource. Check items include whether required parameters, request format, and business restrictions have been filled in. If the check fails, the corresponding error is returned. If the check passes, the error code DryRunOperation is returned.
|
|
792
|
+
false (default): Sends a normal request, returns the http_2xx status code after the check, and directly performs the operation.
|
|
673
793
|
"""
|
|
674
794
|
return pulumi.get(self, "dry_run")
|
|
675
795
|
|
|
@@ -677,7 +797,7 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
677
797
|
@pulumi.getter(name="healthCheckCodes")
|
|
678
798
|
def health_check_codes(self) -> pulumi.Output[Sequence[builtins.str]]:
|
|
679
799
|
"""
|
|
680
|
-
The HTTP
|
|
800
|
+
The HTTP code of the health check. The default value is http_2xx. The normal HTTP code for health check. Separate multiple codes with commas (,). Valid values: http_2xx, http_3xx, http_4xx, or http_5xx.
|
|
681
801
|
"""
|
|
682
802
|
return pulumi.get(self, "health_check_codes")
|
|
683
803
|
|
|
@@ -685,7 +805,7 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
685
805
|
@pulumi.getter(name="healthCheckConnectPort")
|
|
686
806
|
def health_check_connect_port(self) -> pulumi.Output[builtins.int]:
|
|
687
807
|
"""
|
|
688
|
-
The port that is used for health checks. Default value:
|
|
808
|
+
The number of the port that is used for health checks. Valid values: 0 to 65535. Default value: 0. This value indicates that the backend server is used for health checks.
|
|
689
809
|
"""
|
|
690
810
|
return pulumi.get(self, "health_check_connect_port")
|
|
691
811
|
|
|
@@ -693,7 +813,7 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
693
813
|
@pulumi.getter(name="healthCheckHost")
|
|
694
814
|
def health_check_host(self) -> pulumi.Output[builtins.str]:
|
|
695
815
|
"""
|
|
696
|
-
The domain name that is used for health checks.
|
|
816
|
+
The domain name that is used for health checks. Valid values: $SERVER_IP (default value): The private IP addresses of backend servers. If the $_ip parameter is set or the HealthCheckHost parameter is not set, SLB uses the private IP addresses of backend servers as the domain names for health checks. domain: The domain name must be 1 to 80 characters in length, and can contain only letters, digits, periods (.),and hyphens (-).
|
|
697
817
|
"""
|
|
698
818
|
return pulumi.get(self, "health_check_host")
|
|
699
819
|
|
|
@@ -701,7 +821,7 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
701
821
|
@pulumi.getter(name="healthCheckHttpVersion")
|
|
702
822
|
def health_check_http_version(self) -> pulumi.Output[builtins.str]:
|
|
703
823
|
"""
|
|
704
|
-
The version of the HTTP protocol.
|
|
824
|
+
The version of the HTTP protocol. Valid values: HTTP 1.0 and HTTP 1.1. Default value: HTTP 1.1.
|
|
705
825
|
"""
|
|
706
826
|
return pulumi.get(self, "health_check_http_version")
|
|
707
827
|
|
|
@@ -709,7 +829,7 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
709
829
|
@pulumi.getter(name="healthCheckInterval")
|
|
710
830
|
def health_check_interval(self) -> pulumi.Output[builtins.int]:
|
|
711
831
|
"""
|
|
712
|
-
The interval
|
|
832
|
+
The time interval between two consecutive health checks. Valid values: 1 to 50. Unit: seconds. Default value: 2.
|
|
713
833
|
"""
|
|
714
834
|
return pulumi.get(self, "health_check_interval")
|
|
715
835
|
|
|
@@ -717,7 +837,7 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
717
837
|
@pulumi.getter(name="healthCheckMethod")
|
|
718
838
|
def health_check_method(self) -> pulumi.Output[builtins.str]:
|
|
719
839
|
"""
|
|
720
|
-
The
|
|
840
|
+
The health check method. Valid values: GET and HEAD. Default value: HEAD.
|
|
721
841
|
"""
|
|
722
842
|
return pulumi.get(self, "health_check_method")
|
|
723
843
|
|
|
@@ -725,7 +845,7 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
725
845
|
@pulumi.getter(name="healthCheckPath")
|
|
726
846
|
def health_check_path(self) -> pulumi.Output[builtins.str]:
|
|
727
847
|
"""
|
|
728
|
-
The URL that is used for health checks.
|
|
848
|
+
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 (/).
|
|
729
849
|
"""
|
|
730
850
|
return pulumi.get(self, "health_check_path")
|
|
731
851
|
|
|
@@ -733,7 +853,11 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
733
853
|
@pulumi.getter(name="healthCheckProtocol")
|
|
734
854
|
def health_check_protocol(self) -> pulumi.Output[builtins.str]:
|
|
735
855
|
"""
|
|
736
|
-
The protocol
|
|
856
|
+
The protocol used for the health check. Value:
|
|
857
|
+
HTTP (default): Sends a HEAD or GET request to simulate the browser's access behavior to check whether the server application is healthy.
|
|
858
|
+
HTTPS: Sends a HEAD or GET request to simulate the browser's access behavior to check whether the server application is healthy. (Data encryption is more secure than HTTP.)
|
|
859
|
+
TCP: Sends a SYN handshake packet to check whether the server port is alive.
|
|
860
|
+
gRPC: Check whether the server application is healthy by sending a POST or GET request.
|
|
737
861
|
"""
|
|
738
862
|
return pulumi.get(self, "health_check_protocol")
|
|
739
863
|
|
|
@@ -741,7 +865,7 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
741
865
|
@pulumi.getter(name="healthCheckTemplateName")
|
|
742
866
|
def health_check_template_name(self) -> pulumi.Output[builtins.str]:
|
|
743
867
|
"""
|
|
744
|
-
The name of the health check template.
|
|
868
|
+
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.
|
|
745
869
|
"""
|
|
746
870
|
return pulumi.get(self, "health_check_template_name")
|
|
747
871
|
|
|
@@ -749,7 +873,7 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
749
873
|
@pulumi.getter(name="healthCheckTimeout")
|
|
750
874
|
def health_check_timeout(self) -> pulumi.Output[builtins.int]:
|
|
751
875
|
"""
|
|
752
|
-
The timeout period of a health check.
|
|
876
|
+
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.
|
|
753
877
|
"""
|
|
754
878
|
return pulumi.get(self, "health_check_timeout")
|
|
755
879
|
|
|
@@ -757,15 +881,31 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
757
881
|
@pulumi.getter(name="healthyThreshold")
|
|
758
882
|
def healthy_threshold(self) -> pulumi.Output[builtins.int]:
|
|
759
883
|
"""
|
|
760
|
-
The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy
|
|
884
|
+
The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy (from fail to success).
|
|
761
885
|
"""
|
|
762
886
|
return pulumi.get(self, "healthy_threshold")
|
|
763
887
|
|
|
888
|
+
@property
|
|
889
|
+
@pulumi.getter(name="resourceGroupId")
|
|
890
|
+
def resource_group_id(self) -> pulumi.Output[builtins.str]:
|
|
891
|
+
"""
|
|
892
|
+
The ID of the resource group
|
|
893
|
+
"""
|
|
894
|
+
return pulumi.get(self, "resource_group_id")
|
|
895
|
+
|
|
896
|
+
@property
|
|
897
|
+
@pulumi.getter
|
|
898
|
+
def tags(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
|
|
899
|
+
"""
|
|
900
|
+
The tag of the resource
|
|
901
|
+
"""
|
|
902
|
+
return pulumi.get(self, "tags")
|
|
903
|
+
|
|
764
904
|
@property
|
|
765
905
|
@pulumi.getter(name="unhealthyThreshold")
|
|
766
906
|
def unhealthy_threshold(self) -> pulumi.Output[builtins.int]:
|
|
767
907
|
"""
|
|
768
|
-
|
|
908
|
+
Specifies the number of times that an healthy backend server must consecutively fail health checks before it is declared unhealthy (from success to fail).
|
|
769
909
|
"""
|
|
770
910
|
return pulumi.get(self, "unhealthy_threshold")
|
|
771
911
|
|