pulumi-alicloud 3.62.0__py3-none-any.whl → 3.62.0a1724476801__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 +0 -80
- pulumi_alicloud/actiontrail/trail.py +2 -2
- pulumi_alicloud/adb/cluster.py +0 -34
- pulumi_alicloud/adb/db_cluster.py +0 -47
- pulumi_alicloud/amqp/static_account.py +12 -12
- pulumi_alicloud/brain/get_industrial_pid_loops.py +2 -18
- pulumi_alicloud/brain/get_industrial_pid_organizations.py +2 -12
- pulumi_alicloud/brain/get_industrial_pid_projects.py +2 -18
- pulumi_alicloud/brain/get_industrial_serice.py +2 -6
- pulumi_alicloud/brain/industrial_pid_loop.py +2 -6
- pulumi_alicloud/brain/industrial_pid_organization.py +4 -4
- pulumi_alicloud/brain/industrial_pid_project.py +4 -4
- pulumi_alicloud/cas/certificate.py +13 -155
- pulumi_alicloud/cas/service_certificate.py +30 -9
- pulumi_alicloud/cdn/real_time_log_delivery.py +2 -2
- pulumi_alicloud/cen/get_transit_router_route_tables.py +14 -81
- pulumi_alicloud/cen/outputs.py +2 -6
- pulumi_alicloud/cen/transit_router_peer_attachment.py +20 -38
- pulumi_alicloud/cen/transit_router_vpn_attachment.py +2 -2
- pulumi_alicloud/cfg/remediation.py +2 -6
- pulumi_alicloud/clickhouse/account.py +2 -2
- pulumi_alicloud/clickhouse/backup_policy.py +2 -2
- pulumi_alicloud/cloudfirewall/instance.py +0 -2
- pulumi_alicloud/cs/_inputs.py +21 -141
- pulumi_alicloud/cs/kubernetes.py +7 -7
- pulumi_alicloud/cs/kubernetes_addon.py +8 -4
- pulumi_alicloud/cs/managed_kubernetes.py +45 -506
- pulumi_alicloud/cs/outputs.py +21 -148
- pulumi_alicloud/cs/registry_enterprise_namespace.py +72 -92
- pulumi_alicloud/cs/registry_enterprise_repo.py +74 -96
- pulumi_alicloud/cs/registry_enterprise_sync_rule.py +101 -105
- pulumi_alicloud/cs/serverless_kubernetes.py +206 -174
- pulumi_alicloud/databasefilesystem/instance.py +2 -2
- pulumi_alicloud/ddos/_inputs.py +0 -24
- pulumi_alicloud/ddos/outputs.py +0 -37
- pulumi_alicloud/ddos/port.py +40 -110
- pulumi_alicloud/dts/consumer_channel.py +2 -2
- pulumi_alicloud/dts/subscription_job.py +2 -2
- pulumi_alicloud/ecs/auto_provisioning_group.py +2 -2
- pulumi_alicloud/ehpc/get_clusters.py +2 -11
- pulumi_alicloud/ehpc/get_job_templates.py +2 -5
- pulumi_alicloud/ehpc/job_template.py +2 -2
- pulumi_alicloud/ehpc/outputs.py +2 -34
- pulumi_alicloud/emrv2/_inputs.py +8 -8
- pulumi_alicloud/emrv2/get_clusters.py +4 -25
- pulumi_alicloud/emrv2/outputs.py +12 -12
- pulumi_alicloud/ens/_inputs.py +0 -87
- pulumi_alicloud/ens/load_balancer.py +25 -74
- pulumi_alicloud/ens/outputs.py +0 -84
- pulumi_alicloud/fc/__init__.py +0 -3
- pulumi_alicloud/fc/_inputs.py +8 -320
- pulumi_alicloud/fc/function.py +6 -6
- pulumi_alicloud/fc/function_async_invoke_config.py +2 -2
- pulumi_alicloud/fc/outputs.py +8 -321
- pulumi_alicloud/fc/trigger.py +2 -2
- pulumi_alicloud/ga/get_endpoint_group_ip_address_cidr_blocks.py +3 -18
- pulumi_alicloud/gpdb/__init__.py +0 -2
- pulumi_alicloud/gpdb/account.py +87 -172
- pulumi_alicloud/gpdb/connection.py +4 -0
- pulumi_alicloud/gpdb/db_resource_group.py +9 -54
- 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 +62 -203
- pulumi_alicloud/log/alert.py +28 -30
- pulumi_alicloud/log/audit.py +0 -2
- pulumi_alicloud/log/dashboard.py +8 -8
- pulumi_alicloud/log/etl.py +26 -26
- pulumi_alicloud/log/ingestion.py +10 -10
- pulumi_alicloud/log/log_tail_attachment.py +14 -14
- pulumi_alicloud/log/log_tail_config.py +10 -10
- pulumi_alicloud/log/machine_group.py +4 -4
- pulumi_alicloud/log/oss_export.py +10 -10
- pulumi_alicloud/log/project.py +4 -4
- pulumi_alicloud/log/store_index.py +10 -10
- pulumi_alicloud/nlb/server_group.py +2 -2
- pulumi_alicloud/oos/service_setting.py +8 -10
- pulumi_alicloud/oss/bucket.py +10 -18
- pulumi_alicloud/oss/bucket_object.py +8 -12
- pulumi_alicloud/oss/bucket_replication.py +2 -2
- pulumi_alicloud/polardb/cluster.py +21 -75
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/pvtz/zone_record.py +2 -2
- pulumi_alicloud/quotas/__init__.py +0 -1
- pulumi_alicloud/ram/access_key.py +0 -4
- pulumi_alicloud/rds/account_privilege.py +2 -2
- pulumi_alicloud/rds/backup_policy.py +12 -270
- pulumi_alicloud/rds/database.py +7 -49
- pulumi_alicloud/rds/get_instance_class_infos.py +0 -20
- pulumi_alicloud/rds/get_instance_classes.py +0 -22
- pulumi_alicloud/rds/get_instance_engines.py +0 -22
- pulumi_alicloud/rds/instance.py +2 -4
- pulumi_alicloud/rds/rds_db_proxy.py +0 -61
- pulumi_alicloud/rocketmq/group.py +2 -2
- pulumi_alicloud/rocketmq/topic.py +2 -2
- pulumi_alicloud/servicecatalog/__init__.py +0 -4
- pulumi_alicloud/servicecatalog/portfolio.py +31 -31
- pulumi_alicloud/sls/alert.py +6 -6
- pulumi_alicloud/sls/scheduled_sql.py +10 -10
- pulumi_alicloud/vpc/get_route_tables.py +5 -28
- pulumi_alicloud/vpc/ha_vip_attachment.py +2 -2
- pulumi_alicloud/vpc/ipv6_internet_bandwidth.py +4 -4
- pulumi_alicloud/vpc/outputs.py +2 -2
- pulumi_alicloud/vpc/route_table_attachment.py +4 -4
- pulumi_alicloud/vpc/traffic_mirror_filter_ingress_rule.py +2 -2
- {pulumi_alicloud-3.62.0.dist-info → pulumi_alicloud-3.62.0a1724476801.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.62.0.dist-info → pulumi_alicloud-3.62.0a1724476801.dist-info}/RECORD +109 -119
- {pulumi_alicloud-3.62.0.dist-info → pulumi_alicloud-3.62.0a1724476801.dist-info}/WHEEL +1 -1
- pulumi_alicloud/fc/v3_layer_version.py +0 -511
- pulumi_alicloud/fc/v3_provision_config.py +0 -676
- pulumi_alicloud/fc/v3_vpc_binding.py +0 -283
- pulumi_alicloud/gpdb/hadoop_data_source.py +0 -1135
- pulumi_alicloud/gpdb/jdbc_data_source.py +0 -643
- pulumi_alicloud/quotas/template_service.py +0 -165
- pulumi_alicloud/servicecatalog/principal_portfolio_association.py +0 -354
- pulumi_alicloud/servicecatalog/product.py +0 -383
- pulumi_alicloud/servicecatalog/product_portfolio_association.py +0 -222
- pulumi_alicloud/servicecatalog/product_version.py +0 -539
- {pulumi_alicloud-3.62.0.dist-info → pulumi_alicloud-3.62.0a1724476801.dist-info}/top_level.txt +0 -0
|
@@ -8,8 +8,6 @@ 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 *
|
|
13
11
|
|
|
14
12
|
__all__ = ['LoadBalancerArgs', 'LoadBalancer']
|
|
15
13
|
|
|
@@ -21,25 +19,21 @@ class LoadBalancerArgs:
|
|
|
21
19
|
network_id: pulumi.Input[str],
|
|
22
20
|
payment_type: pulumi.Input[str],
|
|
23
21
|
vswitch_id: pulumi.Input[str],
|
|
24
|
-
backend_servers: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerBackendServerArgs']]]] = None,
|
|
25
22
|
load_balancer_name: Optional[pulumi.Input[str]] = None):
|
|
26
23
|
"""
|
|
27
24
|
The set of arguments for constructing a LoadBalancer resource.
|
|
28
25
|
:param pulumi.Input[str] ens_region_id: The ID of the ENS node.
|
|
29
|
-
:param pulumi.Input[str] load_balancer_spec: Specifications of the Server Load Balancer instance.
|
|
26
|
+
:param pulumi.Input[str] load_balancer_spec: Specifications of the Server Load Balancer instance. Valid values: elb.s1.small,elb.s3.medium,elb.s2.small,elb.s2.medium,elb.s3.small.
|
|
30
27
|
:param pulumi.Input[str] network_id: The network ID of the created edge load balancing (ELB) instance.
|
|
31
|
-
:param pulumi.Input[str] payment_type: Server Load Balancer Instance Payment Type.
|
|
28
|
+
:param pulumi.Input[str] payment_type: Server Load Balancer Instance Payment Type. Valid value: PayAsYouGo.
|
|
32
29
|
:param pulumi.Input[str] vswitch_id: The ID of the vSwitch to which the VPC instance belongs.
|
|
33
|
-
:param pulumi.Input[
|
|
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.
|
|
30
|
+
:param pulumi.Input[str] load_balancer_name: Name of the Server Load Balancer instanceRules:The length is 1~80 English or Chinese characters. When this parameter is not specified, the system randomly assigns an instance nameCannot start with `http://` and `https`.
|
|
35
31
|
"""
|
|
36
32
|
pulumi.set(__self__, "ens_region_id", ens_region_id)
|
|
37
33
|
pulumi.set(__self__, "load_balancer_spec", load_balancer_spec)
|
|
38
34
|
pulumi.set(__self__, "network_id", network_id)
|
|
39
35
|
pulumi.set(__self__, "payment_type", payment_type)
|
|
40
36
|
pulumi.set(__self__, "vswitch_id", vswitch_id)
|
|
41
|
-
if backend_servers is not None:
|
|
42
|
-
pulumi.set(__self__, "backend_servers", backend_servers)
|
|
43
37
|
if load_balancer_name is not None:
|
|
44
38
|
pulumi.set(__self__, "load_balancer_name", load_balancer_name)
|
|
45
39
|
|
|
@@ -59,7 +53,7 @@ class LoadBalancerArgs:
|
|
|
59
53
|
@pulumi.getter(name="loadBalancerSpec")
|
|
60
54
|
def load_balancer_spec(self) -> pulumi.Input[str]:
|
|
61
55
|
"""
|
|
62
|
-
Specifications of the Server Load Balancer instance.
|
|
56
|
+
Specifications of the Server Load Balancer instance. Valid values: elb.s1.small,elb.s3.medium,elb.s2.small,elb.s2.medium,elb.s3.small.
|
|
63
57
|
"""
|
|
64
58
|
return pulumi.get(self, "load_balancer_spec")
|
|
65
59
|
|
|
@@ -83,7 +77,7 @@ class LoadBalancerArgs:
|
|
|
83
77
|
@pulumi.getter(name="paymentType")
|
|
84
78
|
def payment_type(self) -> pulumi.Input[str]:
|
|
85
79
|
"""
|
|
86
|
-
Server Load Balancer Instance Payment Type.
|
|
80
|
+
Server Load Balancer Instance Payment Type. Valid value: PayAsYouGo.
|
|
87
81
|
"""
|
|
88
82
|
return pulumi.get(self, "payment_type")
|
|
89
83
|
|
|
@@ -103,23 +97,11 @@ class LoadBalancerArgs:
|
|
|
103
97
|
def vswitch_id(self, value: pulumi.Input[str]):
|
|
104
98
|
pulumi.set(self, "vswitch_id", value)
|
|
105
99
|
|
|
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
|
-
|
|
118
100
|
@property
|
|
119
101
|
@pulumi.getter(name="loadBalancerName")
|
|
120
102
|
def load_balancer_name(self) -> Optional[pulumi.Input[str]]:
|
|
121
103
|
"""
|
|
122
|
-
Name of the Server Load Balancer
|
|
104
|
+
Name of the Server Load Balancer instanceRules:The length is 1~80 English or Chinese characters. When this parameter is not specified, the system randomly assigns an instance nameCannot start with `http://` and `https`.
|
|
123
105
|
"""
|
|
124
106
|
return pulumi.get(self, "load_balancer_name")
|
|
125
107
|
|
|
@@ -131,7 +113,6 @@ class LoadBalancerArgs:
|
|
|
131
113
|
@pulumi.input_type
|
|
132
114
|
class _LoadBalancerState:
|
|
133
115
|
def __init__(__self__, *,
|
|
134
|
-
backend_servers: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerBackendServerArgs']]]] = None,
|
|
135
116
|
create_time: Optional[pulumi.Input[str]] = None,
|
|
136
117
|
ens_region_id: Optional[pulumi.Input[str]] = None,
|
|
137
118
|
load_balancer_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -142,18 +123,15 @@ class _LoadBalancerState:
|
|
|
142
123
|
vswitch_id: Optional[pulumi.Input[str]] = None):
|
|
143
124
|
"""
|
|
144
125
|
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.
|
|
146
126
|
:param pulumi.Input[str] create_time: The creation Time (UTC) of the load balancing instance.
|
|
147
127
|
:param pulumi.Input[str] ens_region_id: The ID of the ENS node.
|
|
148
|
-
:param pulumi.Input[str] load_balancer_name: Name of the Server Load Balancer
|
|
149
|
-
:param pulumi.Input[str] load_balancer_spec: Specifications of the Server Load Balancer instance.
|
|
128
|
+
:param pulumi.Input[str] load_balancer_name: Name of the Server Load Balancer instanceRules:The length is 1~80 English or Chinese characters. When this parameter is not specified, the system randomly assigns an instance nameCannot start with `http://` and `https`.
|
|
129
|
+
:param pulumi.Input[str] load_balancer_spec: Specifications of the Server Load Balancer instance. Valid values: elb.s1.small,elb.s3.medium,elb.s2.small,elb.s2.medium,elb.s3.small.
|
|
150
130
|
:param pulumi.Input[str] network_id: The network ID of the created edge load balancing (ELB) instance.
|
|
151
|
-
:param pulumi.Input[str] payment_type: Server Load Balancer Instance Payment Type.
|
|
131
|
+
:param pulumi.Input[str] payment_type: Server Load Balancer Instance Payment Type. Valid value: PayAsYouGo.
|
|
152
132
|
:param pulumi.Input[str] status: The status of the SLB instance.
|
|
153
133
|
:param pulumi.Input[str] vswitch_id: The ID of the vSwitch to which the VPC instance belongs.
|
|
154
134
|
"""
|
|
155
|
-
if backend_servers is not None:
|
|
156
|
-
pulumi.set(__self__, "backend_servers", backend_servers)
|
|
157
135
|
if create_time is not None:
|
|
158
136
|
pulumi.set(__self__, "create_time", create_time)
|
|
159
137
|
if ens_region_id is not None:
|
|
@@ -171,18 +149,6 @@ class _LoadBalancerState:
|
|
|
171
149
|
if vswitch_id is not None:
|
|
172
150
|
pulumi.set(__self__, "vswitch_id", vswitch_id)
|
|
173
151
|
|
|
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
|
-
|
|
186
152
|
@property
|
|
187
153
|
@pulumi.getter(name="createTime")
|
|
188
154
|
def create_time(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -211,7 +177,7 @@ class _LoadBalancerState:
|
|
|
211
177
|
@pulumi.getter(name="loadBalancerName")
|
|
212
178
|
def load_balancer_name(self) -> Optional[pulumi.Input[str]]:
|
|
213
179
|
"""
|
|
214
|
-
Name of the Server Load Balancer
|
|
180
|
+
Name of the Server Load Balancer instanceRules:The length is 1~80 English or Chinese characters. When this parameter is not specified, the system randomly assigns an instance nameCannot start with `http://` and `https`.
|
|
215
181
|
"""
|
|
216
182
|
return pulumi.get(self, "load_balancer_name")
|
|
217
183
|
|
|
@@ -223,7 +189,7 @@ class _LoadBalancerState:
|
|
|
223
189
|
@pulumi.getter(name="loadBalancerSpec")
|
|
224
190
|
def load_balancer_spec(self) -> Optional[pulumi.Input[str]]:
|
|
225
191
|
"""
|
|
226
|
-
Specifications of the Server Load Balancer instance.
|
|
192
|
+
Specifications of the Server Load Balancer instance. Valid values: elb.s1.small,elb.s3.medium,elb.s2.small,elb.s2.medium,elb.s3.small.
|
|
227
193
|
"""
|
|
228
194
|
return pulumi.get(self, "load_balancer_spec")
|
|
229
195
|
|
|
@@ -247,7 +213,7 @@ class _LoadBalancerState:
|
|
|
247
213
|
@pulumi.getter(name="paymentType")
|
|
248
214
|
def payment_type(self) -> Optional[pulumi.Input[str]]:
|
|
249
215
|
"""
|
|
250
|
-
Server Load Balancer Instance Payment Type.
|
|
216
|
+
Server Load Balancer Instance Payment Type. Valid value: PayAsYouGo.
|
|
251
217
|
"""
|
|
252
218
|
return pulumi.get(self, "payment_type")
|
|
253
219
|
|
|
@@ -285,7 +251,6 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
285
251
|
def __init__(__self__,
|
|
286
252
|
resource_name: str,
|
|
287
253
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
288
|
-
backend_servers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['LoadBalancerBackendServerArgs', 'LoadBalancerBackendServerArgsDict']]]]] = None,
|
|
289
254
|
ens_region_id: Optional[pulumi.Input[str]] = None,
|
|
290
255
|
load_balancer_name: Optional[pulumi.Input[str]] = None,
|
|
291
256
|
load_balancer_spec: Optional[pulumi.Input[str]] = None,
|
|
@@ -294,7 +259,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
294
259
|
vswitch_id: Optional[pulumi.Input[str]] = None,
|
|
295
260
|
__props__=None):
|
|
296
261
|
"""
|
|
297
|
-
Provides a
|
|
262
|
+
Provides a ENS Load Balancer resource. Load balancing. When you use it for the first time, please contact the product classmates to add a resource whitelist.
|
|
298
263
|
|
|
299
264
|
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).
|
|
300
265
|
|
|
@@ -334,7 +299,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
334
299
|
|
|
335
300
|
## Import
|
|
336
301
|
|
|
337
|
-
|
|
302
|
+
ENS Load Balancer can be imported using the id, e.g.
|
|
338
303
|
|
|
339
304
|
```sh
|
|
340
305
|
$ pulumi import alicloud:ens/loadBalancer:LoadBalancer example <id>
|
|
@@ -342,12 +307,11 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
342
307
|
|
|
343
308
|
:param str resource_name: The name of the resource.
|
|
344
309
|
: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.
|
|
346
310
|
:param pulumi.Input[str] ens_region_id: The ID of the ENS node.
|
|
347
|
-
:param pulumi.Input[str] load_balancer_name: Name of the Server Load Balancer
|
|
348
|
-
:param pulumi.Input[str] load_balancer_spec: Specifications of the Server Load Balancer instance.
|
|
311
|
+
:param pulumi.Input[str] load_balancer_name: Name of the Server Load Balancer instanceRules:The length is 1~80 English or Chinese characters. When this parameter is not specified, the system randomly assigns an instance nameCannot start with `http://` and `https`.
|
|
312
|
+
:param pulumi.Input[str] load_balancer_spec: Specifications of the Server Load Balancer instance. Valid values: elb.s1.small,elb.s3.medium,elb.s2.small,elb.s2.medium,elb.s3.small.
|
|
349
313
|
:param pulumi.Input[str] network_id: The network ID of the created edge load balancing (ELB) instance.
|
|
350
|
-
:param pulumi.Input[str] payment_type: Server Load Balancer Instance Payment Type.
|
|
314
|
+
:param pulumi.Input[str] payment_type: Server Load Balancer Instance Payment Type. Valid value: PayAsYouGo.
|
|
351
315
|
:param pulumi.Input[str] vswitch_id: The ID of the vSwitch to which the VPC instance belongs.
|
|
352
316
|
"""
|
|
353
317
|
...
|
|
@@ -357,7 +321,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
357
321
|
args: LoadBalancerArgs,
|
|
358
322
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
359
323
|
"""
|
|
360
|
-
Provides a
|
|
324
|
+
Provides a ENS Load Balancer resource. Load balancing. When you use it for the first time, please contact the product classmates to add a resource whitelist.
|
|
361
325
|
|
|
362
326
|
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).
|
|
363
327
|
|
|
@@ -397,7 +361,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
397
361
|
|
|
398
362
|
## Import
|
|
399
363
|
|
|
400
|
-
|
|
364
|
+
ENS Load Balancer can be imported using the id, e.g.
|
|
401
365
|
|
|
402
366
|
```sh
|
|
403
367
|
$ pulumi import alicloud:ens/loadBalancer:LoadBalancer example <id>
|
|
@@ -418,7 +382,6 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
418
382
|
def _internal_init(__self__,
|
|
419
383
|
resource_name: str,
|
|
420
384
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
421
|
-
backend_servers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['LoadBalancerBackendServerArgs', 'LoadBalancerBackendServerArgsDict']]]]] = None,
|
|
422
385
|
ens_region_id: Optional[pulumi.Input[str]] = None,
|
|
423
386
|
load_balancer_name: Optional[pulumi.Input[str]] = None,
|
|
424
387
|
load_balancer_spec: Optional[pulumi.Input[str]] = None,
|
|
@@ -434,7 +397,6 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
434
397
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
435
398
|
__props__ = LoadBalancerArgs.__new__(LoadBalancerArgs)
|
|
436
399
|
|
|
437
|
-
__props__.__dict__["backend_servers"] = backend_servers
|
|
438
400
|
if ens_region_id is None and not opts.urn:
|
|
439
401
|
raise TypeError("Missing required property 'ens_region_id'")
|
|
440
402
|
__props__.__dict__["ens_region_id"] = ens_region_id
|
|
@@ -463,7 +425,6 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
463
425
|
def get(resource_name: str,
|
|
464
426
|
id: pulumi.Input[str],
|
|
465
427
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
466
|
-
backend_servers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['LoadBalancerBackendServerArgs', 'LoadBalancerBackendServerArgsDict']]]]] = None,
|
|
467
428
|
create_time: Optional[pulumi.Input[str]] = None,
|
|
468
429
|
ens_region_id: Optional[pulumi.Input[str]] = None,
|
|
469
430
|
load_balancer_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -479,13 +440,12 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
479
440
|
:param str resource_name: The unique name of the resulting resource.
|
|
480
441
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
481
442
|
: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.
|
|
483
443
|
:param pulumi.Input[str] create_time: The creation Time (UTC) of the load balancing instance.
|
|
484
444
|
:param pulumi.Input[str] ens_region_id: The ID of the ENS node.
|
|
485
|
-
:param pulumi.Input[str] load_balancer_name: Name of the Server Load Balancer
|
|
486
|
-
:param pulumi.Input[str] load_balancer_spec: Specifications of the Server Load Balancer instance.
|
|
445
|
+
:param pulumi.Input[str] load_balancer_name: Name of the Server Load Balancer instanceRules:The length is 1~80 English or Chinese characters. When this parameter is not specified, the system randomly assigns an instance nameCannot start with `http://` and `https`.
|
|
446
|
+
:param pulumi.Input[str] load_balancer_spec: Specifications of the Server Load Balancer instance. Valid values: elb.s1.small,elb.s3.medium,elb.s2.small,elb.s2.medium,elb.s3.small.
|
|
487
447
|
:param pulumi.Input[str] network_id: The network ID of the created edge load balancing (ELB) instance.
|
|
488
|
-
:param pulumi.Input[str] payment_type: Server Load Balancer Instance Payment Type.
|
|
448
|
+
:param pulumi.Input[str] payment_type: Server Load Balancer Instance Payment Type. Valid value: PayAsYouGo.
|
|
489
449
|
:param pulumi.Input[str] status: The status of the SLB instance.
|
|
490
450
|
:param pulumi.Input[str] vswitch_id: The ID of the vSwitch to which the VPC instance belongs.
|
|
491
451
|
"""
|
|
@@ -493,7 +453,6 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
493
453
|
|
|
494
454
|
__props__ = _LoadBalancerState.__new__(_LoadBalancerState)
|
|
495
455
|
|
|
496
|
-
__props__.__dict__["backend_servers"] = backend_servers
|
|
497
456
|
__props__.__dict__["create_time"] = create_time
|
|
498
457
|
__props__.__dict__["ens_region_id"] = ens_region_id
|
|
499
458
|
__props__.__dict__["load_balancer_name"] = load_balancer_name
|
|
@@ -504,14 +463,6 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
504
463
|
__props__.__dict__["vswitch_id"] = vswitch_id
|
|
505
464
|
return LoadBalancer(resource_name, opts=opts, __props__=__props__)
|
|
506
465
|
|
|
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
|
-
|
|
515
466
|
@property
|
|
516
467
|
@pulumi.getter(name="createTime")
|
|
517
468
|
def create_time(self) -> pulumi.Output[str]:
|
|
@@ -532,7 +483,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
532
483
|
@pulumi.getter(name="loadBalancerName")
|
|
533
484
|
def load_balancer_name(self) -> pulumi.Output[Optional[str]]:
|
|
534
485
|
"""
|
|
535
|
-
Name of the Server Load Balancer
|
|
486
|
+
Name of the Server Load Balancer instanceRules:The length is 1~80 English or Chinese characters. When this parameter is not specified, the system randomly assigns an instance nameCannot start with `http://` and `https`.
|
|
536
487
|
"""
|
|
537
488
|
return pulumi.get(self, "load_balancer_name")
|
|
538
489
|
|
|
@@ -540,7 +491,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
540
491
|
@pulumi.getter(name="loadBalancerSpec")
|
|
541
492
|
def load_balancer_spec(self) -> pulumi.Output[str]:
|
|
542
493
|
"""
|
|
543
|
-
Specifications of the Server Load Balancer instance.
|
|
494
|
+
Specifications of the Server Load Balancer instance. Valid values: elb.s1.small,elb.s3.medium,elb.s2.small,elb.s2.medium,elb.s3.small.
|
|
544
495
|
"""
|
|
545
496
|
return pulumi.get(self, "load_balancer_spec")
|
|
546
497
|
|
|
@@ -556,7 +507,7 @@ class LoadBalancer(pulumi.CustomResource):
|
|
|
556
507
|
@pulumi.getter(name="paymentType")
|
|
557
508
|
def payment_type(self) -> pulumi.Output[str]:
|
|
558
509
|
"""
|
|
559
|
-
Server Load Balancer Instance Payment Type.
|
|
510
|
+
Server Load Balancer Instance Payment Type. Valid value: PayAsYouGo.
|
|
560
511
|
"""
|
|
561
512
|
return pulumi.get(self, "payment_type")
|
|
562
513
|
|
pulumi_alicloud/ens/outputs.py
CHANGED
|
@@ -12,7 +12,6 @@ from .. import _utilities
|
|
|
12
12
|
__all__ = [
|
|
13
13
|
'InstanceDataDisk',
|
|
14
14
|
'InstanceSystemDisk',
|
|
15
|
-
'LoadBalancerBackendServer',
|
|
16
15
|
'GetKeyPairsPairResult',
|
|
17
16
|
]
|
|
18
17
|
|
|
@@ -94,89 +93,6 @@ class InstanceSystemDisk(dict):
|
|
|
94
93
|
return pulumi.get(self, "size")
|
|
95
94
|
|
|
96
95
|
|
|
97
|
-
@pulumi.output_type
|
|
98
|
-
class LoadBalancerBackendServer(dict):
|
|
99
|
-
@staticmethod
|
|
100
|
-
def __key_warning(key: str):
|
|
101
|
-
suggest = None
|
|
102
|
-
if key == "serverId":
|
|
103
|
-
suggest = "server_id"
|
|
104
|
-
|
|
105
|
-
if suggest:
|
|
106
|
-
pulumi.log.warn(f"Key '{key}' not found in LoadBalancerBackendServer. Access the value via the '{suggest}' property getter instead.")
|
|
107
|
-
|
|
108
|
-
def __getitem__(self, key: str) -> Any:
|
|
109
|
-
LoadBalancerBackendServer.__key_warning(key)
|
|
110
|
-
return super().__getitem__(key)
|
|
111
|
-
|
|
112
|
-
def get(self, key: str, default = None) -> Any:
|
|
113
|
-
LoadBalancerBackendServer.__key_warning(key)
|
|
114
|
-
return super().get(key, default)
|
|
115
|
-
|
|
116
|
-
def __init__(__self__, *,
|
|
117
|
-
server_id: str,
|
|
118
|
-
ip: Optional[str] = None,
|
|
119
|
-
port: Optional[int] = None,
|
|
120
|
-
type: Optional[str] = None,
|
|
121
|
-
weight: Optional[int] = None):
|
|
122
|
-
"""
|
|
123
|
-
:param str server_id: Backend server instance ID Example value: i-5vb5h5njxiuhn48a * * * *.
|
|
124
|
-
:param str ip: IP address of the backend server Example value: 192.168.0.5.
|
|
125
|
-
:param int port: Port used by the backend server.
|
|
126
|
-
:param str type: Backend server type Example value: ens.
|
|
127
|
-
:param int weight: Weight of the backend server Example value: 100.
|
|
128
|
-
"""
|
|
129
|
-
pulumi.set(__self__, "server_id", server_id)
|
|
130
|
-
if ip is not None:
|
|
131
|
-
pulumi.set(__self__, "ip", ip)
|
|
132
|
-
if port is not None:
|
|
133
|
-
pulumi.set(__self__, "port", port)
|
|
134
|
-
if type is not None:
|
|
135
|
-
pulumi.set(__self__, "type", type)
|
|
136
|
-
if weight is not None:
|
|
137
|
-
pulumi.set(__self__, "weight", weight)
|
|
138
|
-
|
|
139
|
-
@property
|
|
140
|
-
@pulumi.getter(name="serverId")
|
|
141
|
-
def server_id(self) -> str:
|
|
142
|
-
"""
|
|
143
|
-
Backend server instance ID Example value: i-5vb5h5njxiuhn48a * * * *.
|
|
144
|
-
"""
|
|
145
|
-
return pulumi.get(self, "server_id")
|
|
146
|
-
|
|
147
|
-
@property
|
|
148
|
-
@pulumi.getter
|
|
149
|
-
def ip(self) -> Optional[str]:
|
|
150
|
-
"""
|
|
151
|
-
IP address of the backend server Example value: 192.168.0.5.
|
|
152
|
-
"""
|
|
153
|
-
return pulumi.get(self, "ip")
|
|
154
|
-
|
|
155
|
-
@property
|
|
156
|
-
@pulumi.getter
|
|
157
|
-
def port(self) -> Optional[int]:
|
|
158
|
-
"""
|
|
159
|
-
Port used by the backend server.
|
|
160
|
-
"""
|
|
161
|
-
return pulumi.get(self, "port")
|
|
162
|
-
|
|
163
|
-
@property
|
|
164
|
-
@pulumi.getter
|
|
165
|
-
def type(self) -> Optional[str]:
|
|
166
|
-
"""
|
|
167
|
-
Backend server type Example value: ens.
|
|
168
|
-
"""
|
|
169
|
-
return pulumi.get(self, "type")
|
|
170
|
-
|
|
171
|
-
@property
|
|
172
|
-
@pulumi.getter
|
|
173
|
-
def weight(self) -> Optional[int]:
|
|
174
|
-
"""
|
|
175
|
-
Weight of the backend server Example value: 100.
|
|
176
|
-
"""
|
|
177
|
-
return pulumi.get(self, "weight")
|
|
178
|
-
|
|
179
|
-
|
|
180
96
|
@pulumi.output_type
|
|
181
97
|
class GetKeyPairsPairResult(dict):
|
|
182
98
|
def __init__(__self__, *,
|
pulumi_alicloud/fc/__init__.py
CHANGED
|
@@ -25,9 +25,6 @@ from .v3_concurrency_config import *
|
|
|
25
25
|
from .v3_custom_domain import *
|
|
26
26
|
from .v3_function import *
|
|
27
27
|
from .v3_function_version import *
|
|
28
|
-
from .v3_layer_version import *
|
|
29
|
-
from .v3_provision_config import *
|
|
30
28
|
from .v3_trigger import *
|
|
31
|
-
from .v3_vpc_binding import *
|
|
32
29
|
from ._inputs import *
|
|
33
30
|
from . import outputs
|