pulumi-alicloud 3.68.0__py3-none-any.whl → 3.68.0a1732598392__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 -40
- pulumi_alicloud/cdn/_inputs.py +23 -3
- pulumi_alicloud/cdn/domain_new.py +51 -93
- pulumi_alicloud/cdn/outputs.py +16 -2
- pulumi_alicloud/cdn/real_time_log_delivery.py +46 -97
- pulumi_alicloud/cen/get_flowlogs.py +35 -250
- pulumi_alicloud/cen/outputs.py +17 -116
- pulumi_alicloud/cs/node_pool.py +0 -7
- pulumi_alicloud/ecs/_inputs.py +0 -92
- pulumi_alicloud/ecs/auto_snapshot_policy.py +129 -323
- pulumi_alicloud/ecs/outputs.py +0 -88
- pulumi_alicloud/ecs/snapshot_policy.py +1 -154
- pulumi_alicloud/emrv2/_inputs.py +21 -875
- pulumi_alicloud/emrv2/cluster.py +0 -47
- pulumi_alicloud/emrv2/outputs.py +14 -580
- pulumi_alicloud/gwlb/__init__.py +0 -1
- pulumi_alicloud/gwlb/_inputs.py +126 -147
- pulumi_alicloud/gwlb/listener.py +50 -50
- pulumi_alicloud/gwlb/load_balancer.py +71 -78
- pulumi_alicloud/gwlb/outputs.py +84 -139
- pulumi_alicloud/gwlb/server_group.py +113 -162
- pulumi_alicloud/kvstore/audit_log_config.py +7 -7
- pulumi_alicloud/kvstore/backup_policy.py +9 -9
- pulumi_alicloud/kvstore/get_instance_classes.py +8 -8
- pulumi_alicloud/kvstore/get_instances.py +7 -9
- pulumi_alicloud/kvstore/instance.py +21 -21
- pulumi_alicloud/kvstore/outputs.py +6 -6
- pulumi_alicloud/nas/_inputs.py +0 -148
- pulumi_alicloud/nas/file_system.py +222 -482
- pulumi_alicloud/nas/outputs.py +0 -109
- pulumi_alicloud/pai/__init__.py +0 -7
- pulumi_alicloud/pai/workspace_workspace.py +6 -6
- pulumi_alicloud/pulumi-plugin.json +1 -1
- {pulumi_alicloud-3.68.0.dist-info → pulumi_alicloud-3.68.0a1732598392.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.68.0.dist-info → pulumi_alicloud-3.68.0a1732598392.dist-info}/RECORD +37 -45
- pulumi_alicloud/gwlb/get_zones.py +0 -173
- pulumi_alicloud/pai/_inputs.py +0 -129
- pulumi_alicloud/pai/outputs.py +0 -83
- pulumi_alicloud/pai/workspace_code_source.py +0 -702
- pulumi_alicloud/pai/workspace_dataset.py +0 -1081
- pulumi_alicloud/pai/workspace_datasetversion.py +0 -818
- pulumi_alicloud/pai/workspace_experiment.py +0 -394
- pulumi_alicloud/pai/workspace_run.py +0 -344
- {pulumi_alicloud-3.68.0.dist-info → pulumi_alicloud-3.68.0a1732598392.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.68.0.dist-info → pulumi_alicloud-3.68.0a1732598392.dist-info}/top_level.txt +0 -0
pulumi_alicloud/gwlb/__init__.py
CHANGED
pulumi_alicloud/gwlb/_inputs.py
CHANGED
|
@@ -33,15 +33,15 @@ if not MYPY:
|
|
|
33
33
|
class LoadBalancerZoneMappingArgsDict(TypedDict):
|
|
34
34
|
vswitch_id: pulumi.Input[str]
|
|
35
35
|
"""
|
|
36
|
-
The ID of the vSwitch
|
|
36
|
+
The ID of the vSwitch that corresponds to the zone. Each zone can use only one vSwitch and subnet.
|
|
37
37
|
"""
|
|
38
38
|
zone_id: pulumi.Input[str]
|
|
39
39
|
"""
|
|
40
|
-
The
|
|
40
|
+
The ID of the zone to which the Gateway Load Balancer instance belongs.
|
|
41
41
|
"""
|
|
42
42
|
load_balancer_addresses: NotRequired[pulumi.Input[Sequence[pulumi.Input['LoadBalancerZoneMappingLoadBalancerAddressArgsDict']]]]
|
|
43
43
|
"""
|
|
44
|
-
The
|
|
44
|
+
The addresses of the Gateway Load Balancer instance.
|
|
45
45
|
"""
|
|
46
46
|
elif False:
|
|
47
47
|
LoadBalancerZoneMappingArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -53,9 +53,9 @@ class LoadBalancerZoneMappingArgs:
|
|
|
53
53
|
zone_id: pulumi.Input[str],
|
|
54
54
|
load_balancer_addresses: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerZoneMappingLoadBalancerAddressArgs']]]] = None):
|
|
55
55
|
"""
|
|
56
|
-
:param pulumi.Input[str] vswitch_id: The ID of the vSwitch
|
|
57
|
-
:param pulumi.Input[str] zone_id: The
|
|
58
|
-
:param pulumi.Input[Sequence[pulumi.Input['LoadBalancerZoneMappingLoadBalancerAddressArgs']]] load_balancer_addresses: The
|
|
56
|
+
:param pulumi.Input[str] vswitch_id: The ID of the vSwitch that corresponds to the zone. Each zone can use only one vSwitch and subnet.
|
|
57
|
+
:param pulumi.Input[str] zone_id: The ID of the zone to which the Gateway Load Balancer instance belongs.
|
|
58
|
+
:param pulumi.Input[Sequence[pulumi.Input['LoadBalancerZoneMappingLoadBalancerAddressArgs']]] load_balancer_addresses: The addresses of the Gateway Load Balancer instance.
|
|
59
59
|
"""
|
|
60
60
|
pulumi.set(__self__, "vswitch_id", vswitch_id)
|
|
61
61
|
pulumi.set(__self__, "zone_id", zone_id)
|
|
@@ -66,7 +66,7 @@ class LoadBalancerZoneMappingArgs:
|
|
|
66
66
|
@pulumi.getter(name="vswitchId")
|
|
67
67
|
def vswitch_id(self) -> pulumi.Input[str]:
|
|
68
68
|
"""
|
|
69
|
-
The ID of the vSwitch
|
|
69
|
+
The ID of the vSwitch that corresponds to the zone. Each zone can use only one vSwitch and subnet.
|
|
70
70
|
"""
|
|
71
71
|
return pulumi.get(self, "vswitch_id")
|
|
72
72
|
|
|
@@ -78,7 +78,7 @@ class LoadBalancerZoneMappingArgs:
|
|
|
78
78
|
@pulumi.getter(name="zoneId")
|
|
79
79
|
def zone_id(self) -> pulumi.Input[str]:
|
|
80
80
|
"""
|
|
81
|
-
The
|
|
81
|
+
The ID of the zone to which the Gateway Load Balancer instance belongs.
|
|
82
82
|
"""
|
|
83
83
|
return pulumi.get(self, "zone_id")
|
|
84
84
|
|
|
@@ -90,7 +90,7 @@ class LoadBalancerZoneMappingArgs:
|
|
|
90
90
|
@pulumi.getter(name="loadBalancerAddresses")
|
|
91
91
|
def load_balancer_addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerZoneMappingLoadBalancerAddressArgs']]]]:
|
|
92
92
|
"""
|
|
93
|
-
The
|
|
93
|
+
The addresses of the Gateway Load Balancer instance.
|
|
94
94
|
"""
|
|
95
95
|
return pulumi.get(self, "load_balancer_addresses")
|
|
96
96
|
|
|
@@ -103,11 +103,11 @@ if not MYPY:
|
|
|
103
103
|
class LoadBalancerZoneMappingLoadBalancerAddressArgsDict(TypedDict):
|
|
104
104
|
eni_id: NotRequired[pulumi.Input[str]]
|
|
105
105
|
"""
|
|
106
|
-
The ID of the
|
|
106
|
+
The ID of the ENI.
|
|
107
107
|
"""
|
|
108
108
|
private_ipv4_address: NotRequired[pulumi.Input[str]]
|
|
109
109
|
"""
|
|
110
|
-
|
|
110
|
+
IPv4 private network address.
|
|
111
111
|
"""
|
|
112
112
|
elif False:
|
|
113
113
|
LoadBalancerZoneMappingLoadBalancerAddressArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -118,8 +118,8 @@ class LoadBalancerZoneMappingLoadBalancerAddressArgs:
|
|
|
118
118
|
eni_id: Optional[pulumi.Input[str]] = None,
|
|
119
119
|
private_ipv4_address: Optional[pulumi.Input[str]] = None):
|
|
120
120
|
"""
|
|
121
|
-
:param pulumi.Input[str] eni_id: The ID of the
|
|
122
|
-
:param pulumi.Input[str] private_ipv4_address:
|
|
121
|
+
:param pulumi.Input[str] eni_id: The ID of the ENI.
|
|
122
|
+
:param pulumi.Input[str] private_ipv4_address: IPv4 private network address.
|
|
123
123
|
"""
|
|
124
124
|
if eni_id is not None:
|
|
125
125
|
pulumi.set(__self__, "eni_id", eni_id)
|
|
@@ -130,7 +130,7 @@ class LoadBalancerZoneMappingLoadBalancerAddressArgs:
|
|
|
130
130
|
@pulumi.getter(name="eniId")
|
|
131
131
|
def eni_id(self) -> Optional[pulumi.Input[str]]:
|
|
132
132
|
"""
|
|
133
|
-
The ID of the
|
|
133
|
+
The ID of the ENI.
|
|
134
134
|
"""
|
|
135
135
|
return pulumi.get(self, "eni_id")
|
|
136
136
|
|
|
@@ -142,7 +142,7 @@ class LoadBalancerZoneMappingLoadBalancerAddressArgs:
|
|
|
142
142
|
@pulumi.getter(name="privateIpv4Address")
|
|
143
143
|
def private_ipv4_address(self) -> Optional[pulumi.Input[str]]:
|
|
144
144
|
"""
|
|
145
|
-
|
|
145
|
+
IPv4 private network address.
|
|
146
146
|
"""
|
|
147
147
|
return pulumi.get(self, "private_ipv4_address")
|
|
148
148
|
|
|
@@ -155,17 +155,15 @@ if not MYPY:
|
|
|
155
155
|
class ServerGroupConnectionDrainConfigArgsDict(TypedDict):
|
|
156
156
|
connection_drain_enabled: NotRequired[pulumi.Input[bool]]
|
|
157
157
|
"""
|
|
158
|
-
|
|
158
|
+
Whether to open the connection graceful interrupt. Value:
|
|
159
159
|
"""
|
|
160
160
|
connection_drain_timeout: NotRequired[pulumi.Input[int]]
|
|
161
161
|
"""
|
|
162
|
-
|
|
162
|
+
Connection Grace interrupt timeout.
|
|
163
163
|
|
|
164
|
-
Unit: seconds
|
|
164
|
+
Unit: seconds.
|
|
165
165
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
Default value: `300`.
|
|
166
|
+
Value range: 1~3600.
|
|
169
167
|
"""
|
|
170
168
|
elif False:
|
|
171
169
|
ServerGroupConnectionDrainConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -176,14 +174,12 @@ class ServerGroupConnectionDrainConfigArgs:
|
|
|
176
174
|
connection_drain_enabled: Optional[pulumi.Input[bool]] = None,
|
|
177
175
|
connection_drain_timeout: Optional[pulumi.Input[int]] = None):
|
|
178
176
|
"""
|
|
179
|
-
:param pulumi.Input[bool] connection_drain_enabled:
|
|
180
|
-
:param pulumi.Input[int] connection_drain_timeout:
|
|
181
|
-
|
|
182
|
-
Unit: seconds
|
|
177
|
+
:param pulumi.Input[bool] connection_drain_enabled: Whether to open the connection graceful interrupt. Value:
|
|
178
|
+
:param pulumi.Input[int] connection_drain_timeout: Connection Grace interrupt timeout.
|
|
183
179
|
|
|
184
|
-
|
|
180
|
+
Unit: seconds.
|
|
185
181
|
|
|
186
|
-
|
|
182
|
+
Value range: 1~3600.
|
|
187
183
|
"""
|
|
188
184
|
if connection_drain_enabled is not None:
|
|
189
185
|
pulumi.set(__self__, "connection_drain_enabled", connection_drain_enabled)
|
|
@@ -194,7 +190,7 @@ class ServerGroupConnectionDrainConfigArgs:
|
|
|
194
190
|
@pulumi.getter(name="connectionDrainEnabled")
|
|
195
191
|
def connection_drain_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
196
192
|
"""
|
|
197
|
-
|
|
193
|
+
Whether to open the connection graceful interrupt. Value:
|
|
198
194
|
"""
|
|
199
195
|
return pulumi.get(self, "connection_drain_enabled")
|
|
200
196
|
|
|
@@ -206,13 +202,11 @@ class ServerGroupConnectionDrainConfigArgs:
|
|
|
206
202
|
@pulumi.getter(name="connectionDrainTimeout")
|
|
207
203
|
def connection_drain_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
208
204
|
"""
|
|
209
|
-
|
|
205
|
+
Connection Grace interrupt timeout.
|
|
210
206
|
|
|
211
|
-
Unit: seconds
|
|
207
|
+
Unit: seconds.
|
|
212
208
|
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
Default value: `300`.
|
|
209
|
+
Value range: 1~3600.
|
|
216
210
|
"""
|
|
217
211
|
return pulumi.get(self, "connection_drain_timeout")
|
|
218
212
|
|
|
@@ -225,76 +219,75 @@ if not MYPY:
|
|
|
225
219
|
class ServerGroupHealthCheckConfigArgsDict(TypedDict):
|
|
226
220
|
health_check_connect_port: NotRequired[pulumi.Input[int]]
|
|
227
221
|
"""
|
|
228
|
-
The
|
|
222
|
+
The port of the backend server used for health check.
|
|
229
223
|
|
|
230
|
-
|
|
224
|
+
Value range: **1 to 65535**.
|
|
231
225
|
|
|
232
226
|
Default value: `80`.
|
|
233
227
|
"""
|
|
234
228
|
health_check_connect_timeout: NotRequired[pulumi.Input[int]]
|
|
235
229
|
"""
|
|
236
|
-
The maximum timeout period
|
|
230
|
+
The maximum timeout period for health check responses.
|
|
237
231
|
|
|
238
|
-
Unit: seconds
|
|
232
|
+
Unit: seconds.
|
|
239
233
|
|
|
240
|
-
|
|
234
|
+
Value range: **1 to 300**.
|
|
241
235
|
|
|
242
236
|
Default value: `5`.
|
|
243
237
|
"""
|
|
244
238
|
health_check_domain: NotRequired[pulumi.Input[str]]
|
|
245
239
|
"""
|
|
246
|
-
The domain name
|
|
247
|
-
|
|
248
|
-
* **$SERVER_IP** (default): the private IP address of a backend server.
|
|
240
|
+
The domain name used for health checks. Value:
|
|
241
|
+
- **$SERVER_IP (default)**: Use the internal IP address of the backend server.
|
|
249
242
|
"""
|
|
250
243
|
health_check_enabled: NotRequired[pulumi.Input[bool]]
|
|
251
244
|
"""
|
|
252
|
-
|
|
245
|
+
Whether to enable health check. Value:
|
|
246
|
+
- **true (default)**: enabled.
|
|
253
247
|
"""
|
|
254
248
|
health_check_http_codes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
255
249
|
"""
|
|
256
|
-
|
|
250
|
+
Health status return code list.
|
|
257
251
|
"""
|
|
258
252
|
health_check_interval: NotRequired[pulumi.Input[int]]
|
|
259
253
|
"""
|
|
260
|
-
The interval
|
|
254
|
+
The time interval of the health check.
|
|
261
255
|
|
|
262
|
-
Unit: seconds
|
|
256
|
+
Unit: seconds.
|
|
263
257
|
|
|
264
|
-
|
|
258
|
+
Value range: **1~50**.
|
|
265
259
|
|
|
266
260
|
Default value: `10`.
|
|
267
261
|
"""
|
|
268
262
|
health_check_path: NotRequired[pulumi.Input[str]]
|
|
269
263
|
"""
|
|
270
|
-
|
|
264
|
+
Health check path.
|
|
271
265
|
|
|
272
|
-
|
|
266
|
+
It can be 1 to 80 characters in length and can only use upper and lower case letters, digits, dashes (-), forward slashes (/), half-width periods (.), percent signs (%), and half-width question marks (?), Pound sign (#) and and(&) and extended character set_;~! ()*[]@$^: ',+ =
|
|
273
267
|
|
|
274
|
-
|
|
268
|
+
Must start with a forward slash (/).
|
|
275
269
|
|
|
276
|
-
> **NOTE:** This parameter takes effect only
|
|
270
|
+
> **NOTE:** This parameter takes effect only when the HealthCheckProtocol is HTTP.
|
|
277
271
|
"""
|
|
278
272
|
health_check_protocol: NotRequired[pulumi.Input[str]]
|
|
279
273
|
"""
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
- `
|
|
283
|
-
- `HTTP`: HTTP health checks simulate a process that uses a web browser to access resources by sending HEAD or GET requests to an instance. These requests are used to check whether the instance is healthy.
|
|
274
|
+
Health check protocol, value:
|
|
275
|
+
- `TCP` (default): Sends a SYN handshake packet to check whether the server port is alive.
|
|
276
|
+
- `HTTP`: Sends a GET request to simulate the access behavior of the browser to check whether the server application is healthy.
|
|
284
277
|
"""
|
|
285
278
|
healthy_threshold: NotRequired[pulumi.Input[int]]
|
|
286
279
|
"""
|
|
287
|
-
|
|
280
|
+
After the number of consecutive successful health checks, the health check status of the backend server is determined as successful from failed.
|
|
288
281
|
|
|
289
|
-
|
|
282
|
+
Value range: **2 to 10**.
|
|
290
283
|
|
|
291
284
|
Default value: `2`.
|
|
292
285
|
"""
|
|
293
286
|
unhealthy_threshold: NotRequired[pulumi.Input[int]]
|
|
294
287
|
"""
|
|
295
|
-
The number of
|
|
288
|
+
The number of consecutive failed health checks that determine the health check status of the backend server from success to failure.
|
|
296
289
|
|
|
297
|
-
|
|
290
|
+
Value range: **2 to 10**.
|
|
298
291
|
|
|
299
292
|
Default value: `2`.
|
|
300
293
|
"""
|
|
@@ -315,49 +308,48 @@ class ServerGroupHealthCheckConfigArgs:
|
|
|
315
308
|
healthy_threshold: Optional[pulumi.Input[int]] = None,
|
|
316
309
|
unhealthy_threshold: Optional[pulumi.Input[int]] = None):
|
|
317
310
|
"""
|
|
318
|
-
:param pulumi.Input[int] health_check_connect_port: The
|
|
311
|
+
:param pulumi.Input[int] health_check_connect_port: The port of the backend server used for health check.
|
|
319
312
|
|
|
320
|
-
|
|
313
|
+
Value range: **1 to 65535**.
|
|
321
314
|
|
|
322
315
|
Default value: `80`.
|
|
323
|
-
:param pulumi.Input[int] health_check_connect_timeout: The maximum timeout period
|
|
316
|
+
:param pulumi.Input[int] health_check_connect_timeout: The maximum timeout period for health check responses.
|
|
324
317
|
|
|
325
|
-
Unit: seconds
|
|
318
|
+
Unit: seconds.
|
|
326
319
|
|
|
327
|
-
|
|
320
|
+
Value range: **1 to 300**.
|
|
328
321
|
|
|
329
322
|
Default value: `5`.
|
|
330
|
-
:param pulumi.Input[str] health_check_domain: The domain name
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] health_check_http_codes:
|
|
335
|
-
:param pulumi.Input[int] health_check_interval: The interval
|
|
323
|
+
:param pulumi.Input[str] health_check_domain: The domain name used for health checks. Value:
|
|
324
|
+
- **$SERVER_IP (default)**: Use the internal IP address of the backend server.
|
|
325
|
+
:param pulumi.Input[bool] health_check_enabled: Whether to enable health check. Value:
|
|
326
|
+
- **true (default)**: enabled.
|
|
327
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] health_check_http_codes: Health status return code list.
|
|
328
|
+
:param pulumi.Input[int] health_check_interval: The time interval of the health check.
|
|
336
329
|
|
|
337
|
-
Unit: seconds
|
|
330
|
+
Unit: seconds.
|
|
338
331
|
|
|
339
|
-
|
|
332
|
+
Value range: **1~50**.
|
|
340
333
|
|
|
341
334
|
Default value: `10`.
|
|
342
|
-
:param pulumi.Input[str] health_check_path:
|
|
335
|
+
:param pulumi.Input[str] health_check_path: Health check path.
|
|
343
336
|
|
|
344
|
-
|
|
337
|
+
It can be 1 to 80 characters in length and can only use upper and lower case letters, digits, dashes (-), forward slashes (/), half-width periods (.), percent signs (%), and half-width question marks (?), Pound sign (#) and and(&) and extended character set_;~! ()*[]@$^: ',+ =
|
|
345
338
|
|
|
346
|
-
|
|
339
|
+
Must start with a forward slash (/).
|
|
347
340
|
|
|
348
|
-
> **NOTE:** This parameter takes effect only
|
|
349
|
-
:param pulumi.Input[str] health_check_protocol:
|
|
341
|
+
> **NOTE:** This parameter takes effect only when the HealthCheckProtocol is HTTP.
|
|
342
|
+
:param pulumi.Input[str] health_check_protocol: Health check protocol, value:
|
|
343
|
+
- `TCP` (default): Sends a SYN handshake packet to check whether the server port is alive.
|
|
344
|
+
- `HTTP`: Sends a GET request to simulate the access behavior of the browser to check whether the server application is healthy.
|
|
345
|
+
:param pulumi.Input[int] healthy_threshold: After the number of consecutive successful health checks, the health check status of the backend server is determined as successful from failed.
|
|
350
346
|
|
|
351
|
-
|
|
352
|
-
- `HTTP`: HTTP health checks simulate a process that uses a web browser to access resources by sending HEAD or GET requests to an instance. These requests are used to check whether the instance is healthy.
|
|
353
|
-
:param pulumi.Input[int] healthy_threshold: The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy. In this case, the health status changes from `fail` to `success`.
|
|
354
|
-
|
|
355
|
-
Valid values: `2` to `10`.
|
|
347
|
+
Value range: **2 to 10**.
|
|
356
348
|
|
|
357
349
|
Default value: `2`.
|
|
358
|
-
:param pulumi.Input[int] unhealthy_threshold: The number of
|
|
350
|
+
:param pulumi.Input[int] unhealthy_threshold: The number of consecutive failed health checks that determine the health check status of the backend server from success to failure.
|
|
359
351
|
|
|
360
|
-
|
|
352
|
+
Value range: **2 to 10**.
|
|
361
353
|
|
|
362
354
|
Default value: `2`.
|
|
363
355
|
"""
|
|
@@ -386,9 +378,9 @@ class ServerGroupHealthCheckConfigArgs:
|
|
|
386
378
|
@pulumi.getter(name="healthCheckConnectPort")
|
|
387
379
|
def health_check_connect_port(self) -> Optional[pulumi.Input[int]]:
|
|
388
380
|
"""
|
|
389
|
-
The
|
|
381
|
+
The port of the backend server used for health check.
|
|
390
382
|
|
|
391
|
-
|
|
383
|
+
Value range: **1 to 65535**.
|
|
392
384
|
|
|
393
385
|
Default value: `80`.
|
|
394
386
|
"""
|
|
@@ -402,11 +394,11 @@ class ServerGroupHealthCheckConfigArgs:
|
|
|
402
394
|
@pulumi.getter(name="healthCheckConnectTimeout")
|
|
403
395
|
def health_check_connect_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
404
396
|
"""
|
|
405
|
-
The maximum timeout period
|
|
397
|
+
The maximum timeout period for health check responses.
|
|
406
398
|
|
|
407
|
-
Unit: seconds
|
|
399
|
+
Unit: seconds.
|
|
408
400
|
|
|
409
|
-
|
|
401
|
+
Value range: **1 to 300**.
|
|
410
402
|
|
|
411
403
|
Default value: `5`.
|
|
412
404
|
"""
|
|
@@ -420,9 +412,8 @@ class ServerGroupHealthCheckConfigArgs:
|
|
|
420
412
|
@pulumi.getter(name="healthCheckDomain")
|
|
421
413
|
def health_check_domain(self) -> Optional[pulumi.Input[str]]:
|
|
422
414
|
"""
|
|
423
|
-
The domain name
|
|
424
|
-
|
|
425
|
-
* **$SERVER_IP** (default): the private IP address of a backend server.
|
|
415
|
+
The domain name used for health checks. Value:
|
|
416
|
+
- **$SERVER_IP (default)**: Use the internal IP address of the backend server.
|
|
426
417
|
"""
|
|
427
418
|
return pulumi.get(self, "health_check_domain")
|
|
428
419
|
|
|
@@ -434,7 +425,8 @@ class ServerGroupHealthCheckConfigArgs:
|
|
|
434
425
|
@pulumi.getter(name="healthCheckEnabled")
|
|
435
426
|
def health_check_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
436
427
|
"""
|
|
437
|
-
|
|
428
|
+
Whether to enable health check. Value:
|
|
429
|
+
- **true (default)**: enabled.
|
|
438
430
|
"""
|
|
439
431
|
return pulumi.get(self, "health_check_enabled")
|
|
440
432
|
|
|
@@ -446,7 +438,7 @@ class ServerGroupHealthCheckConfigArgs:
|
|
|
446
438
|
@pulumi.getter(name="healthCheckHttpCodes")
|
|
447
439
|
def health_check_http_codes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
448
440
|
"""
|
|
449
|
-
|
|
441
|
+
Health status return code list.
|
|
450
442
|
"""
|
|
451
443
|
return pulumi.get(self, "health_check_http_codes")
|
|
452
444
|
|
|
@@ -458,11 +450,11 @@ class ServerGroupHealthCheckConfigArgs:
|
|
|
458
450
|
@pulumi.getter(name="healthCheckInterval")
|
|
459
451
|
def health_check_interval(self) -> Optional[pulumi.Input[int]]:
|
|
460
452
|
"""
|
|
461
|
-
The interval
|
|
453
|
+
The time interval of the health check.
|
|
462
454
|
|
|
463
|
-
Unit: seconds
|
|
455
|
+
Unit: seconds.
|
|
464
456
|
|
|
465
|
-
|
|
457
|
+
Value range: **1~50**.
|
|
466
458
|
|
|
467
459
|
Default value: `10`.
|
|
468
460
|
"""
|
|
@@ -476,13 +468,13 @@ class ServerGroupHealthCheckConfigArgs:
|
|
|
476
468
|
@pulumi.getter(name="healthCheckPath")
|
|
477
469
|
def health_check_path(self) -> Optional[pulumi.Input[str]]:
|
|
478
470
|
"""
|
|
479
|
-
|
|
471
|
+
Health check path.
|
|
480
472
|
|
|
481
|
-
|
|
473
|
+
It can be 1 to 80 characters in length and can only use upper and lower case letters, digits, dashes (-), forward slashes (/), half-width periods (.), percent signs (%), and half-width question marks (?), Pound sign (#) and and(&) and extended character set_;~! ()*[]@$^: ',+ =
|
|
482
474
|
|
|
483
|
-
|
|
475
|
+
Must start with a forward slash (/).
|
|
484
476
|
|
|
485
|
-
> **NOTE:** This parameter takes effect only
|
|
477
|
+
> **NOTE:** This parameter takes effect only when the HealthCheckProtocol is HTTP.
|
|
486
478
|
"""
|
|
487
479
|
return pulumi.get(self, "health_check_path")
|
|
488
480
|
|
|
@@ -494,10 +486,9 @@ class ServerGroupHealthCheckConfigArgs:
|
|
|
494
486
|
@pulumi.getter(name="healthCheckProtocol")
|
|
495
487
|
def health_check_protocol(self) -> Optional[pulumi.Input[str]]:
|
|
496
488
|
"""
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
- `
|
|
500
|
-
- `HTTP`: HTTP health checks simulate a process that uses a web browser to access resources by sending HEAD or GET requests to an instance. These requests are used to check whether the instance is healthy.
|
|
489
|
+
Health check protocol, value:
|
|
490
|
+
- `TCP` (default): Sends a SYN handshake packet to check whether the server port is alive.
|
|
491
|
+
- `HTTP`: Sends a GET request to simulate the access behavior of the browser to check whether the server application is healthy.
|
|
501
492
|
"""
|
|
502
493
|
return pulumi.get(self, "health_check_protocol")
|
|
503
494
|
|
|
@@ -509,9 +500,9 @@ class ServerGroupHealthCheckConfigArgs:
|
|
|
509
500
|
@pulumi.getter(name="healthyThreshold")
|
|
510
501
|
def healthy_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
511
502
|
"""
|
|
512
|
-
|
|
503
|
+
After the number of consecutive successful health checks, the health check status of the backend server is determined as successful from failed.
|
|
513
504
|
|
|
514
|
-
|
|
505
|
+
Value range: **2 to 10**.
|
|
515
506
|
|
|
516
507
|
Default value: `2`.
|
|
517
508
|
"""
|
|
@@ -525,9 +516,9 @@ class ServerGroupHealthCheckConfigArgs:
|
|
|
525
516
|
@pulumi.getter(name="unhealthyThreshold")
|
|
526
517
|
def unhealthy_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
527
518
|
"""
|
|
528
|
-
The number of
|
|
519
|
+
The number of consecutive failed health checks that determine the health check status of the backend server from success to failure.
|
|
529
520
|
|
|
530
|
-
|
|
521
|
+
Value range: **2 to 10**.
|
|
531
522
|
|
|
532
523
|
Default value: `2`.
|
|
533
524
|
"""
|
|
@@ -542,23 +533,19 @@ if not MYPY:
|
|
|
542
533
|
class ServerGroupServerArgsDict(TypedDict):
|
|
543
534
|
server_id: pulumi.Input[str]
|
|
544
535
|
"""
|
|
545
|
-
The backend server
|
|
546
|
-
|
|
547
|
-
- If the server group is of the `Instance` type, set this parameter to the IDs of servers of the `Ecs`, `Eni`, or `Eci` type.
|
|
548
|
-
- If the server group is of the `Ip` type, set ServerId to IP addresses.
|
|
536
|
+
The ID of the backend server.
|
|
549
537
|
"""
|
|
550
538
|
server_type: pulumi.Input[str]
|
|
551
539
|
"""
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
- `
|
|
555
|
-
- `
|
|
556
|
-
- `
|
|
557
|
-
- `Ip`: IP address
|
|
540
|
+
Backend server type. Valid values:
|
|
541
|
+
- `Ecs`: ECS instance.
|
|
542
|
+
- `Eni`: ENI instance.
|
|
543
|
+
- `Eci`: ECI elastic container.
|
|
544
|
+
- `Ip`: Ip address.
|
|
558
545
|
"""
|
|
559
546
|
port: NotRequired[pulumi.Input[int]]
|
|
560
547
|
"""
|
|
561
|
-
|
|
548
|
+
The port used by the backend server.
|
|
562
549
|
"""
|
|
563
550
|
server_group_id: NotRequired[pulumi.Input[str]]
|
|
564
551
|
"""
|
|
@@ -566,11 +553,11 @@ if not MYPY:
|
|
|
566
553
|
"""
|
|
567
554
|
server_ip: NotRequired[pulumi.Input[str]]
|
|
568
555
|
"""
|
|
569
|
-
|
|
556
|
+
Server ip.
|
|
570
557
|
"""
|
|
571
558
|
status: NotRequired[pulumi.Input[str]]
|
|
572
559
|
"""
|
|
573
|
-
|
|
560
|
+
Server group status. Value:
|
|
574
561
|
"""
|
|
575
562
|
elif False:
|
|
576
563
|
ServerGroupServerArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -585,20 +572,16 @@ class ServerGroupServerArgs:
|
|
|
585
572
|
server_ip: Optional[pulumi.Input[str]] = None,
|
|
586
573
|
status: Optional[pulumi.Input[str]] = None):
|
|
587
574
|
"""
|
|
588
|
-
:param pulumi.Input[str] server_id: The backend server
|
|
589
|
-
|
|
590
|
-
-
|
|
591
|
-
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
- `Eni`: elastic network interface (ENI)
|
|
596
|
-
- `Eci`: elastic container instance
|
|
597
|
-
- `Ip`: IP address
|
|
598
|
-
:param pulumi.Input[int] port: (Optional, Computed, Int) The port that is used by the backend server.
|
|
575
|
+
:param pulumi.Input[str] server_id: The ID of the backend server.
|
|
576
|
+
:param pulumi.Input[str] server_type: Backend server type. Valid values:
|
|
577
|
+
- `Ecs`: ECS instance.
|
|
578
|
+
- `Eni`: ENI instance.
|
|
579
|
+
- `Eci`: ECI elastic container.
|
|
580
|
+
- `Ip`: Ip address.
|
|
581
|
+
:param pulumi.Input[int] port: The port used by the backend server.
|
|
599
582
|
:param pulumi.Input[str] server_group_id: The server group ID.
|
|
600
|
-
:param pulumi.Input[str] server_ip:
|
|
601
|
-
:param pulumi.Input[str] status:
|
|
583
|
+
:param pulumi.Input[str] server_ip: Server ip.
|
|
584
|
+
:param pulumi.Input[str] status: Server group status. Value:
|
|
602
585
|
"""
|
|
603
586
|
pulumi.set(__self__, "server_id", server_id)
|
|
604
587
|
pulumi.set(__self__, "server_type", server_type)
|
|
@@ -615,10 +598,7 @@ class ServerGroupServerArgs:
|
|
|
615
598
|
@pulumi.getter(name="serverId")
|
|
616
599
|
def server_id(self) -> pulumi.Input[str]:
|
|
617
600
|
"""
|
|
618
|
-
The backend server
|
|
619
|
-
|
|
620
|
-
- If the server group is of the `Instance` type, set this parameter to the IDs of servers of the `Ecs`, `Eni`, or `Eci` type.
|
|
621
|
-
- If the server group is of the `Ip` type, set ServerId to IP addresses.
|
|
601
|
+
The ID of the backend server.
|
|
622
602
|
"""
|
|
623
603
|
return pulumi.get(self, "server_id")
|
|
624
604
|
|
|
@@ -630,12 +610,11 @@ class ServerGroupServerArgs:
|
|
|
630
610
|
@pulumi.getter(name="serverType")
|
|
631
611
|
def server_type(self) -> pulumi.Input[str]:
|
|
632
612
|
"""
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
- `
|
|
636
|
-
- `
|
|
637
|
-
- `
|
|
638
|
-
- `Ip`: IP address
|
|
613
|
+
Backend server type. Valid values:
|
|
614
|
+
- `Ecs`: ECS instance.
|
|
615
|
+
- `Eni`: ENI instance.
|
|
616
|
+
- `Eci`: ECI elastic container.
|
|
617
|
+
- `Ip`: Ip address.
|
|
639
618
|
"""
|
|
640
619
|
return pulumi.get(self, "server_type")
|
|
641
620
|
|
|
@@ -647,7 +626,7 @@ class ServerGroupServerArgs:
|
|
|
647
626
|
@pulumi.getter
|
|
648
627
|
def port(self) -> Optional[pulumi.Input[int]]:
|
|
649
628
|
"""
|
|
650
|
-
|
|
629
|
+
The port used by the backend server.
|
|
651
630
|
"""
|
|
652
631
|
return pulumi.get(self, "port")
|
|
653
632
|
|
|
@@ -671,7 +650,7 @@ class ServerGroupServerArgs:
|
|
|
671
650
|
@pulumi.getter(name="serverIp")
|
|
672
651
|
def server_ip(self) -> Optional[pulumi.Input[str]]:
|
|
673
652
|
"""
|
|
674
|
-
|
|
653
|
+
Server ip.
|
|
675
654
|
"""
|
|
676
655
|
return pulumi.get(self, "server_ip")
|
|
677
656
|
|
|
@@ -683,7 +662,7 @@ class ServerGroupServerArgs:
|
|
|
683
662
|
@pulumi.getter
|
|
684
663
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
685
664
|
"""
|
|
686
|
-
|
|
665
|
+
Server group status. Value:
|
|
687
666
|
"""
|
|
688
667
|
return pulumi.get(self, "status")
|
|
689
668
|
|