pulumi-alicloud 3.73.0a1736850863__py3-none-any.whl → 3.74.0__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.

Files changed (123) hide show
  1. pulumi_alicloud/__init__.py +139 -0
  2. pulumi_alicloud/alb/__init__.py +2 -0
  3. pulumi_alicloud/alb/_inputs.py +913 -250
  4. pulumi_alicloud/alb/a_script.py +116 -98
  5. pulumi_alicloud/alb/get_server_groups.py +55 -25
  6. pulumi_alicloud/alb/listener.py +269 -174
  7. pulumi_alicloud/alb/load_balancer.py +239 -118
  8. pulumi_alicloud/alb/load_balancer_access_log_config_attachment.py +303 -0
  9. pulumi_alicloud/alb/load_balancer_zone_shifted_attachment.py +303 -0
  10. pulumi_alicloud/alb/outputs.py +720 -222
  11. pulumi_alicloud/alb/server_group.py +532 -122
  12. pulumi_alicloud/alikafka/instance.py +188 -70
  13. pulumi_alicloud/amqp/instance.py +77 -28
  14. pulumi_alicloud/bastionhost/_inputs.py +40 -38
  15. pulumi_alicloud/bastionhost/get_instances.py +6 -22
  16. pulumi_alicloud/bastionhost/outputs.py +60 -49
  17. pulumi_alicloud/cen/_inputs.py +34 -0
  18. pulumi_alicloud/cen/instance_grant.py +4 -0
  19. pulumi_alicloud/cen/outputs.py +37 -0
  20. pulumi_alicloud/cen/transit_router_multicast_domain.py +123 -36
  21. pulumi_alicloud/cloudcontrol/__init__.py +12 -0
  22. pulumi_alicloud/cloudcontrol/get_prices.py +199 -0
  23. pulumi_alicloud/cloudcontrol/get_products.py +187 -0
  24. pulumi_alicloud/cloudcontrol/get_resource_types.py +178 -0
  25. pulumi_alicloud/cloudcontrol/outputs.py +688 -0
  26. pulumi_alicloud/cloudcontrol/resource.py +407 -0
  27. pulumi_alicloud/cms/_inputs.py +21 -15
  28. pulumi_alicloud/cms/alarm.py +7 -7
  29. pulumi_alicloud/cms/outputs.py +14 -10
  30. pulumi_alicloud/cs/_inputs.py +349 -1
  31. pulumi_alicloud/cs/get_edge_kubernetes_clusters.py +4 -2
  32. pulumi_alicloud/cs/get_managed_kubernetes_clusters.py +2 -0
  33. pulumi_alicloud/cs/kubernetes.py +29 -29
  34. pulumi_alicloud/cs/managed_kubernetes.py +137 -47
  35. pulumi_alicloud/cs/node_pool.py +77 -2
  36. pulumi_alicloud/cs/outputs.py +265 -1
  37. pulumi_alicloud/dataworks/__init__.py +4 -0
  38. pulumi_alicloud/dataworks/_inputs.py +1534 -0
  39. pulumi_alicloud/dataworks/di_alarm_rule.py +708 -0
  40. pulumi_alicloud/dataworks/di_job.py +1005 -0
  41. pulumi_alicloud/dataworks/dw_resource_group.py +703 -0
  42. pulumi_alicloud/dataworks/network.py +331 -0
  43. pulumi_alicloud/dataworks/outputs.py +1247 -0
  44. pulumi_alicloud/dcdn/waf_rule.py +14 -14
  45. pulumi_alicloud/dfs/file_system.py +62 -23
  46. pulumi_alicloud/dfs/mount_point.py +48 -22
  47. pulumi_alicloud/dns/get_alidns_domains.py +7 -2
  48. pulumi_alicloud/dns/outputs.py +8 -0
  49. pulumi_alicloud/ecs/ecs_launch_template.py +122 -0
  50. pulumi_alicloud/ecs/ecs_network_interface.py +14 -14
  51. pulumi_alicloud/ecs/ecs_session_manager_status.py +18 -18
  52. pulumi_alicloud/ecs/instance.py +7 -7
  53. pulumi_alicloud/ecs/launch_template.py +88 -0
  54. pulumi_alicloud/esa/__init__.py +3 -0
  55. pulumi_alicloud/esa/_inputs.py +81 -0
  56. pulumi_alicloud/esa/http_request_header_modification_rule.py +531 -0
  57. pulumi_alicloud/esa/list.py +361 -0
  58. pulumi_alicloud/esa/outputs.py +48 -0
  59. pulumi_alicloud/esa/page.py +376 -0
  60. pulumi_alicloud/esa/rate_plan_instance.py +63 -7
  61. pulumi_alicloud/ess/get_scaling_groups.py +64 -10
  62. pulumi_alicloud/ess/get_scaling_rules.py +74 -10
  63. pulumi_alicloud/ess/outputs.py +357 -17
  64. pulumi_alicloud/eventbridge/get_service.py +2 -6
  65. pulumi_alicloud/fc/_inputs.py +75 -75
  66. pulumi_alicloud/fc/custom_domain.py +2 -2
  67. pulumi_alicloud/fc/function.py +32 -4
  68. pulumi_alicloud/fc/outputs.py +50 -50
  69. pulumi_alicloud/fc/v2_function.py +20 -0
  70. pulumi_alicloud/fc/v3_function.py +53 -6
  71. pulumi_alicloud/hbr/__init__.py +1 -0
  72. pulumi_alicloud/hbr/cross_account.py +338 -0
  73. pulumi_alicloud/ims/oidc_provider.py +28 -0
  74. pulumi_alicloud/kms/__init__.py +1 -0
  75. pulumi_alicloud/kms/get_instances.py +160 -0
  76. pulumi_alicloud/kms/instance.py +0 -60
  77. pulumi_alicloud/kms/outputs.py +19 -0
  78. pulumi_alicloud/log/resource_record.py +42 -26
  79. pulumi_alicloud/maxcompute/__init__.py +5 -0
  80. pulumi_alicloud/maxcompute/_inputs.py +615 -42
  81. pulumi_alicloud/maxcompute/outputs.py +486 -28
  82. pulumi_alicloud/maxcompute/project.py +63 -31
  83. pulumi_alicloud/maxcompute/quota_plan.py +412 -0
  84. pulumi_alicloud/maxcompute/quota_schedule.py +260 -0
  85. pulumi_alicloud/maxcompute/role.py +423 -0
  86. pulumi_alicloud/maxcompute/role_user_attachment.py +368 -0
  87. pulumi_alicloud/maxcompute/tunnel_quota_timer.py +287 -0
  88. pulumi_alicloud/message/service_queue.py +106 -59
  89. pulumi_alicloud/message/service_topic.py +182 -37
  90. pulumi_alicloud/mongodb/account.py +138 -163
  91. pulumi_alicloud/oos/secret_parameter.py +84 -9
  92. pulumi_alicloud/oss/bucket.py +1 -1
  93. pulumi_alicloud/oss/bucket_policy.py +2 -4
  94. pulumi_alicloud/oss/bucket_referer.py +2 -4
  95. pulumi_alicloud/oss/get_buckets.py +16 -2
  96. pulumi_alicloud/oss/outputs.py +18 -17
  97. pulumi_alicloud/pulumi-plugin.json +1 -1
  98. pulumi_alicloud/rds/instance.py +68 -0
  99. pulumi_alicloud/sae/application.py +84 -7
  100. pulumi_alicloud/sls/collection_policy.py +2 -2
  101. pulumi_alicloud/vpc/__init__.py +6 -0
  102. pulumi_alicloud/vpc/get_ipam_ipam_pool_allocations.py +295 -0
  103. pulumi_alicloud/vpc/get_ipam_ipam_pool_cidrs.py +196 -0
  104. pulumi_alicloud/vpc/get_ipam_ipam_pools.py +353 -0
  105. pulumi_alicloud/vpc/get_ipam_ipam_scopes.py +333 -0
  106. pulumi_alicloud/vpc/get_ipam_ipams.py +291 -0
  107. pulumi_alicloud/vpc/get_networks.py +3 -0
  108. pulumi_alicloud/vpc/ipam_ipam_pool.py +47 -0
  109. pulumi_alicloud/vpc/ipam_ipam_scope.py +47 -0
  110. pulumi_alicloud/vpc/ipam_service.py +144 -0
  111. pulumi_alicloud/vpc/ipv4_cidr_block.py +162 -51
  112. pulumi_alicloud/vpc/nat_gateway.py +145 -7
  113. pulumi_alicloud/vpc/outputs.py +777 -0
  114. pulumi_alicloud/vpc/snat_entry.py +107 -48
  115. pulumi_alicloud/vpn/_inputs.py +96 -72
  116. pulumi_alicloud/vpn/connection.py +24 -28
  117. pulumi_alicloud/vpn/outputs.py +64 -48
  118. pulumi_alicloud/yundun/_inputs.py +26 -24
  119. pulumi_alicloud/yundun/outputs.py +37 -22
  120. {pulumi_alicloud-3.73.0a1736850863.dist-info → pulumi_alicloud-3.74.0.dist-info}/METADATA +1 -1
  121. {pulumi_alicloud-3.73.0a1736850863.dist-info → pulumi_alicloud-3.74.0.dist-info}/RECORD +123 -95
  122. {pulumi_alicloud-3.73.0a1736850863.dist-info → pulumi_alicloud-3.74.0.dist-info}/WHEEL +0 -0
  123. {pulumi_alicloud-3.73.0a1736850863.dist-info → pulumi_alicloud-3.74.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,303 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+
17
+ __all__ = ['LoadBalancerAccessLogConfigAttachmentArgs', 'LoadBalancerAccessLogConfigAttachment']
18
+
19
+ @pulumi.input_type
20
+ class LoadBalancerAccessLogConfigAttachmentArgs:
21
+ def __init__(__self__, *,
22
+ load_balancer_id: pulumi.Input[str],
23
+ log_project: pulumi.Input[str],
24
+ log_store: pulumi.Input[str]):
25
+ """
26
+ The set of arguments for constructing a LoadBalancerAccessLogConfigAttachment resource.
27
+ :param pulumi.Input[str] load_balancer_id: The ID of the load balancing instance.
28
+ :param pulumi.Input[str] log_project: The log items shipped by the access log.
29
+ :param pulumi.Input[str] log_store: Logstore for log delivery.
30
+ """
31
+ pulumi.set(__self__, "load_balancer_id", load_balancer_id)
32
+ pulumi.set(__self__, "log_project", log_project)
33
+ pulumi.set(__self__, "log_store", log_store)
34
+
35
+ @property
36
+ @pulumi.getter(name="loadBalancerId")
37
+ def load_balancer_id(self) -> pulumi.Input[str]:
38
+ """
39
+ The ID of the load balancing instance.
40
+ """
41
+ return pulumi.get(self, "load_balancer_id")
42
+
43
+ @load_balancer_id.setter
44
+ def load_balancer_id(self, value: pulumi.Input[str]):
45
+ pulumi.set(self, "load_balancer_id", value)
46
+
47
+ @property
48
+ @pulumi.getter(name="logProject")
49
+ def log_project(self) -> pulumi.Input[str]:
50
+ """
51
+ The log items shipped by the access log.
52
+ """
53
+ return pulumi.get(self, "log_project")
54
+
55
+ @log_project.setter
56
+ def log_project(self, value: pulumi.Input[str]):
57
+ pulumi.set(self, "log_project", value)
58
+
59
+ @property
60
+ @pulumi.getter(name="logStore")
61
+ def log_store(self) -> pulumi.Input[str]:
62
+ """
63
+ Logstore for log delivery.
64
+ """
65
+ return pulumi.get(self, "log_store")
66
+
67
+ @log_store.setter
68
+ def log_store(self, value: pulumi.Input[str]):
69
+ pulumi.set(self, "log_store", value)
70
+
71
+
72
+ @pulumi.input_type
73
+ class _LoadBalancerAccessLogConfigAttachmentState:
74
+ def __init__(__self__, *,
75
+ create_time: Optional[pulumi.Input[str]] = None,
76
+ load_balancer_id: Optional[pulumi.Input[str]] = None,
77
+ log_project: Optional[pulumi.Input[str]] = None,
78
+ log_store: Optional[pulumi.Input[str]] = None):
79
+ """
80
+ Input properties used for looking up and filtering LoadBalancerAccessLogConfigAttachment resources.
81
+ :param pulumi.Input[str] create_time: The creation time of the resource
82
+ :param pulumi.Input[str] load_balancer_id: The ID of the load balancing instance.
83
+ :param pulumi.Input[str] log_project: The log items shipped by the access log.
84
+ :param pulumi.Input[str] log_store: Logstore for log delivery.
85
+ """
86
+ if create_time is not None:
87
+ pulumi.set(__self__, "create_time", create_time)
88
+ if load_balancer_id is not None:
89
+ pulumi.set(__self__, "load_balancer_id", load_balancer_id)
90
+ if log_project is not None:
91
+ pulumi.set(__self__, "log_project", log_project)
92
+ if log_store is not None:
93
+ pulumi.set(__self__, "log_store", log_store)
94
+
95
+ @property
96
+ @pulumi.getter(name="createTime")
97
+ def create_time(self) -> Optional[pulumi.Input[str]]:
98
+ """
99
+ The creation time of the resource
100
+ """
101
+ return pulumi.get(self, "create_time")
102
+
103
+ @create_time.setter
104
+ def create_time(self, value: Optional[pulumi.Input[str]]):
105
+ pulumi.set(self, "create_time", value)
106
+
107
+ @property
108
+ @pulumi.getter(name="loadBalancerId")
109
+ def load_balancer_id(self) -> Optional[pulumi.Input[str]]:
110
+ """
111
+ The ID of the load balancing instance.
112
+ """
113
+ return pulumi.get(self, "load_balancer_id")
114
+
115
+ @load_balancer_id.setter
116
+ def load_balancer_id(self, value: Optional[pulumi.Input[str]]):
117
+ pulumi.set(self, "load_balancer_id", value)
118
+
119
+ @property
120
+ @pulumi.getter(name="logProject")
121
+ def log_project(self) -> Optional[pulumi.Input[str]]:
122
+ """
123
+ The log items shipped by the access log.
124
+ """
125
+ return pulumi.get(self, "log_project")
126
+
127
+ @log_project.setter
128
+ def log_project(self, value: Optional[pulumi.Input[str]]):
129
+ pulumi.set(self, "log_project", value)
130
+
131
+ @property
132
+ @pulumi.getter(name="logStore")
133
+ def log_store(self) -> Optional[pulumi.Input[str]]:
134
+ """
135
+ Logstore for log delivery.
136
+ """
137
+ return pulumi.get(self, "log_store")
138
+
139
+ @log_store.setter
140
+ def log_store(self, value: Optional[pulumi.Input[str]]):
141
+ pulumi.set(self, "log_store", value)
142
+
143
+
144
+ class LoadBalancerAccessLogConfigAttachment(pulumi.CustomResource):
145
+ @overload
146
+ def __init__(__self__,
147
+ resource_name: str,
148
+ opts: Optional[pulumi.ResourceOptions] = None,
149
+ load_balancer_id: Optional[pulumi.Input[str]] = None,
150
+ log_project: Optional[pulumi.Input[str]] = None,
151
+ log_store: Optional[pulumi.Input[str]] = None,
152
+ __props__=None):
153
+ """
154
+ Provides a Application Load Balancer (ALB) Load Balancer Access Log Config Attachment resource.
155
+
156
+ Attachment between ALB and AccessLog.
157
+
158
+ For information about Application Load Balancer (ALB) Load Balancer Access Log Config Attachment and how to use it, see [What is Load Balancer Access Log Config Attachment](https://www.alibabacloud.com/help/en/).
159
+
160
+ > **NOTE:** Available since v1.241.0.
161
+
162
+ ## Import
163
+
164
+ Application Load Balancer (ALB) Load Balancer Access Log Config Attachment can be imported using the id, e.g.
165
+
166
+ ```sh
167
+ $ pulumi import alicloud:alb/loadBalancerAccessLogConfigAttachment:LoadBalancerAccessLogConfigAttachment example <id>
168
+ ```
169
+
170
+ :param str resource_name: The name of the resource.
171
+ :param pulumi.ResourceOptions opts: Options for the resource.
172
+ :param pulumi.Input[str] load_balancer_id: The ID of the load balancing instance.
173
+ :param pulumi.Input[str] log_project: The log items shipped by the access log.
174
+ :param pulumi.Input[str] log_store: Logstore for log delivery.
175
+ """
176
+ ...
177
+ @overload
178
+ def __init__(__self__,
179
+ resource_name: str,
180
+ args: LoadBalancerAccessLogConfigAttachmentArgs,
181
+ opts: Optional[pulumi.ResourceOptions] = None):
182
+ """
183
+ Provides a Application Load Balancer (ALB) Load Balancer Access Log Config Attachment resource.
184
+
185
+ Attachment between ALB and AccessLog.
186
+
187
+ For information about Application Load Balancer (ALB) Load Balancer Access Log Config Attachment and how to use it, see [What is Load Balancer Access Log Config Attachment](https://www.alibabacloud.com/help/en/).
188
+
189
+ > **NOTE:** Available since v1.241.0.
190
+
191
+ ## Import
192
+
193
+ Application Load Balancer (ALB) Load Balancer Access Log Config Attachment can be imported using the id, e.g.
194
+
195
+ ```sh
196
+ $ pulumi import alicloud:alb/loadBalancerAccessLogConfigAttachment:LoadBalancerAccessLogConfigAttachment example <id>
197
+ ```
198
+
199
+ :param str resource_name: The name of the resource.
200
+ :param LoadBalancerAccessLogConfigAttachmentArgs args: The arguments to use to populate this resource's properties.
201
+ :param pulumi.ResourceOptions opts: Options for the resource.
202
+ """
203
+ ...
204
+ def __init__(__self__, resource_name: str, *args, **kwargs):
205
+ resource_args, opts = _utilities.get_resource_args_opts(LoadBalancerAccessLogConfigAttachmentArgs, pulumi.ResourceOptions, *args, **kwargs)
206
+ if resource_args is not None:
207
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
208
+ else:
209
+ __self__._internal_init(resource_name, *args, **kwargs)
210
+
211
+ def _internal_init(__self__,
212
+ resource_name: str,
213
+ opts: Optional[pulumi.ResourceOptions] = None,
214
+ load_balancer_id: Optional[pulumi.Input[str]] = None,
215
+ log_project: Optional[pulumi.Input[str]] = None,
216
+ log_store: Optional[pulumi.Input[str]] = None,
217
+ __props__=None):
218
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
219
+ if not isinstance(opts, pulumi.ResourceOptions):
220
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
221
+ if opts.id is None:
222
+ if __props__ is not None:
223
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
224
+ __props__ = LoadBalancerAccessLogConfigAttachmentArgs.__new__(LoadBalancerAccessLogConfigAttachmentArgs)
225
+
226
+ if load_balancer_id is None and not opts.urn:
227
+ raise TypeError("Missing required property 'load_balancer_id'")
228
+ __props__.__dict__["load_balancer_id"] = load_balancer_id
229
+ if log_project is None and not opts.urn:
230
+ raise TypeError("Missing required property 'log_project'")
231
+ __props__.__dict__["log_project"] = log_project
232
+ if log_store is None and not opts.urn:
233
+ raise TypeError("Missing required property 'log_store'")
234
+ __props__.__dict__["log_store"] = log_store
235
+ __props__.__dict__["create_time"] = None
236
+ super(LoadBalancerAccessLogConfigAttachment, __self__).__init__(
237
+ 'alicloud:alb/loadBalancerAccessLogConfigAttachment:LoadBalancerAccessLogConfigAttachment',
238
+ resource_name,
239
+ __props__,
240
+ opts)
241
+
242
+ @staticmethod
243
+ def get(resource_name: str,
244
+ id: pulumi.Input[str],
245
+ opts: Optional[pulumi.ResourceOptions] = None,
246
+ create_time: Optional[pulumi.Input[str]] = None,
247
+ load_balancer_id: Optional[pulumi.Input[str]] = None,
248
+ log_project: Optional[pulumi.Input[str]] = None,
249
+ log_store: Optional[pulumi.Input[str]] = None) -> 'LoadBalancerAccessLogConfigAttachment':
250
+ """
251
+ Get an existing LoadBalancerAccessLogConfigAttachment resource's state with the given name, id, and optional extra
252
+ properties used to qualify the lookup.
253
+
254
+ :param str resource_name: The unique name of the resulting resource.
255
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
256
+ :param pulumi.ResourceOptions opts: Options for the resource.
257
+ :param pulumi.Input[str] create_time: The creation time of the resource
258
+ :param pulumi.Input[str] load_balancer_id: The ID of the load balancing instance.
259
+ :param pulumi.Input[str] log_project: The log items shipped by the access log.
260
+ :param pulumi.Input[str] log_store: Logstore for log delivery.
261
+ """
262
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
263
+
264
+ __props__ = _LoadBalancerAccessLogConfigAttachmentState.__new__(_LoadBalancerAccessLogConfigAttachmentState)
265
+
266
+ __props__.__dict__["create_time"] = create_time
267
+ __props__.__dict__["load_balancer_id"] = load_balancer_id
268
+ __props__.__dict__["log_project"] = log_project
269
+ __props__.__dict__["log_store"] = log_store
270
+ return LoadBalancerAccessLogConfigAttachment(resource_name, opts=opts, __props__=__props__)
271
+
272
+ @property
273
+ @pulumi.getter(name="createTime")
274
+ def create_time(self) -> pulumi.Output[str]:
275
+ """
276
+ The creation time of the resource
277
+ """
278
+ return pulumi.get(self, "create_time")
279
+
280
+ @property
281
+ @pulumi.getter(name="loadBalancerId")
282
+ def load_balancer_id(self) -> pulumi.Output[str]:
283
+ """
284
+ The ID of the load balancing instance.
285
+ """
286
+ return pulumi.get(self, "load_balancer_id")
287
+
288
+ @property
289
+ @pulumi.getter(name="logProject")
290
+ def log_project(self) -> pulumi.Output[str]:
291
+ """
292
+ The log items shipped by the access log.
293
+ """
294
+ return pulumi.get(self, "log_project")
295
+
296
+ @property
297
+ @pulumi.getter(name="logStore")
298
+ def log_store(self) -> pulumi.Output[str]:
299
+ """
300
+ Logstore for log delivery.
301
+ """
302
+ return pulumi.get(self, "log_store")
303
+
@@ -0,0 +1,303 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+
17
+ __all__ = ['LoadBalancerZoneShiftedAttachmentArgs', 'LoadBalancerZoneShiftedAttachment']
18
+
19
+ @pulumi.input_type
20
+ class LoadBalancerZoneShiftedAttachmentArgs:
21
+ def __init__(__self__, *,
22
+ load_balancer_id: pulumi.Input[str],
23
+ vswitch_id: pulumi.Input[str],
24
+ zone_id: pulumi.Input[str]):
25
+ """
26
+ The set of arguments for constructing a LoadBalancerZoneShiftedAttachment resource.
27
+ :param pulumi.Input[str] load_balancer_id: The ID of the load balancing instance.
28
+ :param pulumi.Input[str] vswitch_id: The VSwitch corresponding to the zone. By default, each zone uses one VSwitch and one subnet.
29
+ :param pulumi.Input[str] zone_id: The ID of the zone.
30
+ """
31
+ pulumi.set(__self__, "load_balancer_id", load_balancer_id)
32
+ pulumi.set(__self__, "vswitch_id", vswitch_id)
33
+ pulumi.set(__self__, "zone_id", zone_id)
34
+
35
+ @property
36
+ @pulumi.getter(name="loadBalancerId")
37
+ def load_balancer_id(self) -> pulumi.Input[str]:
38
+ """
39
+ The ID of the load balancing instance.
40
+ """
41
+ return pulumi.get(self, "load_balancer_id")
42
+
43
+ @load_balancer_id.setter
44
+ def load_balancer_id(self, value: pulumi.Input[str]):
45
+ pulumi.set(self, "load_balancer_id", value)
46
+
47
+ @property
48
+ @pulumi.getter(name="vswitchId")
49
+ def vswitch_id(self) -> pulumi.Input[str]:
50
+ """
51
+ The VSwitch corresponding to the zone. By default, each zone uses one VSwitch and one subnet.
52
+ """
53
+ return pulumi.get(self, "vswitch_id")
54
+
55
+ @vswitch_id.setter
56
+ def vswitch_id(self, value: pulumi.Input[str]):
57
+ pulumi.set(self, "vswitch_id", value)
58
+
59
+ @property
60
+ @pulumi.getter(name="zoneId")
61
+ def zone_id(self) -> pulumi.Input[str]:
62
+ """
63
+ The ID of the zone.
64
+ """
65
+ return pulumi.get(self, "zone_id")
66
+
67
+ @zone_id.setter
68
+ def zone_id(self, value: pulumi.Input[str]):
69
+ pulumi.set(self, "zone_id", value)
70
+
71
+
72
+ @pulumi.input_type
73
+ class _LoadBalancerZoneShiftedAttachmentState:
74
+ def __init__(__self__, *,
75
+ load_balancer_id: Optional[pulumi.Input[str]] = None,
76
+ status: Optional[pulumi.Input[str]] = None,
77
+ vswitch_id: Optional[pulumi.Input[str]] = None,
78
+ zone_id: Optional[pulumi.Input[str]] = None):
79
+ """
80
+ Input properties used for looking up and filtering LoadBalancerZoneShiftedAttachment resources.
81
+ :param pulumi.Input[str] load_balancer_id: The ID of the load balancing instance.
82
+ :param pulumi.Input[str] status: Availability zone status. Value:
83
+ :param pulumi.Input[str] vswitch_id: The VSwitch corresponding to the zone. By default, each zone uses one VSwitch and one subnet.
84
+ :param pulumi.Input[str] zone_id: The ID of the zone.
85
+ """
86
+ if load_balancer_id is not None:
87
+ pulumi.set(__self__, "load_balancer_id", load_balancer_id)
88
+ if status is not None:
89
+ pulumi.set(__self__, "status", status)
90
+ if vswitch_id is not None:
91
+ pulumi.set(__self__, "vswitch_id", vswitch_id)
92
+ if zone_id is not None:
93
+ pulumi.set(__self__, "zone_id", zone_id)
94
+
95
+ @property
96
+ @pulumi.getter(name="loadBalancerId")
97
+ def load_balancer_id(self) -> Optional[pulumi.Input[str]]:
98
+ """
99
+ The ID of the load balancing instance.
100
+ """
101
+ return pulumi.get(self, "load_balancer_id")
102
+
103
+ @load_balancer_id.setter
104
+ def load_balancer_id(self, value: Optional[pulumi.Input[str]]):
105
+ pulumi.set(self, "load_balancer_id", value)
106
+
107
+ @property
108
+ @pulumi.getter
109
+ def status(self) -> Optional[pulumi.Input[str]]:
110
+ """
111
+ Availability zone status. Value:
112
+ """
113
+ return pulumi.get(self, "status")
114
+
115
+ @status.setter
116
+ def status(self, value: Optional[pulumi.Input[str]]):
117
+ pulumi.set(self, "status", value)
118
+
119
+ @property
120
+ @pulumi.getter(name="vswitchId")
121
+ def vswitch_id(self) -> Optional[pulumi.Input[str]]:
122
+ """
123
+ The VSwitch corresponding to the zone. By default, each zone uses one VSwitch and one subnet.
124
+ """
125
+ return pulumi.get(self, "vswitch_id")
126
+
127
+ @vswitch_id.setter
128
+ def vswitch_id(self, value: Optional[pulumi.Input[str]]):
129
+ pulumi.set(self, "vswitch_id", value)
130
+
131
+ @property
132
+ @pulumi.getter(name="zoneId")
133
+ def zone_id(self) -> Optional[pulumi.Input[str]]:
134
+ """
135
+ The ID of the zone.
136
+ """
137
+ return pulumi.get(self, "zone_id")
138
+
139
+ @zone_id.setter
140
+ def zone_id(self, value: Optional[pulumi.Input[str]]):
141
+ pulumi.set(self, "zone_id", value)
142
+
143
+
144
+ class LoadBalancerZoneShiftedAttachment(pulumi.CustomResource):
145
+ @overload
146
+ def __init__(__self__,
147
+ resource_name: str,
148
+ opts: Optional[pulumi.ResourceOptions] = None,
149
+ load_balancer_id: Optional[pulumi.Input[str]] = None,
150
+ vswitch_id: Optional[pulumi.Input[str]] = None,
151
+ zone_id: Optional[pulumi.Input[str]] = None,
152
+ __props__=None):
153
+ """
154
+ Provides a Application Load Balancer (ALB) Load Balancer Zone Shifted Attachment resource.
155
+
156
+ Application load balancer start-stop zone.
157
+
158
+ For information about Application Load Balancer (ALB) Load Balancer Zone Shifted Attachment and how to use it, see [What is Load Balancer Zone Shifted Attachment](https://www.alibabacloud.com/help/en/).
159
+
160
+ > **NOTE:** Available since v1.242.0.
161
+
162
+ ## Import
163
+
164
+ Application Load Balancer (ALB) Load Balancer Zone Shifted Attachment can be imported using the id, e.g.
165
+
166
+ ```sh
167
+ $ pulumi import alicloud:alb/loadBalancerZoneShiftedAttachment:LoadBalancerZoneShiftedAttachment example <load_balancer_id>:<vswitch_id>:<zone_id>
168
+ ```
169
+
170
+ :param str resource_name: The name of the resource.
171
+ :param pulumi.ResourceOptions opts: Options for the resource.
172
+ :param pulumi.Input[str] load_balancer_id: The ID of the load balancing instance.
173
+ :param pulumi.Input[str] vswitch_id: The VSwitch corresponding to the zone. By default, each zone uses one VSwitch and one subnet.
174
+ :param pulumi.Input[str] zone_id: The ID of the zone.
175
+ """
176
+ ...
177
+ @overload
178
+ def __init__(__self__,
179
+ resource_name: str,
180
+ args: LoadBalancerZoneShiftedAttachmentArgs,
181
+ opts: Optional[pulumi.ResourceOptions] = None):
182
+ """
183
+ Provides a Application Load Balancer (ALB) Load Balancer Zone Shifted Attachment resource.
184
+
185
+ Application load balancer start-stop zone.
186
+
187
+ For information about Application Load Balancer (ALB) Load Balancer Zone Shifted Attachment and how to use it, see [What is Load Balancer Zone Shifted Attachment](https://www.alibabacloud.com/help/en/).
188
+
189
+ > **NOTE:** Available since v1.242.0.
190
+
191
+ ## Import
192
+
193
+ Application Load Balancer (ALB) Load Balancer Zone Shifted Attachment can be imported using the id, e.g.
194
+
195
+ ```sh
196
+ $ pulumi import alicloud:alb/loadBalancerZoneShiftedAttachment:LoadBalancerZoneShiftedAttachment example <load_balancer_id>:<vswitch_id>:<zone_id>
197
+ ```
198
+
199
+ :param str resource_name: The name of the resource.
200
+ :param LoadBalancerZoneShiftedAttachmentArgs args: The arguments to use to populate this resource's properties.
201
+ :param pulumi.ResourceOptions opts: Options for the resource.
202
+ """
203
+ ...
204
+ def __init__(__self__, resource_name: str, *args, **kwargs):
205
+ resource_args, opts = _utilities.get_resource_args_opts(LoadBalancerZoneShiftedAttachmentArgs, pulumi.ResourceOptions, *args, **kwargs)
206
+ if resource_args is not None:
207
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
208
+ else:
209
+ __self__._internal_init(resource_name, *args, **kwargs)
210
+
211
+ def _internal_init(__self__,
212
+ resource_name: str,
213
+ opts: Optional[pulumi.ResourceOptions] = None,
214
+ load_balancer_id: Optional[pulumi.Input[str]] = None,
215
+ vswitch_id: Optional[pulumi.Input[str]] = None,
216
+ zone_id: Optional[pulumi.Input[str]] = None,
217
+ __props__=None):
218
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
219
+ if not isinstance(opts, pulumi.ResourceOptions):
220
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
221
+ if opts.id is None:
222
+ if __props__ is not None:
223
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
224
+ __props__ = LoadBalancerZoneShiftedAttachmentArgs.__new__(LoadBalancerZoneShiftedAttachmentArgs)
225
+
226
+ if load_balancer_id is None and not opts.urn:
227
+ raise TypeError("Missing required property 'load_balancer_id'")
228
+ __props__.__dict__["load_balancer_id"] = load_balancer_id
229
+ if vswitch_id is None and not opts.urn:
230
+ raise TypeError("Missing required property 'vswitch_id'")
231
+ __props__.__dict__["vswitch_id"] = vswitch_id
232
+ if zone_id is None and not opts.urn:
233
+ raise TypeError("Missing required property 'zone_id'")
234
+ __props__.__dict__["zone_id"] = zone_id
235
+ __props__.__dict__["status"] = None
236
+ super(LoadBalancerZoneShiftedAttachment, __self__).__init__(
237
+ 'alicloud:alb/loadBalancerZoneShiftedAttachment:LoadBalancerZoneShiftedAttachment',
238
+ resource_name,
239
+ __props__,
240
+ opts)
241
+
242
+ @staticmethod
243
+ def get(resource_name: str,
244
+ id: pulumi.Input[str],
245
+ opts: Optional[pulumi.ResourceOptions] = None,
246
+ load_balancer_id: Optional[pulumi.Input[str]] = None,
247
+ status: Optional[pulumi.Input[str]] = None,
248
+ vswitch_id: Optional[pulumi.Input[str]] = None,
249
+ zone_id: Optional[pulumi.Input[str]] = None) -> 'LoadBalancerZoneShiftedAttachment':
250
+ """
251
+ Get an existing LoadBalancerZoneShiftedAttachment resource's state with the given name, id, and optional extra
252
+ properties used to qualify the lookup.
253
+
254
+ :param str resource_name: The unique name of the resulting resource.
255
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
256
+ :param pulumi.ResourceOptions opts: Options for the resource.
257
+ :param pulumi.Input[str] load_balancer_id: The ID of the load balancing instance.
258
+ :param pulumi.Input[str] status: Availability zone status. Value:
259
+ :param pulumi.Input[str] vswitch_id: The VSwitch corresponding to the zone. By default, each zone uses one VSwitch and one subnet.
260
+ :param pulumi.Input[str] zone_id: The ID of the zone.
261
+ """
262
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
263
+
264
+ __props__ = _LoadBalancerZoneShiftedAttachmentState.__new__(_LoadBalancerZoneShiftedAttachmentState)
265
+
266
+ __props__.__dict__["load_balancer_id"] = load_balancer_id
267
+ __props__.__dict__["status"] = status
268
+ __props__.__dict__["vswitch_id"] = vswitch_id
269
+ __props__.__dict__["zone_id"] = zone_id
270
+ return LoadBalancerZoneShiftedAttachment(resource_name, opts=opts, __props__=__props__)
271
+
272
+ @property
273
+ @pulumi.getter(name="loadBalancerId")
274
+ def load_balancer_id(self) -> pulumi.Output[str]:
275
+ """
276
+ The ID of the load balancing instance.
277
+ """
278
+ return pulumi.get(self, "load_balancer_id")
279
+
280
+ @property
281
+ @pulumi.getter
282
+ def status(self) -> pulumi.Output[str]:
283
+ """
284
+ Availability zone status. Value:
285
+ """
286
+ return pulumi.get(self, "status")
287
+
288
+ @property
289
+ @pulumi.getter(name="vswitchId")
290
+ def vswitch_id(self) -> pulumi.Output[str]:
291
+ """
292
+ The VSwitch corresponding to the zone. By default, each zone uses one VSwitch and one subnet.
293
+ """
294
+ return pulumi.get(self, "vswitch_id")
295
+
296
+ @property
297
+ @pulumi.getter(name="zoneId")
298
+ def zone_id(self) -> pulumi.Output[str]:
299
+ """
300
+ The ID of the zone.
301
+ """
302
+ return pulumi.get(self, "zone_id")
303
+