pulumi-alicloud 3.63.0a1726291447__py3-none-any.whl → 3.63.0a1726828180__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/amqp/binding.py +30 -36
- pulumi_alicloud/cen/_inputs.py +180 -14
- pulumi_alicloud/cen/outputs.py +173 -12
- pulumi_alicloud/cen/traffic_marking_policy.py +116 -53
- pulumi_alicloud/cen/transit_router_vpc_attachment.py +338 -119
- pulumi_alicloud/cr/chart_namespace.py +14 -6
- pulumi_alicloud/cr/endpoint_acl_policy.py +10 -2
- pulumi_alicloud/cr/namespace.py +10 -2
- pulumi_alicloud/cs/registry_enterprise_sync_rule.py +10 -10
- pulumi_alicloud/ddos/bgp_ip.py +1 -1
- pulumi_alicloud/ecs/_inputs.py +28 -0
- pulumi_alicloud/ecs/outputs.py +20 -0
- pulumi_alicloud/emrv2/_inputs.py +12 -12
- pulumi_alicloud/emrv2/outputs.py +12 -12
- pulumi_alicloud/ens/_inputs.py +50 -2
- pulumi_alicloud/ens/instance.py +428 -184
- pulumi_alicloud/ens/outputs.py +57 -2
- pulumi_alicloud/expressconnect/physical_connection.py +321 -185
- pulumi_alicloud/fc/trigger.py +22 -24
- pulumi_alicloud/ga/endpoint_group.py +68 -14
- pulumi_alicloud/mongodb/instance.py +94 -0
- pulumi_alicloud/nlb/_inputs.py +120 -64
- pulumi_alicloud/nlb/get_listeners.py +32 -2
- pulumi_alicloud/nlb/get_server_group_server_attachments.py +8 -2
- pulumi_alicloud/nlb/listener.py +315 -245
- pulumi_alicloud/nlb/listener_additional_certificate_attachment.py +25 -25
- pulumi_alicloud/nlb/load_balancer.py +181 -212
- pulumi_alicloud/nlb/load_balancer_security_group_attachment.py +29 -39
- pulumi_alicloud/nlb/loadbalancer_common_bandwidth_package_attachment.py +22 -18
- pulumi_alicloud/nlb/outputs.py +122 -66
- pulumi_alicloud/nlb/security_policy.py +53 -25
- pulumi_alicloud/nlb/server_group.py +196 -133
- pulumi_alicloud/ocean/base_instance.py +498 -163
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/servicemesh/extension_provider.py +2 -2
- pulumi_alicloud/vpc/common_bandwith_package_attachment.py +2 -2
- {pulumi_alicloud-3.63.0a1726291447.dist-info → pulumi_alicloud-3.63.0a1726828180.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.63.0a1726291447.dist-info → pulumi_alicloud-3.63.0a1726828180.dist-info}/RECORD +40 -40
- {pulumi_alicloud-3.63.0a1726291447.dist-info → pulumi_alicloud-3.63.0a1726828180.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.63.0a1726291447.dist-info → pulumi_alicloud-3.63.0a1726828180.dist-info}/top_level.txt +0 -0
|
@@ -36,32 +36,31 @@ 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
|
|
40
|
-
-
|
|
41
|
-
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
:param pulumi.Input[str]
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
- **
|
|
50
|
-
|
|
51
|
-
:param pulumi.Input[
|
|
52
|
-
:param pulumi.Input[
|
|
53
|
-
:param pulumi.Input[str]
|
|
54
|
-
|
|
55
|
-
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
:param pulumi.Input[
|
|
60
|
-
:param pulumi.Input[
|
|
61
|
-
:param pulumi.Input[str]
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
:param pulumi.Input[str] resource_group_id: The ID of the resource group.
|
|
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.
|
|
65
64
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: The security group to which the network-based SLB instance belongs.
|
|
66
65
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: List of labels.
|
|
67
66
|
"""
|
|
@@ -103,9 +102,11 @@ class LoadBalancerArgs:
|
|
|
103
102
|
@pulumi.getter(name="addressType")
|
|
104
103
|
def address_type(self) -> pulumi.Input[str]:
|
|
105
104
|
"""
|
|
106
|
-
The
|
|
107
|
-
-
|
|
108
|
-
-
|
|
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.
|
|
109
110
|
"""
|
|
110
111
|
return pulumi.get(self, "address_type")
|
|
111
112
|
|
|
@@ -117,7 +118,7 @@ class LoadBalancerArgs:
|
|
|
117
118
|
@pulumi.getter(name="vpcId")
|
|
118
119
|
def vpc_id(self) -> pulumi.Input[str]:
|
|
119
120
|
"""
|
|
120
|
-
The ID of the
|
|
121
|
+
The ID of the VPC where the NLB instance is deployed.
|
|
121
122
|
"""
|
|
122
123
|
return pulumi.get(self, "vpc_id")
|
|
123
124
|
|
|
@@ -129,7 +130,7 @@ class LoadBalancerArgs:
|
|
|
129
130
|
@pulumi.getter(name="zoneMappings")
|
|
130
131
|
def zone_mappings(self) -> pulumi.Input[Sequence[pulumi.Input['LoadBalancerZoneMappingArgs']]]:
|
|
131
132
|
"""
|
|
132
|
-
|
|
133
|
+
Available Area Configuration List. You must add at least two zones. You can add a maximum of 10 zones. See `zone_mappings` below.
|
|
133
134
|
"""
|
|
134
135
|
return pulumi.get(self, "zone_mappings")
|
|
135
136
|
|
|
@@ -141,9 +142,10 @@ class LoadBalancerArgs:
|
|
|
141
142
|
@pulumi.getter(name="addressIpVersion")
|
|
142
143
|
def address_ip_version(self) -> Optional[pulumi.Input[str]]:
|
|
143
144
|
"""
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
- **
|
|
145
|
+
The protocol version. Valid values:
|
|
146
|
+
|
|
147
|
+
- **ipv4:** IPv4. This is the default value.
|
|
148
|
+
- **DualStack:** dual stack.
|
|
147
149
|
"""
|
|
148
150
|
return pulumi.get(self, "address_ip_version")
|
|
149
151
|
|
|
@@ -155,7 +157,7 @@ class LoadBalancerArgs:
|
|
|
155
157
|
@pulumi.getter(name="bandwidthPackageId")
|
|
156
158
|
def bandwidth_package_id(self) -> Optional[pulumi.Input[str]]:
|
|
157
159
|
"""
|
|
158
|
-
The ID of the
|
|
160
|
+
The ID of the EIP bandwidth plan that is associated with the Internet-facing NLB instance.
|
|
159
161
|
"""
|
|
160
162
|
return pulumi.get(self, "bandwidth_package_id")
|
|
161
163
|
|
|
@@ -167,9 +169,7 @@ class LoadBalancerArgs:
|
|
|
167
169
|
@pulumi.getter(name="crossZoneEnabled")
|
|
168
170
|
def cross_zone_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
169
171
|
"""
|
|
170
|
-
|
|
171
|
-
- **true**: on.
|
|
172
|
-
- **false**: closed.
|
|
172
|
+
Specifies whether to enable cross-zone load balancing for the NLB instance. Valid values:
|
|
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
|
-
|
|
184
|
+
Specifies whether to enable deletion protection. Default value: `false`. See `deletion_protection_config` below.
|
|
185
185
|
"""
|
|
186
186
|
return pulumi.get(self, "deletion_protection_config")
|
|
187
187
|
|
|
@@ -192,9 +192,6 @@ 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
|
-
"""
|
|
198
195
|
return pulumi.get(self, "deletion_protection_enabled")
|
|
199
196
|
|
|
200
197
|
@deletion_protection_enabled.setter
|
|
@@ -204,9 +201,6 @@ class LoadBalancerArgs:
|
|
|
204
201
|
@property
|
|
205
202
|
@pulumi.getter(name="deletionProtectionReason")
|
|
206
203
|
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
|
-
"""
|
|
210
204
|
return pulumi.get(self, "deletion_protection_reason")
|
|
211
205
|
|
|
212
206
|
@deletion_protection_reason.setter
|
|
@@ -217,9 +211,9 @@ class LoadBalancerArgs:
|
|
|
217
211
|
@pulumi.getter(name="ipv6AddressType")
|
|
218
212
|
def ipv6_address_type(self) -> Optional[pulumi.Input[str]]:
|
|
219
213
|
"""
|
|
220
|
-
The IPv6 address
|
|
221
|
-
-
|
|
222
|
-
-
|
|
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.
|
|
223
217
|
"""
|
|
224
218
|
return pulumi.get(self, "ipv6_address_type")
|
|
225
219
|
|
|
@@ -231,7 +225,9 @@ class LoadBalancerArgs:
|
|
|
231
225
|
@pulumi.getter(name="loadBalancerName")
|
|
232
226
|
def load_balancer_name(self) -> Optional[pulumi.Input[str]]:
|
|
233
227
|
"""
|
|
234
|
-
The name of the
|
|
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.
|
|
235
231
|
"""
|
|
236
232
|
return pulumi.get(self, "load_balancer_name")
|
|
237
233
|
|
|
@@ -243,7 +239,7 @@ class LoadBalancerArgs:
|
|
|
243
239
|
@pulumi.getter(name="loadBalancerType")
|
|
244
240
|
def load_balancer_type(self) -> Optional[pulumi.Input[str]]:
|
|
245
241
|
"""
|
|
246
|
-
Load
|
|
242
|
+
The type of the Server Load Balancer (SLB) instance. Set the value to `network`, which specifies NLB.
|
|
247
243
|
"""
|
|
248
244
|
return pulumi.get(self, "load_balancer_type")
|
|
249
245
|
|
|
@@ -255,7 +251,7 @@ class LoadBalancerArgs:
|
|
|
255
251
|
@pulumi.getter(name="modificationProtectionConfig")
|
|
256
252
|
def modification_protection_config(self) -> Optional[pulumi.Input['LoadBalancerModificationProtectionConfigArgs']]:
|
|
257
253
|
"""
|
|
258
|
-
|
|
254
|
+
Specifies whether to enable the configuration read-only mode. Default value: `NonProtection`. See `modification_protection_config` below.
|
|
259
255
|
"""
|
|
260
256
|
return pulumi.get(self, "modification_protection_config")
|
|
261
257
|
|
|
@@ -266,9 +262,6 @@ class LoadBalancerArgs:
|
|
|
266
262
|
@property
|
|
267
263
|
@pulumi.getter(name="modificationProtectionReason")
|
|
268
264
|
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
|
-
"""
|
|
272
265
|
return pulumi.get(self, "modification_protection_reason")
|
|
273
266
|
|
|
274
267
|
@modification_protection_reason.setter
|
|
@@ -278,11 +271,6 @@ class LoadBalancerArgs:
|
|
|
278
271
|
@property
|
|
279
272
|
@pulumi.getter(name="modificationProtectionStatus")
|
|
280
273
|
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
|
-
"""
|
|
286
274
|
return pulumi.get(self, "modification_protection_status")
|
|
287
275
|
|
|
288
276
|
@modification_protection_status.setter
|
|
@@ -293,7 +281,9 @@ class LoadBalancerArgs:
|
|
|
293
281
|
@pulumi.getter(name="resourceGroupId")
|
|
294
282
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
295
283
|
"""
|
|
296
|
-
The ID of the resource group.
|
|
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.
|
|
297
287
|
"""
|
|
298
288
|
return pulumi.get(self, "resource_group_id")
|
|
299
289
|
|
|
@@ -353,38 +343,37 @@ class _LoadBalancerState:
|
|
|
353
343
|
zone_mappings: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerZoneMappingArgs']]]] = None):
|
|
354
344
|
"""
|
|
355
345
|
Input properties used for looking up and filtering LoadBalancer resources.
|
|
356
|
-
:param pulumi.Input[str] address_ip_version:
|
|
357
|
-
|
|
358
|
-
- **
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
-
|
|
362
|
-
|
|
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.
|
|
363
356
|
:param pulumi.Input[str] create_time: Resource creation time, using Greenwich Mean Time, formating' yyyy-MM-ddTHH:mm:ssZ '.
|
|
364
|
-
:param pulumi.Input[bool] cross_zone_enabled:
|
|
365
|
-
|
|
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`.
|
|
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.
|
|
370
359
|
:param pulumi.Input[str] dns_name: The domain name of the NLB instance.
|
|
371
|
-
:param pulumi.Input[str] ipv6_address_type: The IPv6 address
|
|
372
|
-
-
|
|
373
|
-
-
|
|
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.
|
|
374
363
|
:param pulumi.Input[str] load_balancer_business_status: The business status of the NLB instance.
|
|
375
|
-
:param pulumi.Input[str] load_balancer_name: The name of the
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
:param pulumi.Input[str]
|
|
379
|
-
:param pulumi.Input[
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
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.
|
|
383
372
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: The security group to which the network-based SLB instance belongs.
|
|
384
|
-
:param pulumi.Input[str] status: The status of the
|
|
373
|
+
:param pulumi.Input[str] status: The status of the NLB instance.
|
|
385
374
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: List of labels.
|
|
386
|
-
:param pulumi.Input[str] vpc_id: The ID of the
|
|
387
|
-
:param pulumi.Input[Sequence[pulumi.Input['LoadBalancerZoneMappingArgs']]] zone_mappings:
|
|
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.
|
|
388
377
|
"""
|
|
389
378
|
if address_ip_version is not None:
|
|
390
379
|
pulumi.set(__self__, "address_ip_version", address_ip_version)
|
|
@@ -435,9 +424,10 @@ class _LoadBalancerState:
|
|
|
435
424
|
@pulumi.getter(name="addressIpVersion")
|
|
436
425
|
def address_ip_version(self) -> Optional[pulumi.Input[str]]:
|
|
437
426
|
"""
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
- **
|
|
427
|
+
The protocol version. Valid values:
|
|
428
|
+
|
|
429
|
+
- **ipv4:** IPv4. This is the default value.
|
|
430
|
+
- **DualStack:** dual stack.
|
|
441
431
|
"""
|
|
442
432
|
return pulumi.get(self, "address_ip_version")
|
|
443
433
|
|
|
@@ -449,9 +439,11 @@ class _LoadBalancerState:
|
|
|
449
439
|
@pulumi.getter(name="addressType")
|
|
450
440
|
def address_type(self) -> Optional[pulumi.Input[str]]:
|
|
451
441
|
"""
|
|
452
|
-
The
|
|
453
|
-
-
|
|
454
|
-
-
|
|
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.
|
|
455
447
|
"""
|
|
456
448
|
return pulumi.get(self, "address_type")
|
|
457
449
|
|
|
@@ -463,7 +455,7 @@ class _LoadBalancerState:
|
|
|
463
455
|
@pulumi.getter(name="bandwidthPackageId")
|
|
464
456
|
def bandwidth_package_id(self) -> Optional[pulumi.Input[str]]:
|
|
465
457
|
"""
|
|
466
|
-
The ID of the
|
|
458
|
+
The ID of the EIP bandwidth plan that is associated with the Internet-facing NLB instance.
|
|
467
459
|
"""
|
|
468
460
|
return pulumi.get(self, "bandwidth_package_id")
|
|
469
461
|
|
|
@@ -487,9 +479,7 @@ class _LoadBalancerState:
|
|
|
487
479
|
@pulumi.getter(name="crossZoneEnabled")
|
|
488
480
|
def cross_zone_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
489
481
|
"""
|
|
490
|
-
|
|
491
|
-
- **true**: on.
|
|
492
|
-
- **false**: closed.
|
|
482
|
+
Specifies whether to enable cross-zone load balancing for the NLB instance. Valid values:
|
|
493
483
|
"""
|
|
494
484
|
return pulumi.get(self, "cross_zone_enabled")
|
|
495
485
|
|
|
@@ -501,7 +491,7 @@ class _LoadBalancerState:
|
|
|
501
491
|
@pulumi.getter(name="deletionProtectionConfig")
|
|
502
492
|
def deletion_protection_config(self) -> Optional[pulumi.Input['LoadBalancerDeletionProtectionConfigArgs']]:
|
|
503
493
|
"""
|
|
504
|
-
|
|
494
|
+
Specifies whether to enable deletion protection. Default value: `false`. See `deletion_protection_config` below.
|
|
505
495
|
"""
|
|
506
496
|
return pulumi.get(self, "deletion_protection_config")
|
|
507
497
|
|
|
@@ -512,9 +502,6 @@ class _LoadBalancerState:
|
|
|
512
502
|
@property
|
|
513
503
|
@pulumi.getter(name="deletionProtectionEnabled")
|
|
514
504
|
def deletion_protection_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
515
|
-
"""
|
|
516
|
-
Specifies whether to enable deletion protection. Default value: `false`. Valid values:
|
|
517
|
-
"""
|
|
518
505
|
return pulumi.get(self, "deletion_protection_enabled")
|
|
519
506
|
|
|
520
507
|
@deletion_protection_enabled.setter
|
|
@@ -524,9 +511,6 @@ class _LoadBalancerState:
|
|
|
524
511
|
@property
|
|
525
512
|
@pulumi.getter(name="deletionProtectionReason")
|
|
526
513
|
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
|
-
"""
|
|
530
514
|
return pulumi.get(self, "deletion_protection_reason")
|
|
531
515
|
|
|
532
516
|
@deletion_protection_reason.setter
|
|
@@ -549,9 +533,9 @@ class _LoadBalancerState:
|
|
|
549
533
|
@pulumi.getter(name="ipv6AddressType")
|
|
550
534
|
def ipv6_address_type(self) -> Optional[pulumi.Input[str]]:
|
|
551
535
|
"""
|
|
552
|
-
The IPv6 address
|
|
553
|
-
-
|
|
554
|
-
-
|
|
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.
|
|
555
539
|
"""
|
|
556
540
|
return pulumi.get(self, "ipv6_address_type")
|
|
557
541
|
|
|
@@ -575,7 +559,9 @@ class _LoadBalancerState:
|
|
|
575
559
|
@pulumi.getter(name="loadBalancerName")
|
|
576
560
|
def load_balancer_name(self) -> Optional[pulumi.Input[str]]:
|
|
577
561
|
"""
|
|
578
|
-
The name of the
|
|
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.
|
|
579
565
|
"""
|
|
580
566
|
return pulumi.get(self, "load_balancer_name")
|
|
581
567
|
|
|
@@ -587,7 +573,7 @@ class _LoadBalancerState:
|
|
|
587
573
|
@pulumi.getter(name="loadBalancerType")
|
|
588
574
|
def load_balancer_type(self) -> Optional[pulumi.Input[str]]:
|
|
589
575
|
"""
|
|
590
|
-
Load
|
|
576
|
+
The type of the Server Load Balancer (SLB) instance. Set the value to `network`, which specifies NLB.
|
|
591
577
|
"""
|
|
592
578
|
return pulumi.get(self, "load_balancer_type")
|
|
593
579
|
|
|
@@ -599,7 +585,7 @@ class _LoadBalancerState:
|
|
|
599
585
|
@pulumi.getter(name="modificationProtectionConfig")
|
|
600
586
|
def modification_protection_config(self) -> Optional[pulumi.Input['LoadBalancerModificationProtectionConfigArgs']]:
|
|
601
587
|
"""
|
|
602
|
-
|
|
588
|
+
Specifies whether to enable the configuration read-only mode. Default value: `NonProtection`. See `modification_protection_config` below.
|
|
603
589
|
"""
|
|
604
590
|
return pulumi.get(self, "modification_protection_config")
|
|
605
591
|
|
|
@@ -610,9 +596,6 @@ class _LoadBalancerState:
|
|
|
610
596
|
@property
|
|
611
597
|
@pulumi.getter(name="modificationProtectionReason")
|
|
612
598
|
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
|
-
"""
|
|
616
599
|
return pulumi.get(self, "modification_protection_reason")
|
|
617
600
|
|
|
618
601
|
@modification_protection_reason.setter
|
|
@@ -622,11 +605,6 @@ class _LoadBalancerState:
|
|
|
622
605
|
@property
|
|
623
606
|
@pulumi.getter(name="modificationProtectionStatus")
|
|
624
607
|
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
|
-
"""
|
|
630
608
|
return pulumi.get(self, "modification_protection_status")
|
|
631
609
|
|
|
632
610
|
@modification_protection_status.setter
|
|
@@ -637,7 +615,9 @@ class _LoadBalancerState:
|
|
|
637
615
|
@pulumi.getter(name="resourceGroupId")
|
|
638
616
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
639
617
|
"""
|
|
640
|
-
The ID of the resource group.
|
|
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.
|
|
641
621
|
"""
|
|
642
622
|
return pulumi.get(self, "resource_group_id")
|
|
643
623
|
|
|
@@ -661,7 +641,7 @@ class _LoadBalancerState:
|
|
|
661
641
|
@pulumi.getter
|
|
662
642
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
663
643
|
"""
|
|
664
|
-
The status of the
|
|
644
|
+
The status of the NLB instance.
|
|
665
645
|
"""
|
|
666
646
|
return pulumi.get(self, "status")
|
|
667
647
|
|
|
@@ -685,7 +665,7 @@ class _LoadBalancerState:
|
|
|
685
665
|
@pulumi.getter(name="vpcId")
|
|
686
666
|
def vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
687
667
|
"""
|
|
688
|
-
The ID of the
|
|
668
|
+
The ID of the VPC where the NLB instance is deployed.
|
|
689
669
|
"""
|
|
690
670
|
return pulumi.get(self, "vpc_id")
|
|
691
671
|
|
|
@@ -697,7 +677,7 @@ class _LoadBalancerState:
|
|
|
697
677
|
@pulumi.getter(name="zoneMappings")
|
|
698
678
|
def zone_mappings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerZoneMappingArgs']]]]:
|
|
699
679
|
"""
|
|
700
|
-
|
|
680
|
+
Available Area Configuration List. You must add at least two zones. You can add a maximum of 10 zones. See `zone_mappings` below.
|
|
701
681
|
"""
|
|
702
682
|
return pulumi.get(self, "zone_mappings")
|
|
703
683
|
|
|
@@ -733,7 +713,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
733
713
|
"""
|
|
734
714
|
Provides a NLB Load Balancer resource.
|
|
735
715
|
|
|
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).
|
|
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).
|
|
737
717
|
|
|
738
718
|
> **NOTE:** Available since v1.191.0.
|
|
739
719
|
|
|
@@ -797,34 +777,33 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
797
777
|
|
|
798
778
|
:param str resource_name: The name of the resource.
|
|
799
779
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
800
|
-
:param pulumi.Input[str] address_ip_version:
|
|
801
|
-
|
|
802
|
-
- **
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
:param pulumi.Input[
|
|
811
|
-
:param pulumi.Input[
|
|
812
|
-
:param pulumi.Input[str]
|
|
813
|
-
|
|
814
|
-
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
:param pulumi.Input[
|
|
819
|
-
:param pulumi.Input[
|
|
820
|
-
:param pulumi.Input[str]
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
:param pulumi.Input[str] resource_group_id: The ID of the resource group.
|
|
780
|
+
:param pulumi.Input[str] address_ip_version: The protocol version. Valid values:
|
|
781
|
+
|
|
782
|
+
- **ipv4:** IPv4. This is the default value.
|
|
783
|
+
- **DualStack:** dual stack.
|
|
784
|
+
:param pulumi.Input[str] address_type: The type of IPv4 address used by the NLB instance. Valid values:
|
|
785
|
+
- `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.
|
|
786
|
+
- `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.
|
|
787
|
+
|
|
788
|
+
> **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.
|
|
789
|
+
:param pulumi.Input[str] bandwidth_package_id: The ID of the EIP bandwidth plan that is associated with the Internet-facing NLB instance.
|
|
790
|
+
:param pulumi.Input[bool] cross_zone_enabled: Specifies whether to enable cross-zone load balancing for the NLB instance. Valid values:
|
|
791
|
+
:param pulumi.Input[Union['LoadBalancerDeletionProtectionConfigArgs', 'LoadBalancerDeletionProtectionConfigArgsDict']] deletion_protection_config: Specifies whether to enable deletion protection. Default value: `false`. See `deletion_protection_config` below.
|
|
792
|
+
:param pulumi.Input[str] ipv6_address_type: The type of IPv6 address used by the NLB instance. Valid values:
|
|
793
|
+
- `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.
|
|
794
|
+
- `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.
|
|
795
|
+
:param pulumi.Input[str] load_balancer_name: The name of the NLB instance.
|
|
796
|
+
|
|
797
|
+
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.
|
|
798
|
+
:param pulumi.Input[str] load_balancer_type: The type of the Server Load Balancer (SLB) instance. Set the value to `network`, which specifies NLB.
|
|
799
|
+
: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.
|
|
800
|
+
:param pulumi.Input[str] resource_group_id: The ID of the new resource group.
|
|
801
|
+
|
|
802
|
+
You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
|
|
824
803
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: The security group to which the network-based SLB instance belongs.
|
|
825
804
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: List of labels.
|
|
826
|
-
:param pulumi.Input[str] vpc_id: The ID of the
|
|
827
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['LoadBalancerZoneMappingArgs', 'LoadBalancerZoneMappingArgsDict']]]] zone_mappings:
|
|
805
|
+
:param pulumi.Input[str] vpc_id: The ID of the VPC where the NLB instance is deployed.
|
|
806
|
+
: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.
|
|
828
807
|
"""
|
|
829
808
|
...
|
|
830
809
|
@overload
|
|
@@ -835,7 +814,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
835
814
|
"""
|
|
836
815
|
Provides a NLB Load Balancer resource.
|
|
837
816
|
|
|
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).
|
|
817
|
+
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).
|
|
839
818
|
|
|
840
819
|
> **NOTE:** Available since v1.191.0.
|
|
841
820
|
|
|
@@ -1006,38 +985,37 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1006
985
|
:param str resource_name: The unique name of the resulting resource.
|
|
1007
986
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1008
987
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1009
|
-
:param pulumi.Input[str] address_ip_version:
|
|
1010
|
-
|
|
1011
|
-
- **
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
-
|
|
1015
|
-
|
|
988
|
+
:param pulumi.Input[str] address_ip_version: The protocol version. Valid values:
|
|
989
|
+
|
|
990
|
+
- **ipv4:** IPv4. This is the default value.
|
|
991
|
+
- **DualStack:** dual stack.
|
|
992
|
+
:param pulumi.Input[str] address_type: The type of IPv4 address used by the NLB instance. Valid values:
|
|
993
|
+
- `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.
|
|
994
|
+
- `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.
|
|
995
|
+
|
|
996
|
+
> **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.
|
|
997
|
+
:param pulumi.Input[str] bandwidth_package_id: The ID of the EIP bandwidth plan that is associated with the Internet-facing NLB instance.
|
|
1016
998
|
:param pulumi.Input[str] create_time: Resource creation time, using Greenwich Mean Time, formating' yyyy-MM-ddTHH:mm:ssZ '.
|
|
1017
|
-
:param pulumi.Input[bool] cross_zone_enabled:
|
|
1018
|
-
|
|
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`.
|
|
999
|
+
:param pulumi.Input[bool] cross_zone_enabled: Specifies whether to enable cross-zone load balancing for the NLB instance. Valid values:
|
|
1000
|
+
:param pulumi.Input[Union['LoadBalancerDeletionProtectionConfigArgs', 'LoadBalancerDeletionProtectionConfigArgsDict']] deletion_protection_config: Specifies whether to enable deletion protection. Default value: `false`. See `deletion_protection_config` below.
|
|
1023
1001
|
:param pulumi.Input[str] dns_name: The domain name of the NLB instance.
|
|
1024
|
-
:param pulumi.Input[str] ipv6_address_type: The IPv6 address
|
|
1025
|
-
-
|
|
1026
|
-
-
|
|
1002
|
+
:param pulumi.Input[str] ipv6_address_type: The type of IPv6 address used by the NLB instance. Valid values:
|
|
1003
|
+
- `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.
|
|
1004
|
+
- `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.
|
|
1027
1005
|
:param pulumi.Input[str] load_balancer_business_status: The business status of the NLB instance.
|
|
1028
|
-
:param pulumi.Input[str] load_balancer_name: The name of the
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
:param pulumi.Input[str]
|
|
1032
|
-
:param pulumi.Input[
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1006
|
+
:param pulumi.Input[str] load_balancer_name: The name of the NLB instance.
|
|
1007
|
+
|
|
1008
|
+
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.
|
|
1009
|
+
:param pulumi.Input[str] load_balancer_type: The type of the Server Load Balancer (SLB) instance. Set the value to `network`, which specifies NLB.
|
|
1010
|
+
: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.
|
|
1011
|
+
:param pulumi.Input[str] resource_group_id: The ID of the new resource group.
|
|
1012
|
+
|
|
1013
|
+
You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
|
|
1036
1014
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: The security group to which the network-based SLB instance belongs.
|
|
1037
|
-
:param pulumi.Input[str] status: The status of the
|
|
1015
|
+
:param pulumi.Input[str] status: The status of the NLB instance.
|
|
1038
1016
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: List of labels.
|
|
1039
|
-
:param pulumi.Input[str] vpc_id: The ID of the
|
|
1040
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['LoadBalancerZoneMappingArgs', 'LoadBalancerZoneMappingArgsDict']]]] zone_mappings:
|
|
1017
|
+
:param pulumi.Input[str] vpc_id: The ID of the VPC where the NLB instance is deployed.
|
|
1018
|
+
: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.
|
|
1041
1019
|
"""
|
|
1042
1020
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
1043
1021
|
|
|
@@ -1071,9 +1049,10 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1071
1049
|
@pulumi.getter(name="addressIpVersion")
|
|
1072
1050
|
def address_ip_version(self) -> pulumi.Output[str]:
|
|
1073
1051
|
"""
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
- **
|
|
1052
|
+
The protocol version. Valid values:
|
|
1053
|
+
|
|
1054
|
+
- **ipv4:** IPv4. This is the default value.
|
|
1055
|
+
- **DualStack:** dual stack.
|
|
1077
1056
|
"""
|
|
1078
1057
|
return pulumi.get(self, "address_ip_version")
|
|
1079
1058
|
|
|
@@ -1081,9 +1060,11 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1081
1060
|
@pulumi.getter(name="addressType")
|
|
1082
1061
|
def address_type(self) -> pulumi.Output[str]:
|
|
1083
1062
|
"""
|
|
1084
|
-
The
|
|
1085
|
-
-
|
|
1086
|
-
-
|
|
1063
|
+
The type of IPv4 address used by the NLB instance. Valid values:
|
|
1064
|
+
- `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.
|
|
1065
|
+
- `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.
|
|
1066
|
+
|
|
1067
|
+
> **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.
|
|
1087
1068
|
"""
|
|
1088
1069
|
return pulumi.get(self, "address_type")
|
|
1089
1070
|
|
|
@@ -1091,7 +1072,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1091
1072
|
@pulumi.getter(name="bandwidthPackageId")
|
|
1092
1073
|
def bandwidth_package_id(self) -> pulumi.Output[str]:
|
|
1093
1074
|
"""
|
|
1094
|
-
The ID of the
|
|
1075
|
+
The ID of the EIP bandwidth plan that is associated with the Internet-facing NLB instance.
|
|
1095
1076
|
"""
|
|
1096
1077
|
return pulumi.get(self, "bandwidth_package_id")
|
|
1097
1078
|
|
|
@@ -1107,9 +1088,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1107
1088
|
@pulumi.getter(name="crossZoneEnabled")
|
|
1108
1089
|
def cross_zone_enabled(self) -> pulumi.Output[bool]:
|
|
1109
1090
|
"""
|
|
1110
|
-
|
|
1111
|
-
- **true**: on.
|
|
1112
|
-
- **false**: closed.
|
|
1091
|
+
Specifies whether to enable cross-zone load balancing for the NLB instance. Valid values:
|
|
1113
1092
|
"""
|
|
1114
1093
|
return pulumi.get(self, "cross_zone_enabled")
|
|
1115
1094
|
|
|
@@ -1117,24 +1096,18 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1117
1096
|
@pulumi.getter(name="deletionProtectionConfig")
|
|
1118
1097
|
def deletion_protection_config(self) -> pulumi.Output['outputs.LoadBalancerDeletionProtectionConfig']:
|
|
1119
1098
|
"""
|
|
1120
|
-
|
|
1099
|
+
Specifies whether to enable deletion protection. Default value: `false`. See `deletion_protection_config` below.
|
|
1121
1100
|
"""
|
|
1122
1101
|
return pulumi.get(self, "deletion_protection_config")
|
|
1123
1102
|
|
|
1124
1103
|
@property
|
|
1125
1104
|
@pulumi.getter(name="deletionProtectionEnabled")
|
|
1126
1105
|
def deletion_protection_enabled(self) -> pulumi.Output[bool]:
|
|
1127
|
-
"""
|
|
1128
|
-
Specifies whether to enable deletion protection. Default value: `false`. Valid values:
|
|
1129
|
-
"""
|
|
1130
1106
|
return pulumi.get(self, "deletion_protection_enabled")
|
|
1131
1107
|
|
|
1132
1108
|
@property
|
|
1133
1109
|
@pulumi.getter(name="deletionProtectionReason")
|
|
1134
1110
|
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
|
-
"""
|
|
1138
1111
|
return pulumi.get(self, "deletion_protection_reason")
|
|
1139
1112
|
|
|
1140
1113
|
@property
|
|
@@ -1149,9 +1122,9 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1149
1122
|
@pulumi.getter(name="ipv6AddressType")
|
|
1150
1123
|
def ipv6_address_type(self) -> pulumi.Output[str]:
|
|
1151
1124
|
"""
|
|
1152
|
-
The IPv6 address
|
|
1153
|
-
-
|
|
1154
|
-
-
|
|
1125
|
+
The type of IPv6 address used by the NLB instance. Valid values:
|
|
1126
|
+
- `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.
|
|
1127
|
+
- `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.
|
|
1155
1128
|
"""
|
|
1156
1129
|
return pulumi.get(self, "ipv6_address_type")
|
|
1157
1130
|
|
|
@@ -1167,7 +1140,9 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1167
1140
|
@pulumi.getter(name="loadBalancerName")
|
|
1168
1141
|
def load_balancer_name(self) -> pulumi.Output[Optional[str]]:
|
|
1169
1142
|
"""
|
|
1170
|
-
The name of the
|
|
1143
|
+
The name of the NLB instance.
|
|
1144
|
+
|
|
1145
|
+
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.
|
|
1171
1146
|
"""
|
|
1172
1147
|
return pulumi.get(self, "load_balancer_name")
|
|
1173
1148
|
|
|
@@ -1175,7 +1150,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1175
1150
|
@pulumi.getter(name="loadBalancerType")
|
|
1176
1151
|
def load_balancer_type(self) -> pulumi.Output[str]:
|
|
1177
1152
|
"""
|
|
1178
|
-
Load
|
|
1153
|
+
The type of the Server Load Balancer (SLB) instance. Set the value to `network`, which specifies NLB.
|
|
1179
1154
|
"""
|
|
1180
1155
|
return pulumi.get(self, "load_balancer_type")
|
|
1181
1156
|
|
|
@@ -1183,33 +1158,27 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1183
1158
|
@pulumi.getter(name="modificationProtectionConfig")
|
|
1184
1159
|
def modification_protection_config(self) -> pulumi.Output['outputs.LoadBalancerModificationProtectionConfig']:
|
|
1185
1160
|
"""
|
|
1186
|
-
|
|
1161
|
+
Specifies whether to enable the configuration read-only mode. Default value: `NonProtection`. See `modification_protection_config` below.
|
|
1187
1162
|
"""
|
|
1188
1163
|
return pulumi.get(self, "modification_protection_config")
|
|
1189
1164
|
|
|
1190
1165
|
@property
|
|
1191
1166
|
@pulumi.getter(name="modificationProtectionReason")
|
|
1192
1167
|
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
|
-
"""
|
|
1196
1168
|
return pulumi.get(self, "modification_protection_reason")
|
|
1197
1169
|
|
|
1198
1170
|
@property
|
|
1199
1171
|
@pulumi.getter(name="modificationProtectionStatus")
|
|
1200
1172
|
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
|
-
"""
|
|
1206
1173
|
return pulumi.get(self, "modification_protection_status")
|
|
1207
1174
|
|
|
1208
1175
|
@property
|
|
1209
1176
|
@pulumi.getter(name="resourceGroupId")
|
|
1210
1177
|
def resource_group_id(self) -> pulumi.Output[str]:
|
|
1211
1178
|
"""
|
|
1212
|
-
The ID of the resource group.
|
|
1179
|
+
The ID of the new resource group.
|
|
1180
|
+
|
|
1181
|
+
You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
|
|
1213
1182
|
"""
|
|
1214
1183
|
return pulumi.get(self, "resource_group_id")
|
|
1215
1184
|
|
|
@@ -1225,7 +1194,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1225
1194
|
@pulumi.getter
|
|
1226
1195
|
def status(self) -> pulumi.Output[str]:
|
|
1227
1196
|
"""
|
|
1228
|
-
The status of the
|
|
1197
|
+
The status of the NLB instance.
|
|
1229
1198
|
"""
|
|
1230
1199
|
return pulumi.get(self, "status")
|
|
1231
1200
|
|
|
@@ -1241,7 +1210,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1241
1210
|
@pulumi.getter(name="vpcId")
|
|
1242
1211
|
def vpc_id(self) -> pulumi.Output[str]:
|
|
1243
1212
|
"""
|
|
1244
|
-
The ID of the
|
|
1213
|
+
The ID of the VPC where the NLB instance is deployed.
|
|
1245
1214
|
"""
|
|
1246
1215
|
return pulumi.get(self, "vpc_id")
|
|
1247
1216
|
|
|
@@ -1249,7 +1218,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1249
1218
|
@pulumi.getter(name="zoneMappings")
|
|
1250
1219
|
def zone_mappings(self) -> pulumi.Output[Sequence['outputs.LoadBalancerZoneMapping']]:
|
|
1251
1220
|
"""
|
|
1252
|
-
|
|
1221
|
+
Available Area Configuration List. You must add at least two zones. You can add a maximum of 10 zones. See `zone_mappings` below.
|
|
1253
1222
|
"""
|
|
1254
1223
|
return pulumi.get(self, "zone_mappings")
|
|
1255
1224
|
|