pulumi-alicloud 3.62.0a1725945881__py3-none-any.whl → 3.62.1__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/actiontrail/trail.py +2 -2
- pulumi_alicloud/adb/cluster.py +34 -0
- pulumi_alicloud/adb/db_cluster.py +47 -0
- pulumi_alicloud/amqp/binding.py +30 -36
- pulumi_alicloud/amqp/static_account.py +12 -12
- pulumi_alicloud/cen/_inputs.py +180 -14
- pulumi_alicloud/cen/outputs.py +173 -12
- pulumi_alicloud/cen/traffic_marking_policy.py +116 -53
- pulumi_alicloud/cen/transit_router_peer_attachment.py +38 -20
- pulumi_alicloud/cen/transit_router_vpc_attachment.py +338 -119
- pulumi_alicloud/cen/transit_router_vpn_attachment.py +2 -2
- pulumi_alicloud/cr/chart_namespace.py +14 -6
- pulumi_alicloud/cr/endpoint_acl_policy.py +10 -2
- pulumi_alicloud/cr/namespace.py +10 -2
- pulumi_alicloud/cs/registry_enterprise_repo.py +4 -4
- pulumi_alicloud/cs/registry_enterprise_sync_rule.py +10 -10
- pulumi_alicloud/ddos/_inputs.py +24 -0
- pulumi_alicloud/ddos/bgp_ip.py +1 -1
- pulumi_alicloud/ddos/outputs.py +37 -0
- pulumi_alicloud/ddos/port.py +110 -40
- pulumi_alicloud/ecs/_inputs.py +28 -0
- pulumi_alicloud/ecs/outputs.py +20 -0
- pulumi_alicloud/emrv2/_inputs.py +20 -20
- pulumi_alicloud/emrv2/get_clusters.py +25 -4
- pulumi_alicloud/emrv2/outputs.py +24 -24
- pulumi_alicloud/ens/_inputs.py +137 -2
- pulumi_alicloud/ens/instance.py +428 -184
- pulumi_alicloud/ens/load_balancer.py +74 -25
- pulumi_alicloud/ens/outputs.py +141 -2
- pulumi_alicloud/expressconnect/physical_connection.py +321 -185
- pulumi_alicloud/fc/__init__.py +3 -0
- pulumi_alicloud/fc/_inputs.py +320 -8
- pulumi_alicloud/fc/outputs.py +321 -8
- pulumi_alicloud/fc/trigger.py +22 -24
- pulumi_alicloud/fc/v3_layer_version.py +511 -0
- pulumi_alicloud/fc/v3_provision_config.py +676 -0
- pulumi_alicloud/fc/v3_vpc_binding.py +283 -0
- pulumi_alicloud/ga/endpoint_group.py +68 -14
- pulumi_alicloud/ga/get_endpoint_group_ip_address_cidr_blocks.py +18 -3
- pulumi_alicloud/gpdb/__init__.py +2 -0
- pulumi_alicloud/gpdb/account.py +172 -83
- pulumi_alicloud/gpdb/db_resource_group.py +54 -9
- pulumi_alicloud/gpdb/hadoop_data_source.py +1135 -0
- pulumi_alicloud/gpdb/jdbc_data_source.py +643 -0
- pulumi_alicloud/hbr/_inputs.py +14 -14
- pulumi_alicloud/hbr/outputs.py +14 -14
- pulumi_alicloud/hbr/policy.py +18 -18
- pulumi_alicloud/hbr/policy_binding.py +203 -62
- pulumi_alicloud/mongodb/instance.py +94 -0
- pulumi_alicloud/nlb/_inputs.py +120 -64
- pulumi_alicloud/nlb/get_listeners.py +32 -2
- pulumi_alicloud/nlb/get_server_group_server_attachments.py +8 -2
- pulumi_alicloud/nlb/listener.py +315 -245
- pulumi_alicloud/nlb/listener_additional_certificate_attachment.py +25 -25
- pulumi_alicloud/nlb/load_balancer.py +181 -212
- pulumi_alicloud/nlb/load_balancer_security_group_attachment.py +29 -39
- pulumi_alicloud/nlb/loadbalancer_common_bandwidth_package_attachment.py +22 -18
- pulumi_alicloud/nlb/outputs.py +122 -66
- pulumi_alicloud/nlb/security_policy.py +53 -25
- pulumi_alicloud/nlb/server_group.py +196 -133
- pulumi_alicloud/ocean/base_instance.py +498 -163
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/quotas/__init__.py +1 -0
- pulumi_alicloud/quotas/template_service.py +165 -0
- pulumi_alicloud/rds/rds_db_proxy.py +61 -0
- pulumi_alicloud/servicecatalog/__init__.py +4 -0
- pulumi_alicloud/servicecatalog/portfolio.py +31 -31
- pulumi_alicloud/servicecatalog/principal_portfolio_association.py +354 -0
- pulumi_alicloud/servicecatalog/product.py +383 -0
- pulumi_alicloud/servicecatalog/product_portfolio_association.py +222 -0
- pulumi_alicloud/servicecatalog/product_version.py +539 -0
- pulumi_alicloud/servicemesh/extension_provider.py +2 -2
- pulumi_alicloud/vpc/common_bandwith_package_attachment.py +2 -2
- pulumi_alicloud/vpc/get_route_tables.py +28 -5
- pulumi_alicloud/vpc/outputs.py +2 -2
- {pulumi_alicloud-3.62.0a1725945881.dist-info → pulumi_alicloud-3.62.1.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.62.0a1725945881.dist-info → pulumi_alicloud-3.62.1.dist-info}/RECORD +80 -70
- {pulumi_alicloud-3.62.0a1725945881.dist-info → pulumi_alicloud-3.62.1.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.62.0a1725945881.dist-info → pulumi_alicloud-3.62.1.dist-info}/top_level.txt +0 -0
|
@@ -8,6 +8,8 @@ import pulumi
|
|
|
8
8
|
import pulumi.runtime
|
|
9
9
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
10
10
|
from .. import _utilities
|
|
11
|
+
from . import outputs
|
|
12
|
+
from ._inputs import *
|
|
11
13
|
|
|
12
14
|
__all__ = ['LoadBalancerArgs', 'LoadBalancer']
|
|
13
15
|
|
|
@@ -19,21 +21,25 @@ class LoadBalancerArgs:
|
|
|
19
21
|
network_id: pulumi.Input[str],
|
|
20
22
|
payment_type: pulumi.Input[str],
|
|
21
23
|
vswitch_id: pulumi.Input[str],
|
|
24
|
+
backend_servers: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerBackendServerArgs']]]] = None,
|
|
22
25
|
load_balancer_name: Optional[pulumi.Input[str]] = None):
|
|
23
26
|
"""
|
|
24
27
|
The set of arguments for constructing a LoadBalancer resource.
|
|
25
28
|
:param pulumi.Input[str] ens_region_id: The ID of the ENS node.
|
|
26
|
-
:param pulumi.Input[str] load_balancer_spec: Specifications of the Server Load Balancer instance.
|
|
29
|
+
:param pulumi.Input[str] load_balancer_spec: Specifications of the Server Load Balancer instance. Optional values: elb.s1.small,elb.s3.medium,elb.s2.small,elb.s2.medium,elb.s3.small.
|
|
27
30
|
:param pulumi.Input[str] network_id: The network ID of the created edge load balancing (ELB) instance.
|
|
28
|
-
:param pulumi.Input[str] payment_type: Server Load Balancer Instance Payment Type.
|
|
31
|
+
:param pulumi.Input[str] payment_type: Server Load Balancer Instance Payment Type. Value:PayAsYouGo
|
|
29
32
|
:param pulumi.Input[str] vswitch_id: The ID of the vSwitch to which the VPC instance belongs.
|
|
30
|
-
:param pulumi.Input[
|
|
33
|
+
:param pulumi.Input[Sequence[pulumi.Input['LoadBalancerBackendServerArgs']]] backend_servers: The list of backend servers. See `backend_servers` below.
|
|
34
|
+
:param pulumi.Input[str] load_balancer_name: Name of the Server Load Balancer instance. The length is 1~80 English or Chinese characters. When this parameter is not specified, the system randomly assigns an instance name. Cannot start with http:// and https.
|
|
31
35
|
"""
|
|
32
36
|
pulumi.set(__self__, "ens_region_id", ens_region_id)
|
|
33
37
|
pulumi.set(__self__, "load_balancer_spec", load_balancer_spec)
|
|
34
38
|
pulumi.set(__self__, "network_id", network_id)
|
|
35
39
|
pulumi.set(__self__, "payment_type", payment_type)
|
|
36
40
|
pulumi.set(__self__, "vswitch_id", vswitch_id)
|
|
41
|
+
if backend_servers is not None:
|
|
42
|
+
pulumi.set(__self__, "backend_servers", backend_servers)
|
|
37
43
|
if load_balancer_name is not None:
|
|
38
44
|
pulumi.set(__self__, "load_balancer_name", load_balancer_name)
|
|
39
45
|
|
|
@@ -53,7 +59,7 @@ class LoadBalancerArgs:
|
|
|
53
59
|
@pulumi.getter(name="loadBalancerSpec")
|
|
54
60
|
def load_balancer_spec(self) -> pulumi.Input[str]:
|
|
55
61
|
"""
|
|
56
|
-
Specifications of the Server Load Balancer instance.
|
|
62
|
+
Specifications of the Server Load Balancer instance. Optional values: elb.s1.small,elb.s3.medium,elb.s2.small,elb.s2.medium,elb.s3.small.
|
|
57
63
|
"""
|
|
58
64
|
return pulumi.get(self, "load_balancer_spec")
|
|
59
65
|
|
|
@@ -77,7 +83,7 @@ class LoadBalancerArgs:
|
|
|
77
83
|
@pulumi.getter(name="paymentType")
|
|
78
84
|
def payment_type(self) -> pulumi.Input[str]:
|
|
79
85
|
"""
|
|
80
|
-
Server Load Balancer Instance Payment Type.
|
|
86
|
+
Server Load Balancer Instance Payment Type. Value:PayAsYouGo
|
|
81
87
|
"""
|
|
82
88
|
return pulumi.get(self, "payment_type")
|
|
83
89
|
|
|
@@ -97,11 +103,23 @@ class LoadBalancerArgs:
|
|
|
97
103
|
def vswitch_id(self, value: pulumi.Input[str]):
|
|
98
104
|
pulumi.set(self, "vswitch_id", value)
|
|
99
105
|
|
|
106
|
+
@property
|
|
107
|
+
@pulumi.getter(name="backendServers")
|
|
108
|
+
def backend_servers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerBackendServerArgs']]]]:
|
|
109
|
+
"""
|
|
110
|
+
The list of backend servers. See `backend_servers` below.
|
|
111
|
+
"""
|
|
112
|
+
return pulumi.get(self, "backend_servers")
|
|
113
|
+
|
|
114
|
+
@backend_servers.setter
|
|
115
|
+
def backend_servers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerBackendServerArgs']]]]):
|
|
116
|
+
pulumi.set(self, "backend_servers", value)
|
|
117
|
+
|
|
100
118
|
@property
|
|
101
119
|
@pulumi.getter(name="loadBalancerName")
|
|
102
120
|
def load_balancer_name(self) -> Optional[pulumi.Input[str]]:
|
|
103
121
|
"""
|
|
104
|
-
Name of the Server Load Balancer
|
|
122
|
+
Name of the Server Load Balancer instance. The length is 1~80 English or Chinese characters. When this parameter is not specified, the system randomly assigns an instance name. Cannot start with http:// and https.
|
|
105
123
|
"""
|
|
106
124
|
return pulumi.get(self, "load_balancer_name")
|
|
107
125
|
|
|
@@ -113,6 +131,7 @@ class LoadBalancerArgs:
|
|
|
113
131
|
@pulumi.input_type
|
|
114
132
|
class _LoadBalancerState:
|
|
115
133
|
def __init__(__self__, *,
|
|
134
|
+
backend_servers: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerBackendServerArgs']]]] = None,
|
|
116
135
|
create_time: Optional[pulumi.Input[str]] = None,
|
|
117
136
|
ens_region_id: Optional[pulumi.Input[str]] = None,
|
|
118
137
|
load_balancer_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -123,15 +142,18 @@ class _LoadBalancerState:
|
|
|
123
142
|
vswitch_id: Optional[pulumi.Input[str]] = None):
|
|
124
143
|
"""
|
|
125
144
|
Input properties used for looking up and filtering LoadBalancer resources.
|
|
145
|
+
:param pulumi.Input[Sequence[pulumi.Input['LoadBalancerBackendServerArgs']]] backend_servers: The list of backend servers. See `backend_servers` below.
|
|
126
146
|
:param pulumi.Input[str] create_time: The creation Time (UTC) of the load balancing instance.
|
|
127
147
|
:param pulumi.Input[str] ens_region_id: The ID of the ENS node.
|
|
128
|
-
:param pulumi.Input[str] load_balancer_name: Name of the Server Load Balancer
|
|
129
|
-
:param pulumi.Input[str] load_balancer_spec: Specifications of the Server Load Balancer instance.
|
|
148
|
+
:param pulumi.Input[str] load_balancer_name: Name of the Server Load Balancer instance. The length is 1~80 English or Chinese characters. When this parameter is not specified, the system randomly assigns an instance name. Cannot start with http:// and https.
|
|
149
|
+
:param pulumi.Input[str] load_balancer_spec: Specifications of the Server Load Balancer instance. Optional values: elb.s1.small,elb.s3.medium,elb.s2.small,elb.s2.medium,elb.s3.small.
|
|
130
150
|
:param pulumi.Input[str] network_id: The network ID of the created edge load balancing (ELB) instance.
|
|
131
|
-
:param pulumi.Input[str] payment_type: Server Load Balancer Instance Payment Type.
|
|
151
|
+
:param pulumi.Input[str] payment_type: Server Load Balancer Instance Payment Type. Value:PayAsYouGo
|
|
132
152
|
:param pulumi.Input[str] status: The status of the SLB instance.
|
|
133
153
|
:param pulumi.Input[str] vswitch_id: The ID of the vSwitch to which the VPC instance belongs.
|
|
134
154
|
"""
|
|
155
|
+
if backend_servers is not None:
|
|
156
|
+
pulumi.set(__self__, "backend_servers", backend_servers)
|
|
135
157
|
if create_time is not None:
|
|
136
158
|
pulumi.set(__self__, "create_time", create_time)
|
|
137
159
|
if ens_region_id is not None:
|
|
@@ -149,6 +171,18 @@ class _LoadBalancerState:
|
|
|
149
171
|
if vswitch_id is not None:
|
|
150
172
|
pulumi.set(__self__, "vswitch_id", vswitch_id)
|
|
151
173
|
|
|
174
|
+
@property
|
|
175
|
+
@pulumi.getter(name="backendServers")
|
|
176
|
+
def backend_servers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerBackendServerArgs']]]]:
|
|
177
|
+
"""
|
|
178
|
+
The list of backend servers. See `backend_servers` below.
|
|
179
|
+
"""
|
|
180
|
+
return pulumi.get(self, "backend_servers")
|
|
181
|
+
|
|
182
|
+
@backend_servers.setter
|
|
183
|
+
def backend_servers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerBackendServerArgs']]]]):
|
|
184
|
+
pulumi.set(self, "backend_servers", value)
|
|
185
|
+
|
|
152
186
|
@property
|
|
153
187
|
@pulumi.getter(name="createTime")
|
|
154
188
|
def create_time(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -177,7 +211,7 @@ class _LoadBalancerState:
|
|
|
177
211
|
@pulumi.getter(name="loadBalancerName")
|
|
178
212
|
def load_balancer_name(self) -> Optional[pulumi.Input[str]]:
|
|
179
213
|
"""
|
|
180
|
-
Name of the Server Load Balancer
|
|
214
|
+
Name of the Server Load Balancer instance. The length is 1~80 English or Chinese characters. When this parameter is not specified, the system randomly assigns an instance name. Cannot start with http:// and https.
|
|
181
215
|
"""
|
|
182
216
|
return pulumi.get(self, "load_balancer_name")
|
|
183
217
|
|
|
@@ -189,7 +223,7 @@ class _LoadBalancerState:
|
|
|
189
223
|
@pulumi.getter(name="loadBalancerSpec")
|
|
190
224
|
def load_balancer_spec(self) -> Optional[pulumi.Input[str]]:
|
|
191
225
|
"""
|
|
192
|
-
Specifications of the Server Load Balancer instance.
|
|
226
|
+
Specifications of the Server Load Balancer instance. Optional values: elb.s1.small,elb.s3.medium,elb.s2.small,elb.s2.medium,elb.s3.small.
|
|
193
227
|
"""
|
|
194
228
|
return pulumi.get(self, "load_balancer_spec")
|
|
195
229
|
|
|
@@ -213,7 +247,7 @@ class _LoadBalancerState:
|
|
|
213
247
|
@pulumi.getter(name="paymentType")
|
|
214
248
|
def payment_type(self) -> Optional[pulumi.Input[str]]:
|
|
215
249
|
"""
|
|
216
|
-
Server Load Balancer Instance Payment Type.
|
|
250
|
+
Server Load Balancer Instance Payment Type. Value:PayAsYouGo
|
|
217
251
|
"""
|
|
218
252
|
return pulumi.get(self, "payment_type")
|
|
219
253
|
|
|
@@ -251,6 +285,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
251
285
|
def __init__(__self__,
|
|
252
286
|
resource_name: str,
|
|
253
287
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
288
|
+
backend_servers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['LoadBalancerBackendServerArgs', 'LoadBalancerBackendServerArgsDict']]]]] = None,
|
|
254
289
|
ens_region_id: Optional[pulumi.Input[str]] = None,
|
|
255
290
|
load_balancer_name: Optional[pulumi.Input[str]] = None,
|
|
256
291
|
load_balancer_spec: Optional[pulumi.Input[str]] = None,
|
|
@@ -259,7 +294,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
259
294
|
vswitch_id: Optional[pulumi.Input[str]] = None,
|
|
260
295
|
__props__=None):
|
|
261
296
|
"""
|
|
262
|
-
Provides a
|
|
297
|
+
Provides a Ens Load Balancer resource.
|
|
263
298
|
|
|
264
299
|
For information about ENS Load Balancer and how to use it, see [What is Load Balancer](https://www.alibabacloud.com/help/en/ens/developer-reference/api-createloadbalancer).
|
|
265
300
|
|
|
@@ -299,7 +334,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
299
334
|
|
|
300
335
|
## Import
|
|
301
336
|
|
|
302
|
-
|
|
337
|
+
Ens Load Balancer can be imported using the id, e.g.
|
|
303
338
|
|
|
304
339
|
```sh
|
|
305
340
|
$ pulumi import alicloud:ens/loadBalancer:LoadBalancer example <id>
|
|
@@ -307,11 +342,12 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
307
342
|
|
|
308
343
|
:param str resource_name: The name of the resource.
|
|
309
344
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
345
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['LoadBalancerBackendServerArgs', 'LoadBalancerBackendServerArgsDict']]]] backend_servers: The list of backend servers. See `backend_servers` below.
|
|
310
346
|
:param pulumi.Input[str] ens_region_id: The ID of the ENS node.
|
|
311
|
-
:param pulumi.Input[str] load_balancer_name: Name of the Server Load Balancer
|
|
312
|
-
:param pulumi.Input[str] load_balancer_spec: Specifications of the Server Load Balancer instance.
|
|
347
|
+
:param pulumi.Input[str] load_balancer_name: Name of the Server Load Balancer instance. The length is 1~80 English or Chinese characters. When this parameter is not specified, the system randomly assigns an instance name. Cannot start with http:// and https.
|
|
348
|
+
:param pulumi.Input[str] load_balancer_spec: Specifications of the Server Load Balancer instance. Optional values: elb.s1.small,elb.s3.medium,elb.s2.small,elb.s2.medium,elb.s3.small.
|
|
313
349
|
:param pulumi.Input[str] network_id: The network ID of the created edge load balancing (ELB) instance.
|
|
314
|
-
:param pulumi.Input[str] payment_type: Server Load Balancer Instance Payment Type.
|
|
350
|
+
:param pulumi.Input[str] payment_type: Server Load Balancer Instance Payment Type. Value:PayAsYouGo
|
|
315
351
|
:param pulumi.Input[str] vswitch_id: The ID of the vSwitch to which the VPC instance belongs.
|
|
316
352
|
"""
|
|
317
353
|
...
|
|
@@ -321,7 +357,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
321
357
|
args: LoadBalancerArgs,
|
|
322
358
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
323
359
|
"""
|
|
324
|
-
Provides a
|
|
360
|
+
Provides a Ens Load Balancer resource.
|
|
325
361
|
|
|
326
362
|
For information about ENS Load Balancer and how to use it, see [What is Load Balancer](https://www.alibabacloud.com/help/en/ens/developer-reference/api-createloadbalancer).
|
|
327
363
|
|
|
@@ -361,7 +397,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
361
397
|
|
|
362
398
|
## Import
|
|
363
399
|
|
|
364
|
-
|
|
400
|
+
Ens Load Balancer can be imported using the id, e.g.
|
|
365
401
|
|
|
366
402
|
```sh
|
|
367
403
|
$ pulumi import alicloud:ens/loadBalancer:LoadBalancer example <id>
|
|
@@ -382,6 +418,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
382
418
|
def _internal_init(__self__,
|
|
383
419
|
resource_name: str,
|
|
384
420
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
421
|
+
backend_servers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['LoadBalancerBackendServerArgs', 'LoadBalancerBackendServerArgsDict']]]]] = None,
|
|
385
422
|
ens_region_id: Optional[pulumi.Input[str]] = None,
|
|
386
423
|
load_balancer_name: Optional[pulumi.Input[str]] = None,
|
|
387
424
|
load_balancer_spec: Optional[pulumi.Input[str]] = None,
|
|
@@ -397,6 +434,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
397
434
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
398
435
|
__props__ = LoadBalancerArgs.__new__(LoadBalancerArgs)
|
|
399
436
|
|
|
437
|
+
__props__.__dict__["backend_servers"] = backend_servers
|
|
400
438
|
if ens_region_id is None and not opts.urn:
|
|
401
439
|
raise TypeError("Missing required property 'ens_region_id'")
|
|
402
440
|
__props__.__dict__["ens_region_id"] = ens_region_id
|
|
@@ -425,6 +463,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
425
463
|
def get(resource_name: str,
|
|
426
464
|
id: pulumi.Input[str],
|
|
427
465
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
466
|
+
backend_servers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['LoadBalancerBackendServerArgs', 'LoadBalancerBackendServerArgsDict']]]]] = None,
|
|
428
467
|
create_time: Optional[pulumi.Input[str]] = None,
|
|
429
468
|
ens_region_id: Optional[pulumi.Input[str]] = None,
|
|
430
469
|
load_balancer_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -440,12 +479,13 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
440
479
|
:param str resource_name: The unique name of the resulting resource.
|
|
441
480
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
442
481
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
482
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['LoadBalancerBackendServerArgs', 'LoadBalancerBackendServerArgsDict']]]] backend_servers: The list of backend servers. See `backend_servers` below.
|
|
443
483
|
:param pulumi.Input[str] create_time: The creation Time (UTC) of the load balancing instance.
|
|
444
484
|
:param pulumi.Input[str] ens_region_id: The ID of the ENS node.
|
|
445
|
-
:param pulumi.Input[str] load_balancer_name: Name of the Server Load Balancer
|
|
446
|
-
:param pulumi.Input[str] load_balancer_spec: Specifications of the Server Load Balancer instance.
|
|
485
|
+
:param pulumi.Input[str] load_balancer_name: Name of the Server Load Balancer instance. The length is 1~80 English or Chinese characters. When this parameter is not specified, the system randomly assigns an instance name. Cannot start with http:// and https.
|
|
486
|
+
:param pulumi.Input[str] load_balancer_spec: Specifications of the Server Load Balancer instance. Optional values: elb.s1.small,elb.s3.medium,elb.s2.small,elb.s2.medium,elb.s3.small.
|
|
447
487
|
:param pulumi.Input[str] network_id: The network ID of the created edge load balancing (ELB) instance.
|
|
448
|
-
:param pulumi.Input[str] payment_type: Server Load Balancer Instance Payment Type.
|
|
488
|
+
:param pulumi.Input[str] payment_type: Server Load Balancer Instance Payment Type. Value:PayAsYouGo
|
|
449
489
|
:param pulumi.Input[str] status: The status of the SLB instance.
|
|
450
490
|
:param pulumi.Input[str] vswitch_id: The ID of the vSwitch to which the VPC instance belongs.
|
|
451
491
|
"""
|
|
@@ -453,6 +493,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
453
493
|
|
|
454
494
|
__props__ = _LoadBalancerState.__new__(_LoadBalancerState)
|
|
455
495
|
|
|
496
|
+
__props__.__dict__["backend_servers"] = backend_servers
|
|
456
497
|
__props__.__dict__["create_time"] = create_time
|
|
457
498
|
__props__.__dict__["ens_region_id"] = ens_region_id
|
|
458
499
|
__props__.__dict__["load_balancer_name"] = load_balancer_name
|
|
@@ -463,6 +504,14 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
463
504
|
__props__.__dict__["vswitch_id"] = vswitch_id
|
|
464
505
|
return LoadBalancer(resource_name, opts=opts, __props__=__props__)
|
|
465
506
|
|
|
507
|
+
@property
|
|
508
|
+
@pulumi.getter(name="backendServers")
|
|
509
|
+
def backend_servers(self) -> pulumi.Output[Optional[Sequence['outputs.LoadBalancerBackendServer']]]:
|
|
510
|
+
"""
|
|
511
|
+
The list of backend servers. See `backend_servers` below.
|
|
512
|
+
"""
|
|
513
|
+
return pulumi.get(self, "backend_servers")
|
|
514
|
+
|
|
466
515
|
@property
|
|
467
516
|
@pulumi.getter(name="createTime")
|
|
468
517
|
def create_time(self) -> pulumi.Output[str]:
|
|
@@ -483,7 +532,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
483
532
|
@pulumi.getter(name="loadBalancerName")
|
|
484
533
|
def load_balancer_name(self) -> pulumi.Output[Optional[str]]:
|
|
485
534
|
"""
|
|
486
|
-
Name of the Server Load Balancer
|
|
535
|
+
Name of the Server Load Balancer instance. The length is 1~80 English or Chinese characters. When this parameter is not specified, the system randomly assigns an instance name. Cannot start with http:// and https.
|
|
487
536
|
"""
|
|
488
537
|
return pulumi.get(self, "load_balancer_name")
|
|
489
538
|
|
|
@@ -491,7 +540,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
491
540
|
@pulumi.getter(name="loadBalancerSpec")
|
|
492
541
|
def load_balancer_spec(self) -> pulumi.Output[str]:
|
|
493
542
|
"""
|
|
494
|
-
Specifications of the Server Load Balancer instance.
|
|
543
|
+
Specifications of the Server Load Balancer instance. Optional values: elb.s1.small,elb.s3.medium,elb.s2.small,elb.s2.medium,elb.s3.small.
|
|
495
544
|
"""
|
|
496
545
|
return pulumi.get(self, "load_balancer_spec")
|
|
497
546
|
|
|
@@ -507,7 +556,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
507
556
|
@pulumi.getter(name="paymentType")
|
|
508
557
|
def payment_type(self) -> pulumi.Output[str]:
|
|
509
558
|
"""
|
|
510
|
-
Server Load Balancer Instance Payment Type.
|
|
559
|
+
Server Load Balancer Instance Payment Type. Value:PayAsYouGo
|
|
511
560
|
"""
|
|
512
561
|
return pulumi.get(self, "payment_type")
|
|
513
562
|
|
pulumi_alicloud/ens/outputs.py
CHANGED
|
@@ -12,13 +12,36 @@ from .. import _utilities
|
|
|
12
12
|
__all__ = [
|
|
13
13
|
'InstanceDataDisk',
|
|
14
14
|
'InstanceSystemDisk',
|
|
15
|
+
'LoadBalancerBackendServer',
|
|
15
16
|
'GetKeyPairsPairResult',
|
|
16
17
|
]
|
|
17
18
|
|
|
18
19
|
@pulumi.output_type
|
|
19
20
|
class InstanceDataDisk(dict):
|
|
21
|
+
@staticmethod
|
|
22
|
+
def __key_warning(key: str):
|
|
23
|
+
suggest = None
|
|
24
|
+
if key == "diskId":
|
|
25
|
+
suggest = "disk_id"
|
|
26
|
+
elif key == "encryptKeyId":
|
|
27
|
+
suggest = "encrypt_key_id"
|
|
28
|
+
|
|
29
|
+
if suggest:
|
|
30
|
+
pulumi.log.warn(f"Key '{key}' not found in InstanceDataDisk. Access the value via the '{suggest}' property getter instead.")
|
|
31
|
+
|
|
32
|
+
def __getitem__(self, key: str) -> Any:
|
|
33
|
+
InstanceDataDisk.__key_warning(key)
|
|
34
|
+
return super().__getitem__(key)
|
|
35
|
+
|
|
36
|
+
def get(self, key: str, default = None) -> Any:
|
|
37
|
+
InstanceDataDisk.__key_warning(key)
|
|
38
|
+
return super().get(key, default)
|
|
39
|
+
|
|
20
40
|
def __init__(__self__, *,
|
|
21
41
|
category: Optional[str] = None,
|
|
42
|
+
disk_id: Optional[str] = None,
|
|
43
|
+
encrypt_key_id: Optional[str] = None,
|
|
44
|
+
encrypted: Optional[bool] = None,
|
|
22
45
|
size: Optional[int] = None):
|
|
23
46
|
"""
|
|
24
47
|
:param str category: Data disk type. Optional values:
|
|
@@ -26,10 +49,19 @@ class InstanceDataDisk(dict):
|
|
|
26
49
|
- cloud_ssd: Full Flash cloud disk
|
|
27
50
|
- local_hdd: local hdd disk
|
|
28
51
|
- local_ssd: local disk ssd.
|
|
52
|
+
:param str disk_id: Cloud Disk ID.
|
|
53
|
+
:param str encrypt_key_id: The ID of the KMS key used by the cloud disk.
|
|
54
|
+
:param bool encrypted: Whether to encrypt the cloud disk. Value range: true: Yes false (default): No.
|
|
29
55
|
:param int size: Data disk size, unit: GB.
|
|
30
56
|
"""
|
|
31
57
|
if category is not None:
|
|
32
58
|
pulumi.set(__self__, "category", category)
|
|
59
|
+
if disk_id is not None:
|
|
60
|
+
pulumi.set(__self__, "disk_id", disk_id)
|
|
61
|
+
if encrypt_key_id is not None:
|
|
62
|
+
pulumi.set(__self__, "encrypt_key_id", encrypt_key_id)
|
|
63
|
+
if encrypted is not None:
|
|
64
|
+
pulumi.set(__self__, "encrypted", encrypted)
|
|
33
65
|
if size is not None:
|
|
34
66
|
pulumi.set(__self__, "size", size)
|
|
35
67
|
|
|
@@ -45,6 +77,30 @@ class InstanceDataDisk(dict):
|
|
|
45
77
|
"""
|
|
46
78
|
return pulumi.get(self, "category")
|
|
47
79
|
|
|
80
|
+
@property
|
|
81
|
+
@pulumi.getter(name="diskId")
|
|
82
|
+
def disk_id(self) -> Optional[str]:
|
|
83
|
+
"""
|
|
84
|
+
Cloud Disk ID.
|
|
85
|
+
"""
|
|
86
|
+
return pulumi.get(self, "disk_id")
|
|
87
|
+
|
|
88
|
+
@property
|
|
89
|
+
@pulumi.getter(name="encryptKeyId")
|
|
90
|
+
def encrypt_key_id(self) -> Optional[str]:
|
|
91
|
+
"""
|
|
92
|
+
The ID of the KMS key used by the cloud disk.
|
|
93
|
+
"""
|
|
94
|
+
return pulumi.get(self, "encrypt_key_id")
|
|
95
|
+
|
|
96
|
+
@property
|
|
97
|
+
@pulumi.getter
|
|
98
|
+
def encrypted(self) -> Optional[bool]:
|
|
99
|
+
"""
|
|
100
|
+
Whether to encrypt the cloud disk. Value range: true: Yes false (default): No.
|
|
101
|
+
"""
|
|
102
|
+
return pulumi.get(self, "encrypted")
|
|
103
|
+
|
|
48
104
|
@property
|
|
49
105
|
@pulumi.getter
|
|
50
106
|
def size(self) -> Optional[int]:
|
|
@@ -60,7 +116,7 @@ class InstanceSystemDisk(dict):
|
|
|
60
116
|
category: Optional[str] = None,
|
|
61
117
|
size: Optional[int] = None):
|
|
62
118
|
"""
|
|
63
|
-
:param str category: System disk type.
|
|
119
|
+
:param str category: System disk type. Value
|
|
64
120
|
- cloud_efficiency: Ultra cloud disk
|
|
65
121
|
- cloud_ssd: Full Flash cloud disk
|
|
66
122
|
- local_hdd: local hdd disk
|
|
@@ -76,7 +132,7 @@ class InstanceSystemDisk(dict):
|
|
|
76
132
|
@pulumi.getter
|
|
77
133
|
def category(self) -> Optional[str]:
|
|
78
134
|
"""
|
|
79
|
-
System disk type.
|
|
135
|
+
System disk type. Value
|
|
80
136
|
- cloud_efficiency: Ultra cloud disk
|
|
81
137
|
- cloud_ssd: Full Flash cloud disk
|
|
82
138
|
- local_hdd: local hdd disk
|
|
@@ -93,6 +149,89 @@ class InstanceSystemDisk(dict):
|
|
|
93
149
|
return pulumi.get(self, "size")
|
|
94
150
|
|
|
95
151
|
|
|
152
|
+
@pulumi.output_type
|
|
153
|
+
class LoadBalancerBackendServer(dict):
|
|
154
|
+
@staticmethod
|
|
155
|
+
def __key_warning(key: str):
|
|
156
|
+
suggest = None
|
|
157
|
+
if key == "serverId":
|
|
158
|
+
suggest = "server_id"
|
|
159
|
+
|
|
160
|
+
if suggest:
|
|
161
|
+
pulumi.log.warn(f"Key '{key}' not found in LoadBalancerBackendServer. Access the value via the '{suggest}' property getter instead.")
|
|
162
|
+
|
|
163
|
+
def __getitem__(self, key: str) -> Any:
|
|
164
|
+
LoadBalancerBackendServer.__key_warning(key)
|
|
165
|
+
return super().__getitem__(key)
|
|
166
|
+
|
|
167
|
+
def get(self, key: str, default = None) -> Any:
|
|
168
|
+
LoadBalancerBackendServer.__key_warning(key)
|
|
169
|
+
return super().get(key, default)
|
|
170
|
+
|
|
171
|
+
def __init__(__self__, *,
|
|
172
|
+
server_id: str,
|
|
173
|
+
ip: Optional[str] = None,
|
|
174
|
+
port: Optional[int] = None,
|
|
175
|
+
type: Optional[str] = None,
|
|
176
|
+
weight: Optional[int] = None):
|
|
177
|
+
"""
|
|
178
|
+
:param str server_id: Backend server instance ID Example value: i-5vb5h5njxiuhn48a * * * *.
|
|
179
|
+
:param str ip: IP address of the backend server Example value: 192.168.0.5.
|
|
180
|
+
:param int port: Port used by the backend server.
|
|
181
|
+
:param str type: Backend server type Example value: ens.
|
|
182
|
+
:param int weight: Weight of the backend server Example value: 100.
|
|
183
|
+
"""
|
|
184
|
+
pulumi.set(__self__, "server_id", server_id)
|
|
185
|
+
if ip is not None:
|
|
186
|
+
pulumi.set(__self__, "ip", ip)
|
|
187
|
+
if port is not None:
|
|
188
|
+
pulumi.set(__self__, "port", port)
|
|
189
|
+
if type is not None:
|
|
190
|
+
pulumi.set(__self__, "type", type)
|
|
191
|
+
if weight is not None:
|
|
192
|
+
pulumi.set(__self__, "weight", weight)
|
|
193
|
+
|
|
194
|
+
@property
|
|
195
|
+
@pulumi.getter(name="serverId")
|
|
196
|
+
def server_id(self) -> str:
|
|
197
|
+
"""
|
|
198
|
+
Backend server instance ID Example value: i-5vb5h5njxiuhn48a * * * *.
|
|
199
|
+
"""
|
|
200
|
+
return pulumi.get(self, "server_id")
|
|
201
|
+
|
|
202
|
+
@property
|
|
203
|
+
@pulumi.getter
|
|
204
|
+
def ip(self) -> Optional[str]:
|
|
205
|
+
"""
|
|
206
|
+
IP address of the backend server Example value: 192.168.0.5.
|
|
207
|
+
"""
|
|
208
|
+
return pulumi.get(self, "ip")
|
|
209
|
+
|
|
210
|
+
@property
|
|
211
|
+
@pulumi.getter
|
|
212
|
+
def port(self) -> Optional[int]:
|
|
213
|
+
"""
|
|
214
|
+
Port used by the backend server.
|
|
215
|
+
"""
|
|
216
|
+
return pulumi.get(self, "port")
|
|
217
|
+
|
|
218
|
+
@property
|
|
219
|
+
@pulumi.getter
|
|
220
|
+
def type(self) -> Optional[str]:
|
|
221
|
+
"""
|
|
222
|
+
Backend server type Example value: ens.
|
|
223
|
+
"""
|
|
224
|
+
return pulumi.get(self, "type")
|
|
225
|
+
|
|
226
|
+
@property
|
|
227
|
+
@pulumi.getter
|
|
228
|
+
def weight(self) -> Optional[int]:
|
|
229
|
+
"""
|
|
230
|
+
Weight of the backend server Example value: 100.
|
|
231
|
+
"""
|
|
232
|
+
return pulumi.get(self, "weight")
|
|
233
|
+
|
|
234
|
+
|
|
96
235
|
@pulumi.output_type
|
|
97
236
|
class GetKeyPairsPairResult(dict):
|
|
98
237
|
def __init__(__self__, *,
|