pulumi-alicloud 3.63.0__py3-none-any.whl → 3.63.0a1726032285__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.

Files changed (75) hide show
  1. pulumi_alicloud/__init__.py +0 -24
  2. pulumi_alicloud/alb/acl.py +19 -18
  3. pulumi_alicloud/alb/health_check_template.py +88 -96
  4. pulumi_alicloud/amqp/binding.py +36 -30
  5. pulumi_alicloud/cen/_inputs.py +14 -180
  6. pulumi_alicloud/cen/outputs.py +12 -173
  7. pulumi_alicloud/cen/traffic_marking_policy.py +53 -116
  8. pulumi_alicloud/cen/transit_router_vpc_attachment.py +119 -338
  9. pulumi_alicloud/cms/_inputs.py +6 -6
  10. pulumi_alicloud/cms/outputs.py +6 -6
  11. pulumi_alicloud/cr/chart_namespace.py +6 -14
  12. pulumi_alicloud/cr/endpoint_acl_policy.py +2 -10
  13. pulumi_alicloud/cr/namespace.py +2 -10
  14. pulumi_alicloud/cs/registry_enterprise_sync_rule.py +10 -10
  15. pulumi_alicloud/ddos/_inputs.py +9 -8
  16. pulumi_alicloud/ddos/bgp_ip.py +1 -1
  17. pulumi_alicloud/ddos/domain_resource.py +90 -446
  18. pulumi_alicloud/ddos/outputs.py +8 -7
  19. pulumi_alicloud/eci/container_group.py +0 -47
  20. pulumi_alicloud/ecs/_inputs.py +0 -28
  21. pulumi_alicloud/ecs/ecs_snapshot.py +77 -199
  22. pulumi_alicloud/ecs/outputs.py +0 -20
  23. pulumi_alicloud/ecs/snapshot.py +8 -26
  24. pulumi_alicloud/emrv2/_inputs.py +12 -12
  25. pulumi_alicloud/emrv2/outputs.py +12 -12
  26. pulumi_alicloud/ens/_inputs.py +2 -50
  27. pulumi_alicloud/ens/instance.py +184 -428
  28. pulumi_alicloud/ens/outputs.py +2 -57
  29. pulumi_alicloud/ess/__init__.py +0 -1
  30. pulumi_alicloud/ess/alarm.py +0 -47
  31. pulumi_alicloud/expressconnect/physical_connection.py +185 -321
  32. pulumi_alicloud/fc/trigger.py +24 -22
  33. pulumi_alicloud/ga/_inputs.py +5 -23
  34. pulumi_alicloud/ga/endpoint_group.py +14 -68
  35. pulumi_alicloud/ga/outputs.py +5 -21
  36. pulumi_alicloud/governance/account.py +0 -61
  37. pulumi_alicloud/gpdb/__init__.py +0 -4
  38. pulumi_alicloud/gpdb/_inputs.py +3 -361
  39. pulumi_alicloud/gpdb/instance.py +0 -47
  40. pulumi_alicloud/gpdb/outputs.py +4 -597
  41. pulumi_alicloud/mongodb/instance.py +0 -94
  42. pulumi_alicloud/nlb/_inputs.py +64 -120
  43. pulumi_alicloud/nlb/get_listeners.py +2 -32
  44. pulumi_alicloud/nlb/get_server_group_server_attachments.py +2 -8
  45. pulumi_alicloud/nlb/listener.py +245 -315
  46. pulumi_alicloud/nlb/listener_additional_certificate_attachment.py +25 -25
  47. pulumi_alicloud/nlb/load_balancer.py +212 -297
  48. pulumi_alicloud/nlb/load_balancer_security_group_attachment.py +39 -29
  49. pulumi_alicloud/nlb/loadbalancer_common_bandwidth_package_attachment.py +18 -22
  50. pulumi_alicloud/nlb/outputs.py +66 -122
  51. pulumi_alicloud/nlb/security_policy.py +25 -53
  52. pulumi_alicloud/nlb/server_group.py +133 -196
  53. pulumi_alicloud/ocean/base_instance.py +163 -498
  54. pulumi_alicloud/oos/get_secret_parameters.py +9 -111
  55. pulumi_alicloud/oos/outputs.py +11 -22
  56. pulumi_alicloud/pulumi-plugin.json +1 -1
  57. pulumi_alicloud/ram/get_account_alias.py +2 -35
  58. pulumi_alicloud/rds/instance.py +21 -21
  59. pulumi_alicloud/rocketmq/_inputs.py +22 -79
  60. pulumi_alicloud/rocketmq/outputs.py +21 -85
  61. pulumi_alicloud/rocketmq/rocket_mq_instance.py +113 -307
  62. pulumi_alicloud/servicemesh/extension_provider.py +2 -2
  63. pulumi_alicloud/vpc/common_bandwith_package_attachment.py +2 -2
  64. pulumi_alicloud/vpc/peer_connection.py +59 -127
  65. pulumi_alicloud/vpc/peer_connection_accepter.py +42 -263
  66. pulumi_alicloud/vpc/route_entry.py +210 -232
  67. {pulumi_alicloud-3.63.0.dist-info → pulumi_alicloud-3.63.0a1726032285.dist-info}/METADATA +1 -1
  68. {pulumi_alicloud-3.63.0.dist-info → pulumi_alicloud-3.63.0a1726032285.dist-info}/RECORD +70 -75
  69. {pulumi_alicloud-3.63.0.dist-info → pulumi_alicloud-3.63.0a1726032285.dist-info}/WHEEL +1 -1
  70. pulumi_alicloud/ess/server_group_attachment.py +0 -552
  71. pulumi_alicloud/gpdb/db_instance_ip_array.py +0 -533
  72. pulumi_alicloud/gpdb/get_data_backups.py +0 -288
  73. pulumi_alicloud/gpdb/get_log_backups.py +0 -225
  74. pulumi_alicloud/gpdb/streaming_job.py +0 -1568
  75. {pulumi_alicloud-3.63.0.dist-info → pulumi_alicloud-3.63.0a1726032285.dist-info}/top_level.txt +0 -0
@@ -36,31 +36,32 @@ class LoadBalancerArgs:
36
36
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
37
37
  """
38
38
  The set of arguments for constructing a LoadBalancer resource.
39
- :param pulumi.Input[str] address_type: The type of IPv4 address used by the NLB instance. Valid values:
40
- - `Internet`: The NLB instance uses 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.
41
- - `Intranet`: The NLB instance uses 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 virtual private cloud (VPC) where the NLB instance is deployed.
42
-
43
- > **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.
44
- :param pulumi.Input[str] vpc_id: The ID of the VPC where the NLB instance is deployed.
45
- :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.
46
- :param pulumi.Input[str] address_ip_version: The protocol version. Valid values:
47
-
48
- - **ipv4:** IPv4. This is the default value.
49
- - **DualStack:** dual stack.
50
- :param pulumi.Input[str] bandwidth_package_id: The ID of the EIP bandwidth plan that is associated with the Internet-facing NLB instance.
51
- :param pulumi.Input[bool] cross_zone_enabled: Specifies whether to enable cross-zone load balancing for the NLB instance. Valid values:
52
- :param pulumi.Input['LoadBalancerDeletionProtectionConfigArgs'] deletion_protection_config: Specifies whether to enable deletion protection. Default value: `false`. See `deletion_protection_config` below.
53
- :param pulumi.Input[str] ipv6_address_type: The type of IPv6 address used by the NLB instance. Valid values:
54
- - `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.
55
- - `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.
56
- :param pulumi.Input[str] load_balancer_name: The name of the NLB instance.
57
-
58
- 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.
59
- :param pulumi.Input[str] load_balancer_type: The type of the Server Load Balancer (SLB) instance. Set the value to `network`, which specifies NLB.
60
- :param pulumi.Input['LoadBalancerModificationProtectionConfigArgs'] modification_protection_config: Specifies whether to enable the configuration read-only mode. Default value: `NonProtection`. See `modification_protection_config` below.
61
- :param pulumi.Input[str] resource_group_id: The ID of the new resource group.
62
-
63
- You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
39
+ :param pulumi.Input[str] address_type: The network address type of IPv4 for network load balancing. Value:
40
+ - **Internet**: public network. Load balancer has a public network IP address, and the DNS domain name is resolved to a public network IP address, so it can be accessed in a public network environment.
41
+ - **Intranet**: private network. The server load balancer only has a private IP address, and the DNS domain name is resolved to the private IP address, so it can only be accessed by the intranet environment of the VPC where the server load balancer is located.
42
+ :param pulumi.Input[str] vpc_id: The ID of the network-based SLB instance.
43
+ :param pulumi.Input[Sequence[pulumi.Input['LoadBalancerZoneMappingArgs']]] zone_mappings: The list of zones and vSwitch mappings. You must add at least two zones and a maximum of 10 zones. See `zone_mappings` below.
44
+ :param pulumi.Input[str] address_ip_version: Protocol version. Value:
45
+ - **Ipv4**:IPv4 type.
46
+ - **DualStack**: Double Stack type.
47
+ :param pulumi.Input[str] bandwidth_package_id: The ID of the shared bandwidth package associated with the public network instance.
48
+ :param pulumi.Input[bool] cross_zone_enabled: Whether cross-zone is enabled for a network-based load balancing instance. Value:
49
+ - **true**: on.
50
+ - **false**: closed.
51
+ :param pulumi.Input['LoadBalancerDeletionProtectionConfigArgs'] deletion_protection_config: Delete protection. See `deletion_protection_config` below.
52
+ :param pulumi.Input[bool] deletion_protection_enabled: Specifies whether to enable deletion protection. Default value: `false`. Valid values:
53
+ :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`.
54
+ :param pulumi.Input[str] ipv6_address_type: The IPv6 address type of network load balancing. Value:
55
+ - **Internet**: Server Load Balancer has a public IP address, and the DNS domain name is resolved to a public IP address, so it can be accessed in a public network environment.
56
+ - **Intranet**: SLB only has the private IP address, and the DNS domain name is resolved to the private IP address, so it can only be accessed by the Intranet environment of the VPC where SLB is located.
57
+ :param pulumi.Input[str] load_balancer_name: The name of the network-based load balancing instance. 2 to 128 English or Chinese characters in length, which must start with a letter or Chinese, and can contain numbers, half-width periods (.), underscores (_), and dashes (-).
58
+ :param pulumi.Input[str] load_balancer_type: Load balancing type. Only value: **network**, which indicates network-based load balancing.
59
+ :param pulumi.Input['LoadBalancerModificationProtectionConfigArgs'] modification_protection_config: Modify protection. See `modification_protection_config` below.
60
+ :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`.
61
+ :param pulumi.Input[str] modification_protection_status: Specifies whether to enable the configuration read-only mode. Default value: `NonProtection`. Valid values:
62
+ - `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.
63
+ - `ConsoleProtection`: Enables the configuration read-only mode. You can set the `modification_protection_reason`.
64
+ :param pulumi.Input[str] resource_group_id: The ID of the resource group.
64
65
  :param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: The security group to which the network-based SLB instance belongs.
65
66
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: List of labels.
66
67
  """
@@ -102,11 +103,9 @@ class LoadBalancerArgs:
102
103
  @pulumi.getter(name="addressType")
103
104
  def address_type(self) -> pulumi.Input[str]:
104
105
  """
105
- The type of IPv4 address used by the NLB instance. Valid values:
106
- - `Internet`: The NLB instance uses 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.
107
- - `Intranet`: The NLB instance uses 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 virtual private cloud (VPC) where the NLB instance is deployed.
108
-
109
- > **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.
106
+ The network address type of IPv4 for network load balancing. Value:
107
+ - **Internet**: public network. Load balancer has a public network IP address, and the DNS domain name is resolved to a public network IP address, so it can be accessed in a public network environment.
108
+ - **Intranet**: private network. The server load balancer only has a private IP address, and the DNS domain name is resolved to the private IP address, so it can only be accessed by the intranet environment of the VPC where the server load balancer is located.
110
109
  """
111
110
  return pulumi.get(self, "address_type")
112
111
 
@@ -118,7 +117,7 @@ class LoadBalancerArgs:
118
117
  @pulumi.getter(name="vpcId")
119
118
  def vpc_id(self) -> pulumi.Input[str]:
120
119
  """
121
- The ID of the VPC where the NLB instance is deployed.
120
+ The ID of the network-based SLB instance.
122
121
  """
123
122
  return pulumi.get(self, "vpc_id")
124
123
 
@@ -130,7 +129,7 @@ class LoadBalancerArgs:
130
129
  @pulumi.getter(name="zoneMappings")
131
130
  def zone_mappings(self) -> pulumi.Input[Sequence[pulumi.Input['LoadBalancerZoneMappingArgs']]]:
132
131
  """
133
- Available Area Configuration List. You must add at least two zones. You can add a maximum of 10 zones. See `zone_mappings` below.
132
+ The list of zones and vSwitch mappings. You must add at least two zones and a maximum of 10 zones. See `zone_mappings` below.
134
133
  """
135
134
  return pulumi.get(self, "zone_mappings")
136
135
 
@@ -142,10 +141,9 @@ class LoadBalancerArgs:
142
141
  @pulumi.getter(name="addressIpVersion")
143
142
  def address_ip_version(self) -> Optional[pulumi.Input[str]]:
144
143
  """
145
- The protocol version. Valid values:
146
-
147
- - **ipv4:** IPv4. This is the default value.
148
- - **DualStack:** dual stack.
144
+ Protocol version. Value:
145
+ - **Ipv4**:IPv4 type.
146
+ - **DualStack**: Double Stack type.
149
147
  """
150
148
  return pulumi.get(self, "address_ip_version")
151
149
 
@@ -157,7 +155,7 @@ class LoadBalancerArgs:
157
155
  @pulumi.getter(name="bandwidthPackageId")
158
156
  def bandwidth_package_id(self) -> Optional[pulumi.Input[str]]:
159
157
  """
160
- The ID of the EIP bandwidth plan that is associated with the Internet-facing NLB instance.
158
+ The ID of the shared bandwidth package associated with the public network instance.
161
159
  """
162
160
  return pulumi.get(self, "bandwidth_package_id")
163
161
 
@@ -169,7 +167,9 @@ class LoadBalancerArgs:
169
167
  @pulumi.getter(name="crossZoneEnabled")
170
168
  def cross_zone_enabled(self) -> Optional[pulumi.Input[bool]]:
171
169
  """
172
- Specifies whether to enable cross-zone load balancing for the NLB instance. Valid values:
170
+ Whether cross-zone is enabled for a network-based load balancing instance. Value:
171
+ - **true**: on.
172
+ - **false**: closed.
173
173
  """
174
174
  return pulumi.get(self, "cross_zone_enabled")
175
175
 
@@ -181,7 +181,7 @@ class LoadBalancerArgs:
181
181
  @pulumi.getter(name="deletionProtectionConfig")
182
182
  def deletion_protection_config(self) -> Optional[pulumi.Input['LoadBalancerDeletionProtectionConfigArgs']]:
183
183
  """
184
- Specifies whether to enable deletion protection. Default value: `false`. See `deletion_protection_config` below.
184
+ Delete protection. See `deletion_protection_config` below.
185
185
  """
186
186
  return pulumi.get(self, "deletion_protection_config")
187
187
 
@@ -192,6 +192,9 @@ class LoadBalancerArgs:
192
192
  @property
193
193
  @pulumi.getter(name="deletionProtectionEnabled")
194
194
  def deletion_protection_enabled(self) -> Optional[pulumi.Input[bool]]:
195
+ """
196
+ Specifies whether to enable deletion protection. Default value: `false`. Valid values:
197
+ """
195
198
  return pulumi.get(self, "deletion_protection_enabled")
196
199
 
197
200
  @deletion_protection_enabled.setter
@@ -201,6 +204,9 @@ class LoadBalancerArgs:
201
204
  @property
202
205
  @pulumi.getter(name="deletionProtectionReason")
203
206
  def deletion_protection_reason(self) -> Optional[pulumi.Input[str]]:
207
+ """
208
+ 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`.
209
+ """
204
210
  return pulumi.get(self, "deletion_protection_reason")
205
211
 
206
212
  @deletion_protection_reason.setter
@@ -211,9 +217,9 @@ class LoadBalancerArgs:
211
217
  @pulumi.getter(name="ipv6AddressType")
212
218
  def ipv6_address_type(self) -> Optional[pulumi.Input[str]]:
213
219
  """
214
- The type of IPv6 address used by the NLB instance. Valid values:
215
- - `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.
216
- - `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.
220
+ The IPv6 address type of network load balancing. Value:
221
+ - **Internet**: Server Load Balancer has a public IP address, and the DNS domain name is resolved to a public IP address, so it can be accessed in a public network environment.
222
+ - **Intranet**: SLB only has the private IP address, and the DNS domain name is resolved to the private IP address, so it can only be accessed by the Intranet environment of the VPC where SLB is located.
217
223
  """
218
224
  return pulumi.get(self, "ipv6_address_type")
219
225
 
@@ -225,9 +231,7 @@ class LoadBalancerArgs:
225
231
  @pulumi.getter(name="loadBalancerName")
226
232
  def load_balancer_name(self) -> Optional[pulumi.Input[str]]:
227
233
  """
228
- The name of the NLB instance.
229
-
230
- 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.
234
+ The name of the network-based load balancing instance. 2 to 128 English or Chinese characters in length, which must start with a letter or Chinese, and can contain numbers, half-width periods (.), underscores (_), and dashes (-).
231
235
  """
232
236
  return pulumi.get(self, "load_balancer_name")
233
237
 
@@ -239,7 +243,7 @@ class LoadBalancerArgs:
239
243
  @pulumi.getter(name="loadBalancerType")
240
244
  def load_balancer_type(self) -> Optional[pulumi.Input[str]]:
241
245
  """
242
- The type of the Server Load Balancer (SLB) instance. Set the value to `network`, which specifies NLB.
246
+ Load balancing type. Only value: **network**, which indicates network-based load balancing.
243
247
  """
244
248
  return pulumi.get(self, "load_balancer_type")
245
249
 
@@ -251,7 +255,7 @@ class LoadBalancerArgs:
251
255
  @pulumi.getter(name="modificationProtectionConfig")
252
256
  def modification_protection_config(self) -> Optional[pulumi.Input['LoadBalancerModificationProtectionConfigArgs']]:
253
257
  """
254
- Specifies whether to enable the configuration read-only mode. Default value: `NonProtection`. See `modification_protection_config` below.
258
+ Modify protection. See `modification_protection_config` below.
255
259
  """
256
260
  return pulumi.get(self, "modification_protection_config")
257
261
 
@@ -262,6 +266,9 @@ class LoadBalancerArgs:
262
266
  @property
263
267
  @pulumi.getter(name="modificationProtectionReason")
264
268
  def modification_protection_reason(self) -> Optional[pulumi.Input[str]]:
269
+ """
270
+ 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`.
271
+ """
265
272
  return pulumi.get(self, "modification_protection_reason")
266
273
 
267
274
  @modification_protection_reason.setter
@@ -271,6 +278,11 @@ class LoadBalancerArgs:
271
278
  @property
272
279
  @pulumi.getter(name="modificationProtectionStatus")
273
280
  def modification_protection_status(self) -> Optional[pulumi.Input[str]]:
281
+ """
282
+ Specifies whether to enable the configuration read-only mode. Default value: `NonProtection`. Valid values:
283
+ - `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.
284
+ - `ConsoleProtection`: Enables the configuration read-only mode. You can set the `modification_protection_reason`.
285
+ """
274
286
  return pulumi.get(self, "modification_protection_status")
275
287
 
276
288
  @modification_protection_status.setter
@@ -281,9 +293,7 @@ class LoadBalancerArgs:
281
293
  @pulumi.getter(name="resourceGroupId")
282
294
  def resource_group_id(self) -> Optional[pulumi.Input[str]]:
283
295
  """
284
- The ID of the new resource group.
285
-
286
- You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
296
+ The ID of the resource group.
287
297
  """
288
298
  return pulumi.get(self, "resource_group_id")
289
299
 
@@ -343,37 +353,38 @@ class _LoadBalancerState:
343
353
  zone_mappings: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerZoneMappingArgs']]]] = None):
344
354
  """
345
355
  Input properties used for looking up and filtering LoadBalancer resources.
346
- :param pulumi.Input[str] address_ip_version: The protocol version. Valid values:
347
-
348
- - **ipv4:** IPv4. This is the default value.
349
- - **DualStack:** dual stack.
350
- :param pulumi.Input[str] address_type: The type of IPv4 address used by the NLB instance. Valid values:
351
- - `Internet`: The NLB instance uses 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.
352
- - `Intranet`: The NLB instance uses 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 virtual private cloud (VPC) where the NLB instance is deployed.
353
-
354
- > **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.
355
- :param pulumi.Input[str] bandwidth_package_id: The ID of the EIP bandwidth plan that is associated with the Internet-facing NLB instance.
356
+ :param pulumi.Input[str] address_ip_version: Protocol version. Value:
357
+ - **Ipv4**:IPv4 type.
358
+ - **DualStack**: Double Stack type.
359
+ :param pulumi.Input[str] address_type: The network address type of IPv4 for network load balancing. Value:
360
+ - **Internet**: public network. Load balancer has a public network IP address, and the DNS domain name is resolved to a public network IP address, so it can be accessed in a public network environment.
361
+ - **Intranet**: private network. The server load balancer only has a private IP address, and the DNS domain name is resolved to the private IP address, so it can only be accessed by the intranet environment of the VPC where the server load balancer is located.
362
+ :param pulumi.Input[str] bandwidth_package_id: The ID of the shared bandwidth package associated with the public network instance.
356
363
  :param pulumi.Input[str] create_time: Resource creation time, using Greenwich Mean Time, formating' yyyy-MM-ddTHH:mm:ssZ '.
357
- :param pulumi.Input[bool] cross_zone_enabled: Specifies whether to enable cross-zone load balancing for the NLB instance. Valid values:
358
- :param pulumi.Input['LoadBalancerDeletionProtectionConfigArgs'] deletion_protection_config: Specifies whether to enable deletion protection. Default value: `false`. See `deletion_protection_config` below.
364
+ :param pulumi.Input[bool] cross_zone_enabled: Whether cross-zone is enabled for a network-based load balancing instance. Value:
365
+ - **true**: on.
366
+ - **false**: closed.
367
+ :param pulumi.Input['LoadBalancerDeletionProtectionConfigArgs'] deletion_protection_config: Delete protection. See `deletion_protection_config` below.
368
+ :param pulumi.Input[bool] deletion_protection_enabled: Specifies whether to enable deletion protection. Default value: `false`. Valid values:
369
+ :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`.
359
370
  :param pulumi.Input[str] dns_name: The domain name of the NLB instance.
360
- :param pulumi.Input[str] ipv6_address_type: The type of IPv6 address used by the NLB instance. Valid values:
361
- - `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.
362
- - `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.
371
+ :param pulumi.Input[str] ipv6_address_type: The IPv6 address type of network load balancing. Value:
372
+ - **Internet**: Server Load Balancer has a public IP address, and the DNS domain name is resolved to a public IP address, so it can be accessed in a public network environment.
373
+ - **Intranet**: SLB only has the private IP address, and the DNS domain name is resolved to the private IP address, so it can only be accessed by the Intranet environment of the VPC where SLB is located.
363
374
  :param pulumi.Input[str] load_balancer_business_status: The business status of the NLB instance.
364
- :param pulumi.Input[str] load_balancer_name: The name of the NLB instance.
365
-
366
- 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.
367
- :param pulumi.Input[str] load_balancer_type: The type of the Server Load Balancer (SLB) instance. Set the value to `network`, which specifies NLB.
368
- :param pulumi.Input['LoadBalancerModificationProtectionConfigArgs'] modification_protection_config: Specifies whether to enable the configuration read-only mode. Default value: `NonProtection`. See `modification_protection_config` below.
369
- :param pulumi.Input[str] resource_group_id: The ID of the new resource group.
370
-
371
- You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
375
+ :param pulumi.Input[str] load_balancer_name: The name of the network-based load balancing instance. 2 to 128 English or Chinese characters in length, which must start with a letter or Chinese, and can contain numbers, half-width periods (.), underscores (_), and dashes (-).
376
+ :param pulumi.Input[str] load_balancer_type: Load balancing type. Only value: **network**, which indicates network-based load balancing.
377
+ :param pulumi.Input['LoadBalancerModificationProtectionConfigArgs'] modification_protection_config: Modify protection. See `modification_protection_config` below.
378
+ :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`.
379
+ :param pulumi.Input[str] modification_protection_status: Specifies whether to enable the configuration read-only mode. Default value: `NonProtection`. Valid values:
380
+ - `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.
381
+ - `ConsoleProtection`: Enables the configuration read-only mode. You can set the `modification_protection_reason`.
382
+ :param pulumi.Input[str] resource_group_id: The ID of the resource group.
372
383
  :param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: The security group to which the network-based SLB instance belongs.
373
- :param pulumi.Input[str] status: The status of the NLB instance.
384
+ :param pulumi.Input[str] status: The status of the resource.
374
385
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: List of labels.
375
- :param pulumi.Input[str] vpc_id: The ID of the VPC where the NLB instance is deployed.
376
- :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
+ :param pulumi.Input[str] vpc_id: The ID of the network-based SLB instance.
387
+ :param pulumi.Input[Sequence[pulumi.Input['LoadBalancerZoneMappingArgs']]] zone_mappings: The list of zones and vSwitch mappings. You must add at least two zones and a maximum of 10 zones. See `zone_mappings` below.
377
388
  """
378
389
  if address_ip_version is not None:
379
390
  pulumi.set(__self__, "address_ip_version", address_ip_version)
@@ -424,10 +435,9 @@ class _LoadBalancerState:
424
435
  @pulumi.getter(name="addressIpVersion")
425
436
  def address_ip_version(self) -> Optional[pulumi.Input[str]]:
426
437
  """
427
- The protocol version. Valid values:
428
-
429
- - **ipv4:** IPv4. This is the default value.
430
- - **DualStack:** dual stack.
438
+ Protocol version. Value:
439
+ - **Ipv4**:IPv4 type.
440
+ - **DualStack**: Double Stack type.
431
441
  """
432
442
  return pulumi.get(self, "address_ip_version")
433
443
 
@@ -439,11 +449,9 @@ class _LoadBalancerState:
439
449
  @pulumi.getter(name="addressType")
440
450
  def address_type(self) -> Optional[pulumi.Input[str]]:
441
451
  """
442
- The type of IPv4 address used by the NLB instance. Valid values:
443
- - `Internet`: The NLB instance uses 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.
444
- - `Intranet`: The NLB instance uses 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 virtual private cloud (VPC) where the NLB instance is deployed.
445
-
446
- > **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.
452
+ The network address type of IPv4 for network load balancing. Value:
453
+ - **Internet**: public network. Load balancer has a public network IP address, and the DNS domain name is resolved to a public network IP address, so it can be accessed in a public network environment.
454
+ - **Intranet**: private network. The server load balancer only has a private IP address, and the DNS domain name is resolved to the private IP address, so it can only be accessed by the intranet environment of the VPC where the server load balancer is located.
447
455
  """
448
456
  return pulumi.get(self, "address_type")
449
457
 
@@ -455,7 +463,7 @@ class _LoadBalancerState:
455
463
  @pulumi.getter(name="bandwidthPackageId")
456
464
  def bandwidth_package_id(self) -> Optional[pulumi.Input[str]]:
457
465
  """
458
- The ID of the EIP bandwidth plan that is associated with the Internet-facing NLB instance.
466
+ The ID of the shared bandwidth package associated with the public network instance.
459
467
  """
460
468
  return pulumi.get(self, "bandwidth_package_id")
461
469
 
@@ -479,7 +487,9 @@ class _LoadBalancerState:
479
487
  @pulumi.getter(name="crossZoneEnabled")
480
488
  def cross_zone_enabled(self) -> Optional[pulumi.Input[bool]]:
481
489
  """
482
- Specifies whether to enable cross-zone load balancing for the NLB instance. Valid values:
490
+ Whether cross-zone is enabled for a network-based load balancing instance. Value:
491
+ - **true**: on.
492
+ - **false**: closed.
483
493
  """
484
494
  return pulumi.get(self, "cross_zone_enabled")
485
495
 
@@ -491,7 +501,7 @@ class _LoadBalancerState:
491
501
  @pulumi.getter(name="deletionProtectionConfig")
492
502
  def deletion_protection_config(self) -> Optional[pulumi.Input['LoadBalancerDeletionProtectionConfigArgs']]:
493
503
  """
494
- Specifies whether to enable deletion protection. Default value: `false`. See `deletion_protection_config` below.
504
+ Delete protection. See `deletion_protection_config` below.
495
505
  """
496
506
  return pulumi.get(self, "deletion_protection_config")
497
507
 
@@ -502,6 +512,9 @@ class _LoadBalancerState:
502
512
  @property
503
513
  @pulumi.getter(name="deletionProtectionEnabled")
504
514
  def deletion_protection_enabled(self) -> Optional[pulumi.Input[bool]]:
515
+ """
516
+ Specifies whether to enable deletion protection. Default value: `false`. Valid values:
517
+ """
505
518
  return pulumi.get(self, "deletion_protection_enabled")
506
519
 
507
520
  @deletion_protection_enabled.setter
@@ -511,6 +524,9 @@ class _LoadBalancerState:
511
524
  @property
512
525
  @pulumi.getter(name="deletionProtectionReason")
513
526
  def deletion_protection_reason(self) -> Optional[pulumi.Input[str]]:
527
+ """
528
+ 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`.
529
+ """
514
530
  return pulumi.get(self, "deletion_protection_reason")
515
531
 
516
532
  @deletion_protection_reason.setter
@@ -533,9 +549,9 @@ class _LoadBalancerState:
533
549
  @pulumi.getter(name="ipv6AddressType")
534
550
  def ipv6_address_type(self) -> Optional[pulumi.Input[str]]:
535
551
  """
536
- The type of IPv6 address used by the NLB instance. Valid values:
537
- - `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.
538
- - `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.
552
+ The IPv6 address type of network load balancing. Value:
553
+ - **Internet**: Server Load Balancer has a public IP address, and the DNS domain name is resolved to a public IP address, so it can be accessed in a public network environment.
554
+ - **Intranet**: SLB only has the private IP address, and the DNS domain name is resolved to the private IP address, so it can only be accessed by the Intranet environment of the VPC where SLB is located.
539
555
  """
540
556
  return pulumi.get(self, "ipv6_address_type")
541
557
 
@@ -559,9 +575,7 @@ class _LoadBalancerState:
559
575
  @pulumi.getter(name="loadBalancerName")
560
576
  def load_balancer_name(self) -> Optional[pulumi.Input[str]]:
561
577
  """
562
- The name of the NLB instance.
563
-
564
- 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.
578
+ The name of the network-based load balancing instance. 2 to 128 English or Chinese characters in length, which must start with a letter or Chinese, and can contain numbers, half-width periods (.), underscores (_), and dashes (-).
565
579
  """
566
580
  return pulumi.get(self, "load_balancer_name")
567
581
 
@@ -573,7 +587,7 @@ class _LoadBalancerState:
573
587
  @pulumi.getter(name="loadBalancerType")
574
588
  def load_balancer_type(self) -> Optional[pulumi.Input[str]]:
575
589
  """
576
- The type of the Server Load Balancer (SLB) instance. Set the value to `network`, which specifies NLB.
590
+ Load balancing type. Only value: **network**, which indicates network-based load balancing.
577
591
  """
578
592
  return pulumi.get(self, "load_balancer_type")
579
593
 
@@ -585,7 +599,7 @@ class _LoadBalancerState:
585
599
  @pulumi.getter(name="modificationProtectionConfig")
586
600
  def modification_protection_config(self) -> Optional[pulumi.Input['LoadBalancerModificationProtectionConfigArgs']]:
587
601
  """
588
- Specifies whether to enable the configuration read-only mode. Default value: `NonProtection`. See `modification_protection_config` below.
602
+ Modify protection. See `modification_protection_config` below.
589
603
  """
590
604
  return pulumi.get(self, "modification_protection_config")
591
605
 
@@ -596,6 +610,9 @@ class _LoadBalancerState:
596
610
  @property
597
611
  @pulumi.getter(name="modificationProtectionReason")
598
612
  def modification_protection_reason(self) -> Optional[pulumi.Input[str]]:
613
+ """
614
+ 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`.
615
+ """
599
616
  return pulumi.get(self, "modification_protection_reason")
600
617
 
601
618
  @modification_protection_reason.setter
@@ -605,6 +622,11 @@ class _LoadBalancerState:
605
622
  @property
606
623
  @pulumi.getter(name="modificationProtectionStatus")
607
624
  def modification_protection_status(self) -> Optional[pulumi.Input[str]]:
625
+ """
626
+ Specifies whether to enable the configuration read-only mode. Default value: `NonProtection`. Valid values:
627
+ - `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.
628
+ - `ConsoleProtection`: Enables the configuration read-only mode. You can set the `modification_protection_reason`.
629
+ """
608
630
  return pulumi.get(self, "modification_protection_status")
609
631
 
610
632
  @modification_protection_status.setter
@@ -615,9 +637,7 @@ class _LoadBalancerState:
615
637
  @pulumi.getter(name="resourceGroupId")
616
638
  def resource_group_id(self) -> Optional[pulumi.Input[str]]:
617
639
  """
618
- The ID of the new resource group.
619
-
620
- You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
640
+ The ID of the resource group.
621
641
  """
622
642
  return pulumi.get(self, "resource_group_id")
623
643
 
@@ -641,7 +661,7 @@ class _LoadBalancerState:
641
661
  @pulumi.getter
642
662
  def status(self) -> Optional[pulumi.Input[str]]:
643
663
  """
644
- The status of the NLB instance.
664
+ The status of the resource.
645
665
  """
646
666
  return pulumi.get(self, "status")
647
667
 
@@ -665,7 +685,7 @@ class _LoadBalancerState:
665
685
  @pulumi.getter(name="vpcId")
666
686
  def vpc_id(self) -> Optional[pulumi.Input[str]]:
667
687
  """
668
- The ID of the VPC where the NLB instance is deployed.
688
+ The ID of the network-based SLB instance.
669
689
  """
670
690
  return pulumi.get(self, "vpc_id")
671
691
 
@@ -677,7 +697,7 @@ class _LoadBalancerState:
677
697
  @pulumi.getter(name="zoneMappings")
678
698
  def zone_mappings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerZoneMappingArgs']]]]:
679
699
  """
680
- Available Area Configuration List. You must add at least two zones. You can add a maximum of 10 zones. See `zone_mappings` below.
700
+ The list of zones and vSwitch mappings. You must add at least two zones and a maximum of 10 zones. See `zone_mappings` below.
681
701
  """
682
702
  return pulumi.get(self, "zone_mappings")
683
703
 
@@ -713,7 +733,7 @@ class LoadBalancer(pulumi.CustomResource):
713
733
  """
714
734
  Provides a NLB Load Balancer resource.
715
735
 
716
- 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).
736
+ 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/createloadbalancer).
717
737
 
718
738
  > **NOTE:** Available since v1.191.0.
719
739
 
@@ -767,64 +787,6 @@ class LoadBalancer(pulumi.CustomResource):
767
787
  ])
768
788
  ```
769
789
 
770
- DualStack Usage
771
-
772
- ```python
773
- import pulumi
774
- import pulumi_alicloud as alicloud
775
-
776
- config = pulumi.Config()
777
- name = config.get("name")
778
- if name is None:
779
- name = "tf-example"
780
- zone = config.get_object("zone")
781
- if zone is None:
782
- zone = [
783
- "cn-beijing-i",
784
- "cn-beijing-k",
785
- "cn-beijing-l",
786
- ]
787
- vpc = alicloud.vpc.Network("vpc",
788
- vpc_name=name,
789
- cidr_block="10.2.0.0/16",
790
- enable_ipv6=True)
791
- vsw = []
792
- for range in [{"value": i} for i in range(0, 2)]:
793
- vsw.append(alicloud.vpc.Switch(f"vsw-{range['value']}",
794
- enable_ipv6=True,
795
- ipv6_cidr_block_mask=f"1{range['value']}",
796
- vswitch_name=f"vsw-{range['value']}-for-nlb",
797
- vpc_id=vpc.id,
798
- cidr_block=f"10.2.1{range['value']}.0/24",
799
- zone_id=zone[range["value"]]))
800
- default = alicloud.vpc.Ipv6Gateway("default",
801
- ipv6_gateway_name=name,
802
- vpc_id=vpc.id)
803
- nlb = alicloud.nlb.LoadBalancer("nlb",
804
- load_balancer_name=name,
805
- load_balancer_type="Network",
806
- address_type="Intranet",
807
- address_ip_version="DualStack",
808
- ipv6_address_type="Internet",
809
- vpc_id=vpc.id,
810
- cross_zone_enabled=False,
811
- tags={
812
- "Created": "TF",
813
- "For": "example",
814
- },
815
- zone_mappings=[
816
- {
817
- "vswitch_id": vsw[0].id,
818
- "zone_id": zone[0],
819
- },
820
- {
821
- "vswitch_id": vsw[1].id,
822
- "zone_id": zone[1],
823
- },
824
- ],
825
- opts = pulumi.ResourceOptions(depends_on=[default]))
826
- ```
827
-
828
790
  ## Import
829
791
 
830
792
  NLB Load Balancer can be imported using the id, e.g.
@@ -835,33 +797,34 @@ class LoadBalancer(pulumi.CustomResource):
835
797
 
836
798
  :param str resource_name: The name of the resource.
837
799
  :param pulumi.ResourceOptions opts: Options for the resource.
838
- :param pulumi.Input[str] address_ip_version: The protocol version. Valid values:
839
-
840
- - **ipv4:** IPv4. This is the default value.
841
- - **DualStack:** dual stack.
842
- :param pulumi.Input[str] address_type: The type of IPv4 address used by the NLB instance. Valid values:
843
- - `Internet`: The NLB instance uses 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.
844
- - `Intranet`: The NLB instance uses 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 virtual private cloud (VPC) where the NLB instance is deployed.
845
-
846
- > **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.
847
- :param pulumi.Input[str] bandwidth_package_id: The ID of the EIP bandwidth plan that is associated with the Internet-facing NLB instance.
848
- :param pulumi.Input[bool] cross_zone_enabled: Specifies whether to enable cross-zone load balancing for the NLB instance. Valid values:
849
- :param pulumi.Input[Union['LoadBalancerDeletionProtectionConfigArgs', 'LoadBalancerDeletionProtectionConfigArgsDict']] deletion_protection_config: Specifies whether to enable deletion protection. Default value: `false`. See `deletion_protection_config` below.
850
- :param pulumi.Input[str] ipv6_address_type: The type of IPv6 address used by the NLB instance. Valid values:
851
- - `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.
852
- - `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.
853
- :param pulumi.Input[str] load_balancer_name: The name of the NLB instance.
854
-
855
- 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.
856
- :param pulumi.Input[str] load_balancer_type: The type of the Server Load Balancer (SLB) instance. Set the value to `network`, which specifies NLB.
857
- :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.
858
- :param pulumi.Input[str] resource_group_id: The ID of the new resource group.
859
-
860
- You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
800
+ :param pulumi.Input[str] address_ip_version: Protocol version. Value:
801
+ - **Ipv4**:IPv4 type.
802
+ - **DualStack**: Double Stack type.
803
+ :param pulumi.Input[str] address_type: The network address type of IPv4 for network load balancing. Value:
804
+ - **Internet**: public network. Load balancer has a public network IP address, and the DNS domain name is resolved to a public network IP address, so it can be accessed in a public network environment.
805
+ - **Intranet**: private network. The server load balancer only has a private IP address, and the DNS domain name is resolved to the private IP address, so it can only be accessed by the intranet environment of the VPC where the server load balancer is located.
806
+ :param pulumi.Input[str] bandwidth_package_id: The ID of the shared bandwidth package associated with the public network instance.
807
+ :param pulumi.Input[bool] cross_zone_enabled: Whether cross-zone is enabled for a network-based load balancing instance. Value:
808
+ - **true**: on.
809
+ - **false**: closed.
810
+ :param pulumi.Input[Union['LoadBalancerDeletionProtectionConfigArgs', 'LoadBalancerDeletionProtectionConfigArgsDict']] deletion_protection_config: Delete protection. See `deletion_protection_config` below.
811
+ :param pulumi.Input[bool] deletion_protection_enabled: Specifies whether to enable deletion protection. Default value: `false`. Valid values:
812
+ :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`.
813
+ :param pulumi.Input[str] ipv6_address_type: The IPv6 address type of network load balancing. Value:
814
+ - **Internet**: Server Load Balancer has a public IP address, and the DNS domain name is resolved to a public IP address, so it can be accessed in a public network environment.
815
+ - **Intranet**: SLB only has the private IP address, and the DNS domain name is resolved to the private IP address, so it can only be accessed by the Intranet environment of the VPC where SLB is located.
816
+ :param pulumi.Input[str] load_balancer_name: The name of the network-based load balancing instance. 2 to 128 English or Chinese characters in length, which must start with a letter or Chinese, and can contain numbers, half-width periods (.), underscores (_), and dashes (-).
817
+ :param pulumi.Input[str] load_balancer_type: Load balancing type. Only value: **network**, which indicates network-based load balancing.
818
+ :param pulumi.Input[Union['LoadBalancerModificationProtectionConfigArgs', 'LoadBalancerModificationProtectionConfigArgsDict']] modification_protection_config: Modify protection. See `modification_protection_config` below.
819
+ :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`.
820
+ :param pulumi.Input[str] modification_protection_status: Specifies whether to enable the configuration read-only mode. Default value: `NonProtection`. Valid values:
821
+ - `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.
822
+ - `ConsoleProtection`: Enables the configuration read-only mode. You can set the `modification_protection_reason`.
823
+ :param pulumi.Input[str] resource_group_id: The ID of the resource group.
861
824
  :param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: The security group to which the network-based SLB instance belongs.
862
825
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: List of labels.
863
- :param pulumi.Input[str] vpc_id: The ID of the VPC where the NLB instance is deployed.
864
- :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.
826
+ :param pulumi.Input[str] vpc_id: The ID of the network-based SLB instance.
827
+ :param pulumi.Input[Sequence[pulumi.Input[Union['LoadBalancerZoneMappingArgs', 'LoadBalancerZoneMappingArgsDict']]]] zone_mappings: The list of zones and vSwitch mappings. You must add at least two zones and a maximum of 10 zones. See `zone_mappings` below.
865
828
  """
866
829
  ...
867
830
  @overload
@@ -872,7 +835,7 @@ class LoadBalancer(pulumi.CustomResource):
872
835
  """
873
836
  Provides a NLB Load Balancer resource.
874
837
 
875
- 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).
838
+ 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/createloadbalancer).
876
839
 
877
840
  > **NOTE:** Available since v1.191.0.
878
841
 
@@ -926,64 +889,6 @@ class LoadBalancer(pulumi.CustomResource):
926
889
  ])
927
890
  ```
928
891
 
929
- DualStack Usage
930
-
931
- ```python
932
- import pulumi
933
- import pulumi_alicloud as alicloud
934
-
935
- config = pulumi.Config()
936
- name = config.get("name")
937
- if name is None:
938
- name = "tf-example"
939
- zone = config.get_object("zone")
940
- if zone is None:
941
- zone = [
942
- "cn-beijing-i",
943
- "cn-beijing-k",
944
- "cn-beijing-l",
945
- ]
946
- vpc = alicloud.vpc.Network("vpc",
947
- vpc_name=name,
948
- cidr_block="10.2.0.0/16",
949
- enable_ipv6=True)
950
- vsw = []
951
- for range in [{"value": i} for i in range(0, 2)]:
952
- vsw.append(alicloud.vpc.Switch(f"vsw-{range['value']}",
953
- enable_ipv6=True,
954
- ipv6_cidr_block_mask=f"1{range['value']}",
955
- vswitch_name=f"vsw-{range['value']}-for-nlb",
956
- vpc_id=vpc.id,
957
- cidr_block=f"10.2.1{range['value']}.0/24",
958
- zone_id=zone[range["value"]]))
959
- default = alicloud.vpc.Ipv6Gateway("default",
960
- ipv6_gateway_name=name,
961
- vpc_id=vpc.id)
962
- nlb = alicloud.nlb.LoadBalancer("nlb",
963
- load_balancer_name=name,
964
- load_balancer_type="Network",
965
- address_type="Intranet",
966
- address_ip_version="DualStack",
967
- ipv6_address_type="Internet",
968
- vpc_id=vpc.id,
969
- cross_zone_enabled=False,
970
- tags={
971
- "Created": "TF",
972
- "For": "example",
973
- },
974
- zone_mappings=[
975
- {
976
- "vswitch_id": vsw[0].id,
977
- "zone_id": zone[0],
978
- },
979
- {
980
- "vswitch_id": vsw[1].id,
981
- "zone_id": zone[1],
982
- },
983
- ],
984
- opts = pulumi.ResourceOptions(depends_on=[default]))
985
- ```
986
-
987
892
  ## Import
988
893
 
989
894
  NLB Load Balancer can be imported using the id, e.g.
@@ -1101,37 +1006,38 @@ class LoadBalancer(pulumi.CustomResource):
1101
1006
  :param str resource_name: The unique name of the resulting resource.
1102
1007
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
1103
1008
  :param pulumi.ResourceOptions opts: Options for the resource.
1104
- :param pulumi.Input[str] address_ip_version: The protocol version. Valid values:
1105
-
1106
- - **ipv4:** IPv4. This is the default value.
1107
- - **DualStack:** dual stack.
1108
- :param pulumi.Input[str] address_type: The type of IPv4 address used by the NLB instance. Valid values:
1109
- - `Internet`: The NLB instance uses 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.
1110
- - `Intranet`: The NLB instance uses 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 virtual private cloud (VPC) where the NLB instance is deployed.
1111
-
1112
- > **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.
1113
- :param pulumi.Input[str] bandwidth_package_id: The ID of the EIP bandwidth plan that is associated with the Internet-facing NLB instance.
1009
+ :param pulumi.Input[str] address_ip_version: Protocol version. Value:
1010
+ - **Ipv4**:IPv4 type.
1011
+ - **DualStack**: Double Stack type.
1012
+ :param pulumi.Input[str] address_type: The network address type of IPv4 for network load balancing. Value:
1013
+ - **Internet**: public network. Load balancer has a public network IP address, and the DNS domain name is resolved to a public network IP address, so it can be accessed in a public network environment.
1014
+ - **Intranet**: private network. The server load balancer only has a private IP address, and the DNS domain name is resolved to the private IP address, so it can only be accessed by the intranet environment of the VPC where the server load balancer is located.
1015
+ :param pulumi.Input[str] bandwidth_package_id: The ID of the shared bandwidth package associated with the public network instance.
1114
1016
  :param pulumi.Input[str] create_time: Resource creation time, using Greenwich Mean Time, formating' yyyy-MM-ddTHH:mm:ssZ '.
1115
- :param pulumi.Input[bool] cross_zone_enabled: Specifies whether to enable cross-zone load balancing for the NLB instance. Valid values:
1116
- :param pulumi.Input[Union['LoadBalancerDeletionProtectionConfigArgs', 'LoadBalancerDeletionProtectionConfigArgsDict']] deletion_protection_config: Specifies whether to enable deletion protection. Default value: `false`. See `deletion_protection_config` below.
1017
+ :param pulumi.Input[bool] cross_zone_enabled: Whether cross-zone is enabled for a network-based load balancing instance. Value:
1018
+ - **true**: on.
1019
+ - **false**: closed.
1020
+ :param pulumi.Input[Union['LoadBalancerDeletionProtectionConfigArgs', 'LoadBalancerDeletionProtectionConfigArgsDict']] deletion_protection_config: Delete protection. See `deletion_protection_config` below.
1021
+ :param pulumi.Input[bool] deletion_protection_enabled: Specifies whether to enable deletion protection. Default value: `false`. Valid values:
1022
+ :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`.
1117
1023
  :param pulumi.Input[str] dns_name: The domain name of the NLB instance.
1118
- :param pulumi.Input[str] ipv6_address_type: The type of IPv6 address used by the NLB instance. Valid values:
1119
- - `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.
1120
- - `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.
1024
+ :param pulumi.Input[str] ipv6_address_type: The IPv6 address type of network load balancing. Value:
1025
+ - **Internet**: Server Load Balancer has a public IP address, and the DNS domain name is resolved to a public IP address, so it can be accessed in a public network environment.
1026
+ - **Intranet**: SLB only has the private IP address, and the DNS domain name is resolved to the private IP address, so it can only be accessed by the Intranet environment of the VPC where SLB is located.
1121
1027
  :param pulumi.Input[str] load_balancer_business_status: The business status of the NLB instance.
1122
- :param pulumi.Input[str] load_balancer_name: The name of the NLB instance.
1123
-
1124
- 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.
1125
- :param pulumi.Input[str] load_balancer_type: The type of the Server Load Balancer (SLB) instance. Set the value to `network`, which specifies NLB.
1126
- :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.
1127
- :param pulumi.Input[str] resource_group_id: The ID of the new resource group.
1128
-
1129
- You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
1028
+ :param pulumi.Input[str] load_balancer_name: The name of the network-based load balancing instance. 2 to 128 English or Chinese characters in length, which must start with a letter or Chinese, and can contain numbers, half-width periods (.), underscores (_), and dashes (-).
1029
+ :param pulumi.Input[str] load_balancer_type: Load balancing type. Only value: **network**, which indicates network-based load balancing.
1030
+ :param pulumi.Input[Union['LoadBalancerModificationProtectionConfigArgs', 'LoadBalancerModificationProtectionConfigArgsDict']] modification_protection_config: Modify protection. See `modification_protection_config` below.
1031
+ :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`.
1032
+ :param pulumi.Input[str] modification_protection_status: Specifies whether to enable the configuration read-only mode. Default value: `NonProtection`. Valid values:
1033
+ - `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.
1034
+ - `ConsoleProtection`: Enables the configuration read-only mode. You can set the `modification_protection_reason`.
1035
+ :param pulumi.Input[str] resource_group_id: The ID of the resource group.
1130
1036
  :param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: The security group to which the network-based SLB instance belongs.
1131
- :param pulumi.Input[str] status: The status of the NLB instance.
1037
+ :param pulumi.Input[str] status: The status of the resource.
1132
1038
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: List of labels.
1133
- :param pulumi.Input[str] vpc_id: The ID of the VPC where the NLB instance is deployed.
1134
- :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.
1039
+ :param pulumi.Input[str] vpc_id: The ID of the network-based SLB instance.
1040
+ :param pulumi.Input[Sequence[pulumi.Input[Union['LoadBalancerZoneMappingArgs', 'LoadBalancerZoneMappingArgsDict']]]] zone_mappings: The list of zones and vSwitch mappings. You must add at least two zones and a maximum of 10 zones. See `zone_mappings` below.
1135
1041
  """
1136
1042
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
1137
1043
 
@@ -1165,10 +1071,9 @@ class LoadBalancer(pulumi.CustomResource):
1165
1071
  @pulumi.getter(name="addressIpVersion")
1166
1072
  def address_ip_version(self) -> pulumi.Output[str]:
1167
1073
  """
1168
- The protocol version. Valid values:
1169
-
1170
- - **ipv4:** IPv4. This is the default value.
1171
- - **DualStack:** dual stack.
1074
+ Protocol version. Value:
1075
+ - **Ipv4**:IPv4 type.
1076
+ - **DualStack**: Double Stack type.
1172
1077
  """
1173
1078
  return pulumi.get(self, "address_ip_version")
1174
1079
 
@@ -1176,11 +1081,9 @@ class LoadBalancer(pulumi.CustomResource):
1176
1081
  @pulumi.getter(name="addressType")
1177
1082
  def address_type(self) -> pulumi.Output[str]:
1178
1083
  """
1179
- The type of IPv4 address used by the NLB instance. Valid values:
1180
- - `Internet`: The NLB instance uses 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.
1181
- - `Intranet`: The NLB instance uses 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 virtual private cloud (VPC) where the NLB instance is deployed.
1182
-
1183
- > **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.
1084
+ The network address type of IPv4 for network load balancing. Value:
1085
+ - **Internet**: public network. Load balancer has a public network IP address, and the DNS domain name is resolved to a public network IP address, so it can be accessed in a public network environment.
1086
+ - **Intranet**: private network. The server load balancer only has a private IP address, and the DNS domain name is resolved to the private IP address, so it can only be accessed by the intranet environment of the VPC where the server load balancer is located.
1184
1087
  """
1185
1088
  return pulumi.get(self, "address_type")
1186
1089
 
@@ -1188,7 +1091,7 @@ class LoadBalancer(pulumi.CustomResource):
1188
1091
  @pulumi.getter(name="bandwidthPackageId")
1189
1092
  def bandwidth_package_id(self) -> pulumi.Output[str]:
1190
1093
  """
1191
- The ID of the EIP bandwidth plan that is associated with the Internet-facing NLB instance.
1094
+ The ID of the shared bandwidth package associated with the public network instance.
1192
1095
  """
1193
1096
  return pulumi.get(self, "bandwidth_package_id")
1194
1097
 
@@ -1204,7 +1107,9 @@ class LoadBalancer(pulumi.CustomResource):
1204
1107
  @pulumi.getter(name="crossZoneEnabled")
1205
1108
  def cross_zone_enabled(self) -> pulumi.Output[bool]:
1206
1109
  """
1207
- Specifies whether to enable cross-zone load balancing for the NLB instance. Valid values:
1110
+ Whether cross-zone is enabled for a network-based load balancing instance. Value:
1111
+ - **true**: on.
1112
+ - **false**: closed.
1208
1113
  """
1209
1114
  return pulumi.get(self, "cross_zone_enabled")
1210
1115
 
@@ -1212,18 +1117,24 @@ class LoadBalancer(pulumi.CustomResource):
1212
1117
  @pulumi.getter(name="deletionProtectionConfig")
1213
1118
  def deletion_protection_config(self) -> pulumi.Output['outputs.LoadBalancerDeletionProtectionConfig']:
1214
1119
  """
1215
- Specifies whether to enable deletion protection. Default value: `false`. See `deletion_protection_config` below.
1120
+ Delete protection. See `deletion_protection_config` below.
1216
1121
  """
1217
1122
  return pulumi.get(self, "deletion_protection_config")
1218
1123
 
1219
1124
  @property
1220
1125
  @pulumi.getter(name="deletionProtectionEnabled")
1221
1126
  def deletion_protection_enabled(self) -> pulumi.Output[bool]:
1127
+ """
1128
+ Specifies whether to enable deletion protection. Default value: `false`. Valid values:
1129
+ """
1222
1130
  return pulumi.get(self, "deletion_protection_enabled")
1223
1131
 
1224
1132
  @property
1225
1133
  @pulumi.getter(name="deletionProtectionReason")
1226
1134
  def deletion_protection_reason(self) -> pulumi.Output[str]:
1135
+ """
1136
+ 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`.
1137
+ """
1227
1138
  return pulumi.get(self, "deletion_protection_reason")
1228
1139
 
1229
1140
  @property
@@ -1238,9 +1149,9 @@ class LoadBalancer(pulumi.CustomResource):
1238
1149
  @pulumi.getter(name="ipv6AddressType")
1239
1150
  def ipv6_address_type(self) -> pulumi.Output[str]:
1240
1151
  """
1241
- The type of IPv6 address used by the NLB instance. Valid values:
1242
- - `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.
1243
- - `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.
1152
+ The IPv6 address type of network load balancing. Value:
1153
+ - **Internet**: Server Load Balancer has a public IP address, and the DNS domain name is resolved to a public IP address, so it can be accessed in a public network environment.
1154
+ - **Intranet**: SLB only has the private IP address, and the DNS domain name is resolved to the private IP address, so it can only be accessed by the Intranet environment of the VPC where SLB is located.
1244
1155
  """
1245
1156
  return pulumi.get(self, "ipv6_address_type")
1246
1157
 
@@ -1256,9 +1167,7 @@ class LoadBalancer(pulumi.CustomResource):
1256
1167
  @pulumi.getter(name="loadBalancerName")
1257
1168
  def load_balancer_name(self) -> pulumi.Output[Optional[str]]:
1258
1169
  """
1259
- The name of the NLB instance.
1260
-
1261
- 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.
1170
+ The name of the network-based load balancing instance. 2 to 128 English or Chinese characters in length, which must start with a letter or Chinese, and can contain numbers, half-width periods (.), underscores (_), and dashes (-).
1262
1171
  """
1263
1172
  return pulumi.get(self, "load_balancer_name")
1264
1173
 
@@ -1266,7 +1175,7 @@ class LoadBalancer(pulumi.CustomResource):
1266
1175
  @pulumi.getter(name="loadBalancerType")
1267
1176
  def load_balancer_type(self) -> pulumi.Output[str]:
1268
1177
  """
1269
- The type of the Server Load Balancer (SLB) instance. Set the value to `network`, which specifies NLB.
1178
+ Load balancing type. Only value: **network**, which indicates network-based load balancing.
1270
1179
  """
1271
1180
  return pulumi.get(self, "load_balancer_type")
1272
1181
 
@@ -1274,27 +1183,33 @@ class LoadBalancer(pulumi.CustomResource):
1274
1183
  @pulumi.getter(name="modificationProtectionConfig")
1275
1184
  def modification_protection_config(self) -> pulumi.Output['outputs.LoadBalancerModificationProtectionConfig']:
1276
1185
  """
1277
- Specifies whether to enable the configuration read-only mode. Default value: `NonProtection`. See `modification_protection_config` below.
1186
+ Modify protection. See `modification_protection_config` below.
1278
1187
  """
1279
1188
  return pulumi.get(self, "modification_protection_config")
1280
1189
 
1281
1190
  @property
1282
1191
  @pulumi.getter(name="modificationProtectionReason")
1283
1192
  def modification_protection_reason(self) -> pulumi.Output[str]:
1193
+ """
1194
+ 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`.
1195
+ """
1284
1196
  return pulumi.get(self, "modification_protection_reason")
1285
1197
 
1286
1198
  @property
1287
1199
  @pulumi.getter(name="modificationProtectionStatus")
1288
1200
  def modification_protection_status(self) -> pulumi.Output[str]:
1201
+ """
1202
+ Specifies whether to enable the configuration read-only mode. Default value: `NonProtection`. Valid values:
1203
+ - `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.
1204
+ - `ConsoleProtection`: Enables the configuration read-only mode. You can set the `modification_protection_reason`.
1205
+ """
1289
1206
  return pulumi.get(self, "modification_protection_status")
1290
1207
 
1291
1208
  @property
1292
1209
  @pulumi.getter(name="resourceGroupId")
1293
1210
  def resource_group_id(self) -> pulumi.Output[str]:
1294
1211
  """
1295
- The ID of the new resource group.
1296
-
1297
- You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
1212
+ The ID of the resource group.
1298
1213
  """
1299
1214
  return pulumi.get(self, "resource_group_id")
1300
1215
 
@@ -1310,7 +1225,7 @@ class LoadBalancer(pulumi.CustomResource):
1310
1225
  @pulumi.getter
1311
1226
  def status(self) -> pulumi.Output[str]:
1312
1227
  """
1313
- The status of the NLB instance.
1228
+ The status of the resource.
1314
1229
  """
1315
1230
  return pulumi.get(self, "status")
1316
1231
 
@@ -1326,7 +1241,7 @@ class LoadBalancer(pulumi.CustomResource):
1326
1241
  @pulumi.getter(name="vpcId")
1327
1242
  def vpc_id(self) -> pulumi.Output[str]:
1328
1243
  """
1329
- The ID of the VPC where the NLB instance is deployed.
1244
+ The ID of the network-based SLB instance.
1330
1245
  """
1331
1246
  return pulumi.get(self, "vpc_id")
1332
1247
 
@@ -1334,7 +1249,7 @@ class LoadBalancer(pulumi.CustomResource):
1334
1249
  @pulumi.getter(name="zoneMappings")
1335
1250
  def zone_mappings(self) -> pulumi.Output[Sequence['outputs.LoadBalancerZoneMapping']]:
1336
1251
  """
1337
- Available Area Configuration List. You must add at least two zones. You can add a maximum of 10 zones. See `zone_mappings` below.
1252
+ The list of zones and vSwitch mappings. You must add at least two zones and a maximum of 10 zones. See `zone_mappings` below.
1338
1253
  """
1339
1254
  return pulumi.get(self, "zone_mappings")
1340
1255