pulumi-alicloud 3.75.0a1741324537__py3-none-any.whl → 3.75.0a1741376340__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 (164) hide show
  1. pulumi_alicloud/__init__.py +230 -0
  2. pulumi_alicloud/_inputs.py +33 -0
  3. pulumi_alicloud/ackone/__init__.py +1 -0
  4. pulumi_alicloud/ackone/cluster.py +73 -8
  5. pulumi_alicloud/ackone/membership_attachment.py +223 -0
  6. pulumi_alicloud/alb/_inputs.py +217 -17
  7. pulumi_alicloud/alb/load_balancer.py +7 -35
  8. pulumi_alicloud/alb/load_balancer_security_group_attachment.py +69 -22
  9. pulumi_alicloud/alb/outputs.py +150 -12
  10. pulumi_alicloud/alb/server_group.py +197 -42
  11. pulumi_alicloud/aligreen/audit_callback.py +2 -2
  12. pulumi_alicloud/aligreen/biz_type.py +2 -2
  13. pulumi_alicloud/aligreen/callback.py +2 -2
  14. pulumi_alicloud/aligreen/image_lib.py +2 -2
  15. pulumi_alicloud/aligreen/keyword_lib.py +2 -2
  16. pulumi_alicloud/aligreen/oss_stock_task.py +77 -14
  17. pulumi_alicloud/apigateway/instance.py +51 -4
  18. pulumi_alicloud/cfg/aggregate_compliance_pack.py +6 -4
  19. pulumi_alicloud/cfg/aggregate_config_rule.py +6 -4
  20. pulumi_alicloud/cfg/aggregator.py +6 -4
  21. pulumi_alicloud/cloudcontrol/get_prices.py +2 -2
  22. pulumi_alicloud/cloudcontrol/get_products.py +2 -2
  23. pulumi_alicloud/cloudcontrol/get_resource_types.py +2 -2
  24. pulumi_alicloud/cloudcontrol/resource.py +2 -2
  25. pulumi_alicloud/cloudfirewall/__init__.py +2 -0
  26. pulumi_alicloud/cloudfirewall/get_nat_firewalls.py +315 -0
  27. pulumi_alicloud/cloudfirewall/get_vpc_cen_tr_firewalls.py +569 -0
  28. pulumi_alicloud/cloudfirewall/outputs.py +362 -0
  29. pulumi_alicloud/cloudphone/__init__.py +12 -0
  30. pulumi_alicloud/cloudphone/_inputs.py +175 -0
  31. pulumi_alicloud/cloudphone/image.py +323 -0
  32. pulumi_alicloud/cloudphone/key_pair.py +294 -0
  33. pulumi_alicloud/cloudphone/outputs.py +138 -0
  34. pulumi_alicloud/cloudphone/policy.py +522 -0
  35. pulumi_alicloud/cloudphoneinstance/__init__.py +9 -0
  36. pulumi_alicloud/cloudphoneinstance/cloud_phone_instance.py +209 -0
  37. pulumi_alicloud/cloudphoneinstance/group.py +961 -0
  38. pulumi_alicloud/cms/get_site_monitors.py +2 -2
  39. pulumi_alicloud/config/outputs.py +20 -0
  40. pulumi_alicloud/cs/_inputs.py +9 -9
  41. pulumi_alicloud/cs/get_kubernetes_clusters.py +5 -4
  42. pulumi_alicloud/cs/get_managed_kubernetes_clusters.py +5 -4
  43. pulumi_alicloud/cs/get_serverless_kubernetes_clusters.py +5 -4
  44. pulumi_alicloud/cs/managed_kubernetes.py +47 -35
  45. pulumi_alicloud/cs/node_pool.py +49 -21
  46. pulumi_alicloud/cs/outputs.py +6 -6
  47. pulumi_alicloud/ddos/ddos_bgp_instance.py +0 -4
  48. pulumi_alicloud/dfs/vsc_mount_point.py +28 -28
  49. pulumi_alicloud/dns/ddos_bgp_instance.py +0 -4
  50. pulumi_alicloud/ebs/replica_group_drill.py +2 -2
  51. pulumi_alicloud/ebs/replica_pair_drill.py +2 -2
  52. pulumi_alicloud/ecs/ecs_deployment_set.py +89 -67
  53. pulumi_alicloud/ecs/eip.py +1 -1
  54. pulumi_alicloud/ecs/eip_address.py +1 -1
  55. pulumi_alicloud/ecs/instance.py +43 -30
  56. pulumi_alicloud/eds/command.py +10 -2
  57. pulumi_alicloud/emrv2/__init__.py +1 -0
  58. pulumi_alicloud/emrv2/_inputs.py +47 -7
  59. pulumi_alicloud/emrv2/get_cluster_instances.py +537 -0
  60. pulumi_alicloud/emrv2/outputs.py +195 -5
  61. pulumi_alicloud/ens/instance_security_group_attachment.py +8 -4
  62. pulumi_alicloud/ens/nat_gateway.py +6 -6
  63. pulumi_alicloud/ens/vswitch.py +36 -36
  64. pulumi_alicloud/esa/__init__.py +19 -0
  65. pulumi_alicloud/esa/_inputs.py +431 -0
  66. pulumi_alicloud/esa/cache_rule.py +1405 -0
  67. pulumi_alicloud/esa/certificate.py +724 -0
  68. pulumi_alicloud/esa/client_ca_certificate.py +388 -0
  69. pulumi_alicloud/esa/client_certificate.py +452 -0
  70. pulumi_alicloud/esa/compression_rule.py +582 -0
  71. pulumi_alicloud/esa/get_sites.py +421 -0
  72. pulumi_alicloud/esa/http_request_header_modification_rule.py +2 -2
  73. pulumi_alicloud/esa/http_response_header_modification_rule.py +560 -0
  74. pulumi_alicloud/esa/https_application_configuration.py +925 -0
  75. pulumi_alicloud/esa/https_basic_configuration.py +1027 -0
  76. pulumi_alicloud/esa/image_transform.py +484 -0
  77. pulumi_alicloud/esa/kv_namespace.py +276 -0
  78. pulumi_alicloud/esa/list.py +2 -2
  79. pulumi_alicloud/esa/network_optimization.py +750 -0
  80. pulumi_alicloud/esa/origin_pool.py +485 -0
  81. pulumi_alicloud/esa/origin_rule.py +768 -0
  82. pulumi_alicloud/esa/outputs.py +425 -0
  83. pulumi_alicloud/esa/page.py +2 -2
  84. pulumi_alicloud/esa/rate_plan_instance.py +2 -2
  85. pulumi_alicloud/esa/record.py +2 -2
  86. pulumi_alicloud/esa/redirect_rule.py +734 -0
  87. pulumi_alicloud/esa/rewrite_url_rule.py +702 -0
  88. pulumi_alicloud/esa/site.py +307 -2
  89. pulumi_alicloud/esa/waiting_room.py +1257 -0
  90. pulumi_alicloud/esa/waiting_room_event.py +1392 -0
  91. pulumi_alicloud/esa/waiting_room_rule.py +504 -0
  92. pulumi_alicloud/ess/scaling_configuration.py +7 -7
  93. pulumi_alicloud/expressconnect/ec_failover_test_job.py +0 -2
  94. pulumi_alicloud/expressconnect/vbr_pconn_association.py +2 -2
  95. pulumi_alicloud/ga/get_basic_accelerators.py +31 -9
  96. pulumi_alicloud/ga/outputs.py +10 -4
  97. pulumi_alicloud/gpdb/db_resource_group.py +6 -6
  98. pulumi_alicloud/gpdb/external_data_service.py +6 -6
  99. pulumi_alicloud/gpdb/streaming_data_service.py +2 -2
  100. pulumi_alicloud/hbr/policy.py +67 -6
  101. pulumi_alicloud/hbr/vault.py +210 -9
  102. pulumi_alicloud/kms/get_keys.py +10 -0
  103. pulumi_alicloud/message/__init__.py +3 -0
  104. pulumi_alicloud/message/_inputs.py +149 -0
  105. pulumi_alicloud/message/outputs.py +112 -0
  106. pulumi_alicloud/message/service_endpoint.py +218 -0
  107. pulumi_alicloud/message/service_endpoint_acl.py +306 -0
  108. pulumi_alicloud/message/service_queue.py +49 -0
  109. pulumi_alicloud/message/service_subscription.py +91 -14
  110. pulumi_alicloud/mse/nacos_config.py +4 -0
  111. pulumi_alicloud/nlb/_inputs.py +114 -24
  112. pulumi_alicloud/nlb/listener.py +87 -20
  113. pulumi_alicloud/nlb/outputs.py +93 -16
  114. pulumi_alicloud/nlb/server_group.py +55 -20
  115. pulumi_alicloud/ots/_inputs.py +3 -3
  116. pulumi_alicloud/ots/outputs.py +2 -2
  117. pulumi_alicloud/pai/workspace_code_source.py +2 -2
  118. pulumi_alicloud/pai/workspace_dataset.py +2 -2
  119. pulumi_alicloud/pai/workspace_datasetversion.py +2 -4
  120. pulumi_alicloud/pai/workspace_experiment.py +2 -2
  121. pulumi_alicloud/pai/workspace_run.py +2 -2
  122. pulumi_alicloud/pai/workspace_workspace.py +2 -2
  123. pulumi_alicloud/privatelink/get_vpc_endpoints.py +21 -1
  124. pulumi_alicloud/privatelink/outputs.py +11 -0
  125. pulumi_alicloud/privatelink/vpc_endpoint.py +1 -1
  126. pulumi_alicloud/pulumi-plugin.json +1 -1
  127. pulumi_alicloud/ram/access_key.py +20 -4
  128. pulumi_alicloud/ram/user.py +10 -2
  129. pulumi_alicloud/rds/instance.py +7 -0
  130. pulumi_alicloud/simpleapplicationserver/get_server_plans.py +7 -7
  131. pulumi_alicloud/simpleapplicationserver/outputs.py +3 -3
  132. pulumi_alicloud/tag/__init__.py +1 -0
  133. pulumi_alicloud/tag/associated_rule.py +306 -0
  134. pulumi_alicloud/tag/policy.py +27 -36
  135. pulumi_alicloud/vpc/__init__.py +1 -0
  136. pulumi_alicloud/vpc/common_bandwith_package.py +107 -44
  137. pulumi_alicloud/vpc/common_bandwith_package_attachment.py +2 -2
  138. pulumi_alicloud/vpc/flow_log.py +184 -49
  139. pulumi_alicloud/vpc/forward_entry.py +8 -4
  140. pulumi_alicloud/vpc/get_enhanced_nat_available_zones.py +38 -2
  141. pulumi_alicloud/vpc/get_forward_entries.py +2 -2
  142. pulumi_alicloud/vpc/get_ipsec_servers.py +14 -2
  143. pulumi_alicloud/vpc/get_nat_gateways.py +48 -2
  144. pulumi_alicloud/vpc/get_prefix_lists.py +11 -2
  145. pulumi_alicloud/vpc/get_snat_entries.py +5 -2
  146. pulumi_alicloud/vpc/get_traffic_mirror_filters.py +14 -2
  147. pulumi_alicloud/vpc/ipam_ipam.py +2 -9
  148. pulumi_alicloud/vpc/ipam_ipam_pool.py +2 -30
  149. pulumi_alicloud/vpc/ipam_ipam_pool_allocation.py +6 -16
  150. pulumi_alicloud/vpc/ipam_ipam_pool_cidr.py +2 -2
  151. pulumi_alicloud/vpc/ipam_ipam_resource_discovery.py +489 -0
  152. pulumi_alicloud/vpc/ipam_ipam_scope.py +2 -9
  153. pulumi_alicloud/vpc/nat_gateway.py +8 -0
  154. pulumi_alicloud/vpc/outputs.py +12 -2
  155. pulumi_alicloud/vpc/router_interface_connection.py +4 -4
  156. pulumi_alicloud/vpc/traffic_mirror_filter.py +2 -2
  157. pulumi_alicloud/vpn/get_gateway_vco_routes.py +11 -2
  158. pulumi_alicloud/vpn/get_gateway_vpn_attachments.py +11 -2
  159. pulumi_alicloud/vpn/get_gateways.py +21 -1
  160. pulumi_alicloud/vpn/outputs.py +23 -12
  161. {pulumi_alicloud-3.75.0a1741324537.dist-info → pulumi_alicloud-3.75.0a1741376340.dist-info}/METADATA +1 -1
  162. {pulumi_alicloud-3.75.0a1741324537.dist-info → pulumi_alicloud-3.75.0a1741376340.dist-info}/RECORD +164 -127
  163. {pulumi_alicloud-3.75.0a1741324537.dist-info → pulumi_alicloud-3.75.0a1741376340.dist-info}/WHEEL +0 -0
  164. {pulumi_alicloud-3.75.0a1741324537.dist-info → pulumi_alicloud-3.75.0a1741376340.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,504 @@
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__ = ['WaitingRoomRuleArgs', 'WaitingRoomRule']
18
+
19
+ @pulumi.input_type
20
+ class WaitingRoomRuleArgs:
21
+ def __init__(__self__, *,
22
+ rule: pulumi.Input[str],
23
+ rule_name: pulumi.Input[str],
24
+ site_id: pulumi.Input[int],
25
+ status: pulumi.Input[str],
26
+ waiting_room_id: pulumi.Input[str]):
27
+ """
28
+ The set of arguments for constructing a WaitingRoomRule resource.
29
+ :param pulumi.Input[str] rule: Specifies whether to enable the rule. Valid values:
30
+
31
+ - on
32
+ - off
33
+ :param pulumi.Input[str] rule_name: Optional. The rule ID, which can be used to query a specific rule.
34
+ :param pulumi.Input[int] site_id: The site ID, which can be obtained by calling the ListSites API.
35
+ :param pulumi.Input[str] status: The rule name.
36
+ :param pulumi.Input[str] waiting_room_id: The website ID, which can be obtained by calling the [ListSites](https://www.alibabacloud.com/help/en/doc-detail/2850189.html) operation.
37
+ """
38
+ pulumi.set(__self__, "rule", rule)
39
+ pulumi.set(__self__, "rule_name", rule_name)
40
+ pulumi.set(__self__, "site_id", site_id)
41
+ pulumi.set(__self__, "status", status)
42
+ pulumi.set(__self__, "waiting_room_id", waiting_room_id)
43
+
44
+ @property
45
+ @pulumi.getter
46
+ def rule(self) -> pulumi.Input[str]:
47
+ """
48
+ Specifies whether to enable the rule. Valid values:
49
+
50
+ - on
51
+ - off
52
+ """
53
+ return pulumi.get(self, "rule")
54
+
55
+ @rule.setter
56
+ def rule(self, value: pulumi.Input[str]):
57
+ pulumi.set(self, "rule", value)
58
+
59
+ @property
60
+ @pulumi.getter(name="ruleName")
61
+ def rule_name(self) -> pulumi.Input[str]:
62
+ """
63
+ Optional. The rule ID, which can be used to query a specific rule.
64
+ """
65
+ return pulumi.get(self, "rule_name")
66
+
67
+ @rule_name.setter
68
+ def rule_name(self, value: pulumi.Input[str]):
69
+ pulumi.set(self, "rule_name", value)
70
+
71
+ @property
72
+ @pulumi.getter(name="siteId")
73
+ def site_id(self) -> pulumi.Input[int]:
74
+ """
75
+ The site ID, which can be obtained by calling the ListSites API.
76
+ """
77
+ return pulumi.get(self, "site_id")
78
+
79
+ @site_id.setter
80
+ def site_id(self, value: pulumi.Input[int]):
81
+ pulumi.set(self, "site_id", value)
82
+
83
+ @property
84
+ @pulumi.getter
85
+ def status(self) -> pulumi.Input[str]:
86
+ """
87
+ The rule name.
88
+ """
89
+ return pulumi.get(self, "status")
90
+
91
+ @status.setter
92
+ def status(self, value: pulumi.Input[str]):
93
+ pulumi.set(self, "status", value)
94
+
95
+ @property
96
+ @pulumi.getter(name="waitingRoomId")
97
+ def waiting_room_id(self) -> pulumi.Input[str]:
98
+ """
99
+ The website ID, which can be obtained by calling the [ListSites](https://www.alibabacloud.com/help/en/doc-detail/2850189.html) operation.
100
+ """
101
+ return pulumi.get(self, "waiting_room_id")
102
+
103
+ @waiting_room_id.setter
104
+ def waiting_room_id(self, value: pulumi.Input[str]):
105
+ pulumi.set(self, "waiting_room_id", value)
106
+
107
+
108
+ @pulumi.input_type
109
+ class _WaitingRoomRuleState:
110
+ def __init__(__self__, *,
111
+ rule: Optional[pulumi.Input[str]] = None,
112
+ rule_name: Optional[pulumi.Input[str]] = None,
113
+ site_id: Optional[pulumi.Input[int]] = None,
114
+ status: Optional[pulumi.Input[str]] = None,
115
+ waiting_room_id: Optional[pulumi.Input[str]] = None,
116
+ waiting_room_rule_id: Optional[pulumi.Input[int]] = None):
117
+ """
118
+ Input properties used for looking up and filtering WaitingRoomRule resources.
119
+ :param pulumi.Input[str] rule: Specifies whether to enable the rule. Valid values:
120
+
121
+ - on
122
+ - off
123
+ :param pulumi.Input[str] rule_name: Optional. The rule ID, which can be used to query a specific rule.
124
+ :param pulumi.Input[int] site_id: The site ID, which can be obtained by calling the ListSites API.
125
+ :param pulumi.Input[str] status: The rule name.
126
+ :param pulumi.Input[str] waiting_room_id: The website ID, which can be obtained by calling the [ListSites](https://www.alibabacloud.com/help/en/doc-detail/2850189.html) operation.
127
+ :param pulumi.Input[int] waiting_room_rule_id: WaitingRoomRuleId Id
128
+ """
129
+ if rule is not None:
130
+ pulumi.set(__self__, "rule", rule)
131
+ if rule_name is not None:
132
+ pulumi.set(__self__, "rule_name", rule_name)
133
+ if site_id is not None:
134
+ pulumi.set(__self__, "site_id", site_id)
135
+ if status is not None:
136
+ pulumi.set(__self__, "status", status)
137
+ if waiting_room_id is not None:
138
+ pulumi.set(__self__, "waiting_room_id", waiting_room_id)
139
+ if waiting_room_rule_id is not None:
140
+ pulumi.set(__self__, "waiting_room_rule_id", waiting_room_rule_id)
141
+
142
+ @property
143
+ @pulumi.getter
144
+ def rule(self) -> Optional[pulumi.Input[str]]:
145
+ """
146
+ Specifies whether to enable the rule. Valid values:
147
+
148
+ - on
149
+ - off
150
+ """
151
+ return pulumi.get(self, "rule")
152
+
153
+ @rule.setter
154
+ def rule(self, value: Optional[pulumi.Input[str]]):
155
+ pulumi.set(self, "rule", value)
156
+
157
+ @property
158
+ @pulumi.getter(name="ruleName")
159
+ def rule_name(self) -> Optional[pulumi.Input[str]]:
160
+ """
161
+ Optional. The rule ID, which can be used to query a specific rule.
162
+ """
163
+ return pulumi.get(self, "rule_name")
164
+
165
+ @rule_name.setter
166
+ def rule_name(self, value: Optional[pulumi.Input[str]]):
167
+ pulumi.set(self, "rule_name", value)
168
+
169
+ @property
170
+ @pulumi.getter(name="siteId")
171
+ def site_id(self) -> Optional[pulumi.Input[int]]:
172
+ """
173
+ The site ID, which can be obtained by calling the ListSites API.
174
+ """
175
+ return pulumi.get(self, "site_id")
176
+
177
+ @site_id.setter
178
+ def site_id(self, value: Optional[pulumi.Input[int]]):
179
+ pulumi.set(self, "site_id", value)
180
+
181
+ @property
182
+ @pulumi.getter
183
+ def status(self) -> Optional[pulumi.Input[str]]:
184
+ """
185
+ The rule name.
186
+ """
187
+ return pulumi.get(self, "status")
188
+
189
+ @status.setter
190
+ def status(self, value: Optional[pulumi.Input[str]]):
191
+ pulumi.set(self, "status", value)
192
+
193
+ @property
194
+ @pulumi.getter(name="waitingRoomId")
195
+ def waiting_room_id(self) -> Optional[pulumi.Input[str]]:
196
+ """
197
+ The website ID, which can be obtained by calling the [ListSites](https://www.alibabacloud.com/help/en/doc-detail/2850189.html) operation.
198
+ """
199
+ return pulumi.get(self, "waiting_room_id")
200
+
201
+ @waiting_room_id.setter
202
+ def waiting_room_id(self, value: Optional[pulumi.Input[str]]):
203
+ pulumi.set(self, "waiting_room_id", value)
204
+
205
+ @property
206
+ @pulumi.getter(name="waitingRoomRuleId")
207
+ def waiting_room_rule_id(self) -> Optional[pulumi.Input[int]]:
208
+ """
209
+ WaitingRoomRuleId Id
210
+ """
211
+ return pulumi.get(self, "waiting_room_rule_id")
212
+
213
+ @waiting_room_rule_id.setter
214
+ def waiting_room_rule_id(self, value: Optional[pulumi.Input[int]]):
215
+ pulumi.set(self, "waiting_room_rule_id", value)
216
+
217
+
218
+ class WaitingRoomRule(pulumi.CustomResource):
219
+ @overload
220
+ def __init__(__self__,
221
+ resource_name: str,
222
+ opts: Optional[pulumi.ResourceOptions] = None,
223
+ rule: Optional[pulumi.Input[str]] = None,
224
+ rule_name: Optional[pulumi.Input[str]] = None,
225
+ site_id: Optional[pulumi.Input[int]] = None,
226
+ status: Optional[pulumi.Input[str]] = None,
227
+ waiting_room_id: Optional[pulumi.Input[str]] = None,
228
+ __props__=None):
229
+ """
230
+ Provides a ESA Waiting Room Rule resource.
231
+
232
+ For information about ESA Waiting Room Rule and how to use it, see [What is Waiting Room Rule](https://next.api.alibabacloud.com/document/ESA/2024-09-10/CreateWaitingRoomRule).
233
+
234
+ > **NOTE:** Available since v1.244.0.
235
+
236
+ ## Example Usage
237
+
238
+ Basic Usage
239
+
240
+ ```python
241
+ import pulumi
242
+ import pulumi_alicloud as alicloud
243
+
244
+ default = alicloud.esa.get_sites(plan_subscribe_type="enterpriseplan")
245
+ default_site = alicloud.esa.Site("default",
246
+ site_name="terraform.site",
247
+ instance_id=default.sites[0].instance_id,
248
+ coverage="overseas",
249
+ access_type="NS")
250
+ default_waiting_room = alicloud.esa.WaitingRoom("default",
251
+ status="off",
252
+ site_id=default_site.id,
253
+ json_response_enable="off",
254
+ description="example",
255
+ waiting_room_type="default",
256
+ disable_session_renewal_enable="off",
257
+ cookie_name="__aliwaitingroom_example",
258
+ waiting_room_name="waitingroom_example",
259
+ queue_all_enable="off",
260
+ queuing_status_code="200",
261
+ custom_page_html="",
262
+ new_users_per_minute="200",
263
+ session_duration="5",
264
+ language="zhcn",
265
+ total_active_users="300",
266
+ queuing_method="fifo",
267
+ host_name_and_paths=[{
268
+ "domain": "sub_domain.com",
269
+ "path": "/example",
270
+ "subdomain": "example_sub_domain.com.",
271
+ }])
272
+ default_waiting_room_rule = alicloud.esa.WaitingRoomRule("default",
273
+ rule="(http.host eq \\"video.example.com\\")",
274
+ waiting_room_id=default_waiting_room.waiting_room_id,
275
+ rule_name="WaitingRoomRule_example1",
276
+ status="off",
277
+ site_id=default_site.id)
278
+ ```
279
+
280
+ ## Import
281
+
282
+ ESA Waiting Room Rule can be imported using the id, e.g.
283
+
284
+ ```sh
285
+ $ pulumi import alicloud:esa/waitingRoomRule:WaitingRoomRule example <site_id>:<waiting_room_id>:<waiting_room_rule_id>
286
+ ```
287
+
288
+ :param str resource_name: The name of the resource.
289
+ :param pulumi.ResourceOptions opts: Options for the resource.
290
+ :param pulumi.Input[str] rule: Specifies whether to enable the rule. Valid values:
291
+
292
+ - on
293
+ - off
294
+ :param pulumi.Input[str] rule_name: Optional. The rule ID, which can be used to query a specific rule.
295
+ :param pulumi.Input[int] site_id: The site ID, which can be obtained by calling the ListSites API.
296
+ :param pulumi.Input[str] status: The rule name.
297
+ :param pulumi.Input[str] waiting_room_id: The website ID, which can be obtained by calling the [ListSites](https://www.alibabacloud.com/help/en/doc-detail/2850189.html) operation.
298
+ """
299
+ ...
300
+ @overload
301
+ def __init__(__self__,
302
+ resource_name: str,
303
+ args: WaitingRoomRuleArgs,
304
+ opts: Optional[pulumi.ResourceOptions] = None):
305
+ """
306
+ Provides a ESA Waiting Room Rule resource.
307
+
308
+ For information about ESA Waiting Room Rule and how to use it, see [What is Waiting Room Rule](https://next.api.alibabacloud.com/document/ESA/2024-09-10/CreateWaitingRoomRule).
309
+
310
+ > **NOTE:** Available since v1.244.0.
311
+
312
+ ## Example Usage
313
+
314
+ Basic Usage
315
+
316
+ ```python
317
+ import pulumi
318
+ import pulumi_alicloud as alicloud
319
+
320
+ default = alicloud.esa.get_sites(plan_subscribe_type="enterpriseplan")
321
+ default_site = alicloud.esa.Site("default",
322
+ site_name="terraform.site",
323
+ instance_id=default.sites[0].instance_id,
324
+ coverage="overseas",
325
+ access_type="NS")
326
+ default_waiting_room = alicloud.esa.WaitingRoom("default",
327
+ status="off",
328
+ site_id=default_site.id,
329
+ json_response_enable="off",
330
+ description="example",
331
+ waiting_room_type="default",
332
+ disable_session_renewal_enable="off",
333
+ cookie_name="__aliwaitingroom_example",
334
+ waiting_room_name="waitingroom_example",
335
+ queue_all_enable="off",
336
+ queuing_status_code="200",
337
+ custom_page_html="",
338
+ new_users_per_minute="200",
339
+ session_duration="5",
340
+ language="zhcn",
341
+ total_active_users="300",
342
+ queuing_method="fifo",
343
+ host_name_and_paths=[{
344
+ "domain": "sub_domain.com",
345
+ "path": "/example",
346
+ "subdomain": "example_sub_domain.com.",
347
+ }])
348
+ default_waiting_room_rule = alicloud.esa.WaitingRoomRule("default",
349
+ rule="(http.host eq \\"video.example.com\\")",
350
+ waiting_room_id=default_waiting_room.waiting_room_id,
351
+ rule_name="WaitingRoomRule_example1",
352
+ status="off",
353
+ site_id=default_site.id)
354
+ ```
355
+
356
+ ## Import
357
+
358
+ ESA Waiting Room Rule can be imported using the id, e.g.
359
+
360
+ ```sh
361
+ $ pulumi import alicloud:esa/waitingRoomRule:WaitingRoomRule example <site_id>:<waiting_room_id>:<waiting_room_rule_id>
362
+ ```
363
+
364
+ :param str resource_name: The name of the resource.
365
+ :param WaitingRoomRuleArgs args: The arguments to use to populate this resource's properties.
366
+ :param pulumi.ResourceOptions opts: Options for the resource.
367
+ """
368
+ ...
369
+ def __init__(__self__, resource_name: str, *args, **kwargs):
370
+ resource_args, opts = _utilities.get_resource_args_opts(WaitingRoomRuleArgs, pulumi.ResourceOptions, *args, **kwargs)
371
+ if resource_args is not None:
372
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
373
+ else:
374
+ __self__._internal_init(resource_name, *args, **kwargs)
375
+
376
+ def _internal_init(__self__,
377
+ resource_name: str,
378
+ opts: Optional[pulumi.ResourceOptions] = None,
379
+ rule: Optional[pulumi.Input[str]] = None,
380
+ rule_name: Optional[pulumi.Input[str]] = None,
381
+ site_id: Optional[pulumi.Input[int]] = None,
382
+ status: Optional[pulumi.Input[str]] = None,
383
+ waiting_room_id: Optional[pulumi.Input[str]] = None,
384
+ __props__=None):
385
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
386
+ if not isinstance(opts, pulumi.ResourceOptions):
387
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
388
+ if opts.id is None:
389
+ if __props__ is not None:
390
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
391
+ __props__ = WaitingRoomRuleArgs.__new__(WaitingRoomRuleArgs)
392
+
393
+ if rule is None and not opts.urn:
394
+ raise TypeError("Missing required property 'rule'")
395
+ __props__.__dict__["rule"] = rule
396
+ if rule_name is None and not opts.urn:
397
+ raise TypeError("Missing required property 'rule_name'")
398
+ __props__.__dict__["rule_name"] = rule_name
399
+ if site_id is None and not opts.urn:
400
+ raise TypeError("Missing required property 'site_id'")
401
+ __props__.__dict__["site_id"] = site_id
402
+ if status is None and not opts.urn:
403
+ raise TypeError("Missing required property 'status'")
404
+ __props__.__dict__["status"] = status
405
+ if waiting_room_id is None and not opts.urn:
406
+ raise TypeError("Missing required property 'waiting_room_id'")
407
+ __props__.__dict__["waiting_room_id"] = waiting_room_id
408
+ __props__.__dict__["waiting_room_rule_id"] = None
409
+ super(WaitingRoomRule, __self__).__init__(
410
+ 'alicloud:esa/waitingRoomRule:WaitingRoomRule',
411
+ resource_name,
412
+ __props__,
413
+ opts)
414
+
415
+ @staticmethod
416
+ def get(resource_name: str,
417
+ id: pulumi.Input[str],
418
+ opts: Optional[pulumi.ResourceOptions] = None,
419
+ rule: Optional[pulumi.Input[str]] = None,
420
+ rule_name: Optional[pulumi.Input[str]] = None,
421
+ site_id: Optional[pulumi.Input[int]] = None,
422
+ status: Optional[pulumi.Input[str]] = None,
423
+ waiting_room_id: Optional[pulumi.Input[str]] = None,
424
+ waiting_room_rule_id: Optional[pulumi.Input[int]] = None) -> 'WaitingRoomRule':
425
+ """
426
+ Get an existing WaitingRoomRule resource's state with the given name, id, and optional extra
427
+ properties used to qualify the lookup.
428
+
429
+ :param str resource_name: The unique name of the resulting resource.
430
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
431
+ :param pulumi.ResourceOptions opts: Options for the resource.
432
+ :param pulumi.Input[str] rule: Specifies whether to enable the rule. Valid values:
433
+
434
+ - on
435
+ - off
436
+ :param pulumi.Input[str] rule_name: Optional. The rule ID, which can be used to query a specific rule.
437
+ :param pulumi.Input[int] site_id: The site ID, which can be obtained by calling the ListSites API.
438
+ :param pulumi.Input[str] status: The rule name.
439
+ :param pulumi.Input[str] waiting_room_id: The website ID, which can be obtained by calling the [ListSites](https://www.alibabacloud.com/help/en/doc-detail/2850189.html) operation.
440
+ :param pulumi.Input[int] waiting_room_rule_id: WaitingRoomRuleId Id
441
+ """
442
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
443
+
444
+ __props__ = _WaitingRoomRuleState.__new__(_WaitingRoomRuleState)
445
+
446
+ __props__.__dict__["rule"] = rule
447
+ __props__.__dict__["rule_name"] = rule_name
448
+ __props__.__dict__["site_id"] = site_id
449
+ __props__.__dict__["status"] = status
450
+ __props__.__dict__["waiting_room_id"] = waiting_room_id
451
+ __props__.__dict__["waiting_room_rule_id"] = waiting_room_rule_id
452
+ return WaitingRoomRule(resource_name, opts=opts, __props__=__props__)
453
+
454
+ @property
455
+ @pulumi.getter
456
+ def rule(self) -> pulumi.Output[str]:
457
+ """
458
+ Specifies whether to enable the rule. Valid values:
459
+
460
+ - on
461
+ - off
462
+ """
463
+ return pulumi.get(self, "rule")
464
+
465
+ @property
466
+ @pulumi.getter(name="ruleName")
467
+ def rule_name(self) -> pulumi.Output[str]:
468
+ """
469
+ Optional. The rule ID, which can be used to query a specific rule.
470
+ """
471
+ return pulumi.get(self, "rule_name")
472
+
473
+ @property
474
+ @pulumi.getter(name="siteId")
475
+ def site_id(self) -> pulumi.Output[int]:
476
+ """
477
+ The site ID, which can be obtained by calling the ListSites API.
478
+ """
479
+ return pulumi.get(self, "site_id")
480
+
481
+ @property
482
+ @pulumi.getter
483
+ def status(self) -> pulumi.Output[str]:
484
+ """
485
+ The rule name.
486
+ """
487
+ return pulumi.get(self, "status")
488
+
489
+ @property
490
+ @pulumi.getter(name="waitingRoomId")
491
+ def waiting_room_id(self) -> pulumi.Output[str]:
492
+ """
493
+ The website ID, which can be obtained by calling the [ListSites](https://www.alibabacloud.com/help/en/doc-detail/2850189.html) operation.
494
+ """
495
+ return pulumi.get(self, "waiting_room_id")
496
+
497
+ @property
498
+ @pulumi.getter(name="waitingRoomRuleId")
499
+ def waiting_room_rule_id(self) -> pulumi.Output[int]:
500
+ """
501
+ WaitingRoomRuleId Id
502
+ """
503
+ return pulumi.get(self, "waiting_room_rule_id")
504
+
@@ -140,7 +140,7 @@ class ScalingConfigurationArgs:
140
140
  :param pulumi.Input[str] system_disk_name: The name of the system disk. It must be 2 to 128 characters in length. It must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-). Default value: null.
141
141
  :param pulumi.Input[str] system_disk_performance_level: The performance level of the ESSD used as the system disk.
142
142
  :param pulumi.Input[int] system_disk_provisioned_iops: IOPS measures the number of read and write operations that an EBS device can process per second.
143
- :param pulumi.Input[int] system_disk_size: Size of system disk, in GiB. Optional values: cloud: 20-500, cloud_efficiency: 20-500, cloud_ssd: 20-500, ephemeral_ssd: 20-500 The default value is max{40, ImageSize}. If this parameter is set, the system disk size must be greater than or equal to max{40, ImageSize}.
143
+ :param pulumi.Input[int] system_disk_size: Size of system disk, in GiB. Valid values: Basic disk: 20 to 500, ESSD: The valid values depend on the performance level (PL) of the system disk (PL0 ESSD: 1 to 2048, PL1 ESSD: 20 to 2048, PL2 ESSD: 461 to 2048, PL3 ESSD: 1261 to 2048) , ESSD AutoPL disk: 1 to 2048, Other disk categories: 20 to 2048. The value of this parameter must be at least 1 and greater than or equal to the image size. Default value: 40 or the size of the image, whichever is larger.
144
144
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource. It will be applied for ECS instances finally.
145
145
  - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string.
146
146
  - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string.
@@ -878,7 +878,7 @@ class ScalingConfigurationArgs:
878
878
  @pulumi.getter(name="systemDiskSize")
879
879
  def system_disk_size(self) -> Optional[pulumi.Input[int]]:
880
880
  """
881
- Size of system disk, in GiB. Optional values: cloud: 20-500, cloud_efficiency: 20-500, cloud_ssd: 20-500, ephemeral_ssd: 20-500 The default value is max{40, ImageSize}. If this parameter is set, the system disk size must be greater than or equal to max{40, ImageSize}.
881
+ Size of system disk, in GiB. Valid values: Basic disk: 20 to 500, ESSD: The valid values depend on the performance level (PL) of the system disk (PL0 ESSD: 1 to 2048, PL1 ESSD: 20 to 2048, PL2 ESSD: 461 to 2048, PL3 ESSD: 1261 to 2048) , ESSD AutoPL disk: 1 to 2048, Other disk categories: 20 to 2048. The value of this parameter must be at least 1 and greater than or equal to the image size. Default value: 40 or the size of the image, whichever is larger.
882
882
  """
883
883
  return pulumi.get(self, "system_disk_size")
884
884
 
@@ -1035,7 +1035,7 @@ class _ScalingConfigurationState:
1035
1035
  :param pulumi.Input[str] system_disk_name: The name of the system disk. It must be 2 to 128 characters in length. It must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-). Default value: null.
1036
1036
  :param pulumi.Input[str] system_disk_performance_level: The performance level of the ESSD used as the system disk.
1037
1037
  :param pulumi.Input[int] system_disk_provisioned_iops: IOPS measures the number of read and write operations that an EBS device can process per second.
1038
- :param pulumi.Input[int] system_disk_size: Size of system disk, in GiB. Optional values: cloud: 20-500, cloud_efficiency: 20-500, cloud_ssd: 20-500, ephemeral_ssd: 20-500 The default value is max{40, ImageSize}. If this parameter is set, the system disk size must be greater than or equal to max{40, ImageSize}.
1038
+ :param pulumi.Input[int] system_disk_size: Size of system disk, in GiB. Valid values: Basic disk: 20 to 500, ESSD: The valid values depend on the performance level (PL) of the system disk (PL0 ESSD: 1 to 2048, PL1 ESSD: 20 to 2048, PL2 ESSD: 461 to 2048, PL3 ESSD: 1261 to 2048) , ESSD AutoPL disk: 1 to 2048, Other disk categories: 20 to 2048. The value of this parameter must be at least 1 and greater than or equal to the image size. Default value: 40 or the size of the image, whichever is larger.
1039
1039
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource. It will be applied for ECS instances finally.
1040
1040
  - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string.
1041
1041
  - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string.
@@ -1774,7 +1774,7 @@ class _ScalingConfigurationState:
1774
1774
  @pulumi.getter(name="systemDiskSize")
1775
1775
  def system_disk_size(self) -> Optional[pulumi.Input[int]]:
1776
1776
  """
1777
- Size of system disk, in GiB. Optional values: cloud: 20-500, cloud_efficiency: 20-500, cloud_ssd: 20-500, ephemeral_ssd: 20-500 The default value is max{40, ImageSize}. If this parameter is set, the system disk size must be greater than or equal to max{40, ImageSize}.
1777
+ Size of system disk, in GiB. Valid values: Basic disk: 20 to 500, ESSD: The valid values depend on the performance level (PL) of the system disk (PL0 ESSD: 1 to 2048, PL1 ESSD: 20 to 2048, PL2 ESSD: 461 to 2048, PL3 ESSD: 1261 to 2048) , ESSD AutoPL disk: 1 to 2048, Other disk categories: 20 to 2048. The value of this parameter must be at least 1 and greater than or equal to the image size. Default value: 40 or the size of the image, whichever is larger.
1778
1778
  """
1779
1779
  return pulumi.get(self, "system_disk_size")
1780
1780
 
@@ -2015,7 +2015,7 @@ class ScalingConfiguration(pulumi.CustomResource):
2015
2015
  :param pulumi.Input[str] system_disk_name: The name of the system disk. It must be 2 to 128 characters in length. It must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-). Default value: null.
2016
2016
  :param pulumi.Input[str] system_disk_performance_level: The performance level of the ESSD used as the system disk.
2017
2017
  :param pulumi.Input[int] system_disk_provisioned_iops: IOPS measures the number of read and write operations that an EBS device can process per second.
2018
- :param pulumi.Input[int] system_disk_size: Size of system disk, in GiB. Optional values: cloud: 20-500, cloud_efficiency: 20-500, cloud_ssd: 20-500, ephemeral_ssd: 20-500 The default value is max{40, ImageSize}. If this parameter is set, the system disk size must be greater than or equal to max{40, ImageSize}.
2018
+ :param pulumi.Input[int] system_disk_size: Size of system disk, in GiB. Valid values: Basic disk: 20 to 500, ESSD: The valid values depend on the performance level (PL) of the system disk (PL0 ESSD: 1 to 2048, PL1 ESSD: 20 to 2048, PL2 ESSD: 461 to 2048, PL3 ESSD: 1261 to 2048) , ESSD AutoPL disk: 1 to 2048, Other disk categories: 20 to 2048. The value of this parameter must be at least 1 and greater than or equal to the image size. Default value: 40 or the size of the image, whichever is larger.
2019
2019
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource. It will be applied for ECS instances finally.
2020
2020
  - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string.
2021
2021
  - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string.
@@ -2374,7 +2374,7 @@ class ScalingConfiguration(pulumi.CustomResource):
2374
2374
  :param pulumi.Input[str] system_disk_name: The name of the system disk. It must be 2 to 128 characters in length. It must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-). Default value: null.
2375
2375
  :param pulumi.Input[str] system_disk_performance_level: The performance level of the ESSD used as the system disk.
2376
2376
  :param pulumi.Input[int] system_disk_provisioned_iops: IOPS measures the number of read and write operations that an EBS device can process per second.
2377
- :param pulumi.Input[int] system_disk_size: Size of system disk, in GiB. Optional values: cloud: 20-500, cloud_efficiency: 20-500, cloud_ssd: 20-500, ephemeral_ssd: 20-500 The default value is max{40, ImageSize}. If this parameter is set, the system disk size must be greater than or equal to max{40, ImageSize}.
2377
+ :param pulumi.Input[int] system_disk_size: Size of system disk, in GiB. Valid values: Basic disk: 20 to 500, ESSD: The valid values depend on the performance level (PL) of the system disk (PL0 ESSD: 1 to 2048, PL1 ESSD: 20 to 2048, PL2 ESSD: 461 to 2048, PL3 ESSD: 1261 to 2048) , ESSD AutoPL disk: 1 to 2048, Other disk categories: 20 to 2048. The value of this parameter must be at least 1 and greater than or equal to the image size. Default value: 40 or the size of the image, whichever is larger.
2378
2378
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource. It will be applied for ECS instances finally.
2379
2379
  - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string.
2380
2380
  - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string.
@@ -2859,7 +2859,7 @@ class ScalingConfiguration(pulumi.CustomResource):
2859
2859
  @pulumi.getter(name="systemDiskSize")
2860
2860
  def system_disk_size(self) -> pulumi.Output[Optional[int]]:
2861
2861
  """
2862
- Size of system disk, in GiB. Optional values: cloud: 20-500, cloud_efficiency: 20-500, cloud_ssd: 20-500, ephemeral_ssd: 20-500 The default value is max{40, ImageSize}. If this parameter is set, the system disk size must be greater than or equal to max{40, ImageSize}.
2862
+ Size of system disk, in GiB. Valid values: Basic disk: 20 to 500, ESSD: The valid values depend on the performance level (PL) of the system disk (PL0 ESSD: 1 to 2048, PL1 ESSD: 20 to 2048, PL2 ESSD: 461 to 2048, PL3 ESSD: 1261 to 2048) , ESSD AutoPL disk: 1 to 2048, Other disk categories: 20 to 2048. The value of this parameter must be at least 1 and greater than or equal to the image size. Default value: 40 or the size of the image, whichever is larger.
2863
2863
  """
2864
2864
  return pulumi.get(self, "system_disk_size")
2865
2865
 
@@ -291,7 +291,6 @@ class EcFailoverTestJob(pulumi.CustomResource):
291
291
  resource_ids=[
292
292
  default.ids[0],
293
293
  default.ids[1],
294
- default.ids[2],
295
294
  ],
296
295
  job_duration=1,
297
296
  resource_type="PHYSICALCONNECTION",
@@ -348,7 +347,6 @@ class EcFailoverTestJob(pulumi.CustomResource):
348
347
  resource_ids=[
349
348
  default.ids[0],
350
349
  default.ids[1],
351
- default.ids[2],
352
350
  ],
353
351
  job_duration=1,
354
352
  resource_type="PHYSICALCONNECTION",
@@ -442,7 +442,7 @@ class VbrPconnAssociation(pulumi.CustomResource):
442
442
  example_vbr_pconn_association = alicloud.expressconnect.VbrPconnAssociation("example",
443
443
  peer_gateway_ip="10.0.0.6",
444
444
  local_gateway_ip="10.0.0.5",
445
- physical_connection_id=example.connections[2].id,
445
+ physical_connection_id=example.connections[1].id,
446
446
  vbr_id=default.id,
447
447
  peering_subnet_mask="255.255.255.252",
448
448
  vlan_id=1122,
@@ -518,7 +518,7 @@ class VbrPconnAssociation(pulumi.CustomResource):
518
518
  example_vbr_pconn_association = alicloud.expressconnect.VbrPconnAssociation("example",
519
519
  peer_gateway_ip="10.0.0.6",
520
520
  local_gateway_ip="10.0.0.5",
521
- physical_connection_id=example.connections[2].id,
521
+ physical_connection_id=example.connections[1].id,
522
522
  vbr_id=default.id,
523
523
  peering_subnet_mask="255.255.255.252",
524
524
  vlan_id=1122,