pulumi-alicloud 3.74.0a1737782319__py3-none-any.whl → 3.74.0a1737989015__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-alicloud might be problematic. Click here for more details.
- pulumi_alicloud/__init__.py +80 -0
- pulumi_alicloud/alb/__init__.py +1 -0
- pulumi_alicloud/alb/_inputs.py +907 -244
- pulumi_alicloud/alb/get_server_groups.py +55 -25
- pulumi_alicloud/alb/listener.py +269 -174
- pulumi_alicloud/alb/load_balancer.py +239 -118
- pulumi_alicloud/alb/load_balancer_zone_shifted_attachment.py +303 -0
- pulumi_alicloud/alb/outputs.py +716 -218
- pulumi_alicloud/alb/server_group.py +532 -122
- pulumi_alicloud/cen/_inputs.py +34 -0
- pulumi_alicloud/cen/outputs.py +37 -0
- pulumi_alicloud/cen/transit_router_multicast_domain.py +123 -36
- pulumi_alicloud/cs/_inputs.py +349 -1
- pulumi_alicloud/cs/kubernetes.py +15 -15
- pulumi_alicloud/cs/node_pool.py +77 -2
- pulumi_alicloud/cs/outputs.py +265 -1
- pulumi_alicloud/dfs/file_system.py +62 -23
- pulumi_alicloud/dfs/mount_point.py +48 -22
- pulumi_alicloud/esa/__init__.py +3 -0
- pulumi_alicloud/esa/_inputs.py +81 -0
- pulumi_alicloud/esa/http_request_header_modification_rule.py +531 -0
- pulumi_alicloud/esa/list.py +361 -0
- pulumi_alicloud/esa/outputs.py +48 -0
- pulumi_alicloud/esa/page.py +376 -0
- pulumi_alicloud/esa/rate_plan_instance.py +63 -7
- pulumi_alicloud/ess/get_scaling_groups.py +64 -10
- pulumi_alicloud/ess/get_scaling_rules.py +74 -10
- pulumi_alicloud/ess/outputs.py +357 -17
- pulumi_alicloud/eventbridge/get_service.py +2 -6
- pulumi_alicloud/fc/_inputs.py +75 -75
- pulumi_alicloud/fc/outputs.py +50 -50
- pulumi_alicloud/fc/v3_function.py +53 -6
- pulumi_alicloud/kms/__init__.py +1 -0
- pulumi_alicloud/kms/get_instances.py +160 -0
- pulumi_alicloud/kms/instance.py +0 -60
- pulumi_alicloud/kms/outputs.py +19 -0
- pulumi_alicloud/maxcompute/__init__.py +5 -0
- pulumi_alicloud/maxcompute/_inputs.py +615 -42
- pulumi_alicloud/maxcompute/outputs.py +486 -28
- pulumi_alicloud/maxcompute/project.py +63 -31
- pulumi_alicloud/maxcompute/quota_plan.py +412 -0
- pulumi_alicloud/maxcompute/quota_schedule.py +260 -0
- pulumi_alicloud/maxcompute/role.py +423 -0
- pulumi_alicloud/maxcompute/role_user_attachment.py +368 -0
- pulumi_alicloud/maxcompute/tunnel_quota_timer.py +287 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/rds/instance.py +68 -0
- pulumi_alicloud/vpc/__init__.py +1 -0
- pulumi_alicloud/vpc/ipam_ipam_pool.py +47 -0
- pulumi_alicloud/vpc/ipam_ipam_scope.py +47 -0
- pulumi_alicloud/vpc/ipam_service.py +144 -0
- pulumi_alicloud/vpc/ipv4_cidr_block.py +162 -51
- {pulumi_alicloud-3.74.0a1737782319.dist-info → pulumi_alicloud-3.74.0a1737989015.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.74.0a1737782319.dist-info → pulumi_alicloud-3.74.0a1737989015.dist-info}/RECORD +56 -45
- {pulumi_alicloud-3.74.0a1737782319.dist-info → pulumi_alicloud-3.74.0a1737989015.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.74.0a1737782319.dist-info → pulumi_alicloud-3.74.0a1737989015.dist-info}/top_level.txt +0 -0
|
@@ -30,6 +30,7 @@ class LoadBalancerArgs:
|
|
|
30
30
|
address_allocated_mode: Optional[pulumi.Input[str]] = None,
|
|
31
31
|
address_ip_version: Optional[pulumi.Input[str]] = None,
|
|
32
32
|
bandwidth_package_id: Optional[pulumi.Input[str]] = None,
|
|
33
|
+
deletion_protection_config: Optional[pulumi.Input['LoadBalancerDeletionProtectionConfigArgs']] = None,
|
|
33
34
|
deletion_protection_enabled: Optional[pulumi.Input[bool]] = None,
|
|
34
35
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
35
36
|
ipv6_address_type: Optional[pulumi.Input[str]] = None,
|
|
@@ -39,22 +40,29 @@ class LoadBalancerArgs:
|
|
|
39
40
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
|
40
41
|
"""
|
|
41
42
|
The set of arguments for constructing a LoadBalancer resource.
|
|
42
|
-
:param pulumi.Input[str] address_type: The type of
|
|
43
|
-
:param pulumi.Input['LoadBalancerLoadBalancerBillingConfigArgs'] load_balancer_billing_config: The
|
|
44
|
-
:param pulumi.Input[str] load_balancer_edition: The edition of the ALB instance.
|
|
45
|
-
:param pulumi.Input[str] vpc_id: The ID of the VPC.
|
|
46
|
-
:param pulumi.Input[Sequence[pulumi.Input['LoadBalancerZoneMappingArgs']]] zone_mappings: The
|
|
43
|
+
:param pulumi.Input[str] address_type: The type of IP address that the SLB instance uses to provide services.
|
|
44
|
+
:param pulumi.Input['LoadBalancerLoadBalancerBillingConfigArgs'] load_balancer_billing_config: The configuration of the billing method. See `load_balancer_billing_config` below.
|
|
45
|
+
:param pulumi.Input[str] load_balancer_edition: The edition of the ALB instance.
|
|
46
|
+
:param pulumi.Input[str] vpc_id: The ID of the virtual private cloud (VPC) where the SLB instance is deployed.
|
|
47
|
+
:param pulumi.Input[Sequence[pulumi.Input['LoadBalancerZoneMappingArgs']]] zone_mappings: The zones and vSwitches. You must specify at least two zones. See `zone_mappings` below.
|
|
47
48
|
:param pulumi.Input['LoadBalancerAccessLogConfigArgs'] access_log_config: The configuration of the access log. See `access_log_config` below.
|
|
48
|
-
:param pulumi.Input[str] address_allocated_mode: The
|
|
49
|
-
:param pulumi.Input[str] address_ip_version: The protocol version.
|
|
50
|
-
|
|
49
|
+
:param pulumi.Input[str] address_allocated_mode: The method in which IP addresses are assigned. Valid values: Fixed: The ALB instance uses a fixed IP address. Dynamic (default): An IP address is dynamically assigned to each zone of the ALB instance.
|
|
50
|
+
:param pulumi.Input[str] address_ip_version: The protocol version. Value:
|
|
51
|
+
- `IPv4`:IPv4 type.
|
|
52
|
+
- `DualStack`: the dual-stack type.
|
|
53
|
+
:param pulumi.Input[str] bandwidth_package_id: The ID of the EIP bandwidth plan which is associated with an ALB instance that uses a public IP address.
|
|
54
|
+
:param pulumi.Input['LoadBalancerDeletionProtectionConfigArgs'] deletion_protection_config: Remove the Protection Configuration See `deletion_protection_config` below.
|
|
51
55
|
:param pulumi.Input[bool] deletion_protection_enabled: Specifies whether to enable deletion protection. Default value: `false`. Valid values:
|
|
52
|
-
:param pulumi.Input[bool] dry_run:
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
:param pulumi.Input[
|
|
56
|
+
:param pulumi.Input[bool] dry_run: Whether to PreCheck only this request, value:
|
|
57
|
+
|
|
58
|
+
true: sends a check request and does not create a resource. Check items include whether required parameters are filled in, request format, and business restrictions. If the check fails, the corresponding error is returned. If the check passes, the error code DryRunOperation is returned.
|
|
59
|
+
|
|
60
|
+
false (default): Sends a normal request, returns the HTTP_2xx status code after the check, and directly performs the operation.
|
|
61
|
+
:param pulumi.Input[str] ipv6_address_type: The address type of Ipv6
|
|
62
|
+
:param pulumi.Input[str] load_balancer_name: The name of the resource
|
|
63
|
+
:param pulumi.Input['LoadBalancerModificationProtectionConfigArgs'] modification_protection_config: Modify the Protection Configuration See `modification_protection_config` below.
|
|
64
|
+
:param pulumi.Input[str] resource_group_id: The ID of the resource group
|
|
65
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource
|
|
58
66
|
"""
|
|
59
67
|
pulumi.set(__self__, "address_type", address_type)
|
|
60
68
|
pulumi.set(__self__, "load_balancer_billing_config", load_balancer_billing_config)
|
|
@@ -69,6 +77,8 @@ class LoadBalancerArgs:
|
|
|
69
77
|
pulumi.set(__self__, "address_ip_version", address_ip_version)
|
|
70
78
|
if bandwidth_package_id is not None:
|
|
71
79
|
pulumi.set(__self__, "bandwidth_package_id", bandwidth_package_id)
|
|
80
|
+
if deletion_protection_config is not None:
|
|
81
|
+
pulumi.set(__self__, "deletion_protection_config", deletion_protection_config)
|
|
72
82
|
if deletion_protection_enabled is not None:
|
|
73
83
|
pulumi.set(__self__, "deletion_protection_enabled", deletion_protection_enabled)
|
|
74
84
|
if dry_run is not None:
|
|
@@ -88,7 +98,7 @@ class LoadBalancerArgs:
|
|
|
88
98
|
@pulumi.getter(name="addressType")
|
|
89
99
|
def address_type(self) -> pulumi.Input[str]:
|
|
90
100
|
"""
|
|
91
|
-
The type of
|
|
101
|
+
The type of IP address that the SLB instance uses to provide services.
|
|
92
102
|
"""
|
|
93
103
|
return pulumi.get(self, "address_type")
|
|
94
104
|
|
|
@@ -100,7 +110,7 @@ class LoadBalancerArgs:
|
|
|
100
110
|
@pulumi.getter(name="loadBalancerBillingConfig")
|
|
101
111
|
def load_balancer_billing_config(self) -> pulumi.Input['LoadBalancerLoadBalancerBillingConfigArgs']:
|
|
102
112
|
"""
|
|
103
|
-
The
|
|
113
|
+
The configuration of the billing method. See `load_balancer_billing_config` below.
|
|
104
114
|
"""
|
|
105
115
|
return pulumi.get(self, "load_balancer_billing_config")
|
|
106
116
|
|
|
@@ -112,7 +122,7 @@ class LoadBalancerArgs:
|
|
|
112
122
|
@pulumi.getter(name="loadBalancerEdition")
|
|
113
123
|
def load_balancer_edition(self) -> pulumi.Input[str]:
|
|
114
124
|
"""
|
|
115
|
-
The edition of the ALB instance.
|
|
125
|
+
The edition of the ALB instance.
|
|
116
126
|
"""
|
|
117
127
|
return pulumi.get(self, "load_balancer_edition")
|
|
118
128
|
|
|
@@ -124,7 +134,7 @@ class LoadBalancerArgs:
|
|
|
124
134
|
@pulumi.getter(name="vpcId")
|
|
125
135
|
def vpc_id(self) -> pulumi.Input[str]:
|
|
126
136
|
"""
|
|
127
|
-
The ID of the VPC.
|
|
137
|
+
The ID of the virtual private cloud (VPC) where the SLB instance is deployed.
|
|
128
138
|
"""
|
|
129
139
|
return pulumi.get(self, "vpc_id")
|
|
130
140
|
|
|
@@ -136,7 +146,7 @@ class LoadBalancerArgs:
|
|
|
136
146
|
@pulumi.getter(name="zoneMappings")
|
|
137
147
|
def zone_mappings(self) -> pulumi.Input[Sequence[pulumi.Input['LoadBalancerZoneMappingArgs']]]:
|
|
138
148
|
"""
|
|
139
|
-
The
|
|
149
|
+
The zones and vSwitches. You must specify at least two zones. See `zone_mappings` below.
|
|
140
150
|
"""
|
|
141
151
|
return pulumi.get(self, "zone_mappings")
|
|
142
152
|
|
|
@@ -160,7 +170,7 @@ class LoadBalancerArgs:
|
|
|
160
170
|
@pulumi.getter(name="addressAllocatedMode")
|
|
161
171
|
def address_allocated_mode(self) -> Optional[pulumi.Input[str]]:
|
|
162
172
|
"""
|
|
163
|
-
The
|
|
173
|
+
The method in which IP addresses are assigned. Valid values: Fixed: The ALB instance uses a fixed IP address. Dynamic (default): An IP address is dynamically assigned to each zone of the ALB instance.
|
|
164
174
|
"""
|
|
165
175
|
return pulumi.get(self, "address_allocated_mode")
|
|
166
176
|
|
|
@@ -172,7 +182,9 @@ class LoadBalancerArgs:
|
|
|
172
182
|
@pulumi.getter(name="addressIpVersion")
|
|
173
183
|
def address_ip_version(self) -> Optional[pulumi.Input[str]]:
|
|
174
184
|
"""
|
|
175
|
-
The protocol version.
|
|
185
|
+
The protocol version. Value:
|
|
186
|
+
- `IPv4`:IPv4 type.
|
|
187
|
+
- `DualStack`: the dual-stack type.
|
|
176
188
|
"""
|
|
177
189
|
return pulumi.get(self, "address_ip_version")
|
|
178
190
|
|
|
@@ -184,7 +196,7 @@ class LoadBalancerArgs:
|
|
|
184
196
|
@pulumi.getter(name="bandwidthPackageId")
|
|
185
197
|
def bandwidth_package_id(self) -> Optional[pulumi.Input[str]]:
|
|
186
198
|
"""
|
|
187
|
-
The ID of the
|
|
199
|
+
The ID of the EIP bandwidth plan which is associated with an ALB instance that uses a public IP address.
|
|
188
200
|
"""
|
|
189
201
|
return pulumi.get(self, "bandwidth_package_id")
|
|
190
202
|
|
|
@@ -192,6 +204,18 @@ class LoadBalancerArgs:
|
|
|
192
204
|
def bandwidth_package_id(self, value: Optional[pulumi.Input[str]]):
|
|
193
205
|
pulumi.set(self, "bandwidth_package_id", value)
|
|
194
206
|
|
|
207
|
+
@property
|
|
208
|
+
@pulumi.getter(name="deletionProtectionConfig")
|
|
209
|
+
def deletion_protection_config(self) -> Optional[pulumi.Input['LoadBalancerDeletionProtectionConfigArgs']]:
|
|
210
|
+
"""
|
|
211
|
+
Remove the Protection Configuration See `deletion_protection_config` below.
|
|
212
|
+
"""
|
|
213
|
+
return pulumi.get(self, "deletion_protection_config")
|
|
214
|
+
|
|
215
|
+
@deletion_protection_config.setter
|
|
216
|
+
def deletion_protection_config(self, value: Optional[pulumi.Input['LoadBalancerDeletionProtectionConfigArgs']]):
|
|
217
|
+
pulumi.set(self, "deletion_protection_config", value)
|
|
218
|
+
|
|
195
219
|
@property
|
|
196
220
|
@pulumi.getter(name="deletionProtectionEnabled")
|
|
197
221
|
def deletion_protection_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
@@ -208,7 +232,11 @@ class LoadBalancerArgs:
|
|
|
208
232
|
@pulumi.getter(name="dryRun")
|
|
209
233
|
def dry_run(self) -> Optional[pulumi.Input[bool]]:
|
|
210
234
|
"""
|
|
211
|
-
|
|
235
|
+
Whether to PreCheck only this request, value:
|
|
236
|
+
|
|
237
|
+
true: sends a check request and does not create a resource. Check items include whether required parameters are filled in, request format, and business restrictions. If the check fails, the corresponding error is returned. If the check passes, the error code DryRunOperation is returned.
|
|
238
|
+
|
|
239
|
+
false (default): Sends a normal request, returns the HTTP_2xx status code after the check, and directly performs the operation.
|
|
212
240
|
"""
|
|
213
241
|
return pulumi.get(self, "dry_run")
|
|
214
242
|
|
|
@@ -220,7 +248,7 @@ class LoadBalancerArgs:
|
|
|
220
248
|
@pulumi.getter(name="ipv6AddressType")
|
|
221
249
|
def ipv6_address_type(self) -> Optional[pulumi.Input[str]]:
|
|
222
250
|
"""
|
|
223
|
-
The address type of
|
|
251
|
+
The address type of Ipv6
|
|
224
252
|
"""
|
|
225
253
|
return pulumi.get(self, "ipv6_address_type")
|
|
226
254
|
|
|
@@ -232,7 +260,7 @@ class LoadBalancerArgs:
|
|
|
232
260
|
@pulumi.getter(name="loadBalancerName")
|
|
233
261
|
def load_balancer_name(self) -> Optional[pulumi.Input[str]]:
|
|
234
262
|
"""
|
|
235
|
-
The name of the
|
|
263
|
+
The name of the resource
|
|
236
264
|
"""
|
|
237
265
|
return pulumi.get(self, "load_balancer_name")
|
|
238
266
|
|
|
@@ -244,7 +272,7 @@ class LoadBalancerArgs:
|
|
|
244
272
|
@pulumi.getter(name="modificationProtectionConfig")
|
|
245
273
|
def modification_protection_config(self) -> Optional[pulumi.Input['LoadBalancerModificationProtectionConfigArgs']]:
|
|
246
274
|
"""
|
|
247
|
-
|
|
275
|
+
Modify the Protection Configuration See `modification_protection_config` below.
|
|
248
276
|
"""
|
|
249
277
|
return pulumi.get(self, "modification_protection_config")
|
|
250
278
|
|
|
@@ -256,7 +284,7 @@ class LoadBalancerArgs:
|
|
|
256
284
|
@pulumi.getter(name="resourceGroupId")
|
|
257
285
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
258
286
|
"""
|
|
259
|
-
The ID of the resource group
|
|
287
|
+
The ID of the resource group
|
|
260
288
|
"""
|
|
261
289
|
return pulumi.get(self, "resource_group_id")
|
|
262
290
|
|
|
@@ -268,7 +296,7 @@ class LoadBalancerArgs:
|
|
|
268
296
|
@pulumi.getter
|
|
269
297
|
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
270
298
|
"""
|
|
271
|
-
|
|
299
|
+
The tag of the resource
|
|
272
300
|
"""
|
|
273
301
|
return pulumi.get(self, "tags")
|
|
274
302
|
|
|
@@ -286,6 +314,7 @@ class _LoadBalancerState:
|
|
|
286
314
|
address_type: Optional[pulumi.Input[str]] = None,
|
|
287
315
|
bandwidth_package_id: Optional[pulumi.Input[str]] = None,
|
|
288
316
|
create_time: Optional[pulumi.Input[str]] = None,
|
|
317
|
+
deletion_protection_config: Optional[pulumi.Input['LoadBalancerDeletionProtectionConfigArgs']] = None,
|
|
289
318
|
deletion_protection_enabled: Optional[pulumi.Input[bool]] = None,
|
|
290
319
|
dns_name: Optional[pulumi.Input[str]] = None,
|
|
291
320
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
@@ -294,6 +323,7 @@ class _LoadBalancerState:
|
|
|
294
323
|
load_balancer_edition: Optional[pulumi.Input[str]] = None,
|
|
295
324
|
load_balancer_name: Optional[pulumi.Input[str]] = None,
|
|
296
325
|
modification_protection_config: Optional[pulumi.Input['LoadBalancerModificationProtectionConfigArgs']] = None,
|
|
326
|
+
region_id: Optional[pulumi.Input[str]] = None,
|
|
297
327
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
298
328
|
status: Optional[pulumi.Input[str]] = None,
|
|
299
329
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
@@ -302,24 +332,32 @@ class _LoadBalancerState:
|
|
|
302
332
|
"""
|
|
303
333
|
Input properties used for looking up and filtering LoadBalancer resources.
|
|
304
334
|
:param pulumi.Input['LoadBalancerAccessLogConfigArgs'] access_log_config: The configuration of the access log. See `access_log_config` below.
|
|
305
|
-
:param pulumi.Input[str] address_allocated_mode: The
|
|
306
|
-
:param pulumi.Input[str] address_ip_version: The protocol version.
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
:param pulumi.Input[str]
|
|
335
|
+
:param pulumi.Input[str] address_allocated_mode: The method in which IP addresses are assigned. Valid values: Fixed: The ALB instance uses a fixed IP address. Dynamic (default): An IP address is dynamically assigned to each zone of the ALB instance.
|
|
336
|
+
:param pulumi.Input[str] address_ip_version: The protocol version. Value:
|
|
337
|
+
- `IPv4`:IPv4 type.
|
|
338
|
+
- `DualStack`: the dual-stack type.
|
|
339
|
+
:param pulumi.Input[str] address_type: The type of IP address that the SLB instance uses to provide services.
|
|
340
|
+
:param pulumi.Input[str] bandwidth_package_id: The ID of the EIP bandwidth plan which is associated with an ALB instance that uses a public IP address.
|
|
341
|
+
:param pulumi.Input[str] create_time: The creation time of the resource
|
|
342
|
+
:param pulumi.Input['LoadBalancerDeletionProtectionConfigArgs'] deletion_protection_config: Remove the Protection Configuration See `deletion_protection_config` below.
|
|
310
343
|
:param pulumi.Input[bool] deletion_protection_enabled: Specifies whether to enable deletion protection. Default value: `false`. Valid values:
|
|
311
|
-
:param pulumi.Input[str] dns_name:
|
|
312
|
-
:param pulumi.Input[bool] dry_run:
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
:param pulumi.Input[
|
|
318
|
-
:param pulumi.Input[
|
|
319
|
-
:param pulumi.Input[str]
|
|
320
|
-
:param pulumi.Input[
|
|
321
|
-
:param pulumi.Input[
|
|
322
|
-
:param pulumi.Input[
|
|
344
|
+
:param pulumi.Input[str] dns_name: DNS Domain Name
|
|
345
|
+
:param pulumi.Input[bool] dry_run: Whether to PreCheck only this request, value:
|
|
346
|
+
|
|
347
|
+
true: sends a check request and does not create a resource. Check items include whether required parameters are filled in, request format, and business restrictions. If the check fails, the corresponding error is returned. If the check passes, the error code DryRunOperation is returned.
|
|
348
|
+
|
|
349
|
+
false (default): Sends a normal request, returns the HTTP_2xx status code after the check, and directly performs the operation.
|
|
350
|
+
:param pulumi.Input[str] ipv6_address_type: The address type of Ipv6
|
|
351
|
+
:param pulumi.Input['LoadBalancerLoadBalancerBillingConfigArgs'] load_balancer_billing_config: The configuration of the billing method. See `load_balancer_billing_config` below.
|
|
352
|
+
:param pulumi.Input[str] load_balancer_edition: The edition of the ALB instance.
|
|
353
|
+
:param pulumi.Input[str] load_balancer_name: The name of the resource
|
|
354
|
+
:param pulumi.Input['LoadBalancerModificationProtectionConfigArgs'] modification_protection_config: Modify the Protection Configuration See `modification_protection_config` below.
|
|
355
|
+
:param pulumi.Input[str] region_id: The region ID of the resource
|
|
356
|
+
:param pulumi.Input[str] resource_group_id: The ID of the resource group
|
|
357
|
+
:param pulumi.Input[str] status: Server Load Balancer Instance Status:, indicating that the instance listener will no longer forward traffic.(default).
|
|
358
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource
|
|
359
|
+
:param pulumi.Input[str] vpc_id: The ID of the virtual private cloud (VPC) where the SLB instance is deployed.
|
|
360
|
+
:param pulumi.Input[Sequence[pulumi.Input['LoadBalancerZoneMappingArgs']]] zone_mappings: The zones and vSwitches. You must specify at least two zones. See `zone_mappings` below.
|
|
323
361
|
"""
|
|
324
362
|
if access_log_config is not None:
|
|
325
363
|
pulumi.set(__self__, "access_log_config", access_log_config)
|
|
@@ -333,6 +371,8 @@ class _LoadBalancerState:
|
|
|
333
371
|
pulumi.set(__self__, "bandwidth_package_id", bandwidth_package_id)
|
|
334
372
|
if create_time is not None:
|
|
335
373
|
pulumi.set(__self__, "create_time", create_time)
|
|
374
|
+
if deletion_protection_config is not None:
|
|
375
|
+
pulumi.set(__self__, "deletion_protection_config", deletion_protection_config)
|
|
336
376
|
if deletion_protection_enabled is not None:
|
|
337
377
|
pulumi.set(__self__, "deletion_protection_enabled", deletion_protection_enabled)
|
|
338
378
|
if dns_name is not None:
|
|
@@ -349,6 +389,8 @@ class _LoadBalancerState:
|
|
|
349
389
|
pulumi.set(__self__, "load_balancer_name", load_balancer_name)
|
|
350
390
|
if modification_protection_config is not None:
|
|
351
391
|
pulumi.set(__self__, "modification_protection_config", modification_protection_config)
|
|
392
|
+
if region_id is not None:
|
|
393
|
+
pulumi.set(__self__, "region_id", region_id)
|
|
352
394
|
if resource_group_id is not None:
|
|
353
395
|
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
354
396
|
if status is not None:
|
|
@@ -376,7 +418,7 @@ class _LoadBalancerState:
|
|
|
376
418
|
@pulumi.getter(name="addressAllocatedMode")
|
|
377
419
|
def address_allocated_mode(self) -> Optional[pulumi.Input[str]]:
|
|
378
420
|
"""
|
|
379
|
-
The
|
|
421
|
+
The method in which IP addresses are assigned. Valid values: Fixed: The ALB instance uses a fixed IP address. Dynamic (default): An IP address is dynamically assigned to each zone of the ALB instance.
|
|
380
422
|
"""
|
|
381
423
|
return pulumi.get(self, "address_allocated_mode")
|
|
382
424
|
|
|
@@ -388,7 +430,9 @@ class _LoadBalancerState:
|
|
|
388
430
|
@pulumi.getter(name="addressIpVersion")
|
|
389
431
|
def address_ip_version(self) -> Optional[pulumi.Input[str]]:
|
|
390
432
|
"""
|
|
391
|
-
The protocol version.
|
|
433
|
+
The protocol version. Value:
|
|
434
|
+
- `IPv4`:IPv4 type.
|
|
435
|
+
- `DualStack`: the dual-stack type.
|
|
392
436
|
"""
|
|
393
437
|
return pulumi.get(self, "address_ip_version")
|
|
394
438
|
|
|
@@ -400,7 +444,7 @@ class _LoadBalancerState:
|
|
|
400
444
|
@pulumi.getter(name="addressType")
|
|
401
445
|
def address_type(self) -> Optional[pulumi.Input[str]]:
|
|
402
446
|
"""
|
|
403
|
-
The type of
|
|
447
|
+
The type of IP address that the SLB instance uses to provide services.
|
|
404
448
|
"""
|
|
405
449
|
return pulumi.get(self, "address_type")
|
|
406
450
|
|
|
@@ -412,7 +456,7 @@ class _LoadBalancerState:
|
|
|
412
456
|
@pulumi.getter(name="bandwidthPackageId")
|
|
413
457
|
def bandwidth_package_id(self) -> Optional[pulumi.Input[str]]:
|
|
414
458
|
"""
|
|
415
|
-
The ID of the
|
|
459
|
+
The ID of the EIP bandwidth plan which is associated with an ALB instance that uses a public IP address.
|
|
416
460
|
"""
|
|
417
461
|
return pulumi.get(self, "bandwidth_package_id")
|
|
418
462
|
|
|
@@ -424,7 +468,7 @@ class _LoadBalancerState:
|
|
|
424
468
|
@pulumi.getter(name="createTime")
|
|
425
469
|
def create_time(self) -> Optional[pulumi.Input[str]]:
|
|
426
470
|
"""
|
|
427
|
-
The time
|
|
471
|
+
The creation time of the resource
|
|
428
472
|
"""
|
|
429
473
|
return pulumi.get(self, "create_time")
|
|
430
474
|
|
|
@@ -432,6 +476,18 @@ class _LoadBalancerState:
|
|
|
432
476
|
def create_time(self, value: Optional[pulumi.Input[str]]):
|
|
433
477
|
pulumi.set(self, "create_time", value)
|
|
434
478
|
|
|
479
|
+
@property
|
|
480
|
+
@pulumi.getter(name="deletionProtectionConfig")
|
|
481
|
+
def deletion_protection_config(self) -> Optional[pulumi.Input['LoadBalancerDeletionProtectionConfigArgs']]:
|
|
482
|
+
"""
|
|
483
|
+
Remove the Protection Configuration See `deletion_protection_config` below.
|
|
484
|
+
"""
|
|
485
|
+
return pulumi.get(self, "deletion_protection_config")
|
|
486
|
+
|
|
487
|
+
@deletion_protection_config.setter
|
|
488
|
+
def deletion_protection_config(self, value: Optional[pulumi.Input['LoadBalancerDeletionProtectionConfigArgs']]):
|
|
489
|
+
pulumi.set(self, "deletion_protection_config", value)
|
|
490
|
+
|
|
435
491
|
@property
|
|
436
492
|
@pulumi.getter(name="deletionProtectionEnabled")
|
|
437
493
|
def deletion_protection_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
@@ -448,7 +504,7 @@ class _LoadBalancerState:
|
|
|
448
504
|
@pulumi.getter(name="dnsName")
|
|
449
505
|
def dns_name(self) -> Optional[pulumi.Input[str]]:
|
|
450
506
|
"""
|
|
451
|
-
|
|
507
|
+
DNS Domain Name
|
|
452
508
|
"""
|
|
453
509
|
return pulumi.get(self, "dns_name")
|
|
454
510
|
|
|
@@ -460,7 +516,11 @@ class _LoadBalancerState:
|
|
|
460
516
|
@pulumi.getter(name="dryRun")
|
|
461
517
|
def dry_run(self) -> Optional[pulumi.Input[bool]]:
|
|
462
518
|
"""
|
|
463
|
-
|
|
519
|
+
Whether to PreCheck only this request, value:
|
|
520
|
+
|
|
521
|
+
true: sends a check request and does not create a resource. Check items include whether required parameters are filled in, request format, and business restrictions. If the check fails, the corresponding error is returned. If the check passes, the error code DryRunOperation is returned.
|
|
522
|
+
|
|
523
|
+
false (default): Sends a normal request, returns the HTTP_2xx status code after the check, and directly performs the operation.
|
|
464
524
|
"""
|
|
465
525
|
return pulumi.get(self, "dry_run")
|
|
466
526
|
|
|
@@ -472,7 +532,7 @@ class _LoadBalancerState:
|
|
|
472
532
|
@pulumi.getter(name="ipv6AddressType")
|
|
473
533
|
def ipv6_address_type(self) -> Optional[pulumi.Input[str]]:
|
|
474
534
|
"""
|
|
475
|
-
The address type of
|
|
535
|
+
The address type of Ipv6
|
|
476
536
|
"""
|
|
477
537
|
return pulumi.get(self, "ipv6_address_type")
|
|
478
538
|
|
|
@@ -484,7 +544,7 @@ class _LoadBalancerState:
|
|
|
484
544
|
@pulumi.getter(name="loadBalancerBillingConfig")
|
|
485
545
|
def load_balancer_billing_config(self) -> Optional[pulumi.Input['LoadBalancerLoadBalancerBillingConfigArgs']]:
|
|
486
546
|
"""
|
|
487
|
-
The
|
|
547
|
+
The configuration of the billing method. See `load_balancer_billing_config` below.
|
|
488
548
|
"""
|
|
489
549
|
return pulumi.get(self, "load_balancer_billing_config")
|
|
490
550
|
|
|
@@ -496,7 +556,7 @@ class _LoadBalancerState:
|
|
|
496
556
|
@pulumi.getter(name="loadBalancerEdition")
|
|
497
557
|
def load_balancer_edition(self) -> Optional[pulumi.Input[str]]:
|
|
498
558
|
"""
|
|
499
|
-
The edition of the ALB instance.
|
|
559
|
+
The edition of the ALB instance.
|
|
500
560
|
"""
|
|
501
561
|
return pulumi.get(self, "load_balancer_edition")
|
|
502
562
|
|
|
@@ -508,7 +568,7 @@ class _LoadBalancerState:
|
|
|
508
568
|
@pulumi.getter(name="loadBalancerName")
|
|
509
569
|
def load_balancer_name(self) -> Optional[pulumi.Input[str]]:
|
|
510
570
|
"""
|
|
511
|
-
The name of the
|
|
571
|
+
The name of the resource
|
|
512
572
|
"""
|
|
513
573
|
return pulumi.get(self, "load_balancer_name")
|
|
514
574
|
|
|
@@ -520,7 +580,7 @@ class _LoadBalancerState:
|
|
|
520
580
|
@pulumi.getter(name="modificationProtectionConfig")
|
|
521
581
|
def modification_protection_config(self) -> Optional[pulumi.Input['LoadBalancerModificationProtectionConfigArgs']]:
|
|
522
582
|
"""
|
|
523
|
-
|
|
583
|
+
Modify the Protection Configuration See `modification_protection_config` below.
|
|
524
584
|
"""
|
|
525
585
|
return pulumi.get(self, "modification_protection_config")
|
|
526
586
|
|
|
@@ -528,11 +588,23 @@ class _LoadBalancerState:
|
|
|
528
588
|
def modification_protection_config(self, value: Optional[pulumi.Input['LoadBalancerModificationProtectionConfigArgs']]):
|
|
529
589
|
pulumi.set(self, "modification_protection_config", value)
|
|
530
590
|
|
|
591
|
+
@property
|
|
592
|
+
@pulumi.getter(name="regionId")
|
|
593
|
+
def region_id(self) -> Optional[pulumi.Input[str]]:
|
|
594
|
+
"""
|
|
595
|
+
The region ID of the resource
|
|
596
|
+
"""
|
|
597
|
+
return pulumi.get(self, "region_id")
|
|
598
|
+
|
|
599
|
+
@region_id.setter
|
|
600
|
+
def region_id(self, value: Optional[pulumi.Input[str]]):
|
|
601
|
+
pulumi.set(self, "region_id", value)
|
|
602
|
+
|
|
531
603
|
@property
|
|
532
604
|
@pulumi.getter(name="resourceGroupId")
|
|
533
605
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
534
606
|
"""
|
|
535
|
-
The ID of the resource group
|
|
607
|
+
The ID of the resource group
|
|
536
608
|
"""
|
|
537
609
|
return pulumi.get(self, "resource_group_id")
|
|
538
610
|
|
|
@@ -544,7 +616,7 @@ class _LoadBalancerState:
|
|
|
544
616
|
@pulumi.getter
|
|
545
617
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
546
618
|
"""
|
|
547
|
-
|
|
619
|
+
Server Load Balancer Instance Status:, indicating that the instance listener will no longer forward traffic.(default).
|
|
548
620
|
"""
|
|
549
621
|
return pulumi.get(self, "status")
|
|
550
622
|
|
|
@@ -556,7 +628,7 @@ class _LoadBalancerState:
|
|
|
556
628
|
@pulumi.getter
|
|
557
629
|
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
558
630
|
"""
|
|
559
|
-
|
|
631
|
+
The tag of the resource
|
|
560
632
|
"""
|
|
561
633
|
return pulumi.get(self, "tags")
|
|
562
634
|
|
|
@@ -568,7 +640,7 @@ class _LoadBalancerState:
|
|
|
568
640
|
@pulumi.getter(name="vpcId")
|
|
569
641
|
def vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
570
642
|
"""
|
|
571
|
-
The ID of the VPC.
|
|
643
|
+
The ID of the virtual private cloud (VPC) where the SLB instance is deployed.
|
|
572
644
|
"""
|
|
573
645
|
return pulumi.get(self, "vpc_id")
|
|
574
646
|
|
|
@@ -580,7 +652,7 @@ class _LoadBalancerState:
|
|
|
580
652
|
@pulumi.getter(name="zoneMappings")
|
|
581
653
|
def zone_mappings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerZoneMappingArgs']]]]:
|
|
582
654
|
"""
|
|
583
|
-
The
|
|
655
|
+
The zones and vSwitches. You must specify at least two zones. See `zone_mappings` below.
|
|
584
656
|
"""
|
|
585
657
|
return pulumi.get(self, "zone_mappings")
|
|
586
658
|
|
|
@@ -599,6 +671,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
599
671
|
address_ip_version: Optional[pulumi.Input[str]] = None,
|
|
600
672
|
address_type: Optional[pulumi.Input[str]] = None,
|
|
601
673
|
bandwidth_package_id: Optional[pulumi.Input[str]] = None,
|
|
674
|
+
deletion_protection_config: Optional[pulumi.Input[Union['LoadBalancerDeletionProtectionConfigArgs', 'LoadBalancerDeletionProtectionConfigArgsDict']]] = None,
|
|
602
675
|
deletion_protection_enabled: Optional[pulumi.Input[bool]] = None,
|
|
603
676
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
604
677
|
ipv6_address_type: Optional[pulumi.Input[str]] = None,
|
|
@@ -612,15 +685,17 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
612
685
|
zone_mappings: Optional[pulumi.Input[Sequence[pulumi.Input[Union['LoadBalancerZoneMappingArgs', 'LoadBalancerZoneMappingArgsDict']]]]] = None,
|
|
613
686
|
__props__=None):
|
|
614
687
|
"""
|
|
615
|
-
Provides a ALB Load Balancer resource.
|
|
688
|
+
Provides a Application Load Balancer (ALB) Load Balancer resource.
|
|
689
|
+
|
|
690
|
+
Load Balancer Instance.
|
|
616
691
|
|
|
617
|
-
For information about ALB Load Balancer and how to use it, see [What is Load Balancer](https://www.alibabacloud.com/help/en/slb/application-load-balancer/developer-reference/api-alb-2020-06-16-createloadbalancer).
|
|
692
|
+
For information about Application Load Balancer (ALB) Load Balancer and how to use it, see [What is Load Balancer](https://www.alibabacloud.com/help/en/slb/application-load-balancer/developer-reference/api-alb-2020-06-16-createloadbalancer).
|
|
618
693
|
|
|
619
694
|
> **NOTE:** Available since v1.132.0.
|
|
620
695
|
|
|
621
696
|
## Import
|
|
622
697
|
|
|
623
|
-
|
|
698
|
+
Application Load Balancer (ALB) Load Balancer can be imported using the id, e.g.
|
|
624
699
|
|
|
625
700
|
```sh
|
|
626
701
|
$ pulumi import alicloud:alb/loadBalancer:LoadBalancer example <id>
|
|
@@ -629,21 +704,28 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
629
704
|
:param str resource_name: The name of the resource.
|
|
630
705
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
631
706
|
:param pulumi.Input[Union['LoadBalancerAccessLogConfigArgs', 'LoadBalancerAccessLogConfigArgsDict']] access_log_config: The configuration of the access log. See `access_log_config` below.
|
|
632
|
-
:param pulumi.Input[str] address_allocated_mode: The
|
|
633
|
-
:param pulumi.Input[str] address_ip_version: The protocol version.
|
|
634
|
-
|
|
635
|
-
|
|
707
|
+
:param pulumi.Input[str] address_allocated_mode: The method in which IP addresses are assigned. Valid values: Fixed: The ALB instance uses a fixed IP address. Dynamic (default): An IP address is dynamically assigned to each zone of the ALB instance.
|
|
708
|
+
:param pulumi.Input[str] address_ip_version: The protocol version. Value:
|
|
709
|
+
- `IPv4`:IPv4 type.
|
|
710
|
+
- `DualStack`: the dual-stack type.
|
|
711
|
+
:param pulumi.Input[str] address_type: The type of IP address that the SLB instance uses to provide services.
|
|
712
|
+
:param pulumi.Input[str] bandwidth_package_id: The ID of the EIP bandwidth plan which is associated with an ALB instance that uses a public IP address.
|
|
713
|
+
:param pulumi.Input[Union['LoadBalancerDeletionProtectionConfigArgs', 'LoadBalancerDeletionProtectionConfigArgsDict']] deletion_protection_config: Remove the Protection Configuration See `deletion_protection_config` below.
|
|
636
714
|
:param pulumi.Input[bool] deletion_protection_enabled: Specifies whether to enable deletion protection. Default value: `false`. Valid values:
|
|
637
|
-
:param pulumi.Input[bool] dry_run:
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
:param pulumi.Input[
|
|
643
|
-
:param pulumi.Input[
|
|
644
|
-
:param pulumi.Input[
|
|
645
|
-
:param pulumi.Input[str]
|
|
646
|
-
:param pulumi.Input[
|
|
715
|
+
:param pulumi.Input[bool] dry_run: Whether to PreCheck only this request, value:
|
|
716
|
+
|
|
717
|
+
true: sends a check request and does not create a resource. Check items include whether required parameters are filled in, request format, and business restrictions. If the check fails, the corresponding error is returned. If the check passes, the error code DryRunOperation is returned.
|
|
718
|
+
|
|
719
|
+
false (default): Sends a normal request, returns the HTTP_2xx status code after the check, and directly performs the operation.
|
|
720
|
+
:param pulumi.Input[str] ipv6_address_type: The address type of Ipv6
|
|
721
|
+
:param pulumi.Input[Union['LoadBalancerLoadBalancerBillingConfigArgs', 'LoadBalancerLoadBalancerBillingConfigArgsDict']] load_balancer_billing_config: The configuration of the billing method. See `load_balancer_billing_config` below.
|
|
722
|
+
:param pulumi.Input[str] load_balancer_edition: The edition of the ALB instance.
|
|
723
|
+
:param pulumi.Input[str] load_balancer_name: The name of the resource
|
|
724
|
+
:param pulumi.Input[Union['LoadBalancerModificationProtectionConfigArgs', 'LoadBalancerModificationProtectionConfigArgsDict']] modification_protection_config: Modify the Protection Configuration See `modification_protection_config` below.
|
|
725
|
+
:param pulumi.Input[str] resource_group_id: The ID of the resource group
|
|
726
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource
|
|
727
|
+
:param pulumi.Input[str] vpc_id: The ID of the virtual private cloud (VPC) where the SLB instance is deployed.
|
|
728
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['LoadBalancerZoneMappingArgs', 'LoadBalancerZoneMappingArgsDict']]]] zone_mappings: The zones and vSwitches. You must specify at least two zones. See `zone_mappings` below.
|
|
647
729
|
"""
|
|
648
730
|
...
|
|
649
731
|
@overload
|
|
@@ -652,15 +734,17 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
652
734
|
args: LoadBalancerArgs,
|
|
653
735
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
654
736
|
"""
|
|
655
|
-
Provides a ALB Load Balancer resource.
|
|
737
|
+
Provides a Application Load Balancer (ALB) Load Balancer resource.
|
|
656
738
|
|
|
657
|
-
|
|
739
|
+
Load Balancer Instance.
|
|
740
|
+
|
|
741
|
+
For information about Application Load Balancer (ALB) Load Balancer and how to use it, see [What is Load Balancer](https://www.alibabacloud.com/help/en/slb/application-load-balancer/developer-reference/api-alb-2020-06-16-createloadbalancer).
|
|
658
742
|
|
|
659
743
|
> **NOTE:** Available since v1.132.0.
|
|
660
744
|
|
|
661
745
|
## Import
|
|
662
746
|
|
|
663
|
-
|
|
747
|
+
Application Load Balancer (ALB) Load Balancer can be imported using the id, e.g.
|
|
664
748
|
|
|
665
749
|
```sh
|
|
666
750
|
$ pulumi import alicloud:alb/loadBalancer:LoadBalancer example <id>
|
|
@@ -686,6 +770,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
686
770
|
address_ip_version: Optional[pulumi.Input[str]] = None,
|
|
687
771
|
address_type: Optional[pulumi.Input[str]] = None,
|
|
688
772
|
bandwidth_package_id: Optional[pulumi.Input[str]] = None,
|
|
773
|
+
deletion_protection_config: Optional[pulumi.Input[Union['LoadBalancerDeletionProtectionConfigArgs', 'LoadBalancerDeletionProtectionConfigArgsDict']]] = None,
|
|
689
774
|
deletion_protection_enabled: Optional[pulumi.Input[bool]] = None,
|
|
690
775
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
691
776
|
ipv6_address_type: Optional[pulumi.Input[str]] = None,
|
|
@@ -713,6 +798,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
713
798
|
raise TypeError("Missing required property 'address_type'")
|
|
714
799
|
__props__.__dict__["address_type"] = address_type
|
|
715
800
|
__props__.__dict__["bandwidth_package_id"] = bandwidth_package_id
|
|
801
|
+
__props__.__dict__["deletion_protection_config"] = deletion_protection_config
|
|
716
802
|
__props__.__dict__["deletion_protection_enabled"] = deletion_protection_enabled
|
|
717
803
|
__props__.__dict__["dry_run"] = dry_run
|
|
718
804
|
__props__.__dict__["ipv6_address_type"] = ipv6_address_type
|
|
@@ -734,6 +820,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
734
820
|
__props__.__dict__["zone_mappings"] = zone_mappings
|
|
735
821
|
__props__.__dict__["create_time"] = None
|
|
736
822
|
__props__.__dict__["dns_name"] = None
|
|
823
|
+
__props__.__dict__["region_id"] = None
|
|
737
824
|
__props__.__dict__["status"] = None
|
|
738
825
|
super(LoadBalancer, __self__).__init__(
|
|
739
826
|
'alicloud:alb/loadBalancer:LoadBalancer',
|
|
@@ -751,6 +838,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
751
838
|
address_type: Optional[pulumi.Input[str]] = None,
|
|
752
839
|
bandwidth_package_id: Optional[pulumi.Input[str]] = None,
|
|
753
840
|
create_time: Optional[pulumi.Input[str]] = None,
|
|
841
|
+
deletion_protection_config: Optional[pulumi.Input[Union['LoadBalancerDeletionProtectionConfigArgs', 'LoadBalancerDeletionProtectionConfigArgsDict']]] = None,
|
|
754
842
|
deletion_protection_enabled: Optional[pulumi.Input[bool]] = None,
|
|
755
843
|
dns_name: Optional[pulumi.Input[str]] = None,
|
|
756
844
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
@@ -759,6 +847,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
759
847
|
load_balancer_edition: Optional[pulumi.Input[str]] = None,
|
|
760
848
|
load_balancer_name: Optional[pulumi.Input[str]] = None,
|
|
761
849
|
modification_protection_config: Optional[pulumi.Input[Union['LoadBalancerModificationProtectionConfigArgs', 'LoadBalancerModificationProtectionConfigArgsDict']]] = None,
|
|
850
|
+
region_id: Optional[pulumi.Input[str]] = None,
|
|
762
851
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
763
852
|
status: Optional[pulumi.Input[str]] = None,
|
|
764
853
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
@@ -772,24 +861,32 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
772
861
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
773
862
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
774
863
|
:param pulumi.Input[Union['LoadBalancerAccessLogConfigArgs', 'LoadBalancerAccessLogConfigArgsDict']] access_log_config: The configuration of the access log. See `access_log_config` below.
|
|
775
|
-
:param pulumi.Input[str] address_allocated_mode: The
|
|
776
|
-
:param pulumi.Input[str] address_ip_version: The protocol version.
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
:param pulumi.Input[str]
|
|
864
|
+
:param pulumi.Input[str] address_allocated_mode: The method in which IP addresses are assigned. Valid values: Fixed: The ALB instance uses a fixed IP address. Dynamic (default): An IP address is dynamically assigned to each zone of the ALB instance.
|
|
865
|
+
:param pulumi.Input[str] address_ip_version: The protocol version. Value:
|
|
866
|
+
- `IPv4`:IPv4 type.
|
|
867
|
+
- `DualStack`: the dual-stack type.
|
|
868
|
+
:param pulumi.Input[str] address_type: The type of IP address that the SLB instance uses to provide services.
|
|
869
|
+
:param pulumi.Input[str] bandwidth_package_id: The ID of the EIP bandwidth plan which is associated with an ALB instance that uses a public IP address.
|
|
870
|
+
:param pulumi.Input[str] create_time: The creation time of the resource
|
|
871
|
+
:param pulumi.Input[Union['LoadBalancerDeletionProtectionConfigArgs', 'LoadBalancerDeletionProtectionConfigArgsDict']] deletion_protection_config: Remove the Protection Configuration See `deletion_protection_config` below.
|
|
780
872
|
:param pulumi.Input[bool] deletion_protection_enabled: Specifies whether to enable deletion protection. Default value: `false`. Valid values:
|
|
781
|
-
:param pulumi.Input[str] dns_name:
|
|
782
|
-
:param pulumi.Input[bool] dry_run:
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
:param pulumi.Input[
|
|
788
|
-
:param pulumi.Input[
|
|
789
|
-
:param pulumi.Input[str]
|
|
790
|
-
:param pulumi.Input[
|
|
791
|
-
:param pulumi.Input[
|
|
792
|
-
:param pulumi.Input[
|
|
873
|
+
:param pulumi.Input[str] dns_name: DNS Domain Name
|
|
874
|
+
:param pulumi.Input[bool] dry_run: Whether to PreCheck only this request, value:
|
|
875
|
+
|
|
876
|
+
true: sends a check request and does not create a resource. Check items include whether required parameters are filled in, request format, and business restrictions. If the check fails, the corresponding error is returned. If the check passes, the error code DryRunOperation is returned.
|
|
877
|
+
|
|
878
|
+
false (default): Sends a normal request, returns the HTTP_2xx status code after the check, and directly performs the operation.
|
|
879
|
+
:param pulumi.Input[str] ipv6_address_type: The address type of Ipv6
|
|
880
|
+
:param pulumi.Input[Union['LoadBalancerLoadBalancerBillingConfigArgs', 'LoadBalancerLoadBalancerBillingConfigArgsDict']] load_balancer_billing_config: The configuration of the billing method. See `load_balancer_billing_config` below.
|
|
881
|
+
:param pulumi.Input[str] load_balancer_edition: The edition of the ALB instance.
|
|
882
|
+
:param pulumi.Input[str] load_balancer_name: The name of the resource
|
|
883
|
+
:param pulumi.Input[Union['LoadBalancerModificationProtectionConfigArgs', 'LoadBalancerModificationProtectionConfigArgsDict']] modification_protection_config: Modify the Protection Configuration See `modification_protection_config` below.
|
|
884
|
+
:param pulumi.Input[str] region_id: The region ID of the resource
|
|
885
|
+
:param pulumi.Input[str] resource_group_id: The ID of the resource group
|
|
886
|
+
:param pulumi.Input[str] status: Server Load Balancer Instance Status:, indicating that the instance listener will no longer forward traffic.(default).
|
|
887
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource
|
|
888
|
+
:param pulumi.Input[str] vpc_id: The ID of the virtual private cloud (VPC) where the SLB instance is deployed.
|
|
889
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['LoadBalancerZoneMappingArgs', 'LoadBalancerZoneMappingArgsDict']]]] zone_mappings: The zones and vSwitches. You must specify at least two zones. See `zone_mappings` below.
|
|
793
890
|
"""
|
|
794
891
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
795
892
|
|
|
@@ -801,6 +898,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
801
898
|
__props__.__dict__["address_type"] = address_type
|
|
802
899
|
__props__.__dict__["bandwidth_package_id"] = bandwidth_package_id
|
|
803
900
|
__props__.__dict__["create_time"] = create_time
|
|
901
|
+
__props__.__dict__["deletion_protection_config"] = deletion_protection_config
|
|
804
902
|
__props__.__dict__["deletion_protection_enabled"] = deletion_protection_enabled
|
|
805
903
|
__props__.__dict__["dns_name"] = dns_name
|
|
806
904
|
__props__.__dict__["dry_run"] = dry_run
|
|
@@ -809,6 +907,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
809
907
|
__props__.__dict__["load_balancer_edition"] = load_balancer_edition
|
|
810
908
|
__props__.__dict__["load_balancer_name"] = load_balancer_name
|
|
811
909
|
__props__.__dict__["modification_protection_config"] = modification_protection_config
|
|
910
|
+
__props__.__dict__["region_id"] = region_id
|
|
812
911
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
813
912
|
__props__.__dict__["status"] = status
|
|
814
913
|
__props__.__dict__["tags"] = tags
|
|
@@ -828,7 +927,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
828
927
|
@pulumi.getter(name="addressAllocatedMode")
|
|
829
928
|
def address_allocated_mode(self) -> pulumi.Output[Optional[str]]:
|
|
830
929
|
"""
|
|
831
|
-
The
|
|
930
|
+
The method in which IP addresses are assigned. Valid values: Fixed: The ALB instance uses a fixed IP address. Dynamic (default): An IP address is dynamically assigned to each zone of the ALB instance.
|
|
832
931
|
"""
|
|
833
932
|
return pulumi.get(self, "address_allocated_mode")
|
|
834
933
|
|
|
@@ -836,7 +935,9 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
836
935
|
@pulumi.getter(name="addressIpVersion")
|
|
837
936
|
def address_ip_version(self) -> pulumi.Output[str]:
|
|
838
937
|
"""
|
|
839
|
-
The protocol version.
|
|
938
|
+
The protocol version. Value:
|
|
939
|
+
- `IPv4`:IPv4 type.
|
|
940
|
+
- `DualStack`: the dual-stack type.
|
|
840
941
|
"""
|
|
841
942
|
return pulumi.get(self, "address_ip_version")
|
|
842
943
|
|
|
@@ -844,15 +945,15 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
844
945
|
@pulumi.getter(name="addressType")
|
|
845
946
|
def address_type(self) -> pulumi.Output[str]:
|
|
846
947
|
"""
|
|
847
|
-
The type of
|
|
948
|
+
The type of IP address that the SLB instance uses to provide services.
|
|
848
949
|
"""
|
|
849
950
|
return pulumi.get(self, "address_type")
|
|
850
951
|
|
|
851
952
|
@property
|
|
852
953
|
@pulumi.getter(name="bandwidthPackageId")
|
|
853
|
-
def bandwidth_package_id(self) -> pulumi.Output[str]:
|
|
954
|
+
def bandwidth_package_id(self) -> pulumi.Output[Optional[str]]:
|
|
854
955
|
"""
|
|
855
|
-
The ID of the
|
|
956
|
+
The ID of the EIP bandwidth plan which is associated with an ALB instance that uses a public IP address.
|
|
856
957
|
"""
|
|
857
958
|
return pulumi.get(self, "bandwidth_package_id")
|
|
858
959
|
|
|
@@ -860,13 +961,21 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
860
961
|
@pulumi.getter(name="createTime")
|
|
861
962
|
def create_time(self) -> pulumi.Output[str]:
|
|
862
963
|
"""
|
|
863
|
-
The time
|
|
964
|
+
The creation time of the resource
|
|
864
965
|
"""
|
|
865
966
|
return pulumi.get(self, "create_time")
|
|
866
967
|
|
|
968
|
+
@property
|
|
969
|
+
@pulumi.getter(name="deletionProtectionConfig")
|
|
970
|
+
def deletion_protection_config(self) -> pulumi.Output['outputs.LoadBalancerDeletionProtectionConfig']:
|
|
971
|
+
"""
|
|
972
|
+
Remove the Protection Configuration See `deletion_protection_config` below.
|
|
973
|
+
"""
|
|
974
|
+
return pulumi.get(self, "deletion_protection_config")
|
|
975
|
+
|
|
867
976
|
@property
|
|
868
977
|
@pulumi.getter(name="deletionProtectionEnabled")
|
|
869
|
-
def deletion_protection_enabled(self) -> pulumi.Output[
|
|
978
|
+
def deletion_protection_enabled(self) -> pulumi.Output[bool]:
|
|
870
979
|
"""
|
|
871
980
|
Specifies whether to enable deletion protection. Default value: `false`. Valid values:
|
|
872
981
|
"""
|
|
@@ -876,7 +985,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
876
985
|
@pulumi.getter(name="dnsName")
|
|
877
986
|
def dns_name(self) -> pulumi.Output[str]:
|
|
878
987
|
"""
|
|
879
|
-
|
|
988
|
+
DNS Domain Name
|
|
880
989
|
"""
|
|
881
990
|
return pulumi.get(self, "dns_name")
|
|
882
991
|
|
|
@@ -884,7 +993,11 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
884
993
|
@pulumi.getter(name="dryRun")
|
|
885
994
|
def dry_run(self) -> pulumi.Output[Optional[bool]]:
|
|
886
995
|
"""
|
|
887
|
-
|
|
996
|
+
Whether to PreCheck only this request, value:
|
|
997
|
+
|
|
998
|
+
true: sends a check request and does not create a resource. Check items include whether required parameters are filled in, request format, and business restrictions. If the check fails, the corresponding error is returned. If the check passes, the error code DryRunOperation is returned.
|
|
999
|
+
|
|
1000
|
+
false (default): Sends a normal request, returns the HTTP_2xx status code after the check, and directly performs the operation.
|
|
888
1001
|
"""
|
|
889
1002
|
return pulumi.get(self, "dry_run")
|
|
890
1003
|
|
|
@@ -892,7 +1005,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
892
1005
|
@pulumi.getter(name="ipv6AddressType")
|
|
893
1006
|
def ipv6_address_type(self) -> pulumi.Output[str]:
|
|
894
1007
|
"""
|
|
895
|
-
The address type of
|
|
1008
|
+
The address type of Ipv6
|
|
896
1009
|
"""
|
|
897
1010
|
return pulumi.get(self, "ipv6_address_type")
|
|
898
1011
|
|
|
@@ -900,7 +1013,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
900
1013
|
@pulumi.getter(name="loadBalancerBillingConfig")
|
|
901
1014
|
def load_balancer_billing_config(self) -> pulumi.Output['outputs.LoadBalancerLoadBalancerBillingConfig']:
|
|
902
1015
|
"""
|
|
903
|
-
The
|
|
1016
|
+
The configuration of the billing method. See `load_balancer_billing_config` below.
|
|
904
1017
|
"""
|
|
905
1018
|
return pulumi.get(self, "load_balancer_billing_config")
|
|
906
1019
|
|
|
@@ -908,7 +1021,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
908
1021
|
@pulumi.getter(name="loadBalancerEdition")
|
|
909
1022
|
def load_balancer_edition(self) -> pulumi.Output[str]:
|
|
910
1023
|
"""
|
|
911
|
-
The edition of the ALB instance.
|
|
1024
|
+
The edition of the ALB instance.
|
|
912
1025
|
"""
|
|
913
1026
|
return pulumi.get(self, "load_balancer_edition")
|
|
914
1027
|
|
|
@@ -916,7 +1029,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
916
1029
|
@pulumi.getter(name="loadBalancerName")
|
|
917
1030
|
def load_balancer_name(self) -> pulumi.Output[Optional[str]]:
|
|
918
1031
|
"""
|
|
919
|
-
The name of the
|
|
1032
|
+
The name of the resource
|
|
920
1033
|
"""
|
|
921
1034
|
return pulumi.get(self, "load_balancer_name")
|
|
922
1035
|
|
|
@@ -924,15 +1037,23 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
924
1037
|
@pulumi.getter(name="modificationProtectionConfig")
|
|
925
1038
|
def modification_protection_config(self) -> pulumi.Output['outputs.LoadBalancerModificationProtectionConfig']:
|
|
926
1039
|
"""
|
|
927
|
-
|
|
1040
|
+
Modify the Protection Configuration See `modification_protection_config` below.
|
|
928
1041
|
"""
|
|
929
1042
|
return pulumi.get(self, "modification_protection_config")
|
|
930
1043
|
|
|
1044
|
+
@property
|
|
1045
|
+
@pulumi.getter(name="regionId")
|
|
1046
|
+
def region_id(self) -> pulumi.Output[str]:
|
|
1047
|
+
"""
|
|
1048
|
+
The region ID of the resource
|
|
1049
|
+
"""
|
|
1050
|
+
return pulumi.get(self, "region_id")
|
|
1051
|
+
|
|
931
1052
|
@property
|
|
932
1053
|
@pulumi.getter(name="resourceGroupId")
|
|
933
1054
|
def resource_group_id(self) -> pulumi.Output[str]:
|
|
934
1055
|
"""
|
|
935
|
-
The ID of the resource group
|
|
1056
|
+
The ID of the resource group
|
|
936
1057
|
"""
|
|
937
1058
|
return pulumi.get(self, "resource_group_id")
|
|
938
1059
|
|
|
@@ -940,7 +1061,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
940
1061
|
@pulumi.getter
|
|
941
1062
|
def status(self) -> pulumi.Output[str]:
|
|
942
1063
|
"""
|
|
943
|
-
|
|
1064
|
+
Server Load Balancer Instance Status:, indicating that the instance listener will no longer forward traffic.(default).
|
|
944
1065
|
"""
|
|
945
1066
|
return pulumi.get(self, "status")
|
|
946
1067
|
|
|
@@ -948,7 +1069,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
948
1069
|
@pulumi.getter
|
|
949
1070
|
def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
950
1071
|
"""
|
|
951
|
-
|
|
1072
|
+
The tag of the resource
|
|
952
1073
|
"""
|
|
953
1074
|
return pulumi.get(self, "tags")
|
|
954
1075
|
|
|
@@ -956,7 +1077,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
956
1077
|
@pulumi.getter(name="vpcId")
|
|
957
1078
|
def vpc_id(self) -> pulumi.Output[str]:
|
|
958
1079
|
"""
|
|
959
|
-
The ID of the VPC.
|
|
1080
|
+
The ID of the virtual private cloud (VPC) where the SLB instance is deployed.
|
|
960
1081
|
"""
|
|
961
1082
|
return pulumi.get(self, "vpc_id")
|
|
962
1083
|
|
|
@@ -964,7 +1085,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
964
1085
|
@pulumi.getter(name="zoneMappings")
|
|
965
1086
|
def zone_mappings(self) -> pulumi.Output[Sequence['outputs.LoadBalancerZoneMapping']]:
|
|
966
1087
|
"""
|
|
967
|
-
The
|
|
1088
|
+
The zones and vSwitches. You must specify at least two zones. See `zone_mappings` below.
|
|
968
1089
|
"""
|
|
969
1090
|
return pulumi.get(self, "zone_mappings")
|
|
970
1091
|
|