pulumi-alicloud 3.76.0a1743571220__py3-none-any.whl → 3.76.0a1744139894__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 +271 -4
- pulumi_alicloud/_inputs.py +20 -0
- pulumi_alicloud/actiontrail/global_events_storage_region.py +2 -2
- pulumi_alicloud/adb/db_cluster_lake_version.py +458 -49
- pulumi_alicloud/alb/load_balancer_access_log_config_attachment.py +2 -2
- pulumi_alicloud/alb/server_group.py +2 -2
- pulumi_alicloud/alikafka/sasl_acl.py +7 -7
- pulumi_alicloud/apigateway/_inputs.py +134 -0
- pulumi_alicloud/apigateway/group.py +117 -5
- pulumi_alicloud/apigateway/instance.py +148 -7
- pulumi_alicloud/apigateway/outputs.py +107 -0
- pulumi_alicloud/arms/alert_contact.py +2 -2
- pulumi_alicloud/arms/alert_contact_group.py +2 -2
- pulumi_alicloud/arms/get_prometheus.py +2 -6
- pulumi_alicloud/arms/grafana_workspace.py +511 -69
- pulumi_alicloud/arms/outputs.py +18 -18
- pulumi_alicloud/arms/prometheus_alert_rule.py +2 -2
- pulumi_alicloud/arms/prometheus_monitoring.py +2 -2
- pulumi_alicloud/cdn/domain_new.py +2 -2
- pulumi_alicloud/cen/_inputs.py +6 -3
- pulumi_alicloud/cen/get_transit_router_vpn_attachments.py +131 -19
- pulumi_alicloud/cen/instance.py +101 -59
- pulumi_alicloud/cen/inter_region_traffic_qos_policy.py +126 -81
- pulumi_alicloud/cen/inter_region_traffic_qos_queue.py +93 -47
- pulumi_alicloud/cen/outputs.py +69 -26
- pulumi_alicloud/cen/transit_route_table_aggregation.py +171 -55
- pulumi_alicloud/cen/transit_router.py +127 -53
- pulumi_alicloud/cen/transit_router_cidr.py +53 -35
- pulumi_alicloud/cen/transit_router_ecr_attachment.py +2 -2
- pulumi_alicloud/cen/transit_router_peer_attachment.py +360 -143
- pulumi_alicloud/cen/transit_router_route_table_association.py +33 -43
- pulumi_alicloud/cen/transit_router_vpn_attachment.py +438 -109
- pulumi_alicloud/clickhouse/db_cluster.py +179 -6
- pulumi_alicloud/clickhouseenterprisedbcluster/__init__.py +14 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/_inputs.py +167 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/account.py +554 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/backup_policy.py +407 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/click_house_enterprise_db_cluster.py +641 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/outputs.py +147 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/public_endpoint.py +364 -0
- pulumi_alicloud/clickhouseenterprisedbcluster/security_ip.py +357 -0
- pulumi_alicloud/cloudsso/scim_server_credential.py +178 -11
- pulumi_alicloud/config/outputs.py +12 -0
- pulumi_alicloud/cs/__init__.py +1 -0
- pulumi_alicloud/cs/get_kubernetes_node_pools.py +147 -0
- pulumi_alicloud/cs/managed_kubernetes.py +127 -24
- pulumi_alicloud/cs/node_pool.py +42 -42
- pulumi_alicloud/cs/outputs.py +1782 -4
- pulumi_alicloud/databasefilesystem/service_linked_role.py +2 -2
- pulumi_alicloud/dataworks/data_source.py +2 -2
- pulumi_alicloud/dataworks/data_source_shared_rule.py +2 -2
- pulumi_alicloud/dataworks/di_alarm_rule.py +2 -2
- pulumi_alicloud/dataworks/di_job.py +2 -2
- pulumi_alicloud/dataworks/dw_resource_group.py +2 -2
- pulumi_alicloud/dataworks/network.py +2 -2
- pulumi_alicloud/dataworks/project.py +2 -2
- pulumi_alicloud/dataworks/project_member.py +2 -2
- pulumi_alicloud/dbs/backup_plan.py +2 -2
- pulumi_alicloud/ddos/bgp_policy.py +2 -2
- pulumi_alicloud/eais/__init__.py +2 -0
- pulumi_alicloud/eais/_inputs.py +75 -0
- pulumi_alicloud/eais/client_instance_attachment.py +408 -0
- pulumi_alicloud/eais/instance.py +365 -118
- pulumi_alicloud/eais/outputs.py +32 -0
- pulumi_alicloud/ebs/disk_replica_group.py +512 -30
- pulumi_alicloud/ebs/disk_replica_pair.py +443 -113
- pulumi_alicloud/ebs/enterprise_snapshot_policy.py +2 -2
- pulumi_alicloud/ebs/enterprise_snapshot_policy_attachment.py +2 -2
- pulumi_alicloud/ecp/instance.py +2 -2
- pulumi_alicloud/ecp/key_pair.py +4 -4
- pulumi_alicloud/ecs/_inputs.py +33 -0
- pulumi_alicloud/ecs/disk.py +1 -1
- pulumi_alicloud/ecs/ecs_disk.py +1 -1
- pulumi_alicloud/ecs/ecs_launch_template.py +23 -23
- pulumi_alicloud/ecs/instance.py +1 -1
- pulumi_alicloud/ecs/outputs.py +26 -2
- pulumi_alicloud/eflo/__init__.py +5 -0
- pulumi_alicloud/eflo/_inputs.py +1717 -0
- pulumi_alicloud/eflo/cluster.py +935 -0
- pulumi_alicloud/eflo/invocation.py +1114 -0
- pulumi_alicloud/eflo/node.py +1013 -0
- pulumi_alicloud/eflo/node_group.py +1101 -0
- pulumi_alicloud/eflo/outputs.py +1366 -0
- pulumi_alicloud/ens/eip_instance_attachment.py +2 -2
- pulumi_alicloud/ens/image.py +81 -34
- pulumi_alicloud/esa/__init__.py +4 -0
- pulumi_alicloud/esa/_inputs.py +640 -18
- pulumi_alicloud/esa/cache_reserve_instance.py +522 -0
- pulumi_alicloud/esa/cache_rule.py +193 -179
- pulumi_alicloud/esa/certificate.py +99 -92
- pulumi_alicloud/esa/compression_rule.py +42 -28
- pulumi_alicloud/esa/edge_container_app.py +972 -0
- pulumi_alicloud/esa/edge_container_app_record.py +376 -0
- pulumi_alicloud/esa/http_request_header_modification_rule.py +56 -42
- pulumi_alicloud/esa/http_response_header_modification_rule.py +35 -56
- pulumi_alicloud/esa/https_application_configuration.py +42 -28
- pulumi_alicloud/esa/https_basic_configuration.py +56 -42
- pulumi_alicloud/esa/image_transform.py +42 -28
- pulumi_alicloud/esa/kv_namespace.py +11 -11
- pulumi_alicloud/esa/list.py +28 -28
- pulumi_alicloud/esa/network_optimization.py +56 -126
- pulumi_alicloud/esa/origin_pool.py +19 -19
- pulumi_alicloud/esa/origin_rule.py +67 -39
- pulumi_alicloud/esa/outputs.py +536 -12
- pulumi_alicloud/esa/page.py +28 -49
- pulumi_alicloud/esa/rate_plan_instance.py +86 -159
- pulumi_alicloud/esa/redirect_rule.py +42 -28
- pulumi_alicloud/esa/rewrite_url_rule.py +49 -63
- pulumi_alicloud/esa/site.py +67 -123
- pulumi_alicloud/esa/site_delivery_task.py +841 -0
- pulumi_alicloud/esa/waiting_room.py +269 -319
- pulumi_alicloud/esa/waiting_room_event.py +291 -305
- pulumi_alicloud/esa/waiting_room_rule.py +46 -53
- pulumi_alicloud/ess/_inputs.py +155 -0
- pulumi_alicloud/ess/outputs.py +128 -0
- pulumi_alicloud/ess/scaling_group.py +237 -2
- pulumi_alicloud/ess/scaling_rule.py +143 -2
- pulumi_alicloud/expressconnect/router_grant_association.py +2 -2
- pulumi_alicloud/expressconnect/virtual_border_router.py +4 -4
- pulumi_alicloud/gpdb/hadoop_data_source.py +2 -2
- pulumi_alicloud/gpdb/jdbc_data_source.py +2 -2
- pulumi_alicloud/gpdb/remote_adb_data_source.py +6 -6
- pulumi_alicloud/gpdb/streaming_data_source.py +2 -2
- pulumi_alicloud/gpdb/streaming_job.py +2 -2
- pulumi_alicloud/ims/oidc_provider.py +24 -13
- pulumi_alicloud/kvstore/account.py +9 -9
- pulumi_alicloud/kvstore/connection.py +2 -2
- pulumi_alicloud/kvstore/get_instance_classes.py +2 -2
- pulumi_alicloud/kvstore/get_instance_engines.py +2 -2
- pulumi_alicloud/kvstore/instance.py +7 -7
- pulumi_alicloud/kvstore/outputs.py +2 -2
- pulumi_alicloud/live/caster.py +2 -2
- pulumi_alicloud/maxcompute/__init__.py +1 -0
- pulumi_alicloud/maxcompute/_inputs.py +232 -3
- pulumi_alicloud/maxcompute/outputs.py +183 -2
- pulumi_alicloud/maxcompute/project.py +2 -2
- pulumi_alicloud/maxcompute/quota.py +438 -0
- pulumi_alicloud/nas/mount_target.py +149 -54
- pulumi_alicloud/nlb/__init__.py +1 -0
- pulumi_alicloud/nlb/_inputs.py +43 -6
- pulumi_alicloud/nlb/load_balancer.py +212 -24
- pulumi_alicloud/nlb/load_balancer_zone_shifted_attachment.py +397 -0
- pulumi_alicloud/nlb/outputs.py +30 -4
- pulumi_alicloud/nlb/server_group_server_attachment.py +118 -65
- pulumi_alicloud/oss/__init__.py +1 -0
- pulumi_alicloud/oss/_inputs.py +20 -0
- pulumi_alicloud/oss/access_point.py +2 -2
- pulumi_alicloud/oss/bucket_cname.py +2 -2
- pulumi_alicloud/oss/bucket_cors.py +2 -2
- pulumi_alicloud/oss/bucket_style.py +402 -0
- pulumi_alicloud/oss/bucket_website.py +2 -2
- pulumi_alicloud/oss/outputs.py +14 -0
- pulumi_alicloud/pai/service.py +59 -67
- pulumi_alicloud/polardb/cluster.py +75 -28
- pulumi_alicloud/privatelink/vpc_endpoint_zone.py +1 -1
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/__init__.py +3 -0
- pulumi_alicloud/ram/_inputs.py +9 -9
- pulumi_alicloud/ram/access_key.py +77 -31
- pulumi_alicloud/ram/account_alias.py +18 -45
- pulumi_alicloud/ram/get_system_policys.py +189 -0
- pulumi_alicloud/ram/group.py +156 -35
- pulumi_alicloud/ram/group_policy_attachment.py +51 -29
- pulumi_alicloud/ram/login_profile.py +92 -38
- pulumi_alicloud/ram/outputs.py +91 -6
- pulumi_alicloud/ram/password_policy.py +779 -0
- pulumi_alicloud/ram/policy.py +199 -88
- pulumi_alicloud/ram/role_policy_attachment.py +51 -29
- pulumi_alicloud/ram/saml_provider.py +44 -37
- pulumi_alicloud/ram/user_group_attachment.py +273 -0
- pulumi_alicloud/ram/user_policy_attachment.py +49 -27
- pulumi_alicloud/rds/__init__.py +1 -0
- pulumi_alicloud/rds/custom_disk.py +1053 -0
- pulumi_alicloud/rds/instance.py +110 -14
- pulumi_alicloud/redis/tair_instance.py +14 -14
- pulumi_alicloud/resourcemanager/__init__.py +1 -0
- pulumi_alicloud/resourcemanager/_inputs.py +53 -0
- pulumi_alicloud/resourcemanager/auto_grouping_rule.py +796 -0
- pulumi_alicloud/resourcemanager/outputs.py +50 -0
- pulumi_alicloud/resourcemanager/shared_resource.py +7 -0
- pulumi_alicloud/rocketmq/__init__.py +1 -1
- pulumi_alicloud/rocketmq/_inputs.py +146 -4
- pulumi_alicloud/rocketmq/account.py +452 -0
- pulumi_alicloud/rocketmq/acl.py +473 -47
- pulumi_alicloud/rocketmq/client_user.py +8 -2
- pulumi_alicloud/rocketmq/consumer_group.py +121 -24
- pulumi_alicloud/rocketmq/dnat_entry.py +8 -2
- pulumi_alicloud/rocketmq/outputs.py +113 -4
- pulumi_alicloud/rocketmq/qos.py +8 -2
- pulumi_alicloud/rocketmq/qos_car.py +10 -4
- pulumi_alicloud/rocketmq/qos_policy.py +6 -0
- pulumi_alicloud/rocketmq/rocket_mq_instance.py +136 -7
- pulumi_alicloud/rocketmq/rocket_mq_topic.py +121 -24
- pulumi_alicloud/rocketmq/snat_entry.py +8 -2
- pulumi_alicloud/sag/__init__.py +8 -0
- pulumi_alicloud/sag/acl.py +200 -0
- pulumi_alicloud/{rocketmq → sag}/acl_rule.py +7 -7
- pulumi_alicloud/sag/client_user.py +560 -0
- pulumi_alicloud/sag/dnat_entry.py +512 -0
- pulumi_alicloud/sag/get_acls.py +2 -2
- pulumi_alicloud/sag/qos.py +202 -0
- pulumi_alicloud/sag/qos_car.py +654 -0
- pulumi_alicloud/sag/qos_policy.py +659 -0
- pulumi_alicloud/sag/snat_entry.py +313 -0
- pulumi_alicloud/securitycenter/group.py +2 -2
- pulumi_alicloud/selectdb/db_instance.py +60 -11
- pulumi_alicloud/slb/server_group_server_attachment.py +101 -111
- pulumi_alicloud/sls/oss_export_sink.py +2 -2
- pulumi_alicloud/threatdetection/__init__.py +3 -0
- pulumi_alicloud/threatdetection/anti_brute_force_rule.py +41 -65
- pulumi_alicloud/threatdetection/asset_bind.py +209 -0
- pulumi_alicloud/threatdetection/asset_selection_config.py +258 -0
- pulumi_alicloud/threatdetection/instance.py +271 -54
- pulumi_alicloud/threatdetection/log_meta.py +351 -0
- pulumi_alicloud/vpc/__init__.py +1 -0
- pulumi_alicloud/vpc/_inputs.py +281 -0
- pulumi_alicloud/vpc/gateway_endpoint.py +85 -27
- pulumi_alicloud/vpc/get_ipam_ipam_pool_allocations.py +2 -2
- pulumi_alicloud/vpc/get_ipam_ipam_pool_cidrs.py +2 -2
- pulumi_alicloud/vpc/get_ipam_ipam_pools.py +2 -2
- pulumi_alicloud/vpc/get_ipam_ipam_scopes.py +2 -2
- pulumi_alicloud/vpc/get_ipam_ipams.py +2 -2
- pulumi_alicloud/vpc/ipv6_address.py +85 -5
- pulumi_alicloud/vpc/outputs.py +232 -0
- pulumi_alicloud/vpc/peer_connection.py +84 -42
- pulumi_alicloud/vpc/peer_connection_accepter.py +7 -21
- pulumi_alicloud/vpc/route_table.py +100 -45
- pulumi_alicloud/vpc/vpc_route_entry.py +724 -0
- pulumi_alicloud/vpn/_inputs.py +716 -71
- pulumi_alicloud/vpn/gateway_vpn_attachment.py +622 -128
- pulumi_alicloud/vpn/get_gateway_vpn_attachments.py +20 -63
- pulumi_alicloud/vpn/ipsec_server.py +2 -2
- pulumi_alicloud/vpn/outputs.py +1963 -998
- {pulumi_alicloud-3.76.0a1743571220.dist-info → pulumi_alicloud-3.76.0a1744139894.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.76.0a1743571220.dist-info → pulumi_alicloud-3.76.0a1744139894.dist-info}/RECORD +237 -197
- {pulumi_alicloud-3.76.0a1743571220.dist-info → pulumi_alicloud-3.76.0a1744139894.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.76.0a1743571220.dist-info → pulumi_alicloud-3.76.0a1744139894.dist-info}/top_level.txt +0 -0
|
@@ -26,6 +26,7 @@ class LoadBalancerArgs:
|
|
|
26
26
|
zone_mappings: pulumi.Input[Sequence[pulumi.Input['LoadBalancerZoneMappingArgs']]],
|
|
27
27
|
address_ip_version: Optional[pulumi.Input[str]] = None,
|
|
28
28
|
bandwidth_package_id: Optional[pulumi.Input[str]] = None,
|
|
29
|
+
cps: Optional[pulumi.Input[int]] = None,
|
|
29
30
|
cross_zone_enabled: Optional[pulumi.Input[bool]] = None,
|
|
30
31
|
deletion_protection_config: Optional[pulumi.Input['LoadBalancerDeletionProtectionConfigArgs']] = None,
|
|
31
32
|
deletion_protection_enabled: Optional[pulumi.Input[bool]] = None,
|
|
@@ -36,6 +37,7 @@ class LoadBalancerArgs:
|
|
|
36
37
|
modification_protection_config: Optional[pulumi.Input['LoadBalancerModificationProtectionConfigArgs']] = None,
|
|
37
38
|
modification_protection_reason: Optional[pulumi.Input[str]] = None,
|
|
38
39
|
modification_protection_status: Optional[pulumi.Input[str]] = None,
|
|
40
|
+
payment_type: Optional[pulumi.Input[str]] = None,
|
|
39
41
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
40
42
|
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
41
43
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
|
@@ -53,18 +55,26 @@ class LoadBalancerArgs:
|
|
|
53
55
|
- **ipv4:** IPv4. This is the default value.
|
|
54
56
|
- **DualStack:** dual stack.
|
|
55
57
|
:param pulumi.Input[str] bandwidth_package_id: The ID of the EIP bandwidth plan that is associated with the Internet-facing NLB instance.
|
|
58
|
+
:param pulumi.Input[int] cps: The speed limit of new connections per second processed by NLB instances in each VIP. Value range: `0` to `1000000`.
|
|
59
|
+
|
|
60
|
+
- *0** means no speed limit.
|
|
56
61
|
:param pulumi.Input[bool] cross_zone_enabled: Specifies whether to enable cross-zone load balancing for the NLB instance. Valid values:
|
|
57
62
|
:param pulumi.Input['LoadBalancerDeletionProtectionConfigArgs'] deletion_protection_config: Specifies whether to enable deletion protection. Default value: `false`. See `deletion_protection_config` below.
|
|
63
|
+
:param pulumi.Input[bool] deletion_protection_enabled: Specifies whether to enable deletion protection. Default value: `false`. Valid values:
|
|
64
|
+
:param pulumi.Input[str] deletion_protection_reason: The reason why the deletion protection feature is enabled or disabled. The `deletion_protection_reason` takes effect only when `deletion_protection_enabled` is set to `true`.
|
|
58
65
|
:param pulumi.Input[str] ipv6_address_type: The type of IPv6 address used by the NLB instance. Valid values:
|
|
59
66
|
- `Internet`: a public IP address. The domain name of the NLB instance is resolved to the public IP address. Therefore, the NLB instance can be accessed over the Internet.
|
|
60
67
|
- `Intranet`: a private IP address. The domain name of the NLB instance is resolved to the private IP address. Therefore, the NLB instance can be accessed over the VPC where the NLB instance is deployed.
|
|
61
68
|
:param pulumi.Input[str] load_balancer_name: The name of the NLB instance.
|
|
62
|
-
|
|
63
69
|
The value must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-). The value must start with a letter.
|
|
64
70
|
:param pulumi.Input[str] load_balancer_type: The type of the Server Load Balancer (SLB) instance. Set the value to `network`, which specifies NLB.
|
|
65
71
|
:param pulumi.Input['LoadBalancerModificationProtectionConfigArgs'] modification_protection_config: Specifies whether to enable the configuration read-only mode. Default value: `NonProtection`. See `modification_protection_config` below.
|
|
72
|
+
:param pulumi.Input[str] modification_protection_reason: The reason why the configuration read-only mode is enabled. The `modification_protection_reason` takes effect only when `modification_protection_status` is set to `ConsoleProtection`.
|
|
73
|
+
:param pulumi.Input[str] modification_protection_status: Specifies whether to enable the configuration read-only mode. Default value: `NonProtection`. Valid values:
|
|
74
|
+
- `NonProtection`: Does not enable the configuration read-only mode. You cannot set the `modification_protection_reason`. If the `modification_protection_reason` is set, the value is cleared.
|
|
75
|
+
- `ConsoleProtection`: Enables the configuration read-only mode. You can set the `modification_protection_reason`.
|
|
76
|
+
:param pulumi.Input[str] payment_type: The payment type of the resource
|
|
66
77
|
:param pulumi.Input[str] resource_group_id: The ID of the new resource group.
|
|
67
|
-
|
|
68
78
|
You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
|
|
69
79
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: The security group to which the network-based SLB instance belongs.
|
|
70
80
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: List of labels.
|
|
@@ -76,6 +86,8 @@ class LoadBalancerArgs:
|
|
|
76
86
|
pulumi.set(__self__, "address_ip_version", address_ip_version)
|
|
77
87
|
if bandwidth_package_id is not None:
|
|
78
88
|
pulumi.set(__self__, "bandwidth_package_id", bandwidth_package_id)
|
|
89
|
+
if cps is not None:
|
|
90
|
+
pulumi.set(__self__, "cps", cps)
|
|
79
91
|
if cross_zone_enabled is not None:
|
|
80
92
|
pulumi.set(__self__, "cross_zone_enabled", cross_zone_enabled)
|
|
81
93
|
if deletion_protection_config is not None:
|
|
@@ -96,6 +108,8 @@ class LoadBalancerArgs:
|
|
|
96
108
|
pulumi.set(__self__, "modification_protection_reason", modification_protection_reason)
|
|
97
109
|
if modification_protection_status is not None:
|
|
98
110
|
pulumi.set(__self__, "modification_protection_status", modification_protection_status)
|
|
111
|
+
if payment_type is not None:
|
|
112
|
+
pulumi.set(__self__, "payment_type", payment_type)
|
|
99
113
|
if resource_group_id is not None:
|
|
100
114
|
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
101
115
|
if security_group_ids is not None:
|
|
@@ -170,6 +184,20 @@ class LoadBalancerArgs:
|
|
|
170
184
|
def bandwidth_package_id(self, value: Optional[pulumi.Input[str]]):
|
|
171
185
|
pulumi.set(self, "bandwidth_package_id", value)
|
|
172
186
|
|
|
187
|
+
@property
|
|
188
|
+
@pulumi.getter
|
|
189
|
+
def cps(self) -> Optional[pulumi.Input[int]]:
|
|
190
|
+
"""
|
|
191
|
+
The speed limit of new connections per second processed by NLB instances in each VIP. Value range: `0` to `1000000`.
|
|
192
|
+
|
|
193
|
+
- *0** means no speed limit.
|
|
194
|
+
"""
|
|
195
|
+
return pulumi.get(self, "cps")
|
|
196
|
+
|
|
197
|
+
@cps.setter
|
|
198
|
+
def cps(self, value: Optional[pulumi.Input[int]]):
|
|
199
|
+
pulumi.set(self, "cps", value)
|
|
200
|
+
|
|
173
201
|
@property
|
|
174
202
|
@pulumi.getter(name="crossZoneEnabled")
|
|
175
203
|
def cross_zone_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
@@ -197,6 +225,9 @@ class LoadBalancerArgs:
|
|
|
197
225
|
@property
|
|
198
226
|
@pulumi.getter(name="deletionProtectionEnabled")
|
|
199
227
|
def deletion_protection_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
228
|
+
"""
|
|
229
|
+
Specifies whether to enable deletion protection. Default value: `false`. Valid values:
|
|
230
|
+
"""
|
|
200
231
|
return pulumi.get(self, "deletion_protection_enabled")
|
|
201
232
|
|
|
202
233
|
@deletion_protection_enabled.setter
|
|
@@ -206,6 +237,9 @@ class LoadBalancerArgs:
|
|
|
206
237
|
@property
|
|
207
238
|
@pulumi.getter(name="deletionProtectionReason")
|
|
208
239
|
def deletion_protection_reason(self) -> Optional[pulumi.Input[str]]:
|
|
240
|
+
"""
|
|
241
|
+
The reason why the deletion protection feature is enabled or disabled. The `deletion_protection_reason` takes effect only when `deletion_protection_enabled` is set to `true`.
|
|
242
|
+
"""
|
|
209
243
|
return pulumi.get(self, "deletion_protection_reason")
|
|
210
244
|
|
|
211
245
|
@deletion_protection_reason.setter
|
|
@@ -231,7 +265,6 @@ class LoadBalancerArgs:
|
|
|
231
265
|
def load_balancer_name(self) -> Optional[pulumi.Input[str]]:
|
|
232
266
|
"""
|
|
233
267
|
The name of the NLB instance.
|
|
234
|
-
|
|
235
268
|
The value must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-). The value must start with a letter.
|
|
236
269
|
"""
|
|
237
270
|
return pulumi.get(self, "load_balancer_name")
|
|
@@ -267,6 +300,9 @@ class LoadBalancerArgs:
|
|
|
267
300
|
@property
|
|
268
301
|
@pulumi.getter(name="modificationProtectionReason")
|
|
269
302
|
def modification_protection_reason(self) -> Optional[pulumi.Input[str]]:
|
|
303
|
+
"""
|
|
304
|
+
The reason why the configuration read-only mode is enabled. The `modification_protection_reason` takes effect only when `modification_protection_status` is set to `ConsoleProtection`.
|
|
305
|
+
"""
|
|
270
306
|
return pulumi.get(self, "modification_protection_reason")
|
|
271
307
|
|
|
272
308
|
@modification_protection_reason.setter
|
|
@@ -276,18 +312,34 @@ class LoadBalancerArgs:
|
|
|
276
312
|
@property
|
|
277
313
|
@pulumi.getter(name="modificationProtectionStatus")
|
|
278
314
|
def modification_protection_status(self) -> Optional[pulumi.Input[str]]:
|
|
315
|
+
"""
|
|
316
|
+
Specifies whether to enable the configuration read-only mode. Default value: `NonProtection`. Valid values:
|
|
317
|
+
- `NonProtection`: Does not enable the configuration read-only mode. You cannot set the `modification_protection_reason`. If the `modification_protection_reason` is set, the value is cleared.
|
|
318
|
+
- `ConsoleProtection`: Enables the configuration read-only mode. You can set the `modification_protection_reason`.
|
|
319
|
+
"""
|
|
279
320
|
return pulumi.get(self, "modification_protection_status")
|
|
280
321
|
|
|
281
322
|
@modification_protection_status.setter
|
|
282
323
|
def modification_protection_status(self, value: Optional[pulumi.Input[str]]):
|
|
283
324
|
pulumi.set(self, "modification_protection_status", value)
|
|
284
325
|
|
|
326
|
+
@property
|
|
327
|
+
@pulumi.getter(name="paymentType")
|
|
328
|
+
def payment_type(self) -> Optional[pulumi.Input[str]]:
|
|
329
|
+
"""
|
|
330
|
+
The payment type of the resource
|
|
331
|
+
"""
|
|
332
|
+
return pulumi.get(self, "payment_type")
|
|
333
|
+
|
|
334
|
+
@payment_type.setter
|
|
335
|
+
def payment_type(self, value: Optional[pulumi.Input[str]]):
|
|
336
|
+
pulumi.set(self, "payment_type", value)
|
|
337
|
+
|
|
285
338
|
@property
|
|
286
339
|
@pulumi.getter(name="resourceGroupId")
|
|
287
340
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
288
341
|
"""
|
|
289
342
|
The ID of the new resource group.
|
|
290
|
-
|
|
291
343
|
You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
|
|
292
344
|
"""
|
|
293
345
|
return pulumi.get(self, "resource_group_id")
|
|
@@ -327,6 +379,7 @@ class _LoadBalancerState:
|
|
|
327
379
|
address_ip_version: Optional[pulumi.Input[str]] = None,
|
|
328
380
|
address_type: Optional[pulumi.Input[str]] = None,
|
|
329
381
|
bandwidth_package_id: Optional[pulumi.Input[str]] = None,
|
|
382
|
+
cps: Optional[pulumi.Input[int]] = None,
|
|
330
383
|
create_time: Optional[pulumi.Input[str]] = None,
|
|
331
384
|
cross_zone_enabled: Optional[pulumi.Input[bool]] = None,
|
|
332
385
|
deletion_protection_config: Optional[pulumi.Input['LoadBalancerDeletionProtectionConfigArgs']] = None,
|
|
@@ -340,6 +393,8 @@ class _LoadBalancerState:
|
|
|
340
393
|
modification_protection_config: Optional[pulumi.Input['LoadBalancerModificationProtectionConfigArgs']] = None,
|
|
341
394
|
modification_protection_reason: Optional[pulumi.Input[str]] = None,
|
|
342
395
|
modification_protection_status: Optional[pulumi.Input[str]] = None,
|
|
396
|
+
payment_type: Optional[pulumi.Input[str]] = None,
|
|
397
|
+
region_id: Optional[pulumi.Input[str]] = None,
|
|
343
398
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
344
399
|
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
345
400
|
status: Optional[pulumi.Input[str]] = None,
|
|
@@ -358,24 +413,33 @@ class _LoadBalancerState:
|
|
|
358
413
|
|
|
359
414
|
> **NOTE:** To enable a public IPv6 address for an NLB instance, call the [EnableLoadBalancerIpv6Internet](https://www.alibabacloud.com/help/en/doc-detail/445878.html) operation.
|
|
360
415
|
:param pulumi.Input[str] bandwidth_package_id: The ID of the EIP bandwidth plan that is associated with the Internet-facing NLB instance.
|
|
416
|
+
:param pulumi.Input[int] cps: The speed limit of new connections per second processed by NLB instances in each VIP. Value range: `0` to `1000000`.
|
|
417
|
+
|
|
418
|
+
- *0** means no speed limit.
|
|
361
419
|
:param pulumi.Input[str] create_time: Resource creation time, using Greenwich Mean Time, formating' yyyy-MM-ddTHH:mm:ssZ '.
|
|
362
420
|
:param pulumi.Input[bool] cross_zone_enabled: Specifies whether to enable cross-zone load balancing for the NLB instance. Valid values:
|
|
363
421
|
:param pulumi.Input['LoadBalancerDeletionProtectionConfigArgs'] deletion_protection_config: Specifies whether to enable deletion protection. Default value: `false`. See `deletion_protection_config` below.
|
|
422
|
+
:param pulumi.Input[bool] deletion_protection_enabled: Specifies whether to enable deletion protection. Default value: `false`. Valid values:
|
|
423
|
+
:param pulumi.Input[str] deletion_protection_reason: The reason why the deletion protection feature is enabled or disabled. The `deletion_protection_reason` takes effect only when `deletion_protection_enabled` is set to `true`.
|
|
364
424
|
:param pulumi.Input[str] dns_name: The domain name of the NLB instance.
|
|
365
425
|
:param pulumi.Input[str] ipv6_address_type: The type of IPv6 address used by the NLB instance. Valid values:
|
|
366
426
|
- `Internet`: a public IP address. The domain name of the NLB instance is resolved to the public IP address. Therefore, the NLB instance can be accessed over the Internet.
|
|
367
427
|
- `Intranet`: a private IP address. The domain name of the NLB instance is resolved to the private IP address. Therefore, the NLB instance can be accessed over the VPC where the NLB instance is deployed.
|
|
368
428
|
:param pulumi.Input[str] load_balancer_business_status: The business status of the NLB instance.
|
|
369
429
|
:param pulumi.Input[str] load_balancer_name: The name of the NLB instance.
|
|
370
|
-
|
|
371
430
|
The value must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-). The value must start with a letter.
|
|
372
431
|
:param pulumi.Input[str] load_balancer_type: The type of the Server Load Balancer (SLB) instance. Set the value to `network`, which specifies NLB.
|
|
373
432
|
:param pulumi.Input['LoadBalancerModificationProtectionConfigArgs'] modification_protection_config: Specifies whether to enable the configuration read-only mode. Default value: `NonProtection`. See `modification_protection_config` below.
|
|
433
|
+
:param pulumi.Input[str] modification_protection_reason: The reason why the configuration read-only mode is enabled. The `modification_protection_reason` takes effect only when `modification_protection_status` is set to `ConsoleProtection`.
|
|
434
|
+
:param pulumi.Input[str] modification_protection_status: Specifies whether to enable the configuration read-only mode. Default value: `NonProtection`. Valid values:
|
|
435
|
+
- `NonProtection`: Does not enable the configuration read-only mode. You cannot set the `modification_protection_reason`. If the `modification_protection_reason` is set, the value is cleared.
|
|
436
|
+
- `ConsoleProtection`: Enables the configuration read-only mode. You can set the `modification_protection_reason`.
|
|
437
|
+
:param pulumi.Input[str] payment_type: The payment type of the resource
|
|
438
|
+
:param pulumi.Input[str] region_id: The ID of the region where the NLB instance is deployed.
|
|
374
439
|
:param pulumi.Input[str] resource_group_id: The ID of the new resource group.
|
|
375
|
-
|
|
376
440
|
You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
|
|
377
441
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: The security group to which the network-based SLB instance belongs.
|
|
378
|
-
:param pulumi.Input[str] status:
|
|
442
|
+
:param pulumi.Input[str] status: Zone Status
|
|
379
443
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: List of labels.
|
|
380
444
|
:param pulumi.Input[str] vpc_id: The ID of the VPC where the NLB instance is deployed.
|
|
381
445
|
:param pulumi.Input[Sequence[pulumi.Input['LoadBalancerZoneMappingArgs']]] zone_mappings: Available Area Configuration List. You must add at least two zones. You can add a maximum of 10 zones. See `zone_mappings` below.
|
|
@@ -386,6 +450,8 @@ class _LoadBalancerState:
|
|
|
386
450
|
pulumi.set(__self__, "address_type", address_type)
|
|
387
451
|
if bandwidth_package_id is not None:
|
|
388
452
|
pulumi.set(__self__, "bandwidth_package_id", bandwidth_package_id)
|
|
453
|
+
if cps is not None:
|
|
454
|
+
pulumi.set(__self__, "cps", cps)
|
|
389
455
|
if create_time is not None:
|
|
390
456
|
pulumi.set(__self__, "create_time", create_time)
|
|
391
457
|
if cross_zone_enabled is not None:
|
|
@@ -412,6 +478,10 @@ class _LoadBalancerState:
|
|
|
412
478
|
pulumi.set(__self__, "modification_protection_reason", modification_protection_reason)
|
|
413
479
|
if modification_protection_status is not None:
|
|
414
480
|
pulumi.set(__self__, "modification_protection_status", modification_protection_status)
|
|
481
|
+
if payment_type is not None:
|
|
482
|
+
pulumi.set(__self__, "payment_type", payment_type)
|
|
483
|
+
if region_id is not None:
|
|
484
|
+
pulumi.set(__self__, "region_id", region_id)
|
|
415
485
|
if resource_group_id is not None:
|
|
416
486
|
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
417
487
|
if security_group_ids is not None:
|
|
@@ -468,6 +538,20 @@ class _LoadBalancerState:
|
|
|
468
538
|
def bandwidth_package_id(self, value: Optional[pulumi.Input[str]]):
|
|
469
539
|
pulumi.set(self, "bandwidth_package_id", value)
|
|
470
540
|
|
|
541
|
+
@property
|
|
542
|
+
@pulumi.getter
|
|
543
|
+
def cps(self) -> Optional[pulumi.Input[int]]:
|
|
544
|
+
"""
|
|
545
|
+
The speed limit of new connections per second processed by NLB instances in each VIP. Value range: `0` to `1000000`.
|
|
546
|
+
|
|
547
|
+
- *0** means no speed limit.
|
|
548
|
+
"""
|
|
549
|
+
return pulumi.get(self, "cps")
|
|
550
|
+
|
|
551
|
+
@cps.setter
|
|
552
|
+
def cps(self, value: Optional[pulumi.Input[int]]):
|
|
553
|
+
pulumi.set(self, "cps", value)
|
|
554
|
+
|
|
471
555
|
@property
|
|
472
556
|
@pulumi.getter(name="createTime")
|
|
473
557
|
def create_time(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -507,6 +591,9 @@ class _LoadBalancerState:
|
|
|
507
591
|
@property
|
|
508
592
|
@pulumi.getter(name="deletionProtectionEnabled")
|
|
509
593
|
def deletion_protection_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
594
|
+
"""
|
|
595
|
+
Specifies whether to enable deletion protection. Default value: `false`. Valid values:
|
|
596
|
+
"""
|
|
510
597
|
return pulumi.get(self, "deletion_protection_enabled")
|
|
511
598
|
|
|
512
599
|
@deletion_protection_enabled.setter
|
|
@@ -516,6 +603,9 @@ class _LoadBalancerState:
|
|
|
516
603
|
@property
|
|
517
604
|
@pulumi.getter(name="deletionProtectionReason")
|
|
518
605
|
def deletion_protection_reason(self) -> Optional[pulumi.Input[str]]:
|
|
606
|
+
"""
|
|
607
|
+
The reason why the deletion protection feature is enabled or disabled. The `deletion_protection_reason` takes effect only when `deletion_protection_enabled` is set to `true`.
|
|
608
|
+
"""
|
|
519
609
|
return pulumi.get(self, "deletion_protection_reason")
|
|
520
610
|
|
|
521
611
|
@deletion_protection_reason.setter
|
|
@@ -565,7 +655,6 @@ class _LoadBalancerState:
|
|
|
565
655
|
def load_balancer_name(self) -> Optional[pulumi.Input[str]]:
|
|
566
656
|
"""
|
|
567
657
|
The name of the NLB instance.
|
|
568
|
-
|
|
569
658
|
The value must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-). The value must start with a letter.
|
|
570
659
|
"""
|
|
571
660
|
return pulumi.get(self, "load_balancer_name")
|
|
@@ -601,6 +690,9 @@ class _LoadBalancerState:
|
|
|
601
690
|
@property
|
|
602
691
|
@pulumi.getter(name="modificationProtectionReason")
|
|
603
692
|
def modification_protection_reason(self) -> Optional[pulumi.Input[str]]:
|
|
693
|
+
"""
|
|
694
|
+
The reason why the configuration read-only mode is enabled. The `modification_protection_reason` takes effect only when `modification_protection_status` is set to `ConsoleProtection`.
|
|
695
|
+
"""
|
|
604
696
|
return pulumi.get(self, "modification_protection_reason")
|
|
605
697
|
|
|
606
698
|
@modification_protection_reason.setter
|
|
@@ -610,18 +702,46 @@ class _LoadBalancerState:
|
|
|
610
702
|
@property
|
|
611
703
|
@pulumi.getter(name="modificationProtectionStatus")
|
|
612
704
|
def modification_protection_status(self) -> Optional[pulumi.Input[str]]:
|
|
705
|
+
"""
|
|
706
|
+
Specifies whether to enable the configuration read-only mode. Default value: `NonProtection`. Valid values:
|
|
707
|
+
- `NonProtection`: Does not enable the configuration read-only mode. You cannot set the `modification_protection_reason`. If the `modification_protection_reason` is set, the value is cleared.
|
|
708
|
+
- `ConsoleProtection`: Enables the configuration read-only mode. You can set the `modification_protection_reason`.
|
|
709
|
+
"""
|
|
613
710
|
return pulumi.get(self, "modification_protection_status")
|
|
614
711
|
|
|
615
712
|
@modification_protection_status.setter
|
|
616
713
|
def modification_protection_status(self, value: Optional[pulumi.Input[str]]):
|
|
617
714
|
pulumi.set(self, "modification_protection_status", value)
|
|
618
715
|
|
|
716
|
+
@property
|
|
717
|
+
@pulumi.getter(name="paymentType")
|
|
718
|
+
def payment_type(self) -> Optional[pulumi.Input[str]]:
|
|
719
|
+
"""
|
|
720
|
+
The payment type of the resource
|
|
721
|
+
"""
|
|
722
|
+
return pulumi.get(self, "payment_type")
|
|
723
|
+
|
|
724
|
+
@payment_type.setter
|
|
725
|
+
def payment_type(self, value: Optional[pulumi.Input[str]]):
|
|
726
|
+
pulumi.set(self, "payment_type", value)
|
|
727
|
+
|
|
728
|
+
@property
|
|
729
|
+
@pulumi.getter(name="regionId")
|
|
730
|
+
def region_id(self) -> Optional[pulumi.Input[str]]:
|
|
731
|
+
"""
|
|
732
|
+
The ID of the region where the NLB instance is deployed.
|
|
733
|
+
"""
|
|
734
|
+
return pulumi.get(self, "region_id")
|
|
735
|
+
|
|
736
|
+
@region_id.setter
|
|
737
|
+
def region_id(self, value: Optional[pulumi.Input[str]]):
|
|
738
|
+
pulumi.set(self, "region_id", value)
|
|
739
|
+
|
|
619
740
|
@property
|
|
620
741
|
@pulumi.getter(name="resourceGroupId")
|
|
621
742
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
622
743
|
"""
|
|
623
744
|
The ID of the new resource group.
|
|
624
|
-
|
|
625
745
|
You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
|
|
626
746
|
"""
|
|
627
747
|
return pulumi.get(self, "resource_group_id")
|
|
@@ -646,7 +766,7 @@ class _LoadBalancerState:
|
|
|
646
766
|
@pulumi.getter
|
|
647
767
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
648
768
|
"""
|
|
649
|
-
|
|
769
|
+
Zone Status
|
|
650
770
|
"""
|
|
651
771
|
return pulumi.get(self, "status")
|
|
652
772
|
|
|
@@ -699,6 +819,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
699
819
|
address_ip_version: Optional[pulumi.Input[str]] = None,
|
|
700
820
|
address_type: Optional[pulumi.Input[str]] = None,
|
|
701
821
|
bandwidth_package_id: Optional[pulumi.Input[str]] = None,
|
|
822
|
+
cps: Optional[pulumi.Input[int]] = None,
|
|
702
823
|
cross_zone_enabled: Optional[pulumi.Input[bool]] = None,
|
|
703
824
|
deletion_protection_config: Optional[pulumi.Input[Union['LoadBalancerDeletionProtectionConfigArgs', 'LoadBalancerDeletionProtectionConfigArgsDict']]] = None,
|
|
704
825
|
deletion_protection_enabled: Optional[pulumi.Input[bool]] = None,
|
|
@@ -709,6 +830,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
709
830
|
modification_protection_config: Optional[pulumi.Input[Union['LoadBalancerModificationProtectionConfigArgs', 'LoadBalancerModificationProtectionConfigArgsDict']]] = None,
|
|
710
831
|
modification_protection_reason: Optional[pulumi.Input[str]] = None,
|
|
711
832
|
modification_protection_status: Optional[pulumi.Input[str]] = None,
|
|
833
|
+
payment_type: Optional[pulumi.Input[str]] = None,
|
|
712
834
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
713
835
|
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
714
836
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
@@ -716,9 +838,9 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
716
838
|
zone_mappings: Optional[pulumi.Input[Sequence[pulumi.Input[Union['LoadBalancerZoneMappingArgs', 'LoadBalancerZoneMappingArgsDict']]]]] = None,
|
|
717
839
|
__props__=None):
|
|
718
840
|
"""
|
|
719
|
-
Provides a NLB Load Balancer resource.
|
|
841
|
+
Provides a Network Load Balancer (NLB) Load Balancer resource.
|
|
720
842
|
|
|
721
|
-
For information about NLB Load Balancer and how to use it, see [What is Load Balancer](https://www.alibabacloud.com/help/en/server-load-balancer/latest/api-nlb-2022-04-30-createloadbalancer).
|
|
843
|
+
For information about Network Load Balancer (NLB) Load Balancer and how to use it, see [What is Load Balancer](https://www.alibabacloud.com/help/en/server-load-balancer/latest/api-nlb-2022-04-30-createloadbalancer).
|
|
722
844
|
|
|
723
845
|
> **NOTE:** Available since v1.191.0.
|
|
724
846
|
|
|
@@ -832,7 +954,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
832
954
|
|
|
833
955
|
## Import
|
|
834
956
|
|
|
835
|
-
NLB Load Balancer can be imported using the id, e.g.
|
|
957
|
+
Network Load Balancer (NLB) Load Balancer can be imported using the id, e.g.
|
|
836
958
|
|
|
837
959
|
```sh
|
|
838
960
|
$ pulumi import alicloud:nlb/loadBalancer:LoadBalancer example <id>
|
|
@@ -850,18 +972,26 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
850
972
|
|
|
851
973
|
> **NOTE:** To enable a public IPv6 address for an NLB instance, call the [EnableLoadBalancerIpv6Internet](https://www.alibabacloud.com/help/en/doc-detail/445878.html) operation.
|
|
852
974
|
:param pulumi.Input[str] bandwidth_package_id: The ID of the EIP bandwidth plan that is associated with the Internet-facing NLB instance.
|
|
975
|
+
:param pulumi.Input[int] cps: The speed limit of new connections per second processed by NLB instances in each VIP. Value range: `0` to `1000000`.
|
|
976
|
+
|
|
977
|
+
- *0** means no speed limit.
|
|
853
978
|
:param pulumi.Input[bool] cross_zone_enabled: Specifies whether to enable cross-zone load balancing for the NLB instance. Valid values:
|
|
854
979
|
:param pulumi.Input[Union['LoadBalancerDeletionProtectionConfigArgs', 'LoadBalancerDeletionProtectionConfigArgsDict']] deletion_protection_config: Specifies whether to enable deletion protection. Default value: `false`. See `deletion_protection_config` below.
|
|
980
|
+
:param pulumi.Input[bool] deletion_protection_enabled: Specifies whether to enable deletion protection. Default value: `false`. Valid values:
|
|
981
|
+
:param pulumi.Input[str] deletion_protection_reason: The reason why the deletion protection feature is enabled or disabled. The `deletion_protection_reason` takes effect only when `deletion_protection_enabled` is set to `true`.
|
|
855
982
|
:param pulumi.Input[str] ipv6_address_type: The type of IPv6 address used by the NLB instance. Valid values:
|
|
856
983
|
- `Internet`: a public IP address. The domain name of the NLB instance is resolved to the public IP address. Therefore, the NLB instance can be accessed over the Internet.
|
|
857
984
|
- `Intranet`: a private IP address. The domain name of the NLB instance is resolved to the private IP address. Therefore, the NLB instance can be accessed over the VPC where the NLB instance is deployed.
|
|
858
985
|
:param pulumi.Input[str] load_balancer_name: The name of the NLB instance.
|
|
859
|
-
|
|
860
986
|
The value must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-). The value must start with a letter.
|
|
861
987
|
:param pulumi.Input[str] load_balancer_type: The type of the Server Load Balancer (SLB) instance. Set the value to `network`, which specifies NLB.
|
|
862
988
|
:param pulumi.Input[Union['LoadBalancerModificationProtectionConfigArgs', 'LoadBalancerModificationProtectionConfigArgsDict']] modification_protection_config: Specifies whether to enable the configuration read-only mode. Default value: `NonProtection`. See `modification_protection_config` below.
|
|
989
|
+
:param pulumi.Input[str] modification_protection_reason: The reason why the configuration read-only mode is enabled. The `modification_protection_reason` takes effect only when `modification_protection_status` is set to `ConsoleProtection`.
|
|
990
|
+
:param pulumi.Input[str] modification_protection_status: Specifies whether to enable the configuration read-only mode. Default value: `NonProtection`. Valid values:
|
|
991
|
+
- `NonProtection`: Does not enable the configuration read-only mode. You cannot set the `modification_protection_reason`. If the `modification_protection_reason` is set, the value is cleared.
|
|
992
|
+
- `ConsoleProtection`: Enables the configuration read-only mode. You can set the `modification_protection_reason`.
|
|
993
|
+
:param pulumi.Input[str] payment_type: The payment type of the resource
|
|
863
994
|
:param pulumi.Input[str] resource_group_id: The ID of the new resource group.
|
|
864
|
-
|
|
865
995
|
You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
|
|
866
996
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: The security group to which the network-based SLB instance belongs.
|
|
867
997
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: List of labels.
|
|
@@ -875,9 +1005,9 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
875
1005
|
args: LoadBalancerArgs,
|
|
876
1006
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
877
1007
|
"""
|
|
878
|
-
Provides a NLB Load Balancer resource.
|
|
1008
|
+
Provides a Network Load Balancer (NLB) Load Balancer resource.
|
|
879
1009
|
|
|
880
|
-
For information about NLB Load Balancer and how to use it, see [What is Load Balancer](https://www.alibabacloud.com/help/en/server-load-balancer/latest/api-nlb-2022-04-30-createloadbalancer).
|
|
1010
|
+
For information about Network Load Balancer (NLB) Load Balancer and how to use it, see [What is Load Balancer](https://www.alibabacloud.com/help/en/server-load-balancer/latest/api-nlb-2022-04-30-createloadbalancer).
|
|
881
1011
|
|
|
882
1012
|
> **NOTE:** Available since v1.191.0.
|
|
883
1013
|
|
|
@@ -991,7 +1121,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
991
1121
|
|
|
992
1122
|
## Import
|
|
993
1123
|
|
|
994
|
-
NLB Load Balancer can be imported using the id, e.g.
|
|
1124
|
+
Network Load Balancer (NLB) Load Balancer can be imported using the id, e.g.
|
|
995
1125
|
|
|
996
1126
|
```sh
|
|
997
1127
|
$ pulumi import alicloud:nlb/loadBalancer:LoadBalancer example <id>
|
|
@@ -1015,6 +1145,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1015
1145
|
address_ip_version: Optional[pulumi.Input[str]] = None,
|
|
1016
1146
|
address_type: Optional[pulumi.Input[str]] = None,
|
|
1017
1147
|
bandwidth_package_id: Optional[pulumi.Input[str]] = None,
|
|
1148
|
+
cps: Optional[pulumi.Input[int]] = None,
|
|
1018
1149
|
cross_zone_enabled: Optional[pulumi.Input[bool]] = None,
|
|
1019
1150
|
deletion_protection_config: Optional[pulumi.Input[Union['LoadBalancerDeletionProtectionConfigArgs', 'LoadBalancerDeletionProtectionConfigArgsDict']]] = None,
|
|
1020
1151
|
deletion_protection_enabled: Optional[pulumi.Input[bool]] = None,
|
|
@@ -1025,6 +1156,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1025
1156
|
modification_protection_config: Optional[pulumi.Input[Union['LoadBalancerModificationProtectionConfigArgs', 'LoadBalancerModificationProtectionConfigArgsDict']]] = None,
|
|
1026
1157
|
modification_protection_reason: Optional[pulumi.Input[str]] = None,
|
|
1027
1158
|
modification_protection_status: Optional[pulumi.Input[str]] = None,
|
|
1159
|
+
payment_type: Optional[pulumi.Input[str]] = None,
|
|
1028
1160
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
1029
1161
|
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1030
1162
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
@@ -1044,6 +1176,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1044
1176
|
raise TypeError("Missing required property 'address_type'")
|
|
1045
1177
|
__props__.__dict__["address_type"] = address_type
|
|
1046
1178
|
__props__.__dict__["bandwidth_package_id"] = bandwidth_package_id
|
|
1179
|
+
__props__.__dict__["cps"] = cps
|
|
1047
1180
|
__props__.__dict__["cross_zone_enabled"] = cross_zone_enabled
|
|
1048
1181
|
__props__.__dict__["deletion_protection_config"] = deletion_protection_config
|
|
1049
1182
|
__props__.__dict__["deletion_protection_enabled"] = deletion_protection_enabled
|
|
@@ -1054,6 +1187,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1054
1187
|
__props__.__dict__["modification_protection_config"] = modification_protection_config
|
|
1055
1188
|
__props__.__dict__["modification_protection_reason"] = modification_protection_reason
|
|
1056
1189
|
__props__.__dict__["modification_protection_status"] = modification_protection_status
|
|
1190
|
+
__props__.__dict__["payment_type"] = payment_type
|
|
1057
1191
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
1058
1192
|
__props__.__dict__["security_group_ids"] = security_group_ids
|
|
1059
1193
|
__props__.__dict__["tags"] = tags
|
|
@@ -1066,6 +1200,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1066
1200
|
__props__.__dict__["create_time"] = None
|
|
1067
1201
|
__props__.__dict__["dns_name"] = None
|
|
1068
1202
|
__props__.__dict__["load_balancer_business_status"] = None
|
|
1203
|
+
__props__.__dict__["region_id"] = None
|
|
1069
1204
|
__props__.__dict__["status"] = None
|
|
1070
1205
|
super(LoadBalancer, __self__).__init__(
|
|
1071
1206
|
'alicloud:nlb/loadBalancer:LoadBalancer',
|
|
@@ -1080,6 +1215,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1080
1215
|
address_ip_version: Optional[pulumi.Input[str]] = None,
|
|
1081
1216
|
address_type: Optional[pulumi.Input[str]] = None,
|
|
1082
1217
|
bandwidth_package_id: Optional[pulumi.Input[str]] = None,
|
|
1218
|
+
cps: Optional[pulumi.Input[int]] = None,
|
|
1083
1219
|
create_time: Optional[pulumi.Input[str]] = None,
|
|
1084
1220
|
cross_zone_enabled: Optional[pulumi.Input[bool]] = None,
|
|
1085
1221
|
deletion_protection_config: Optional[pulumi.Input[Union['LoadBalancerDeletionProtectionConfigArgs', 'LoadBalancerDeletionProtectionConfigArgsDict']]] = None,
|
|
@@ -1093,6 +1229,8 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1093
1229
|
modification_protection_config: Optional[pulumi.Input[Union['LoadBalancerModificationProtectionConfigArgs', 'LoadBalancerModificationProtectionConfigArgsDict']]] = None,
|
|
1094
1230
|
modification_protection_reason: Optional[pulumi.Input[str]] = None,
|
|
1095
1231
|
modification_protection_status: Optional[pulumi.Input[str]] = None,
|
|
1232
|
+
payment_type: Optional[pulumi.Input[str]] = None,
|
|
1233
|
+
region_id: Optional[pulumi.Input[str]] = None,
|
|
1096
1234
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
1097
1235
|
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1098
1236
|
status: Optional[pulumi.Input[str]] = None,
|
|
@@ -1116,24 +1254,33 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1116
1254
|
|
|
1117
1255
|
> **NOTE:** To enable a public IPv6 address for an NLB instance, call the [EnableLoadBalancerIpv6Internet](https://www.alibabacloud.com/help/en/doc-detail/445878.html) operation.
|
|
1118
1256
|
:param pulumi.Input[str] bandwidth_package_id: The ID of the EIP bandwidth plan that is associated with the Internet-facing NLB instance.
|
|
1257
|
+
:param pulumi.Input[int] cps: The speed limit of new connections per second processed by NLB instances in each VIP. Value range: `0` to `1000000`.
|
|
1258
|
+
|
|
1259
|
+
- *0** means no speed limit.
|
|
1119
1260
|
:param pulumi.Input[str] create_time: Resource creation time, using Greenwich Mean Time, formating' yyyy-MM-ddTHH:mm:ssZ '.
|
|
1120
1261
|
:param pulumi.Input[bool] cross_zone_enabled: Specifies whether to enable cross-zone load balancing for the NLB instance. Valid values:
|
|
1121
1262
|
:param pulumi.Input[Union['LoadBalancerDeletionProtectionConfigArgs', 'LoadBalancerDeletionProtectionConfigArgsDict']] deletion_protection_config: Specifies whether to enable deletion protection. Default value: `false`. See `deletion_protection_config` below.
|
|
1263
|
+
:param pulumi.Input[bool] deletion_protection_enabled: Specifies whether to enable deletion protection. Default value: `false`. Valid values:
|
|
1264
|
+
:param pulumi.Input[str] deletion_protection_reason: The reason why the deletion protection feature is enabled or disabled. The `deletion_protection_reason` takes effect only when `deletion_protection_enabled` is set to `true`.
|
|
1122
1265
|
:param pulumi.Input[str] dns_name: The domain name of the NLB instance.
|
|
1123
1266
|
:param pulumi.Input[str] ipv6_address_type: The type of IPv6 address used by the NLB instance. Valid values:
|
|
1124
1267
|
- `Internet`: a public IP address. The domain name of the NLB instance is resolved to the public IP address. Therefore, the NLB instance can be accessed over the Internet.
|
|
1125
1268
|
- `Intranet`: a private IP address. The domain name of the NLB instance is resolved to the private IP address. Therefore, the NLB instance can be accessed over the VPC where the NLB instance is deployed.
|
|
1126
1269
|
:param pulumi.Input[str] load_balancer_business_status: The business status of the NLB instance.
|
|
1127
1270
|
:param pulumi.Input[str] load_balancer_name: The name of the NLB instance.
|
|
1128
|
-
|
|
1129
1271
|
The value must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-). The value must start with a letter.
|
|
1130
1272
|
:param pulumi.Input[str] load_balancer_type: The type of the Server Load Balancer (SLB) instance. Set the value to `network`, which specifies NLB.
|
|
1131
1273
|
:param pulumi.Input[Union['LoadBalancerModificationProtectionConfigArgs', 'LoadBalancerModificationProtectionConfigArgsDict']] modification_protection_config: Specifies whether to enable the configuration read-only mode. Default value: `NonProtection`. See `modification_protection_config` below.
|
|
1274
|
+
:param pulumi.Input[str] modification_protection_reason: The reason why the configuration read-only mode is enabled. The `modification_protection_reason` takes effect only when `modification_protection_status` is set to `ConsoleProtection`.
|
|
1275
|
+
:param pulumi.Input[str] modification_protection_status: Specifies whether to enable the configuration read-only mode. Default value: `NonProtection`. Valid values:
|
|
1276
|
+
- `NonProtection`: Does not enable the configuration read-only mode. You cannot set the `modification_protection_reason`. If the `modification_protection_reason` is set, the value is cleared.
|
|
1277
|
+
- `ConsoleProtection`: Enables the configuration read-only mode. You can set the `modification_protection_reason`.
|
|
1278
|
+
:param pulumi.Input[str] payment_type: The payment type of the resource
|
|
1279
|
+
:param pulumi.Input[str] region_id: The ID of the region where the NLB instance is deployed.
|
|
1132
1280
|
:param pulumi.Input[str] resource_group_id: The ID of the new resource group.
|
|
1133
|
-
|
|
1134
1281
|
You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
|
|
1135
1282
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: The security group to which the network-based SLB instance belongs.
|
|
1136
|
-
:param pulumi.Input[str] status:
|
|
1283
|
+
:param pulumi.Input[str] status: Zone Status
|
|
1137
1284
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: List of labels.
|
|
1138
1285
|
:param pulumi.Input[str] vpc_id: The ID of the VPC where the NLB instance is deployed.
|
|
1139
1286
|
:param pulumi.Input[Sequence[pulumi.Input[Union['LoadBalancerZoneMappingArgs', 'LoadBalancerZoneMappingArgsDict']]]] zone_mappings: Available Area Configuration List. You must add at least two zones. You can add a maximum of 10 zones. See `zone_mappings` below.
|
|
@@ -1145,6 +1292,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1145
1292
|
__props__.__dict__["address_ip_version"] = address_ip_version
|
|
1146
1293
|
__props__.__dict__["address_type"] = address_type
|
|
1147
1294
|
__props__.__dict__["bandwidth_package_id"] = bandwidth_package_id
|
|
1295
|
+
__props__.__dict__["cps"] = cps
|
|
1148
1296
|
__props__.__dict__["create_time"] = create_time
|
|
1149
1297
|
__props__.__dict__["cross_zone_enabled"] = cross_zone_enabled
|
|
1150
1298
|
__props__.__dict__["deletion_protection_config"] = deletion_protection_config
|
|
@@ -1158,6 +1306,8 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1158
1306
|
__props__.__dict__["modification_protection_config"] = modification_protection_config
|
|
1159
1307
|
__props__.__dict__["modification_protection_reason"] = modification_protection_reason
|
|
1160
1308
|
__props__.__dict__["modification_protection_status"] = modification_protection_status
|
|
1309
|
+
__props__.__dict__["payment_type"] = payment_type
|
|
1310
|
+
__props__.__dict__["region_id"] = region_id
|
|
1161
1311
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
1162
1312
|
__props__.__dict__["security_group_ids"] = security_group_ids
|
|
1163
1313
|
__props__.__dict__["status"] = status
|
|
@@ -1197,6 +1347,16 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1197
1347
|
"""
|
|
1198
1348
|
return pulumi.get(self, "bandwidth_package_id")
|
|
1199
1349
|
|
|
1350
|
+
@property
|
|
1351
|
+
@pulumi.getter
|
|
1352
|
+
def cps(self) -> pulumi.Output[Optional[int]]:
|
|
1353
|
+
"""
|
|
1354
|
+
The speed limit of new connections per second processed by NLB instances in each VIP. Value range: `0` to `1000000`.
|
|
1355
|
+
|
|
1356
|
+
- *0** means no speed limit.
|
|
1357
|
+
"""
|
|
1358
|
+
return pulumi.get(self, "cps")
|
|
1359
|
+
|
|
1200
1360
|
@property
|
|
1201
1361
|
@pulumi.getter(name="createTime")
|
|
1202
1362
|
def create_time(self) -> pulumi.Output[str]:
|
|
@@ -1224,11 +1384,17 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1224
1384
|
@property
|
|
1225
1385
|
@pulumi.getter(name="deletionProtectionEnabled")
|
|
1226
1386
|
def deletion_protection_enabled(self) -> pulumi.Output[bool]:
|
|
1387
|
+
"""
|
|
1388
|
+
Specifies whether to enable deletion protection. Default value: `false`. Valid values:
|
|
1389
|
+
"""
|
|
1227
1390
|
return pulumi.get(self, "deletion_protection_enabled")
|
|
1228
1391
|
|
|
1229
1392
|
@property
|
|
1230
1393
|
@pulumi.getter(name="deletionProtectionReason")
|
|
1231
1394
|
def deletion_protection_reason(self) -> pulumi.Output[str]:
|
|
1395
|
+
"""
|
|
1396
|
+
The reason why the deletion protection feature is enabled or disabled. The `deletion_protection_reason` takes effect only when `deletion_protection_enabled` is set to `true`.
|
|
1397
|
+
"""
|
|
1232
1398
|
return pulumi.get(self, "deletion_protection_reason")
|
|
1233
1399
|
|
|
1234
1400
|
@property
|
|
@@ -1262,7 +1428,6 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1262
1428
|
def load_balancer_name(self) -> pulumi.Output[Optional[str]]:
|
|
1263
1429
|
"""
|
|
1264
1430
|
The name of the NLB instance.
|
|
1265
|
-
|
|
1266
1431
|
The value must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-). The value must start with a letter.
|
|
1267
1432
|
"""
|
|
1268
1433
|
return pulumi.get(self, "load_balancer_name")
|
|
@@ -1286,19 +1451,42 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1286
1451
|
@property
|
|
1287
1452
|
@pulumi.getter(name="modificationProtectionReason")
|
|
1288
1453
|
def modification_protection_reason(self) -> pulumi.Output[str]:
|
|
1454
|
+
"""
|
|
1455
|
+
The reason why the configuration read-only mode is enabled. The `modification_protection_reason` takes effect only when `modification_protection_status` is set to `ConsoleProtection`.
|
|
1456
|
+
"""
|
|
1289
1457
|
return pulumi.get(self, "modification_protection_reason")
|
|
1290
1458
|
|
|
1291
1459
|
@property
|
|
1292
1460
|
@pulumi.getter(name="modificationProtectionStatus")
|
|
1293
1461
|
def modification_protection_status(self) -> pulumi.Output[str]:
|
|
1462
|
+
"""
|
|
1463
|
+
Specifies whether to enable the configuration read-only mode. Default value: `NonProtection`. Valid values:
|
|
1464
|
+
- `NonProtection`: Does not enable the configuration read-only mode. You cannot set the `modification_protection_reason`. If the `modification_protection_reason` is set, the value is cleared.
|
|
1465
|
+
- `ConsoleProtection`: Enables the configuration read-only mode. You can set the `modification_protection_reason`.
|
|
1466
|
+
"""
|
|
1294
1467
|
return pulumi.get(self, "modification_protection_status")
|
|
1295
1468
|
|
|
1469
|
+
@property
|
|
1470
|
+
@pulumi.getter(name="paymentType")
|
|
1471
|
+
def payment_type(self) -> pulumi.Output[str]:
|
|
1472
|
+
"""
|
|
1473
|
+
The payment type of the resource
|
|
1474
|
+
"""
|
|
1475
|
+
return pulumi.get(self, "payment_type")
|
|
1476
|
+
|
|
1477
|
+
@property
|
|
1478
|
+
@pulumi.getter(name="regionId")
|
|
1479
|
+
def region_id(self) -> pulumi.Output[str]:
|
|
1480
|
+
"""
|
|
1481
|
+
The ID of the region where the NLB instance is deployed.
|
|
1482
|
+
"""
|
|
1483
|
+
return pulumi.get(self, "region_id")
|
|
1484
|
+
|
|
1296
1485
|
@property
|
|
1297
1486
|
@pulumi.getter(name="resourceGroupId")
|
|
1298
1487
|
def resource_group_id(self) -> pulumi.Output[str]:
|
|
1299
1488
|
"""
|
|
1300
1489
|
The ID of the new resource group.
|
|
1301
|
-
|
|
1302
1490
|
You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
|
|
1303
1491
|
"""
|
|
1304
1492
|
return pulumi.get(self, "resource_group_id")
|
|
@@ -1315,7 +1503,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1315
1503
|
@pulumi.getter
|
|
1316
1504
|
def status(self) -> pulumi.Output[str]:
|
|
1317
1505
|
"""
|
|
1318
|
-
|
|
1506
|
+
Zone Status
|
|
1319
1507
|
"""
|
|
1320
1508
|
return pulumi.get(self, "status")
|
|
1321
1509
|
|