pulumi-alicloud 3.65.1a1731504533__py3-none-any.whl → 3.66.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-alicloud might be problematic. Click here for more details.

Files changed (44) hide show
  1. pulumi_alicloud/__init__.py +94 -0
  2. pulumi_alicloud/alikafka/instance.py +112 -0
  3. pulumi_alicloud/cloudsso/_inputs.py +9 -9
  4. pulumi_alicloud/cloudsso/access_configuration.py +100 -34
  5. pulumi_alicloud/cloudsso/outputs.py +6 -6
  6. pulumi_alicloud/esa/__init__.py +9 -0
  7. pulumi_alicloud/esa/rate_plan_instance.py +626 -0
  8. pulumi_alicloud/esa/site.py +533 -0
  9. pulumi_alicloud/fc/_inputs.py +243 -135
  10. pulumi_alicloud/fc/outputs.py +173 -90
  11. pulumi_alicloud/fc/v3_alias.py +28 -0
  12. pulumi_alicloud/fc/v3_async_invoke_config.py +56 -0
  13. pulumi_alicloud/fc/v3_concurrency_config.py +28 -0
  14. pulumi_alicloud/fc/v3_custom_domain.py +118 -6
  15. pulumi_alicloud/fc/v3_function.py +308 -0
  16. pulumi_alicloud/fc/v3_function_version.py +30 -2
  17. pulumi_alicloud/fc/v3_layer_version.py +104 -1
  18. pulumi_alicloud/fc/v3_provision_config.py +86 -2
  19. pulumi_alicloud/fc/v3_trigger.py +114 -0
  20. pulumi_alicloud/gwlb/__init__.py +12 -0
  21. pulumi_alicloud/gwlb/_inputs.py +673 -0
  22. pulumi_alicloud/gwlb/listener.py +434 -0
  23. pulumi_alicloud/gwlb/load_balancer.py +537 -0
  24. pulumi_alicloud/gwlb/outputs.py +533 -0
  25. pulumi_alicloud/gwlb/server_group.py +780 -0
  26. pulumi_alicloud/oss/__init__.py +2 -0
  27. pulumi_alicloud/oss/_inputs.py +194 -0
  28. pulumi_alicloud/oss/bucket_cname.py +509 -0
  29. pulumi_alicloud/oss/bucket_cname_token.py +239 -0
  30. pulumi_alicloud/oss/outputs.py +141 -0
  31. pulumi_alicloud/pulumi-plugin.json +1 -1
  32. pulumi_alicloud/quotas/_inputs.py +6 -6
  33. pulumi_alicloud/quotas/outputs.py +4 -4
  34. pulumi_alicloud/quotas/quota_application.py +21 -28
  35. pulumi_alicloud/redis/tair_instance.py +21 -77
  36. pulumi_alicloud/vpc/__init__.py +4 -0
  37. pulumi_alicloud/vpc/ipam_ipam.py +531 -0
  38. pulumi_alicloud/vpc/ipam_ipam_pool.py +850 -0
  39. pulumi_alicloud/vpc/ipam_ipam_pool_cidr.py +313 -0
  40. pulumi_alicloud/vpc/ipam_ipam_scope.py +537 -0
  41. {pulumi_alicloud-3.65.1a1731504533.dist-info → pulumi_alicloud-3.66.0.dist-info}/METADATA +1 -1
  42. {pulumi_alicloud-3.65.1a1731504533.dist-info → pulumi_alicloud-3.66.0.dist-info}/RECORD +44 -29
  43. {pulumi_alicloud-3.65.1a1731504533.dist-info → pulumi_alicloud-3.66.0.dist-info}/WHEEL +0 -0
  44. {pulumi_alicloud-3.65.1a1731504533.dist-info → pulumi_alicloud-3.66.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,673 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+
17
+ __all__ = [
18
+ 'LoadBalancerZoneMappingArgs',
19
+ 'LoadBalancerZoneMappingArgsDict',
20
+ 'LoadBalancerZoneMappingLoadBalancerAddressArgs',
21
+ 'LoadBalancerZoneMappingLoadBalancerAddressArgsDict',
22
+ 'ServerGroupConnectionDrainConfigArgs',
23
+ 'ServerGroupConnectionDrainConfigArgsDict',
24
+ 'ServerGroupHealthCheckConfigArgs',
25
+ 'ServerGroupHealthCheckConfigArgsDict',
26
+ 'ServerGroupServerArgs',
27
+ 'ServerGroupServerArgsDict',
28
+ ]
29
+
30
+ MYPY = False
31
+
32
+ if not MYPY:
33
+ class LoadBalancerZoneMappingArgsDict(TypedDict):
34
+ vswitch_id: pulumi.Input[str]
35
+ """
36
+ The ID of the vSwitch that corresponds to the zone. Each zone can use only one vSwitch and subnet.
37
+ """
38
+ zone_id: pulumi.Input[str]
39
+ """
40
+ The ID of the zone to which the Gateway Load Balancer instance belongs.
41
+ """
42
+ load_balancer_addresses: NotRequired[pulumi.Input[Sequence[pulumi.Input['LoadBalancerZoneMappingLoadBalancerAddressArgsDict']]]]
43
+ """
44
+ The addresses of the Gateway Load Balancer instance.
45
+ """
46
+ elif False:
47
+ LoadBalancerZoneMappingArgsDict: TypeAlias = Mapping[str, Any]
48
+
49
+ @pulumi.input_type
50
+ class LoadBalancerZoneMappingArgs:
51
+ def __init__(__self__, *,
52
+ vswitch_id: pulumi.Input[str],
53
+ zone_id: pulumi.Input[str],
54
+ load_balancer_addresses: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerZoneMappingLoadBalancerAddressArgs']]]] = None):
55
+ """
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
+ """
60
+ pulumi.set(__self__, "vswitch_id", vswitch_id)
61
+ pulumi.set(__self__, "zone_id", zone_id)
62
+ if load_balancer_addresses is not None:
63
+ pulumi.set(__self__, "load_balancer_addresses", load_balancer_addresses)
64
+
65
+ @property
66
+ @pulumi.getter(name="vswitchId")
67
+ def vswitch_id(self) -> pulumi.Input[str]:
68
+ """
69
+ The ID of the vSwitch that corresponds to the zone. Each zone can use only one vSwitch and subnet.
70
+ """
71
+ return pulumi.get(self, "vswitch_id")
72
+
73
+ @vswitch_id.setter
74
+ def vswitch_id(self, value: pulumi.Input[str]):
75
+ pulumi.set(self, "vswitch_id", value)
76
+
77
+ @property
78
+ @pulumi.getter(name="zoneId")
79
+ def zone_id(self) -> pulumi.Input[str]:
80
+ """
81
+ The ID of the zone to which the Gateway Load Balancer instance belongs.
82
+ """
83
+ return pulumi.get(self, "zone_id")
84
+
85
+ @zone_id.setter
86
+ def zone_id(self, value: pulumi.Input[str]):
87
+ pulumi.set(self, "zone_id", value)
88
+
89
+ @property
90
+ @pulumi.getter(name="loadBalancerAddresses")
91
+ def load_balancer_addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerZoneMappingLoadBalancerAddressArgs']]]]:
92
+ """
93
+ The addresses of the Gateway Load Balancer instance.
94
+ """
95
+ return pulumi.get(self, "load_balancer_addresses")
96
+
97
+ @load_balancer_addresses.setter
98
+ def load_balancer_addresses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerZoneMappingLoadBalancerAddressArgs']]]]):
99
+ pulumi.set(self, "load_balancer_addresses", value)
100
+
101
+
102
+ if not MYPY:
103
+ class LoadBalancerZoneMappingLoadBalancerAddressArgsDict(TypedDict):
104
+ eni_id: NotRequired[pulumi.Input[str]]
105
+ """
106
+ The ID of the ENI.
107
+ """
108
+ private_ipv4_address: NotRequired[pulumi.Input[str]]
109
+ """
110
+ IPv4 private network address.
111
+ """
112
+ elif False:
113
+ LoadBalancerZoneMappingLoadBalancerAddressArgsDict: TypeAlias = Mapping[str, Any]
114
+
115
+ @pulumi.input_type
116
+ class LoadBalancerZoneMappingLoadBalancerAddressArgs:
117
+ def __init__(__self__, *,
118
+ eni_id: Optional[pulumi.Input[str]] = None,
119
+ private_ipv4_address: Optional[pulumi.Input[str]] = None):
120
+ """
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
+ """
124
+ if eni_id is not None:
125
+ pulumi.set(__self__, "eni_id", eni_id)
126
+ if private_ipv4_address is not None:
127
+ pulumi.set(__self__, "private_ipv4_address", private_ipv4_address)
128
+
129
+ @property
130
+ @pulumi.getter(name="eniId")
131
+ def eni_id(self) -> Optional[pulumi.Input[str]]:
132
+ """
133
+ The ID of the ENI.
134
+ """
135
+ return pulumi.get(self, "eni_id")
136
+
137
+ @eni_id.setter
138
+ def eni_id(self, value: Optional[pulumi.Input[str]]):
139
+ pulumi.set(self, "eni_id", value)
140
+
141
+ @property
142
+ @pulumi.getter(name="privateIpv4Address")
143
+ def private_ipv4_address(self) -> Optional[pulumi.Input[str]]:
144
+ """
145
+ IPv4 private network address.
146
+ """
147
+ return pulumi.get(self, "private_ipv4_address")
148
+
149
+ @private_ipv4_address.setter
150
+ def private_ipv4_address(self, value: Optional[pulumi.Input[str]]):
151
+ pulumi.set(self, "private_ipv4_address", value)
152
+
153
+
154
+ if not MYPY:
155
+ class ServerGroupConnectionDrainConfigArgsDict(TypedDict):
156
+ connection_drain_enabled: NotRequired[pulumi.Input[bool]]
157
+ """
158
+ Whether to open the connection graceful interrupt. Value:
159
+ """
160
+ connection_drain_timeout: NotRequired[pulumi.Input[int]]
161
+ """
162
+ Connection Grace interrupt timeout.
163
+
164
+ Unit: seconds.
165
+
166
+ Value range: 1~3600.
167
+ """
168
+ elif False:
169
+ ServerGroupConnectionDrainConfigArgsDict: TypeAlias = Mapping[str, Any]
170
+
171
+ @pulumi.input_type
172
+ class ServerGroupConnectionDrainConfigArgs:
173
+ def __init__(__self__, *,
174
+ connection_drain_enabled: Optional[pulumi.Input[bool]] = None,
175
+ connection_drain_timeout: Optional[pulumi.Input[int]] = None):
176
+ """
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.
179
+
180
+ Unit: seconds.
181
+
182
+ Value range: 1~3600.
183
+ """
184
+ if connection_drain_enabled is not None:
185
+ pulumi.set(__self__, "connection_drain_enabled", connection_drain_enabled)
186
+ if connection_drain_timeout is not None:
187
+ pulumi.set(__self__, "connection_drain_timeout", connection_drain_timeout)
188
+
189
+ @property
190
+ @pulumi.getter(name="connectionDrainEnabled")
191
+ def connection_drain_enabled(self) -> Optional[pulumi.Input[bool]]:
192
+ """
193
+ Whether to open the connection graceful interrupt. Value:
194
+ """
195
+ return pulumi.get(self, "connection_drain_enabled")
196
+
197
+ @connection_drain_enabled.setter
198
+ def connection_drain_enabled(self, value: Optional[pulumi.Input[bool]]):
199
+ pulumi.set(self, "connection_drain_enabled", value)
200
+
201
+ @property
202
+ @pulumi.getter(name="connectionDrainTimeout")
203
+ def connection_drain_timeout(self) -> Optional[pulumi.Input[int]]:
204
+ """
205
+ Connection Grace interrupt timeout.
206
+
207
+ Unit: seconds.
208
+
209
+ Value range: 1~3600.
210
+ """
211
+ return pulumi.get(self, "connection_drain_timeout")
212
+
213
+ @connection_drain_timeout.setter
214
+ def connection_drain_timeout(self, value: Optional[pulumi.Input[int]]):
215
+ pulumi.set(self, "connection_drain_timeout", value)
216
+
217
+
218
+ if not MYPY:
219
+ class ServerGroupHealthCheckConfigArgsDict(TypedDict):
220
+ health_check_connect_port: NotRequired[pulumi.Input[int]]
221
+ """
222
+ The port of the backend server used for health check.
223
+
224
+ Value range: **1 to 65535**.
225
+
226
+ Default value: `80`.
227
+ """
228
+ health_check_connect_timeout: NotRequired[pulumi.Input[int]]
229
+ """
230
+ The maximum timeout period for health check responses.
231
+
232
+ Unit: seconds.
233
+
234
+ Value range: **1 to 300**.
235
+
236
+ Default value: `5`.
237
+ """
238
+ health_check_domain: NotRequired[pulumi.Input[str]]
239
+ """
240
+ The domain name used for health checks. Value:
241
+ - **$SERVER_IP (default)**: Use the internal IP address of the backend server.
242
+ """
243
+ health_check_enabled: NotRequired[pulumi.Input[bool]]
244
+ """
245
+ Whether to enable health check. Value:
246
+ - **true (default)**: enabled.
247
+ """
248
+ health_check_http_codes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
249
+ """
250
+ Health status return code list.
251
+ """
252
+ health_check_interval: NotRequired[pulumi.Input[int]]
253
+ """
254
+ The time interval of the health check.
255
+
256
+ Unit: seconds.
257
+
258
+ Value range: **1~50**.
259
+
260
+ Default value: `10`.
261
+ """
262
+ health_check_path: NotRequired[pulumi.Input[str]]
263
+ """
264
+ Health check path.
265
+
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_;~! ()*[]@$^: ',+ =
267
+
268
+ Must start with a forward slash (/).
269
+
270
+ > **NOTE:** This parameter takes effect only when the HealthCheckProtocol is HTTP.
271
+ """
272
+ health_check_protocol: NotRequired[pulumi.Input[str]]
273
+ """
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.
277
+ """
278
+ healthy_threshold: NotRequired[pulumi.Input[int]]
279
+ """
280
+ After the number of consecutive successful health checks, the health check status of the backend server is determined as successful from failed.
281
+
282
+ Value range: **2 to 10**.
283
+
284
+ Default value: `2`.
285
+ """
286
+ unhealthy_threshold: NotRequired[pulumi.Input[int]]
287
+ """
288
+ The number of consecutive failed health checks that determine the health check status of the backend server from success to failure.
289
+
290
+ Value range: **2 to 10**.
291
+
292
+ Default value: `2`.
293
+ """
294
+ elif False:
295
+ ServerGroupHealthCheckConfigArgsDict: TypeAlias = Mapping[str, Any]
296
+
297
+ @pulumi.input_type
298
+ class ServerGroupHealthCheckConfigArgs:
299
+ def __init__(__self__, *,
300
+ health_check_connect_port: Optional[pulumi.Input[int]] = None,
301
+ health_check_connect_timeout: Optional[pulumi.Input[int]] = None,
302
+ health_check_domain: Optional[pulumi.Input[str]] = None,
303
+ health_check_enabled: Optional[pulumi.Input[bool]] = None,
304
+ health_check_http_codes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
305
+ health_check_interval: Optional[pulumi.Input[int]] = None,
306
+ health_check_path: Optional[pulumi.Input[str]] = None,
307
+ health_check_protocol: Optional[pulumi.Input[str]] = None,
308
+ healthy_threshold: Optional[pulumi.Input[int]] = None,
309
+ unhealthy_threshold: Optional[pulumi.Input[int]] = None):
310
+ """
311
+ :param pulumi.Input[int] health_check_connect_port: The port of the backend server used for health check.
312
+
313
+ Value range: **1 to 65535**.
314
+
315
+ Default value: `80`.
316
+ :param pulumi.Input[int] health_check_connect_timeout: The maximum timeout period for health check responses.
317
+
318
+ Unit: seconds.
319
+
320
+ Value range: **1 to 300**.
321
+
322
+ Default value: `5`.
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.
329
+
330
+ Unit: seconds.
331
+
332
+ Value range: **1~50**.
333
+
334
+ Default value: `10`.
335
+ :param pulumi.Input[str] health_check_path: Health check path.
336
+
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_;~! ()*[]@$^: ',+ =
338
+
339
+ Must start with a forward slash (/).
340
+
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.
346
+
347
+ Value range: **2 to 10**.
348
+
349
+ Default value: `2`.
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.
351
+
352
+ Value range: **2 to 10**.
353
+
354
+ Default value: `2`.
355
+ """
356
+ if health_check_connect_port is not None:
357
+ pulumi.set(__self__, "health_check_connect_port", health_check_connect_port)
358
+ if health_check_connect_timeout is not None:
359
+ pulumi.set(__self__, "health_check_connect_timeout", health_check_connect_timeout)
360
+ if health_check_domain is not None:
361
+ pulumi.set(__self__, "health_check_domain", health_check_domain)
362
+ if health_check_enabled is not None:
363
+ pulumi.set(__self__, "health_check_enabled", health_check_enabled)
364
+ if health_check_http_codes is not None:
365
+ pulumi.set(__self__, "health_check_http_codes", health_check_http_codes)
366
+ if health_check_interval is not None:
367
+ pulumi.set(__self__, "health_check_interval", health_check_interval)
368
+ if health_check_path is not None:
369
+ pulumi.set(__self__, "health_check_path", health_check_path)
370
+ if health_check_protocol is not None:
371
+ pulumi.set(__self__, "health_check_protocol", health_check_protocol)
372
+ if healthy_threshold is not None:
373
+ pulumi.set(__self__, "healthy_threshold", healthy_threshold)
374
+ if unhealthy_threshold is not None:
375
+ pulumi.set(__self__, "unhealthy_threshold", unhealthy_threshold)
376
+
377
+ @property
378
+ @pulumi.getter(name="healthCheckConnectPort")
379
+ def health_check_connect_port(self) -> Optional[pulumi.Input[int]]:
380
+ """
381
+ The port of the backend server used for health check.
382
+
383
+ Value range: **1 to 65535**.
384
+
385
+ Default value: `80`.
386
+ """
387
+ return pulumi.get(self, "health_check_connect_port")
388
+
389
+ @health_check_connect_port.setter
390
+ def health_check_connect_port(self, value: Optional[pulumi.Input[int]]):
391
+ pulumi.set(self, "health_check_connect_port", value)
392
+
393
+ @property
394
+ @pulumi.getter(name="healthCheckConnectTimeout")
395
+ def health_check_connect_timeout(self) -> Optional[pulumi.Input[int]]:
396
+ """
397
+ The maximum timeout period for health check responses.
398
+
399
+ Unit: seconds.
400
+
401
+ Value range: **1 to 300**.
402
+
403
+ Default value: `5`.
404
+ """
405
+ return pulumi.get(self, "health_check_connect_timeout")
406
+
407
+ @health_check_connect_timeout.setter
408
+ def health_check_connect_timeout(self, value: Optional[pulumi.Input[int]]):
409
+ pulumi.set(self, "health_check_connect_timeout", value)
410
+
411
+ @property
412
+ @pulumi.getter(name="healthCheckDomain")
413
+ def health_check_domain(self) -> Optional[pulumi.Input[str]]:
414
+ """
415
+ The domain name used for health checks. Value:
416
+ - **$SERVER_IP (default)**: Use the internal IP address of the backend server.
417
+ """
418
+ return pulumi.get(self, "health_check_domain")
419
+
420
+ @health_check_domain.setter
421
+ def health_check_domain(self, value: Optional[pulumi.Input[str]]):
422
+ pulumi.set(self, "health_check_domain", value)
423
+
424
+ @property
425
+ @pulumi.getter(name="healthCheckEnabled")
426
+ def health_check_enabled(self) -> Optional[pulumi.Input[bool]]:
427
+ """
428
+ Whether to enable health check. Value:
429
+ - **true (default)**: enabled.
430
+ """
431
+ return pulumi.get(self, "health_check_enabled")
432
+
433
+ @health_check_enabled.setter
434
+ def health_check_enabled(self, value: Optional[pulumi.Input[bool]]):
435
+ pulumi.set(self, "health_check_enabled", value)
436
+
437
+ @property
438
+ @pulumi.getter(name="healthCheckHttpCodes")
439
+ def health_check_http_codes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
440
+ """
441
+ Health status return code list.
442
+ """
443
+ return pulumi.get(self, "health_check_http_codes")
444
+
445
+ @health_check_http_codes.setter
446
+ def health_check_http_codes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
447
+ pulumi.set(self, "health_check_http_codes", value)
448
+
449
+ @property
450
+ @pulumi.getter(name="healthCheckInterval")
451
+ def health_check_interval(self) -> Optional[pulumi.Input[int]]:
452
+ """
453
+ The time interval of the health check.
454
+
455
+ Unit: seconds.
456
+
457
+ Value range: **1~50**.
458
+
459
+ Default value: `10`.
460
+ """
461
+ return pulumi.get(self, "health_check_interval")
462
+
463
+ @health_check_interval.setter
464
+ def health_check_interval(self, value: Optional[pulumi.Input[int]]):
465
+ pulumi.set(self, "health_check_interval", value)
466
+
467
+ @property
468
+ @pulumi.getter(name="healthCheckPath")
469
+ def health_check_path(self) -> Optional[pulumi.Input[str]]:
470
+ """
471
+ Health check path.
472
+
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_;~! ()*[]@$^: ',+ =
474
+
475
+ Must start with a forward slash (/).
476
+
477
+ > **NOTE:** This parameter takes effect only when the HealthCheckProtocol is HTTP.
478
+ """
479
+ return pulumi.get(self, "health_check_path")
480
+
481
+ @health_check_path.setter
482
+ def health_check_path(self, value: Optional[pulumi.Input[str]]):
483
+ pulumi.set(self, "health_check_path", value)
484
+
485
+ @property
486
+ @pulumi.getter(name="healthCheckProtocol")
487
+ def health_check_protocol(self) -> Optional[pulumi.Input[str]]:
488
+ """
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.
492
+ """
493
+ return pulumi.get(self, "health_check_protocol")
494
+
495
+ @health_check_protocol.setter
496
+ def health_check_protocol(self, value: Optional[pulumi.Input[str]]):
497
+ pulumi.set(self, "health_check_protocol", value)
498
+
499
+ @property
500
+ @pulumi.getter(name="healthyThreshold")
501
+ def healthy_threshold(self) -> Optional[pulumi.Input[int]]:
502
+ """
503
+ After the number of consecutive successful health checks, the health check status of the backend server is determined as successful from failed.
504
+
505
+ Value range: **2 to 10**.
506
+
507
+ Default value: `2`.
508
+ """
509
+ return pulumi.get(self, "healthy_threshold")
510
+
511
+ @healthy_threshold.setter
512
+ def healthy_threshold(self, value: Optional[pulumi.Input[int]]):
513
+ pulumi.set(self, "healthy_threshold", value)
514
+
515
+ @property
516
+ @pulumi.getter(name="unhealthyThreshold")
517
+ def unhealthy_threshold(self) -> Optional[pulumi.Input[int]]:
518
+ """
519
+ The number of consecutive failed health checks that determine the health check status of the backend server from success to failure.
520
+
521
+ Value range: **2 to 10**.
522
+
523
+ Default value: `2`.
524
+ """
525
+ return pulumi.get(self, "unhealthy_threshold")
526
+
527
+ @unhealthy_threshold.setter
528
+ def unhealthy_threshold(self, value: Optional[pulumi.Input[int]]):
529
+ pulumi.set(self, "unhealthy_threshold", value)
530
+
531
+
532
+ if not MYPY:
533
+ class ServerGroupServerArgsDict(TypedDict):
534
+ server_id: pulumi.Input[str]
535
+ """
536
+ The ID of the backend server.
537
+ """
538
+ server_type: pulumi.Input[str]
539
+ """
540
+ Backend server type. Valid values:
541
+ - `Ecs`: ECS instance.
542
+ - `Eni`: ENI instance.
543
+ - `Eci`: ECI elastic container.
544
+ - `Ip`: Ip address.
545
+ """
546
+ port: NotRequired[pulumi.Input[int]]
547
+ """
548
+ The port used by the backend server.
549
+ """
550
+ server_group_id: NotRequired[pulumi.Input[str]]
551
+ """
552
+ The server group ID.
553
+ """
554
+ server_ip: NotRequired[pulumi.Input[str]]
555
+ """
556
+ Server ip.
557
+ """
558
+ status: NotRequired[pulumi.Input[str]]
559
+ """
560
+ Server group status. Value:
561
+ """
562
+ elif False:
563
+ ServerGroupServerArgsDict: TypeAlias = Mapping[str, Any]
564
+
565
+ @pulumi.input_type
566
+ class ServerGroupServerArgs:
567
+ def __init__(__self__, *,
568
+ server_id: pulumi.Input[str],
569
+ server_type: pulumi.Input[str],
570
+ port: Optional[pulumi.Input[int]] = None,
571
+ server_group_id: Optional[pulumi.Input[str]] = None,
572
+ server_ip: Optional[pulumi.Input[str]] = None,
573
+ status: Optional[pulumi.Input[str]] = None):
574
+ """
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.
582
+ :param pulumi.Input[str] server_group_id: The server group ID.
583
+ :param pulumi.Input[str] server_ip: Server ip.
584
+ :param pulumi.Input[str] status: Server group status. Value:
585
+ """
586
+ pulumi.set(__self__, "server_id", server_id)
587
+ pulumi.set(__self__, "server_type", server_type)
588
+ if port is not None:
589
+ pulumi.set(__self__, "port", port)
590
+ if server_group_id is not None:
591
+ pulumi.set(__self__, "server_group_id", server_group_id)
592
+ if server_ip is not None:
593
+ pulumi.set(__self__, "server_ip", server_ip)
594
+ if status is not None:
595
+ pulumi.set(__self__, "status", status)
596
+
597
+ @property
598
+ @pulumi.getter(name="serverId")
599
+ def server_id(self) -> pulumi.Input[str]:
600
+ """
601
+ The ID of the backend server.
602
+ """
603
+ return pulumi.get(self, "server_id")
604
+
605
+ @server_id.setter
606
+ def server_id(self, value: pulumi.Input[str]):
607
+ pulumi.set(self, "server_id", value)
608
+
609
+ @property
610
+ @pulumi.getter(name="serverType")
611
+ def server_type(self) -> pulumi.Input[str]:
612
+ """
613
+ Backend server type. Valid values:
614
+ - `Ecs`: ECS instance.
615
+ - `Eni`: ENI instance.
616
+ - `Eci`: ECI elastic container.
617
+ - `Ip`: Ip address.
618
+ """
619
+ return pulumi.get(self, "server_type")
620
+
621
+ @server_type.setter
622
+ def server_type(self, value: pulumi.Input[str]):
623
+ pulumi.set(self, "server_type", value)
624
+
625
+ @property
626
+ @pulumi.getter
627
+ def port(self) -> Optional[pulumi.Input[int]]:
628
+ """
629
+ The port used by the backend server.
630
+ """
631
+ return pulumi.get(self, "port")
632
+
633
+ @port.setter
634
+ def port(self, value: Optional[pulumi.Input[int]]):
635
+ pulumi.set(self, "port", value)
636
+
637
+ @property
638
+ @pulumi.getter(name="serverGroupId")
639
+ def server_group_id(self) -> Optional[pulumi.Input[str]]:
640
+ """
641
+ The server group ID.
642
+ """
643
+ return pulumi.get(self, "server_group_id")
644
+
645
+ @server_group_id.setter
646
+ def server_group_id(self, value: Optional[pulumi.Input[str]]):
647
+ pulumi.set(self, "server_group_id", value)
648
+
649
+ @property
650
+ @pulumi.getter(name="serverIp")
651
+ def server_ip(self) -> Optional[pulumi.Input[str]]:
652
+ """
653
+ Server ip.
654
+ """
655
+ return pulumi.get(self, "server_ip")
656
+
657
+ @server_ip.setter
658
+ def server_ip(self, value: Optional[pulumi.Input[str]]):
659
+ pulumi.set(self, "server_ip", value)
660
+
661
+ @property
662
+ @pulumi.getter
663
+ def status(self) -> Optional[pulumi.Input[str]]:
664
+ """
665
+ Server group status. Value:
666
+ """
667
+ return pulumi.get(self, "status")
668
+
669
+ @status.setter
670
+ def status(self, value: Optional[pulumi.Input[str]]):
671
+ pulumi.set(self, "status", value)
672
+
673
+