pulumi-alicloud 3.75.0a1741324537__py3-none-any.whl → 3.76.0a1741410947__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 +230 -0
- pulumi_alicloud/_inputs.py +33 -0
- 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/_inputs.py +217 -17
- pulumi_alicloud/alb/load_balancer.py +7 -35
- pulumi_alicloud/alb/load_balancer_security_group_attachment.py +69 -22
- pulumi_alicloud/alb/outputs.py +150 -12
- pulumi_alicloud/alb/server_group.py +197 -42
- 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/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 +9 -9
- 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/managed_kubernetes.py +47 -35
- pulumi_alicloud/cs/node_pool.py +49 -21
- pulumi_alicloud/cs/outputs.py +6 -6
- pulumi_alicloud/ddos/ddos_bgp_instance.py +0 -4
- 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 +19 -0
- pulumi_alicloud/esa/_inputs.py +431 -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 +2 -2
- 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 +2 -2
- 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 +425 -0
- pulumi_alicloud/esa/page.py +2 -2
- pulumi_alicloud/esa/rate_plan_instance.py +2 -2
- 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/scaling_configuration.py +7 -7
- pulumi_alicloud/expressconnect/ec_failover_test_job.py +0 -2
- pulumi_alicloud/expressconnect/vbr_pconn_association.py +2 -2
- 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/get_keys.py +10 -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 +7 -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 +1 -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 +2 -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 +2 -9
- 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.75.0a1741324537.dist-info → pulumi_alicloud-3.76.0a1741410947.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.75.0a1741324537.dist-info → pulumi_alicloud-3.76.0a1741410947.dist-info}/RECORD +164 -127
- {pulumi_alicloud-3.75.0a1741324537.dist-info → pulumi_alicloud-3.76.0a1741410947.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.75.0a1741324537.dist-info → pulumi_alicloud-3.76.0a1741410947.dist-info}/top_level.txt +0 -0
pulumi_alicloud/nlb/outputs.py
CHANGED
|
@@ -16,6 +16,7 @@ from .. import _utilities
|
|
|
16
16
|
from . import outputs
|
|
17
17
|
|
|
18
18
|
__all__ = [
|
|
19
|
+
'ListenerProxyProtocolConfig',
|
|
19
20
|
'LoadBalancerDeletionProtectionConfig',
|
|
20
21
|
'LoadBalancerModificationProtectionConfig',
|
|
21
22
|
'LoadBalancerZoneMapping',
|
|
@@ -31,6 +32,70 @@ __all__ = [
|
|
|
31
32
|
'GetZonesZoneResult',
|
|
32
33
|
]
|
|
33
34
|
|
|
35
|
+
@pulumi.output_type
|
|
36
|
+
class ListenerProxyProtocolConfig(dict):
|
|
37
|
+
@staticmethod
|
|
38
|
+
def __key_warning(key: str):
|
|
39
|
+
suggest = None
|
|
40
|
+
if key == "proxyProtocolConfigPrivateLinkEpIdEnabled":
|
|
41
|
+
suggest = "proxy_protocol_config_private_link_ep_id_enabled"
|
|
42
|
+
elif key == "proxyProtocolConfigPrivateLinkEpsIdEnabled":
|
|
43
|
+
suggest = "proxy_protocol_config_private_link_eps_id_enabled"
|
|
44
|
+
elif key == "proxyProtocolConfigVpcIdEnabled":
|
|
45
|
+
suggest = "proxy_protocol_config_vpc_id_enabled"
|
|
46
|
+
|
|
47
|
+
if suggest:
|
|
48
|
+
pulumi.log.warn(f"Key '{key}' not found in ListenerProxyProtocolConfig. Access the value via the '{suggest}' property getter instead.")
|
|
49
|
+
|
|
50
|
+
def __getitem__(self, key: str) -> Any:
|
|
51
|
+
ListenerProxyProtocolConfig.__key_warning(key)
|
|
52
|
+
return super().__getitem__(key)
|
|
53
|
+
|
|
54
|
+
def get(self, key: str, default = None) -> Any:
|
|
55
|
+
ListenerProxyProtocolConfig.__key_warning(key)
|
|
56
|
+
return super().get(key, default)
|
|
57
|
+
|
|
58
|
+
def __init__(__self__, *,
|
|
59
|
+
proxy_protocol_config_private_link_ep_id_enabled: Optional[bool] = None,
|
|
60
|
+
proxy_protocol_config_private_link_eps_id_enabled: Optional[bool] = None,
|
|
61
|
+
proxy_protocol_config_vpc_id_enabled: Optional[bool] = None):
|
|
62
|
+
"""
|
|
63
|
+
:param bool proxy_protocol_config_private_link_ep_id_enabled: Whether to enable carrying PrivateLinkEpId to backend servers through Proxy Protocol.
|
|
64
|
+
:param bool proxy_protocol_config_private_link_eps_id_enabled: Whether to enable carrying PrivateLinkEpsId to backend servers through the Proxy Protocol.
|
|
65
|
+
:param bool proxy_protocol_config_vpc_id_enabled: Whether to enable carrying VpcId to backend servers through Proxy Protocol.
|
|
66
|
+
"""
|
|
67
|
+
if proxy_protocol_config_private_link_ep_id_enabled is not None:
|
|
68
|
+
pulumi.set(__self__, "proxy_protocol_config_private_link_ep_id_enabled", proxy_protocol_config_private_link_ep_id_enabled)
|
|
69
|
+
if proxy_protocol_config_private_link_eps_id_enabled is not None:
|
|
70
|
+
pulumi.set(__self__, "proxy_protocol_config_private_link_eps_id_enabled", proxy_protocol_config_private_link_eps_id_enabled)
|
|
71
|
+
if proxy_protocol_config_vpc_id_enabled is not None:
|
|
72
|
+
pulumi.set(__self__, "proxy_protocol_config_vpc_id_enabled", proxy_protocol_config_vpc_id_enabled)
|
|
73
|
+
|
|
74
|
+
@property
|
|
75
|
+
@pulumi.getter(name="proxyProtocolConfigPrivateLinkEpIdEnabled")
|
|
76
|
+
def proxy_protocol_config_private_link_ep_id_enabled(self) -> Optional[bool]:
|
|
77
|
+
"""
|
|
78
|
+
Whether to enable carrying PrivateLinkEpId to backend servers through Proxy Protocol.
|
|
79
|
+
"""
|
|
80
|
+
return pulumi.get(self, "proxy_protocol_config_private_link_ep_id_enabled")
|
|
81
|
+
|
|
82
|
+
@property
|
|
83
|
+
@pulumi.getter(name="proxyProtocolConfigPrivateLinkEpsIdEnabled")
|
|
84
|
+
def proxy_protocol_config_private_link_eps_id_enabled(self) -> Optional[bool]:
|
|
85
|
+
"""
|
|
86
|
+
Whether to enable carrying PrivateLinkEpsId to backend servers through the Proxy Protocol.
|
|
87
|
+
"""
|
|
88
|
+
return pulumi.get(self, "proxy_protocol_config_private_link_eps_id_enabled")
|
|
89
|
+
|
|
90
|
+
@property
|
|
91
|
+
@pulumi.getter(name="proxyProtocolConfigVpcIdEnabled")
|
|
92
|
+
def proxy_protocol_config_vpc_id_enabled(self) -> Optional[bool]:
|
|
93
|
+
"""
|
|
94
|
+
Whether to enable carrying VpcId to backend servers through Proxy Protocol.
|
|
95
|
+
"""
|
|
96
|
+
return pulumi.get(self, "proxy_protocol_config_vpc_id_enabled")
|
|
97
|
+
|
|
98
|
+
|
|
34
99
|
@pulumi.output_type
|
|
35
100
|
class LoadBalancerDeletionProtectionConfig(dict):
|
|
36
101
|
@staticmethod
|
|
@@ -316,10 +381,14 @@ class ServerGroupHealthCheck(dict):
|
|
|
316
381
|
suggest = "health_check_domain"
|
|
317
382
|
elif key == "healthCheckEnabled":
|
|
318
383
|
suggest = "health_check_enabled"
|
|
384
|
+
elif key == "healthCheckExp":
|
|
385
|
+
suggest = "health_check_exp"
|
|
319
386
|
elif key == "healthCheckHttpCodes":
|
|
320
387
|
suggest = "health_check_http_codes"
|
|
321
388
|
elif key == "healthCheckInterval":
|
|
322
389
|
suggest = "health_check_interval"
|
|
390
|
+
elif key == "healthCheckReq":
|
|
391
|
+
suggest = "health_check_req"
|
|
323
392
|
elif key == "healthCheckType":
|
|
324
393
|
suggest = "health_check_type"
|
|
325
394
|
elif key == "healthCheckUrl":
|
|
@@ -347,8 +416,10 @@ class ServerGroupHealthCheck(dict):
|
|
|
347
416
|
health_check_connect_timeout: Optional[int] = None,
|
|
348
417
|
health_check_domain: Optional[str] = None,
|
|
349
418
|
health_check_enabled: Optional[bool] = None,
|
|
419
|
+
health_check_exp: Optional[str] = None,
|
|
350
420
|
health_check_http_codes: Optional[Sequence[str]] = None,
|
|
351
421
|
health_check_interval: Optional[int] = None,
|
|
422
|
+
health_check_req: Optional[str] = None,
|
|
352
423
|
health_check_type: Optional[str] = None,
|
|
353
424
|
health_check_url: Optional[str] = None,
|
|
354
425
|
healthy_threshold: Optional[int] = None,
|
|
@@ -356,22 +427,20 @@ class ServerGroupHealthCheck(dict):
|
|
|
356
427
|
unhealthy_threshold: Optional[int] = None):
|
|
357
428
|
"""
|
|
358
429
|
:param int health_check_connect_port: The port that you want to use for health checks on backend servers.
|
|
359
|
-
|
|
360
430
|
Valid values: `0` to `65535`.
|
|
361
|
-
|
|
362
431
|
Default value: `0`. If you set the value to 0, the port of the backend server is used for health checks.
|
|
363
432
|
:param int health_check_connect_timeout: The maximum timeout period of a health check. Unit: seconds. Valid values: `1` to `300`. Default value: `5`.
|
|
364
433
|
:param str health_check_domain: The domain name that you want to use for health checks. Valid values:
|
|
365
434
|
- `$SERVER_IP`: the private IP address of a backend server.
|
|
366
435
|
:param bool health_check_enabled: Specifies whether to enable the health check feature. Valid values:
|
|
436
|
+
:param str health_check_exp: health check response character string. The value contains a maximum of 512 characters
|
|
367
437
|
: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`.
|
|
368
438
|
|
|
369
439
|
> **NOTE:** This parameter takes effect only when `HealthCheckType` is set to `HTTP`.
|
|
370
440
|
:param int health_check_interval: The interval at which health checks are performed. Unit: seconds.
|
|
371
|
-
|
|
372
441
|
Valid values: `5` to `50`.
|
|
373
|
-
|
|
374
442
|
Default value: `10`.
|
|
443
|
+
:param str health_check_req: UDP healthy check request string, the value is a character string of 512 characters
|
|
375
444
|
:param str health_check_type: The protocol that you want to use for health checks. Valid values: `TCP` (default) and `HTTP`.
|
|
376
445
|
:param str health_check_url: The path to which health check requests are sent.
|
|
377
446
|
|
|
@@ -379,17 +448,13 @@ class ServerGroupHealthCheck(dict):
|
|
|
379
448
|
|
|
380
449
|
> **NOTE:** This parameter takes effect only when `HealthCheckType` is set to `HTTP`.
|
|
381
450
|
: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`.
|
|
382
|
-
|
|
383
451
|
Valid values: `2` to `10`.
|
|
384
|
-
|
|
385
452
|
Default value: `2`.
|
|
386
453
|
:param str http_check_method: The HTTP method that is used for health checks. Valid values: `GET` (default) and `HEAD`.
|
|
387
454
|
|
|
388
455
|
> **NOTE:** This parameter takes effect only when `HealthCheckType` is set to `HTTP`.
|
|
389
456
|
: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`.
|
|
390
|
-
|
|
391
457
|
Valid values: `2` to `10`.
|
|
392
|
-
|
|
393
458
|
Default value: `2`.
|
|
394
459
|
"""
|
|
395
460
|
if health_check_connect_port is not None:
|
|
@@ -400,10 +465,14 @@ class ServerGroupHealthCheck(dict):
|
|
|
400
465
|
pulumi.set(__self__, "health_check_domain", health_check_domain)
|
|
401
466
|
if health_check_enabled is not None:
|
|
402
467
|
pulumi.set(__self__, "health_check_enabled", health_check_enabled)
|
|
468
|
+
if health_check_exp is not None:
|
|
469
|
+
pulumi.set(__self__, "health_check_exp", health_check_exp)
|
|
403
470
|
if health_check_http_codes is not None:
|
|
404
471
|
pulumi.set(__self__, "health_check_http_codes", health_check_http_codes)
|
|
405
472
|
if health_check_interval is not None:
|
|
406
473
|
pulumi.set(__self__, "health_check_interval", health_check_interval)
|
|
474
|
+
if health_check_req is not None:
|
|
475
|
+
pulumi.set(__self__, "health_check_req", health_check_req)
|
|
407
476
|
if health_check_type is not None:
|
|
408
477
|
pulumi.set(__self__, "health_check_type", health_check_type)
|
|
409
478
|
if health_check_url is not None:
|
|
@@ -420,9 +489,7 @@ class ServerGroupHealthCheck(dict):
|
|
|
420
489
|
def health_check_connect_port(self) -> Optional[int]:
|
|
421
490
|
"""
|
|
422
491
|
The port that you want to use for health checks on backend servers.
|
|
423
|
-
|
|
424
492
|
Valid values: `0` to `65535`.
|
|
425
|
-
|
|
426
493
|
Default value: `0`. If you set the value to 0, the port of the backend server is used for health checks.
|
|
427
494
|
"""
|
|
428
495
|
return pulumi.get(self, "health_check_connect_port")
|
|
@@ -452,6 +519,14 @@ class ServerGroupHealthCheck(dict):
|
|
|
452
519
|
"""
|
|
453
520
|
return pulumi.get(self, "health_check_enabled")
|
|
454
521
|
|
|
522
|
+
@property
|
|
523
|
+
@pulumi.getter(name="healthCheckExp")
|
|
524
|
+
def health_check_exp(self) -> Optional[str]:
|
|
525
|
+
"""
|
|
526
|
+
health check response character string. The value contains a maximum of 512 characters
|
|
527
|
+
"""
|
|
528
|
+
return pulumi.get(self, "health_check_exp")
|
|
529
|
+
|
|
455
530
|
@property
|
|
456
531
|
@pulumi.getter(name="healthCheckHttpCodes")
|
|
457
532
|
def health_check_http_codes(self) -> Optional[Sequence[str]]:
|
|
@@ -467,13 +542,19 @@ class ServerGroupHealthCheck(dict):
|
|
|
467
542
|
def health_check_interval(self) -> Optional[int]:
|
|
468
543
|
"""
|
|
469
544
|
The interval at which health checks are performed. Unit: seconds.
|
|
470
|
-
|
|
471
545
|
Valid values: `5` to `50`.
|
|
472
|
-
|
|
473
546
|
Default value: `10`.
|
|
474
547
|
"""
|
|
475
548
|
return pulumi.get(self, "health_check_interval")
|
|
476
549
|
|
|
550
|
+
@property
|
|
551
|
+
@pulumi.getter(name="healthCheckReq")
|
|
552
|
+
def health_check_req(self) -> Optional[str]:
|
|
553
|
+
"""
|
|
554
|
+
UDP healthy check request string, the value is a character string of 512 characters
|
|
555
|
+
"""
|
|
556
|
+
return pulumi.get(self, "health_check_req")
|
|
557
|
+
|
|
477
558
|
@property
|
|
478
559
|
@pulumi.getter(name="healthCheckType")
|
|
479
560
|
def health_check_type(self) -> Optional[str]:
|
|
@@ -499,9 +580,7 @@ class ServerGroupHealthCheck(dict):
|
|
|
499
580
|
def healthy_threshold(self) -> Optional[int]:
|
|
500
581
|
"""
|
|
501
582
|
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`.
|
|
502
|
-
|
|
503
583
|
Valid values: `2` to `10`.
|
|
504
|
-
|
|
505
584
|
Default value: `2`.
|
|
506
585
|
"""
|
|
507
586
|
return pulumi.get(self, "healthy_threshold")
|
|
@@ -521,9 +600,7 @@ class ServerGroupHealthCheck(dict):
|
|
|
521
600
|
def unhealthy_threshold(self) -> Optional[int]:
|
|
522
601
|
"""
|
|
523
602
|
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`.
|
|
524
|
-
|
|
525
603
|
Valid values: `2` to `10`.
|
|
526
|
-
|
|
527
604
|
Default value: `2`.
|
|
528
605
|
"""
|
|
529
606
|
return pulumi.get(self, "unhealthy_threshold")
|
|
@@ -38,7 +38,6 @@ class ServerGroupArgs:
|
|
|
38
38
|
"""
|
|
39
39
|
The set of arguments for constructing a ServerGroup resource.
|
|
40
40
|
:param pulumi.Input[str] server_group_name: The new name of the server group.
|
|
41
|
-
|
|
42
41
|
The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-). The name must start with a letter.
|
|
43
42
|
:param pulumi.Input[str] vpc_id: The ID of the virtual private cloud (VPC) to which the server group belongs.
|
|
44
43
|
|
|
@@ -54,18 +53,20 @@ class ServerGroupArgs:
|
|
|
54
53
|
:param pulumi.Input['ServerGroupHealthCheckArgs'] health_check: Health check configuration information. See `health_check` below.
|
|
55
54
|
:param pulumi.Input[bool] preserve_client_ip_enabled: Specifies whether to enable client IP preservation. Valid values:
|
|
56
55
|
:param pulumi.Input[str] protocol: The protocol used to forward requests to the backend servers. Valid values:
|
|
56
|
+
|
|
57
57
|
- `TCP` (default)
|
|
58
58
|
- `UDP`
|
|
59
59
|
- `TCPSSL`
|
|
60
60
|
:param pulumi.Input[str] resource_group_id: The ID of the new resource group.
|
|
61
|
-
|
|
62
61
|
You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
|
|
63
62
|
:param pulumi.Input[str] scheduler: The scheduling algorithm. Valid values:
|
|
63
|
+
|
|
64
64
|
- **Wrr:** The weighted round-robin algorithm is used. Backend servers with higher weights receive more requests than backend servers with lower weights. This is the default value.
|
|
65
65
|
- **rr:** The round-robin algorithm is used. Requests are forwarded to backend servers in sequence.
|
|
66
66
|
- **sch:** Source IP hashing is used. Requests from the same source IP address are forwarded to the same backend server.
|
|
67
67
|
- **tch:** Four-element hashing is used. It specifies consistent hashing that is based on four factors: source IP address, destination IP address, source port, and destination port. Requests that contain the same information based on the four factors are forwarded to the same backend server.
|
|
68
68
|
:param pulumi.Input[str] server_group_type: The type of server group. Valid values:
|
|
69
|
+
|
|
69
70
|
- `Instance`: allows you to add servers of the `Ecs`, `Eni`, or `Eci` type. This is the default value.
|
|
70
71
|
- `Ip`: allows you to add servers by specifying IP addresses.
|
|
71
72
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Label.
|
|
@@ -105,7 +106,6 @@ class ServerGroupArgs:
|
|
|
105
106
|
def server_group_name(self) -> pulumi.Input[str]:
|
|
106
107
|
"""
|
|
107
108
|
The new name of the server group.
|
|
108
|
-
|
|
109
109
|
The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-). The name must start with a letter.
|
|
110
110
|
"""
|
|
111
111
|
return pulumi.get(self, "server_group_name")
|
|
@@ -221,6 +221,7 @@ class ServerGroupArgs:
|
|
|
221
221
|
def protocol(self) -> Optional[pulumi.Input[str]]:
|
|
222
222
|
"""
|
|
223
223
|
The protocol used to forward requests to the backend servers. Valid values:
|
|
224
|
+
|
|
224
225
|
- `TCP` (default)
|
|
225
226
|
- `UDP`
|
|
226
227
|
- `TCPSSL`
|
|
@@ -236,7 +237,6 @@ class ServerGroupArgs:
|
|
|
236
237
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
237
238
|
"""
|
|
238
239
|
The ID of the new resource group.
|
|
239
|
-
|
|
240
240
|
You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
|
|
241
241
|
"""
|
|
242
242
|
return pulumi.get(self, "resource_group_id")
|
|
@@ -250,6 +250,7 @@ class ServerGroupArgs:
|
|
|
250
250
|
def scheduler(self) -> Optional[pulumi.Input[str]]:
|
|
251
251
|
"""
|
|
252
252
|
The scheduling algorithm. Valid values:
|
|
253
|
+
|
|
253
254
|
- **Wrr:** The weighted round-robin algorithm is used. Backend servers with higher weights receive more requests than backend servers with lower weights. This is the default value.
|
|
254
255
|
- **rr:** The round-robin algorithm is used. Requests are forwarded to backend servers in sequence.
|
|
255
256
|
- **sch:** Source IP hashing is used. Requests from the same source IP address are forwarded to the same backend server.
|
|
@@ -266,6 +267,7 @@ class ServerGroupArgs:
|
|
|
266
267
|
def server_group_type(self) -> Optional[pulumi.Input[str]]:
|
|
267
268
|
"""
|
|
268
269
|
The type of server group. Valid values:
|
|
270
|
+
|
|
269
271
|
- `Instance`: allows you to add servers of the `Ecs`, `Eni`, or `Eci` type. This is the default value.
|
|
270
272
|
- `Ip`: allows you to add servers by specifying IP addresses.
|
|
271
273
|
"""
|
|
@@ -299,6 +301,7 @@ class _ServerGroupState:
|
|
|
299
301
|
health_check: Optional[pulumi.Input['ServerGroupHealthCheckArgs']] = None,
|
|
300
302
|
preserve_client_ip_enabled: Optional[pulumi.Input[bool]] = None,
|
|
301
303
|
protocol: Optional[pulumi.Input[str]] = None,
|
|
304
|
+
region_id: Optional[pulumi.Input[str]] = None,
|
|
302
305
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
303
306
|
scheduler: Optional[pulumi.Input[str]] = None,
|
|
304
307
|
server_group_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -316,21 +319,23 @@ class _ServerGroupState:
|
|
|
316
319
|
:param pulumi.Input['ServerGroupHealthCheckArgs'] health_check: Health check configuration information. See `health_check` below.
|
|
317
320
|
:param pulumi.Input[bool] preserve_client_ip_enabled: Specifies whether to enable client IP preservation. Valid values:
|
|
318
321
|
:param pulumi.Input[str] protocol: The protocol used to forward requests to the backend servers. Valid values:
|
|
322
|
+
|
|
319
323
|
- `TCP` (default)
|
|
320
324
|
- `UDP`
|
|
321
325
|
- `TCPSSL`
|
|
326
|
+
:param pulumi.Input[str] region_id: The ID of the region where the NLB instance is deployed.
|
|
322
327
|
:param pulumi.Input[str] resource_group_id: The ID of the new resource group.
|
|
323
|
-
|
|
324
328
|
You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
|
|
325
329
|
:param pulumi.Input[str] scheduler: The scheduling algorithm. Valid values:
|
|
330
|
+
|
|
326
331
|
- **Wrr:** The weighted round-robin algorithm is used. Backend servers with higher weights receive more requests than backend servers with lower weights. This is the default value.
|
|
327
332
|
- **rr:** The round-robin algorithm is used. Requests are forwarded to backend servers in sequence.
|
|
328
333
|
- **sch:** Source IP hashing is used. Requests from the same source IP address are forwarded to the same backend server.
|
|
329
334
|
- **tch:** Four-element hashing is used. It specifies consistent hashing that is based on four factors: source IP address, destination IP address, source port, and destination port. Requests that contain the same information based on the four factors are forwarded to the same backend server.
|
|
330
335
|
:param pulumi.Input[str] server_group_name: The new name of the server group.
|
|
331
|
-
|
|
332
336
|
The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-). The name must start with a letter.
|
|
333
337
|
:param pulumi.Input[str] server_group_type: The type of server group. Valid values:
|
|
338
|
+
|
|
334
339
|
- `Instance`: allows you to add servers of the `Ecs`, `Eni`, or `Eci` type. This is the default value.
|
|
335
340
|
- `Ip`: allows you to add servers by specifying IP addresses.
|
|
336
341
|
:param pulumi.Input[str] status: Server group status. Value:
|
|
@@ -361,6 +366,8 @@ class _ServerGroupState:
|
|
|
361
366
|
pulumi.set(__self__, "preserve_client_ip_enabled", preserve_client_ip_enabled)
|
|
362
367
|
if protocol is not None:
|
|
363
368
|
pulumi.set(__self__, "protocol", protocol)
|
|
369
|
+
if region_id is not None:
|
|
370
|
+
pulumi.set(__self__, "region_id", region_id)
|
|
364
371
|
if resource_group_id is not None:
|
|
365
372
|
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
366
373
|
if scheduler is not None:
|
|
@@ -466,6 +473,7 @@ class _ServerGroupState:
|
|
|
466
473
|
def protocol(self) -> Optional[pulumi.Input[str]]:
|
|
467
474
|
"""
|
|
468
475
|
The protocol used to forward requests to the backend servers. Valid values:
|
|
476
|
+
|
|
469
477
|
- `TCP` (default)
|
|
470
478
|
- `UDP`
|
|
471
479
|
- `TCPSSL`
|
|
@@ -476,12 +484,23 @@ class _ServerGroupState:
|
|
|
476
484
|
def protocol(self, value: Optional[pulumi.Input[str]]):
|
|
477
485
|
pulumi.set(self, "protocol", value)
|
|
478
486
|
|
|
487
|
+
@property
|
|
488
|
+
@pulumi.getter(name="regionId")
|
|
489
|
+
def region_id(self) -> Optional[pulumi.Input[str]]:
|
|
490
|
+
"""
|
|
491
|
+
The ID of the region where the NLB instance is deployed.
|
|
492
|
+
"""
|
|
493
|
+
return pulumi.get(self, "region_id")
|
|
494
|
+
|
|
495
|
+
@region_id.setter
|
|
496
|
+
def region_id(self, value: Optional[pulumi.Input[str]]):
|
|
497
|
+
pulumi.set(self, "region_id", value)
|
|
498
|
+
|
|
479
499
|
@property
|
|
480
500
|
@pulumi.getter(name="resourceGroupId")
|
|
481
501
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
482
502
|
"""
|
|
483
503
|
The ID of the new resource group.
|
|
484
|
-
|
|
485
504
|
You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
|
|
486
505
|
"""
|
|
487
506
|
return pulumi.get(self, "resource_group_id")
|
|
@@ -495,6 +514,7 @@ class _ServerGroupState:
|
|
|
495
514
|
def scheduler(self) -> Optional[pulumi.Input[str]]:
|
|
496
515
|
"""
|
|
497
516
|
The scheduling algorithm. Valid values:
|
|
517
|
+
|
|
498
518
|
- **Wrr:** The weighted round-robin algorithm is used. Backend servers with higher weights receive more requests than backend servers with lower weights. This is the default value.
|
|
499
519
|
- **rr:** The round-robin algorithm is used. Requests are forwarded to backend servers in sequence.
|
|
500
520
|
- **sch:** Source IP hashing is used. Requests from the same source IP address are forwarded to the same backend server.
|
|
@@ -511,7 +531,6 @@ class _ServerGroupState:
|
|
|
511
531
|
def server_group_name(self) -> Optional[pulumi.Input[str]]:
|
|
512
532
|
"""
|
|
513
533
|
The new name of the server group.
|
|
514
|
-
|
|
515
534
|
The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-). The name must start with a letter.
|
|
516
535
|
"""
|
|
517
536
|
return pulumi.get(self, "server_group_name")
|
|
@@ -525,6 +544,7 @@ class _ServerGroupState:
|
|
|
525
544
|
def server_group_type(self) -> Optional[pulumi.Input[str]]:
|
|
526
545
|
"""
|
|
527
546
|
The type of server group. Valid values:
|
|
547
|
+
|
|
528
548
|
- `Instance`: allows you to add servers of the `Ecs`, `Eni`, or `Eci` type. This is the default value.
|
|
529
549
|
- `Ip`: allows you to add servers by specifying IP addresses.
|
|
530
550
|
"""
|
|
@@ -597,9 +617,9 @@ class ServerGroup(pulumi.CustomResource):
|
|
|
597
617
|
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
598
618
|
__props__=None):
|
|
599
619
|
"""
|
|
600
|
-
Provides a NLB Server Group resource.
|
|
620
|
+
Provides a Network Load Balancer (NLB) Server Group resource.
|
|
601
621
|
|
|
602
|
-
For information about NLB Server Group and how to use it, see [What is Server Group](https://www.alibabacloud.com/help/en/server-load-balancer/latest/createservergroup-nlb).
|
|
622
|
+
For information about Network Load Balancer (NLB) Server Group and how to use it, see [What is Server Group](https://www.alibabacloud.com/help/en/server-load-balancer/latest/createservergroup-nlb).
|
|
603
623
|
|
|
604
624
|
> **NOTE:** Available since v1.186.0.
|
|
605
625
|
|
|
@@ -652,7 +672,7 @@ class ServerGroup(pulumi.CustomResource):
|
|
|
652
672
|
|
|
653
673
|
## Import
|
|
654
674
|
|
|
655
|
-
NLB Server Group can be imported using the id, e.g.
|
|
675
|
+
Network Load Balancer (NLB) Server Group can be imported using the id, e.g.
|
|
656
676
|
|
|
657
677
|
```sh
|
|
658
678
|
$ pulumi import alicloud:nlb/serverGroup:ServerGroup example <id>
|
|
@@ -668,21 +688,22 @@ class ServerGroup(pulumi.CustomResource):
|
|
|
668
688
|
:param pulumi.Input[Union['ServerGroupHealthCheckArgs', 'ServerGroupHealthCheckArgsDict']] health_check: Health check configuration information. See `health_check` below.
|
|
669
689
|
:param pulumi.Input[bool] preserve_client_ip_enabled: Specifies whether to enable client IP preservation. Valid values:
|
|
670
690
|
:param pulumi.Input[str] protocol: The protocol used to forward requests to the backend servers. Valid values:
|
|
691
|
+
|
|
671
692
|
- `TCP` (default)
|
|
672
693
|
- `UDP`
|
|
673
694
|
- `TCPSSL`
|
|
674
695
|
:param pulumi.Input[str] resource_group_id: The ID of the new resource group.
|
|
675
|
-
|
|
676
696
|
You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
|
|
677
697
|
:param pulumi.Input[str] scheduler: The scheduling algorithm. Valid values:
|
|
698
|
+
|
|
678
699
|
- **Wrr:** The weighted round-robin algorithm is used. Backend servers with higher weights receive more requests than backend servers with lower weights. This is the default value.
|
|
679
700
|
- **rr:** The round-robin algorithm is used. Requests are forwarded to backend servers in sequence.
|
|
680
701
|
- **sch:** Source IP hashing is used. Requests from the same source IP address are forwarded to the same backend server.
|
|
681
702
|
- **tch:** Four-element hashing is used. It specifies consistent hashing that is based on four factors: source IP address, destination IP address, source port, and destination port. Requests that contain the same information based on the four factors are forwarded to the same backend server.
|
|
682
703
|
:param pulumi.Input[str] server_group_name: The new name of the server group.
|
|
683
|
-
|
|
684
704
|
The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-). The name must start with a letter.
|
|
685
705
|
:param pulumi.Input[str] server_group_type: The type of server group. Valid values:
|
|
706
|
+
|
|
686
707
|
- `Instance`: allows you to add servers of the `Ecs`, `Eni`, or `Eci` type. This is the default value.
|
|
687
708
|
- `Ip`: allows you to add servers by specifying IP addresses.
|
|
688
709
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Label.
|
|
@@ -700,9 +721,9 @@ class ServerGroup(pulumi.CustomResource):
|
|
|
700
721
|
args: ServerGroupArgs,
|
|
701
722
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
702
723
|
"""
|
|
703
|
-
Provides a NLB Server Group resource.
|
|
724
|
+
Provides a Network Load Balancer (NLB) Server Group resource.
|
|
704
725
|
|
|
705
|
-
For information about NLB Server Group and how to use it, see [What is Server Group](https://www.alibabacloud.com/help/en/server-load-balancer/latest/createservergroup-nlb).
|
|
726
|
+
For information about Network Load Balancer (NLB) Server Group and how to use it, see [What is Server Group](https://www.alibabacloud.com/help/en/server-load-balancer/latest/createservergroup-nlb).
|
|
706
727
|
|
|
707
728
|
> **NOTE:** Available since v1.186.0.
|
|
708
729
|
|
|
@@ -755,7 +776,7 @@ class ServerGroup(pulumi.CustomResource):
|
|
|
755
776
|
|
|
756
777
|
## Import
|
|
757
778
|
|
|
758
|
-
NLB Server Group can be imported using the id, e.g.
|
|
779
|
+
Network Load Balancer (NLB) Server Group can be imported using the id, e.g.
|
|
759
780
|
|
|
760
781
|
```sh
|
|
761
782
|
$ pulumi import alicloud:nlb/serverGroup:ServerGroup example <id>
|
|
@@ -817,6 +838,7 @@ class ServerGroup(pulumi.CustomResource):
|
|
|
817
838
|
if vpc_id is None and not opts.urn:
|
|
818
839
|
raise TypeError("Missing required property 'vpc_id'")
|
|
819
840
|
__props__.__dict__["vpc_id"] = vpc_id
|
|
841
|
+
__props__.__dict__["region_id"] = None
|
|
820
842
|
__props__.__dict__["status"] = None
|
|
821
843
|
super(ServerGroup, __self__).__init__(
|
|
822
844
|
'alicloud:nlb/serverGroup:ServerGroup',
|
|
@@ -836,6 +858,7 @@ class ServerGroup(pulumi.CustomResource):
|
|
|
836
858
|
health_check: Optional[pulumi.Input[Union['ServerGroupHealthCheckArgs', 'ServerGroupHealthCheckArgsDict']]] = None,
|
|
837
859
|
preserve_client_ip_enabled: Optional[pulumi.Input[bool]] = None,
|
|
838
860
|
protocol: Optional[pulumi.Input[str]] = None,
|
|
861
|
+
region_id: Optional[pulumi.Input[str]] = None,
|
|
839
862
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
840
863
|
scheduler: Optional[pulumi.Input[str]] = None,
|
|
841
864
|
server_group_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -858,21 +881,23 @@ class ServerGroup(pulumi.CustomResource):
|
|
|
858
881
|
:param pulumi.Input[Union['ServerGroupHealthCheckArgs', 'ServerGroupHealthCheckArgsDict']] health_check: Health check configuration information. See `health_check` below.
|
|
859
882
|
:param pulumi.Input[bool] preserve_client_ip_enabled: Specifies whether to enable client IP preservation. Valid values:
|
|
860
883
|
:param pulumi.Input[str] protocol: The protocol used to forward requests to the backend servers. Valid values:
|
|
884
|
+
|
|
861
885
|
- `TCP` (default)
|
|
862
886
|
- `UDP`
|
|
863
887
|
- `TCPSSL`
|
|
888
|
+
:param pulumi.Input[str] region_id: The ID of the region where the NLB instance is deployed.
|
|
864
889
|
:param pulumi.Input[str] resource_group_id: The ID of the new resource group.
|
|
865
|
-
|
|
866
890
|
You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
|
|
867
891
|
:param pulumi.Input[str] scheduler: The scheduling algorithm. Valid values:
|
|
892
|
+
|
|
868
893
|
- **Wrr:** The weighted round-robin algorithm is used. Backend servers with higher weights receive more requests than backend servers with lower weights. This is the default value.
|
|
869
894
|
- **rr:** The round-robin algorithm is used. Requests are forwarded to backend servers in sequence.
|
|
870
895
|
- **sch:** Source IP hashing is used. Requests from the same source IP address are forwarded to the same backend server.
|
|
871
896
|
- **tch:** Four-element hashing is used. It specifies consistent hashing that is based on four factors: source IP address, destination IP address, source port, and destination port. Requests that contain the same information based on the four factors are forwarded to the same backend server.
|
|
872
897
|
:param pulumi.Input[str] server_group_name: The new name of the server group.
|
|
873
|
-
|
|
874
898
|
The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-). The name must start with a letter.
|
|
875
899
|
:param pulumi.Input[str] server_group_type: The type of server group. Valid values:
|
|
900
|
+
|
|
876
901
|
- `Instance`: allows you to add servers of the `Ecs`, `Eni`, or `Eci` type. This is the default value.
|
|
877
902
|
- `Ip`: allows you to add servers by specifying IP addresses.
|
|
878
903
|
:param pulumi.Input[str] status: Server group status. Value:
|
|
@@ -896,6 +921,7 @@ class ServerGroup(pulumi.CustomResource):
|
|
|
896
921
|
__props__.__dict__["health_check"] = health_check
|
|
897
922
|
__props__.__dict__["preserve_client_ip_enabled"] = preserve_client_ip_enabled
|
|
898
923
|
__props__.__dict__["protocol"] = protocol
|
|
924
|
+
__props__.__dict__["region_id"] = region_id
|
|
899
925
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
900
926
|
__props__.__dict__["scheduler"] = scheduler
|
|
901
927
|
__props__.__dict__["server_group_name"] = server_group_name
|
|
@@ -967,18 +993,26 @@ class ServerGroup(pulumi.CustomResource):
|
|
|
967
993
|
def protocol(self) -> pulumi.Output[str]:
|
|
968
994
|
"""
|
|
969
995
|
The protocol used to forward requests to the backend servers. Valid values:
|
|
996
|
+
|
|
970
997
|
- `TCP` (default)
|
|
971
998
|
- `UDP`
|
|
972
999
|
- `TCPSSL`
|
|
973
1000
|
"""
|
|
974
1001
|
return pulumi.get(self, "protocol")
|
|
975
1002
|
|
|
1003
|
+
@property
|
|
1004
|
+
@pulumi.getter(name="regionId")
|
|
1005
|
+
def region_id(self) -> pulumi.Output[str]:
|
|
1006
|
+
"""
|
|
1007
|
+
The ID of the region where the NLB instance is deployed.
|
|
1008
|
+
"""
|
|
1009
|
+
return pulumi.get(self, "region_id")
|
|
1010
|
+
|
|
976
1011
|
@property
|
|
977
1012
|
@pulumi.getter(name="resourceGroupId")
|
|
978
1013
|
def resource_group_id(self) -> pulumi.Output[str]:
|
|
979
1014
|
"""
|
|
980
1015
|
The ID of the new resource group.
|
|
981
|
-
|
|
982
1016
|
You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
|
|
983
1017
|
"""
|
|
984
1018
|
return pulumi.get(self, "resource_group_id")
|
|
@@ -988,6 +1022,7 @@ class ServerGroup(pulumi.CustomResource):
|
|
|
988
1022
|
def scheduler(self) -> pulumi.Output[str]:
|
|
989
1023
|
"""
|
|
990
1024
|
The scheduling algorithm. Valid values:
|
|
1025
|
+
|
|
991
1026
|
- **Wrr:** The weighted round-robin algorithm is used. Backend servers with higher weights receive more requests than backend servers with lower weights. This is the default value.
|
|
992
1027
|
- **rr:** The round-robin algorithm is used. Requests are forwarded to backend servers in sequence.
|
|
993
1028
|
- **sch:** Source IP hashing is used. Requests from the same source IP address are forwarded to the same backend server.
|
|
@@ -1000,7 +1035,6 @@ class ServerGroup(pulumi.CustomResource):
|
|
|
1000
1035
|
def server_group_name(self) -> pulumi.Output[str]:
|
|
1001
1036
|
"""
|
|
1002
1037
|
The new name of the server group.
|
|
1003
|
-
|
|
1004
1038
|
The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-). The name must start with a letter.
|
|
1005
1039
|
"""
|
|
1006
1040
|
return pulumi.get(self, "server_group_name")
|
|
@@ -1010,6 +1044,7 @@ class ServerGroup(pulumi.CustomResource):
|
|
|
1010
1044
|
def server_group_type(self) -> pulumi.Output[str]:
|
|
1011
1045
|
"""
|
|
1012
1046
|
The type of server group. Valid values:
|
|
1047
|
+
|
|
1013
1048
|
- `Instance`: allows you to add servers of the `Ecs`, `Eni`, or `Eci` type. This is the default value.
|
|
1014
1049
|
- `Ip`: allows you to add servers by specifying IP addresses.
|
|
1015
1050
|
"""
|
pulumi_alicloud/ots/_inputs.py
CHANGED
|
@@ -114,7 +114,7 @@ if not MYPY:
|
|
|
114
114
|
"""
|
|
115
115
|
field_type: pulumi.Input[str]
|
|
116
116
|
"""
|
|
117
|
-
Specifies the type of the field.
|
|
117
|
+
Specifies the type of the field. Valid values: Text, Long, Double, Boolean, Keyword, Date, GeoPoint, Nested.
|
|
118
118
|
"""
|
|
119
119
|
analyzer: NotRequired[pulumi.Input[str]]
|
|
120
120
|
"""
|
|
@@ -151,7 +151,7 @@ class SearchIndexSchemaFieldSchemaArgs:
|
|
|
151
151
|
store: Optional[pulumi.Input[bool]] = None):
|
|
152
152
|
"""
|
|
153
153
|
:param pulumi.Input[str] field_name: The name of the field that is used to sort data. only required if sorter_type is FieldSort.
|
|
154
|
-
:param pulumi.Input[str] field_type: Specifies the type of the field.
|
|
154
|
+
:param pulumi.Input[str] field_type: Specifies the type of the field. Valid values: Text, Long, Double, Boolean, Keyword, Date, GeoPoint, Nested.
|
|
155
155
|
:param pulumi.Input[str] analyzer: Specifies the type of the analyzer that you want to use. If fieldType is set to Text, you can configure this parameter. Otherwise, the default analyzer type single-word tokenization is used.
|
|
156
156
|
:param pulumi.Input[bool] enable_sort_and_agg: Specifies whether to enable sorting and aggregation. Type: Boolean. Sorting can be enabled only for fields for which enable_sort_and_agg is set to true.
|
|
157
157
|
:param pulumi.Input[bool] index: Specifies whether to enable indexing for the column. Type: Boolean.
|
|
@@ -187,7 +187,7 @@ class SearchIndexSchemaFieldSchemaArgs:
|
|
|
187
187
|
@pulumi.getter(name="fieldType")
|
|
188
188
|
def field_type(self) -> pulumi.Input[str]:
|
|
189
189
|
"""
|
|
190
|
-
Specifies the type of the field.
|
|
190
|
+
Specifies the type of the field. Valid values: Text, Long, Double, Boolean, Keyword, Date, GeoPoint, Nested.
|
|
191
191
|
"""
|
|
192
192
|
return pulumi.get(self, "field_type")
|
|
193
193
|
|
pulumi_alicloud/ots/outputs.py
CHANGED
|
@@ -133,7 +133,7 @@ class SearchIndexSchemaFieldSchema(dict):
|
|
|
133
133
|
store: Optional[bool] = None):
|
|
134
134
|
"""
|
|
135
135
|
:param str field_name: The name of the field that is used to sort data. only required if sorter_type is FieldSort.
|
|
136
|
-
:param str field_type: Specifies the type of the field.
|
|
136
|
+
:param str field_type: Specifies the type of the field. Valid values: Text, Long, Double, Boolean, Keyword, Date, GeoPoint, Nested.
|
|
137
137
|
:param str analyzer: Specifies the type of the analyzer that you want to use. If fieldType is set to Text, you can configure this parameter. Otherwise, the default analyzer type single-word tokenization is used.
|
|
138
138
|
:param bool enable_sort_and_agg: Specifies whether to enable sorting and aggregation. Type: Boolean. Sorting can be enabled only for fields for which enable_sort_and_agg is set to true.
|
|
139
139
|
:param bool index: Specifies whether to enable indexing for the column. Type: Boolean.
|
|
@@ -165,7 +165,7 @@ class SearchIndexSchemaFieldSchema(dict):
|
|
|
165
165
|
@pulumi.getter(name="fieldType")
|
|
166
166
|
def field_type(self) -> str:
|
|
167
167
|
"""
|
|
168
|
-
Specifies the type of the field.
|
|
168
|
+
Specifies the type of the field. Valid values: Text, Long, Double, Boolean, Keyword, Date, GeoPoint, Nested.
|
|
169
169
|
"""
|
|
170
170
|
return pulumi.get(self, "field_type")
|
|
171
171
|
|
|
@@ -390,7 +390,7 @@ class WorkspaceCodeSource(pulumi.CustomResource):
|
|
|
390
390
|
"""
|
|
391
391
|
Provides a PAI Workspace Code Source resource.
|
|
392
392
|
|
|
393
|
-
For information about PAI Workspace Code Source and how to use it, see [What is Code Source](https://
|
|
393
|
+
For information about PAI Workspace Code Source and how to use it, see [What is Code Source](https://next.api.alibabacloud.com/document/AIWorkSpace/2021-02-04/CreateCodeSource).
|
|
394
394
|
|
|
395
395
|
> **NOTE:** Available since v1.236.0.
|
|
396
396
|
|
|
@@ -455,7 +455,7 @@ class WorkspaceCodeSource(pulumi.CustomResource):
|
|
|
455
455
|
"""
|
|
456
456
|
Provides a PAI Workspace Code Source resource.
|
|
457
457
|
|
|
458
|
-
For information about PAI Workspace Code Source and how to use it, see [What is Code Source](https://
|
|
458
|
+
For information about PAI Workspace Code Source and how to use it, see [What is Code Source](https://next.api.alibabacloud.com/document/AIWorkSpace/2021-02-04/CreateCodeSource).
|
|
459
459
|
|
|
460
460
|
> **NOTE:** Available since v1.236.0.
|
|
461
461
|
|
|
@@ -619,7 +619,7 @@ class WorkspaceDataset(pulumi.CustomResource):
|
|
|
619
619
|
"""
|
|
620
620
|
Provides a PAI Workspace Dataset resource.
|
|
621
621
|
|
|
622
|
-
For information about PAI Workspace Dataset and how to use it, see [What is Dataset](https://
|
|
622
|
+
For information about PAI Workspace Dataset and how to use it, see [What is Dataset](https://next.api.alibabacloud.com/document/AIWorkSpace/2021-02-04/CreateDataset).
|
|
623
623
|
|
|
624
624
|
> **NOTE:** Available since v1.236.0.
|
|
625
625
|
|
|
@@ -725,7 +725,7 @@ class WorkspaceDataset(pulumi.CustomResource):
|
|
|
725
725
|
"""
|
|
726
726
|
Provides a PAI Workspace Dataset resource.
|
|
727
727
|
|
|
728
|
-
For information about PAI Workspace Dataset and how to use it, see [What is Dataset](https://
|
|
728
|
+
For information about PAI Workspace Dataset and how to use it, see [What is Dataset](https://next.api.alibabacloud.com/document/AIWorkSpace/2021-02-04/CreateDataset).
|
|
729
729
|
|
|
730
730
|
> **NOTE:** Available since v1.236.0.
|
|
731
731
|
|