pulumi-alicloud 3.58.0__py3-none-any.whl → 3.58.0a1718943944__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 (185) hide show
  1. pulumi_alicloud/__init__.py +0 -24
  2. pulumi_alicloud/_inputs.py +9 -9
  3. pulumi_alicloud/_utilities.py +0 -35
  4. pulumi_alicloud/actiontrail/get_trails.py +3 -1
  5. pulumi_alicloud/actiontrail/get_trails_deprecated.py +3 -1
  6. pulumi_alicloud/actiontrail/trail.py +27 -9
  7. pulumi_alicloud/actiontrail/trail_deprecated.py +27 -9
  8. pulumi_alicloud/adb/cluster.py +18 -6
  9. pulumi_alicloud/adb/db_cluster.py +18 -6
  10. pulumi_alicloud/alb/__init__.py +0 -1
  11. pulumi_alicloud/alb/acl.py +9 -3
  12. pulumi_alicloud/alb/get_load_balancers.py +3 -1
  13. pulumi_alicloud/alb/listener.py +9 -3
  14. pulumi_alicloud/alb/outputs.py +3 -1
  15. pulumi_alicloud/alikafka/instance.py +9 -3
  16. pulumi_alicloud/cas/certificate.py +9 -3
  17. pulumi_alicloud/cas/outputs.py +6 -2
  18. pulumi_alicloud/cas/service_certificate.py +9 -3
  19. pulumi_alicloud/cddc/dedicated_host_account.py +0 -4
  20. pulumi_alicloud/cddc/dedicated_host_group.py +0 -4
  21. pulumi_alicloud/cdn/domain.py +135 -45
  22. pulumi_alicloud/cen/__init__.py +0 -1
  23. pulumi_alicloud/cen/bandwidth_package.py +27 -9
  24. pulumi_alicloud/cen/instance.py +9 -3
  25. pulumi_alicloud/cen/transit_router_vpc_attachment.py +18 -6
  26. pulumi_alicloud/cfg/aggregate_compliance_pack.py +9 -3
  27. pulumi_alicloud/cfg/compliance_pack.py +9 -3
  28. pulumi_alicloud/cfg/get_rules.py +3 -1
  29. pulumi_alicloud/cfg/rule.py +27 -9
  30. pulumi_alicloud/clickhouse/account.py +18 -6
  31. pulumi_alicloud/cloudfirewall/instance.py +9 -3
  32. pulumi_alicloud/cloudstoragegateway/gateway.py +69 -69
  33. pulumi_alicloud/cms/alarm.py +27 -9
  34. pulumi_alicloud/config/outputs.py +6 -6
  35. pulumi_alicloud/cs/_inputs.py +6 -2
  36. pulumi_alicloud/cs/cluster.py +9 -3
  37. pulumi_alicloud/cs/edge_kubernetes.py +18 -6
  38. pulumi_alicloud/cs/kubernetes.py +9 -3
  39. pulumi_alicloud/cs/kubernetes_addon.py +2 -2
  40. pulumi_alicloud/cs/node_pool.py +52 -22
  41. pulumi_alicloud/cs/outputs.py +6 -2
  42. pulumi_alicloud/cs/serverless_kubernetes.py +27 -9
  43. pulumi_alicloud/cs/swarm.py +9 -3
  44. pulumi_alicloud/databasefilesystem/instance.py +18 -6
  45. pulumi_alicloud/ddos/__init__.py +0 -1
  46. pulumi_alicloud/ddos/_inputs.py +0 -712
  47. pulumi_alicloud/ddos/bgp_ip.py +2 -53
  48. pulumi_alicloud/ddos/outputs.py +0 -666
  49. pulumi_alicloud/dms/enterprise_instance.py +15 -5
  50. pulumi_alicloud/dms/enterprise_user.py +9 -3
  51. pulumi_alicloud/dns/domain_group.py +9 -3
  52. pulumi_alicloud/drds/get_instances.py +3 -1
  53. pulumi_alicloud/eci/_inputs.py +0 -12
  54. pulumi_alicloud/eci/outputs.py +0 -8
  55. pulumi_alicloud/ecs/copy_image.py +9 -3
  56. pulumi_alicloud/ecs/disk.py +18 -6
  57. pulumi_alicloud/ecs/ecs_disk.py +25 -13
  58. pulumi_alicloud/ecs/ecs_key_pair.py +9 -3
  59. pulumi_alicloud/ecs/ecs_key_pair_attachment.py +9 -3
  60. pulumi_alicloud/ecs/ecs_launch_template.py +55 -160
  61. pulumi_alicloud/ecs/ecs_network_interface.py +45 -15
  62. pulumi_alicloud/ecs/ecs_snapshot.py +9 -3
  63. pulumi_alicloud/ecs/eip.py +19 -7
  64. pulumi_alicloud/ecs/eip_address.py +317 -501
  65. pulumi_alicloud/ecs/eip_association.py +58 -205
  66. pulumi_alicloud/ecs/eip_segment_address.py +133 -311
  67. pulumi_alicloud/ecs/get_disks.py +6 -2
  68. pulumi_alicloud/ecs/get_ecs_disks.py +6 -2
  69. pulumi_alicloud/ecs/get_ecs_key_pairs.py +3 -1
  70. pulumi_alicloud/ecs/get_ecs_network_interfaces.py +6 -2
  71. pulumi_alicloud/ecs/get_eip_addresses.py +6 -2
  72. pulumi_alicloud/ecs/get_eips.py +6 -2
  73. pulumi_alicloud/ecs/get_key_pairs.py +3 -1
  74. pulumi_alicloud/ecs/get_network_interfaces.py +6 -2
  75. pulumi_alicloud/ecs/image.py +9 -3
  76. pulumi_alicloud/ecs/image_copy.py +9 -3
  77. pulumi_alicloud/ecs/instance.py +24 -26
  78. pulumi_alicloud/ecs/key_pair.py +9 -3
  79. pulumi_alicloud/ecs/key_pair_attachment.py +9 -3
  80. pulumi_alicloud/ecs/launch_template.py +55 -121
  81. pulumi_alicloud/ecs/reserved_instance.py +9 -3
  82. pulumi_alicloud/ecs/security_group.py +9 -3
  83. pulumi_alicloud/ecs/snapshot.py +9 -3
  84. pulumi_alicloud/edas/k8s_application.py +36 -12
  85. pulumi_alicloud/eds/outputs.py +6 -2
  86. pulumi_alicloud/eds/simple_office_site.py +18 -6
  87. pulumi_alicloud/ess/_inputs.py +3 -89
  88. pulumi_alicloud/ess/alarm.py +38 -132
  89. pulumi_alicloud/ess/outputs.py +3 -88
  90. pulumi_alicloud/ess/scaling_configuration.py +18 -6
  91. pulumi_alicloud/ess/scaling_group.py +16 -151
  92. pulumi_alicloud/ga/accelerator.py +0 -47
  93. pulumi_alicloud/ga/acl.py +9 -50
  94. pulumi_alicloud/ga/bandwidth_package.py +12 -57
  95. pulumi_alicloud/ga/basic_accelerator.py +8 -55
  96. pulumi_alicloud/gpdb/instance.py +45 -15
  97. pulumi_alicloud/hbr/ecs_backup_plan.py +9 -3
  98. pulumi_alicloud/hbr/nas_backup_plan.py +9 -3
  99. pulumi_alicloud/hbr/ots_backup_plan.py +9 -3
  100. pulumi_alicloud/kms/key.py +27 -9
  101. pulumi_alicloud/kvstore/_inputs.py +6 -2
  102. pulumi_alicloud/kvstore/get_instance_classes.py +9 -3
  103. pulumi_alicloud/kvstore/instance.py +69 -124
  104. pulumi_alicloud/kvstore/outputs.py +6 -2
  105. pulumi_alicloud/lindorm/instance.py +9 -3
  106. pulumi_alicloud/log/_inputs.py +3 -1
  107. pulumi_alicloud/log/alert.py +63 -21
  108. pulumi_alicloud/log/oss_shipper.py +0 -4
  109. pulumi_alicloud/log/outputs.py +3 -1
  110. pulumi_alicloud/log/project.py +9 -3
  111. pulumi_alicloud/log/store.py +18 -6
  112. pulumi_alicloud/mongodb/sharding_instance.py +7 -54
  113. pulumi_alicloud/nas/access_group.py +18 -6
  114. pulumi_alicloud/nas/get_access_groups.py +3 -1
  115. pulumi_alicloud/nas/get_mount_targets.py +6 -2
  116. pulumi_alicloud/nlb/server_group.py +9 -3
  117. pulumi_alicloud/oss/bucket.py +18 -6
  118. pulumi_alicloud/oss/bucket_policy.py +2 -2
  119. pulumi_alicloud/oss/bucket_referer.py +2 -2
  120. pulumi_alicloud/provider.py +24 -8
  121. pulumi_alicloud/pulumi-plugin.json +1 -1
  122. pulumi_alicloud/pvtz/zone.py +9 -3
  123. pulumi_alicloud/pvtz/zone_record.py +9 -3
  124. pulumi_alicloud/ram/policy.py +36 -12
  125. pulumi_alicloud/ram/role.py +27 -9
  126. pulumi_alicloud/rds/account.py +45 -15
  127. pulumi_alicloud/rds/backup_policy.py +45 -15
  128. pulumi_alicloud/rds/get_zones.py +3 -1
  129. pulumi_alicloud/rds/instance.py +18 -27
  130. pulumi_alicloud/rds/rds_account.py +45 -15
  131. pulumi_alicloud/resourcemanager/policy.py +9 -3
  132. pulumi_alicloud/resourcemanager/policy_version.py +9 -3
  133. pulumi_alicloud/resourcemanager/resource_group.py +9 -3
  134. pulumi_alicloud/rocketmq/group.py +9 -3
  135. pulumi_alicloud/rocketmq/instance.py +9 -3
  136. pulumi_alicloud/rocketmq/topic.py +18 -6
  137. pulumi_alicloud/sae/application.py +90 -30
  138. pulumi_alicloud/scdn/domain.py +9 -3
  139. pulumi_alicloud/servicecatalog/get_launch_options.py +3 -1
  140. pulumi_alicloud/servicecatalog/get_product_versions.py +3 -1
  141. pulumi_alicloud/servicecatalog/get_provisioned_products.py +3 -1
  142. pulumi_alicloud/slb/acl.py +9 -3
  143. pulumi_alicloud/slb/application_load_balancer.py +18 -6
  144. pulumi_alicloud/slb/ca_certificate.py +9 -3
  145. pulumi_alicloud/slb/get_application_load_balancers.py +3 -1
  146. pulumi_alicloud/slb/get_load_balancers.py +3 -1
  147. pulumi_alicloud/slb/get_zones.py +3 -1
  148. pulumi_alicloud/slb/listener.py +27 -9
  149. pulumi_alicloud/slb/load_balancer.py +18 -6
  150. pulumi_alicloud/slb/outputs.py +3 -1
  151. pulumi_alicloud/slb/server_certificate.py +18 -6
  152. pulumi_alicloud/slb/server_group.py +9 -3
  153. pulumi_alicloud/threatdetection/instance.py +9 -3
  154. pulumi_alicloud/vpc/common_bandwith_package.py +129 -200
  155. pulumi_alicloud/vpc/common_bandwith_package_attachment.py +30 -58
  156. pulumi_alicloud/vpc/dhcp_options_set.py +9 -3
  157. pulumi_alicloud/vpc/forward_entry.py +9 -3
  158. pulumi_alicloud/vpc/ha_vip.py +9 -3
  159. pulumi_alicloud/vpc/ha_vip_attachment.py +9 -3
  160. pulumi_alicloud/vpc/ha_vipv2.py +9 -3
  161. pulumi_alicloud/vpc/ipv6_gateway.py +9 -3
  162. pulumi_alicloud/vpc/network.py +24 -8
  163. pulumi_alicloud/vpc/network_acl.py +9 -3
  164. pulumi_alicloud/vpc/network_interface.py +45 -15
  165. pulumi_alicloud/vpc/route_entry.py +9 -3
  166. pulumi_alicloud/vpc/route_table.py +9 -3
  167. pulumi_alicloud/vpc/router_interface.py +39 -13
  168. pulumi_alicloud/vpc/router_interface_connection.py +2 -2
  169. pulumi_alicloud/vpc/subnet.py +18 -6
  170. pulumi_alicloud/vpc/switch.py +18 -6
  171. pulumi_alicloud/vpc/traffic_mirror_filter_egress_rule.py +9 -3
  172. pulumi_alicloud/vpc/traffic_mirror_filter_ingress_rule.py +9 -3
  173. pulumi_alicloud/vpn/connection.py +9 -3
  174. pulumi_alicloud/vpn/customer_gateway.py +9 -3
  175. pulumi_alicloud/vpn/gateway.py +18 -6
  176. pulumi_alicloud/vpn/get_gateway_vpn_attachments.py +3 -1
  177. pulumi_alicloud/vpn/get_gateways.py +3 -1
  178. pulumi_alicloud/waf/domain.py +9 -3
  179. {pulumi_alicloud-3.58.0.dist-info → pulumi_alicloud-3.58.0a1718943944.dist-info}/METADATA +1 -1
  180. {pulumi_alicloud-3.58.0.dist-info → pulumi_alicloud-3.58.0a1718943944.dist-info}/RECORD +182 -185
  181. {pulumi_alicloud-3.58.0.dist-info → pulumi_alicloud-3.58.0a1718943944.dist-info}/WHEEL +1 -1
  182. pulumi_alicloud/alb/load_balancer_security_group_attachment.py +0 -327
  183. pulumi_alicloud/cen/transit_router_ecr_attachment.py +0 -584
  184. pulumi_alicloud/ddos/bgp_policy.py +0 -343
  185. {pulumi_alicloud-3.58.0.dist-info → pulumi_alicloud-3.58.0a1718943944.dist-info}/top_level.txt +0 -0
@@ -19,8 +19,6 @@ class ScalingGroupArgs:
19
19
  max_size: pulumi.Input[int],
20
20
  min_size: pulumi.Input[int],
21
21
  alb_server_groups: Optional[pulumi.Input[Sequence[pulumi.Input['ScalingGroupAlbServerGroupArgs']]]] = None,
22
- allocation_strategy: Optional[pulumi.Input[str]] = None,
23
- az_balance: Optional[pulumi.Input[bool]] = None,
24
22
  db_instance_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
25
23
  default_cooldown: Optional[pulumi.Input[int]] = None,
26
24
  desired_capacity: Optional[pulumi.Input[int]] = None,
@@ -38,7 +36,6 @@ class ScalingGroupArgs:
38
36
  removal_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
39
37
  resource_group_id: Optional[pulumi.Input[str]] = None,
40
38
  scaling_group_name: Optional[pulumi.Input[str]] = None,
41
- spot_allocation_strategy: Optional[pulumi.Input[str]] = None,
42
39
  spot_instance_pools: Optional[pulumi.Input[int]] = None,
43
40
  spot_instance_remedy: Optional[pulumi.Input[bool]] = None,
44
41
  tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
@@ -51,8 +48,6 @@ class ScalingGroupArgs:
51
48
  :param pulumi.Input[int] min_size: Minimum number of ECS instances in the scaling group. Value range: [0, 2000].
52
49
  **NOTE:** From version 1.204.1, `min_size` can be set to `2000`.
53
50
  :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.
54
- :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.
55
- :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.
56
51
  :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.
57
52
  - The specified RDS instance must be in running status.
58
53
  - The specified RDS instance’s whitelist must have room for more IP addresses.
@@ -70,7 +65,7 @@ class ScalingGroupArgs:
70
65
  targeting your `slb.Listener` in order to make sure the listener with its HealthCheck configuration is ready before creating your scaling group).
71
66
  - The Server Load Balancer instance attached with VPC-type ECS instances cannot be attached to the scaling group.
72
67
  - The default weight of an ECS instance attached to the Server Load Balancer instance is 50.
73
- :param pulumi.Input[str] multi_az_policy: Multi-AZ scaling group ECS instance expansion and contraction strategy. PRIORITY, COMPOSABLE, BALANCE or COST_OPTIMIZED(Available since v1.54.0).
68
+ :param pulumi.Input[str] multi_az_policy: Multi-AZ scaling group ECS instance expansion and contraction strategy. PRIORITY, BALANCE or COST_OPTIMIZED(Available since v1.54.0).
74
69
  :param pulumi.Input[int] on_demand_base_capacity: The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances. This base portion is provisioned first as your group scales.
75
70
  :param pulumi.Input[int] on_demand_percentage_above_base_capacity: Controls the percentages of On-Demand Instances and Spot Instances for your additional capacity beyond OnDemandBaseCapacity.
76
71
  :param pulumi.Input[Sequence[pulumi.Input[str]]] protected_instances: Set or unset instances within group into protected status.
@@ -81,7 +76,6 @@ class ScalingGroupArgs:
81
76
  - Default values: Default value of RemovalPolicy.1: OldestScalingConfiguration. Default value of RemovalPolicy.2: OldestInstance.
82
77
  :param pulumi.Input[str] resource_group_id: The ID of the resource group to which you want to add the scaling group.
83
78
  :param pulumi.Input[str] scaling_group_name: Name shown for the scaling group, which must contain 2-64 characters (English or Chinese), starting with numbers, English letters or Chinese characters, and can contain numbers, underscores `_`, hyphens `-`, and decimal points `.`. If this parameter is not specified, the default value is ScalingGroupId.
84
- :param pulumi.Input[str] spot_allocation_strategy: The allocation policy of preemptible instances. You can use this parameter to individually specify the allocation policy for preemptible instances. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
85
79
  :param pulumi.Input[int] spot_instance_pools: The number of Spot pools to use to allocate your Spot capacity. The Spot pools is composed of instance types of lowest price.
86
80
  :param pulumi.Input[bool] spot_instance_remedy: Whether to replace spot instances with newly created spot/onDemand instance when receive a spot recycling message.
87
81
  :param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
@@ -94,10 +88,6 @@ class ScalingGroupArgs:
94
88
  pulumi.set(__self__, "min_size", min_size)
95
89
  if alb_server_groups is not None:
96
90
  pulumi.set(__self__, "alb_server_groups", alb_server_groups)
97
- if allocation_strategy is not None:
98
- pulumi.set(__self__, "allocation_strategy", allocation_strategy)
99
- if az_balance is not None:
100
- pulumi.set(__self__, "az_balance", az_balance)
101
91
  if db_instance_ids is not None:
102
92
  pulumi.set(__self__, "db_instance_ids", db_instance_ids)
103
93
  if default_cooldown is not None:
@@ -132,8 +122,6 @@ class ScalingGroupArgs:
132
122
  pulumi.set(__self__, "resource_group_id", resource_group_id)
133
123
  if scaling_group_name is not None:
134
124
  pulumi.set(__self__, "scaling_group_name", scaling_group_name)
135
- if spot_allocation_strategy is not None:
136
- pulumi.set(__self__, "spot_allocation_strategy", spot_allocation_strategy)
137
125
  if spot_instance_pools is not None:
138
126
  pulumi.set(__self__, "spot_instance_pools", spot_instance_pools)
139
127
  if spot_instance_remedy is not None:
@@ -186,30 +174,6 @@ class ScalingGroupArgs:
186
174
  def alb_server_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ScalingGroupAlbServerGroupArgs']]]]):
187
175
  pulumi.set(self, "alb_server_groups", value)
188
176
 
189
- @property
190
- @pulumi.getter(name="allocationStrategy")
191
- def allocation_strategy(self) -> Optional[pulumi.Input[str]]:
192
- """
193
- 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.
194
- """
195
- return pulumi.get(self, "allocation_strategy")
196
-
197
- @allocation_strategy.setter
198
- def allocation_strategy(self, value: Optional[pulumi.Input[str]]):
199
- pulumi.set(self, "allocation_strategy", value)
200
-
201
- @property
202
- @pulumi.getter(name="azBalance")
203
- def az_balance(self) -> Optional[pulumi.Input[bool]]:
204
- """
205
- Specifies whether to evenly distribute instances in the scaling group across multiple zones. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
206
- """
207
- return pulumi.get(self, "az_balance")
208
-
209
- @az_balance.setter
210
- def az_balance(self, value: Optional[pulumi.Input[bool]]):
211
- pulumi.set(self, "az_balance", value)
212
-
213
177
  @property
214
178
  @pulumi.getter(name="dbInstanceIds")
215
179
  def db_instance_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
@@ -341,7 +305,7 @@ class ScalingGroupArgs:
341
305
  @pulumi.getter(name="multiAzPolicy")
342
306
  def multi_az_policy(self) -> Optional[pulumi.Input[str]]:
343
307
  """
344
- Multi-AZ scaling group ECS instance expansion and contraction strategy. PRIORITY, COMPOSABLE, BALANCE or COST_OPTIMIZED(Available since v1.54.0).
308
+ Multi-AZ scaling group ECS instance expansion and contraction strategy. PRIORITY, BALANCE or COST_OPTIMIZED(Available since v1.54.0).
345
309
  """
346
310
  return pulumi.get(self, "multi_az_policy")
347
311
 
@@ -425,18 +389,6 @@ class ScalingGroupArgs:
425
389
  def scaling_group_name(self, value: Optional[pulumi.Input[str]]):
426
390
  pulumi.set(self, "scaling_group_name", value)
427
391
 
428
- @property
429
- @pulumi.getter(name="spotAllocationStrategy")
430
- def spot_allocation_strategy(self) -> Optional[pulumi.Input[str]]:
431
- """
432
- The allocation policy of preemptible instances. You can use this parameter to individually specify the allocation policy for preemptible instances. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
433
- """
434
- return pulumi.get(self, "spot_allocation_strategy")
435
-
436
- @spot_allocation_strategy.setter
437
- def spot_allocation_strategy(self, value: Optional[pulumi.Input[str]]):
438
- pulumi.set(self, "spot_allocation_strategy", value)
439
-
440
392
  @property
441
393
  @pulumi.getter(name="spotInstancePools")
442
394
  def spot_instance_pools(self) -> Optional[pulumi.Input[int]]:
@@ -477,11 +429,13 @@ class ScalingGroupArgs:
477
429
 
478
430
  @property
479
431
  @pulumi.getter(name="vswitchId")
480
- @_utilities.deprecated("""Field 'vswitch_id' has been deprecated from provider version 1.7.1, and new field 'vswitch_ids' can replace it.""")
481
432
  def vswitch_id(self) -> Optional[pulumi.Input[str]]:
482
433
  """
483
434
  It has been deprecated from version 1.7.1 and new field 'vswitch_ids' replaces it.
484
435
  """
436
+ warnings.warn("""Field 'vswitch_id' has been deprecated from provider version 1.7.1, and new field 'vswitch_ids' can replace it.""", DeprecationWarning)
437
+ pulumi.log.warn("""vswitch_id is deprecated: Field 'vswitch_id' has been deprecated from provider version 1.7.1, and new field 'vswitch_ids' can replace it.""")
438
+
485
439
  return pulumi.get(self, "vswitch_id")
486
440
 
487
441
  @vswitch_id.setter
@@ -505,8 +459,6 @@ class ScalingGroupArgs:
505
459
  class _ScalingGroupState:
506
460
  def __init__(__self__, *,
507
461
  alb_server_groups: Optional[pulumi.Input[Sequence[pulumi.Input['ScalingGroupAlbServerGroupArgs']]]] = None,
508
- allocation_strategy: Optional[pulumi.Input[str]] = None,
509
- az_balance: Optional[pulumi.Input[bool]] = None,
510
462
  db_instance_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
511
463
  default_cooldown: Optional[pulumi.Input[int]] = None,
512
464
  desired_capacity: Optional[pulumi.Input[int]] = None,
@@ -526,7 +478,6 @@ class _ScalingGroupState:
526
478
  removal_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
527
479
  resource_group_id: Optional[pulumi.Input[str]] = None,
528
480
  scaling_group_name: Optional[pulumi.Input[str]] = None,
529
- spot_allocation_strategy: Optional[pulumi.Input[str]] = None,
530
481
  spot_instance_pools: Optional[pulumi.Input[int]] = None,
531
482
  spot_instance_remedy: Optional[pulumi.Input[bool]] = None,
532
483
  tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
@@ -535,8 +486,6 @@ class _ScalingGroupState:
535
486
  """
536
487
  Input properties used for looking up and filtering ScalingGroup resources.
537
488
  :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.
538
- :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.
539
- :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.
540
489
  :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.
541
490
  - The specified RDS instance must be in running status.
542
491
  - The specified RDS instance’s whitelist must have room for more IP addresses.
@@ -558,7 +507,7 @@ class _ScalingGroupState:
558
507
  **NOTE:** From version 1.204.1, `max_size` can be set to `2000`.
559
508
  :param pulumi.Input[int] min_size: Minimum number of ECS instances in the scaling group. Value range: [0, 2000].
560
509
  **NOTE:** From version 1.204.1, `min_size` can be set to `2000`.
561
- :param pulumi.Input[str] multi_az_policy: Multi-AZ scaling group ECS instance expansion and contraction strategy. PRIORITY, COMPOSABLE, BALANCE or COST_OPTIMIZED(Available since v1.54.0).
510
+ :param pulumi.Input[str] multi_az_policy: Multi-AZ scaling group ECS instance expansion and contraction strategy. PRIORITY, BALANCE or COST_OPTIMIZED(Available since v1.54.0).
562
511
  :param pulumi.Input[int] on_demand_base_capacity: The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances. This base portion is provisioned first as your group scales.
563
512
  :param pulumi.Input[int] on_demand_percentage_above_base_capacity: Controls the percentages of On-Demand Instances and Spot Instances for your additional capacity beyond OnDemandBaseCapacity.
564
513
  :param pulumi.Input[Sequence[pulumi.Input[str]]] protected_instances: Set or unset instances within group into protected status.
@@ -569,7 +518,6 @@ class _ScalingGroupState:
569
518
  - Default values: Default value of RemovalPolicy.1: OldestScalingConfiguration. Default value of RemovalPolicy.2: OldestInstance.
570
519
  :param pulumi.Input[str] resource_group_id: The ID of the resource group to which you want to add the scaling group.
571
520
  :param pulumi.Input[str] scaling_group_name: Name shown for the scaling group, which must contain 2-64 characters (English or Chinese), starting with numbers, English letters or Chinese characters, and can contain numbers, underscores `_`, hyphens `-`, and decimal points `.`. If this parameter is not specified, the default value is ScalingGroupId.
572
- :param pulumi.Input[str] spot_allocation_strategy: The allocation policy of preemptible instances. You can use this parameter to individually specify the allocation policy for preemptible instances. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
573
521
  :param pulumi.Input[int] spot_instance_pools: The number of Spot pools to use to allocate your Spot capacity. The Spot pools is composed of instance types of lowest price.
574
522
  :param pulumi.Input[bool] spot_instance_remedy: Whether to replace spot instances with newly created spot/onDemand instance when receive a spot recycling message.
575
523
  :param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
@@ -580,10 +528,6 @@ class _ScalingGroupState:
580
528
  """
581
529
  if alb_server_groups is not None:
582
530
  pulumi.set(__self__, "alb_server_groups", alb_server_groups)
583
- if allocation_strategy is not None:
584
- pulumi.set(__self__, "allocation_strategy", allocation_strategy)
585
- if az_balance is not None:
586
- pulumi.set(__self__, "az_balance", az_balance)
587
531
  if db_instance_ids is not None:
588
532
  pulumi.set(__self__, "db_instance_ids", db_instance_ids)
589
533
  if default_cooldown is not None:
@@ -622,8 +566,6 @@ class _ScalingGroupState:
622
566
  pulumi.set(__self__, "resource_group_id", resource_group_id)
623
567
  if scaling_group_name is not None:
624
568
  pulumi.set(__self__, "scaling_group_name", scaling_group_name)
625
- if spot_allocation_strategy is not None:
626
- pulumi.set(__self__, "spot_allocation_strategy", spot_allocation_strategy)
627
569
  if spot_instance_pools is not None:
628
570
  pulumi.set(__self__, "spot_instance_pools", spot_instance_pools)
629
571
  if spot_instance_remedy is not None:
@@ -650,30 +592,6 @@ class _ScalingGroupState:
650
592
  def alb_server_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ScalingGroupAlbServerGroupArgs']]]]):
651
593
  pulumi.set(self, "alb_server_groups", value)
652
594
 
653
- @property
654
- @pulumi.getter(name="allocationStrategy")
655
- def allocation_strategy(self) -> Optional[pulumi.Input[str]]:
656
- """
657
- 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.
658
- """
659
- return pulumi.get(self, "allocation_strategy")
660
-
661
- @allocation_strategy.setter
662
- def allocation_strategy(self, value: Optional[pulumi.Input[str]]):
663
- pulumi.set(self, "allocation_strategy", value)
664
-
665
- @property
666
- @pulumi.getter(name="azBalance")
667
- def az_balance(self) -> Optional[pulumi.Input[bool]]:
668
- """
669
- Specifies whether to evenly distribute instances in the scaling group across multiple zones. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
670
- """
671
- return pulumi.get(self, "az_balance")
672
-
673
- @az_balance.setter
674
- def az_balance(self, value: Optional[pulumi.Input[bool]]):
675
- pulumi.set(self, "az_balance", value)
676
-
677
595
  @property
678
596
  @pulumi.getter(name="dbInstanceIds")
679
597
  def db_instance_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
@@ -831,7 +749,7 @@ class _ScalingGroupState:
831
749
  @pulumi.getter(name="multiAzPolicy")
832
750
  def multi_az_policy(self) -> Optional[pulumi.Input[str]]:
833
751
  """
834
- Multi-AZ scaling group ECS instance expansion and contraction strategy. PRIORITY, COMPOSABLE, BALANCE or COST_OPTIMIZED(Available since v1.54.0).
752
+ Multi-AZ scaling group ECS instance expansion and contraction strategy. PRIORITY, BALANCE or COST_OPTIMIZED(Available since v1.54.0).
835
753
  """
836
754
  return pulumi.get(self, "multi_az_policy")
837
755
 
@@ -915,18 +833,6 @@ class _ScalingGroupState:
915
833
  def scaling_group_name(self, value: Optional[pulumi.Input[str]]):
916
834
  pulumi.set(self, "scaling_group_name", value)
917
835
 
918
- @property
919
- @pulumi.getter(name="spotAllocationStrategy")
920
- def spot_allocation_strategy(self) -> Optional[pulumi.Input[str]]:
921
- """
922
- The allocation policy of preemptible instances. You can use this parameter to individually specify the allocation policy for preemptible instances. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
923
- """
924
- return pulumi.get(self, "spot_allocation_strategy")
925
-
926
- @spot_allocation_strategy.setter
927
- def spot_allocation_strategy(self, value: Optional[pulumi.Input[str]]):
928
- pulumi.set(self, "spot_allocation_strategy", value)
929
-
930
836
  @property
931
837
  @pulumi.getter(name="spotInstancePools")
932
838
  def spot_instance_pools(self) -> Optional[pulumi.Input[int]]:
@@ -967,11 +873,13 @@ class _ScalingGroupState:
967
873
 
968
874
  @property
969
875
  @pulumi.getter(name="vswitchId")
970
- @_utilities.deprecated("""Field 'vswitch_id' has been deprecated from provider version 1.7.1, and new field 'vswitch_ids' can replace it.""")
971
876
  def vswitch_id(self) -> Optional[pulumi.Input[str]]:
972
877
  """
973
878
  It has been deprecated from version 1.7.1 and new field 'vswitch_ids' replaces it.
974
879
  """
880
+ warnings.warn("""Field 'vswitch_id' has been deprecated from provider version 1.7.1, and new field 'vswitch_ids' can replace it.""", DeprecationWarning)
881
+ pulumi.log.warn("""vswitch_id is deprecated: Field 'vswitch_id' has been deprecated from provider version 1.7.1, and new field 'vswitch_ids' can replace it.""")
882
+
975
883
  return pulumi.get(self, "vswitch_id")
976
884
 
977
885
  @vswitch_id.setter
@@ -997,8 +905,6 @@ class ScalingGroup(pulumi.CustomResource):
997
905
  resource_name: str,
998
906
  opts: Optional[pulumi.ResourceOptions] = None,
999
907
  alb_server_groups: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScalingGroupAlbServerGroupArgs']]]]] = None,
1000
- allocation_strategy: Optional[pulumi.Input[str]] = None,
1001
- az_balance: Optional[pulumi.Input[bool]] = None,
1002
908
  db_instance_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1003
909
  default_cooldown: Optional[pulumi.Input[int]] = None,
1004
910
  desired_capacity: Optional[pulumi.Input[int]] = None,
@@ -1018,7 +924,6 @@ class ScalingGroup(pulumi.CustomResource):
1018
924
  removal_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1019
925
  resource_group_id: Optional[pulumi.Input[str]] = None,
1020
926
  scaling_group_name: Optional[pulumi.Input[str]] = None,
1021
- spot_allocation_strategy: Optional[pulumi.Input[str]] = None,
1022
927
  spot_instance_pools: Optional[pulumi.Input[int]] = None,
1023
928
  spot_instance_remedy: Optional[pulumi.Input[bool]] = None,
1024
929
  tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
@@ -1115,8 +1020,6 @@ class ScalingGroup(pulumi.CustomResource):
1115
1020
  :param str resource_name: The name of the resource.
1116
1021
  :param pulumi.ResourceOptions opts: Options for the resource.
1117
1022
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['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.
1118
- :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.
1119
- :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.
1120
1023
  :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.
1121
1024
  - The specified RDS instance must be in running status.
1122
1025
  - The specified RDS instance’s whitelist must have room for more IP addresses.
@@ -1138,7 +1041,7 @@ class ScalingGroup(pulumi.CustomResource):
1138
1041
  **NOTE:** From version 1.204.1, `max_size` can be set to `2000`.
1139
1042
  :param pulumi.Input[int] min_size: Minimum number of ECS instances in the scaling group. Value range: [0, 2000].
1140
1043
  **NOTE:** From version 1.204.1, `min_size` can be set to `2000`.
1141
- :param pulumi.Input[str] multi_az_policy: Multi-AZ scaling group ECS instance expansion and contraction strategy. PRIORITY, COMPOSABLE, BALANCE or COST_OPTIMIZED(Available since v1.54.0).
1044
+ :param pulumi.Input[str] multi_az_policy: Multi-AZ scaling group ECS instance expansion and contraction strategy. PRIORITY, BALANCE or COST_OPTIMIZED(Available since v1.54.0).
1142
1045
  :param pulumi.Input[int] on_demand_base_capacity: The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances. This base portion is provisioned first as your group scales.
1143
1046
  :param pulumi.Input[int] on_demand_percentage_above_base_capacity: Controls the percentages of On-Demand Instances and Spot Instances for your additional capacity beyond OnDemandBaseCapacity.
1144
1047
  :param pulumi.Input[Sequence[pulumi.Input[str]]] protected_instances: Set or unset instances within group into protected status.
@@ -1149,7 +1052,6 @@ class ScalingGroup(pulumi.CustomResource):
1149
1052
  - Default values: Default value of RemovalPolicy.1: OldestScalingConfiguration. Default value of RemovalPolicy.2: OldestInstance.
1150
1053
  :param pulumi.Input[str] resource_group_id: The ID of the resource group to which you want to add the scaling group.
1151
1054
  :param pulumi.Input[str] scaling_group_name: Name shown for the scaling group, which must contain 2-64 characters (English or Chinese), starting with numbers, English letters or Chinese characters, and can contain numbers, underscores `_`, hyphens `-`, and decimal points `.`. If this parameter is not specified, the default value is ScalingGroupId.
1152
- :param pulumi.Input[str] spot_allocation_strategy: The allocation policy of preemptible instances. You can use this parameter to individually specify the allocation policy for preemptible instances. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
1153
1055
  :param pulumi.Input[int] spot_instance_pools: The number of Spot pools to use to allocate your Spot capacity. The Spot pools is composed of instance types of lowest price.
1154
1056
  :param pulumi.Input[bool] spot_instance_remedy: Whether to replace spot instances with newly created spot/onDemand instance when receive a spot recycling message.
1155
1057
  :param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
@@ -1267,8 +1169,6 @@ class ScalingGroup(pulumi.CustomResource):
1267
1169
  resource_name: str,
1268
1170
  opts: Optional[pulumi.ResourceOptions] = None,
1269
1171
  alb_server_groups: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScalingGroupAlbServerGroupArgs']]]]] = None,
1270
- allocation_strategy: Optional[pulumi.Input[str]] = None,
1271
- az_balance: Optional[pulumi.Input[bool]] = None,
1272
1172
  db_instance_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1273
1173
  default_cooldown: Optional[pulumi.Input[int]] = None,
1274
1174
  desired_capacity: Optional[pulumi.Input[int]] = None,
@@ -1288,7 +1188,6 @@ class ScalingGroup(pulumi.CustomResource):
1288
1188
  removal_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1289
1189
  resource_group_id: Optional[pulumi.Input[str]] = None,
1290
1190
  scaling_group_name: Optional[pulumi.Input[str]] = None,
1291
- spot_allocation_strategy: Optional[pulumi.Input[str]] = None,
1292
1191
  spot_instance_pools: Optional[pulumi.Input[int]] = None,
1293
1192
  spot_instance_remedy: Optional[pulumi.Input[bool]] = None,
1294
1193
  tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
@@ -1304,8 +1203,6 @@ class ScalingGroup(pulumi.CustomResource):
1304
1203
  __props__ = ScalingGroupArgs.__new__(ScalingGroupArgs)
1305
1204
 
1306
1205
  __props__.__dict__["alb_server_groups"] = alb_server_groups
1307
- __props__.__dict__["allocation_strategy"] = allocation_strategy
1308
- __props__.__dict__["az_balance"] = az_balance
1309
1206
  __props__.__dict__["db_instance_ids"] = db_instance_ids
1310
1207
  __props__.__dict__["default_cooldown"] = default_cooldown
1311
1208
  __props__.__dict__["desired_capacity"] = desired_capacity
@@ -1329,7 +1226,6 @@ class ScalingGroup(pulumi.CustomResource):
1329
1226
  __props__.__dict__["removal_policies"] = removal_policies
1330
1227
  __props__.__dict__["resource_group_id"] = resource_group_id
1331
1228
  __props__.__dict__["scaling_group_name"] = scaling_group_name
1332
- __props__.__dict__["spot_allocation_strategy"] = spot_allocation_strategy
1333
1229
  __props__.__dict__["spot_instance_pools"] = spot_instance_pools
1334
1230
  __props__.__dict__["spot_instance_remedy"] = spot_instance_remedy
1335
1231
  __props__.__dict__["tags"] = tags
@@ -1346,8 +1242,6 @@ class ScalingGroup(pulumi.CustomResource):
1346
1242
  id: pulumi.Input[str],
1347
1243
  opts: Optional[pulumi.ResourceOptions] = None,
1348
1244
  alb_server_groups: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ScalingGroupAlbServerGroupArgs']]]]] = None,
1349
- allocation_strategy: Optional[pulumi.Input[str]] = None,
1350
- az_balance: Optional[pulumi.Input[bool]] = None,
1351
1245
  db_instance_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1352
1246
  default_cooldown: Optional[pulumi.Input[int]] = None,
1353
1247
  desired_capacity: Optional[pulumi.Input[int]] = None,
@@ -1367,7 +1261,6 @@ class ScalingGroup(pulumi.CustomResource):
1367
1261
  removal_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1368
1262
  resource_group_id: Optional[pulumi.Input[str]] = None,
1369
1263
  scaling_group_name: Optional[pulumi.Input[str]] = None,
1370
- spot_allocation_strategy: Optional[pulumi.Input[str]] = None,
1371
1264
  spot_instance_pools: Optional[pulumi.Input[int]] = None,
1372
1265
  spot_instance_remedy: Optional[pulumi.Input[bool]] = None,
1373
1266
  tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
@@ -1381,8 +1274,6 @@ class ScalingGroup(pulumi.CustomResource):
1381
1274
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
1382
1275
  :param pulumi.ResourceOptions opts: Options for the resource.
1383
1276
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['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.
1384
- :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.
1385
- :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.
1386
1277
  :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.
1387
1278
  - The specified RDS instance must be in running status.
1388
1279
  - The specified RDS instance’s whitelist must have room for more IP addresses.
@@ -1404,7 +1295,7 @@ class ScalingGroup(pulumi.CustomResource):
1404
1295
  **NOTE:** From version 1.204.1, `max_size` can be set to `2000`.
1405
1296
  :param pulumi.Input[int] min_size: Minimum number of ECS instances in the scaling group. Value range: [0, 2000].
1406
1297
  **NOTE:** From version 1.204.1, `min_size` can be set to `2000`.
1407
- :param pulumi.Input[str] multi_az_policy: Multi-AZ scaling group ECS instance expansion and contraction strategy. PRIORITY, COMPOSABLE, BALANCE or COST_OPTIMIZED(Available since v1.54.0).
1298
+ :param pulumi.Input[str] multi_az_policy: Multi-AZ scaling group ECS instance expansion and contraction strategy. PRIORITY, BALANCE or COST_OPTIMIZED(Available since v1.54.0).
1408
1299
  :param pulumi.Input[int] on_demand_base_capacity: The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances. This base portion is provisioned first as your group scales.
1409
1300
  :param pulumi.Input[int] on_demand_percentage_above_base_capacity: Controls the percentages of On-Demand Instances and Spot Instances for your additional capacity beyond OnDemandBaseCapacity.
1410
1301
  :param pulumi.Input[Sequence[pulumi.Input[str]]] protected_instances: Set or unset instances within group into protected status.
@@ -1415,7 +1306,6 @@ class ScalingGroup(pulumi.CustomResource):
1415
1306
  - Default values: Default value of RemovalPolicy.1: OldestScalingConfiguration. Default value of RemovalPolicy.2: OldestInstance.
1416
1307
  :param pulumi.Input[str] resource_group_id: The ID of the resource group to which you want to add the scaling group.
1417
1308
  :param pulumi.Input[str] scaling_group_name: Name shown for the scaling group, which must contain 2-64 characters (English or Chinese), starting with numbers, English letters or Chinese characters, and can contain numbers, underscores `_`, hyphens `-`, and decimal points `.`. If this parameter is not specified, the default value is ScalingGroupId.
1418
- :param pulumi.Input[str] spot_allocation_strategy: The allocation policy of preemptible instances. You can use this parameter to individually specify the allocation policy for preemptible instances. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
1419
1309
  :param pulumi.Input[int] spot_instance_pools: The number of Spot pools to use to allocate your Spot capacity. The Spot pools is composed of instance types of lowest price.
1420
1310
  :param pulumi.Input[bool] spot_instance_remedy: Whether to replace spot instances with newly created spot/onDemand instance when receive a spot recycling message.
1421
1311
  :param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
@@ -1429,8 +1319,6 @@ class ScalingGroup(pulumi.CustomResource):
1429
1319
  __props__ = _ScalingGroupState.__new__(_ScalingGroupState)
1430
1320
 
1431
1321
  __props__.__dict__["alb_server_groups"] = alb_server_groups
1432
- __props__.__dict__["allocation_strategy"] = allocation_strategy
1433
- __props__.__dict__["az_balance"] = az_balance
1434
1322
  __props__.__dict__["db_instance_ids"] = db_instance_ids
1435
1323
  __props__.__dict__["default_cooldown"] = default_cooldown
1436
1324
  __props__.__dict__["desired_capacity"] = desired_capacity
@@ -1450,7 +1338,6 @@ class ScalingGroup(pulumi.CustomResource):
1450
1338
  __props__.__dict__["removal_policies"] = removal_policies
1451
1339
  __props__.__dict__["resource_group_id"] = resource_group_id
1452
1340
  __props__.__dict__["scaling_group_name"] = scaling_group_name
1453
- __props__.__dict__["spot_allocation_strategy"] = spot_allocation_strategy
1454
1341
  __props__.__dict__["spot_instance_pools"] = spot_instance_pools
1455
1342
  __props__.__dict__["spot_instance_remedy"] = spot_instance_remedy
1456
1343
  __props__.__dict__["tags"] = tags
@@ -1466,22 +1353,6 @@ class ScalingGroup(pulumi.CustomResource):
1466
1353
  """
1467
1354
  return pulumi.get(self, "alb_server_groups")
1468
1355
 
1469
- @property
1470
- @pulumi.getter(name="allocationStrategy")
1471
- def allocation_strategy(self) -> pulumi.Output[str]:
1472
- """
1473
- 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.
1474
- """
1475
- return pulumi.get(self, "allocation_strategy")
1476
-
1477
- @property
1478
- @pulumi.getter(name="azBalance")
1479
- def az_balance(self) -> pulumi.Output[Optional[bool]]:
1480
- """
1481
- Specifies whether to evenly distribute instances in the scaling group across multiple zones. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
1482
- """
1483
- return pulumi.get(self, "az_balance")
1484
-
1485
1356
  @property
1486
1357
  @pulumi.getter(name="dbInstanceIds")
1487
1358
  def db_instance_ids(self) -> pulumi.Output[Optional[Sequence[str]]]:
@@ -1591,7 +1462,7 @@ class ScalingGroup(pulumi.CustomResource):
1591
1462
  @pulumi.getter(name="multiAzPolicy")
1592
1463
  def multi_az_policy(self) -> pulumi.Output[Optional[str]]:
1593
1464
  """
1594
- Multi-AZ scaling group ECS instance expansion and contraction strategy. PRIORITY, COMPOSABLE, BALANCE or COST_OPTIMIZED(Available since v1.54.0).
1465
+ Multi-AZ scaling group ECS instance expansion and contraction strategy. PRIORITY, BALANCE or COST_OPTIMIZED(Available since v1.54.0).
1595
1466
  """
1596
1467
  return pulumi.get(self, "multi_az_policy")
1597
1468
 
@@ -1647,14 +1518,6 @@ class ScalingGroup(pulumi.CustomResource):
1647
1518
  """
1648
1519
  return pulumi.get(self, "scaling_group_name")
1649
1520
 
1650
- @property
1651
- @pulumi.getter(name="spotAllocationStrategy")
1652
- def spot_allocation_strategy(self) -> pulumi.Output[str]:
1653
- """
1654
- The allocation policy of preemptible instances. You can use this parameter to individually specify the allocation policy for preemptible instances. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
1655
- """
1656
- return pulumi.get(self, "spot_allocation_strategy")
1657
-
1658
1521
  @property
1659
1522
  @pulumi.getter(name="spotInstancePools")
1660
1523
  def spot_instance_pools(self) -> pulumi.Output[int]:
@@ -1683,11 +1546,13 @@ class ScalingGroup(pulumi.CustomResource):
1683
1546
 
1684
1547
  @property
1685
1548
  @pulumi.getter(name="vswitchId")
1686
- @_utilities.deprecated("""Field 'vswitch_id' has been deprecated from provider version 1.7.1, and new field 'vswitch_ids' can replace it.""")
1687
1549
  def vswitch_id(self) -> pulumi.Output[Optional[str]]:
1688
1550
  """
1689
1551
  It has been deprecated from version 1.7.1 and new field 'vswitch_ids' replaces it.
1690
1552
  """
1553
+ warnings.warn("""Field 'vswitch_id' has been deprecated from provider version 1.7.1, and new field 'vswitch_ids' can replace it.""", DeprecationWarning)
1554
+ pulumi.log.warn("""vswitch_id is deprecated: Field 'vswitch_id' has been deprecated from provider version 1.7.1, and new field 'vswitch_ids' can replace it.""")
1555
+
1691
1556
  return pulumi.get(self, "vswitch_id")
1692
1557
 
1693
1558
  @property
@@ -26,7 +26,6 @@ class AcceleratorArgs:
26
26
  pricing_cycle: Optional[pulumi.Input[str]] = None,
27
27
  promotion_option_no: Optional[pulumi.Input[str]] = None,
28
28
  renewal_status: Optional[pulumi.Input[str]] = None,
29
- resource_group_id: Optional[pulumi.Input[str]] = None,
30
29
  spec: Optional[pulumi.Input[str]] = None,
31
30
  tags: Optional[pulumi.Input[Mapping[str, Any]]] = None):
32
31
  """
@@ -52,7 +51,6 @@ class AcceleratorArgs:
52
51
  - `AutoRenewal`: Enable auto renewal.
53
52
  - `Normal`: Disable auto renewal.
54
53
  - `NotRenewal`: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
55
- :param pulumi.Input[str] resource_group_id: The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
56
54
  :param pulumi.Input[str] spec: The instance type of the GA instance. Specification of global acceleration instance. Valid values:
57
55
  :param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
58
56
  """
@@ -80,8 +78,6 @@ class AcceleratorArgs:
80
78
  pulumi.set(__self__, "promotion_option_no", promotion_option_no)
81
79
  if renewal_status is not None:
82
80
  pulumi.set(__self__, "renewal_status", renewal_status)
83
- if resource_group_id is not None:
84
- pulumi.set(__self__, "resource_group_id", resource_group_id)
85
81
  if spec is not None:
86
82
  pulumi.set(__self__, "spec", spec)
87
83
  if tags is not None:
@@ -240,18 +236,6 @@ class AcceleratorArgs:
240
236
  def renewal_status(self, value: Optional[pulumi.Input[str]]):
241
237
  pulumi.set(self, "renewal_status", value)
242
238
 
243
- @property
244
- @pulumi.getter(name="resourceGroupId")
245
- def resource_group_id(self) -> Optional[pulumi.Input[str]]:
246
- """
247
- The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
248
- """
249
- return pulumi.get(self, "resource_group_id")
250
-
251
- @resource_group_id.setter
252
- def resource_group_id(self, value: Optional[pulumi.Input[str]]):
253
- pulumi.set(self, "resource_group_id", value)
254
-
255
239
  @property
256
240
  @pulumi.getter
257
241
  def spec(self) -> Optional[pulumi.Input[str]]:
@@ -292,7 +276,6 @@ class _AcceleratorState:
292
276
  pricing_cycle: Optional[pulumi.Input[str]] = None,
293
277
  promotion_option_no: Optional[pulumi.Input[str]] = None,
294
278
  renewal_status: Optional[pulumi.Input[str]] = None,
295
- resource_group_id: Optional[pulumi.Input[str]] = None,
296
279
  spec: Optional[pulumi.Input[str]] = None,
297
280
  status: Optional[pulumi.Input[str]] = None,
298
281
  tags: Optional[pulumi.Input[Mapping[str, Any]]] = None):
@@ -319,7 +302,6 @@ class _AcceleratorState:
319
302
  - `AutoRenewal`: Enable auto renewal.
320
303
  - `Normal`: Disable auto renewal.
321
304
  - `NotRenewal`: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
322
- :param pulumi.Input[str] resource_group_id: The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
323
305
  :param pulumi.Input[str] spec: The instance type of the GA instance. Specification of global acceleration instance. Valid values:
324
306
  :param pulumi.Input[str] status: The status of the GA instance.
325
307
  :param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
@@ -348,8 +330,6 @@ class _AcceleratorState:
348
330
  pulumi.set(__self__, "promotion_option_no", promotion_option_no)
349
331
  if renewal_status is not None:
350
332
  pulumi.set(__self__, "renewal_status", renewal_status)
351
- if resource_group_id is not None:
352
- pulumi.set(__self__, "resource_group_id", resource_group_id)
353
333
  if spec is not None:
354
334
  pulumi.set(__self__, "spec", spec)
355
335
  if status is not None:
@@ -510,18 +490,6 @@ class _AcceleratorState:
510
490
  def renewal_status(self, value: Optional[pulumi.Input[str]]):
511
491
  pulumi.set(self, "renewal_status", value)
512
492
 
513
- @property
514
- @pulumi.getter(name="resourceGroupId")
515
- def resource_group_id(self) -> Optional[pulumi.Input[str]]:
516
- """
517
- The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
518
- """
519
- return pulumi.get(self, "resource_group_id")
520
-
521
- @resource_group_id.setter
522
- def resource_group_id(self, value: Optional[pulumi.Input[str]]):
523
- pulumi.set(self, "resource_group_id", value)
524
-
525
493
  @property
526
494
  @pulumi.getter
527
495
  def spec(self) -> Optional[pulumi.Input[str]]:
@@ -576,7 +544,6 @@ class Accelerator(pulumi.CustomResource):
576
544
  pricing_cycle: Optional[pulumi.Input[str]] = None,
577
545
  promotion_option_no: Optional[pulumi.Input[str]] = None,
578
546
  renewal_status: Optional[pulumi.Input[str]] = None,
579
- resource_group_id: Optional[pulumi.Input[str]] = None,
580
547
  spec: Optional[pulumi.Input[str]] = None,
581
548
  tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
582
549
  __props__=None):
@@ -632,7 +599,6 @@ class Accelerator(pulumi.CustomResource):
632
599
  - `AutoRenewal`: Enable auto renewal.
633
600
  - `Normal`: Disable auto renewal.
634
601
  - `NotRenewal`: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
635
- :param pulumi.Input[str] resource_group_id: The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
636
602
  :param pulumi.Input[str] spec: The instance type of the GA instance. Specification of global acceleration instance. Valid values:
637
603
  :param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
638
604
  """
@@ -698,7 +664,6 @@ class Accelerator(pulumi.CustomResource):
698
664
  pricing_cycle: Optional[pulumi.Input[str]] = None,
699
665
  promotion_option_no: Optional[pulumi.Input[str]] = None,
700
666
  renewal_status: Optional[pulumi.Input[str]] = None,
701
- resource_group_id: Optional[pulumi.Input[str]] = None,
702
667
  spec: Optional[pulumi.Input[str]] = None,
703
668
  tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
704
669
  __props__=None):
@@ -722,7 +687,6 @@ class Accelerator(pulumi.CustomResource):
722
687
  __props__.__dict__["pricing_cycle"] = pricing_cycle
723
688
  __props__.__dict__["promotion_option_no"] = promotion_option_no
724
689
  __props__.__dict__["renewal_status"] = renewal_status
725
- __props__.__dict__["resource_group_id"] = resource_group_id
726
690
  __props__.__dict__["spec"] = spec
727
691
  __props__.__dict__["tags"] = tags
728
692
  __props__.__dict__["status"] = None
@@ -748,7 +712,6 @@ class Accelerator(pulumi.CustomResource):
748
712
  pricing_cycle: Optional[pulumi.Input[str]] = None,
749
713
  promotion_option_no: Optional[pulumi.Input[str]] = None,
750
714
  renewal_status: Optional[pulumi.Input[str]] = None,
751
- resource_group_id: Optional[pulumi.Input[str]] = None,
752
715
  spec: Optional[pulumi.Input[str]] = None,
753
716
  status: Optional[pulumi.Input[str]] = None,
754
717
  tags: Optional[pulumi.Input[Mapping[str, Any]]] = None) -> 'Accelerator':
@@ -780,7 +743,6 @@ class Accelerator(pulumi.CustomResource):
780
743
  - `AutoRenewal`: Enable auto renewal.
781
744
  - `Normal`: Disable auto renewal.
782
745
  - `NotRenewal`: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
783
- :param pulumi.Input[str] resource_group_id: The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
784
746
  :param pulumi.Input[str] spec: The instance type of the GA instance. Specification of global acceleration instance. Valid values:
785
747
  :param pulumi.Input[str] status: The status of the GA instance.
786
748
  :param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
@@ -801,7 +763,6 @@ class Accelerator(pulumi.CustomResource):
801
763
  __props__.__dict__["pricing_cycle"] = pricing_cycle
802
764
  __props__.__dict__["promotion_option_no"] = promotion_option_no
803
765
  __props__.__dict__["renewal_status"] = renewal_status
804
- __props__.__dict__["resource_group_id"] = resource_group_id
805
766
  __props__.__dict__["spec"] = spec
806
767
  __props__.__dict__["status"] = status
807
768
  __props__.__dict__["tags"] = tags
@@ -912,14 +873,6 @@ class Accelerator(pulumi.CustomResource):
912
873
  """
913
874
  return pulumi.get(self, "renewal_status")
914
875
 
915
- @property
916
- @pulumi.getter(name="resourceGroupId")
917
- def resource_group_id(self) -> pulumi.Output[str]:
918
- """
919
- The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
920
- """
921
- return pulumi.get(self, "resource_group_id")
922
-
923
876
  @property
924
877
  @pulumi.getter
925
878
  def spec(self) -> pulumi.Output[Optional[str]]: