pulumi-alicloud 3.74.0a1737782319__py3-none-any.whl → 3.75.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-alicloud might be problematic. Click here for more details.
- pulumi_alicloud/__init__.py +310 -0
- pulumi_alicloud/_inputs.py +33 -0
- pulumi_alicloud/_utilities.py +8 -4
- pulumi_alicloud/ackone/__init__.py +1 -0
- pulumi_alicloud/ackone/cluster.py +73 -8
- pulumi_alicloud/ackone/membership_attachment.py +223 -0
- pulumi_alicloud/alb/__init__.py +1 -0
- pulumi_alicloud/alb/_inputs.py +1109 -246
- pulumi_alicloud/alb/get_server_groups.py +55 -25
- pulumi_alicloud/alb/listener.py +269 -174
- pulumi_alicloud/alb/load_balancer.py +211 -118
- pulumi_alicloud/alb/load_balancer_security_group_attachment.py +69 -22
- pulumi_alicloud/alb/load_balancer_zone_shifted_attachment.py +303 -0
- pulumi_alicloud/alb/outputs.py +856 -220
- pulumi_alicloud/alb/server_group.py +661 -96
- pulumi_alicloud/aligreen/audit_callback.py +2 -2
- pulumi_alicloud/aligreen/biz_type.py +2 -2
- pulumi_alicloud/aligreen/callback.py +2 -2
- pulumi_alicloud/aligreen/image_lib.py +2 -2
- pulumi_alicloud/aligreen/keyword_lib.py +2 -2
- pulumi_alicloud/aligreen/oss_stock_task.py +77 -14
- pulumi_alicloud/apigateway/instance.py +51 -4
- pulumi_alicloud/cen/_inputs.py +34 -0
- pulumi_alicloud/cen/outputs.py +37 -0
- pulumi_alicloud/cen/transit_router_multicast_domain.py +123 -36
- pulumi_alicloud/cfg/aggregate_compliance_pack.py +6 -4
- pulumi_alicloud/cfg/aggregate_config_rule.py +6 -4
- pulumi_alicloud/cfg/aggregator.py +6 -4
- pulumi_alicloud/cloudcontrol/get_prices.py +2 -2
- pulumi_alicloud/cloudcontrol/get_products.py +2 -2
- pulumi_alicloud/cloudcontrol/get_resource_types.py +2 -2
- pulumi_alicloud/cloudcontrol/resource.py +2 -2
- pulumi_alicloud/cloudfirewall/__init__.py +2 -0
- pulumi_alicloud/cloudfirewall/get_nat_firewalls.py +315 -0
- pulumi_alicloud/cloudfirewall/get_vpc_cen_tr_firewalls.py +569 -0
- pulumi_alicloud/cloudfirewall/outputs.py +362 -0
- pulumi_alicloud/cloudphone/__init__.py +12 -0
- pulumi_alicloud/cloudphone/_inputs.py +175 -0
- pulumi_alicloud/cloudphone/image.py +323 -0
- pulumi_alicloud/cloudphone/key_pair.py +294 -0
- pulumi_alicloud/cloudphone/outputs.py +138 -0
- pulumi_alicloud/cloudphone/policy.py +522 -0
- pulumi_alicloud/cloudphoneinstance/__init__.py +9 -0
- pulumi_alicloud/cloudphoneinstance/cloud_phone_instance.py +209 -0
- pulumi_alicloud/cloudphoneinstance/group.py +961 -0
- pulumi_alicloud/cms/get_site_monitors.py +2 -2
- pulumi_alicloud/config/outputs.py +20 -0
- pulumi_alicloud/cs/_inputs.py +358 -10
- pulumi_alicloud/cs/get_kubernetes_clusters.py +5 -4
- pulumi_alicloud/cs/get_managed_kubernetes_clusters.py +5 -4
- pulumi_alicloud/cs/get_serverless_kubernetes_clusters.py +5 -4
- pulumi_alicloud/cs/kubernetes.py +15 -15
- pulumi_alicloud/cs/managed_kubernetes.py +47 -35
- pulumi_alicloud/cs/node_pool.py +126 -23
- pulumi_alicloud/cs/outputs.py +271 -7
- pulumi_alicloud/ddos/ddos_bgp_instance.py +0 -4
- pulumi_alicloud/dfs/file_system.py +62 -23
- pulumi_alicloud/dfs/mount_point.py +48 -22
- pulumi_alicloud/dfs/vsc_mount_point.py +28 -28
- pulumi_alicloud/dns/ddos_bgp_instance.py +0 -4
- pulumi_alicloud/ebs/replica_group_drill.py +2 -2
- pulumi_alicloud/ebs/replica_pair_drill.py +2 -2
- pulumi_alicloud/ecs/ecs_deployment_set.py +89 -67
- pulumi_alicloud/ecs/eip.py +1 -1
- pulumi_alicloud/ecs/eip_address.py +1 -1
- pulumi_alicloud/ecs/instance.py +43 -30
- pulumi_alicloud/eds/command.py +10 -2
- pulumi_alicloud/emrv2/__init__.py +1 -0
- pulumi_alicloud/emrv2/_inputs.py +47 -7
- pulumi_alicloud/emrv2/get_cluster_instances.py +537 -0
- pulumi_alicloud/emrv2/outputs.py +195 -5
- pulumi_alicloud/ens/instance_security_group_attachment.py +8 -4
- pulumi_alicloud/ens/nat_gateway.py +6 -6
- pulumi_alicloud/ens/vswitch.py +36 -36
- pulumi_alicloud/esa/__init__.py +22 -0
- pulumi_alicloud/esa/_inputs.py +512 -0
- pulumi_alicloud/esa/cache_rule.py +1405 -0
- pulumi_alicloud/esa/certificate.py +724 -0
- pulumi_alicloud/esa/client_ca_certificate.py +388 -0
- pulumi_alicloud/esa/client_certificate.py +452 -0
- pulumi_alicloud/esa/compression_rule.py +582 -0
- pulumi_alicloud/esa/get_sites.py +421 -0
- pulumi_alicloud/esa/http_request_header_modification_rule.py +531 -0
- pulumi_alicloud/esa/http_response_header_modification_rule.py +560 -0
- pulumi_alicloud/esa/https_application_configuration.py +925 -0
- pulumi_alicloud/esa/https_basic_configuration.py +1027 -0
- pulumi_alicloud/esa/image_transform.py +484 -0
- pulumi_alicloud/esa/kv_namespace.py +276 -0
- pulumi_alicloud/esa/list.py +361 -0
- pulumi_alicloud/esa/network_optimization.py +750 -0
- pulumi_alicloud/esa/origin_pool.py +485 -0
- pulumi_alicloud/esa/origin_rule.py +768 -0
- pulumi_alicloud/esa/outputs.py +473 -0
- pulumi_alicloud/esa/page.py +376 -0
- pulumi_alicloud/esa/rate_plan_instance.py +63 -7
- pulumi_alicloud/esa/record.py +2 -2
- pulumi_alicloud/esa/redirect_rule.py +734 -0
- pulumi_alicloud/esa/rewrite_url_rule.py +702 -0
- pulumi_alicloud/esa/site.py +307 -2
- pulumi_alicloud/esa/waiting_room.py +1257 -0
- pulumi_alicloud/esa/waiting_room_event.py +1392 -0
- pulumi_alicloud/esa/waiting_room_rule.py +504 -0
- pulumi_alicloud/ess/get_scaling_groups.py +64 -10
- pulumi_alicloud/ess/get_scaling_rules.py +74 -10
- pulumi_alicloud/ess/outputs.py +357 -17
- pulumi_alicloud/ess/scaling_configuration.py +7 -7
- pulumi_alicloud/eventbridge/get_service.py +2 -6
- pulumi_alicloud/expressconnect/ec_failover_test_job.py +0 -2
- pulumi_alicloud/expressconnect/vbr_pconn_association.py +2 -2
- pulumi_alicloud/fc/_inputs.py +75 -75
- pulumi_alicloud/fc/outputs.py +50 -50
- pulumi_alicloud/fc/v3_function.py +53 -6
- pulumi_alicloud/ga/get_basic_accelerators.py +31 -9
- pulumi_alicloud/ga/outputs.py +10 -4
- pulumi_alicloud/gpdb/db_resource_group.py +6 -6
- pulumi_alicloud/gpdb/external_data_service.py +6 -6
- pulumi_alicloud/gpdb/streaming_data_service.py +2 -2
- pulumi_alicloud/hbr/policy.py +67 -6
- pulumi_alicloud/hbr/vault.py +210 -9
- pulumi_alicloud/kms/__init__.py +1 -0
- pulumi_alicloud/kms/get_instances.py +160 -0
- pulumi_alicloud/kms/get_keys.py +10 -0
- pulumi_alicloud/kms/instance.py +0 -60
- pulumi_alicloud/kms/outputs.py +19 -0
- pulumi_alicloud/maxcompute/__init__.py +5 -0
- pulumi_alicloud/maxcompute/_inputs.py +615 -42
- pulumi_alicloud/maxcompute/outputs.py +486 -28
- pulumi_alicloud/maxcompute/project.py +63 -31
- pulumi_alicloud/maxcompute/quota_plan.py +412 -0
- pulumi_alicloud/maxcompute/quota_schedule.py +260 -0
- pulumi_alicloud/maxcompute/role.py +423 -0
- pulumi_alicloud/maxcompute/role_user_attachment.py +368 -0
- pulumi_alicloud/maxcompute/tunnel_quota_timer.py +287 -0
- pulumi_alicloud/message/__init__.py +3 -0
- pulumi_alicloud/message/_inputs.py +149 -0
- pulumi_alicloud/message/outputs.py +112 -0
- pulumi_alicloud/message/service_endpoint.py +218 -0
- pulumi_alicloud/message/service_endpoint_acl.py +306 -0
- pulumi_alicloud/message/service_queue.py +49 -0
- pulumi_alicloud/message/service_subscription.py +91 -14
- pulumi_alicloud/mse/nacos_config.py +4 -0
- pulumi_alicloud/nlb/_inputs.py +114 -24
- pulumi_alicloud/nlb/listener.py +87 -20
- pulumi_alicloud/nlb/outputs.py +93 -16
- pulumi_alicloud/nlb/server_group.py +55 -20
- pulumi_alicloud/ots/_inputs.py +3 -3
- pulumi_alicloud/ots/outputs.py +2 -2
- pulumi_alicloud/pai/workspace_code_source.py +2 -2
- pulumi_alicloud/pai/workspace_dataset.py +2 -2
- pulumi_alicloud/pai/workspace_datasetversion.py +2 -4
- pulumi_alicloud/pai/workspace_experiment.py +2 -2
- pulumi_alicloud/pai/workspace_run.py +2 -2
- pulumi_alicloud/pai/workspace_workspace.py +2 -2
- pulumi_alicloud/privatelink/get_vpc_endpoints.py +21 -1
- pulumi_alicloud/privatelink/outputs.py +11 -0
- pulumi_alicloud/privatelink/vpc_endpoint.py +1 -1
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/access_key.py +20 -4
- pulumi_alicloud/ram/user.py +10 -2
- pulumi_alicloud/rds/instance.py +75 -0
- pulumi_alicloud/simpleapplicationserver/get_server_plans.py +7 -7
- pulumi_alicloud/simpleapplicationserver/outputs.py +3 -3
- pulumi_alicloud/tag/__init__.py +1 -0
- pulumi_alicloud/tag/associated_rule.py +306 -0
- pulumi_alicloud/tag/policy.py +27 -36
- pulumi_alicloud/vpc/__init__.py +2 -0
- pulumi_alicloud/vpc/common_bandwith_package.py +107 -44
- pulumi_alicloud/vpc/common_bandwith_package_attachment.py +2 -2
- pulumi_alicloud/vpc/flow_log.py +184 -49
- pulumi_alicloud/vpc/forward_entry.py +8 -4
- pulumi_alicloud/vpc/get_enhanced_nat_available_zones.py +38 -2
- pulumi_alicloud/vpc/get_forward_entries.py +2 -2
- pulumi_alicloud/vpc/get_ipsec_servers.py +14 -2
- pulumi_alicloud/vpc/get_nat_gateways.py +48 -2
- pulumi_alicloud/vpc/get_prefix_lists.py +11 -2
- pulumi_alicloud/vpc/get_snat_entries.py +5 -2
- pulumi_alicloud/vpc/get_traffic_mirror_filters.py +14 -2
- pulumi_alicloud/vpc/ipam_ipam.py +2 -9
- pulumi_alicloud/vpc/ipam_ipam_pool.py +49 -30
- pulumi_alicloud/vpc/ipam_ipam_pool_allocation.py +6 -16
- pulumi_alicloud/vpc/ipam_ipam_pool_cidr.py +2 -2
- pulumi_alicloud/vpc/ipam_ipam_resource_discovery.py +489 -0
- pulumi_alicloud/vpc/ipam_ipam_scope.py +49 -9
- pulumi_alicloud/vpc/ipam_service.py +144 -0
- pulumi_alicloud/vpc/ipv4_cidr_block.py +162 -51
- pulumi_alicloud/vpc/nat_gateway.py +8 -0
- pulumi_alicloud/vpc/outputs.py +12 -2
- pulumi_alicloud/vpc/router_interface_connection.py +4 -4
- pulumi_alicloud/vpc/traffic_mirror_filter.py +2 -2
- pulumi_alicloud/vpn/get_gateway_vco_routes.py +11 -2
- pulumi_alicloud/vpn/get_gateway_vpn_attachments.py +11 -2
- pulumi_alicloud/vpn/get_gateways.py +21 -1
- pulumi_alicloud/vpn/outputs.py +23 -12
- {pulumi_alicloud-3.74.0a1737782319.dist-info → pulumi_alicloud-3.75.0.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.74.0a1737782319.dist-info → pulumi_alicloud-3.75.0.dist-info}/RECORD +197 -149
- {pulumi_alicloud-3.74.0a1737782319.dist-info → pulumi_alicloud-3.75.0.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.74.0a1737782319.dist-info → pulumi_alicloud-3.75.0.dist-info}/top_level.txt +0 -0
|
@@ -13,6 +13,8 @@ if sys.version_info >= (3, 11):
|
|
|
13
13
|
else:
|
|
14
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
15
|
from .. import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
16
18
|
|
|
17
19
|
__all__ = ['ServiceSubscriptionArgs', 'ServiceSubscription']
|
|
18
20
|
|
|
@@ -23,6 +25,7 @@ class ServiceSubscriptionArgs:
|
|
|
23
25
|
push_type: pulumi.Input[str],
|
|
24
26
|
subscription_name: pulumi.Input[str],
|
|
25
27
|
topic_name: pulumi.Input[str],
|
|
28
|
+
dlq_policy: Optional[pulumi.Input['ServiceSubscriptionDlqPolicyArgs']] = None,
|
|
26
29
|
filter_tag: Optional[pulumi.Input[str]] = None,
|
|
27
30
|
notify_content_format: Optional[pulumi.Input[str]] = None,
|
|
28
31
|
notify_strategy: Optional[pulumi.Input[str]] = None):
|
|
@@ -35,6 +38,7 @@ class ServiceSubscriptionArgs:
|
|
|
35
38
|
:param pulumi.Input[str] push_type: The Push type of Subscription. The Valid values: `http`, `queue`, `mpush`, `alisms` and `email`.
|
|
36
39
|
:param pulumi.Input[str] subscription_name: Two topics subscription on a single account in the same topic cannot have the same name. A topic subscription name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 255 characters.
|
|
37
40
|
:param pulumi.Input[str] topic_name: The topic which The subscription belongs to was named with the name. A topic name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 255 characters.
|
|
41
|
+
:param pulumi.Input['ServiceSubscriptionDlqPolicyArgs'] dlq_policy: The dead-letter queue policy. See `dlq_policy` below.
|
|
38
42
|
:param pulumi.Input[str] filter_tag: The tag that is used to filter messages. Only the messages that have the same tag can be pushed. A tag is a string that can be up to 16 characters in length. By default, no tag is specified to filter messages.
|
|
39
43
|
:param pulumi.Input[str] notify_content_format: The NotifyContentFormat attribute of Subscription. This attribute specifies the content format of the messages pushed to users. Valid values: `XML`, `JSON` and `SIMPLIFIED`. Default value: `XML`.
|
|
40
44
|
:param pulumi.Input[str] notify_strategy: The NotifyStrategy attribute of Subscription. This attribute specifies the retry strategy when message sending fails. Default value: `BACKOFF_RETRY`. Valid values:
|
|
@@ -45,6 +49,8 @@ class ServiceSubscriptionArgs:
|
|
|
45
49
|
pulumi.set(__self__, "push_type", push_type)
|
|
46
50
|
pulumi.set(__self__, "subscription_name", subscription_name)
|
|
47
51
|
pulumi.set(__self__, "topic_name", topic_name)
|
|
52
|
+
if dlq_policy is not None:
|
|
53
|
+
pulumi.set(__self__, "dlq_policy", dlq_policy)
|
|
48
54
|
if filter_tag is not None:
|
|
49
55
|
pulumi.set(__self__, "filter_tag", filter_tag)
|
|
50
56
|
if notify_content_format is not None:
|
|
@@ -103,6 +109,18 @@ class ServiceSubscriptionArgs:
|
|
|
103
109
|
def topic_name(self, value: pulumi.Input[str]):
|
|
104
110
|
pulumi.set(self, "topic_name", value)
|
|
105
111
|
|
|
112
|
+
@property
|
|
113
|
+
@pulumi.getter(name="dlqPolicy")
|
|
114
|
+
def dlq_policy(self) -> Optional[pulumi.Input['ServiceSubscriptionDlqPolicyArgs']]:
|
|
115
|
+
"""
|
|
116
|
+
The dead-letter queue policy. See `dlq_policy` below.
|
|
117
|
+
"""
|
|
118
|
+
return pulumi.get(self, "dlq_policy")
|
|
119
|
+
|
|
120
|
+
@dlq_policy.setter
|
|
121
|
+
def dlq_policy(self, value: Optional[pulumi.Input['ServiceSubscriptionDlqPolicyArgs']]):
|
|
122
|
+
pulumi.set(self, "dlq_policy", value)
|
|
123
|
+
|
|
106
124
|
@property
|
|
107
125
|
@pulumi.getter(name="filterTag")
|
|
108
126
|
def filter_tag(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -145,6 +163,8 @@ class ServiceSubscriptionArgs:
|
|
|
145
163
|
@pulumi.input_type
|
|
146
164
|
class _ServiceSubscriptionState:
|
|
147
165
|
def __init__(__self__, *,
|
|
166
|
+
create_time: Optional[pulumi.Input[int]] = None,
|
|
167
|
+
dlq_policy: Optional[pulumi.Input['ServiceSubscriptionDlqPolicyArgs']] = None,
|
|
148
168
|
endpoint: Optional[pulumi.Input[str]] = None,
|
|
149
169
|
filter_tag: Optional[pulumi.Input[str]] = None,
|
|
150
170
|
notify_content_format: Optional[pulumi.Input[str]] = None,
|
|
@@ -154,6 +174,8 @@ class _ServiceSubscriptionState:
|
|
|
154
174
|
topic_name: Optional[pulumi.Input[str]] = None):
|
|
155
175
|
"""
|
|
156
176
|
Input properties used for looking up and filtering ServiceSubscription resources.
|
|
177
|
+
:param pulumi.Input[int] create_time: (Available since v1.244.0) The time when the subscription was created.
|
|
178
|
+
:param pulumi.Input['ServiceSubscriptionDlqPolicyArgs'] dlq_policy: The dead-letter queue policy. See `dlq_policy` below.
|
|
157
179
|
:param pulumi.Input[str] endpoint: The endpoint has three format. Available values format:
|
|
158
180
|
- `HTTP Format`: http://xxx.com/xxx
|
|
159
181
|
- `Queue Format`: acs:mns:{REGION}:{AccountID}:queues/{QueueName}
|
|
@@ -167,6 +189,10 @@ class _ServiceSubscriptionState:
|
|
|
167
189
|
:param pulumi.Input[str] subscription_name: Two topics subscription on a single account in the same topic cannot have the same name. A topic subscription name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 255 characters.
|
|
168
190
|
:param pulumi.Input[str] topic_name: The topic which The subscription belongs to was named with the name. A topic name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 255 characters.
|
|
169
191
|
"""
|
|
192
|
+
if create_time is not None:
|
|
193
|
+
pulumi.set(__self__, "create_time", create_time)
|
|
194
|
+
if dlq_policy is not None:
|
|
195
|
+
pulumi.set(__self__, "dlq_policy", dlq_policy)
|
|
170
196
|
if endpoint is not None:
|
|
171
197
|
pulumi.set(__self__, "endpoint", endpoint)
|
|
172
198
|
if filter_tag is not None:
|
|
@@ -182,6 +208,30 @@ class _ServiceSubscriptionState:
|
|
|
182
208
|
if topic_name is not None:
|
|
183
209
|
pulumi.set(__self__, "topic_name", topic_name)
|
|
184
210
|
|
|
211
|
+
@property
|
|
212
|
+
@pulumi.getter(name="createTime")
|
|
213
|
+
def create_time(self) -> Optional[pulumi.Input[int]]:
|
|
214
|
+
"""
|
|
215
|
+
(Available since v1.244.0) The time when the subscription was created.
|
|
216
|
+
"""
|
|
217
|
+
return pulumi.get(self, "create_time")
|
|
218
|
+
|
|
219
|
+
@create_time.setter
|
|
220
|
+
def create_time(self, value: Optional[pulumi.Input[int]]):
|
|
221
|
+
pulumi.set(self, "create_time", value)
|
|
222
|
+
|
|
223
|
+
@property
|
|
224
|
+
@pulumi.getter(name="dlqPolicy")
|
|
225
|
+
def dlq_policy(self) -> Optional[pulumi.Input['ServiceSubscriptionDlqPolicyArgs']]:
|
|
226
|
+
"""
|
|
227
|
+
The dead-letter queue policy. See `dlq_policy` below.
|
|
228
|
+
"""
|
|
229
|
+
return pulumi.get(self, "dlq_policy")
|
|
230
|
+
|
|
231
|
+
@dlq_policy.setter
|
|
232
|
+
def dlq_policy(self, value: Optional[pulumi.Input['ServiceSubscriptionDlqPolicyArgs']]):
|
|
233
|
+
pulumi.set(self, "dlq_policy", value)
|
|
234
|
+
|
|
185
235
|
@property
|
|
186
236
|
@pulumi.getter
|
|
187
237
|
def endpoint(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -277,6 +327,7 @@ class ServiceSubscription(pulumi.CustomResource):
|
|
|
277
327
|
def __init__(__self__,
|
|
278
328
|
resource_name: str,
|
|
279
329
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
330
|
+
dlq_policy: Optional[pulumi.Input[Union['ServiceSubscriptionDlqPolicyArgs', 'ServiceSubscriptionDlqPolicyArgsDict']]] = None,
|
|
280
331
|
endpoint: Optional[pulumi.Input[str]] = None,
|
|
281
332
|
filter_tag: Optional[pulumi.Input[str]] = None,
|
|
282
333
|
notify_content_format: Optional[pulumi.Input[str]] = None,
|
|
@@ -286,9 +337,9 @@ class ServiceSubscription(pulumi.CustomResource):
|
|
|
286
337
|
topic_name: Optional[pulumi.Input[str]] = None,
|
|
287
338
|
__props__=None):
|
|
288
339
|
"""
|
|
289
|
-
Provides a Message
|
|
340
|
+
Provides a Message Service Subscription resource.
|
|
290
341
|
|
|
291
|
-
For information about Message
|
|
342
|
+
For information about Message Service Subscription and how to use it, see [What is Subscription](https://www.alibabacloud.com/help/en/message-service/latest/subscribe-1).
|
|
292
343
|
|
|
293
344
|
> **NOTE:** Available since v1.188.0.
|
|
294
345
|
|
|
@@ -303,24 +354,24 @@ class ServiceSubscription(pulumi.CustomResource):
|
|
|
303
354
|
config = pulumi.Config()
|
|
304
355
|
name = config.get("name")
|
|
305
356
|
if name is None:
|
|
306
|
-
name = "
|
|
357
|
+
name = "terraform-example"
|
|
307
358
|
default = alicloud.message.ServiceTopic("default",
|
|
308
359
|
topic_name=name,
|
|
309
|
-
max_message_size=
|
|
310
|
-
|
|
360
|
+
max_message_size=16888,
|
|
361
|
+
enable_logging=True)
|
|
311
362
|
default_service_subscription = alicloud.message.ServiceSubscription("default",
|
|
312
363
|
topic_name=default.topic_name,
|
|
313
364
|
subscription_name=name,
|
|
314
365
|
endpoint="http://example.com",
|
|
315
366
|
push_type="http",
|
|
316
|
-
filter_tag=
|
|
367
|
+
filter_tag=name,
|
|
317
368
|
notify_content_format="XML",
|
|
318
369
|
notify_strategy="BACKOFF_RETRY")
|
|
319
370
|
```
|
|
320
371
|
|
|
321
372
|
## Import
|
|
322
373
|
|
|
323
|
-
Message
|
|
374
|
+
Message Service Subscription can be imported using the id, e.g.
|
|
324
375
|
|
|
325
376
|
```sh
|
|
326
377
|
$ pulumi import alicloud:message/serviceSubscription:ServiceSubscription example <topic_name>:<subscription_name>
|
|
@@ -328,6 +379,7 @@ class ServiceSubscription(pulumi.CustomResource):
|
|
|
328
379
|
|
|
329
380
|
:param str resource_name: The name of the resource.
|
|
330
381
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
382
|
+
:param pulumi.Input[Union['ServiceSubscriptionDlqPolicyArgs', 'ServiceSubscriptionDlqPolicyArgsDict']] dlq_policy: The dead-letter queue policy. See `dlq_policy` below.
|
|
331
383
|
:param pulumi.Input[str] endpoint: The endpoint has three format. Available values format:
|
|
332
384
|
- `HTTP Format`: http://xxx.com/xxx
|
|
333
385
|
- `Queue Format`: acs:mns:{REGION}:{AccountID}:queues/{QueueName}
|
|
@@ -348,9 +400,9 @@ class ServiceSubscription(pulumi.CustomResource):
|
|
|
348
400
|
args: ServiceSubscriptionArgs,
|
|
349
401
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
350
402
|
"""
|
|
351
|
-
Provides a Message
|
|
403
|
+
Provides a Message Service Subscription resource.
|
|
352
404
|
|
|
353
|
-
For information about Message
|
|
405
|
+
For information about Message Service Subscription and how to use it, see [What is Subscription](https://www.alibabacloud.com/help/en/message-service/latest/subscribe-1).
|
|
354
406
|
|
|
355
407
|
> **NOTE:** Available since v1.188.0.
|
|
356
408
|
|
|
@@ -365,24 +417,24 @@ class ServiceSubscription(pulumi.CustomResource):
|
|
|
365
417
|
config = pulumi.Config()
|
|
366
418
|
name = config.get("name")
|
|
367
419
|
if name is None:
|
|
368
|
-
name = "
|
|
420
|
+
name = "terraform-example"
|
|
369
421
|
default = alicloud.message.ServiceTopic("default",
|
|
370
422
|
topic_name=name,
|
|
371
|
-
max_message_size=
|
|
372
|
-
|
|
423
|
+
max_message_size=16888,
|
|
424
|
+
enable_logging=True)
|
|
373
425
|
default_service_subscription = alicloud.message.ServiceSubscription("default",
|
|
374
426
|
topic_name=default.topic_name,
|
|
375
427
|
subscription_name=name,
|
|
376
428
|
endpoint="http://example.com",
|
|
377
429
|
push_type="http",
|
|
378
|
-
filter_tag=
|
|
430
|
+
filter_tag=name,
|
|
379
431
|
notify_content_format="XML",
|
|
380
432
|
notify_strategy="BACKOFF_RETRY")
|
|
381
433
|
```
|
|
382
434
|
|
|
383
435
|
## Import
|
|
384
436
|
|
|
385
|
-
Message
|
|
437
|
+
Message Service Subscription can be imported using the id, e.g.
|
|
386
438
|
|
|
387
439
|
```sh
|
|
388
440
|
$ pulumi import alicloud:message/serviceSubscription:ServiceSubscription example <topic_name>:<subscription_name>
|
|
@@ -403,6 +455,7 @@ class ServiceSubscription(pulumi.CustomResource):
|
|
|
403
455
|
def _internal_init(__self__,
|
|
404
456
|
resource_name: str,
|
|
405
457
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
458
|
+
dlq_policy: Optional[pulumi.Input[Union['ServiceSubscriptionDlqPolicyArgs', 'ServiceSubscriptionDlqPolicyArgsDict']]] = None,
|
|
406
459
|
endpoint: Optional[pulumi.Input[str]] = None,
|
|
407
460
|
filter_tag: Optional[pulumi.Input[str]] = None,
|
|
408
461
|
notify_content_format: Optional[pulumi.Input[str]] = None,
|
|
@@ -419,6 +472,7 @@ class ServiceSubscription(pulumi.CustomResource):
|
|
|
419
472
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
420
473
|
__props__ = ServiceSubscriptionArgs.__new__(ServiceSubscriptionArgs)
|
|
421
474
|
|
|
475
|
+
__props__.__dict__["dlq_policy"] = dlq_policy
|
|
422
476
|
if endpoint is None and not opts.urn:
|
|
423
477
|
raise TypeError("Missing required property 'endpoint'")
|
|
424
478
|
__props__.__dict__["endpoint"] = endpoint
|
|
@@ -434,6 +488,7 @@ class ServiceSubscription(pulumi.CustomResource):
|
|
|
434
488
|
if topic_name is None and not opts.urn:
|
|
435
489
|
raise TypeError("Missing required property 'topic_name'")
|
|
436
490
|
__props__.__dict__["topic_name"] = topic_name
|
|
491
|
+
__props__.__dict__["create_time"] = None
|
|
437
492
|
super(ServiceSubscription, __self__).__init__(
|
|
438
493
|
'alicloud:message/serviceSubscription:ServiceSubscription',
|
|
439
494
|
resource_name,
|
|
@@ -444,6 +499,8 @@ class ServiceSubscription(pulumi.CustomResource):
|
|
|
444
499
|
def get(resource_name: str,
|
|
445
500
|
id: pulumi.Input[str],
|
|
446
501
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
502
|
+
create_time: Optional[pulumi.Input[int]] = None,
|
|
503
|
+
dlq_policy: Optional[pulumi.Input[Union['ServiceSubscriptionDlqPolicyArgs', 'ServiceSubscriptionDlqPolicyArgsDict']]] = None,
|
|
447
504
|
endpoint: Optional[pulumi.Input[str]] = None,
|
|
448
505
|
filter_tag: Optional[pulumi.Input[str]] = None,
|
|
449
506
|
notify_content_format: Optional[pulumi.Input[str]] = None,
|
|
@@ -458,6 +515,8 @@ class ServiceSubscription(pulumi.CustomResource):
|
|
|
458
515
|
:param str resource_name: The unique name of the resulting resource.
|
|
459
516
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
460
517
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
518
|
+
:param pulumi.Input[int] create_time: (Available since v1.244.0) The time when the subscription was created.
|
|
519
|
+
:param pulumi.Input[Union['ServiceSubscriptionDlqPolicyArgs', 'ServiceSubscriptionDlqPolicyArgsDict']] dlq_policy: The dead-letter queue policy. See `dlq_policy` below.
|
|
461
520
|
:param pulumi.Input[str] endpoint: The endpoint has three format. Available values format:
|
|
462
521
|
- `HTTP Format`: http://xxx.com/xxx
|
|
463
522
|
- `Queue Format`: acs:mns:{REGION}:{AccountID}:queues/{QueueName}
|
|
@@ -475,6 +534,8 @@ class ServiceSubscription(pulumi.CustomResource):
|
|
|
475
534
|
|
|
476
535
|
__props__ = _ServiceSubscriptionState.__new__(_ServiceSubscriptionState)
|
|
477
536
|
|
|
537
|
+
__props__.__dict__["create_time"] = create_time
|
|
538
|
+
__props__.__dict__["dlq_policy"] = dlq_policy
|
|
478
539
|
__props__.__dict__["endpoint"] = endpoint
|
|
479
540
|
__props__.__dict__["filter_tag"] = filter_tag
|
|
480
541
|
__props__.__dict__["notify_content_format"] = notify_content_format
|
|
@@ -484,6 +545,22 @@ class ServiceSubscription(pulumi.CustomResource):
|
|
|
484
545
|
__props__.__dict__["topic_name"] = topic_name
|
|
485
546
|
return ServiceSubscription(resource_name, opts=opts, __props__=__props__)
|
|
486
547
|
|
|
548
|
+
@property
|
|
549
|
+
@pulumi.getter(name="createTime")
|
|
550
|
+
def create_time(self) -> pulumi.Output[int]:
|
|
551
|
+
"""
|
|
552
|
+
(Available since v1.244.0) The time when the subscription was created.
|
|
553
|
+
"""
|
|
554
|
+
return pulumi.get(self, "create_time")
|
|
555
|
+
|
|
556
|
+
@property
|
|
557
|
+
@pulumi.getter(name="dlqPolicy")
|
|
558
|
+
def dlq_policy(self) -> pulumi.Output['outputs.ServiceSubscriptionDlqPolicy']:
|
|
559
|
+
"""
|
|
560
|
+
The dead-letter queue policy. See `dlq_policy` below.
|
|
561
|
+
"""
|
|
562
|
+
return pulumi.get(self, "dlq_policy")
|
|
563
|
+
|
|
487
564
|
@property
|
|
488
565
|
@pulumi.getter
|
|
489
566
|
def endpoint(self) -> pulumi.Output[str]:
|
|
@@ -467,6 +467,8 @@ class NacosConfig(pulumi.CustomResource):
|
|
|
467
467
|
|
|
468
468
|
Microservice Engine (MSE) Nacos Config can be imported using the id, e.g.
|
|
469
469
|
|
|
470
|
+
**Note**: If instance_id, namespace_id, data_id, and group contain ":", please replace it with "\\\\\\\\:", available since v1.243.0
|
|
471
|
+
|
|
470
472
|
```sh
|
|
471
473
|
$ pulumi import alicloud:mse/nacosConfig:NacosConfig example <instance_id>:<namespace_id>:<data_id>:<group>
|
|
472
474
|
```
|
|
@@ -545,6 +547,8 @@ class NacosConfig(pulumi.CustomResource):
|
|
|
545
547
|
|
|
546
548
|
Microservice Engine (MSE) Nacos Config can be imported using the id, e.g.
|
|
547
549
|
|
|
550
|
+
**Note**: If instance_id, namespace_id, data_id, and group contain ":", please replace it with "\\\\\\\\:", available since v1.243.0
|
|
551
|
+
|
|
548
552
|
```sh
|
|
549
553
|
$ pulumi import alicloud:mse/nacosConfig:NacosConfig example <instance_id>:<namespace_id>:<data_id>:<group>
|
|
550
554
|
```
|
pulumi_alicloud/nlb/_inputs.py
CHANGED
|
@@ -15,6 +15,8 @@ else:
|
|
|
15
15
|
from .. import _utilities
|
|
16
16
|
|
|
17
17
|
__all__ = [
|
|
18
|
+
'ListenerProxyProtocolConfigArgs',
|
|
19
|
+
'ListenerProxyProtocolConfigArgsDict',
|
|
18
20
|
'LoadBalancerDeletionProtectionConfigArgs',
|
|
19
21
|
'LoadBalancerDeletionProtectionConfigArgsDict',
|
|
20
22
|
'LoadBalancerModificationProtectionConfigArgs',
|
|
@@ -27,6 +29,78 @@ __all__ = [
|
|
|
27
29
|
|
|
28
30
|
MYPY = False
|
|
29
31
|
|
|
32
|
+
if not MYPY:
|
|
33
|
+
class ListenerProxyProtocolConfigArgsDict(TypedDict):
|
|
34
|
+
proxy_protocol_config_private_link_ep_id_enabled: NotRequired[pulumi.Input[bool]]
|
|
35
|
+
"""
|
|
36
|
+
Whether to enable carrying PrivateLinkEpId to backend servers through Proxy Protocol.
|
|
37
|
+
"""
|
|
38
|
+
proxy_protocol_config_private_link_eps_id_enabled: NotRequired[pulumi.Input[bool]]
|
|
39
|
+
"""
|
|
40
|
+
Whether to enable carrying PrivateLinkEpsId to backend servers through the Proxy Protocol.
|
|
41
|
+
"""
|
|
42
|
+
proxy_protocol_config_vpc_id_enabled: NotRequired[pulumi.Input[bool]]
|
|
43
|
+
"""
|
|
44
|
+
Whether to enable carrying VpcId to backend servers through Proxy Protocol.
|
|
45
|
+
"""
|
|
46
|
+
elif False:
|
|
47
|
+
ListenerProxyProtocolConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
48
|
+
|
|
49
|
+
@pulumi.input_type
|
|
50
|
+
class ListenerProxyProtocolConfigArgs:
|
|
51
|
+
def __init__(__self__, *,
|
|
52
|
+
proxy_protocol_config_private_link_ep_id_enabled: Optional[pulumi.Input[bool]] = None,
|
|
53
|
+
proxy_protocol_config_private_link_eps_id_enabled: Optional[pulumi.Input[bool]] = None,
|
|
54
|
+
proxy_protocol_config_vpc_id_enabled: Optional[pulumi.Input[bool]] = None):
|
|
55
|
+
"""
|
|
56
|
+
:param pulumi.Input[bool] proxy_protocol_config_private_link_ep_id_enabled: Whether to enable carrying PrivateLinkEpId to backend servers through Proxy Protocol.
|
|
57
|
+
:param pulumi.Input[bool] proxy_protocol_config_private_link_eps_id_enabled: Whether to enable carrying PrivateLinkEpsId to backend servers through the Proxy Protocol.
|
|
58
|
+
:param pulumi.Input[bool] proxy_protocol_config_vpc_id_enabled: Whether to enable carrying VpcId to backend servers through Proxy Protocol.
|
|
59
|
+
"""
|
|
60
|
+
if proxy_protocol_config_private_link_ep_id_enabled is not None:
|
|
61
|
+
pulumi.set(__self__, "proxy_protocol_config_private_link_ep_id_enabled", proxy_protocol_config_private_link_ep_id_enabled)
|
|
62
|
+
if proxy_protocol_config_private_link_eps_id_enabled is not None:
|
|
63
|
+
pulumi.set(__self__, "proxy_protocol_config_private_link_eps_id_enabled", proxy_protocol_config_private_link_eps_id_enabled)
|
|
64
|
+
if proxy_protocol_config_vpc_id_enabled is not None:
|
|
65
|
+
pulumi.set(__self__, "proxy_protocol_config_vpc_id_enabled", proxy_protocol_config_vpc_id_enabled)
|
|
66
|
+
|
|
67
|
+
@property
|
|
68
|
+
@pulumi.getter(name="proxyProtocolConfigPrivateLinkEpIdEnabled")
|
|
69
|
+
def proxy_protocol_config_private_link_ep_id_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
70
|
+
"""
|
|
71
|
+
Whether to enable carrying PrivateLinkEpId to backend servers through Proxy Protocol.
|
|
72
|
+
"""
|
|
73
|
+
return pulumi.get(self, "proxy_protocol_config_private_link_ep_id_enabled")
|
|
74
|
+
|
|
75
|
+
@proxy_protocol_config_private_link_ep_id_enabled.setter
|
|
76
|
+
def proxy_protocol_config_private_link_ep_id_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
77
|
+
pulumi.set(self, "proxy_protocol_config_private_link_ep_id_enabled", value)
|
|
78
|
+
|
|
79
|
+
@property
|
|
80
|
+
@pulumi.getter(name="proxyProtocolConfigPrivateLinkEpsIdEnabled")
|
|
81
|
+
def proxy_protocol_config_private_link_eps_id_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
82
|
+
"""
|
|
83
|
+
Whether to enable carrying PrivateLinkEpsId to backend servers through the Proxy Protocol.
|
|
84
|
+
"""
|
|
85
|
+
return pulumi.get(self, "proxy_protocol_config_private_link_eps_id_enabled")
|
|
86
|
+
|
|
87
|
+
@proxy_protocol_config_private_link_eps_id_enabled.setter
|
|
88
|
+
def proxy_protocol_config_private_link_eps_id_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
89
|
+
pulumi.set(self, "proxy_protocol_config_private_link_eps_id_enabled", value)
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
@pulumi.getter(name="proxyProtocolConfigVpcIdEnabled")
|
|
93
|
+
def proxy_protocol_config_vpc_id_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
94
|
+
"""
|
|
95
|
+
Whether to enable carrying VpcId to backend servers through Proxy Protocol.
|
|
96
|
+
"""
|
|
97
|
+
return pulumi.get(self, "proxy_protocol_config_vpc_id_enabled")
|
|
98
|
+
|
|
99
|
+
@proxy_protocol_config_vpc_id_enabled.setter
|
|
100
|
+
def proxy_protocol_config_vpc_id_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
101
|
+
pulumi.set(self, "proxy_protocol_config_vpc_id_enabled", value)
|
|
102
|
+
|
|
103
|
+
|
|
30
104
|
if not MYPY:
|
|
31
105
|
class LoadBalancerDeletionProtectionConfigArgsDict(TypedDict):
|
|
32
106
|
enabled: NotRequired[pulumi.Input[bool]]
|
|
@@ -379,9 +453,7 @@ if not MYPY:
|
|
|
379
453
|
health_check_connect_port: NotRequired[pulumi.Input[int]]
|
|
380
454
|
"""
|
|
381
455
|
The port that you want to use for health checks on backend servers.
|
|
382
|
-
|
|
383
456
|
Valid values: `0` to `65535`.
|
|
384
|
-
|
|
385
457
|
Default value: `0`. If you set the value to 0, the port of the backend server is used for health checks.
|
|
386
458
|
"""
|
|
387
459
|
health_check_connect_timeout: NotRequired[pulumi.Input[int]]
|
|
@@ -397,6 +469,10 @@ if not MYPY:
|
|
|
397
469
|
"""
|
|
398
470
|
Specifies whether to enable the health check feature. Valid values:
|
|
399
471
|
"""
|
|
472
|
+
health_check_exp: NotRequired[pulumi.Input[str]]
|
|
473
|
+
"""
|
|
474
|
+
health check response character string. The value contains a maximum of 512 characters
|
|
475
|
+
"""
|
|
400
476
|
health_check_http_codes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
401
477
|
"""
|
|
402
478
|
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`.
|
|
@@ -406,11 +482,13 @@ if not MYPY:
|
|
|
406
482
|
health_check_interval: NotRequired[pulumi.Input[int]]
|
|
407
483
|
"""
|
|
408
484
|
The interval at which health checks are performed. Unit: seconds.
|
|
409
|
-
|
|
410
485
|
Valid values: `5` to `50`.
|
|
411
|
-
|
|
412
486
|
Default value: `10`.
|
|
413
487
|
"""
|
|
488
|
+
health_check_req: NotRequired[pulumi.Input[str]]
|
|
489
|
+
"""
|
|
490
|
+
UDP healthy check request string, the value is a character string of 512 characters
|
|
491
|
+
"""
|
|
414
492
|
health_check_type: NotRequired[pulumi.Input[str]]
|
|
415
493
|
"""
|
|
416
494
|
The protocol that you want to use for health checks. Valid values: `TCP` (default) and `HTTP`.
|
|
@@ -426,9 +504,7 @@ if not MYPY:
|
|
|
426
504
|
healthy_threshold: NotRequired[pulumi.Input[int]]
|
|
427
505
|
"""
|
|
428
506
|
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`.
|
|
429
|
-
|
|
430
507
|
Valid values: `2` to `10`.
|
|
431
|
-
|
|
432
508
|
Default value: `2`.
|
|
433
509
|
"""
|
|
434
510
|
http_check_method: NotRequired[pulumi.Input[str]]
|
|
@@ -440,9 +516,7 @@ if not MYPY:
|
|
|
440
516
|
unhealthy_threshold: NotRequired[pulumi.Input[int]]
|
|
441
517
|
"""
|
|
442
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`.
|
|
443
|
-
|
|
444
519
|
Valid values: `2` to `10`.
|
|
445
|
-
|
|
446
520
|
Default value: `2`.
|
|
447
521
|
"""
|
|
448
522
|
elif False:
|
|
@@ -455,8 +529,10 @@ class ServerGroupHealthCheckArgs:
|
|
|
455
529
|
health_check_connect_timeout: Optional[pulumi.Input[int]] = None,
|
|
456
530
|
health_check_domain: Optional[pulumi.Input[str]] = None,
|
|
457
531
|
health_check_enabled: Optional[pulumi.Input[bool]] = None,
|
|
532
|
+
health_check_exp: Optional[pulumi.Input[str]] = None,
|
|
458
533
|
health_check_http_codes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
459
534
|
health_check_interval: Optional[pulumi.Input[int]] = None,
|
|
535
|
+
health_check_req: Optional[pulumi.Input[str]] = None,
|
|
460
536
|
health_check_type: Optional[pulumi.Input[str]] = None,
|
|
461
537
|
health_check_url: Optional[pulumi.Input[str]] = None,
|
|
462
538
|
healthy_threshold: Optional[pulumi.Input[int]] = None,
|
|
@@ -464,22 +540,20 @@ class ServerGroupHealthCheckArgs:
|
|
|
464
540
|
unhealthy_threshold: Optional[pulumi.Input[int]] = None):
|
|
465
541
|
"""
|
|
466
542
|
:param pulumi.Input[int] health_check_connect_port: The port that you want to use for health checks on backend servers.
|
|
467
|
-
|
|
468
543
|
Valid values: `0` to `65535`.
|
|
469
|
-
|
|
470
544
|
Default value: `0`. If you set the value to 0, the port of the backend server is used for health checks.
|
|
471
545
|
: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`.
|
|
472
546
|
:param pulumi.Input[str] health_check_domain: The domain name that you want to use for health checks. Valid values:
|
|
473
547
|
- `$SERVER_IP`: the private IP address of a backend server.
|
|
474
548
|
:param pulumi.Input[bool] health_check_enabled: Specifies whether to enable the health check feature. Valid values:
|
|
549
|
+
:param pulumi.Input[str] health_check_exp: health check response character string. The value contains a maximum of 512 characters
|
|
475
550
|
: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`.
|
|
476
551
|
|
|
477
552
|
> **NOTE:** This parameter takes effect only when `HealthCheckType` is set to `HTTP`.
|
|
478
553
|
:param pulumi.Input[int] health_check_interval: The interval at which health checks are performed. Unit: seconds.
|
|
479
|
-
|
|
480
554
|
Valid values: `5` to `50`.
|
|
481
|
-
|
|
482
555
|
Default value: `10`.
|
|
556
|
+
:param pulumi.Input[str] health_check_req: UDP healthy check request string, the value is a character string of 512 characters
|
|
483
557
|
:param pulumi.Input[str] health_check_type: The protocol that you want to use for health checks. Valid values: `TCP` (default) and `HTTP`.
|
|
484
558
|
:param pulumi.Input[str] health_check_url: The path to which health check requests are sent.
|
|
485
559
|
|
|
@@ -487,17 +561,13 @@ class ServerGroupHealthCheckArgs:
|
|
|
487
561
|
|
|
488
562
|
> **NOTE:** This parameter takes effect only when `HealthCheckType` is set to `HTTP`.
|
|
489
563
|
: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`.
|
|
490
|
-
|
|
491
564
|
Valid values: `2` to `10`.
|
|
492
|
-
|
|
493
565
|
Default value: `2`.
|
|
494
566
|
:param pulumi.Input[str] http_check_method: The HTTP method that is used for health checks. Valid values: `GET` (default) and `HEAD`.
|
|
495
567
|
|
|
496
568
|
> **NOTE:** This parameter takes effect only when `HealthCheckType` is set to `HTTP`.
|
|
497
569
|
: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`.
|
|
498
|
-
|
|
499
570
|
Valid values: `2` to `10`.
|
|
500
|
-
|
|
501
571
|
Default value: `2`.
|
|
502
572
|
"""
|
|
503
573
|
if health_check_connect_port is not None:
|
|
@@ -508,10 +578,14 @@ class ServerGroupHealthCheckArgs:
|
|
|
508
578
|
pulumi.set(__self__, "health_check_domain", health_check_domain)
|
|
509
579
|
if health_check_enabled is not None:
|
|
510
580
|
pulumi.set(__self__, "health_check_enabled", health_check_enabled)
|
|
581
|
+
if health_check_exp is not None:
|
|
582
|
+
pulumi.set(__self__, "health_check_exp", health_check_exp)
|
|
511
583
|
if health_check_http_codes is not None:
|
|
512
584
|
pulumi.set(__self__, "health_check_http_codes", health_check_http_codes)
|
|
513
585
|
if health_check_interval is not None:
|
|
514
586
|
pulumi.set(__self__, "health_check_interval", health_check_interval)
|
|
587
|
+
if health_check_req is not None:
|
|
588
|
+
pulumi.set(__self__, "health_check_req", health_check_req)
|
|
515
589
|
if health_check_type is not None:
|
|
516
590
|
pulumi.set(__self__, "health_check_type", health_check_type)
|
|
517
591
|
if health_check_url is not None:
|
|
@@ -528,9 +602,7 @@ class ServerGroupHealthCheckArgs:
|
|
|
528
602
|
def health_check_connect_port(self) -> Optional[pulumi.Input[int]]:
|
|
529
603
|
"""
|
|
530
604
|
The port that you want to use for health checks on backend servers.
|
|
531
|
-
|
|
532
605
|
Valid values: `0` to `65535`.
|
|
533
|
-
|
|
534
606
|
Default value: `0`. If you set the value to 0, the port of the backend server is used for health checks.
|
|
535
607
|
"""
|
|
536
608
|
return pulumi.get(self, "health_check_connect_port")
|
|
@@ -576,6 +648,18 @@ class ServerGroupHealthCheckArgs:
|
|
|
576
648
|
def health_check_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
577
649
|
pulumi.set(self, "health_check_enabled", value)
|
|
578
650
|
|
|
651
|
+
@property
|
|
652
|
+
@pulumi.getter(name="healthCheckExp")
|
|
653
|
+
def health_check_exp(self) -> Optional[pulumi.Input[str]]:
|
|
654
|
+
"""
|
|
655
|
+
health check response character string. The value contains a maximum of 512 characters
|
|
656
|
+
"""
|
|
657
|
+
return pulumi.get(self, "health_check_exp")
|
|
658
|
+
|
|
659
|
+
@health_check_exp.setter
|
|
660
|
+
def health_check_exp(self, value: Optional[pulumi.Input[str]]):
|
|
661
|
+
pulumi.set(self, "health_check_exp", value)
|
|
662
|
+
|
|
579
663
|
@property
|
|
580
664
|
@pulumi.getter(name="healthCheckHttpCodes")
|
|
581
665
|
def health_check_http_codes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
@@ -595,9 +679,7 @@ class ServerGroupHealthCheckArgs:
|
|
|
595
679
|
def health_check_interval(self) -> Optional[pulumi.Input[int]]:
|
|
596
680
|
"""
|
|
597
681
|
The interval at which health checks are performed. Unit: seconds.
|
|
598
|
-
|
|
599
682
|
Valid values: `5` to `50`.
|
|
600
|
-
|
|
601
683
|
Default value: `10`.
|
|
602
684
|
"""
|
|
603
685
|
return pulumi.get(self, "health_check_interval")
|
|
@@ -606,6 +688,18 @@ class ServerGroupHealthCheckArgs:
|
|
|
606
688
|
def health_check_interval(self, value: Optional[pulumi.Input[int]]):
|
|
607
689
|
pulumi.set(self, "health_check_interval", value)
|
|
608
690
|
|
|
691
|
+
@property
|
|
692
|
+
@pulumi.getter(name="healthCheckReq")
|
|
693
|
+
def health_check_req(self) -> Optional[pulumi.Input[str]]:
|
|
694
|
+
"""
|
|
695
|
+
UDP healthy check request string, the value is a character string of 512 characters
|
|
696
|
+
"""
|
|
697
|
+
return pulumi.get(self, "health_check_req")
|
|
698
|
+
|
|
699
|
+
@health_check_req.setter
|
|
700
|
+
def health_check_req(self, value: Optional[pulumi.Input[str]]):
|
|
701
|
+
pulumi.set(self, "health_check_req", value)
|
|
702
|
+
|
|
609
703
|
@property
|
|
610
704
|
@pulumi.getter(name="healthCheckType")
|
|
611
705
|
def health_check_type(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -639,9 +733,7 @@ class ServerGroupHealthCheckArgs:
|
|
|
639
733
|
def healthy_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
640
734
|
"""
|
|
641
735
|
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`.
|
|
642
|
-
|
|
643
736
|
Valid values: `2` to `10`.
|
|
644
|
-
|
|
645
737
|
Default value: `2`.
|
|
646
738
|
"""
|
|
647
739
|
return pulumi.get(self, "healthy_threshold")
|
|
@@ -669,9 +761,7 @@ class ServerGroupHealthCheckArgs:
|
|
|
669
761
|
def unhealthy_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
670
762
|
"""
|
|
671
763
|
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`.
|
|
672
|
-
|
|
673
764
|
Valid values: `2` to `10`.
|
|
674
|
-
|
|
675
765
|
Default value: `2`.
|
|
676
766
|
"""
|
|
677
767
|
return pulumi.get(self, "unhealthy_threshold")
|