pulumi-alicloud 3.62.0a1725945881__py3-none-any.whl → 3.62.1__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 +80 -0
- pulumi_alicloud/actiontrail/trail.py +2 -2
- pulumi_alicloud/adb/cluster.py +34 -0
- pulumi_alicloud/adb/db_cluster.py +47 -0
- pulumi_alicloud/amqp/binding.py +30 -36
- pulumi_alicloud/amqp/static_account.py +12 -12
- 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_peer_attachment.py +38 -20
- pulumi_alicloud/cen/transit_router_vpc_attachment.py +338 -119
- pulumi_alicloud/cen/transit_router_vpn_attachment.py +2 -2
- 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_repo.py +4 -4
- pulumi_alicloud/cs/registry_enterprise_sync_rule.py +10 -10
- pulumi_alicloud/ddos/_inputs.py +24 -0
- pulumi_alicloud/ddos/bgp_ip.py +1 -1
- pulumi_alicloud/ddos/outputs.py +37 -0
- pulumi_alicloud/ddos/port.py +110 -40
- pulumi_alicloud/ecs/_inputs.py +28 -0
- pulumi_alicloud/ecs/outputs.py +20 -0
- pulumi_alicloud/emrv2/_inputs.py +20 -20
- pulumi_alicloud/emrv2/get_clusters.py +25 -4
- pulumi_alicloud/emrv2/outputs.py +24 -24
- pulumi_alicloud/ens/_inputs.py +137 -2
- pulumi_alicloud/ens/instance.py +428 -184
- pulumi_alicloud/ens/load_balancer.py +74 -25
- pulumi_alicloud/ens/outputs.py +141 -2
- pulumi_alicloud/expressconnect/physical_connection.py +321 -185
- pulumi_alicloud/fc/__init__.py +3 -0
- pulumi_alicloud/fc/_inputs.py +320 -8
- pulumi_alicloud/fc/outputs.py +321 -8
- pulumi_alicloud/fc/trigger.py +22 -24
- pulumi_alicloud/fc/v3_layer_version.py +511 -0
- pulumi_alicloud/fc/v3_provision_config.py +676 -0
- pulumi_alicloud/fc/v3_vpc_binding.py +283 -0
- pulumi_alicloud/ga/endpoint_group.py +68 -14
- pulumi_alicloud/ga/get_endpoint_group_ip_address_cidr_blocks.py +18 -3
- pulumi_alicloud/gpdb/__init__.py +2 -0
- pulumi_alicloud/gpdb/account.py +172 -83
- pulumi_alicloud/gpdb/db_resource_group.py +54 -9
- pulumi_alicloud/gpdb/hadoop_data_source.py +1135 -0
- pulumi_alicloud/gpdb/jdbc_data_source.py +643 -0
- pulumi_alicloud/hbr/_inputs.py +14 -14
- pulumi_alicloud/hbr/outputs.py +14 -14
- pulumi_alicloud/hbr/policy.py +18 -18
- pulumi_alicloud/hbr/policy_binding.py +203 -62
- 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/quotas/__init__.py +1 -0
- pulumi_alicloud/quotas/template_service.py +165 -0
- pulumi_alicloud/rds/rds_db_proxy.py +61 -0
- pulumi_alicloud/servicecatalog/__init__.py +4 -0
- pulumi_alicloud/servicecatalog/portfolio.py +31 -31
- pulumi_alicloud/servicecatalog/principal_portfolio_association.py +354 -0
- pulumi_alicloud/servicecatalog/product.py +383 -0
- pulumi_alicloud/servicecatalog/product_portfolio_association.py +222 -0
- pulumi_alicloud/servicecatalog/product_version.py +539 -0
- pulumi_alicloud/servicemesh/extension_provider.py +2 -2
- pulumi_alicloud/vpc/common_bandwith_package_attachment.py +2 -2
- pulumi_alicloud/vpc/get_route_tables.py +28 -5
- pulumi_alicloud/vpc/outputs.py +2 -2
- {pulumi_alicloud-3.62.0a1725945881.dist-info → pulumi_alicloud-3.62.1.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.62.0a1725945881.dist-info → pulumi_alicloud-3.62.1.dist-info}/RECORD +80 -70
- {pulumi_alicloud-3.62.0a1725945881.dist-info → pulumi_alicloud-3.62.1.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.62.0a1725945881.dist-info → pulumi_alicloud-3.62.1.dist-info}/top_level.txt +0 -0
pulumi_alicloud/nlb/_inputs.py
CHANGED
|
@@ -23,9 +23,12 @@ class LoadBalancerDeletionProtectionConfigArgs:
|
|
|
23
23
|
enabled_time: Optional[pulumi.Input[str]] = None,
|
|
24
24
|
reason: Optional[pulumi.Input[str]] = None):
|
|
25
25
|
"""
|
|
26
|
-
:param pulumi.Input[bool] enabled:
|
|
27
|
-
:param pulumi.Input[str] enabled_time: Opening time.
|
|
28
|
-
:param pulumi.Input[str] reason:
|
|
26
|
+
:param pulumi.Input[bool] enabled: Specifies whether to enable deletion protection. Valid values:
|
|
27
|
+
:param pulumi.Input[str] enabled_time: Opening time of the configuration read-only mode.
|
|
28
|
+
:param pulumi.Input[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.
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
> **NOTE:** This parameter takes effect only when `DeletionProtectionEnabled` is set to `true`.
|
|
29
32
|
"""
|
|
30
33
|
if enabled is not None:
|
|
31
34
|
pulumi.set(__self__, "enabled", enabled)
|
|
@@ -38,7 +41,7 @@ class LoadBalancerDeletionProtectionConfigArgs:
|
|
|
38
41
|
@pulumi.getter
|
|
39
42
|
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
40
43
|
"""
|
|
41
|
-
|
|
44
|
+
Specifies whether to enable deletion protection. Valid values:
|
|
42
45
|
"""
|
|
43
46
|
return pulumi.get(self, "enabled")
|
|
44
47
|
|
|
@@ -50,7 +53,7 @@ class LoadBalancerDeletionProtectionConfigArgs:
|
|
|
50
53
|
@pulumi.getter(name="enabledTime")
|
|
51
54
|
def enabled_time(self) -> Optional[pulumi.Input[str]]:
|
|
52
55
|
"""
|
|
53
|
-
Opening time.
|
|
56
|
+
Opening time of the configuration read-only mode.
|
|
54
57
|
"""
|
|
55
58
|
return pulumi.get(self, "enabled_time")
|
|
56
59
|
|
|
@@ -62,7 +65,10 @@ class LoadBalancerDeletionProtectionConfigArgs:
|
|
|
62
65
|
@pulumi.getter
|
|
63
66
|
def reason(self) -> Optional[pulumi.Input[str]]:
|
|
64
67
|
"""
|
|
65
|
-
|
|
68
|
+
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.
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
> **NOTE:** This parameter takes effect only when `DeletionProtectionEnabled` is set to `true`.
|
|
66
72
|
"""
|
|
67
73
|
return pulumi.get(self, "reason")
|
|
68
74
|
|
|
@@ -78,9 +84,15 @@ class LoadBalancerModificationProtectionConfigArgs:
|
|
|
78
84
|
reason: Optional[pulumi.Input[str]] = None,
|
|
79
85
|
status: Optional[pulumi.Input[str]] = None):
|
|
80
86
|
"""
|
|
81
|
-
:param pulumi.Input[str] enabled_time: Opening time.
|
|
82
|
-
:param pulumi.Input[str] reason:
|
|
83
|
-
|
|
87
|
+
:param pulumi.Input[str] enabled_time: Opening time of the configuration read-only mode.
|
|
88
|
+
:param pulumi.Input[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.
|
|
89
|
+
|
|
90
|
+
> **NOTE:** This parameter takes effect only if the `status` parameter is set to `ConsoleProtection`.
|
|
91
|
+
:param pulumi.Input[str] status: Specifies whether to enable the configuration read-only mode. Valid values:
|
|
92
|
+
- `NonProtection`: disables the configuration read-only mode. In this case, you cannot set the `ModificationProtectionReason` parameter. If you specify `ModificationProtectionReason`, the value is cleared.
|
|
93
|
+
- `ConsoleProtection`: enables the configuration read-only mode. In this case, you can specify `ModificationProtectionReason`.
|
|
94
|
+
|
|
95
|
+
> **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.
|
|
84
96
|
"""
|
|
85
97
|
if enabled_time is not None:
|
|
86
98
|
pulumi.set(__self__, "enabled_time", enabled_time)
|
|
@@ -93,7 +105,7 @@ class LoadBalancerModificationProtectionConfigArgs:
|
|
|
93
105
|
@pulumi.getter(name="enabledTime")
|
|
94
106
|
def enabled_time(self) -> Optional[pulumi.Input[str]]:
|
|
95
107
|
"""
|
|
96
|
-
Opening time.
|
|
108
|
+
Opening time of the configuration read-only mode.
|
|
97
109
|
"""
|
|
98
110
|
return pulumi.get(self, "enabled_time")
|
|
99
111
|
|
|
@@ -105,7 +117,9 @@ class LoadBalancerModificationProtectionConfigArgs:
|
|
|
105
117
|
@pulumi.getter
|
|
106
118
|
def reason(self) -> Optional[pulumi.Input[str]]:
|
|
107
119
|
"""
|
|
108
|
-
|
|
120
|
+
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`.
|
|
109
123
|
"""
|
|
110
124
|
return pulumi.get(self, "reason")
|
|
111
125
|
|
|
@@ -117,7 +131,11 @@ class LoadBalancerModificationProtectionConfigArgs:
|
|
|
117
131
|
@pulumi.getter
|
|
118
132
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
119
133
|
"""
|
|
120
|
-
|
|
134
|
+
Specifies whether to enable the configuration read-only mode. Valid values:
|
|
135
|
+
- `NonProtection`: disables the configuration read-only mode. In this case, you cannot set the `ModificationProtectionReason` parameter. If you specify `ModificationProtectionReason`, the value is cleared.
|
|
136
|
+
- `ConsoleProtection`: enables the configuration read-only mode. In this case, you can specify `ModificationProtectionReason`.
|
|
137
|
+
|
|
138
|
+
> **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.
|
|
121
139
|
"""
|
|
122
140
|
return pulumi.get(self, "status")
|
|
123
141
|
|
|
@@ -138,14 +156,16 @@ class LoadBalancerZoneMappingArgs:
|
|
|
138
156
|
public_ipv4_address: Optional[pulumi.Input[str]] = None,
|
|
139
157
|
status: Optional[pulumi.Input[str]] = None):
|
|
140
158
|
"""
|
|
141
|
-
:param pulumi.Input[str] vswitch_id: The
|
|
142
|
-
:param pulumi.Input[str] zone_id: The
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
:param pulumi.Input[str]
|
|
146
|
-
:param pulumi.Input[str]
|
|
159
|
+
:param pulumi.Input[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.
|
|
160
|
+
:param pulumi.Input[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.
|
|
161
|
+
|
|
162
|
+
You can call the [DescribeZones](https://www.alibabacloud.com/help/en/doc-detail/443890.html) operation to query the most recent zone list.
|
|
163
|
+
:param pulumi.Input[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.
|
|
164
|
+
:param pulumi.Input[str] eni_id: The ID of the elastic network interface (ENI).
|
|
165
|
+
:param pulumi.Input[str] ipv6_address: The IPv6 address of the NLB instance.
|
|
166
|
+
:param pulumi.Input[str] private_ipv4_address: The private IP address. You must add at least two zones. You can add a maximum of 10 zones.
|
|
147
167
|
:param pulumi.Input[str] public_ipv4_address: Public IPv4 address of a network-based server load balancer instance.
|
|
148
|
-
:param pulumi.Input[str] status: Zone Status
|
|
168
|
+
:param pulumi.Input[str] status: Zone Status
|
|
149
169
|
"""
|
|
150
170
|
pulumi.set(__self__, "vswitch_id", vswitch_id)
|
|
151
171
|
pulumi.set(__self__, "zone_id", zone_id)
|
|
@@ -166,7 +186,7 @@ class LoadBalancerZoneMappingArgs:
|
|
|
166
186
|
@pulumi.getter(name="vswitchId")
|
|
167
187
|
def vswitch_id(self) -> pulumi.Input[str]:
|
|
168
188
|
"""
|
|
169
|
-
The
|
|
189
|
+
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.
|
|
170
190
|
"""
|
|
171
191
|
return pulumi.get(self, "vswitch_id")
|
|
172
192
|
|
|
@@ -178,7 +198,9 @@ class LoadBalancerZoneMappingArgs:
|
|
|
178
198
|
@pulumi.getter(name="zoneId")
|
|
179
199
|
def zone_id(self) -> pulumi.Input[str]:
|
|
180
200
|
"""
|
|
181
|
-
The
|
|
201
|
+
The ID of the zone of the NLB instance. You must add at least two zones. You can add a maximum of 10 zones.
|
|
202
|
+
|
|
203
|
+
You can call the [DescribeZones](https://www.alibabacloud.com/help/en/doc-detail/443890.html) operation to query the most recent zone list.
|
|
182
204
|
"""
|
|
183
205
|
return pulumi.get(self, "zone_id")
|
|
184
206
|
|
|
@@ -190,7 +212,7 @@ class LoadBalancerZoneMappingArgs:
|
|
|
190
212
|
@pulumi.getter(name="allocationId")
|
|
191
213
|
def allocation_id(self) -> Optional[pulumi.Input[str]]:
|
|
192
214
|
"""
|
|
193
|
-
The ID of the elastic IP address.
|
|
215
|
+
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.
|
|
194
216
|
"""
|
|
195
217
|
return pulumi.get(self, "allocation_id")
|
|
196
218
|
|
|
@@ -202,7 +224,7 @@ class LoadBalancerZoneMappingArgs:
|
|
|
202
224
|
@pulumi.getter(name="eniId")
|
|
203
225
|
def eni_id(self) -> Optional[pulumi.Input[str]]:
|
|
204
226
|
"""
|
|
205
|
-
The ID of ENI.
|
|
227
|
+
The ID of the elastic network interface (ENI).
|
|
206
228
|
"""
|
|
207
229
|
return pulumi.get(self, "eni_id")
|
|
208
230
|
|
|
@@ -214,7 +236,7 @@ class LoadBalancerZoneMappingArgs:
|
|
|
214
236
|
@pulumi.getter(name="ipv6Address")
|
|
215
237
|
def ipv6_address(self) -> Optional[pulumi.Input[str]]:
|
|
216
238
|
"""
|
|
217
|
-
The IPv6 address of
|
|
239
|
+
The IPv6 address of the NLB instance.
|
|
218
240
|
"""
|
|
219
241
|
return pulumi.get(self, "ipv6_address")
|
|
220
242
|
|
|
@@ -226,7 +248,7 @@ class LoadBalancerZoneMappingArgs:
|
|
|
226
248
|
@pulumi.getter(name="privateIpv4Address")
|
|
227
249
|
def private_ipv4_address(self) -> Optional[pulumi.Input[str]]:
|
|
228
250
|
"""
|
|
229
|
-
The private
|
|
251
|
+
The private IP address. You must add at least two zones. You can add a maximum of 10 zones.
|
|
230
252
|
"""
|
|
231
253
|
return pulumi.get(self, "private_ipv4_address")
|
|
232
254
|
|
|
@@ -250,7 +272,7 @@ class LoadBalancerZoneMappingArgs:
|
|
|
250
272
|
@pulumi.getter
|
|
251
273
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
252
274
|
"""
|
|
253
|
-
Zone Status
|
|
275
|
+
Zone Status
|
|
254
276
|
"""
|
|
255
277
|
return pulumi.get(self, "status")
|
|
256
278
|
|
|
@@ -274,25 +296,42 @@ class ServerGroupHealthCheckArgs:
|
|
|
274
296
|
http_check_method: Optional[pulumi.Input[str]] = None,
|
|
275
297
|
unhealthy_threshold: Optional[pulumi.Input[int]] = None):
|
|
276
298
|
"""
|
|
277
|
-
:param pulumi.Input[int] health_check_connect_port: The port
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
:param pulumi.Input[
|
|
284
|
-
-
|
|
285
|
-
|
|
286
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] health_check_http_codes:
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
:param pulumi.Input[
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
:param pulumi.Input[
|
|
299
|
+
:param pulumi.Input[int] health_check_connect_port: The port that you want to use for health checks on backend servers.
|
|
300
|
+
|
|
301
|
+
Valid values: `0` to `65535`.
|
|
302
|
+
|
|
303
|
+
Default value: `0`. If you set the value to 0, the port of the backend server is used for health checks.
|
|
304
|
+
:param pulumi.Input[int] health_check_connect_timeout: The maximum timeout period of a health check. Unit: seconds. Valid values: `1` to `300`. Default value: `5`.
|
|
305
|
+
:param pulumi.Input[str] health_check_domain: The domain name that you want to use for health checks. Valid values:
|
|
306
|
+
- `$SERVER_IP`: the private IP address of a backend server.
|
|
307
|
+
:param pulumi.Input[bool] health_check_enabled: Specifies whether to enable the health check feature. Valid values:
|
|
308
|
+
:param pulumi.Input[Sequence[pulumi.Input[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`.
|
|
309
|
+
|
|
310
|
+
> **NOTE:** This parameter takes effect only when `HealthCheckType` is set to `HTTP`.
|
|
311
|
+
:param pulumi.Input[int] health_check_interval: The interval at which health checks are performed. Unit: seconds.
|
|
312
|
+
|
|
313
|
+
Valid values: `5` to `50`.
|
|
314
|
+
|
|
315
|
+
Default value: `10`.
|
|
316
|
+
:param pulumi.Input[str] health_check_type: The protocol that you want to use for health checks. Valid values: `TCP` (default) and `HTTP`.
|
|
317
|
+
:param pulumi.Input[str] health_check_url: The path to which health check requests are sent.
|
|
318
|
+
|
|
319
|
+
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 (/).
|
|
320
|
+
|
|
321
|
+
> **NOTE:** This parameter takes effect only when `HealthCheckType` is set to `HTTP`.
|
|
322
|
+
: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`.
|
|
323
|
+
|
|
324
|
+
Valid values: `2` to `10`.
|
|
325
|
+
|
|
326
|
+
Default value: `2`.
|
|
327
|
+
:param pulumi.Input[str] http_check_method: The HTTP method that is used for health checks. Valid values: `GET` (default) and `HEAD`.
|
|
328
|
+
|
|
329
|
+
> **NOTE:** This parameter takes effect only when `HealthCheckType` is set to `HTTP`.
|
|
330
|
+
: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`.
|
|
331
|
+
|
|
332
|
+
Valid values: `2` to `10`.
|
|
333
|
+
|
|
334
|
+
Default value: `2`.
|
|
296
335
|
"""
|
|
297
336
|
if health_check_connect_port is not None:
|
|
298
337
|
pulumi.set(__self__, "health_check_connect_port", health_check_connect_port)
|
|
@@ -321,7 +360,11 @@ class ServerGroupHealthCheckArgs:
|
|
|
321
360
|
@pulumi.getter(name="healthCheckConnectPort")
|
|
322
361
|
def health_check_connect_port(self) -> Optional[pulumi.Input[int]]:
|
|
323
362
|
"""
|
|
324
|
-
The port
|
|
363
|
+
The port that you want to use for health checks on backend servers.
|
|
364
|
+
|
|
365
|
+
Valid values: `0` to `65535`.
|
|
366
|
+
|
|
367
|
+
Default value: `0`. If you set the value to 0, the port of the backend server is used for health checks.
|
|
325
368
|
"""
|
|
326
369
|
return pulumi.get(self, "health_check_connect_port")
|
|
327
370
|
|
|
@@ -333,7 +376,7 @@ class ServerGroupHealthCheckArgs:
|
|
|
333
376
|
@pulumi.getter(name="healthCheckConnectTimeout")
|
|
334
377
|
def health_check_connect_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
335
378
|
"""
|
|
336
|
-
|
|
379
|
+
The maximum timeout period of a health check. Unit: seconds. Valid values: `1` to `300`. Default value: `5`.
|
|
337
380
|
"""
|
|
338
381
|
return pulumi.get(self, "health_check_connect_timeout")
|
|
339
382
|
|
|
@@ -345,10 +388,8 @@ class ServerGroupHealthCheckArgs:
|
|
|
345
388
|
@pulumi.getter(name="healthCheckDomain")
|
|
346
389
|
def health_check_domain(self) -> Optional[pulumi.Input[str]]:
|
|
347
390
|
"""
|
|
348
|
-
The domain name
|
|
349
|
-
-
|
|
350
|
-
- **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.
|
|
351
|
-
> **NOTE:** This parameter takes effect only when **HealthCheckType** is **HTTP**.
|
|
391
|
+
The domain name that you want to use for health checks. Valid values:
|
|
392
|
+
- `$SERVER_IP`: the private IP address of a backend server.
|
|
352
393
|
"""
|
|
353
394
|
return pulumi.get(self, "health_check_domain")
|
|
354
395
|
|
|
@@ -360,9 +401,7 @@ class ServerGroupHealthCheckArgs:
|
|
|
360
401
|
@pulumi.getter(name="healthCheckEnabled")
|
|
361
402
|
def health_check_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
362
403
|
"""
|
|
363
|
-
|
|
364
|
-
- **true**: on.
|
|
365
|
-
- **false**: closed.
|
|
404
|
+
Specifies whether to enable the health check feature. Valid values:
|
|
366
405
|
"""
|
|
367
406
|
return pulumi.get(self, "health_check_enabled")
|
|
368
407
|
|
|
@@ -374,8 +413,9 @@ class ServerGroupHealthCheckArgs:
|
|
|
374
413
|
@pulumi.getter(name="healthCheckHttpCodes")
|
|
375
414
|
def health_check_http_codes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
376
415
|
"""
|
|
377
|
-
|
|
378
|
-
|
|
416
|
+
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`.
|
|
417
|
+
|
|
418
|
+
> **NOTE:** This parameter takes effect only when `HealthCheckType` is set to `HTTP`.
|
|
379
419
|
"""
|
|
380
420
|
return pulumi.get(self, "health_check_http_codes")
|
|
381
421
|
|
|
@@ -387,7 +427,11 @@ class ServerGroupHealthCheckArgs:
|
|
|
387
427
|
@pulumi.getter(name="healthCheckInterval")
|
|
388
428
|
def health_check_interval(self) -> Optional[pulumi.Input[int]]:
|
|
389
429
|
"""
|
|
390
|
-
|
|
430
|
+
The interval at which health checks are performed. Unit: seconds.
|
|
431
|
+
|
|
432
|
+
Valid values: `5` to `50`.
|
|
433
|
+
|
|
434
|
+
Default value: `10`.
|
|
391
435
|
"""
|
|
392
436
|
return pulumi.get(self, "health_check_interval")
|
|
393
437
|
|
|
@@ -399,7 +443,7 @@ class ServerGroupHealthCheckArgs:
|
|
|
399
443
|
@pulumi.getter(name="healthCheckType")
|
|
400
444
|
def health_check_type(self) -> Optional[pulumi.Input[str]]:
|
|
401
445
|
"""
|
|
402
|
-
|
|
446
|
+
The protocol that you want to use for health checks. Valid values: `TCP` (default) and `HTTP`.
|
|
403
447
|
"""
|
|
404
448
|
return pulumi.get(self, "health_check_type")
|
|
405
449
|
|
|
@@ -411,8 +455,11 @@ class ServerGroupHealthCheckArgs:
|
|
|
411
455
|
@pulumi.getter(name="healthCheckUrl")
|
|
412
456
|
def health_check_url(self) -> Optional[pulumi.Input[str]]:
|
|
413
457
|
"""
|
|
414
|
-
|
|
415
|
-
|
|
458
|
+
The path to which health check requests are sent.
|
|
459
|
+
|
|
460
|
+
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 (/).
|
|
461
|
+
|
|
462
|
+
> **NOTE:** This parameter takes effect only when `HealthCheckType` is set to `HTTP`.
|
|
416
463
|
"""
|
|
417
464
|
return pulumi.get(self, "health_check_url")
|
|
418
465
|
|
|
@@ -424,7 +471,11 @@ class ServerGroupHealthCheckArgs:
|
|
|
424
471
|
@pulumi.getter(name="healthyThreshold")
|
|
425
472
|
def healthy_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
426
473
|
"""
|
|
427
|
-
|
|
474
|
+
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`.
|
|
475
|
+
|
|
476
|
+
Valid values: `2` to `10`.
|
|
477
|
+
|
|
478
|
+
Default value: `2`.
|
|
428
479
|
"""
|
|
429
480
|
return pulumi.get(self, "healthy_threshold")
|
|
430
481
|
|
|
@@ -436,8 +487,9 @@ class ServerGroupHealthCheckArgs:
|
|
|
436
487
|
@pulumi.getter(name="httpCheckMethod")
|
|
437
488
|
def http_check_method(self) -> Optional[pulumi.Input[str]]:
|
|
438
489
|
"""
|
|
439
|
-
The health
|
|
440
|
-
|
|
490
|
+
The HTTP method that is used for health checks. Valid values: `GET` (default) and `HEAD`.
|
|
491
|
+
|
|
492
|
+
> **NOTE:** This parameter takes effect only when `HealthCheckType` is set to `HTTP`.
|
|
441
493
|
"""
|
|
442
494
|
return pulumi.get(self, "http_check_method")
|
|
443
495
|
|
|
@@ -449,7 +501,11 @@ class ServerGroupHealthCheckArgs:
|
|
|
449
501
|
@pulumi.getter(name="unhealthyThreshold")
|
|
450
502
|
def unhealthy_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
451
503
|
"""
|
|
452
|
-
|
|
504
|
+
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`.
|
|
505
|
+
|
|
506
|
+
Valid values: `2` to `10`.
|
|
507
|
+
|
|
508
|
+
Default value: `2`.
|
|
453
509
|
"""
|
|
454
510
|
return pulumi.get(self, "unhealthy_threshold")
|
|
455
511
|
|
|
@@ -58,11 +58,17 @@ class GetListenersResult:
|
|
|
58
58
|
@property
|
|
59
59
|
@pulumi.getter(name="listenerProtocol")
|
|
60
60
|
def listener_protocol(self) -> Optional[str]:
|
|
61
|
+
"""
|
|
62
|
+
The listening protocol. Valid values: `TCP`, `UDP`, or `TCPSSL`.
|
|
63
|
+
"""
|
|
61
64
|
return pulumi.get(self, "listener_protocol")
|
|
62
65
|
|
|
63
66
|
@property
|
|
64
67
|
@pulumi.getter
|
|
65
68
|
def listeners(self) -> Sequence['outputs.GetListenersListenerResult']:
|
|
69
|
+
"""
|
|
70
|
+
A list of Nlb Listeners. Each element contains the following attributes:
|
|
71
|
+
"""
|
|
66
72
|
return pulumi.get(self, "listeners")
|
|
67
73
|
|
|
68
74
|
@property
|
|
@@ -98,7 +104,19 @@ def get_listeners(ids: Optional[Sequence[str]] = None,
|
|
|
98
104
|
"""
|
|
99
105
|
This data source provides the Nlb Listeners of the current Alibaba Cloud user.
|
|
100
106
|
|
|
101
|
-
> **NOTE:** Available
|
|
107
|
+
> **NOTE:** Available since v1.191.0.
|
|
108
|
+
|
|
109
|
+
## Example Usage
|
|
110
|
+
|
|
111
|
+
Basic Usage
|
|
112
|
+
|
|
113
|
+
```python
|
|
114
|
+
import pulumi
|
|
115
|
+
import pulumi_alicloud as alicloud
|
|
116
|
+
|
|
117
|
+
ids = alicloud.nlb.get_listeners(ids=["example_value"])
|
|
118
|
+
pulumi.export("alicloudNlbListenerId1", ids.listeners[0].id)
|
|
119
|
+
```
|
|
102
120
|
|
|
103
121
|
|
|
104
122
|
:param Sequence[str] ids: A list of Listener IDs.
|
|
@@ -132,7 +150,19 @@ def get_listeners_output(ids: Optional[pulumi.Input[Optional[Sequence[str]]]] =
|
|
|
132
150
|
"""
|
|
133
151
|
This data source provides the Nlb Listeners of the current Alibaba Cloud user.
|
|
134
152
|
|
|
135
|
-
> **NOTE:** Available
|
|
153
|
+
> **NOTE:** Available since v1.191.0.
|
|
154
|
+
|
|
155
|
+
## Example Usage
|
|
156
|
+
|
|
157
|
+
Basic Usage
|
|
158
|
+
|
|
159
|
+
```python
|
|
160
|
+
import pulumi
|
|
161
|
+
import pulumi_alicloud as alicloud
|
|
162
|
+
|
|
163
|
+
ids = alicloud.nlb.get_listeners(ids=["example_value"])
|
|
164
|
+
pulumi.export("alicloudNlbListenerId1", ids.listeners[0].id)
|
|
165
|
+
```
|
|
136
166
|
|
|
137
167
|
|
|
138
168
|
:param Sequence[str] ids: A list of Listener IDs.
|
|
@@ -48,6 +48,9 @@ class GetServerGroupServerAttachmentsResult:
|
|
|
48
48
|
@property
|
|
49
49
|
@pulumi.getter
|
|
50
50
|
def attachments(self) -> Sequence['outputs.GetServerGroupServerAttachmentsAttachmentResult']:
|
|
51
|
+
"""
|
|
52
|
+
A list of Nlb Server Group Server Attachments. Each element contains the following attributes:
|
|
53
|
+
"""
|
|
51
54
|
return pulumi.get(self, "attachments")
|
|
52
55
|
|
|
53
56
|
@property
|
|
@@ -71,6 +74,9 @@ class GetServerGroupServerAttachmentsResult:
|
|
|
71
74
|
@property
|
|
72
75
|
@pulumi.getter(name="serverGroupId")
|
|
73
76
|
def server_group_id(self) -> Optional[str]:
|
|
77
|
+
"""
|
|
78
|
+
The ID of the server group.
|
|
79
|
+
"""
|
|
74
80
|
return pulumi.get(self, "server_group_id")
|
|
75
81
|
|
|
76
82
|
@property
|
|
@@ -108,7 +114,7 @@ def get_server_group_server_attachments(ids: Optional[Sequence[str]] = None,
|
|
|
108
114
|
"""
|
|
109
115
|
This data source provides the Nlb Server Group Server Attachments of the current Alibaba Cloud user.
|
|
110
116
|
|
|
111
|
-
> **NOTE:** Available
|
|
117
|
+
> **NOTE:** Available since v1.192.0.
|
|
112
118
|
|
|
113
119
|
## Example Usage
|
|
114
120
|
|
|
@@ -158,7 +164,7 @@ def get_server_group_server_attachments_output(ids: Optional[pulumi.Input[Option
|
|
|
158
164
|
"""
|
|
159
165
|
This data source provides the Nlb Server Group Server Attachments of the current Alibaba Cloud user.
|
|
160
166
|
|
|
161
|
-
> **NOTE:** Available
|
|
167
|
+
> **NOTE:** Available since v1.192.0.
|
|
162
168
|
|
|
163
169
|
## Example Usage
|
|
164
170
|
|