pulumi-alicloud 3.63.0a1726291447__py3-none-any.whl → 3.63.0a1726828180__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/amqp/binding.py +30 -36
- pulumi_alicloud/cen/_inputs.py +180 -14
- pulumi_alicloud/cen/outputs.py +173 -12
- pulumi_alicloud/cen/traffic_marking_policy.py +116 -53
- pulumi_alicloud/cen/transit_router_vpc_attachment.py +338 -119
- pulumi_alicloud/cr/chart_namespace.py +14 -6
- pulumi_alicloud/cr/endpoint_acl_policy.py +10 -2
- pulumi_alicloud/cr/namespace.py +10 -2
- pulumi_alicloud/cs/registry_enterprise_sync_rule.py +10 -10
- pulumi_alicloud/ddos/bgp_ip.py +1 -1
- pulumi_alicloud/ecs/_inputs.py +28 -0
- pulumi_alicloud/ecs/outputs.py +20 -0
- pulumi_alicloud/emrv2/_inputs.py +12 -12
- pulumi_alicloud/emrv2/outputs.py +12 -12
- pulumi_alicloud/ens/_inputs.py +50 -2
- pulumi_alicloud/ens/instance.py +428 -184
- pulumi_alicloud/ens/outputs.py +57 -2
- pulumi_alicloud/expressconnect/physical_connection.py +321 -185
- pulumi_alicloud/fc/trigger.py +22 -24
- pulumi_alicloud/ga/endpoint_group.py +68 -14
- pulumi_alicloud/mongodb/instance.py +94 -0
- pulumi_alicloud/nlb/_inputs.py +120 -64
- pulumi_alicloud/nlb/get_listeners.py +32 -2
- pulumi_alicloud/nlb/get_server_group_server_attachments.py +8 -2
- pulumi_alicloud/nlb/listener.py +315 -245
- pulumi_alicloud/nlb/listener_additional_certificate_attachment.py +25 -25
- pulumi_alicloud/nlb/load_balancer.py +181 -212
- pulumi_alicloud/nlb/load_balancer_security_group_attachment.py +29 -39
- pulumi_alicloud/nlb/loadbalancer_common_bandwidth_package_attachment.py +22 -18
- pulumi_alicloud/nlb/outputs.py +122 -66
- pulumi_alicloud/nlb/security_policy.py +53 -25
- pulumi_alicloud/nlb/server_group.py +196 -133
- pulumi_alicloud/ocean/base_instance.py +498 -163
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/servicemesh/extension_provider.py +2 -2
- pulumi_alicloud/vpc/common_bandwith_package_attachment.py +2 -2
- {pulumi_alicloud-3.63.0a1726291447.dist-info → pulumi_alicloud-3.63.0a1726828180.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.63.0a1726291447.dist-info → pulumi_alicloud-3.63.0a1726828180.dist-info}/RECORD +40 -40
- {pulumi_alicloud-3.63.0a1726291447.dist-info → pulumi_alicloud-3.63.0a1726828180.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.63.0a1726291447.dist-info → pulumi_alicloud-3.63.0a1726828180.dist-info}/top_level.txt +0 -0
|
@@ -32,28 +32,37 @@ class ServerGroupArgs:
|
|
|
32
32
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
|
33
33
|
"""
|
|
34
34
|
The set of arguments for constructing a ServerGroup resource.
|
|
35
|
-
:param pulumi.Input[str] server_group_name: The name of the server group.
|
|
36
|
-
|
|
35
|
+
:param pulumi.Input[str] server_group_name: The new name of the server group.
|
|
36
|
+
|
|
37
|
+
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.
|
|
38
|
+
:param pulumi.Input[str] vpc_id: The ID of the virtual private cloud (VPC) to which the server group belongs.
|
|
39
|
+
|
|
40
|
+
> **NOTE:** If `ServerGroupType` is set to `Instance`, only servers in the specified VPC can be added to the server group.
|
|
41
|
+
|
|
37
42
|
|
|
38
43
|
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
39
|
-
:param pulumi.Input[str] address_ip_version: The protocol version. Valid values:
|
|
40
|
-
:param pulumi.Input[bool] any_port_enabled:
|
|
41
|
-
:param pulumi.Input[bool] connection_drain: . Field 'connection_drain' has been deprecated from provider version 1.
|
|
42
|
-
:param pulumi.Input[bool] connection_drain_enabled: Specifies whether to enable connection draining.
|
|
43
|
-
:param pulumi.Input[int] connection_drain_timeout:
|
|
44
|
+
:param pulumi.Input[str] address_ip_version: The protocol version. Valid values:
|
|
45
|
+
:param pulumi.Input[bool] any_port_enabled: Specifies whether to enable all-port forwarding. Valid values:
|
|
46
|
+
:param pulumi.Input[bool] connection_drain: . Field 'connection_drain' has been deprecated from provider version 1.231.0. New field 'connection_drain_enabled' instead.
|
|
47
|
+
:param pulumi.Input[bool] connection_drain_enabled: Specifies whether to enable connection draining. Valid values:
|
|
48
|
+
:param pulumi.Input[int] connection_drain_timeout: The timeout period of connection draining. Unit: seconds. Valid values: `10` to `900`.
|
|
44
49
|
:param pulumi.Input['ServerGroupHealthCheckArgs'] health_check: Health check configuration information. See `health_check` below.
|
|
45
|
-
:param pulumi.Input[bool] preserve_client_ip_enabled:
|
|
46
|
-
:param pulumi.Input[str] protocol: The backend
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
- `
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
-
|
|
56
|
-
-
|
|
50
|
+
:param pulumi.Input[bool] preserve_client_ip_enabled: Specifies whether to enable client IP preservation. Valid values:
|
|
51
|
+
:param pulumi.Input[str] protocol: The protocol used to forward requests to the backend servers. Valid values:
|
|
52
|
+
- `TCP` (default)
|
|
53
|
+
- `UDP`
|
|
54
|
+
- `TCPSSL`
|
|
55
|
+
:param pulumi.Input[str] resource_group_id: The ID of the new resource group.
|
|
56
|
+
|
|
57
|
+
You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
|
|
58
|
+
:param pulumi.Input[str] scheduler: The scheduling algorithm. Valid values:
|
|
59
|
+
- **Wrr:** The weighted round-robin algorithm is used. Backend servers with higher weights receive more requests than backend servers with lower weights. This is the default value.
|
|
60
|
+
- **rr:** The round-robin algorithm is used. Requests are forwarded to backend servers in sequence.
|
|
61
|
+
- **sch:** Source IP hashing is used. Requests from the same source IP address are forwarded to the same backend server.
|
|
62
|
+
- **tch:** Four-element hashing is used. It specifies consistent hashing that is based on four factors: source IP address, destination IP address, source port, and destination port. Requests that contain the same information based on the four factors are forwarded to the same backend server.
|
|
63
|
+
:param pulumi.Input[str] server_group_type: The type of server group. Valid values:
|
|
64
|
+
- `Instance`: allows you to add servers of the `Ecs`, `Eni`, or `Eci` type. This is the default value.
|
|
65
|
+
- `Ip`: allows you to add servers by specifying IP addresses.
|
|
57
66
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Label.
|
|
58
67
|
"""
|
|
59
68
|
pulumi.set(__self__, "server_group_name", server_group_name)
|
|
@@ -90,7 +99,9 @@ class ServerGroupArgs:
|
|
|
90
99
|
@pulumi.getter(name="serverGroupName")
|
|
91
100
|
def server_group_name(self) -> pulumi.Input[str]:
|
|
92
101
|
"""
|
|
93
|
-
The name of the server group.
|
|
102
|
+
The new name of the server group.
|
|
103
|
+
|
|
104
|
+
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.
|
|
94
105
|
"""
|
|
95
106
|
return pulumi.get(self, "server_group_name")
|
|
96
107
|
|
|
@@ -102,7 +113,10 @@ class ServerGroupArgs:
|
|
|
102
113
|
@pulumi.getter(name="vpcId")
|
|
103
114
|
def vpc_id(self) -> pulumi.Input[str]:
|
|
104
115
|
"""
|
|
105
|
-
The ID of the VPC to which the server group belongs.
|
|
116
|
+
The ID of the virtual private cloud (VPC) to which the server group belongs.
|
|
117
|
+
|
|
118
|
+
> **NOTE:** If `ServerGroupType` is set to `Instance`, only servers in the specified VPC can be added to the server group.
|
|
119
|
+
|
|
106
120
|
|
|
107
121
|
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
108
122
|
"""
|
|
@@ -116,7 +130,7 @@ class ServerGroupArgs:
|
|
|
116
130
|
@pulumi.getter(name="addressIpVersion")
|
|
117
131
|
def address_ip_version(self) -> Optional[pulumi.Input[str]]:
|
|
118
132
|
"""
|
|
119
|
-
The protocol version. Valid values:
|
|
133
|
+
The protocol version. Valid values:
|
|
120
134
|
"""
|
|
121
135
|
return pulumi.get(self, "address_ip_version")
|
|
122
136
|
|
|
@@ -128,7 +142,7 @@ class ServerGroupArgs:
|
|
|
128
142
|
@pulumi.getter(name="anyPortEnabled")
|
|
129
143
|
def any_port_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
130
144
|
"""
|
|
131
|
-
|
|
145
|
+
Specifies whether to enable all-port forwarding. Valid values:
|
|
132
146
|
"""
|
|
133
147
|
return pulumi.get(self, "any_port_enabled")
|
|
134
148
|
|
|
@@ -141,7 +155,7 @@ class ServerGroupArgs:
|
|
|
141
155
|
@_utilities.deprecated("""Field 'connection_drain' has been deprecated since provider version 1.214.0. New field 'connection_drain_enabled' instead.""")
|
|
142
156
|
def connection_drain(self) -> Optional[pulumi.Input[bool]]:
|
|
143
157
|
"""
|
|
144
|
-
. Field 'connection_drain' has been deprecated from provider version 1.
|
|
158
|
+
. Field 'connection_drain' has been deprecated from provider version 1.231.0. New field 'connection_drain_enabled' instead.
|
|
145
159
|
"""
|
|
146
160
|
return pulumi.get(self, "connection_drain")
|
|
147
161
|
|
|
@@ -153,7 +167,7 @@ class ServerGroupArgs:
|
|
|
153
167
|
@pulumi.getter(name="connectionDrainEnabled")
|
|
154
168
|
def connection_drain_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
155
169
|
"""
|
|
156
|
-
Specifies whether to enable connection draining.
|
|
170
|
+
Specifies whether to enable connection draining. Valid values:
|
|
157
171
|
"""
|
|
158
172
|
return pulumi.get(self, "connection_drain_enabled")
|
|
159
173
|
|
|
@@ -165,7 +179,7 @@ class ServerGroupArgs:
|
|
|
165
179
|
@pulumi.getter(name="connectionDrainTimeout")
|
|
166
180
|
def connection_drain_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
167
181
|
"""
|
|
168
|
-
|
|
182
|
+
The timeout period of connection draining. Unit: seconds. Valid values: `10` to `900`.
|
|
169
183
|
"""
|
|
170
184
|
return pulumi.get(self, "connection_drain_timeout")
|
|
171
185
|
|
|
@@ -189,7 +203,7 @@ class ServerGroupArgs:
|
|
|
189
203
|
@pulumi.getter(name="preserveClientIpEnabled")
|
|
190
204
|
def preserve_client_ip_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
191
205
|
"""
|
|
192
|
-
|
|
206
|
+
Specifies whether to enable client IP preservation. Valid values:
|
|
193
207
|
"""
|
|
194
208
|
return pulumi.get(self, "preserve_client_ip_enabled")
|
|
195
209
|
|
|
@@ -201,7 +215,10 @@ class ServerGroupArgs:
|
|
|
201
215
|
@pulumi.getter
|
|
202
216
|
def protocol(self) -> Optional[pulumi.Input[str]]:
|
|
203
217
|
"""
|
|
204
|
-
The backend
|
|
218
|
+
The protocol used to forward requests to the backend servers. Valid values:
|
|
219
|
+
- `TCP` (default)
|
|
220
|
+
- `UDP`
|
|
221
|
+
- `TCPSSL`
|
|
205
222
|
"""
|
|
206
223
|
return pulumi.get(self, "protocol")
|
|
207
224
|
|
|
@@ -213,7 +230,9 @@ class ServerGroupArgs:
|
|
|
213
230
|
@pulumi.getter(name="resourceGroupId")
|
|
214
231
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
215
232
|
"""
|
|
216
|
-
The ID of the resource group
|
|
233
|
+
The ID of the new resource group.
|
|
234
|
+
|
|
235
|
+
You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
|
|
217
236
|
"""
|
|
218
237
|
return pulumi.get(self, "resource_group_id")
|
|
219
238
|
|
|
@@ -225,12 +244,11 @@ class ServerGroupArgs:
|
|
|
225
244
|
@pulumi.getter
|
|
226
245
|
def scheduler(self) -> Optional[pulumi.Input[str]]:
|
|
227
246
|
"""
|
|
228
|
-
The
|
|
229
|
-
-
|
|
230
|
-
-
|
|
231
|
-
-
|
|
232
|
-
-
|
|
233
|
-
- `Qch`: QUIC ID hashing is used. Requests that contain the same QUIC ID are forwarded to the same backend server.
|
|
247
|
+
The scheduling algorithm. Valid values:
|
|
248
|
+
- **Wrr:** The weighted round-robin algorithm is used. Backend servers with higher weights receive more requests than backend servers with lower weights. This is the default value.
|
|
249
|
+
- **rr:** The round-robin algorithm is used. Requests are forwarded to backend servers in sequence.
|
|
250
|
+
- **sch:** Source IP hashing is used. Requests from the same source IP address are forwarded to the same backend server.
|
|
251
|
+
- **tch:** Four-element hashing is used. It specifies consistent hashing that is based on four factors: source IP address, destination IP address, source port, and destination port. Requests that contain the same information based on the four factors are forwarded to the same backend server.
|
|
234
252
|
"""
|
|
235
253
|
return pulumi.get(self, "scheduler")
|
|
236
254
|
|
|
@@ -242,9 +260,9 @@ class ServerGroupArgs:
|
|
|
242
260
|
@pulumi.getter(name="serverGroupType")
|
|
243
261
|
def server_group_type(self) -> Optional[pulumi.Input[str]]:
|
|
244
262
|
"""
|
|
245
|
-
The type of
|
|
246
|
-
- `Instance
|
|
247
|
-
- `Ip`: allows you to
|
|
263
|
+
The type of server group. Valid values:
|
|
264
|
+
- `Instance`: allows you to add servers of the `Ecs`, `Eni`, or `Eci` type. This is the default value.
|
|
265
|
+
- `Ip`: allows you to add servers by specifying IP addresses.
|
|
248
266
|
"""
|
|
249
267
|
return pulumi.get(self, "server_group_type")
|
|
250
268
|
|
|
@@ -285,28 +303,37 @@ class _ServerGroupState:
|
|
|
285
303
|
vpc_id: Optional[pulumi.Input[str]] = None):
|
|
286
304
|
"""
|
|
287
305
|
Input properties used for looking up and filtering ServerGroup resources.
|
|
288
|
-
:param pulumi.Input[str] address_ip_version: The protocol version. Valid values:
|
|
289
|
-
:param pulumi.Input[bool] any_port_enabled:
|
|
290
|
-
:param pulumi.Input[bool] connection_drain: . Field 'connection_drain' has been deprecated from provider version 1.
|
|
291
|
-
:param pulumi.Input[bool] connection_drain_enabled: Specifies whether to enable connection draining.
|
|
292
|
-
:param pulumi.Input[int] connection_drain_timeout:
|
|
306
|
+
:param pulumi.Input[str] address_ip_version: The protocol version. Valid values:
|
|
307
|
+
:param pulumi.Input[bool] any_port_enabled: Specifies whether to enable all-port forwarding. Valid values:
|
|
308
|
+
:param pulumi.Input[bool] connection_drain: . Field 'connection_drain' has been deprecated from provider version 1.231.0. New field 'connection_drain_enabled' instead.
|
|
309
|
+
:param pulumi.Input[bool] connection_drain_enabled: Specifies whether to enable connection draining. Valid values:
|
|
310
|
+
:param pulumi.Input[int] connection_drain_timeout: The timeout period of connection draining. Unit: seconds. Valid values: `10` to `900`.
|
|
293
311
|
:param pulumi.Input['ServerGroupHealthCheckArgs'] health_check: Health check configuration information. See `health_check` below.
|
|
294
|
-
:param pulumi.Input[bool] preserve_client_ip_enabled:
|
|
295
|
-
:param pulumi.Input[str] protocol: The backend
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
- `
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
-
|
|
306
|
-
-
|
|
312
|
+
:param pulumi.Input[bool] preserve_client_ip_enabled: Specifies whether to enable client IP preservation. Valid values:
|
|
313
|
+
:param pulumi.Input[str] protocol: The protocol used to forward requests to the backend servers. Valid values:
|
|
314
|
+
- `TCP` (default)
|
|
315
|
+
- `UDP`
|
|
316
|
+
- `TCPSSL`
|
|
317
|
+
:param pulumi.Input[str] resource_group_id: The ID of the new resource group.
|
|
318
|
+
|
|
319
|
+
You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
|
|
320
|
+
:param pulumi.Input[str] scheduler: The scheduling algorithm. Valid values:
|
|
321
|
+
- **Wrr:** The weighted round-robin algorithm is used. Backend servers with higher weights receive more requests than backend servers with lower weights. This is the default value.
|
|
322
|
+
- **rr:** The round-robin algorithm is used. Requests are forwarded to backend servers in sequence.
|
|
323
|
+
- **sch:** Source IP hashing is used. Requests from the same source IP address are forwarded to the same backend server.
|
|
324
|
+
- **tch:** Four-element hashing is used. It specifies consistent hashing that is based on four factors: source IP address, destination IP address, source port, and destination port. Requests that contain the same information based on the four factors are forwarded to the same backend server.
|
|
325
|
+
:param pulumi.Input[str] server_group_name: The new name of the server group.
|
|
326
|
+
|
|
327
|
+
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.
|
|
328
|
+
:param pulumi.Input[str] server_group_type: The type of server group. Valid values:
|
|
329
|
+
- `Instance`: allows you to add servers of the `Ecs`, `Eni`, or `Eci` type. This is the default value.
|
|
330
|
+
- `Ip`: allows you to add servers by specifying IP addresses.
|
|
307
331
|
:param pulumi.Input[str] status: Server group status. Value:
|
|
308
332
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Label.
|
|
309
|
-
:param pulumi.Input[str] vpc_id: The ID of the VPC to which the server group belongs.
|
|
333
|
+
:param pulumi.Input[str] vpc_id: The ID of the virtual private cloud (VPC) to which the server group belongs.
|
|
334
|
+
|
|
335
|
+
> **NOTE:** If `ServerGroupType` is set to `Instance`, only servers in the specified VPC can be added to the server group.
|
|
336
|
+
|
|
310
337
|
|
|
311
338
|
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
312
339
|
"""
|
|
@@ -348,7 +375,7 @@ class _ServerGroupState:
|
|
|
348
375
|
@pulumi.getter(name="addressIpVersion")
|
|
349
376
|
def address_ip_version(self) -> Optional[pulumi.Input[str]]:
|
|
350
377
|
"""
|
|
351
|
-
The protocol version. Valid values:
|
|
378
|
+
The protocol version. Valid values:
|
|
352
379
|
"""
|
|
353
380
|
return pulumi.get(self, "address_ip_version")
|
|
354
381
|
|
|
@@ -360,7 +387,7 @@ class _ServerGroupState:
|
|
|
360
387
|
@pulumi.getter(name="anyPortEnabled")
|
|
361
388
|
def any_port_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
362
389
|
"""
|
|
363
|
-
|
|
390
|
+
Specifies whether to enable all-port forwarding. Valid values:
|
|
364
391
|
"""
|
|
365
392
|
return pulumi.get(self, "any_port_enabled")
|
|
366
393
|
|
|
@@ -373,7 +400,7 @@ class _ServerGroupState:
|
|
|
373
400
|
@_utilities.deprecated("""Field 'connection_drain' has been deprecated since provider version 1.214.0. New field 'connection_drain_enabled' instead.""")
|
|
374
401
|
def connection_drain(self) -> Optional[pulumi.Input[bool]]:
|
|
375
402
|
"""
|
|
376
|
-
. Field 'connection_drain' has been deprecated from provider version 1.
|
|
403
|
+
. Field 'connection_drain' has been deprecated from provider version 1.231.0. New field 'connection_drain_enabled' instead.
|
|
377
404
|
"""
|
|
378
405
|
return pulumi.get(self, "connection_drain")
|
|
379
406
|
|
|
@@ -385,7 +412,7 @@ class _ServerGroupState:
|
|
|
385
412
|
@pulumi.getter(name="connectionDrainEnabled")
|
|
386
413
|
def connection_drain_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
387
414
|
"""
|
|
388
|
-
Specifies whether to enable connection draining.
|
|
415
|
+
Specifies whether to enable connection draining. Valid values:
|
|
389
416
|
"""
|
|
390
417
|
return pulumi.get(self, "connection_drain_enabled")
|
|
391
418
|
|
|
@@ -397,7 +424,7 @@ class _ServerGroupState:
|
|
|
397
424
|
@pulumi.getter(name="connectionDrainTimeout")
|
|
398
425
|
def connection_drain_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
399
426
|
"""
|
|
400
|
-
|
|
427
|
+
The timeout period of connection draining. Unit: seconds. Valid values: `10` to `900`.
|
|
401
428
|
"""
|
|
402
429
|
return pulumi.get(self, "connection_drain_timeout")
|
|
403
430
|
|
|
@@ -421,7 +448,7 @@ class _ServerGroupState:
|
|
|
421
448
|
@pulumi.getter(name="preserveClientIpEnabled")
|
|
422
449
|
def preserve_client_ip_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
423
450
|
"""
|
|
424
|
-
|
|
451
|
+
Specifies whether to enable client IP preservation. Valid values:
|
|
425
452
|
"""
|
|
426
453
|
return pulumi.get(self, "preserve_client_ip_enabled")
|
|
427
454
|
|
|
@@ -433,7 +460,10 @@ class _ServerGroupState:
|
|
|
433
460
|
@pulumi.getter
|
|
434
461
|
def protocol(self) -> Optional[pulumi.Input[str]]:
|
|
435
462
|
"""
|
|
436
|
-
The backend
|
|
463
|
+
The protocol used to forward requests to the backend servers. Valid values:
|
|
464
|
+
- `TCP` (default)
|
|
465
|
+
- `UDP`
|
|
466
|
+
- `TCPSSL`
|
|
437
467
|
"""
|
|
438
468
|
return pulumi.get(self, "protocol")
|
|
439
469
|
|
|
@@ -445,7 +475,9 @@ class _ServerGroupState:
|
|
|
445
475
|
@pulumi.getter(name="resourceGroupId")
|
|
446
476
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
447
477
|
"""
|
|
448
|
-
The ID of the resource group
|
|
478
|
+
The ID of the new resource group.
|
|
479
|
+
|
|
480
|
+
You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
|
|
449
481
|
"""
|
|
450
482
|
return pulumi.get(self, "resource_group_id")
|
|
451
483
|
|
|
@@ -457,12 +489,11 @@ class _ServerGroupState:
|
|
|
457
489
|
@pulumi.getter
|
|
458
490
|
def scheduler(self) -> Optional[pulumi.Input[str]]:
|
|
459
491
|
"""
|
|
460
|
-
The
|
|
461
|
-
-
|
|
462
|
-
-
|
|
463
|
-
-
|
|
464
|
-
-
|
|
465
|
-
- `Qch`: QUIC ID hashing is used. Requests that contain the same QUIC ID are forwarded to the same backend server.
|
|
492
|
+
The scheduling algorithm. Valid values:
|
|
493
|
+
- **Wrr:** The weighted round-robin algorithm is used. Backend servers with higher weights receive more requests than backend servers with lower weights. This is the default value.
|
|
494
|
+
- **rr:** The round-robin algorithm is used. Requests are forwarded to backend servers in sequence.
|
|
495
|
+
- **sch:** Source IP hashing is used. Requests from the same source IP address are forwarded to the same backend server.
|
|
496
|
+
- **tch:** Four-element hashing is used. It specifies consistent hashing that is based on four factors: source IP address, destination IP address, source port, and destination port. Requests that contain the same information based on the four factors are forwarded to the same backend server.
|
|
466
497
|
"""
|
|
467
498
|
return pulumi.get(self, "scheduler")
|
|
468
499
|
|
|
@@ -474,7 +505,9 @@ class _ServerGroupState:
|
|
|
474
505
|
@pulumi.getter(name="serverGroupName")
|
|
475
506
|
def server_group_name(self) -> Optional[pulumi.Input[str]]:
|
|
476
507
|
"""
|
|
477
|
-
The name of the server group.
|
|
508
|
+
The new name of the server group.
|
|
509
|
+
|
|
510
|
+
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.
|
|
478
511
|
"""
|
|
479
512
|
return pulumi.get(self, "server_group_name")
|
|
480
513
|
|
|
@@ -486,9 +519,9 @@ class _ServerGroupState:
|
|
|
486
519
|
@pulumi.getter(name="serverGroupType")
|
|
487
520
|
def server_group_type(self) -> Optional[pulumi.Input[str]]:
|
|
488
521
|
"""
|
|
489
|
-
The type of
|
|
490
|
-
- `Instance
|
|
491
|
-
- `Ip`: allows you to
|
|
522
|
+
The type of server group. Valid values:
|
|
523
|
+
- `Instance`: allows you to add servers of the `Ecs`, `Eni`, or `Eci` type. This is the default value.
|
|
524
|
+
- `Ip`: allows you to add servers by specifying IP addresses.
|
|
492
525
|
"""
|
|
493
526
|
return pulumi.get(self, "server_group_type")
|
|
494
527
|
|
|
@@ -524,7 +557,10 @@ class _ServerGroupState:
|
|
|
524
557
|
@pulumi.getter(name="vpcId")
|
|
525
558
|
def vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
526
559
|
"""
|
|
527
|
-
The ID of the VPC to which the server group belongs.
|
|
560
|
+
The ID of the virtual private cloud (VPC) to which the server group belongs.
|
|
561
|
+
|
|
562
|
+
> **NOTE:** If `ServerGroupType` is set to `Instance`, only servers in the specified VPC can be added to the server group.
|
|
563
|
+
|
|
528
564
|
|
|
529
565
|
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
530
566
|
"""
|
|
@@ -619,27 +655,36 @@ class ServerGroup(pulumi.CustomResource):
|
|
|
619
655
|
|
|
620
656
|
:param str resource_name: The name of the resource.
|
|
621
657
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
622
|
-
:param pulumi.Input[str] address_ip_version: The protocol version. Valid values:
|
|
623
|
-
:param pulumi.Input[bool] any_port_enabled:
|
|
624
|
-
:param pulumi.Input[bool] connection_drain: . Field 'connection_drain' has been deprecated from provider version 1.
|
|
625
|
-
:param pulumi.Input[bool] connection_drain_enabled: Specifies whether to enable connection draining.
|
|
626
|
-
:param pulumi.Input[int] connection_drain_timeout:
|
|
658
|
+
:param pulumi.Input[str] address_ip_version: The protocol version. Valid values:
|
|
659
|
+
:param pulumi.Input[bool] any_port_enabled: Specifies whether to enable all-port forwarding. Valid values:
|
|
660
|
+
:param pulumi.Input[bool] connection_drain: . Field 'connection_drain' has been deprecated from provider version 1.231.0. New field 'connection_drain_enabled' instead.
|
|
661
|
+
:param pulumi.Input[bool] connection_drain_enabled: Specifies whether to enable connection draining. Valid values:
|
|
662
|
+
:param pulumi.Input[int] connection_drain_timeout: The timeout period of connection draining. Unit: seconds. Valid values: `10` to `900`.
|
|
627
663
|
:param pulumi.Input[Union['ServerGroupHealthCheckArgs', 'ServerGroupHealthCheckArgsDict']] health_check: Health check configuration information. See `health_check` below.
|
|
628
|
-
:param pulumi.Input[bool] preserve_client_ip_enabled:
|
|
629
|
-
:param pulumi.Input[str] protocol: The backend
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
- `
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
-
|
|
640
|
-
-
|
|
664
|
+
:param pulumi.Input[bool] preserve_client_ip_enabled: Specifies whether to enable client IP preservation. Valid values:
|
|
665
|
+
:param pulumi.Input[str] protocol: The protocol used to forward requests to the backend servers. Valid values:
|
|
666
|
+
- `TCP` (default)
|
|
667
|
+
- `UDP`
|
|
668
|
+
- `TCPSSL`
|
|
669
|
+
:param pulumi.Input[str] resource_group_id: The ID of the new resource group.
|
|
670
|
+
|
|
671
|
+
You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
|
|
672
|
+
:param pulumi.Input[str] scheduler: The scheduling algorithm. Valid values:
|
|
673
|
+
- **Wrr:** The weighted round-robin algorithm is used. Backend servers with higher weights receive more requests than backend servers with lower weights. This is the default value.
|
|
674
|
+
- **rr:** The round-robin algorithm is used. Requests are forwarded to backend servers in sequence.
|
|
675
|
+
- **sch:** Source IP hashing is used. Requests from the same source IP address are forwarded to the same backend server.
|
|
676
|
+
- **tch:** Four-element hashing is used. It specifies consistent hashing that is based on four factors: source IP address, destination IP address, source port, and destination port. Requests that contain the same information based on the four factors are forwarded to the same backend server.
|
|
677
|
+
:param pulumi.Input[str] server_group_name: The new name of the server group.
|
|
678
|
+
|
|
679
|
+
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.
|
|
680
|
+
:param pulumi.Input[str] server_group_type: The type of server group. Valid values:
|
|
681
|
+
- `Instance`: allows you to add servers of the `Ecs`, `Eni`, or `Eci` type. This is the default value.
|
|
682
|
+
- `Ip`: allows you to add servers by specifying IP addresses.
|
|
641
683
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Label.
|
|
642
|
-
:param pulumi.Input[str] vpc_id: The ID of the VPC to which the server group belongs.
|
|
684
|
+
:param pulumi.Input[str] vpc_id: The ID of the virtual private cloud (VPC) to which the server group belongs.
|
|
685
|
+
|
|
686
|
+
> **NOTE:** If `ServerGroupType` is set to `Instance`, only servers in the specified VPC can be added to the server group.
|
|
687
|
+
|
|
643
688
|
|
|
644
689
|
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
645
690
|
"""
|
|
@@ -800,28 +845,37 @@ class ServerGroup(pulumi.CustomResource):
|
|
|
800
845
|
:param str resource_name: The unique name of the resulting resource.
|
|
801
846
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
802
847
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
803
|
-
:param pulumi.Input[str] address_ip_version: The protocol version. Valid values:
|
|
804
|
-
:param pulumi.Input[bool] any_port_enabled:
|
|
805
|
-
:param pulumi.Input[bool] connection_drain: . Field 'connection_drain' has been deprecated from provider version 1.
|
|
806
|
-
:param pulumi.Input[bool] connection_drain_enabled: Specifies whether to enable connection draining.
|
|
807
|
-
:param pulumi.Input[int] connection_drain_timeout:
|
|
848
|
+
:param pulumi.Input[str] address_ip_version: The protocol version. Valid values:
|
|
849
|
+
:param pulumi.Input[bool] any_port_enabled: Specifies whether to enable all-port forwarding. Valid values:
|
|
850
|
+
:param pulumi.Input[bool] connection_drain: . Field 'connection_drain' has been deprecated from provider version 1.231.0. New field 'connection_drain_enabled' instead.
|
|
851
|
+
:param pulumi.Input[bool] connection_drain_enabled: Specifies whether to enable connection draining. Valid values:
|
|
852
|
+
:param pulumi.Input[int] connection_drain_timeout: The timeout period of connection draining. Unit: seconds. Valid values: `10` to `900`.
|
|
808
853
|
:param pulumi.Input[Union['ServerGroupHealthCheckArgs', 'ServerGroupHealthCheckArgsDict']] health_check: Health check configuration information. See `health_check` below.
|
|
809
|
-
:param pulumi.Input[bool] preserve_client_ip_enabled:
|
|
810
|
-
:param pulumi.Input[str] protocol: The backend
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
- `
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
-
|
|
821
|
-
-
|
|
854
|
+
:param pulumi.Input[bool] preserve_client_ip_enabled: Specifies whether to enable client IP preservation. Valid values:
|
|
855
|
+
:param pulumi.Input[str] protocol: The protocol used to forward requests to the backend servers. Valid values:
|
|
856
|
+
- `TCP` (default)
|
|
857
|
+
- `UDP`
|
|
858
|
+
- `TCPSSL`
|
|
859
|
+
:param pulumi.Input[str] resource_group_id: The ID of the new resource group.
|
|
860
|
+
|
|
861
|
+
You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
|
|
862
|
+
:param pulumi.Input[str] scheduler: The scheduling algorithm. Valid values:
|
|
863
|
+
- **Wrr:** The weighted round-robin algorithm is used. Backend servers with higher weights receive more requests than backend servers with lower weights. This is the default value.
|
|
864
|
+
- **rr:** The round-robin algorithm is used. Requests are forwarded to backend servers in sequence.
|
|
865
|
+
- **sch:** Source IP hashing is used. Requests from the same source IP address are forwarded to the same backend server.
|
|
866
|
+
- **tch:** Four-element hashing is used. It specifies consistent hashing that is based on four factors: source IP address, destination IP address, source port, and destination port. Requests that contain the same information based on the four factors are forwarded to the same backend server.
|
|
867
|
+
:param pulumi.Input[str] server_group_name: The new name of the server group.
|
|
868
|
+
|
|
869
|
+
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.
|
|
870
|
+
:param pulumi.Input[str] server_group_type: The type of server group. Valid values:
|
|
871
|
+
- `Instance`: allows you to add servers of the `Ecs`, `Eni`, or `Eci` type. This is the default value.
|
|
872
|
+
- `Ip`: allows you to add servers by specifying IP addresses.
|
|
822
873
|
:param pulumi.Input[str] status: Server group status. Value:
|
|
823
874
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Label.
|
|
824
|
-
:param pulumi.Input[str] vpc_id: The ID of the VPC to which the server group belongs.
|
|
875
|
+
:param pulumi.Input[str] vpc_id: The ID of the virtual private cloud (VPC) to which the server group belongs.
|
|
876
|
+
|
|
877
|
+
> **NOTE:** If `ServerGroupType` is set to `Instance`, only servers in the specified VPC can be added to the server group.
|
|
878
|
+
|
|
825
879
|
|
|
826
880
|
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
827
881
|
"""
|
|
@@ -850,7 +904,7 @@ class ServerGroup(pulumi.CustomResource):
|
|
|
850
904
|
@pulumi.getter(name="addressIpVersion")
|
|
851
905
|
def address_ip_version(self) -> pulumi.Output[str]:
|
|
852
906
|
"""
|
|
853
|
-
The protocol version. Valid values:
|
|
907
|
+
The protocol version. Valid values:
|
|
854
908
|
"""
|
|
855
909
|
return pulumi.get(self, "address_ip_version")
|
|
856
910
|
|
|
@@ -858,7 +912,7 @@ class ServerGroup(pulumi.CustomResource):
|
|
|
858
912
|
@pulumi.getter(name="anyPortEnabled")
|
|
859
913
|
def any_port_enabled(self) -> pulumi.Output[bool]:
|
|
860
914
|
"""
|
|
861
|
-
|
|
915
|
+
Specifies whether to enable all-port forwarding. Valid values:
|
|
862
916
|
"""
|
|
863
917
|
return pulumi.get(self, "any_port_enabled")
|
|
864
918
|
|
|
@@ -867,7 +921,7 @@ class ServerGroup(pulumi.CustomResource):
|
|
|
867
921
|
@_utilities.deprecated("""Field 'connection_drain' has been deprecated since provider version 1.214.0. New field 'connection_drain_enabled' instead.""")
|
|
868
922
|
def connection_drain(self) -> pulumi.Output[bool]:
|
|
869
923
|
"""
|
|
870
|
-
. Field 'connection_drain' has been deprecated from provider version 1.
|
|
924
|
+
. Field 'connection_drain' has been deprecated from provider version 1.231.0. New field 'connection_drain_enabled' instead.
|
|
871
925
|
"""
|
|
872
926
|
return pulumi.get(self, "connection_drain")
|
|
873
927
|
|
|
@@ -875,7 +929,7 @@ class ServerGroup(pulumi.CustomResource):
|
|
|
875
929
|
@pulumi.getter(name="connectionDrainEnabled")
|
|
876
930
|
def connection_drain_enabled(self) -> pulumi.Output[bool]:
|
|
877
931
|
"""
|
|
878
|
-
Specifies whether to enable connection draining.
|
|
932
|
+
Specifies whether to enable connection draining. Valid values:
|
|
879
933
|
"""
|
|
880
934
|
return pulumi.get(self, "connection_drain_enabled")
|
|
881
935
|
|
|
@@ -883,7 +937,7 @@ class ServerGroup(pulumi.CustomResource):
|
|
|
883
937
|
@pulumi.getter(name="connectionDrainTimeout")
|
|
884
938
|
def connection_drain_timeout(self) -> pulumi.Output[int]:
|
|
885
939
|
"""
|
|
886
|
-
|
|
940
|
+
The timeout period of connection draining. Unit: seconds. Valid values: `10` to `900`.
|
|
887
941
|
"""
|
|
888
942
|
return pulumi.get(self, "connection_drain_timeout")
|
|
889
943
|
|
|
@@ -899,7 +953,7 @@ class ServerGroup(pulumi.CustomResource):
|
|
|
899
953
|
@pulumi.getter(name="preserveClientIpEnabled")
|
|
900
954
|
def preserve_client_ip_enabled(self) -> pulumi.Output[bool]:
|
|
901
955
|
"""
|
|
902
|
-
|
|
956
|
+
Specifies whether to enable client IP preservation. Valid values:
|
|
903
957
|
"""
|
|
904
958
|
return pulumi.get(self, "preserve_client_ip_enabled")
|
|
905
959
|
|
|
@@ -907,7 +961,10 @@ class ServerGroup(pulumi.CustomResource):
|
|
|
907
961
|
@pulumi.getter
|
|
908
962
|
def protocol(self) -> pulumi.Output[str]:
|
|
909
963
|
"""
|
|
910
|
-
The backend
|
|
964
|
+
The protocol used to forward requests to the backend servers. Valid values:
|
|
965
|
+
- `TCP` (default)
|
|
966
|
+
- `UDP`
|
|
967
|
+
- `TCPSSL`
|
|
911
968
|
"""
|
|
912
969
|
return pulumi.get(self, "protocol")
|
|
913
970
|
|
|
@@ -915,7 +972,9 @@ class ServerGroup(pulumi.CustomResource):
|
|
|
915
972
|
@pulumi.getter(name="resourceGroupId")
|
|
916
973
|
def resource_group_id(self) -> pulumi.Output[str]:
|
|
917
974
|
"""
|
|
918
|
-
The ID of the resource group
|
|
975
|
+
The ID of the new resource group.
|
|
976
|
+
|
|
977
|
+
You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
|
|
919
978
|
"""
|
|
920
979
|
return pulumi.get(self, "resource_group_id")
|
|
921
980
|
|
|
@@ -923,12 +982,11 @@ class ServerGroup(pulumi.CustomResource):
|
|
|
923
982
|
@pulumi.getter
|
|
924
983
|
def scheduler(self) -> pulumi.Output[str]:
|
|
925
984
|
"""
|
|
926
|
-
The
|
|
927
|
-
-
|
|
928
|
-
-
|
|
929
|
-
-
|
|
930
|
-
-
|
|
931
|
-
- `Qch`: QUIC ID hashing is used. Requests that contain the same QUIC ID are forwarded to the same backend server.
|
|
985
|
+
The scheduling algorithm. Valid values:
|
|
986
|
+
- **Wrr:** The weighted round-robin algorithm is used. Backend servers with higher weights receive more requests than backend servers with lower weights. This is the default value.
|
|
987
|
+
- **rr:** The round-robin algorithm is used. Requests are forwarded to backend servers in sequence.
|
|
988
|
+
- **sch:** Source IP hashing is used. Requests from the same source IP address are forwarded to the same backend server.
|
|
989
|
+
- **tch:** Four-element hashing is used. It specifies consistent hashing that is based on four factors: source IP address, destination IP address, source port, and destination port. Requests that contain the same information based on the four factors are forwarded to the same backend server.
|
|
932
990
|
"""
|
|
933
991
|
return pulumi.get(self, "scheduler")
|
|
934
992
|
|
|
@@ -936,7 +994,9 @@ class ServerGroup(pulumi.CustomResource):
|
|
|
936
994
|
@pulumi.getter(name="serverGroupName")
|
|
937
995
|
def server_group_name(self) -> pulumi.Output[str]:
|
|
938
996
|
"""
|
|
939
|
-
The name of the server group.
|
|
997
|
+
The new name of the server group.
|
|
998
|
+
|
|
999
|
+
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.
|
|
940
1000
|
"""
|
|
941
1001
|
return pulumi.get(self, "server_group_name")
|
|
942
1002
|
|
|
@@ -944,9 +1004,9 @@ class ServerGroup(pulumi.CustomResource):
|
|
|
944
1004
|
@pulumi.getter(name="serverGroupType")
|
|
945
1005
|
def server_group_type(self) -> pulumi.Output[str]:
|
|
946
1006
|
"""
|
|
947
|
-
The type of
|
|
948
|
-
- `Instance
|
|
949
|
-
- `Ip`: allows you to
|
|
1007
|
+
The type of server group. Valid values:
|
|
1008
|
+
- `Instance`: allows you to add servers of the `Ecs`, `Eni`, or `Eci` type. This is the default value.
|
|
1009
|
+
- `Ip`: allows you to add servers by specifying IP addresses.
|
|
950
1010
|
"""
|
|
951
1011
|
return pulumi.get(self, "server_group_type")
|
|
952
1012
|
|
|
@@ -970,7 +1030,10 @@ class ServerGroup(pulumi.CustomResource):
|
|
|
970
1030
|
@pulumi.getter(name="vpcId")
|
|
971
1031
|
def vpc_id(self) -> pulumi.Output[str]:
|
|
972
1032
|
"""
|
|
973
|
-
The ID of the VPC to which the server group belongs.
|
|
1033
|
+
The ID of the virtual private cloud (VPC) to which the server group belongs.
|
|
1034
|
+
|
|
1035
|
+
> **NOTE:** If `ServerGroupType` is set to `Instance`, only servers in the specified VPC can be added to the server group.
|
|
1036
|
+
|
|
974
1037
|
|
|
975
1038
|
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
976
1039
|
"""
|