pulumi-alicloud 3.62.1a1726481120__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.
- pulumi_alicloud/amqp/binding.py +36 -30
- pulumi_alicloud/cen/_inputs.py +14 -180
- pulumi_alicloud/cen/outputs.py +12 -173
- pulumi_alicloud/cen/traffic_marking_policy.py +53 -116
- pulumi_alicloud/cen/transit_router_vpc_attachment.py +119 -338
- pulumi_alicloud/cr/chart_namespace.py +6 -14
- pulumi_alicloud/cr/endpoint_acl_policy.py +2 -10
- pulumi_alicloud/cr/namespace.py +2 -10
- pulumi_alicloud/cs/registry_enterprise_sync_rule.py +10 -10
- pulumi_alicloud/ddos/bgp_ip.py +1 -1
- pulumi_alicloud/ecs/_inputs.py +0 -28
- pulumi_alicloud/ecs/outputs.py +0 -20
- pulumi_alicloud/emrv2/_inputs.py +12 -12
- pulumi_alicloud/emrv2/outputs.py +12 -12
- pulumi_alicloud/ens/_inputs.py +2 -50
- pulumi_alicloud/ens/instance.py +184 -428
- pulumi_alicloud/ens/outputs.py +2 -57
- pulumi_alicloud/expressconnect/physical_connection.py +185 -321
- pulumi_alicloud/fc/trigger.py +24 -22
- pulumi_alicloud/ga/endpoint_group.py +14 -68
- pulumi_alicloud/mongodb/instance.py +0 -94
- pulumi_alicloud/nlb/_inputs.py +64 -120
- pulumi_alicloud/nlb/get_listeners.py +2 -32
- pulumi_alicloud/nlb/get_server_group_server_attachments.py +2 -8
- pulumi_alicloud/nlb/listener.py +245 -315
- pulumi_alicloud/nlb/listener_additional_certificate_attachment.py +25 -25
- pulumi_alicloud/nlb/load_balancer.py +212 -181
- pulumi_alicloud/nlb/load_balancer_security_group_attachment.py +39 -29
- pulumi_alicloud/nlb/loadbalancer_common_bandwidth_package_attachment.py +18 -22
- pulumi_alicloud/nlb/outputs.py +66 -122
- pulumi_alicloud/nlb/security_policy.py +25 -53
- pulumi_alicloud/nlb/server_group.py +133 -196
- pulumi_alicloud/ocean/base_instance.py +163 -498
- 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.62.1a1726481120.dist-info → pulumi_alicloud-3.63.0a1726032285.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.62.1a1726481120.dist-info → pulumi_alicloud-3.63.0a1726032285.dist-info}/RECORD +40 -40
- {pulumi_alicloud-3.62.1a1726481120.dist-info → pulumi_alicloud-3.63.0a1726032285.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.62.1a1726481120.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
|
|
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
|
-
|
|
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
|
|
106
|
-
-
|
|
107
|
-
-
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
146
|
-
|
|
147
|
-
- **
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
215
|
-
-
|
|
216
|
-
-
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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:
|
|
347
|
-
|
|
348
|
-
- **
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
-
|
|
352
|
-
|
|
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:
|
|
358
|
-
|
|
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
|
|
361
|
-
-
|
|
362
|
-
-
|
|
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
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
:param pulumi.Input[str]
|
|
368
|
-
:param pulumi.Input[
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
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
|
|
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
|
|
376
|
-
:param pulumi.Input[Sequence[pulumi.Input['LoadBalancerZoneMappingArgs']]] zone_mappings:
|
|
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
|
-
|
|
428
|
-
|
|
429
|
-
- **
|
|
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
|
|
443
|
-
-
|
|
444
|
-
-
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
537
|
-
-
|
|
538
|
-
-
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
-
|
|
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/
|
|
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
|
|
|
@@ -777,33 +797,34 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
777
797
|
|
|
778
798
|
:param str resource_name: The name of the resource.
|
|
779
799
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
780
|
-
:param pulumi.Input[str] address_ip_version:
|
|
781
|
-
|
|
782
|
-
- **
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
:param pulumi.Input[
|
|
791
|
-
:param pulumi.Input[
|
|
792
|
-
:param pulumi.Input[str]
|
|
793
|
-
|
|
794
|
-
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
:param pulumi.Input[
|
|
799
|
-
:param pulumi.Input[
|
|
800
|
-
:param pulumi.Input[str]
|
|
801
|
-
|
|
802
|
-
|
|
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.
|
|
803
824
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: The security group to which the network-based SLB instance belongs.
|
|
804
825
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: List of labels.
|
|
805
|
-
:param pulumi.Input[str] vpc_id: The ID of the
|
|
806
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['LoadBalancerZoneMappingArgs', 'LoadBalancerZoneMappingArgsDict']]]] zone_mappings:
|
|
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.
|
|
807
828
|
"""
|
|
808
829
|
...
|
|
809
830
|
@overload
|
|
@@ -814,7 +835,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
814
835
|
"""
|
|
815
836
|
Provides a NLB Load Balancer resource.
|
|
816
837
|
|
|
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/
|
|
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).
|
|
818
839
|
|
|
819
840
|
> **NOTE:** Available since v1.191.0.
|
|
820
841
|
|
|
@@ -985,37 +1006,38 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
985
1006
|
:param str resource_name: The unique name of the resulting resource.
|
|
986
1007
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
987
1008
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
988
|
-
:param pulumi.Input[str] address_ip_version:
|
|
989
|
-
|
|
990
|
-
- **
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
-
|
|
994
|
-
|
|
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.
|
|
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.
|
|
998
1016
|
:param pulumi.Input[str] create_time: Resource creation time, using Greenwich Mean Time, formating' yyyy-MM-ddTHH:mm:ssZ '.
|
|
999
|
-
:param pulumi.Input[bool] cross_zone_enabled:
|
|
1000
|
-
|
|
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`.
|
|
1001
1023
|
:param pulumi.Input[str] dns_name: The domain name of the NLB instance.
|
|
1002
|
-
:param pulumi.Input[str] ipv6_address_type: The
|
|
1003
|
-
-
|
|
1004
|
-
-
|
|
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.
|
|
1005
1027
|
:param pulumi.Input[str] load_balancer_business_status: The business status of the NLB instance.
|
|
1006
|
-
:param pulumi.Input[str] load_balancer_name: The name of the
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
:param pulumi.Input[str]
|
|
1010
|
-
:param pulumi.Input[
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
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.
|
|
1014
1036
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: The security group to which the network-based SLB instance belongs.
|
|
1015
|
-
:param pulumi.Input[str] status: The status of the
|
|
1037
|
+
:param pulumi.Input[str] status: The status of the resource.
|
|
1016
1038
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: List of labels.
|
|
1017
|
-
:param pulumi.Input[str] vpc_id: The ID of the
|
|
1018
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['LoadBalancerZoneMappingArgs', 'LoadBalancerZoneMappingArgsDict']]]] zone_mappings:
|
|
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.
|
|
1019
1041
|
"""
|
|
1020
1042
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
1021
1043
|
|
|
@@ -1049,10 +1071,9 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1049
1071
|
@pulumi.getter(name="addressIpVersion")
|
|
1050
1072
|
def address_ip_version(self) -> pulumi.Output[str]:
|
|
1051
1073
|
"""
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
- **
|
|
1055
|
-
- **DualStack:** dual stack.
|
|
1074
|
+
Protocol version. Value:
|
|
1075
|
+
- **Ipv4**:IPv4 type.
|
|
1076
|
+
- **DualStack**: Double Stack type.
|
|
1056
1077
|
"""
|
|
1057
1078
|
return pulumi.get(self, "address_ip_version")
|
|
1058
1079
|
|
|
@@ -1060,11 +1081,9 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1060
1081
|
@pulumi.getter(name="addressType")
|
|
1061
1082
|
def address_type(self) -> pulumi.Output[str]:
|
|
1062
1083
|
"""
|
|
1063
|
-
The type of IPv4
|
|
1064
|
-
-
|
|
1065
|
-
-
|
|
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.
|
|
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.
|
|
1068
1087
|
"""
|
|
1069
1088
|
return pulumi.get(self, "address_type")
|
|
1070
1089
|
|
|
@@ -1072,7 +1091,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1072
1091
|
@pulumi.getter(name="bandwidthPackageId")
|
|
1073
1092
|
def bandwidth_package_id(self) -> pulumi.Output[str]:
|
|
1074
1093
|
"""
|
|
1075
|
-
The ID of the
|
|
1094
|
+
The ID of the shared bandwidth package associated with the public network instance.
|
|
1076
1095
|
"""
|
|
1077
1096
|
return pulumi.get(self, "bandwidth_package_id")
|
|
1078
1097
|
|
|
@@ -1088,7 +1107,9 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1088
1107
|
@pulumi.getter(name="crossZoneEnabled")
|
|
1089
1108
|
def cross_zone_enabled(self) -> pulumi.Output[bool]:
|
|
1090
1109
|
"""
|
|
1091
|
-
|
|
1110
|
+
Whether cross-zone is enabled for a network-based load balancing instance. Value:
|
|
1111
|
+
- **true**: on.
|
|
1112
|
+
- **false**: closed.
|
|
1092
1113
|
"""
|
|
1093
1114
|
return pulumi.get(self, "cross_zone_enabled")
|
|
1094
1115
|
|
|
@@ -1096,18 +1117,24 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1096
1117
|
@pulumi.getter(name="deletionProtectionConfig")
|
|
1097
1118
|
def deletion_protection_config(self) -> pulumi.Output['outputs.LoadBalancerDeletionProtectionConfig']:
|
|
1098
1119
|
"""
|
|
1099
|
-
|
|
1120
|
+
Delete protection. See `deletion_protection_config` below.
|
|
1100
1121
|
"""
|
|
1101
1122
|
return pulumi.get(self, "deletion_protection_config")
|
|
1102
1123
|
|
|
1103
1124
|
@property
|
|
1104
1125
|
@pulumi.getter(name="deletionProtectionEnabled")
|
|
1105
1126
|
def deletion_protection_enabled(self) -> pulumi.Output[bool]:
|
|
1127
|
+
"""
|
|
1128
|
+
Specifies whether to enable deletion protection. Default value: `false`. Valid values:
|
|
1129
|
+
"""
|
|
1106
1130
|
return pulumi.get(self, "deletion_protection_enabled")
|
|
1107
1131
|
|
|
1108
1132
|
@property
|
|
1109
1133
|
@pulumi.getter(name="deletionProtectionReason")
|
|
1110
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
|
+
"""
|
|
1111
1138
|
return pulumi.get(self, "deletion_protection_reason")
|
|
1112
1139
|
|
|
1113
1140
|
@property
|
|
@@ -1122,9 +1149,9 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1122
1149
|
@pulumi.getter(name="ipv6AddressType")
|
|
1123
1150
|
def ipv6_address_type(self) -> pulumi.Output[str]:
|
|
1124
1151
|
"""
|
|
1125
|
-
The
|
|
1126
|
-
-
|
|
1127
|
-
-
|
|
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.
|
|
1128
1155
|
"""
|
|
1129
1156
|
return pulumi.get(self, "ipv6_address_type")
|
|
1130
1157
|
|
|
@@ -1140,9 +1167,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1140
1167
|
@pulumi.getter(name="loadBalancerName")
|
|
1141
1168
|
def load_balancer_name(self) -> pulumi.Output[Optional[str]]:
|
|
1142
1169
|
"""
|
|
1143
|
-
The name of the
|
|
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.
|
|
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 (-).
|
|
1146
1171
|
"""
|
|
1147
1172
|
return pulumi.get(self, "load_balancer_name")
|
|
1148
1173
|
|
|
@@ -1150,7 +1175,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1150
1175
|
@pulumi.getter(name="loadBalancerType")
|
|
1151
1176
|
def load_balancer_type(self) -> pulumi.Output[str]:
|
|
1152
1177
|
"""
|
|
1153
|
-
|
|
1178
|
+
Load balancing type. Only value: **network**, which indicates network-based load balancing.
|
|
1154
1179
|
"""
|
|
1155
1180
|
return pulumi.get(self, "load_balancer_type")
|
|
1156
1181
|
|
|
@@ -1158,27 +1183,33 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1158
1183
|
@pulumi.getter(name="modificationProtectionConfig")
|
|
1159
1184
|
def modification_protection_config(self) -> pulumi.Output['outputs.LoadBalancerModificationProtectionConfig']:
|
|
1160
1185
|
"""
|
|
1161
|
-
|
|
1186
|
+
Modify protection. See `modification_protection_config` below.
|
|
1162
1187
|
"""
|
|
1163
1188
|
return pulumi.get(self, "modification_protection_config")
|
|
1164
1189
|
|
|
1165
1190
|
@property
|
|
1166
1191
|
@pulumi.getter(name="modificationProtectionReason")
|
|
1167
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
|
+
"""
|
|
1168
1196
|
return pulumi.get(self, "modification_protection_reason")
|
|
1169
1197
|
|
|
1170
1198
|
@property
|
|
1171
1199
|
@pulumi.getter(name="modificationProtectionStatus")
|
|
1172
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
|
+
"""
|
|
1173
1206
|
return pulumi.get(self, "modification_protection_status")
|
|
1174
1207
|
|
|
1175
1208
|
@property
|
|
1176
1209
|
@pulumi.getter(name="resourceGroupId")
|
|
1177
1210
|
def resource_group_id(self) -> pulumi.Output[str]:
|
|
1178
1211
|
"""
|
|
1179
|
-
The ID of the
|
|
1180
|
-
|
|
1181
|
-
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.
|
|
1182
1213
|
"""
|
|
1183
1214
|
return pulumi.get(self, "resource_group_id")
|
|
1184
1215
|
|
|
@@ -1194,7 +1225,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1194
1225
|
@pulumi.getter
|
|
1195
1226
|
def status(self) -> pulumi.Output[str]:
|
|
1196
1227
|
"""
|
|
1197
|
-
The status of the
|
|
1228
|
+
The status of the resource.
|
|
1198
1229
|
"""
|
|
1199
1230
|
return pulumi.get(self, "status")
|
|
1200
1231
|
|
|
@@ -1210,7 +1241,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1210
1241
|
@pulumi.getter(name="vpcId")
|
|
1211
1242
|
def vpc_id(self) -> pulumi.Output[str]:
|
|
1212
1243
|
"""
|
|
1213
|
-
The ID of the
|
|
1244
|
+
The ID of the network-based SLB instance.
|
|
1214
1245
|
"""
|
|
1215
1246
|
return pulumi.get(self, "vpc_id")
|
|
1216
1247
|
|
|
@@ -1218,7 +1249,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
1218
1249
|
@pulumi.getter(name="zoneMappings")
|
|
1219
1250
|
def zone_mappings(self) -> pulumi.Output[Sequence['outputs.LoadBalancerZoneMapping']]:
|
|
1220
1251
|
"""
|
|
1221
|
-
|
|
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.
|
|
1222
1253
|
"""
|
|
1223
1254
|
return pulumi.get(self, "zone_mappings")
|
|
1224
1255
|
|