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
pulumi_alicloud/nlb/outputs.py
CHANGED
|
@@ -50,9 +50,12 @@ class LoadBalancerDeletionProtectionConfig(dict):
|
|
|
50
50
|
enabled_time: Optional[str] = None,
|
|
51
51
|
reason: Optional[str] = None):
|
|
52
52
|
"""
|
|
53
|
-
:param bool enabled:
|
|
54
|
-
:param str enabled_time: Opening time.
|
|
55
|
-
:param str reason:
|
|
53
|
+
:param bool enabled: Specifies whether to enable deletion protection. Valid values:
|
|
54
|
+
:param str enabled_time: Opening time of the configuration read-only mode.
|
|
55
|
+
:param str reason: The reason why deletion protection is enabled. The reason must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-). The reason must start with a letter.
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
> **NOTE:** This parameter takes effect only when `DeletionProtectionEnabled` is set to `true`.
|
|
56
59
|
"""
|
|
57
60
|
if enabled is not None:
|
|
58
61
|
pulumi.set(__self__, "enabled", enabled)
|
|
@@ -65,7 +68,7 @@ class LoadBalancerDeletionProtectionConfig(dict):
|
|
|
65
68
|
@pulumi.getter
|
|
66
69
|
def enabled(self) -> Optional[bool]:
|
|
67
70
|
"""
|
|
68
|
-
|
|
71
|
+
Specifies whether to enable deletion protection. Valid values:
|
|
69
72
|
"""
|
|
70
73
|
return pulumi.get(self, "enabled")
|
|
71
74
|
|
|
@@ -73,7 +76,7 @@ class LoadBalancerDeletionProtectionConfig(dict):
|
|
|
73
76
|
@pulumi.getter(name="enabledTime")
|
|
74
77
|
def enabled_time(self) -> Optional[str]:
|
|
75
78
|
"""
|
|
76
|
-
Opening time.
|
|
79
|
+
Opening time of the configuration read-only mode.
|
|
77
80
|
"""
|
|
78
81
|
return pulumi.get(self, "enabled_time")
|
|
79
82
|
|
|
@@ -81,7 +84,10 @@ class LoadBalancerDeletionProtectionConfig(dict):
|
|
|
81
84
|
@pulumi.getter
|
|
82
85
|
def reason(self) -> Optional[str]:
|
|
83
86
|
"""
|
|
84
|
-
|
|
87
|
+
The reason why deletion protection is enabled. The reason must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-). The reason must start with a letter.
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
> **NOTE:** This parameter takes effect only when `DeletionProtectionEnabled` is set to `true`.
|
|
85
91
|
"""
|
|
86
92
|
return pulumi.get(self, "reason")
|
|
87
93
|
|
|
@@ -110,9 +116,15 @@ class LoadBalancerModificationProtectionConfig(dict):
|
|
|
110
116
|
reason: Optional[str] = None,
|
|
111
117
|
status: Optional[str] = None):
|
|
112
118
|
"""
|
|
113
|
-
:param str enabled_time: Opening time.
|
|
114
|
-
:param str reason:
|
|
115
|
-
|
|
119
|
+
:param str enabled_time: Opening time of the configuration read-only mode.
|
|
120
|
+
:param str reason: The reason why the configuration read-only mode is enabled. The value must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-). The value must start with a letter.
|
|
121
|
+
|
|
122
|
+
> **NOTE:** This parameter takes effect only if the `status` parameter is set to `ConsoleProtection`.
|
|
123
|
+
:param str status: Specifies whether to enable the configuration read-only mode. Valid values:
|
|
124
|
+
- `NonProtection`: disables the configuration read-only mode. In this case, you cannot set the `ModificationProtectionReason` parameter. If you specify `ModificationProtectionReason`, the value is cleared.
|
|
125
|
+
- `ConsoleProtection`: enables the configuration read-only mode. In this case, you can specify `ModificationProtectionReason`.
|
|
126
|
+
|
|
127
|
+
> **NOTE:** If you set this parameter to `ConsoleProtection`, you cannot use the NLB console to modify instance configurations. However, you can call API operations to modify instance configurations.
|
|
116
128
|
"""
|
|
117
129
|
if enabled_time is not None:
|
|
118
130
|
pulumi.set(__self__, "enabled_time", enabled_time)
|
|
@@ -125,7 +137,7 @@ class LoadBalancerModificationProtectionConfig(dict):
|
|
|
125
137
|
@pulumi.getter(name="enabledTime")
|
|
126
138
|
def enabled_time(self) -> Optional[str]:
|
|
127
139
|
"""
|
|
128
|
-
Opening time.
|
|
140
|
+
Opening time of the configuration read-only mode.
|
|
129
141
|
"""
|
|
130
142
|
return pulumi.get(self, "enabled_time")
|
|
131
143
|
|
|
@@ -133,7 +145,9 @@ class LoadBalancerModificationProtectionConfig(dict):
|
|
|
133
145
|
@pulumi.getter
|
|
134
146
|
def reason(self) -> Optional[str]:
|
|
135
147
|
"""
|
|
136
|
-
|
|
148
|
+
The reason why the configuration read-only mode is enabled. The value must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-). The value must start with a letter.
|
|
149
|
+
|
|
150
|
+
> **NOTE:** This parameter takes effect only if the `status` parameter is set to `ConsoleProtection`.
|
|
137
151
|
"""
|
|
138
152
|
return pulumi.get(self, "reason")
|
|
139
153
|
|
|
@@ -141,7 +155,11 @@ class LoadBalancerModificationProtectionConfig(dict):
|
|
|
141
155
|
@pulumi.getter
|
|
142
156
|
def status(self) -> Optional[str]:
|
|
143
157
|
"""
|
|
144
|
-
|
|
158
|
+
Specifies whether to enable the configuration read-only mode. Valid values:
|
|
159
|
+
- `NonProtection`: disables the configuration read-only mode. In this case, you cannot set the `ModificationProtectionReason` parameter. If you specify `ModificationProtectionReason`, the value is cleared.
|
|
160
|
+
- `ConsoleProtection`: enables the configuration read-only mode. In this case, you can specify `ModificationProtectionReason`.
|
|
161
|
+
|
|
162
|
+
> **NOTE:** If you set this parameter to `ConsoleProtection`, you cannot use the NLB console to modify instance configurations. However, you can call API operations to modify instance configurations.
|
|
145
163
|
"""
|
|
146
164
|
return pulumi.get(self, "status")
|
|
147
165
|
|
|
@@ -187,14 +205,16 @@ class LoadBalancerZoneMapping(dict):
|
|
|
187
205
|
public_ipv4_address: Optional[str] = None,
|
|
188
206
|
status: Optional[str] = None):
|
|
189
207
|
"""
|
|
190
|
-
:param str vswitch_id: The
|
|
191
|
-
:param str zone_id: The
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
:param str
|
|
195
|
-
:param str
|
|
208
|
+
:param str vswitch_id: The vSwitch in the zone. You can specify only one vSwitch (subnet) in each zone of an NLB instance. You must add at least two zones. You can add a maximum of 10 zones.
|
|
209
|
+
:param str zone_id: The ID of the zone of the NLB instance. You must add at least two zones. You can add a maximum of 10 zones.
|
|
210
|
+
|
|
211
|
+
You can call the [DescribeZones](https://www.alibabacloud.com/help/en/doc-detail/443890.html) operation to query the most recent zone list.
|
|
212
|
+
:param str allocation_id: The ID of the elastic IP address (EIP) that is associated with the Internet-facing NLB instance. You can specify one EIP for each zone. You must add at least two zones. You can add a maximum of 10 zones.
|
|
213
|
+
:param str eni_id: The ID of the elastic network interface (ENI).
|
|
214
|
+
:param str ipv6_address: The IPv6 address of the NLB instance.
|
|
215
|
+
:param str private_ipv4_address: The private IP address. You must add at least two zones. You can add a maximum of 10 zones.
|
|
196
216
|
:param str public_ipv4_address: Public IPv4 address of a network-based server load balancer instance.
|
|
197
|
-
:param str status: Zone Status
|
|
217
|
+
:param str status: Zone Status
|
|
198
218
|
"""
|
|
199
219
|
pulumi.set(__self__, "vswitch_id", vswitch_id)
|
|
200
220
|
pulumi.set(__self__, "zone_id", zone_id)
|
|
@@ -215,7 +235,7 @@ class LoadBalancerZoneMapping(dict):
|
|
|
215
235
|
@pulumi.getter(name="vswitchId")
|
|
216
236
|
def vswitch_id(self) -> str:
|
|
217
237
|
"""
|
|
218
|
-
The
|
|
238
|
+
The vSwitch in the zone. You can specify only one vSwitch (subnet) in each zone of an NLB instance. You must add at least two zones. You can add a maximum of 10 zones.
|
|
219
239
|
"""
|
|
220
240
|
return pulumi.get(self, "vswitch_id")
|
|
221
241
|
|
|
@@ -223,7 +243,9 @@ class LoadBalancerZoneMapping(dict):
|
|
|
223
243
|
@pulumi.getter(name="zoneId")
|
|
224
244
|
def zone_id(self) -> str:
|
|
225
245
|
"""
|
|
226
|
-
The
|
|
246
|
+
The ID of the zone of the NLB instance. You must add at least two zones. You can add a maximum of 10 zones.
|
|
247
|
+
|
|
248
|
+
You can call the [DescribeZones](https://www.alibabacloud.com/help/en/doc-detail/443890.html) operation to query the most recent zone list.
|
|
227
249
|
"""
|
|
228
250
|
return pulumi.get(self, "zone_id")
|
|
229
251
|
|
|
@@ -231,7 +253,7 @@ class LoadBalancerZoneMapping(dict):
|
|
|
231
253
|
@pulumi.getter(name="allocationId")
|
|
232
254
|
def allocation_id(self) -> Optional[str]:
|
|
233
255
|
"""
|
|
234
|
-
The ID of the elastic IP address.
|
|
256
|
+
The ID of the elastic IP address (EIP) that is associated with the Internet-facing NLB instance. You can specify one EIP for each zone. You must add at least two zones. You can add a maximum of 10 zones.
|
|
235
257
|
"""
|
|
236
258
|
return pulumi.get(self, "allocation_id")
|
|
237
259
|
|
|
@@ -239,7 +261,7 @@ class LoadBalancerZoneMapping(dict):
|
|
|
239
261
|
@pulumi.getter(name="eniId")
|
|
240
262
|
def eni_id(self) -> Optional[str]:
|
|
241
263
|
"""
|
|
242
|
-
The ID of ENI.
|
|
264
|
+
The ID of the elastic network interface (ENI).
|
|
243
265
|
"""
|
|
244
266
|
return pulumi.get(self, "eni_id")
|
|
245
267
|
|
|
@@ -247,7 +269,7 @@ class LoadBalancerZoneMapping(dict):
|
|
|
247
269
|
@pulumi.getter(name="ipv6Address")
|
|
248
270
|
def ipv6_address(self) -> Optional[str]:
|
|
249
271
|
"""
|
|
250
|
-
The IPv6 address of
|
|
272
|
+
The IPv6 address of the NLB instance.
|
|
251
273
|
"""
|
|
252
274
|
return pulumi.get(self, "ipv6_address")
|
|
253
275
|
|
|
@@ -255,7 +277,7 @@ class LoadBalancerZoneMapping(dict):
|
|
|
255
277
|
@pulumi.getter(name="privateIpv4Address")
|
|
256
278
|
def private_ipv4_address(self) -> Optional[str]:
|
|
257
279
|
"""
|
|
258
|
-
The private
|
|
280
|
+
The private IP address. You must add at least two zones. You can add a maximum of 10 zones.
|
|
259
281
|
"""
|
|
260
282
|
return pulumi.get(self, "private_ipv4_address")
|
|
261
283
|
|
|
@@ -271,7 +293,7 @@ class LoadBalancerZoneMapping(dict):
|
|
|
271
293
|
@pulumi.getter
|
|
272
294
|
def status(self) -> Optional[str]:
|
|
273
295
|
"""
|
|
274
|
-
Zone Status
|
|
296
|
+
Zone Status
|
|
275
297
|
"""
|
|
276
298
|
return pulumi.get(self, "status")
|
|
277
299
|
|
|
@@ -328,25 +350,42 @@ class ServerGroupHealthCheck(dict):
|
|
|
328
350
|
http_check_method: Optional[str] = None,
|
|
329
351
|
unhealthy_threshold: Optional[int] = None):
|
|
330
352
|
"""
|
|
331
|
-
:param int health_check_connect_port: The port
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
:param
|
|
338
|
-
-
|
|
339
|
-
|
|
340
|
-
:param Sequence[str] health_check_http_codes:
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
:param
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
:param
|
|
353
|
+
:param int health_check_connect_port: The port that you want to use for health checks on backend servers.
|
|
354
|
+
|
|
355
|
+
Valid values: `0` to `65535`.
|
|
356
|
+
|
|
357
|
+
Default value: `0`. If you set the value to 0, the port of the backend server is used for health checks.
|
|
358
|
+
:param int health_check_connect_timeout: The maximum timeout period of a health check. Unit: seconds. Valid values: `1` to `300`. Default value: `5`.
|
|
359
|
+
:param str health_check_domain: The domain name that you want to use for health checks. Valid values:
|
|
360
|
+
- `$SERVER_IP`: the private IP address of a backend server.
|
|
361
|
+
:param bool health_check_enabled: Specifies whether to enable the health check feature. Valid values:
|
|
362
|
+
:param Sequence[str] health_check_http_codes: The HTTP status codes to return for health checks. Separate multiple HTTP status codes with commas (,). Valid values: `http\\_2xx` (default), `http\\_3xx`, `http\\_4xx`, and `http\\_5xx`.
|
|
363
|
+
|
|
364
|
+
> **NOTE:** This parameter takes effect only when `HealthCheckType` is set to `HTTP`.
|
|
365
|
+
:param int health_check_interval: The interval at which health checks are performed. Unit: seconds.
|
|
366
|
+
|
|
367
|
+
Valid values: `5` to `50`.
|
|
368
|
+
|
|
369
|
+
Default value: `10`.
|
|
370
|
+
:param str health_check_type: The protocol that you want to use for health checks. Valid values: `TCP` (default) and `HTTP`.
|
|
371
|
+
:param str health_check_url: The path to which health check requests are sent.
|
|
372
|
+
|
|
373
|
+
The path must be 1 to 80 characters in length, and can contain only letters, digits, and the following special characters: `- / . % ? # & =`. It can also contain the following extended characters: `_ ; ~ ! ( ) * [ ] @ $ ^ : ' , +`. The path must start with a forward slash (/).
|
|
374
|
+
|
|
375
|
+
> **NOTE:** This parameter takes effect only when `HealthCheckType` is set to `HTTP`.
|
|
376
|
+
:param 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`.
|
|
377
|
+
|
|
378
|
+
Valid values: `2` to `10`.
|
|
379
|
+
|
|
380
|
+
Default value: `2`.
|
|
381
|
+
:param str http_check_method: The HTTP method that is used for health checks. Valid values: `GET` (default) and `HEAD`.
|
|
382
|
+
|
|
383
|
+
> **NOTE:** This parameter takes effect only when `HealthCheckType` is set to `HTTP`.
|
|
384
|
+
:param 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`.
|
|
385
|
+
|
|
386
|
+
Valid values: `2` to `10`.
|
|
387
|
+
|
|
388
|
+
Default value: `2`.
|
|
350
389
|
"""
|
|
351
390
|
if health_check_connect_port is not None:
|
|
352
391
|
pulumi.set(__self__, "health_check_connect_port", health_check_connect_port)
|
|
@@ -375,7 +414,11 @@ class ServerGroupHealthCheck(dict):
|
|
|
375
414
|
@pulumi.getter(name="healthCheckConnectPort")
|
|
376
415
|
def health_check_connect_port(self) -> Optional[int]:
|
|
377
416
|
"""
|
|
378
|
-
The port
|
|
417
|
+
The port that you want to use for health checks on backend servers.
|
|
418
|
+
|
|
419
|
+
Valid values: `0` to `65535`.
|
|
420
|
+
|
|
421
|
+
Default value: `0`. If you set the value to 0, the port of the backend server is used for health checks.
|
|
379
422
|
"""
|
|
380
423
|
return pulumi.get(self, "health_check_connect_port")
|
|
381
424
|
|
|
@@ -383,7 +426,7 @@ class ServerGroupHealthCheck(dict):
|
|
|
383
426
|
@pulumi.getter(name="healthCheckConnectTimeout")
|
|
384
427
|
def health_check_connect_timeout(self) -> Optional[int]:
|
|
385
428
|
"""
|
|
386
|
-
|
|
429
|
+
The maximum timeout period of a health check. Unit: seconds. Valid values: `1` to `300`. Default value: `5`.
|
|
387
430
|
"""
|
|
388
431
|
return pulumi.get(self, "health_check_connect_timeout")
|
|
389
432
|
|
|
@@ -391,10 +434,8 @@ class ServerGroupHealthCheck(dict):
|
|
|
391
434
|
@pulumi.getter(name="healthCheckDomain")
|
|
392
435
|
def health_check_domain(self) -> Optional[str]:
|
|
393
436
|
"""
|
|
394
|
-
The domain name
|
|
395
|
-
-
|
|
396
|
-
- **domain**: Specify a specific domain name. The length is limited to 1 to 80 characters. Only lowercase letters, numbers, dashes (-), and half-width periods (.) can be used.
|
|
397
|
-
> **NOTE:** This parameter takes effect only when **HealthCheckType** is **HTTP**.
|
|
437
|
+
The domain name that you want to use for health checks. Valid values:
|
|
438
|
+
- `$SERVER_IP`: the private IP address of a backend server.
|
|
398
439
|
"""
|
|
399
440
|
return pulumi.get(self, "health_check_domain")
|
|
400
441
|
|
|
@@ -402,9 +443,7 @@ class ServerGroupHealthCheck(dict):
|
|
|
402
443
|
@pulumi.getter(name="healthCheckEnabled")
|
|
403
444
|
def health_check_enabled(self) -> Optional[bool]:
|
|
404
445
|
"""
|
|
405
|
-
|
|
406
|
-
- **true**: on.
|
|
407
|
-
- **false**: closed.
|
|
446
|
+
Specifies whether to enable the health check feature. Valid values:
|
|
408
447
|
"""
|
|
409
448
|
return pulumi.get(self, "health_check_enabled")
|
|
410
449
|
|
|
@@ -412,8 +451,9 @@ class ServerGroupHealthCheck(dict):
|
|
|
412
451
|
@pulumi.getter(name="healthCheckHttpCodes")
|
|
413
452
|
def health_check_http_codes(self) -> Optional[Sequence[str]]:
|
|
414
453
|
"""
|
|
415
|
-
|
|
416
|
-
|
|
454
|
+
The HTTP status codes to return for health checks. Separate multiple HTTP status codes with commas (,). Valid values: `http\\_2xx` (default), `http\\_3xx`, `http\\_4xx`, and `http\\_5xx`.
|
|
455
|
+
|
|
456
|
+
> **NOTE:** This parameter takes effect only when `HealthCheckType` is set to `HTTP`.
|
|
417
457
|
"""
|
|
418
458
|
return pulumi.get(self, "health_check_http_codes")
|
|
419
459
|
|
|
@@ -421,7 +461,11 @@ class ServerGroupHealthCheck(dict):
|
|
|
421
461
|
@pulumi.getter(name="healthCheckInterval")
|
|
422
462
|
def health_check_interval(self) -> Optional[int]:
|
|
423
463
|
"""
|
|
424
|
-
|
|
464
|
+
The interval at which health checks are performed. Unit: seconds.
|
|
465
|
+
|
|
466
|
+
Valid values: `5` to `50`.
|
|
467
|
+
|
|
468
|
+
Default value: `10`.
|
|
425
469
|
"""
|
|
426
470
|
return pulumi.get(self, "health_check_interval")
|
|
427
471
|
|
|
@@ -429,7 +473,7 @@ class ServerGroupHealthCheck(dict):
|
|
|
429
473
|
@pulumi.getter(name="healthCheckType")
|
|
430
474
|
def health_check_type(self) -> Optional[str]:
|
|
431
475
|
"""
|
|
432
|
-
|
|
476
|
+
The protocol that you want to use for health checks. Valid values: `TCP` (default) and `HTTP`.
|
|
433
477
|
"""
|
|
434
478
|
return pulumi.get(self, "health_check_type")
|
|
435
479
|
|
|
@@ -437,8 +481,11 @@ class ServerGroupHealthCheck(dict):
|
|
|
437
481
|
@pulumi.getter(name="healthCheckUrl")
|
|
438
482
|
def health_check_url(self) -> Optional[str]:
|
|
439
483
|
"""
|
|
440
|
-
|
|
441
|
-
|
|
484
|
+
The path to which health check requests are sent.
|
|
485
|
+
|
|
486
|
+
The path must be 1 to 80 characters in length, and can contain only letters, digits, and the following special characters: `- / . % ? # & =`. It can also contain the following extended characters: `_ ; ~ ! ( ) * [ ] @ $ ^ : ' , +`. The path must start with a forward slash (/).
|
|
487
|
+
|
|
488
|
+
> **NOTE:** This parameter takes effect only when `HealthCheckType` is set to `HTTP`.
|
|
442
489
|
"""
|
|
443
490
|
return pulumi.get(self, "health_check_url")
|
|
444
491
|
|
|
@@ -446,7 +493,11 @@ class ServerGroupHealthCheck(dict):
|
|
|
446
493
|
@pulumi.getter(name="healthyThreshold")
|
|
447
494
|
def healthy_threshold(self) -> Optional[int]:
|
|
448
495
|
"""
|
|
449
|
-
|
|
496
|
+
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`.
|
|
497
|
+
|
|
498
|
+
Valid values: `2` to `10`.
|
|
499
|
+
|
|
500
|
+
Default value: `2`.
|
|
450
501
|
"""
|
|
451
502
|
return pulumi.get(self, "healthy_threshold")
|
|
452
503
|
|
|
@@ -454,8 +505,9 @@ class ServerGroupHealthCheck(dict):
|
|
|
454
505
|
@pulumi.getter(name="httpCheckMethod")
|
|
455
506
|
def http_check_method(self) -> Optional[str]:
|
|
456
507
|
"""
|
|
457
|
-
The health
|
|
458
|
-
|
|
508
|
+
The HTTP method that is used for health checks. Valid values: `GET` (default) and `HEAD`.
|
|
509
|
+
|
|
510
|
+
> **NOTE:** This parameter takes effect only when `HealthCheckType` is set to `HTTP`.
|
|
459
511
|
"""
|
|
460
512
|
return pulumi.get(self, "http_check_method")
|
|
461
513
|
|
|
@@ -463,7 +515,11 @@ class ServerGroupHealthCheck(dict):
|
|
|
463
515
|
@pulumi.getter(name="unhealthyThreshold")
|
|
464
516
|
def unhealthy_threshold(self) -> Optional[int]:
|
|
465
517
|
"""
|
|
466
|
-
|
|
518
|
+
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`.
|
|
519
|
+
|
|
520
|
+
Valid values: `2` to `10`.
|
|
521
|
+
|
|
522
|
+
Default value: `2`.
|
|
467
523
|
"""
|
|
468
524
|
return pulumi.get(self, "unhealthy_threshold")
|
|
469
525
|
|
|
@@ -1135,7 +1191,7 @@ class GetServerGroupServerAttachmentsAttachmentResult(dict):
|
|
|
1135
1191
|
zone_id: str):
|
|
1136
1192
|
"""
|
|
1137
1193
|
:param str description: The description of the backend server.
|
|
1138
|
-
:param str id: The ID of the server group.
|
|
1194
|
+
:param str id: The ID of the server group. The value is formulated as `<server_group_id>:<server_id>:<server_type>:<port>`.
|
|
1139
1195
|
:param int port: The port used by the backend server.
|
|
1140
1196
|
:param str server_group_id: The ID of the server group.
|
|
1141
1197
|
:param str server_id: The ID of the server.
|
|
@@ -1168,7 +1224,7 @@ class GetServerGroupServerAttachmentsAttachmentResult(dict):
|
|
|
1168
1224
|
@pulumi.getter
|
|
1169
1225
|
def id(self) -> str:
|
|
1170
1226
|
"""
|
|
1171
|
-
The ID of the server group.
|
|
1227
|
+
The ID of the server group. The value is formulated as `<server_group_id>:<server_id>:<server_type>:<port>`.
|
|
1172
1228
|
"""
|
|
1173
1229
|
return pulumi.get(self, "id")
|
|
1174
1230
|
|
|
@@ -26,9 +26,13 @@ class SecurityPolicyArgs:
|
|
|
26
26
|
- TLS 1.2 supports the following cipher suites: `ECDHE-ECDSA-AES128-SHA`, `ECDHE-ECDSA-AES256-SHA`, `ECDHE-RSA-AES128-SHA`, `ECDHE-RSA-AES256-SHA`, `AES128-SHA`, `AES256-SHA, DES-CBC3-SHA`, `ECDHE-ECDSA-AES128-GCM-SHA256`, `ECDHE-ECDSA-AES256-GCM-SHA384`, `ECDHE-ECDSA-AES128-SHA256`, `ECDHE-ECDSA-AES256-SHA384`, `ECDHE-RSA-AES128-GCM-SHA256`, `ECDHE-RSA-AES256-GCM-SHA384`, `ECDHE-RSA-AES128-SHA256`, `ECDHE-RSA-AES256-SHA384`, `AES128-GCM-SHA256`, `AES256-GCM-SHA384`, `AES128-SHA256`, `AES256-SHA256`
|
|
27
27
|
- TLS 1.3 supports the following cipher suites: `TLS_AES_128_GCM_SHA256`, `TLS_AES_256_GCM_SHA384`, `TLS_CHACHA20_POLY1305_SHA256`, `TLS_AES_128_CCM_SHA256`, `TLS_AES_128_CCM_8_SHA256`.
|
|
28
28
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tls_versions: The supported versions of the Transport Layer Security (TLS) protocol. Valid values: `TLSv1.0`, `TLSv1.1`, `TLSv1.2`, and `TLSv1.3`. You can specify at most four TLS versions.
|
|
29
|
-
:param pulumi.Input[str] resource_group_id: The ID of the resource group.
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
:param pulumi.Input[str] resource_group_id: The ID of the new resource group.
|
|
30
|
+
|
|
31
|
+
You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
|
|
32
|
+
:param pulumi.Input[str] security_policy_name: The name of the security policy.
|
|
33
|
+
|
|
34
|
+
The name must be 1 to 200 characters in length, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-).
|
|
35
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource
|
|
32
36
|
"""
|
|
33
37
|
pulumi.set(__self__, "ciphers", ciphers)
|
|
34
38
|
pulumi.set(__self__, "tls_versions", tls_versions)
|
|
@@ -70,7 +74,9 @@ class SecurityPolicyArgs:
|
|
|
70
74
|
@pulumi.getter(name="resourceGroupId")
|
|
71
75
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
72
76
|
"""
|
|
73
|
-
The ID of the resource group.
|
|
77
|
+
The ID of the new resource group.
|
|
78
|
+
|
|
79
|
+
You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
|
|
74
80
|
"""
|
|
75
81
|
return pulumi.get(self, "resource_group_id")
|
|
76
82
|
|
|
@@ -82,7 +88,9 @@ class SecurityPolicyArgs:
|
|
|
82
88
|
@pulumi.getter(name="securityPolicyName")
|
|
83
89
|
def security_policy_name(self) -> Optional[pulumi.Input[str]]:
|
|
84
90
|
"""
|
|
85
|
-
The name of the security policy.
|
|
91
|
+
The name of the security policy.
|
|
92
|
+
|
|
93
|
+
The name must be 1 to 200 characters in length, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-).
|
|
86
94
|
"""
|
|
87
95
|
return pulumi.get(self, "security_policy_name")
|
|
88
96
|
|
|
@@ -94,7 +102,7 @@ class SecurityPolicyArgs:
|
|
|
94
102
|
@pulumi.getter
|
|
95
103
|
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
96
104
|
"""
|
|
97
|
-
The tag of the resource
|
|
105
|
+
The tag of the resource
|
|
98
106
|
"""
|
|
99
107
|
return pulumi.get(self, "tags")
|
|
100
108
|
|
|
@@ -118,10 +126,14 @@ class _SecurityPolicyState:
|
|
|
118
126
|
- TLS 1.0 and TLS 1.1 support the following cipher suites: `ECDHE-ECDSA-AES128-SHA`, `ECDHE-ECDSA-AES256-SHA`, `ECDHE-RSA-AES128-SHA`, `ECDHE-RSA-AES256-SHA`, `AES128-SHA`, `AES256-SHA`, `DES-CBC3-SHA`
|
|
119
127
|
- TLS 1.2 supports the following cipher suites: `ECDHE-ECDSA-AES128-SHA`, `ECDHE-ECDSA-AES256-SHA`, `ECDHE-RSA-AES128-SHA`, `ECDHE-RSA-AES256-SHA`, `AES128-SHA`, `AES256-SHA, DES-CBC3-SHA`, `ECDHE-ECDSA-AES128-GCM-SHA256`, `ECDHE-ECDSA-AES256-GCM-SHA384`, `ECDHE-ECDSA-AES128-SHA256`, `ECDHE-ECDSA-AES256-SHA384`, `ECDHE-RSA-AES128-GCM-SHA256`, `ECDHE-RSA-AES256-GCM-SHA384`, `ECDHE-RSA-AES128-SHA256`, `ECDHE-RSA-AES256-SHA384`, `AES128-GCM-SHA256`, `AES256-GCM-SHA384`, `AES128-SHA256`, `AES256-SHA256`
|
|
120
128
|
- TLS 1.3 supports the following cipher suites: `TLS_AES_128_GCM_SHA256`, `TLS_AES_256_GCM_SHA384`, `TLS_CHACHA20_POLY1305_SHA256`, `TLS_AES_128_CCM_SHA256`, `TLS_AES_128_CCM_8_SHA256`.
|
|
121
|
-
:param pulumi.Input[str] resource_group_id: The ID of the resource group.
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
:param pulumi.Input[
|
|
129
|
+
:param pulumi.Input[str] resource_group_id: The ID of the new resource group.
|
|
130
|
+
|
|
131
|
+
You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
|
|
132
|
+
:param pulumi.Input[str] security_policy_name: The name of the security policy.
|
|
133
|
+
|
|
134
|
+
The name must be 1 to 200 characters in length, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-).
|
|
135
|
+
:param pulumi.Input[str] status: The status of the resource
|
|
136
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource
|
|
125
137
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tls_versions: The supported versions of the Transport Layer Security (TLS) protocol. Valid values: `TLSv1.0`, `TLSv1.1`, `TLSv1.2`, and `TLSv1.3`. You can specify at most four TLS versions.
|
|
126
138
|
"""
|
|
127
139
|
if ciphers is not None:
|
|
@@ -156,7 +168,9 @@ class _SecurityPolicyState:
|
|
|
156
168
|
@pulumi.getter(name="resourceGroupId")
|
|
157
169
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
158
170
|
"""
|
|
159
|
-
The ID of the resource group.
|
|
171
|
+
The ID of the new resource group.
|
|
172
|
+
|
|
173
|
+
You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
|
|
160
174
|
"""
|
|
161
175
|
return pulumi.get(self, "resource_group_id")
|
|
162
176
|
|
|
@@ -168,7 +182,9 @@ class _SecurityPolicyState:
|
|
|
168
182
|
@pulumi.getter(name="securityPolicyName")
|
|
169
183
|
def security_policy_name(self) -> Optional[pulumi.Input[str]]:
|
|
170
184
|
"""
|
|
171
|
-
The name of the security policy.
|
|
185
|
+
The name of the security policy.
|
|
186
|
+
|
|
187
|
+
The name must be 1 to 200 characters in length, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-).
|
|
172
188
|
"""
|
|
173
189
|
return pulumi.get(self, "security_policy_name")
|
|
174
190
|
|
|
@@ -180,7 +196,7 @@ class _SecurityPolicyState:
|
|
|
180
196
|
@pulumi.getter
|
|
181
197
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
182
198
|
"""
|
|
183
|
-
The status of the resource
|
|
199
|
+
The status of the resource
|
|
184
200
|
"""
|
|
185
201
|
return pulumi.get(self, "status")
|
|
186
202
|
|
|
@@ -192,7 +208,7 @@ class _SecurityPolicyState:
|
|
|
192
208
|
@pulumi.getter
|
|
193
209
|
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
194
210
|
"""
|
|
195
|
-
The tag of the resource
|
|
211
|
+
The tag of the resource
|
|
196
212
|
"""
|
|
197
213
|
return pulumi.get(self, "tags")
|
|
198
214
|
|
|
@@ -276,9 +292,13 @@ class SecurityPolicy(pulumi.CustomResource):
|
|
|
276
292
|
- TLS 1.0 and TLS 1.1 support the following cipher suites: `ECDHE-ECDSA-AES128-SHA`, `ECDHE-ECDSA-AES256-SHA`, `ECDHE-RSA-AES128-SHA`, `ECDHE-RSA-AES256-SHA`, `AES128-SHA`, `AES256-SHA`, `DES-CBC3-SHA`
|
|
277
293
|
- TLS 1.2 supports the following cipher suites: `ECDHE-ECDSA-AES128-SHA`, `ECDHE-ECDSA-AES256-SHA`, `ECDHE-RSA-AES128-SHA`, `ECDHE-RSA-AES256-SHA`, `AES128-SHA`, `AES256-SHA, DES-CBC3-SHA`, `ECDHE-ECDSA-AES128-GCM-SHA256`, `ECDHE-ECDSA-AES256-GCM-SHA384`, `ECDHE-ECDSA-AES128-SHA256`, `ECDHE-ECDSA-AES256-SHA384`, `ECDHE-RSA-AES128-GCM-SHA256`, `ECDHE-RSA-AES256-GCM-SHA384`, `ECDHE-RSA-AES128-SHA256`, `ECDHE-RSA-AES256-SHA384`, `AES128-GCM-SHA256`, `AES256-GCM-SHA384`, `AES128-SHA256`, `AES256-SHA256`
|
|
278
294
|
- TLS 1.3 supports the following cipher suites: `TLS_AES_128_GCM_SHA256`, `TLS_AES_256_GCM_SHA384`, `TLS_CHACHA20_POLY1305_SHA256`, `TLS_AES_128_CCM_SHA256`, `TLS_AES_128_CCM_8_SHA256`.
|
|
279
|
-
:param pulumi.Input[str] resource_group_id: The ID of the resource group.
|
|
280
|
-
|
|
281
|
-
|
|
295
|
+
:param pulumi.Input[str] resource_group_id: The ID of the new resource group.
|
|
296
|
+
|
|
297
|
+
You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
|
|
298
|
+
:param pulumi.Input[str] security_policy_name: The name of the security policy.
|
|
299
|
+
|
|
300
|
+
The name must be 1 to 200 characters in length, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-).
|
|
301
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource
|
|
282
302
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tls_versions: The supported versions of the Transport Layer Security (TLS) protocol. Valid values: `TLSv1.0`, `TLSv1.1`, `TLSv1.2`, and `TLSv1.3`. You can specify at most four TLS versions.
|
|
283
303
|
"""
|
|
284
304
|
...
|
|
@@ -399,10 +419,14 @@ class SecurityPolicy(pulumi.CustomResource):
|
|
|
399
419
|
- TLS 1.0 and TLS 1.1 support the following cipher suites: `ECDHE-ECDSA-AES128-SHA`, `ECDHE-ECDSA-AES256-SHA`, `ECDHE-RSA-AES128-SHA`, `ECDHE-RSA-AES256-SHA`, `AES128-SHA`, `AES256-SHA`, `DES-CBC3-SHA`
|
|
400
420
|
- TLS 1.2 supports the following cipher suites: `ECDHE-ECDSA-AES128-SHA`, `ECDHE-ECDSA-AES256-SHA`, `ECDHE-RSA-AES128-SHA`, `ECDHE-RSA-AES256-SHA`, `AES128-SHA`, `AES256-SHA, DES-CBC3-SHA`, `ECDHE-ECDSA-AES128-GCM-SHA256`, `ECDHE-ECDSA-AES256-GCM-SHA384`, `ECDHE-ECDSA-AES128-SHA256`, `ECDHE-ECDSA-AES256-SHA384`, `ECDHE-RSA-AES128-GCM-SHA256`, `ECDHE-RSA-AES256-GCM-SHA384`, `ECDHE-RSA-AES128-SHA256`, `ECDHE-RSA-AES256-SHA384`, `AES128-GCM-SHA256`, `AES256-GCM-SHA384`, `AES128-SHA256`, `AES256-SHA256`
|
|
401
421
|
- TLS 1.3 supports the following cipher suites: `TLS_AES_128_GCM_SHA256`, `TLS_AES_256_GCM_SHA384`, `TLS_CHACHA20_POLY1305_SHA256`, `TLS_AES_128_CCM_SHA256`, `TLS_AES_128_CCM_8_SHA256`.
|
|
402
|
-
:param pulumi.Input[str] resource_group_id: The ID of the resource group.
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
:param pulumi.Input[
|
|
422
|
+
:param pulumi.Input[str] resource_group_id: The ID of the new resource group.
|
|
423
|
+
|
|
424
|
+
You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
|
|
425
|
+
:param pulumi.Input[str] security_policy_name: The name of the security policy.
|
|
426
|
+
|
|
427
|
+
The name must be 1 to 200 characters in length, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-).
|
|
428
|
+
:param pulumi.Input[str] status: The status of the resource
|
|
429
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource
|
|
406
430
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tls_versions: The supported versions of the Transport Layer Security (TLS) protocol. Valid values: `TLSv1.0`, `TLSv1.1`, `TLSv1.2`, and `TLSv1.3`. You can specify at most four TLS versions.
|
|
407
431
|
"""
|
|
408
432
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -432,7 +456,9 @@ class SecurityPolicy(pulumi.CustomResource):
|
|
|
432
456
|
@pulumi.getter(name="resourceGroupId")
|
|
433
457
|
def resource_group_id(self) -> pulumi.Output[str]:
|
|
434
458
|
"""
|
|
435
|
-
The ID of the resource group.
|
|
459
|
+
The ID of the new resource group.
|
|
460
|
+
|
|
461
|
+
You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
|
|
436
462
|
"""
|
|
437
463
|
return pulumi.get(self, "resource_group_id")
|
|
438
464
|
|
|
@@ -440,7 +466,9 @@ class SecurityPolicy(pulumi.CustomResource):
|
|
|
440
466
|
@pulumi.getter(name="securityPolicyName")
|
|
441
467
|
def security_policy_name(self) -> pulumi.Output[str]:
|
|
442
468
|
"""
|
|
443
|
-
The name of the security policy.
|
|
469
|
+
The name of the security policy.
|
|
470
|
+
|
|
471
|
+
The name must be 1 to 200 characters in length, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-).
|
|
444
472
|
"""
|
|
445
473
|
return pulumi.get(self, "security_policy_name")
|
|
446
474
|
|
|
@@ -448,7 +476,7 @@ class SecurityPolicy(pulumi.CustomResource):
|
|
|
448
476
|
@pulumi.getter
|
|
449
477
|
def status(self) -> pulumi.Output[str]:
|
|
450
478
|
"""
|
|
451
|
-
The status of the resource
|
|
479
|
+
The status of the resource
|
|
452
480
|
"""
|
|
453
481
|
return pulumi.get(self, "status")
|
|
454
482
|
|
|
@@ -456,7 +484,7 @@ class SecurityPolicy(pulumi.CustomResource):
|
|
|
456
484
|
@pulumi.getter
|
|
457
485
|
def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
458
486
|
"""
|
|
459
|
-
The tag of the resource
|
|
487
|
+
The tag of the resource
|
|
460
488
|
"""
|
|
461
489
|
return pulumi.get(self, "tags")
|
|
462
490
|
|