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