pulumi-alicloud 3.75.0a1741324537__py3-none-any.whl → 3.76.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 (355) hide show
  1. pulumi_alicloud/__init__.py +501 -4
  2. pulumi_alicloud/_inputs.py +53 -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/actiontrail/global_events_storage_region.py +2 -2
  7. pulumi_alicloud/adb/db_cluster_lake_version.py +458 -49
  8. pulumi_alicloud/alb/_inputs.py +217 -17
  9. pulumi_alicloud/alb/load_balancer.py +7 -35
  10. pulumi_alicloud/alb/load_balancer_access_log_config_attachment.py +2 -2
  11. pulumi_alicloud/alb/load_balancer_security_group_attachment.py +69 -22
  12. pulumi_alicloud/alb/outputs.py +150 -12
  13. pulumi_alicloud/alb/server_group.py +199 -44
  14. pulumi_alicloud/aligreen/audit_callback.py +2 -2
  15. pulumi_alicloud/aligreen/biz_type.py +2 -2
  16. pulumi_alicloud/aligreen/callback.py +2 -2
  17. pulumi_alicloud/aligreen/image_lib.py +2 -2
  18. pulumi_alicloud/aligreen/keyword_lib.py +2 -2
  19. pulumi_alicloud/aligreen/oss_stock_task.py +77 -14
  20. pulumi_alicloud/alikafka/sasl_acl.py +7 -7
  21. pulumi_alicloud/apigateway/_inputs.py +134 -0
  22. pulumi_alicloud/apigateway/group.py +117 -5
  23. pulumi_alicloud/apigateway/instance.py +199 -11
  24. pulumi_alicloud/apigateway/outputs.py +107 -0
  25. pulumi_alicloud/arms/alert_contact.py +2 -2
  26. pulumi_alicloud/arms/alert_contact_group.py +2 -2
  27. pulumi_alicloud/arms/get_prometheus.py +2 -6
  28. pulumi_alicloud/arms/grafana_workspace.py +511 -69
  29. pulumi_alicloud/arms/outputs.py +18 -18
  30. pulumi_alicloud/arms/prometheus_alert_rule.py +2 -2
  31. pulumi_alicloud/arms/prometheus_monitoring.py +2 -2
  32. pulumi_alicloud/cdn/domain_new.py +2 -2
  33. pulumi_alicloud/cen/_inputs.py +6 -3
  34. pulumi_alicloud/cen/get_transit_router_vpn_attachments.py +131 -19
  35. pulumi_alicloud/cen/instance.py +101 -59
  36. pulumi_alicloud/cen/inter_region_traffic_qos_policy.py +126 -81
  37. pulumi_alicloud/cen/inter_region_traffic_qos_queue.py +93 -47
  38. pulumi_alicloud/cen/outputs.py +69 -26
  39. pulumi_alicloud/cen/transit_route_table_aggregation.py +171 -55
  40. pulumi_alicloud/cen/transit_router.py +127 -53
  41. pulumi_alicloud/cen/transit_router_cidr.py +53 -35
  42. pulumi_alicloud/cen/transit_router_ecr_attachment.py +2 -2
  43. pulumi_alicloud/cen/transit_router_peer_attachment.py +360 -143
  44. pulumi_alicloud/cen/transit_router_route_table_association.py +33 -43
  45. pulumi_alicloud/cen/transit_router_vpn_attachment.py +438 -109
  46. pulumi_alicloud/cfg/aggregate_compliance_pack.py +6 -4
  47. pulumi_alicloud/cfg/aggregate_config_rule.py +6 -4
  48. pulumi_alicloud/cfg/aggregator.py +6 -4
  49. pulumi_alicloud/clickhouse/db_cluster.py +179 -6
  50. pulumi_alicloud/clickhouseenterprisedbcluster/__init__.py +14 -0
  51. pulumi_alicloud/clickhouseenterprisedbcluster/_inputs.py +167 -0
  52. pulumi_alicloud/clickhouseenterprisedbcluster/account.py +554 -0
  53. pulumi_alicloud/clickhouseenterprisedbcluster/backup_policy.py +407 -0
  54. pulumi_alicloud/clickhouseenterprisedbcluster/click_house_enterprise_db_cluster.py +641 -0
  55. pulumi_alicloud/clickhouseenterprisedbcluster/outputs.py +147 -0
  56. pulumi_alicloud/clickhouseenterprisedbcluster/public_endpoint.py +364 -0
  57. pulumi_alicloud/clickhouseenterprisedbcluster/security_ip.py +357 -0
  58. pulumi_alicloud/cloudcontrol/get_prices.py +2 -2
  59. pulumi_alicloud/cloudcontrol/get_products.py +2 -2
  60. pulumi_alicloud/cloudcontrol/get_resource_types.py +2 -2
  61. pulumi_alicloud/cloudcontrol/resource.py +2 -2
  62. pulumi_alicloud/cloudfirewall/__init__.py +2 -0
  63. pulumi_alicloud/cloudfirewall/get_nat_firewalls.py +315 -0
  64. pulumi_alicloud/cloudfirewall/get_vpc_cen_tr_firewalls.py +569 -0
  65. pulumi_alicloud/cloudfirewall/outputs.py +362 -0
  66. pulumi_alicloud/cloudphone/__init__.py +12 -0
  67. pulumi_alicloud/cloudphone/_inputs.py +175 -0
  68. pulumi_alicloud/cloudphone/image.py +323 -0
  69. pulumi_alicloud/cloudphone/key_pair.py +294 -0
  70. pulumi_alicloud/cloudphone/outputs.py +138 -0
  71. pulumi_alicloud/cloudphone/policy.py +522 -0
  72. pulumi_alicloud/cloudphoneinstance/__init__.py +9 -0
  73. pulumi_alicloud/cloudphoneinstance/cloud_phone_instance.py +209 -0
  74. pulumi_alicloud/cloudphoneinstance/group.py +961 -0
  75. pulumi_alicloud/cloudsso/scim_server_credential.py +178 -11
  76. pulumi_alicloud/cms/get_site_monitors.py +2 -2
  77. pulumi_alicloud/config/outputs.py +32 -0
  78. pulumi_alicloud/cs/__init__.py +1 -0
  79. pulumi_alicloud/cs/_inputs.py +9 -9
  80. pulumi_alicloud/cs/get_kubernetes_clusters.py +5 -4
  81. pulumi_alicloud/cs/get_kubernetes_node_pools.py +147 -0
  82. pulumi_alicloud/cs/get_managed_kubernetes_clusters.py +5 -4
  83. pulumi_alicloud/cs/get_serverless_kubernetes_clusters.py +5 -4
  84. pulumi_alicloud/cs/managed_kubernetes.py +174 -59
  85. pulumi_alicloud/cs/node_pool.py +91 -63
  86. pulumi_alicloud/cs/outputs.py +1991 -213
  87. pulumi_alicloud/databasefilesystem/service_linked_role.py +2 -2
  88. pulumi_alicloud/dataworks/data_source.py +2 -2
  89. pulumi_alicloud/dataworks/data_source_shared_rule.py +2 -2
  90. pulumi_alicloud/dataworks/di_alarm_rule.py +2 -2
  91. pulumi_alicloud/dataworks/di_job.py +2 -2
  92. pulumi_alicloud/dataworks/dw_resource_group.py +2 -2
  93. pulumi_alicloud/dataworks/network.py +2 -2
  94. pulumi_alicloud/dataworks/project.py +2 -2
  95. pulumi_alicloud/dataworks/project_member.py +2 -2
  96. pulumi_alicloud/dbs/backup_plan.py +2 -2
  97. pulumi_alicloud/ddos/bgp_policy.py +2 -2
  98. pulumi_alicloud/ddos/ddos_bgp_instance.py +0 -4
  99. pulumi_alicloud/dfs/vsc_mount_point.py +28 -28
  100. pulumi_alicloud/dns/ddos_bgp_instance.py +0 -4
  101. pulumi_alicloud/eais/__init__.py +2 -0
  102. pulumi_alicloud/eais/_inputs.py +75 -0
  103. pulumi_alicloud/eais/client_instance_attachment.py +408 -0
  104. pulumi_alicloud/eais/instance.py +365 -118
  105. pulumi_alicloud/eais/outputs.py +32 -0
  106. pulumi_alicloud/ebs/disk_replica_group.py +512 -30
  107. pulumi_alicloud/ebs/disk_replica_pair.py +443 -113
  108. pulumi_alicloud/ebs/enterprise_snapshot_policy.py +2 -2
  109. pulumi_alicloud/ebs/enterprise_snapshot_policy_attachment.py +2 -2
  110. pulumi_alicloud/ebs/replica_group_drill.py +2 -2
  111. pulumi_alicloud/ebs/replica_pair_drill.py +2 -2
  112. pulumi_alicloud/ecp/instance.py +2 -2
  113. pulumi_alicloud/ecp/key_pair.py +4 -4
  114. pulumi_alicloud/ecs/_inputs.py +33 -0
  115. pulumi_alicloud/ecs/disk.py +1 -1
  116. pulumi_alicloud/ecs/ecs_deployment_set.py +89 -67
  117. pulumi_alicloud/ecs/ecs_disk.py +1 -1
  118. pulumi_alicloud/ecs/ecs_launch_template.py +23 -23
  119. pulumi_alicloud/ecs/eip.py +1 -1
  120. pulumi_alicloud/ecs/eip_address.py +1 -1
  121. pulumi_alicloud/ecs/instance.py +44 -31
  122. pulumi_alicloud/ecs/outputs.py +26 -2
  123. pulumi_alicloud/eds/command.py +10 -2
  124. pulumi_alicloud/eflo/__init__.py +5 -0
  125. pulumi_alicloud/eflo/_inputs.py +1717 -0
  126. pulumi_alicloud/eflo/cluster.py +935 -0
  127. pulumi_alicloud/eflo/invocation.py +1114 -0
  128. pulumi_alicloud/eflo/node.py +1013 -0
  129. pulumi_alicloud/eflo/node_group.py +1101 -0
  130. pulumi_alicloud/eflo/outputs.py +1366 -0
  131. pulumi_alicloud/emrv2/__init__.py +1 -0
  132. pulumi_alicloud/emrv2/_inputs.py +47 -7
  133. pulumi_alicloud/emrv2/get_cluster_instances.py +537 -0
  134. pulumi_alicloud/emrv2/outputs.py +195 -5
  135. pulumi_alicloud/ens/eip_instance_attachment.py +2 -2
  136. pulumi_alicloud/ens/image.py +81 -34
  137. pulumi_alicloud/ens/instance_security_group_attachment.py +8 -4
  138. pulumi_alicloud/ens/nat_gateway.py +6 -6
  139. pulumi_alicloud/ens/vswitch.py +36 -36
  140. pulumi_alicloud/esa/__init__.py +23 -0
  141. pulumi_alicloud/esa/_inputs.py +1068 -15
  142. pulumi_alicloud/esa/cache_reserve_instance.py +522 -0
  143. pulumi_alicloud/esa/cache_rule.py +1419 -0
  144. pulumi_alicloud/esa/certificate.py +731 -0
  145. pulumi_alicloud/esa/client_ca_certificate.py +388 -0
  146. pulumi_alicloud/esa/client_certificate.py +452 -0
  147. pulumi_alicloud/esa/compression_rule.py +596 -0
  148. pulumi_alicloud/esa/edge_container_app.py +972 -0
  149. pulumi_alicloud/esa/edge_container_app_record.py +376 -0
  150. pulumi_alicloud/esa/get_sites.py +421 -0
  151. pulumi_alicloud/esa/http_request_header_modification_rule.py +58 -44
  152. pulumi_alicloud/esa/http_response_header_modification_rule.py +539 -0
  153. pulumi_alicloud/esa/https_application_configuration.py +939 -0
  154. pulumi_alicloud/esa/https_basic_configuration.py +1041 -0
  155. pulumi_alicloud/esa/image_transform.py +498 -0
  156. pulumi_alicloud/esa/kv_namespace.py +276 -0
  157. pulumi_alicloud/esa/list.py +30 -30
  158. pulumi_alicloud/esa/network_optimization.py +680 -0
  159. pulumi_alicloud/esa/origin_pool.py +485 -0
  160. pulumi_alicloud/esa/origin_rule.py +796 -0
  161. pulumi_alicloud/esa/outputs.py +959 -10
  162. pulumi_alicloud/esa/page.py +30 -51
  163. pulumi_alicloud/esa/rate_plan_instance.py +88 -161
  164. pulumi_alicloud/esa/record.py +2 -2
  165. pulumi_alicloud/esa/redirect_rule.py +748 -0
  166. pulumi_alicloud/esa/rewrite_url_rule.py +688 -0
  167. pulumi_alicloud/esa/site.py +276 -27
  168. pulumi_alicloud/esa/site_delivery_task.py +841 -0
  169. pulumi_alicloud/esa/waiting_room.py +1207 -0
  170. pulumi_alicloud/esa/waiting_room_event.py +1378 -0
  171. pulumi_alicloud/esa/waiting_room_rule.py +497 -0
  172. pulumi_alicloud/ess/_inputs.py +155 -0
  173. pulumi_alicloud/ess/outputs.py +128 -0
  174. pulumi_alicloud/ess/scaling_configuration.py +7 -7
  175. pulumi_alicloud/ess/scaling_group.py +237 -2
  176. pulumi_alicloud/ess/scaling_rule.py +143 -2
  177. pulumi_alicloud/expressconnect/ec_failover_test_job.py +0 -2
  178. pulumi_alicloud/expressconnect/router_grant_association.py +2 -2
  179. pulumi_alicloud/expressconnect/vbr_pconn_association.py +2 -2
  180. pulumi_alicloud/expressconnect/virtual_border_router.py +4 -4
  181. pulumi_alicloud/ga/get_basic_accelerators.py +31 -9
  182. pulumi_alicloud/ga/outputs.py +10 -4
  183. pulumi_alicloud/gpdb/db_resource_group.py +6 -6
  184. pulumi_alicloud/gpdb/external_data_service.py +6 -6
  185. pulumi_alicloud/gpdb/hadoop_data_source.py +2 -2
  186. pulumi_alicloud/gpdb/jdbc_data_source.py +2 -2
  187. pulumi_alicloud/gpdb/remote_adb_data_source.py +6 -6
  188. pulumi_alicloud/gpdb/streaming_data_service.py +2 -2
  189. pulumi_alicloud/gpdb/streaming_data_source.py +2 -2
  190. pulumi_alicloud/gpdb/streaming_job.py +2 -2
  191. pulumi_alicloud/hbr/policy.py +67 -6
  192. pulumi_alicloud/hbr/vault.py +210 -9
  193. pulumi_alicloud/ims/oidc_provider.py +24 -13
  194. pulumi_alicloud/kms/get_keys.py +10 -0
  195. pulumi_alicloud/kvstore/account.py +9 -9
  196. pulumi_alicloud/kvstore/connection.py +2 -2
  197. pulumi_alicloud/kvstore/get_instance_classes.py +2 -2
  198. pulumi_alicloud/kvstore/get_instance_engines.py +2 -2
  199. pulumi_alicloud/kvstore/instance.py +7 -7
  200. pulumi_alicloud/kvstore/outputs.py +2 -2
  201. pulumi_alicloud/live/caster.py +2 -2
  202. pulumi_alicloud/maxcompute/__init__.py +1 -0
  203. pulumi_alicloud/maxcompute/_inputs.py +232 -3
  204. pulumi_alicloud/maxcompute/outputs.py +183 -2
  205. pulumi_alicloud/maxcompute/project.py +2 -2
  206. pulumi_alicloud/maxcompute/quota.py +438 -0
  207. pulumi_alicloud/message/__init__.py +3 -0
  208. pulumi_alicloud/message/_inputs.py +149 -0
  209. pulumi_alicloud/message/outputs.py +112 -0
  210. pulumi_alicloud/message/service_endpoint.py +218 -0
  211. pulumi_alicloud/message/service_endpoint_acl.py +306 -0
  212. pulumi_alicloud/message/service_queue.py +49 -0
  213. pulumi_alicloud/message/service_subscription.py +91 -14
  214. pulumi_alicloud/mse/nacos_config.py +4 -0
  215. pulumi_alicloud/nas/mount_target.py +149 -54
  216. pulumi_alicloud/nlb/__init__.py +1 -0
  217. pulumi_alicloud/nlb/_inputs.py +157 -30
  218. pulumi_alicloud/nlb/listener.py +87 -20
  219. pulumi_alicloud/nlb/load_balancer.py +212 -24
  220. pulumi_alicloud/nlb/load_balancer_zone_shifted_attachment.py +397 -0
  221. pulumi_alicloud/nlb/outputs.py +123 -20
  222. pulumi_alicloud/nlb/server_group.py +55 -20
  223. pulumi_alicloud/nlb/server_group_server_attachment.py +118 -65
  224. pulumi_alicloud/oss/__init__.py +1 -0
  225. pulumi_alicloud/oss/_inputs.py +20 -0
  226. pulumi_alicloud/oss/access_point.py +2 -2
  227. pulumi_alicloud/oss/bucket_cname.py +2 -2
  228. pulumi_alicloud/oss/bucket_cors.py +2 -2
  229. pulumi_alicloud/oss/bucket_style.py +402 -0
  230. pulumi_alicloud/oss/bucket_website.py +2 -2
  231. pulumi_alicloud/oss/outputs.py +14 -0
  232. pulumi_alicloud/ots/_inputs.py +3 -3
  233. pulumi_alicloud/ots/outputs.py +2 -2
  234. pulumi_alicloud/pai/service.py +59 -67
  235. pulumi_alicloud/pai/workspace_code_source.py +2 -2
  236. pulumi_alicloud/pai/workspace_dataset.py +2 -2
  237. pulumi_alicloud/pai/workspace_datasetversion.py +2 -4
  238. pulumi_alicloud/pai/workspace_experiment.py +2 -2
  239. pulumi_alicloud/pai/workspace_run.py +2 -2
  240. pulumi_alicloud/pai/workspace_workspace.py +2 -2
  241. pulumi_alicloud/polardb/cluster.py +75 -28
  242. pulumi_alicloud/privatelink/get_vpc_endpoints.py +21 -1
  243. pulumi_alicloud/privatelink/outputs.py +11 -0
  244. pulumi_alicloud/privatelink/vpc_endpoint.py +1 -1
  245. pulumi_alicloud/privatelink/vpc_endpoint_zone.py +1 -1
  246. pulumi_alicloud/pulumi-plugin.json +1 -1
  247. pulumi_alicloud/ram/__init__.py +3 -0
  248. pulumi_alicloud/ram/_inputs.py +9 -9
  249. pulumi_alicloud/ram/access_key.py +97 -35
  250. pulumi_alicloud/ram/account_alias.py +18 -45
  251. pulumi_alicloud/ram/get_system_policys.py +189 -0
  252. pulumi_alicloud/ram/group.py +156 -35
  253. pulumi_alicloud/ram/group_policy_attachment.py +51 -29
  254. pulumi_alicloud/ram/login_profile.py +92 -38
  255. pulumi_alicloud/ram/outputs.py +91 -6
  256. pulumi_alicloud/ram/password_policy.py +779 -0
  257. pulumi_alicloud/ram/policy.py +199 -88
  258. pulumi_alicloud/ram/role_policy_attachment.py +51 -29
  259. pulumi_alicloud/ram/saml_provider.py +44 -37
  260. pulumi_alicloud/ram/user.py +10 -2
  261. pulumi_alicloud/ram/user_group_attachment.py +273 -0
  262. pulumi_alicloud/ram/user_policy_attachment.py +49 -27
  263. pulumi_alicloud/rds/__init__.py +1 -0
  264. pulumi_alicloud/rds/custom_disk.py +1053 -0
  265. pulumi_alicloud/rds/instance.py +117 -14
  266. pulumi_alicloud/redis/tair_instance.py +14 -14
  267. pulumi_alicloud/resourcemanager/__init__.py +1 -0
  268. pulumi_alicloud/resourcemanager/_inputs.py +53 -0
  269. pulumi_alicloud/resourcemanager/auto_grouping_rule.py +796 -0
  270. pulumi_alicloud/resourcemanager/outputs.py +50 -0
  271. pulumi_alicloud/resourcemanager/shared_resource.py +7 -0
  272. pulumi_alicloud/rocketmq/__init__.py +1 -1
  273. pulumi_alicloud/rocketmq/_inputs.py +146 -4
  274. pulumi_alicloud/rocketmq/account.py +452 -0
  275. pulumi_alicloud/rocketmq/acl.py +473 -47
  276. pulumi_alicloud/rocketmq/client_user.py +8 -2
  277. pulumi_alicloud/rocketmq/consumer_group.py +121 -24
  278. pulumi_alicloud/rocketmq/dnat_entry.py +8 -2
  279. pulumi_alicloud/rocketmq/outputs.py +113 -4
  280. pulumi_alicloud/rocketmq/qos.py +8 -2
  281. pulumi_alicloud/rocketmq/qos_car.py +10 -4
  282. pulumi_alicloud/rocketmq/qos_policy.py +6 -0
  283. pulumi_alicloud/rocketmq/rocket_mq_instance.py +136 -7
  284. pulumi_alicloud/rocketmq/rocket_mq_topic.py +121 -24
  285. pulumi_alicloud/rocketmq/snat_entry.py +8 -2
  286. pulumi_alicloud/sag/__init__.py +8 -0
  287. pulumi_alicloud/sag/acl.py +200 -0
  288. pulumi_alicloud/{rocketmq → sag}/acl_rule.py +7 -7
  289. pulumi_alicloud/sag/client_user.py +560 -0
  290. pulumi_alicloud/sag/dnat_entry.py +512 -0
  291. pulumi_alicloud/sag/get_acls.py +2 -2
  292. pulumi_alicloud/sag/qos.py +202 -0
  293. pulumi_alicloud/sag/qos_car.py +654 -0
  294. pulumi_alicloud/sag/qos_policy.py +659 -0
  295. pulumi_alicloud/sag/snat_entry.py +313 -0
  296. pulumi_alicloud/securitycenter/group.py +2 -2
  297. pulumi_alicloud/selectdb/db_instance.py +60 -11
  298. pulumi_alicloud/simpleapplicationserver/get_server_plans.py +7 -7
  299. pulumi_alicloud/simpleapplicationserver/outputs.py +3 -3
  300. pulumi_alicloud/slb/server_group_server_attachment.py +101 -111
  301. pulumi_alicloud/sls/oss_export_sink.py +2 -2
  302. pulumi_alicloud/tag/__init__.py +1 -0
  303. pulumi_alicloud/tag/associated_rule.py +306 -0
  304. pulumi_alicloud/tag/policy.py +27 -36
  305. pulumi_alicloud/threatdetection/__init__.py +3 -0
  306. pulumi_alicloud/threatdetection/anti_brute_force_rule.py +41 -65
  307. pulumi_alicloud/threatdetection/asset_bind.py +209 -0
  308. pulumi_alicloud/threatdetection/asset_selection_config.py +258 -0
  309. pulumi_alicloud/threatdetection/instance.py +271 -54
  310. pulumi_alicloud/threatdetection/log_meta.py +351 -0
  311. pulumi_alicloud/vpc/__init__.py +2 -0
  312. pulumi_alicloud/vpc/_inputs.py +281 -0
  313. pulumi_alicloud/vpc/common_bandwith_package.py +107 -44
  314. pulumi_alicloud/vpc/common_bandwith_package_attachment.py +2 -2
  315. pulumi_alicloud/vpc/flow_log.py +184 -49
  316. pulumi_alicloud/vpc/forward_entry.py +8 -4
  317. pulumi_alicloud/vpc/gateway_endpoint.py +85 -27
  318. pulumi_alicloud/vpc/get_enhanced_nat_available_zones.py +38 -2
  319. pulumi_alicloud/vpc/get_forward_entries.py +2 -2
  320. pulumi_alicloud/vpc/get_ipam_ipam_pool_allocations.py +2 -2
  321. pulumi_alicloud/vpc/get_ipam_ipam_pool_cidrs.py +2 -2
  322. pulumi_alicloud/vpc/get_ipam_ipam_pools.py +2 -2
  323. pulumi_alicloud/vpc/get_ipam_ipam_scopes.py +2 -2
  324. pulumi_alicloud/vpc/get_ipam_ipams.py +2 -2
  325. pulumi_alicloud/vpc/get_ipsec_servers.py +14 -2
  326. pulumi_alicloud/vpc/get_nat_gateways.py +48 -2
  327. pulumi_alicloud/vpc/get_prefix_lists.py +11 -2
  328. pulumi_alicloud/vpc/get_snat_entries.py +5 -2
  329. pulumi_alicloud/vpc/get_traffic_mirror_filters.py +14 -2
  330. pulumi_alicloud/vpc/ipam_ipam.py +2 -9
  331. pulumi_alicloud/vpc/ipam_ipam_pool.py +2 -30
  332. pulumi_alicloud/vpc/ipam_ipam_pool_allocation.py +6 -16
  333. pulumi_alicloud/vpc/ipam_ipam_pool_cidr.py +2 -2
  334. pulumi_alicloud/vpc/ipam_ipam_resource_discovery.py +489 -0
  335. pulumi_alicloud/vpc/ipam_ipam_scope.py +2 -9
  336. pulumi_alicloud/vpc/ipv6_address.py +85 -5
  337. pulumi_alicloud/vpc/nat_gateway.py +8 -0
  338. pulumi_alicloud/vpc/outputs.py +244 -2
  339. pulumi_alicloud/vpc/peer_connection.py +84 -42
  340. pulumi_alicloud/vpc/peer_connection_accepter.py +7 -21
  341. pulumi_alicloud/vpc/route_table.py +100 -45
  342. pulumi_alicloud/vpc/router_interface_connection.py +4 -4
  343. pulumi_alicloud/vpc/traffic_mirror_filter.py +2 -2
  344. pulumi_alicloud/vpc/vpc_route_entry.py +724 -0
  345. pulumi_alicloud/vpn/_inputs.py +716 -71
  346. pulumi_alicloud/vpn/gateway_vpn_attachment.py +622 -128
  347. pulumi_alicloud/vpn/get_gateway_vco_routes.py +11 -2
  348. pulumi_alicloud/vpn/get_gateway_vpn_attachments.py +26 -60
  349. pulumi_alicloud/vpn/get_gateways.py +21 -1
  350. pulumi_alicloud/vpn/ipsec_server.py +2 -2
  351. pulumi_alicloud/vpn/outputs.py +1982 -1006
  352. {pulumi_alicloud-3.75.0a1741324537.dist-info → pulumi_alicloud-3.76.0.dist-info}/METADATA +2 -2
  353. {pulumi_alicloud-3.75.0a1741324537.dist-info → pulumi_alicloud-3.76.0.dist-info}/RECORD +355 -278
  354. {pulumi_alicloud-3.75.0a1741324537.dist-info → pulumi_alicloud-3.76.0.dist-info}/WHEEL +1 -1
  355. {pulumi_alicloud-3.75.0a1741324537.dist-info → pulumi_alicloud-3.76.0.dist-info}/top_level.txt +0 -0
@@ -43,6 +43,8 @@ __all__ = [
43
43
  'ScalingGroupVServerGroupsVserverGroup',
44
44
  'ScalingGroupVServerGroupsVserverGroupVserverAttribute',
45
45
  'ScalingRuleAlarmDimension',
46
+ 'ScalingRuleHybridMetric',
47
+ 'ScalingRuleHybridMetricDimension',
46
48
  'ScalingRuleStepAdjustment',
47
49
  'GetAlarmsAlarmResult',
48
50
  'GetLifecycleHooksHookResult',
@@ -2525,6 +2527,132 @@ class ScalingRuleAlarmDimension(dict):
2525
2527
  return pulumi.get(self, "dimension_value")
2526
2528
 
2527
2529
 
2530
+ @pulumi.output_type
2531
+ class ScalingRuleHybridMetric(dict):
2532
+ @staticmethod
2533
+ def __key_warning(key: str):
2534
+ suggest = None
2535
+ if key == "metricName":
2536
+ suggest = "metric_name"
2537
+
2538
+ if suggest:
2539
+ pulumi.log.warn(f"Key '{key}' not found in ScalingRuleHybridMetric. Access the value via the '{suggest}' property getter instead.")
2540
+
2541
+ def __getitem__(self, key: str) -> Any:
2542
+ ScalingRuleHybridMetric.__key_warning(key)
2543
+ return super().__getitem__(key)
2544
+
2545
+ def get(self, key: str, default = None) -> Any:
2546
+ ScalingRuleHybridMetric.__key_warning(key)
2547
+ return super().get(key, default)
2548
+
2549
+ def __init__(__self__, *,
2550
+ dimensions: Optional[Sequence['outputs.ScalingRuleHybridMetricDimension']] = None,
2551
+ expression: Optional[str] = None,
2552
+ id: Optional[str] = None,
2553
+ metric_name: Optional[str] = None,
2554
+ statistic: Optional[str] = None):
2555
+ """
2556
+ :param Sequence['ScalingRuleHybridMetricDimensionArgs'] dimensions: The structure of volumeMounts.
2557
+ See `dimensions` below for details.
2558
+ :param str expression: The metric expression that consists of multiple Hybrid Cloud Monitoring metrics. It calculates a result used to trigger scaling events. The expression must comply with the Reverse Polish Notation (RPN) specification, and the operators can only be + - × /.
2559
+ :param str id: The reference ID of the metric in the metric expression.
2560
+ :param str metric_name: The name of the Hybrid Cloud Monitoring metric.
2561
+ :param str statistic: The statistical method of the metric value. Valid values: Average, Minimum, Maximum.
2562
+ """
2563
+ if dimensions is not None:
2564
+ pulumi.set(__self__, "dimensions", dimensions)
2565
+ if expression is not None:
2566
+ pulumi.set(__self__, "expression", expression)
2567
+ if id is not None:
2568
+ pulumi.set(__self__, "id", id)
2569
+ if metric_name is not None:
2570
+ pulumi.set(__self__, "metric_name", metric_name)
2571
+ if statistic is not None:
2572
+ pulumi.set(__self__, "statistic", statistic)
2573
+
2574
+ @property
2575
+ @pulumi.getter
2576
+ def dimensions(self) -> Optional[Sequence['outputs.ScalingRuleHybridMetricDimension']]:
2577
+ """
2578
+ The structure of volumeMounts.
2579
+ See `dimensions` below for details.
2580
+ """
2581
+ return pulumi.get(self, "dimensions")
2582
+
2583
+ @property
2584
+ @pulumi.getter
2585
+ def expression(self) -> Optional[str]:
2586
+ """
2587
+ The metric expression that consists of multiple Hybrid Cloud Monitoring metrics. It calculates a result used to trigger scaling events. The expression must comply with the Reverse Polish Notation (RPN) specification, and the operators can only be + - × /.
2588
+ """
2589
+ return pulumi.get(self, "expression")
2590
+
2591
+ @property
2592
+ @pulumi.getter
2593
+ def id(self) -> Optional[str]:
2594
+ """
2595
+ The reference ID of the metric in the metric expression.
2596
+ """
2597
+ return pulumi.get(self, "id")
2598
+
2599
+ @property
2600
+ @pulumi.getter(name="metricName")
2601
+ def metric_name(self) -> Optional[str]:
2602
+ """
2603
+ The name of the Hybrid Cloud Monitoring metric.
2604
+ """
2605
+ return pulumi.get(self, "metric_name")
2606
+
2607
+ @property
2608
+ @pulumi.getter
2609
+ def statistic(self) -> Optional[str]:
2610
+ """
2611
+ The statistical method of the metric value. Valid values: Average, Minimum, Maximum.
2612
+ """
2613
+ return pulumi.get(self, "statistic")
2614
+
2615
+
2616
+ @pulumi.output_type
2617
+ class ScalingRuleHybridMetricDimension(dict):
2618
+ @staticmethod
2619
+ def __key_warning(key: str):
2620
+ suggest = None
2621
+ if key == "dimensionKey":
2622
+ suggest = "dimension_key"
2623
+ elif key == "dimensionValue":
2624
+ suggest = "dimension_value"
2625
+
2626
+ if suggest:
2627
+ pulumi.log.warn(f"Key '{key}' not found in ScalingRuleHybridMetricDimension. Access the value via the '{suggest}' property getter instead.")
2628
+
2629
+ def __getitem__(self, key: str) -> Any:
2630
+ ScalingRuleHybridMetricDimension.__key_warning(key)
2631
+ return super().__getitem__(key)
2632
+
2633
+ def get(self, key: str, default = None) -> Any:
2634
+ ScalingRuleHybridMetricDimension.__key_warning(key)
2635
+ return super().get(key, default)
2636
+
2637
+ def __init__(__self__, *,
2638
+ dimension_key: Optional[str] = None,
2639
+ dimension_value: Optional[str] = None):
2640
+ if dimension_key is not None:
2641
+ pulumi.set(__self__, "dimension_key", dimension_key)
2642
+ if dimension_value is not None:
2643
+ pulumi.set(__self__, "dimension_value", dimension_value)
2644
+
2645
+ @property
2646
+ @pulumi.getter(name="dimensionKey")
2647
+ def dimension_key(self) -> Optional[str]:
2648
+ return pulumi.get(self, "dimension_key")
2649
+
2650
+ @property
2651
+ @pulumi.getter(name="dimensionValue")
2652
+ def dimension_value(self) -> Optional[str]:
2653
+ return pulumi.get(self, "dimension_value")
2654
+
2655
+
2528
2656
  @pulumi.output_type
2529
2657
  class ScalingRuleStepAdjustment(dict):
2530
2658
  @staticmethod
@@ -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
 
@@ -26,6 +26,11 @@ class ScalingGroupArgs:
26
26
  alb_server_groups: Optional[pulumi.Input[Sequence[pulumi.Input['ScalingGroupAlbServerGroupArgs']]]] = None,
27
27
  allocation_strategy: Optional[pulumi.Input[str]] = None,
28
28
  az_balance: Optional[pulumi.Input[bool]] = None,
29
+ capacity_options_compensate_with_on_demand: Optional[pulumi.Input[bool]] = None,
30
+ capacity_options_on_demand_base_capacity: Optional[pulumi.Input[int]] = None,
31
+ capacity_options_on_demand_percentage_above_base_capacity: Optional[pulumi.Input[int]] = None,
32
+ capacity_options_spot_auto_replace_on_demand: Optional[pulumi.Input[bool]] = None,
33
+ compensate_with_on_demand: Optional[pulumi.Input[bool]] = None,
29
34
  container_group_id: Optional[pulumi.Input[str]] = None,
30
35
  db_instance_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
31
36
  default_cooldown: Optional[pulumi.Input[int]] = None,
@@ -64,6 +69,11 @@ class ScalingGroupArgs:
64
69
  :param pulumi.Input[Sequence[pulumi.Input['ScalingGroupAlbServerGroupArgs']]] alb_server_groups: If a Serve ALB instance is specified in the scaling group, the scaling group automatically attaches its ECS instances to the Server ALB instance. See `alb_server_group` below for details.
65
70
  :param pulumi.Input[str] allocation_strategy: The allocation policy of instances. Auto Scaling selects instance types based on the allocation policy to create instances. The policy can be applied to pay-as-you-go instances and preemptible instances. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
66
71
  :param pulumi.Input[bool] az_balance: Specifies whether to evenly distribute instances in the scaling group across multiple zones. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
72
+ :param pulumi.Input[bool] capacity_options_compensate_with_on_demand: Specifies whether to automatically create pay-as-you-go instances to meet the requirement on the number of ECS instances when the expected capacity of preemptible instances cannot be provided due to reasons such as cost-related issues and insufficient resources. This parameter is supported only if you set 'multi_az_policy' to COST_OPTIMIZED. Valid values: true, false.
73
+ :param pulumi.Input[int] capacity_options_on_demand_base_capacity: The minimum number of pay-as-you-go instances that must be contained in the scaling group. When the actual number of pay-as-you-go instances in the scaling group drops below the value of this parameter, Auto Scaling preferentially creates pay-as-you-go instances. Valid values: 0 to 1000. If you set 'multi_az_policy' to COMPOSABLE, the default value of this parameter is 0.
74
+ :param pulumi.Input[int] capacity_options_on_demand_percentage_above_base_capacity: The percentage of pay-as-you-go instances in the excess instances when the minimum number of pay-as-you-go instances is reached. 'on_demand_base_capacity' specifies the minimum number of pay-as-you-go instances that must be contained in the scaling group. Valid values: 0 to 100. If you set 'multi_az_policy' to COMPOSABLE, the default value of this parameter is 100.
75
+ :param pulumi.Input[bool] capacity_options_spot_auto_replace_on_demand: Specifies whether to replace pay-as-you-go instances with preemptible instances. If you specify 'compensate_with_on_demand', it may result in a higher percentage of pay-as-you-go instances compared to the value of 'on_demand_percentage_above_base_capacity'. If you specify this parameter, Auto Scaling preferentially deploys preemptible instances to replace the surplus pay-as-you-go instances when preemptible instance types are available. If you specify 'compensate_with_on_demand', Auto Scaling creates pay-as-you-go instances when preemptible instance types are insufficient. To avoid retaining these pay-as-you-go instances for extended periods, Auto Scaling attempts to replace them with preemptible instances when sufficient preemptible instance types become available. Valid values: true, false.
76
+ :param pulumi.Input[bool] compensate_with_on_demand: Specifies whether to automatically create pay-as-you-go instances to meet the requirement on the number of ECS instances when the expected capacity of preemptible instances cannot be provided due to reasons such as cost-related issues and insufficient resources. This parameter is supported only if you set 'multi_az_policy' to COST_OPTIMIZED. Valid values: true, false.
67
77
  :param pulumi.Input[str] container_group_id: The ID of the elastic container instance.
68
78
  :param pulumi.Input[Sequence[pulumi.Input[str]]] db_instance_ids: If an RDS instance is specified in the scaling group, the scaling group automatically attaches the Intranet IP addresses of its ECS instances to the RDS access whitelist.
69
79
  - The specified RDS instance must be in running status.
@@ -115,6 +125,16 @@ class ScalingGroupArgs:
115
125
  pulumi.set(__self__, "allocation_strategy", allocation_strategy)
116
126
  if az_balance is not None:
117
127
  pulumi.set(__self__, "az_balance", az_balance)
128
+ if capacity_options_compensate_with_on_demand is not None:
129
+ pulumi.set(__self__, "capacity_options_compensate_with_on_demand", capacity_options_compensate_with_on_demand)
130
+ if capacity_options_on_demand_base_capacity is not None:
131
+ pulumi.set(__self__, "capacity_options_on_demand_base_capacity", capacity_options_on_demand_base_capacity)
132
+ if capacity_options_on_demand_percentage_above_base_capacity is not None:
133
+ pulumi.set(__self__, "capacity_options_on_demand_percentage_above_base_capacity", capacity_options_on_demand_percentage_above_base_capacity)
134
+ if capacity_options_spot_auto_replace_on_demand is not None:
135
+ pulumi.set(__self__, "capacity_options_spot_auto_replace_on_demand", capacity_options_spot_auto_replace_on_demand)
136
+ if compensate_with_on_demand is not None:
137
+ pulumi.set(__self__, "compensate_with_on_demand", compensate_with_on_demand)
118
138
  if container_group_id is not None:
119
139
  pulumi.set(__self__, "container_group_id", container_group_id)
120
140
  if db_instance_ids is not None:
@@ -239,6 +259,66 @@ class ScalingGroupArgs:
239
259
  def az_balance(self, value: Optional[pulumi.Input[bool]]):
240
260
  pulumi.set(self, "az_balance", value)
241
261
 
262
+ @property
263
+ @pulumi.getter(name="capacityOptionsCompensateWithOnDemand")
264
+ def capacity_options_compensate_with_on_demand(self) -> Optional[pulumi.Input[bool]]:
265
+ """
266
+ Specifies whether to automatically create pay-as-you-go instances to meet the requirement on the number of ECS instances when the expected capacity of preemptible instances cannot be provided due to reasons such as cost-related issues and insufficient resources. This parameter is supported only if you set 'multi_az_policy' to COST_OPTIMIZED. Valid values: true, false.
267
+ """
268
+ return pulumi.get(self, "capacity_options_compensate_with_on_demand")
269
+
270
+ @capacity_options_compensate_with_on_demand.setter
271
+ def capacity_options_compensate_with_on_demand(self, value: Optional[pulumi.Input[bool]]):
272
+ pulumi.set(self, "capacity_options_compensate_with_on_demand", value)
273
+
274
+ @property
275
+ @pulumi.getter(name="capacityOptionsOnDemandBaseCapacity")
276
+ def capacity_options_on_demand_base_capacity(self) -> Optional[pulumi.Input[int]]:
277
+ """
278
+ The minimum number of pay-as-you-go instances that must be contained in the scaling group. When the actual number of pay-as-you-go instances in the scaling group drops below the value of this parameter, Auto Scaling preferentially creates pay-as-you-go instances. Valid values: 0 to 1000. If you set 'multi_az_policy' to COMPOSABLE, the default value of this parameter is 0.
279
+ """
280
+ return pulumi.get(self, "capacity_options_on_demand_base_capacity")
281
+
282
+ @capacity_options_on_demand_base_capacity.setter
283
+ def capacity_options_on_demand_base_capacity(self, value: Optional[pulumi.Input[int]]):
284
+ pulumi.set(self, "capacity_options_on_demand_base_capacity", value)
285
+
286
+ @property
287
+ @pulumi.getter(name="capacityOptionsOnDemandPercentageAboveBaseCapacity")
288
+ def capacity_options_on_demand_percentage_above_base_capacity(self) -> Optional[pulumi.Input[int]]:
289
+ """
290
+ The percentage of pay-as-you-go instances in the excess instances when the minimum number of pay-as-you-go instances is reached. 'on_demand_base_capacity' specifies the minimum number of pay-as-you-go instances that must be contained in the scaling group. Valid values: 0 to 100. If you set 'multi_az_policy' to COMPOSABLE, the default value of this parameter is 100.
291
+ """
292
+ return pulumi.get(self, "capacity_options_on_demand_percentage_above_base_capacity")
293
+
294
+ @capacity_options_on_demand_percentage_above_base_capacity.setter
295
+ def capacity_options_on_demand_percentage_above_base_capacity(self, value: Optional[pulumi.Input[int]]):
296
+ pulumi.set(self, "capacity_options_on_demand_percentage_above_base_capacity", value)
297
+
298
+ @property
299
+ @pulumi.getter(name="capacityOptionsSpotAutoReplaceOnDemand")
300
+ def capacity_options_spot_auto_replace_on_demand(self) -> Optional[pulumi.Input[bool]]:
301
+ """
302
+ Specifies whether to replace pay-as-you-go instances with preemptible instances. If you specify 'compensate_with_on_demand', it may result in a higher percentage of pay-as-you-go instances compared to the value of 'on_demand_percentage_above_base_capacity'. If you specify this parameter, Auto Scaling preferentially deploys preemptible instances to replace the surplus pay-as-you-go instances when preemptible instance types are available. If you specify 'compensate_with_on_demand', Auto Scaling creates pay-as-you-go instances when preemptible instance types are insufficient. To avoid retaining these pay-as-you-go instances for extended periods, Auto Scaling attempts to replace them with preemptible instances when sufficient preemptible instance types become available. Valid values: true, false.
303
+ """
304
+ return pulumi.get(self, "capacity_options_spot_auto_replace_on_demand")
305
+
306
+ @capacity_options_spot_auto_replace_on_demand.setter
307
+ def capacity_options_spot_auto_replace_on_demand(self, value: Optional[pulumi.Input[bool]]):
308
+ pulumi.set(self, "capacity_options_spot_auto_replace_on_demand", value)
309
+
310
+ @property
311
+ @pulumi.getter(name="compensateWithOnDemand")
312
+ def compensate_with_on_demand(self) -> Optional[pulumi.Input[bool]]:
313
+ """
314
+ Specifies whether to automatically create pay-as-you-go instances to meet the requirement on the number of ECS instances when the expected capacity of preemptible instances cannot be provided due to reasons such as cost-related issues and insufficient resources. This parameter is supported only if you set 'multi_az_policy' to COST_OPTIMIZED. Valid values: true, false.
315
+ """
316
+ return pulumi.get(self, "compensate_with_on_demand")
317
+
318
+ @compensate_with_on_demand.setter
319
+ def compensate_with_on_demand(self, value: Optional[pulumi.Input[bool]]):
320
+ pulumi.set(self, "compensate_with_on_demand", value)
321
+
242
322
  @property
243
323
  @pulumi.getter(name="containerGroupId")
244
324
  def container_group_id(self) -> Optional[pulumi.Input[str]]:
@@ -608,6 +688,11 @@ class _ScalingGroupState:
608
688
  alb_server_groups: Optional[pulumi.Input[Sequence[pulumi.Input['ScalingGroupAlbServerGroupArgs']]]] = None,
609
689
  allocation_strategy: Optional[pulumi.Input[str]] = None,
610
690
  az_balance: Optional[pulumi.Input[bool]] = None,
691
+ capacity_options_compensate_with_on_demand: Optional[pulumi.Input[bool]] = None,
692
+ capacity_options_on_demand_base_capacity: Optional[pulumi.Input[int]] = None,
693
+ capacity_options_on_demand_percentage_above_base_capacity: Optional[pulumi.Input[int]] = None,
694
+ capacity_options_spot_auto_replace_on_demand: Optional[pulumi.Input[bool]] = None,
695
+ compensate_with_on_demand: Optional[pulumi.Input[bool]] = None,
611
696
  container_group_id: Optional[pulumi.Input[str]] = None,
612
697
  db_instance_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
613
698
  default_cooldown: Optional[pulumi.Input[int]] = None,
@@ -644,6 +729,11 @@ class _ScalingGroupState:
644
729
  :param pulumi.Input[Sequence[pulumi.Input['ScalingGroupAlbServerGroupArgs']]] alb_server_groups: If a Serve ALB instance is specified in the scaling group, the scaling group automatically attaches its ECS instances to the Server ALB instance. See `alb_server_group` below for details.
645
730
  :param pulumi.Input[str] allocation_strategy: The allocation policy of instances. Auto Scaling selects instance types based on the allocation policy to create instances. The policy can be applied to pay-as-you-go instances and preemptible instances. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
646
731
  :param pulumi.Input[bool] az_balance: Specifies whether to evenly distribute instances in the scaling group across multiple zones. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
732
+ :param pulumi.Input[bool] capacity_options_compensate_with_on_demand: Specifies whether to automatically create pay-as-you-go instances to meet the requirement on the number of ECS instances when the expected capacity of preemptible instances cannot be provided due to reasons such as cost-related issues and insufficient resources. This parameter is supported only if you set 'multi_az_policy' to COST_OPTIMIZED. Valid values: true, false.
733
+ :param pulumi.Input[int] capacity_options_on_demand_base_capacity: The minimum number of pay-as-you-go instances that must be contained in the scaling group. When the actual number of pay-as-you-go instances in the scaling group drops below the value of this parameter, Auto Scaling preferentially creates pay-as-you-go instances. Valid values: 0 to 1000. If you set 'multi_az_policy' to COMPOSABLE, the default value of this parameter is 0.
734
+ :param pulumi.Input[int] capacity_options_on_demand_percentage_above_base_capacity: The percentage of pay-as-you-go instances in the excess instances when the minimum number of pay-as-you-go instances is reached. 'on_demand_base_capacity' specifies the minimum number of pay-as-you-go instances that must be contained in the scaling group. Valid values: 0 to 100. If you set 'multi_az_policy' to COMPOSABLE, the default value of this parameter is 100.
735
+ :param pulumi.Input[bool] capacity_options_spot_auto_replace_on_demand: Specifies whether to replace pay-as-you-go instances with preemptible instances. If you specify 'compensate_with_on_demand', it may result in a higher percentage of pay-as-you-go instances compared to the value of 'on_demand_percentage_above_base_capacity'. If you specify this parameter, Auto Scaling preferentially deploys preemptible instances to replace the surplus pay-as-you-go instances when preemptible instance types are available. If you specify 'compensate_with_on_demand', Auto Scaling creates pay-as-you-go instances when preemptible instance types are insufficient. To avoid retaining these pay-as-you-go instances for extended periods, Auto Scaling attempts to replace them with preemptible instances when sufficient preemptible instance types become available. Valid values: true, false.
736
+ :param pulumi.Input[bool] compensate_with_on_demand: Specifies whether to automatically create pay-as-you-go instances to meet the requirement on the number of ECS instances when the expected capacity of preemptible instances cannot be provided due to reasons such as cost-related issues and insufficient resources. This parameter is supported only if you set 'multi_az_policy' to COST_OPTIMIZED. Valid values: true, false.
647
737
  :param pulumi.Input[str] container_group_id: The ID of the elastic container instance.
648
738
  :param pulumi.Input[Sequence[pulumi.Input[str]]] db_instance_ids: If an RDS instance is specified in the scaling group, the scaling group automatically attaches the Intranet IP addresses of its ECS instances to the RDS access whitelist.
649
739
  - The specified RDS instance must be in running status.
@@ -697,6 +787,16 @@ class _ScalingGroupState:
697
787
  pulumi.set(__self__, "allocation_strategy", allocation_strategy)
698
788
  if az_balance is not None:
699
789
  pulumi.set(__self__, "az_balance", az_balance)
790
+ if capacity_options_compensate_with_on_demand is not None:
791
+ pulumi.set(__self__, "capacity_options_compensate_with_on_demand", capacity_options_compensate_with_on_demand)
792
+ if capacity_options_on_demand_base_capacity is not None:
793
+ pulumi.set(__self__, "capacity_options_on_demand_base_capacity", capacity_options_on_demand_base_capacity)
794
+ if capacity_options_on_demand_percentage_above_base_capacity is not None:
795
+ pulumi.set(__self__, "capacity_options_on_demand_percentage_above_base_capacity", capacity_options_on_demand_percentage_above_base_capacity)
796
+ if capacity_options_spot_auto_replace_on_demand is not None:
797
+ pulumi.set(__self__, "capacity_options_spot_auto_replace_on_demand", capacity_options_spot_auto_replace_on_demand)
798
+ if compensate_with_on_demand is not None:
799
+ pulumi.set(__self__, "compensate_with_on_demand", compensate_with_on_demand)
700
800
  if container_group_id is not None:
701
801
  pulumi.set(__self__, "container_group_id", container_group_id)
702
802
  if db_instance_ids is not None:
@@ -799,6 +899,66 @@ class _ScalingGroupState:
799
899
  def az_balance(self, value: Optional[pulumi.Input[bool]]):
800
900
  pulumi.set(self, "az_balance", value)
801
901
 
902
+ @property
903
+ @pulumi.getter(name="capacityOptionsCompensateWithOnDemand")
904
+ def capacity_options_compensate_with_on_demand(self) -> Optional[pulumi.Input[bool]]:
905
+ """
906
+ Specifies whether to automatically create pay-as-you-go instances to meet the requirement on the number of ECS instances when the expected capacity of preemptible instances cannot be provided due to reasons such as cost-related issues and insufficient resources. This parameter is supported only if you set 'multi_az_policy' to COST_OPTIMIZED. Valid values: true, false.
907
+ """
908
+ return pulumi.get(self, "capacity_options_compensate_with_on_demand")
909
+
910
+ @capacity_options_compensate_with_on_demand.setter
911
+ def capacity_options_compensate_with_on_demand(self, value: Optional[pulumi.Input[bool]]):
912
+ pulumi.set(self, "capacity_options_compensate_with_on_demand", value)
913
+
914
+ @property
915
+ @pulumi.getter(name="capacityOptionsOnDemandBaseCapacity")
916
+ def capacity_options_on_demand_base_capacity(self) -> Optional[pulumi.Input[int]]:
917
+ """
918
+ The minimum number of pay-as-you-go instances that must be contained in the scaling group. When the actual number of pay-as-you-go instances in the scaling group drops below the value of this parameter, Auto Scaling preferentially creates pay-as-you-go instances. Valid values: 0 to 1000. If you set 'multi_az_policy' to COMPOSABLE, the default value of this parameter is 0.
919
+ """
920
+ return pulumi.get(self, "capacity_options_on_demand_base_capacity")
921
+
922
+ @capacity_options_on_demand_base_capacity.setter
923
+ def capacity_options_on_demand_base_capacity(self, value: Optional[pulumi.Input[int]]):
924
+ pulumi.set(self, "capacity_options_on_demand_base_capacity", value)
925
+
926
+ @property
927
+ @pulumi.getter(name="capacityOptionsOnDemandPercentageAboveBaseCapacity")
928
+ def capacity_options_on_demand_percentage_above_base_capacity(self) -> Optional[pulumi.Input[int]]:
929
+ """
930
+ The percentage of pay-as-you-go instances in the excess instances when the minimum number of pay-as-you-go instances is reached. 'on_demand_base_capacity' specifies the minimum number of pay-as-you-go instances that must be contained in the scaling group. Valid values: 0 to 100. If you set 'multi_az_policy' to COMPOSABLE, the default value of this parameter is 100.
931
+ """
932
+ return pulumi.get(self, "capacity_options_on_demand_percentage_above_base_capacity")
933
+
934
+ @capacity_options_on_demand_percentage_above_base_capacity.setter
935
+ def capacity_options_on_demand_percentage_above_base_capacity(self, value: Optional[pulumi.Input[int]]):
936
+ pulumi.set(self, "capacity_options_on_demand_percentage_above_base_capacity", value)
937
+
938
+ @property
939
+ @pulumi.getter(name="capacityOptionsSpotAutoReplaceOnDemand")
940
+ def capacity_options_spot_auto_replace_on_demand(self) -> Optional[pulumi.Input[bool]]:
941
+ """
942
+ Specifies whether to replace pay-as-you-go instances with preemptible instances. If you specify 'compensate_with_on_demand', it may result in a higher percentage of pay-as-you-go instances compared to the value of 'on_demand_percentage_above_base_capacity'. If you specify this parameter, Auto Scaling preferentially deploys preemptible instances to replace the surplus pay-as-you-go instances when preemptible instance types are available. If you specify 'compensate_with_on_demand', Auto Scaling creates pay-as-you-go instances when preemptible instance types are insufficient. To avoid retaining these pay-as-you-go instances for extended periods, Auto Scaling attempts to replace them with preemptible instances when sufficient preemptible instance types become available. Valid values: true, false.
943
+ """
944
+ return pulumi.get(self, "capacity_options_spot_auto_replace_on_demand")
945
+
946
+ @capacity_options_spot_auto_replace_on_demand.setter
947
+ def capacity_options_spot_auto_replace_on_demand(self, value: Optional[pulumi.Input[bool]]):
948
+ pulumi.set(self, "capacity_options_spot_auto_replace_on_demand", value)
949
+
950
+ @property
951
+ @pulumi.getter(name="compensateWithOnDemand")
952
+ def compensate_with_on_demand(self) -> Optional[pulumi.Input[bool]]:
953
+ """
954
+ Specifies whether to automatically create pay-as-you-go instances to meet the requirement on the number of ECS instances when the expected capacity of preemptible instances cannot be provided due to reasons such as cost-related issues and insufficient resources. This parameter is supported only if you set 'multi_az_policy' to COST_OPTIMIZED. Valid values: true, false.
955
+ """
956
+ return pulumi.get(self, "compensate_with_on_demand")
957
+
958
+ @compensate_with_on_demand.setter
959
+ def compensate_with_on_demand(self, value: Optional[pulumi.Input[bool]]):
960
+ pulumi.set(self, "compensate_with_on_demand", value)
961
+
802
962
  @property
803
963
  @pulumi.getter(name="containerGroupId")
804
964
  def container_group_id(self) -> Optional[pulumi.Input[str]]:
@@ -1196,6 +1356,11 @@ class ScalingGroup(pulumi.CustomResource):
1196
1356
  alb_server_groups: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ScalingGroupAlbServerGroupArgs', 'ScalingGroupAlbServerGroupArgsDict']]]]] = None,
1197
1357
  allocation_strategy: Optional[pulumi.Input[str]] = None,
1198
1358
  az_balance: Optional[pulumi.Input[bool]] = None,
1359
+ capacity_options_compensate_with_on_demand: Optional[pulumi.Input[bool]] = None,
1360
+ capacity_options_on_demand_base_capacity: Optional[pulumi.Input[int]] = None,
1361
+ capacity_options_on_demand_percentage_above_base_capacity: Optional[pulumi.Input[int]] = None,
1362
+ capacity_options_spot_auto_replace_on_demand: Optional[pulumi.Input[bool]] = None,
1363
+ compensate_with_on_demand: Optional[pulumi.Input[bool]] = None,
1199
1364
  container_group_id: Optional[pulumi.Input[str]] = None,
1200
1365
  db_instance_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1201
1366
  default_cooldown: Optional[pulumi.Input[int]] = None,
@@ -1271,7 +1436,7 @@ class ScalingGroup(pulumi.CustomResource):
1271
1436
  zone_id=default.zones[0].id,
1272
1437
  vswitch_name=my_name)
1273
1438
  default_security_group = alicloud.ecs.SecurityGroup("default",
1274
- name=my_name,
1439
+ security_group_name=my_name,
1275
1440
  vpc_id=default_network.id)
1276
1441
  default_security_group_rule = alicloud.ecs.SecurityGroupRule("default",
1277
1442
  type="ingress",
@@ -1320,6 +1485,11 @@ class ScalingGroup(pulumi.CustomResource):
1320
1485
  :param pulumi.Input[Sequence[pulumi.Input[Union['ScalingGroupAlbServerGroupArgs', 'ScalingGroupAlbServerGroupArgsDict']]]] alb_server_groups: If a Serve ALB instance is specified in the scaling group, the scaling group automatically attaches its ECS instances to the Server ALB instance. See `alb_server_group` below for details.
1321
1486
  :param pulumi.Input[str] allocation_strategy: The allocation policy of instances. Auto Scaling selects instance types based on the allocation policy to create instances. The policy can be applied to pay-as-you-go instances and preemptible instances. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
1322
1487
  :param pulumi.Input[bool] az_balance: Specifies whether to evenly distribute instances in the scaling group across multiple zones. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
1488
+ :param pulumi.Input[bool] capacity_options_compensate_with_on_demand: Specifies whether to automatically create pay-as-you-go instances to meet the requirement on the number of ECS instances when the expected capacity of preemptible instances cannot be provided due to reasons such as cost-related issues and insufficient resources. This parameter is supported only if you set 'multi_az_policy' to COST_OPTIMIZED. Valid values: true, false.
1489
+ :param pulumi.Input[int] capacity_options_on_demand_base_capacity: The minimum number of pay-as-you-go instances that must be contained in the scaling group. When the actual number of pay-as-you-go instances in the scaling group drops below the value of this parameter, Auto Scaling preferentially creates pay-as-you-go instances. Valid values: 0 to 1000. If you set 'multi_az_policy' to COMPOSABLE, the default value of this parameter is 0.
1490
+ :param pulumi.Input[int] capacity_options_on_demand_percentage_above_base_capacity: The percentage of pay-as-you-go instances in the excess instances when the minimum number of pay-as-you-go instances is reached. 'on_demand_base_capacity' specifies the minimum number of pay-as-you-go instances that must be contained in the scaling group. Valid values: 0 to 100. If you set 'multi_az_policy' to COMPOSABLE, the default value of this parameter is 100.
1491
+ :param pulumi.Input[bool] capacity_options_spot_auto_replace_on_demand: Specifies whether to replace pay-as-you-go instances with preemptible instances. If you specify 'compensate_with_on_demand', it may result in a higher percentage of pay-as-you-go instances compared to the value of 'on_demand_percentage_above_base_capacity'. If you specify this parameter, Auto Scaling preferentially deploys preemptible instances to replace the surplus pay-as-you-go instances when preemptible instance types are available. If you specify 'compensate_with_on_demand', Auto Scaling creates pay-as-you-go instances when preemptible instance types are insufficient. To avoid retaining these pay-as-you-go instances for extended periods, Auto Scaling attempts to replace them with preemptible instances when sufficient preemptible instance types become available. Valid values: true, false.
1492
+ :param pulumi.Input[bool] compensate_with_on_demand: Specifies whether to automatically create pay-as-you-go instances to meet the requirement on the number of ECS instances when the expected capacity of preemptible instances cannot be provided due to reasons such as cost-related issues and insufficient resources. This parameter is supported only if you set 'multi_az_policy' to COST_OPTIMIZED. Valid values: true, false.
1323
1493
  :param pulumi.Input[str] container_group_id: The ID of the elastic container instance.
1324
1494
  :param pulumi.Input[Sequence[pulumi.Input[str]]] db_instance_ids: If an RDS instance is specified in the scaling group, the scaling group automatically attaches the Intranet IP addresses of its ECS instances to the RDS access whitelist.
1325
1495
  - The specified RDS instance must be in running status.
@@ -1416,7 +1586,7 @@ class ScalingGroup(pulumi.CustomResource):
1416
1586
  zone_id=default.zones[0].id,
1417
1587
  vswitch_name=my_name)
1418
1588
  default_security_group = alicloud.ecs.SecurityGroup("default",
1419
- name=my_name,
1589
+ security_group_name=my_name,
1420
1590
  vpc_id=default_network.id)
1421
1591
  default_security_group_rule = alicloud.ecs.SecurityGroupRule("default",
1422
1592
  type="ingress",
@@ -1478,6 +1648,11 @@ class ScalingGroup(pulumi.CustomResource):
1478
1648
  alb_server_groups: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ScalingGroupAlbServerGroupArgs', 'ScalingGroupAlbServerGroupArgsDict']]]]] = None,
1479
1649
  allocation_strategy: Optional[pulumi.Input[str]] = None,
1480
1650
  az_balance: Optional[pulumi.Input[bool]] = None,
1651
+ capacity_options_compensate_with_on_demand: Optional[pulumi.Input[bool]] = None,
1652
+ capacity_options_on_demand_base_capacity: Optional[pulumi.Input[int]] = None,
1653
+ capacity_options_on_demand_percentage_above_base_capacity: Optional[pulumi.Input[int]] = None,
1654
+ capacity_options_spot_auto_replace_on_demand: Optional[pulumi.Input[bool]] = None,
1655
+ compensate_with_on_demand: Optional[pulumi.Input[bool]] = None,
1481
1656
  container_group_id: Optional[pulumi.Input[str]] = None,
1482
1657
  db_instance_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1483
1658
  default_cooldown: Optional[pulumi.Input[int]] = None,
@@ -1521,6 +1696,11 @@ class ScalingGroup(pulumi.CustomResource):
1521
1696
  __props__.__dict__["alb_server_groups"] = alb_server_groups
1522
1697
  __props__.__dict__["allocation_strategy"] = allocation_strategy
1523
1698
  __props__.__dict__["az_balance"] = az_balance
1699
+ __props__.__dict__["capacity_options_compensate_with_on_demand"] = capacity_options_compensate_with_on_demand
1700
+ __props__.__dict__["capacity_options_on_demand_base_capacity"] = capacity_options_on_demand_base_capacity
1701
+ __props__.__dict__["capacity_options_on_demand_percentage_above_base_capacity"] = capacity_options_on_demand_percentage_above_base_capacity
1702
+ __props__.__dict__["capacity_options_spot_auto_replace_on_demand"] = capacity_options_spot_auto_replace_on_demand
1703
+ __props__.__dict__["compensate_with_on_demand"] = compensate_with_on_demand
1524
1704
  __props__.__dict__["container_group_id"] = container_group_id
1525
1705
  __props__.__dict__["db_instance_ids"] = db_instance_ids
1526
1706
  __props__.__dict__["default_cooldown"] = default_cooldown
@@ -1569,6 +1749,11 @@ class ScalingGroup(pulumi.CustomResource):
1569
1749
  alb_server_groups: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ScalingGroupAlbServerGroupArgs', 'ScalingGroupAlbServerGroupArgsDict']]]]] = None,
1570
1750
  allocation_strategy: Optional[pulumi.Input[str]] = None,
1571
1751
  az_balance: Optional[pulumi.Input[bool]] = None,
1752
+ capacity_options_compensate_with_on_demand: Optional[pulumi.Input[bool]] = None,
1753
+ capacity_options_on_demand_base_capacity: Optional[pulumi.Input[int]] = None,
1754
+ capacity_options_on_demand_percentage_above_base_capacity: Optional[pulumi.Input[int]] = None,
1755
+ capacity_options_spot_auto_replace_on_demand: Optional[pulumi.Input[bool]] = None,
1756
+ compensate_with_on_demand: Optional[pulumi.Input[bool]] = None,
1572
1757
  container_group_id: Optional[pulumi.Input[str]] = None,
1573
1758
  db_instance_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1574
1759
  default_cooldown: Optional[pulumi.Input[int]] = None,
@@ -1610,6 +1795,11 @@ class ScalingGroup(pulumi.CustomResource):
1610
1795
  :param pulumi.Input[Sequence[pulumi.Input[Union['ScalingGroupAlbServerGroupArgs', 'ScalingGroupAlbServerGroupArgsDict']]]] alb_server_groups: If a Serve ALB instance is specified in the scaling group, the scaling group automatically attaches its ECS instances to the Server ALB instance. See `alb_server_group` below for details.
1611
1796
  :param pulumi.Input[str] allocation_strategy: The allocation policy of instances. Auto Scaling selects instance types based on the allocation policy to create instances. The policy can be applied to pay-as-you-go instances and preemptible instances. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
1612
1797
  :param pulumi.Input[bool] az_balance: Specifies whether to evenly distribute instances in the scaling group across multiple zones. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
1798
+ :param pulumi.Input[bool] capacity_options_compensate_with_on_demand: Specifies whether to automatically create pay-as-you-go instances to meet the requirement on the number of ECS instances when the expected capacity of preemptible instances cannot be provided due to reasons such as cost-related issues and insufficient resources. This parameter is supported only if you set 'multi_az_policy' to COST_OPTIMIZED. Valid values: true, false.
1799
+ :param pulumi.Input[int] capacity_options_on_demand_base_capacity: The minimum number of pay-as-you-go instances that must be contained in the scaling group. When the actual number of pay-as-you-go instances in the scaling group drops below the value of this parameter, Auto Scaling preferentially creates pay-as-you-go instances. Valid values: 0 to 1000. If you set 'multi_az_policy' to COMPOSABLE, the default value of this parameter is 0.
1800
+ :param pulumi.Input[int] capacity_options_on_demand_percentage_above_base_capacity: The percentage of pay-as-you-go instances in the excess instances when the minimum number of pay-as-you-go instances is reached. 'on_demand_base_capacity' specifies the minimum number of pay-as-you-go instances that must be contained in the scaling group. Valid values: 0 to 100. If you set 'multi_az_policy' to COMPOSABLE, the default value of this parameter is 100.
1801
+ :param pulumi.Input[bool] capacity_options_spot_auto_replace_on_demand: Specifies whether to replace pay-as-you-go instances with preemptible instances. If you specify 'compensate_with_on_demand', it may result in a higher percentage of pay-as-you-go instances compared to the value of 'on_demand_percentage_above_base_capacity'. If you specify this parameter, Auto Scaling preferentially deploys preemptible instances to replace the surplus pay-as-you-go instances when preemptible instance types are available. If you specify 'compensate_with_on_demand', Auto Scaling creates pay-as-you-go instances when preemptible instance types are insufficient. To avoid retaining these pay-as-you-go instances for extended periods, Auto Scaling attempts to replace them with preemptible instances when sufficient preemptible instance types become available. Valid values: true, false.
1802
+ :param pulumi.Input[bool] compensate_with_on_demand: Specifies whether to automatically create pay-as-you-go instances to meet the requirement on the number of ECS instances when the expected capacity of preemptible instances cannot be provided due to reasons such as cost-related issues and insufficient resources. This parameter is supported only if you set 'multi_az_policy' to COST_OPTIMIZED. Valid values: true, false.
1613
1803
  :param pulumi.Input[str] container_group_id: The ID of the elastic container instance.
1614
1804
  :param pulumi.Input[Sequence[pulumi.Input[str]]] db_instance_ids: If an RDS instance is specified in the scaling group, the scaling group automatically attaches the Intranet IP addresses of its ECS instances to the RDS access whitelist.
1615
1805
  - The specified RDS instance must be in running status.
@@ -1664,6 +1854,11 @@ class ScalingGroup(pulumi.CustomResource):
1664
1854
  __props__.__dict__["alb_server_groups"] = alb_server_groups
1665
1855
  __props__.__dict__["allocation_strategy"] = allocation_strategy
1666
1856
  __props__.__dict__["az_balance"] = az_balance
1857
+ __props__.__dict__["capacity_options_compensate_with_on_demand"] = capacity_options_compensate_with_on_demand
1858
+ __props__.__dict__["capacity_options_on_demand_base_capacity"] = capacity_options_on_demand_base_capacity
1859
+ __props__.__dict__["capacity_options_on_demand_percentage_above_base_capacity"] = capacity_options_on_demand_percentage_above_base_capacity
1860
+ __props__.__dict__["capacity_options_spot_auto_replace_on_demand"] = capacity_options_spot_auto_replace_on_demand
1861
+ __props__.__dict__["compensate_with_on_demand"] = compensate_with_on_demand
1667
1862
  __props__.__dict__["container_group_id"] = container_group_id
1668
1863
  __props__.__dict__["db_instance_ids"] = db_instance_ids
1669
1864
  __props__.__dict__["default_cooldown"] = default_cooldown
@@ -1721,6 +1916,46 @@ class ScalingGroup(pulumi.CustomResource):
1721
1916
  """
1722
1917
  return pulumi.get(self, "az_balance")
1723
1918
 
1919
+ @property
1920
+ @pulumi.getter(name="capacityOptionsCompensateWithOnDemand")
1921
+ def capacity_options_compensate_with_on_demand(self) -> pulumi.Output[bool]:
1922
+ """
1923
+ Specifies whether to automatically create pay-as-you-go instances to meet the requirement on the number of ECS instances when the expected capacity of preemptible instances cannot be provided due to reasons such as cost-related issues and insufficient resources. This parameter is supported only if you set 'multi_az_policy' to COST_OPTIMIZED. Valid values: true, false.
1924
+ """
1925
+ return pulumi.get(self, "capacity_options_compensate_with_on_demand")
1926
+
1927
+ @property
1928
+ @pulumi.getter(name="capacityOptionsOnDemandBaseCapacity")
1929
+ def capacity_options_on_demand_base_capacity(self) -> pulumi.Output[int]:
1930
+ """
1931
+ The minimum number of pay-as-you-go instances that must be contained in the scaling group. When the actual number of pay-as-you-go instances in the scaling group drops below the value of this parameter, Auto Scaling preferentially creates pay-as-you-go instances. Valid values: 0 to 1000. If you set 'multi_az_policy' to COMPOSABLE, the default value of this parameter is 0.
1932
+ """
1933
+ return pulumi.get(self, "capacity_options_on_demand_base_capacity")
1934
+
1935
+ @property
1936
+ @pulumi.getter(name="capacityOptionsOnDemandPercentageAboveBaseCapacity")
1937
+ def capacity_options_on_demand_percentage_above_base_capacity(self) -> pulumi.Output[int]:
1938
+ """
1939
+ The percentage of pay-as-you-go instances in the excess instances when the minimum number of pay-as-you-go instances is reached. 'on_demand_base_capacity' specifies the minimum number of pay-as-you-go instances that must be contained in the scaling group. Valid values: 0 to 100. If you set 'multi_az_policy' to COMPOSABLE, the default value of this parameter is 100.
1940
+ """
1941
+ return pulumi.get(self, "capacity_options_on_demand_percentage_above_base_capacity")
1942
+
1943
+ @property
1944
+ @pulumi.getter(name="capacityOptionsSpotAutoReplaceOnDemand")
1945
+ def capacity_options_spot_auto_replace_on_demand(self) -> pulumi.Output[bool]:
1946
+ """
1947
+ Specifies whether to replace pay-as-you-go instances with preemptible instances. If you specify 'compensate_with_on_demand', it may result in a higher percentage of pay-as-you-go instances compared to the value of 'on_demand_percentage_above_base_capacity'. If you specify this parameter, Auto Scaling preferentially deploys preemptible instances to replace the surplus pay-as-you-go instances when preemptible instance types are available. If you specify 'compensate_with_on_demand', Auto Scaling creates pay-as-you-go instances when preemptible instance types are insufficient. To avoid retaining these pay-as-you-go instances for extended periods, Auto Scaling attempts to replace them with preemptible instances when sufficient preemptible instance types become available. Valid values: true, false.
1948
+ """
1949
+ return pulumi.get(self, "capacity_options_spot_auto_replace_on_demand")
1950
+
1951
+ @property
1952
+ @pulumi.getter(name="compensateWithOnDemand")
1953
+ def compensate_with_on_demand(self) -> pulumi.Output[bool]:
1954
+ """
1955
+ Specifies whether to automatically create pay-as-you-go instances to meet the requirement on the number of ECS instances when the expected capacity of preemptible instances cannot be provided due to reasons such as cost-related issues and insufficient resources. This parameter is supported only if you set 'multi_az_policy' to COST_OPTIMIZED. Valid values: true, false.
1956
+ """
1957
+ return pulumi.get(self, "compensate_with_on_demand")
1958
+
1724
1959
  @property
1725
1960
  @pulumi.getter(name="containerGroupId")
1726
1961
  def container_group_id(self) -> pulumi.Output[Optional[str]]: