pulumi-alicloud 3.78.0a1747200018__py3-none-any.whl → 3.79.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 (183) hide show
  1. pulumi_alicloud/__init__.py +72 -0
  2. pulumi_alicloud/adb/cluster.py +12 -12
  3. pulumi_alicloud/alb/_inputs.py +21 -105
  4. pulumi_alicloud/alb/get_load_balancers.py +169 -18
  5. pulumi_alicloud/alb/health_check_template.py +233 -93
  6. pulumi_alicloud/alb/listener.py +28 -56
  7. pulumi_alicloud/alb/load_balancer.py +110 -0
  8. pulumi_alicloud/alb/outputs.py +150 -105
  9. pulumi_alicloud/amqp/exchange.py +250 -159
  10. pulumi_alicloud/apigateway/_inputs.py +23 -3
  11. pulumi_alicloud/apigateway/api.py +7 -7
  12. pulumi_alicloud/apigateway/backend.py +8 -8
  13. pulumi_alicloud/apigateway/outputs.py +16 -2
  14. pulumi_alicloud/arms/remote_write.py +2 -2
  15. pulumi_alicloud/bp/studio_application.py +2 -2
  16. pulumi_alicloud/cassandra/cluster.py +2 -2
  17. pulumi_alicloud/cassandra/data_center.py +2 -2
  18. pulumi_alicloud/cdn/fc_trigger.py +2 -2
  19. pulumi_alicloud/cen/_inputs.py +78 -27
  20. pulumi_alicloud/cen/bandwidth_limit.py +7 -7
  21. pulumi_alicloud/cen/inter_region_traffic_qos_policy.py +6 -6
  22. pulumi_alicloud/cen/outputs.py +52 -18
  23. pulumi_alicloud/cen/traffic_marking_policy.py +49 -9
  24. pulumi_alicloud/chatbot/publish_task.py +2 -2
  25. pulumi_alicloud/cloudfirewall/__init__.py +1 -0
  26. pulumi_alicloud/cloudfirewall/ips_config.py +523 -0
  27. pulumi_alicloud/cr/registry_enterprise_instance.py +4 -4
  28. pulumi_alicloud/cs/_inputs.py +54 -0
  29. pulumi_alicloud/cs/get_kubernetes_version.py +4 -4
  30. pulumi_alicloud/cs/managed_kubernetes.py +129 -7
  31. pulumi_alicloud/cs/outputs.py +49 -0
  32. pulumi_alicloud/das/switch_das_pro.py +6 -2
  33. pulumi_alicloud/dataworks/di_alarm_rule.py +6 -4
  34. pulumi_alicloud/dataworks/di_job.py +8 -6
  35. pulumi_alicloud/dataworks/project_member.py +2 -2
  36. pulumi_alicloud/ddos/domain_resource.py +19 -9
  37. pulumi_alicloud/dms/enterprise_logic_database.py +2 -2
  38. pulumi_alicloud/dms/enterprise_proxy_access.py +2 -2
  39. pulumi_alicloud/drds/instance.py +12 -8
  40. pulumi_alicloud/ebs/dedicated_block_storage_cluster.py +2 -2
  41. pulumi_alicloud/ecs/__init__.py +1 -0
  42. pulumi_alicloud/ecs/_inputs.py +40 -0
  43. pulumi_alicloud/ecs/activation.py +2 -2
  44. pulumi_alicloud/ecs/capacity_reservation.py +2 -2
  45. pulumi_alicloud/ecs/ecs_disk_attachment.py +2 -2
  46. pulumi_alicloud/ecs/ecs_invocation.py +12 -6
  47. pulumi_alicloud/ecs/ecs_network_interface_permission.py +2 -2
  48. pulumi_alicloud/ecs/ecs_snapshot_group.py +2 -2
  49. pulumi_alicloud/ecs/elasticity_assurance.py +2 -2
  50. pulumi_alicloud/ecs/get_dedicated_hosts.py +49 -22
  51. pulumi_alicloud/ecs/get_instances.py +4 -3
  52. pulumi_alicloud/ecs/image_copy.py +2 -2
  53. pulumi_alicloud/ecs/image_export.py +2 -2
  54. pulumi_alicloud/ecs/instance.py +94 -0
  55. pulumi_alicloud/ecs/outputs.py +129 -39
  56. pulumi_alicloud/ecs/ram_role_attachment.py +406 -0
  57. pulumi_alicloud/ecs/reserved_instance.py +2 -2
  58. pulumi_alicloud/ecs/snapshot.py +8 -4
  59. pulumi_alicloud/ecs/storage_capacity_unit.py +2 -2
  60. pulumi_alicloud/eflo/__init__.py +1 -0
  61. pulumi_alicloud/eflo/vsc.py +433 -0
  62. pulumi_alicloud/elasticsearch/instance.py +7 -7
  63. pulumi_alicloud/emr/cluster.py +4 -4
  64. pulumi_alicloud/esa/edge_container_app_record.py +10 -2
  65. pulumi_alicloud/esa/http_request_header_modification_rule.py +12 -4
  66. pulumi_alicloud/esa/http_response_header_modification_rule.py +12 -4
  67. pulumi_alicloud/esa/https_basic_configuration.py +12 -4
  68. pulumi_alicloud/esa/network_optimization.py +10 -2
  69. pulumi_alicloud/esa/origin_pool.py +10 -10
  70. pulumi_alicloud/esa/redirect_rule.py +12 -4
  71. pulumi_alicloud/esa/rewrite_url_rule.py +12 -4
  72. pulumi_alicloud/ess/outputs.py +333 -4
  73. pulumi_alicloud/ess/scaling_group.py +47 -0
  74. pulumi_alicloud/expressconnect/router_vpc_association.py +56 -49
  75. pulumi_alicloud/expressconnect/virtual_border_router.py +4 -4
  76. pulumi_alicloud/fc/__init__.py +1 -0
  77. pulumi_alicloud/fc/get_v3_triggers.py +277 -0
  78. pulumi_alicloud/fc/outputs.py +192 -0
  79. pulumi_alicloud/fnf/execution.py +2 -2
  80. pulumi_alicloud/fnf/flow.py +2 -2
  81. pulumi_alicloud/fnf/schedule.py +2 -2
  82. pulumi_alicloud/gpdb/elastic_instance.py +8 -8
  83. pulumi_alicloud/hbr/ecs_backup_plan.py +10 -2
  84. pulumi_alicloud/hbr/hana_backup_client.py +2 -2
  85. pulumi_alicloud/hbr/hana_backup_plan.py +2 -2
  86. pulumi_alicloud/hbr/hana_instance.py +2 -2
  87. pulumi_alicloud/hbr/nas_backup_plan.py +10 -2
  88. pulumi_alicloud/hbr/oss_backup_plan.py +10 -2
  89. pulumi_alicloud/hbr/ots_backup_plan.py +10 -2
  90. pulumi_alicloud/hbr/restore_job.py +2 -2
  91. pulumi_alicloud/hbr/server_backup_plan.py +10 -2
  92. pulumi_alicloud/kms/_inputs.py +12 -12
  93. pulumi_alicloud/kms/instance.py +80 -47
  94. pulumi_alicloud/kms/outputs.py +8 -8
  95. pulumi_alicloud/kvstore/instance.py +21 -7
  96. pulumi_alicloud/lindorm/__init__.py +1 -0
  97. pulumi_alicloud/lindorm/instance.py +101 -7
  98. pulumi_alicloud/lindorm/public_network.py +288 -0
  99. pulumi_alicloud/log/etl.py +2 -2
  100. pulumi_alicloud/log/ingestion.py +4 -6
  101. pulumi_alicloud/log/oss_export.py +4 -6
  102. pulumi_alicloud/log/oss_shipper.py +2 -2
  103. pulumi_alicloud/maxcompute/project.py +2 -4
  104. pulumi_alicloud/mse/gateway.py +2 -2
  105. pulumi_alicloud/mse/nacos_config.py +2 -0
  106. pulumi_alicloud/mse/znode.py +2 -2
  107. pulumi_alicloud/nas/mount_target.py +6 -6
  108. pulumi_alicloud/nas/snapshot.py +2 -2
  109. pulumi_alicloud/oos/default_patch_baseline.py +2 -2
  110. pulumi_alicloud/oos/get_parameters.py +72 -28
  111. pulumi_alicloud/oos/outputs.py +10 -10
  112. pulumi_alicloud/oos/secret_parameter.py +2 -2
  113. pulumi_alicloud/oss/bucket_replication.py +8 -8
  114. pulumi_alicloud/pai/__init__.py +4 -0
  115. pulumi_alicloud/pai/_inputs.py +108 -0
  116. pulumi_alicloud/pai/outputs.py +64 -0
  117. pulumi_alicloud/pai/workspace_member.py +393 -0
  118. pulumi_alicloud/pai/workspace_model.py +792 -0
  119. pulumi_alicloud/pai/workspace_model_version.py +1129 -0
  120. pulumi_alicloud/pai/workspace_user_config.py +356 -0
  121. pulumi_alicloud/polardb/cluster.py +223 -7
  122. pulumi_alicloud/polardb/global_database_network.py +2 -2
  123. pulumi_alicloud/polardb/parameter_group.py +2 -2
  124. pulumi_alicloud/pulumi-plugin.json +1 -1
  125. pulumi_alicloud/pvtz/get_zone_records.py +66 -35
  126. pulumi_alicloud/pvtz/get_zones.py +49 -32
  127. pulumi_alicloud/pvtz/outputs.py +60 -56
  128. pulumi_alicloud/ram/group_policy_attachment.py +2 -2
  129. pulumi_alicloud/ram/policy.py +21 -35
  130. pulumi_alicloud/ram/role.py +2 -2
  131. pulumi_alicloud/ram/role_attachment.py +12 -6
  132. pulumi_alicloud/rds/__init__.py +1 -0
  133. pulumi_alicloud/rds/db_proxy_public.py +512 -0
  134. pulumi_alicloud/rds/instance.py +82 -82
  135. pulumi_alicloud/rds/rds_clone_db_instance.py +30 -30
  136. pulumi_alicloud/rds/rds_upgrade_db_instance.py +2 -2
  137. pulumi_alicloud/resourcemanager/account.py +315 -116
  138. pulumi_alicloud/rocketmq/group.py +2 -2
  139. pulumi_alicloud/ros/change_set.py +2 -2
  140. pulumi_alicloud/ros/stack.py +2 -2
  141. pulumi_alicloud/ros/stack_group.py +2 -2
  142. pulumi_alicloud/ros/stack_instance.py +2 -2
  143. pulumi_alicloud/ros/template_scratch.py +2 -2
  144. pulumi_alicloud/scdn/domain.py +2 -2
  145. pulumi_alicloud/securitycenter/service_linked_role.py +2 -2
  146. pulumi_alicloud/servicecatalog/provisioned_product.py +2 -2
  147. pulumi_alicloud/slb/_inputs.py +44 -0
  148. pulumi_alicloud/slb/acl_entry_attachment.py +2 -2
  149. pulumi_alicloud/slb/ca_certificate.py +4 -0
  150. pulumi_alicloud/slb/listener.py +46 -89
  151. pulumi_alicloud/slb/master_slave_server_group.py +17 -35
  152. pulumi_alicloud/slb/outputs.py +26 -0
  153. pulumi_alicloud/sls/__init__.py +1 -0
  154. pulumi_alicloud/sls/get_alerts.py +463 -0
  155. pulumi_alicloud/sls/outputs.py +975 -0
  156. pulumi_alicloud/sms/short_url.py +2 -2
  157. pulumi_alicloud/threatdetection/backup_policy.py +2 -2
  158. pulumi_alicloud/threatdetection/honeypot_probe.py +2 -2
  159. pulumi_alicloud/threatdetection/instance.py +28 -21
  160. pulumi_alicloud/threatdetection/outputs.py +98 -6
  161. pulumi_alicloud/threatdetection/vul_whitelist.py +2 -2
  162. pulumi_alicloud/threatdetection/web_lock_config.py +2 -2
  163. pulumi_alicloud/tsdb/instance.py +2 -2
  164. pulumi_alicloud/vpc/common_bandwith_package.py +28 -14
  165. pulumi_alicloud/vpc/forward_entry.py +4 -4
  166. pulumi_alicloud/vpc/gateway_route_table_attachment.py +2 -2
  167. pulumi_alicloud/vpc/ha_vip.py +4 -4
  168. pulumi_alicloud/vpc/ha_vipv2.py +4 -0
  169. pulumi_alicloud/vpc/ipv4_gateway.py +78 -37
  170. pulumi_alicloud/vpc/ipv6_gateway.py +2 -2
  171. pulumi_alicloud/vpc/nat_ip.py +2 -2
  172. pulumi_alicloud/vpc/prefix_list.py +2 -2
  173. pulumi_alicloud/vpc/route_entry.py +6 -2
  174. pulumi_alicloud/vpn/gateway_vco_route.py +2 -2
  175. pulumi_alicloud/vpn/ipsec_server.py +2 -2
  176. pulumi_alicloud/vpn/pbr_route_entry.py +2 -2
  177. pulumi_alicloud/vpn/route_entry.py +8 -8
  178. pulumi_alicloud/wafv3/instance.py +2 -2
  179. pulumi_alicloud/wafv3/outputs.py +11 -0
  180. {pulumi_alicloud-3.78.0a1747200018.dist-info → pulumi_alicloud-3.79.0.dist-info}/METADATA +1 -1
  181. {pulumi_alicloud-3.78.0a1747200018.dist-info → pulumi_alicloud-3.79.0.dist-info}/RECORD +183 -172
  182. {pulumi_alicloud-3.78.0a1747200018.dist-info → pulumi_alicloud-3.79.0.dist-info}/WHEEL +1 -1
  183. {pulumi_alicloud-3.78.0a1747200018.dist-info → pulumi_alicloud-3.79.0.dist-info}/top_level.txt +0 -0
@@ -55,7 +55,11 @@ __all__ = [
55
55
  'GetScalingConfigurationsConfigurationInstancePatternInfoResult',
56
56
  'GetScalingConfigurationsConfigurationSpotPriceLimitResult',
57
57
  'GetScalingGroupsGroupResult',
58
+ 'GetScalingGroupsGroupLaunchTemplateOverrideResult',
58
59
  'GetScalingRulesRuleResult',
60
+ 'GetScalingRulesRuleHybridMetricResult',
61
+ 'GetScalingRulesRuleHybridMetricDimensionResult',
62
+ 'GetScalingRulesRuleStepAdjustmentResult',
59
63
  'GetScheduledTasksTaskResult',
60
64
  ]
61
65
 
@@ -3478,6 +3482,11 @@ class GetScalingGroupsGroupResult(dict):
3478
3482
  active_scaling_configuration: builtins.str,
3479
3483
  allocation_strategy: builtins.str,
3480
3484
  az_balance: builtins.bool,
3485
+ capacity_options_compensate_with_on_demand: builtins.bool,
3486
+ capacity_options_on_demand_base_capacity: builtins.int,
3487
+ capacity_options_on_demand_percentage_above_base_capacity: builtins.int,
3488
+ capacity_options_spot_auto_replace_on_demand: builtins.bool,
3489
+ compensate_with_on_demand: builtins.bool,
3481
3490
  cooldown_time: builtins.int,
3482
3491
  creation_time: builtins.str,
3483
3492
  db_instance_ids: Sequence[builtins.str],
@@ -3489,6 +3498,7 @@ class GetScalingGroupsGroupResult(dict):
3489
3498
  id: builtins.str,
3490
3499
  init_capacity: builtins.int,
3491
3500
  launch_template_id: builtins.str,
3501
+ launch_template_overrides: Sequence['outputs.GetScalingGroupsGroupLaunchTemplateOverrideResult'],
3492
3502
  launch_template_version: builtins.str,
3493
3503
  lifecycle_state: builtins.str,
3494
3504
  load_balancer_ids: Sequence[builtins.str],
@@ -3530,6 +3540,11 @@ class GetScalingGroupsGroupResult(dict):
3530
3540
  :param builtins.str active_scaling_configuration: Active scaling configuration for scaling group.
3531
3541
  :param builtins.str allocation_strategy: (Available since v1.242.0) The allocation policy of instances. Auto Scaling selects instance types based on the allocation policy to create instances. The allocation policy applies to pay-as-you-go and preemptible instances.
3532
3542
  :param builtins.bool az_balance: (Available since v1.242.0) Indicates whether instances in the scaling group are evenly distributed across multiple zones.
3543
+ :param builtins.bool capacity_options_compensate_with_on_demand: (Available since v1.249.0) Indicates whether pay-as-you-go instances can be automatically created 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 available only if you set MultiAZPolicy to COST_OPTIMIZED. Valid values: true, false.
3544
+ :param builtins.int capacity_options_on_demand_base_capacity: (Available since v1.249.0) The minimum number of pay-as-you-go instances required in the scaling group. When the actual number of pay-as-you-go instances drops below the minimum threshold, Auto Scaling preferentially creates pay-as-you-go instances. Valid values: 0 to 1000.
3545
+ :param builtins.int capacity_options_on_demand_percentage_above_base_capacity: (Available since v1.249.0) The percentage of pay-as-you-go instances in the excess instances when the minimum number of pay-as-you-go instances is reached. OnDemandBaseCapacity specifies the minimum number of pay-as-you-go instances that must be contained in the scaling group. Valid values: 0 to 100.
3546
+ :param builtins.bool capacity_options_spot_auto_replace_on_demand: (Available since v1.249.0) Indicates whether pay-as-you-go instances can be replaced with preemptible instances. If you specify CompensateWithOnDemand, it may result in a higher percentage of pay-as-you-go instances compared to the value of OnDemandPercentageAboveBaseCapacity. 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 CompensateWithOnDemand, 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.
3547
+ :param builtins.bool compensate_with_on_demand: (Available since v1.249.0) Indicates whether pay-as-you-go instances can be automatically created 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 available only if you set MultiAZPolicy to COST_OPTIMIZED. Valid values: true, false.
3533
3548
  :param builtins.int cooldown_time: Default cooldown time of scaling group.
3534
3549
  :param builtins.str creation_time: Creation time of scaling group.
3535
3550
  :param Sequence[builtins.str] db_instance_ids: Db instances id which the ECS instance attached to.
@@ -3541,6 +3556,7 @@ class GetScalingGroupsGroupResult(dict):
3541
3556
  :param builtins.str id: ID of the scaling group.
3542
3557
  :param builtins.int init_capacity: (Available since v1.242.0) The number of instances that are in the Initialized state and ready to be scaled out in the scaling group.
3543
3558
  :param builtins.str launch_template_id: Active launch template ID for scaling group.
3559
+ :param Sequence['GetScalingGroupsGroupLaunchTemplateOverrideArgs'] launch_template_overrides: (Available since v1.249.0) The instance types that are specified by using the Extend Launch Template feature.
3544
3560
  :param builtins.str launch_template_version: Version of active launch template.
3545
3561
  :param builtins.str lifecycle_state: Lifecycle state of scaling group.
3546
3562
  :param Sequence[builtins.str] load_balancer_ids: Slb instances id which the ECS instance attached to.
@@ -3582,6 +3598,11 @@ class GetScalingGroupsGroupResult(dict):
3582
3598
  pulumi.set(__self__, "active_scaling_configuration", active_scaling_configuration)
3583
3599
  pulumi.set(__self__, "allocation_strategy", allocation_strategy)
3584
3600
  pulumi.set(__self__, "az_balance", az_balance)
3601
+ pulumi.set(__self__, "capacity_options_compensate_with_on_demand", capacity_options_compensate_with_on_demand)
3602
+ pulumi.set(__self__, "capacity_options_on_demand_base_capacity", capacity_options_on_demand_base_capacity)
3603
+ pulumi.set(__self__, "capacity_options_on_demand_percentage_above_base_capacity", capacity_options_on_demand_percentage_above_base_capacity)
3604
+ pulumi.set(__self__, "capacity_options_spot_auto_replace_on_demand", capacity_options_spot_auto_replace_on_demand)
3605
+ pulumi.set(__self__, "compensate_with_on_demand", compensate_with_on_demand)
3585
3606
  pulumi.set(__self__, "cooldown_time", cooldown_time)
3586
3607
  pulumi.set(__self__, "creation_time", creation_time)
3587
3608
  pulumi.set(__self__, "db_instance_ids", db_instance_ids)
@@ -3593,6 +3614,7 @@ class GetScalingGroupsGroupResult(dict):
3593
3614
  pulumi.set(__self__, "id", id)
3594
3615
  pulumi.set(__self__, "init_capacity", init_capacity)
3595
3616
  pulumi.set(__self__, "launch_template_id", launch_template_id)
3617
+ pulumi.set(__self__, "launch_template_overrides", launch_template_overrides)
3596
3618
  pulumi.set(__self__, "launch_template_version", launch_template_version)
3597
3619
  pulumi.set(__self__, "lifecycle_state", lifecycle_state)
3598
3620
  pulumi.set(__self__, "load_balancer_ids", load_balancer_ids)
@@ -3662,6 +3684,46 @@ class GetScalingGroupsGroupResult(dict):
3662
3684
  """
3663
3685
  return pulumi.get(self, "az_balance")
3664
3686
 
3687
+ @property
3688
+ @pulumi.getter(name="capacityOptionsCompensateWithOnDemand")
3689
+ def capacity_options_compensate_with_on_demand(self) -> builtins.bool:
3690
+ """
3691
+ (Available since v1.249.0) Indicates whether pay-as-you-go instances can be automatically created 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 available only if you set MultiAZPolicy to COST_OPTIMIZED. Valid values: true, false.
3692
+ """
3693
+ return pulumi.get(self, "capacity_options_compensate_with_on_demand")
3694
+
3695
+ @property
3696
+ @pulumi.getter(name="capacityOptionsOnDemandBaseCapacity")
3697
+ def capacity_options_on_demand_base_capacity(self) -> builtins.int:
3698
+ """
3699
+ (Available since v1.249.0) The minimum number of pay-as-you-go instances required in the scaling group. When the actual number of pay-as-you-go instances drops below the minimum threshold, Auto Scaling preferentially creates pay-as-you-go instances. Valid values: 0 to 1000.
3700
+ """
3701
+ return pulumi.get(self, "capacity_options_on_demand_base_capacity")
3702
+
3703
+ @property
3704
+ @pulumi.getter(name="capacityOptionsOnDemandPercentageAboveBaseCapacity")
3705
+ def capacity_options_on_demand_percentage_above_base_capacity(self) -> builtins.int:
3706
+ """
3707
+ (Available since v1.249.0) The percentage of pay-as-you-go instances in the excess instances when the minimum number of pay-as-you-go instances is reached. OnDemandBaseCapacity specifies the minimum number of pay-as-you-go instances that must be contained in the scaling group. Valid values: 0 to 100.
3708
+ """
3709
+ return pulumi.get(self, "capacity_options_on_demand_percentage_above_base_capacity")
3710
+
3711
+ @property
3712
+ @pulumi.getter(name="capacityOptionsSpotAutoReplaceOnDemand")
3713
+ def capacity_options_spot_auto_replace_on_demand(self) -> builtins.bool:
3714
+ """
3715
+ (Available since v1.249.0) Indicates whether pay-as-you-go instances can be replaced with preemptible instances. If you specify CompensateWithOnDemand, it may result in a higher percentage of pay-as-you-go instances compared to the value of OnDemandPercentageAboveBaseCapacity. 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 CompensateWithOnDemand, 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.
3716
+ """
3717
+ return pulumi.get(self, "capacity_options_spot_auto_replace_on_demand")
3718
+
3719
+ @property
3720
+ @pulumi.getter(name="compensateWithOnDemand")
3721
+ def compensate_with_on_demand(self) -> builtins.bool:
3722
+ """
3723
+ (Available since v1.249.0) Indicates whether pay-as-you-go instances can be automatically created 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 available only if you set MultiAZPolicy to COST_OPTIMIZED. Valid values: true, false.
3724
+ """
3725
+ return pulumi.get(self, "compensate_with_on_demand")
3726
+
3665
3727
  @property
3666
3728
  @pulumi.getter(name="cooldownTime")
3667
3729
  def cooldown_time(self) -> builtins.int:
@@ -3750,6 +3812,14 @@ class GetScalingGroupsGroupResult(dict):
3750
3812
  """
3751
3813
  return pulumi.get(self, "launch_template_id")
3752
3814
 
3815
+ @property
3816
+ @pulumi.getter(name="launchTemplateOverrides")
3817
+ def launch_template_overrides(self) -> Sequence['outputs.GetScalingGroupsGroupLaunchTemplateOverrideResult']:
3818
+ """
3819
+ (Available since v1.249.0) The instance types that are specified by using the Extend Launch Template feature.
3820
+ """
3821
+ return pulumi.get(self, "launch_template_overrides")
3822
+
3753
3823
  @property
3754
3824
  @pulumi.getter(name="launchTemplateVersion")
3755
3825
  def launch_template_version(self) -> builtins.str:
@@ -4039,57 +4109,121 @@ class GetScalingGroupsGroupResult(dict):
4039
4109
  return pulumi.get(self, "vswitch_ids")
4040
4110
 
4041
4111
 
4112
+ @pulumi.output_type
4113
+ class GetScalingGroupsGroupLaunchTemplateOverrideResult(dict):
4114
+ def __init__(__self__, *,
4115
+ instance_type: builtins.str,
4116
+ spot_price_limit: builtins.float,
4117
+ weighted_capacity: builtins.int):
4118
+ """
4119
+ :param builtins.str instance_type: (Available since v1.249.0) The instance type. The instance type that is specified by this parameter overwrites the instance type that is specified in the launch template.
4120
+ :param builtins.float spot_price_limit: (Available since v1.249.0) The maximum bid price of instance type N that is specified by LaunchTemplateOverride.N.InstanceType. You can specify N instance types by using the Extend Launch Template feature. Valid values of N: 1 to 10.
4121
+ :param builtins.int weighted_capacity: (Available since v1.249.0) The weight of the instance type. The value of this parameter indicates the capacity of a single instance of the specified instance type in the scaling group. A greater weight indicates that a smaller number of instances of the specified instance type are required to reach the expected capacity.
4122
+ """
4123
+ pulumi.set(__self__, "instance_type", instance_type)
4124
+ pulumi.set(__self__, "spot_price_limit", spot_price_limit)
4125
+ pulumi.set(__self__, "weighted_capacity", weighted_capacity)
4126
+
4127
+ @property
4128
+ @pulumi.getter(name="instanceType")
4129
+ def instance_type(self) -> builtins.str:
4130
+ """
4131
+ (Available since v1.249.0) The instance type. The instance type that is specified by this parameter overwrites the instance type that is specified in the launch template.
4132
+ """
4133
+ return pulumi.get(self, "instance_type")
4134
+
4135
+ @property
4136
+ @pulumi.getter(name="spotPriceLimit")
4137
+ def spot_price_limit(self) -> builtins.float:
4138
+ """
4139
+ (Available since v1.249.0) The maximum bid price of instance type N that is specified by LaunchTemplateOverride.N.InstanceType. You can specify N instance types by using the Extend Launch Template feature. Valid values of N: 1 to 10.
4140
+ """
4141
+ return pulumi.get(self, "spot_price_limit")
4142
+
4143
+ @property
4144
+ @pulumi.getter(name="weightedCapacity")
4145
+ def weighted_capacity(self) -> builtins.int:
4146
+ """
4147
+ (Available since v1.249.0) The weight of the instance type. The value of this parameter indicates the capacity of a single instance of the specified instance type in the scaling group. A greater weight indicates that a smaller number of instances of the specified instance type are required to reach the expected capacity.
4148
+ """
4149
+ return pulumi.get(self, "weighted_capacity")
4150
+
4151
+
4042
4152
  @pulumi.output_type
4043
4153
  class GetScalingRulesRuleResult(dict):
4044
4154
  def __init__(__self__, *,
4045
4155
  adjustment_type: builtins.str,
4046
4156
  adjustment_value: builtins.int,
4047
4157
  cooldown: builtins.int,
4158
+ disable_scale_in: builtins.bool,
4159
+ estimated_instance_warmup: builtins.int,
4160
+ hybrid_metrics: Sequence['outputs.GetScalingRulesRuleHybridMetricResult'],
4161
+ hybrid_monitor_namespace: builtins.str,
4048
4162
  id: builtins.str,
4049
4163
  initial_max_size: builtins.int,
4050
4164
  metric_name: builtins.str,
4165
+ metric_type: builtins.str,
4051
4166
  min_adjustment_magnitude: builtins.int,
4052
4167
  name: builtins.str,
4053
4168
  predictive_scaling_mode: builtins.str,
4054
4169
  predictive_task_buffer_time: builtins.int,
4055
4170
  predictive_value_behavior: builtins.str,
4056
4171
  predictive_value_buffer: builtins.int,
4172
+ scale_in_evaluation_count: builtins.int,
4173
+ scale_out_evaluation_count: builtins.int,
4057
4174
  scaling_group_id: builtins.str,
4058
4175
  scaling_rule_ari: builtins.str,
4176
+ step_adjustments: Sequence['outputs.GetScalingRulesRuleStepAdjustmentResult'],
4059
4177
  target_value: builtins.float,
4060
4178
  type: builtins.str):
4061
4179
  """
4062
4180
  :param builtins.str adjustment_type: Adjustment type of the scaling rule.
4063
4181
  :param builtins.int adjustment_value: Adjustment value of the scaling rule.
4064
4182
  :param builtins.int cooldown: Cooldown time of the scaling rule.
4065
- :param builtins.str id: ID of the scaling rule.
4183
+ :param builtins.bool disable_scale_in: (Available since v1.250.0) Indicates whether scale-in is disabled. This parameter is available only if you set ScalingRuleType to TargetTrackingScalingRule. Valid values: true, false.
4184
+ :param builtins.int estimated_instance_warmup: (Available since v1.250.0) The warm-up period during which a series of preparation measures are taken on new instances. Auto Scaling does not monitor the metric data of instances that are being warmed up.
4185
+ :param Sequence['GetScalingRulesRuleHybridMetricArgs'] hybrid_metrics: (Available since v1.250.0) The Hybrid Cloud Monitoring metrics.
4186
+ :param builtins.str hybrid_monitor_namespace: (Available since v1.250.0) The ID of the Hybrid Cloud Monitoring namespace.
4187
+ :param builtins.str id: (Available since v1.250.0) The reference ID of the metric in the metric expression.
4066
4188
  :param builtins.int initial_max_size: (Available since v1.242.0) The maximum number of ECS instances that can be added to the scaling group.
4067
- :param builtins.str metric_name: (Available since v1.242.0) The predefined metric of the scaling rule.
4189
+ :param builtins.str metric_name: (Available since v1.250.0) The name of the Hybrid Cloud Monitoring metric.
4190
+ :param builtins.str metric_type: (Available since v1.250.0) The type of the event-triggered task that is associated with the scaling rule.
4068
4191
  :param builtins.int min_adjustment_magnitude: Min adjustment magnitude of scaling rule.
4069
4192
  :param builtins.str name: Name of the scaling rule.
4070
4193
  :param builtins.str predictive_scaling_mode: (Available since v1.242.0) The mode of the predictive scaling rule.
4071
4194
  :param builtins.int predictive_task_buffer_time: (Available since v1.242.0) The amount of buffer time before the prediction task is executed. By default, all prediction tasks that are automatically created by a predictive scaling rule are executed on the hour. You can set a buffer time to execute prediction tasks and prepare resources in advance.
4072
4195
  :param builtins.str predictive_value_behavior: (Available since v1.242.0) The action on the predicted maximum value.
4073
4196
  :param builtins.int predictive_value_buffer: (Available since v1.242.0) The ratio based on which the predicted value is increased if you set predictive_value_behavior to PredictiveValueOverrideMaxWithBuffer. If the predicted value that is increased by this ratio is greater than the initial maximum capacity, the increased value is used as the maximum value for prediction tasks.
4197
+ :param builtins.int scale_in_evaluation_count: (Available since v1.250.0) After you create a target tracking scaling rule, an event-triggered task is automatically created and associated with the scaling rule. This parameter defines the number of consecutive times the alert condition must be satisfied before the event-triggered task initiates a scale-in operation.
4198
+ :param builtins.int scale_out_evaluation_count: (Available since v1.250.0) After you create a target tracking scaling rule, an event-triggered task is automatically created and associated with the scaling rule. This parameter defines the number of consecutive times the alert condition must be satisfied before the event-triggered task initiates a scale-out operation.
4074
4199
  :param builtins.str scaling_group_id: Scaling group id the scaling rules belong to.
4075
4200
  :param builtins.str scaling_rule_ari: Ari of scaling rule.
4201
+ :param Sequence['GetScalingRulesRuleStepAdjustmentArgs'] step_adjustments: (Available since v1.250.0) The step adjustments of the step scaling rule.
4076
4202
  :param builtins.float target_value: (Available since v1.242.0) The target value of the metric.
4077
4203
  :param builtins.str type: Type of scaling rule.
4078
4204
  """
4079
4205
  pulumi.set(__self__, "adjustment_type", adjustment_type)
4080
4206
  pulumi.set(__self__, "adjustment_value", adjustment_value)
4081
4207
  pulumi.set(__self__, "cooldown", cooldown)
4208
+ pulumi.set(__self__, "disable_scale_in", disable_scale_in)
4209
+ pulumi.set(__self__, "estimated_instance_warmup", estimated_instance_warmup)
4210
+ pulumi.set(__self__, "hybrid_metrics", hybrid_metrics)
4211
+ pulumi.set(__self__, "hybrid_monitor_namespace", hybrid_monitor_namespace)
4082
4212
  pulumi.set(__self__, "id", id)
4083
4213
  pulumi.set(__self__, "initial_max_size", initial_max_size)
4084
4214
  pulumi.set(__self__, "metric_name", metric_name)
4215
+ pulumi.set(__self__, "metric_type", metric_type)
4085
4216
  pulumi.set(__self__, "min_adjustment_magnitude", min_adjustment_magnitude)
4086
4217
  pulumi.set(__self__, "name", name)
4087
4218
  pulumi.set(__self__, "predictive_scaling_mode", predictive_scaling_mode)
4088
4219
  pulumi.set(__self__, "predictive_task_buffer_time", predictive_task_buffer_time)
4089
4220
  pulumi.set(__self__, "predictive_value_behavior", predictive_value_behavior)
4090
4221
  pulumi.set(__self__, "predictive_value_buffer", predictive_value_buffer)
4222
+ pulumi.set(__self__, "scale_in_evaluation_count", scale_in_evaluation_count)
4223
+ pulumi.set(__self__, "scale_out_evaluation_count", scale_out_evaluation_count)
4091
4224
  pulumi.set(__self__, "scaling_group_id", scaling_group_id)
4092
4225
  pulumi.set(__self__, "scaling_rule_ari", scaling_rule_ari)
4226
+ pulumi.set(__self__, "step_adjustments", step_adjustments)
4093
4227
  pulumi.set(__self__, "target_value", target_value)
4094
4228
  pulumi.set(__self__, "type", type)
4095
4229
 
@@ -4117,11 +4251,43 @@ class GetScalingRulesRuleResult(dict):
4117
4251
  """
4118
4252
  return pulumi.get(self, "cooldown")
4119
4253
 
4254
+ @property
4255
+ @pulumi.getter(name="disableScaleIn")
4256
+ def disable_scale_in(self) -> builtins.bool:
4257
+ """
4258
+ (Available since v1.250.0) Indicates whether scale-in is disabled. This parameter is available only if you set ScalingRuleType to TargetTrackingScalingRule. Valid values: true, false.
4259
+ """
4260
+ return pulumi.get(self, "disable_scale_in")
4261
+
4262
+ @property
4263
+ @pulumi.getter(name="estimatedInstanceWarmup")
4264
+ def estimated_instance_warmup(self) -> builtins.int:
4265
+ """
4266
+ (Available since v1.250.0) The warm-up period during which a series of preparation measures are taken on new instances. Auto Scaling does not monitor the metric data of instances that are being warmed up.
4267
+ """
4268
+ return pulumi.get(self, "estimated_instance_warmup")
4269
+
4270
+ @property
4271
+ @pulumi.getter(name="hybridMetrics")
4272
+ def hybrid_metrics(self) -> Sequence['outputs.GetScalingRulesRuleHybridMetricResult']:
4273
+ """
4274
+ (Available since v1.250.0) The Hybrid Cloud Monitoring metrics.
4275
+ """
4276
+ return pulumi.get(self, "hybrid_metrics")
4277
+
4278
+ @property
4279
+ @pulumi.getter(name="hybridMonitorNamespace")
4280
+ def hybrid_monitor_namespace(self) -> builtins.str:
4281
+ """
4282
+ (Available since v1.250.0) The ID of the Hybrid Cloud Monitoring namespace.
4283
+ """
4284
+ return pulumi.get(self, "hybrid_monitor_namespace")
4285
+
4120
4286
  @property
4121
4287
  @pulumi.getter
4122
4288
  def id(self) -> builtins.str:
4123
4289
  """
4124
- ID of the scaling rule.
4290
+ (Available since v1.250.0) The reference ID of the metric in the metric expression.
4125
4291
  """
4126
4292
  return pulumi.get(self, "id")
4127
4293
 
@@ -4137,10 +4303,18 @@ class GetScalingRulesRuleResult(dict):
4137
4303
  @pulumi.getter(name="metricName")
4138
4304
  def metric_name(self) -> builtins.str:
4139
4305
  """
4140
- (Available since v1.242.0) The predefined metric of the scaling rule.
4306
+ (Available since v1.250.0) The name of the Hybrid Cloud Monitoring metric.
4141
4307
  """
4142
4308
  return pulumi.get(self, "metric_name")
4143
4309
 
4310
+ @property
4311
+ @pulumi.getter(name="metricType")
4312
+ def metric_type(self) -> builtins.str:
4313
+ """
4314
+ (Available since v1.250.0) The type of the event-triggered task that is associated with the scaling rule.
4315
+ """
4316
+ return pulumi.get(self, "metric_type")
4317
+
4144
4318
  @property
4145
4319
  @pulumi.getter(name="minAdjustmentMagnitude")
4146
4320
  def min_adjustment_magnitude(self) -> builtins.int:
@@ -4189,6 +4363,22 @@ class GetScalingRulesRuleResult(dict):
4189
4363
  """
4190
4364
  return pulumi.get(self, "predictive_value_buffer")
4191
4365
 
4366
+ @property
4367
+ @pulumi.getter(name="scaleInEvaluationCount")
4368
+ def scale_in_evaluation_count(self) -> builtins.int:
4369
+ """
4370
+ (Available since v1.250.0) After you create a target tracking scaling rule, an event-triggered task is automatically created and associated with the scaling rule. This parameter defines the number of consecutive times the alert condition must be satisfied before the event-triggered task initiates a scale-in operation.
4371
+ """
4372
+ return pulumi.get(self, "scale_in_evaluation_count")
4373
+
4374
+ @property
4375
+ @pulumi.getter(name="scaleOutEvaluationCount")
4376
+ def scale_out_evaluation_count(self) -> builtins.int:
4377
+ """
4378
+ (Available since v1.250.0) After you create a target tracking scaling rule, an event-triggered task is automatically created and associated with the scaling rule. This parameter defines the number of consecutive times the alert condition must be satisfied before the event-triggered task initiates a scale-out operation.
4379
+ """
4380
+ return pulumi.get(self, "scale_out_evaluation_count")
4381
+
4192
4382
  @property
4193
4383
  @pulumi.getter(name="scalingGroupId")
4194
4384
  def scaling_group_id(self) -> builtins.str:
@@ -4205,6 +4395,14 @@ class GetScalingRulesRuleResult(dict):
4205
4395
  """
4206
4396
  return pulumi.get(self, "scaling_rule_ari")
4207
4397
 
4398
+ @property
4399
+ @pulumi.getter(name="stepAdjustments")
4400
+ def step_adjustments(self) -> Sequence['outputs.GetScalingRulesRuleStepAdjustmentResult']:
4401
+ """
4402
+ (Available since v1.250.0) The step adjustments of the step scaling rule.
4403
+ """
4404
+ return pulumi.get(self, "step_adjustments")
4405
+
4208
4406
  @property
4209
4407
  @pulumi.getter(name="targetValue")
4210
4408
  def target_value(self) -> builtins.float:
@@ -4222,6 +4420,137 @@ class GetScalingRulesRuleResult(dict):
4222
4420
  return pulumi.get(self, "type")
4223
4421
 
4224
4422
 
4423
+ @pulumi.output_type
4424
+ class GetScalingRulesRuleHybridMetricResult(dict):
4425
+ def __init__(__self__, *,
4426
+ dimensions: Sequence['outputs.GetScalingRulesRuleHybridMetricDimensionResult'],
4427
+ expression: builtins.str,
4428
+ id: builtins.str,
4429
+ metric_name: builtins.str,
4430
+ statistic: builtins.str):
4431
+ """
4432
+ :param Sequence['GetScalingRulesRuleHybridMetricDimensionArgs'] dimensions: (Available since v1.250.0) The metric dimensions. You can use this parameter to specify the monitored resources.
4433
+ :param builtins.str expression: (Available since v1.250.0) The metric expression that consists of multiple Hybrid Cloud Monitoring metrics. It calculates a result used to trigger scaling events. The expression is written in Reverse Polish Notation (RPN) format and includes only the following operators: +, -, *, /.
4434
+ :param builtins.str id: (Available since v1.250.0) The reference ID of the metric in the metric expression.
4435
+ :param builtins.str metric_name: (Available since v1.250.0) The name of the Hybrid Cloud Monitoring metric.
4436
+ :param builtins.str statistic: (Available since v1.250.0) The statistical method of the metric data.
4437
+ """
4438
+ pulumi.set(__self__, "dimensions", dimensions)
4439
+ pulumi.set(__self__, "expression", expression)
4440
+ pulumi.set(__self__, "id", id)
4441
+ pulumi.set(__self__, "metric_name", metric_name)
4442
+ pulumi.set(__self__, "statistic", statistic)
4443
+
4444
+ @property
4445
+ @pulumi.getter
4446
+ def dimensions(self) -> Sequence['outputs.GetScalingRulesRuleHybridMetricDimensionResult']:
4447
+ """
4448
+ (Available since v1.250.0) The metric dimensions. You can use this parameter to specify the monitored resources.
4449
+ """
4450
+ return pulumi.get(self, "dimensions")
4451
+
4452
+ @property
4453
+ @pulumi.getter
4454
+ def expression(self) -> builtins.str:
4455
+ """
4456
+ (Available since v1.250.0) The metric expression that consists of multiple Hybrid Cloud Monitoring metrics. It calculates a result used to trigger scaling events. The expression is written in Reverse Polish Notation (RPN) format and includes only the following operators: +, -, *, /.
4457
+ """
4458
+ return pulumi.get(self, "expression")
4459
+
4460
+ @property
4461
+ @pulumi.getter
4462
+ def id(self) -> builtins.str:
4463
+ """
4464
+ (Available since v1.250.0) The reference ID of the metric in the metric expression.
4465
+ """
4466
+ return pulumi.get(self, "id")
4467
+
4468
+ @property
4469
+ @pulumi.getter(name="metricName")
4470
+ def metric_name(self) -> builtins.str:
4471
+ """
4472
+ (Available since v1.250.0) The name of the Hybrid Cloud Monitoring metric.
4473
+ """
4474
+ return pulumi.get(self, "metric_name")
4475
+
4476
+ @property
4477
+ @pulumi.getter
4478
+ def statistic(self) -> builtins.str:
4479
+ """
4480
+ (Available since v1.250.0) The statistical method of the metric data.
4481
+ """
4482
+ return pulumi.get(self, "statistic")
4483
+
4484
+
4485
+ @pulumi.output_type
4486
+ class GetScalingRulesRuleHybridMetricDimensionResult(dict):
4487
+ def __init__(__self__, *,
4488
+ dimension_key: builtins.str,
4489
+ dimension_value: builtins.str):
4490
+ """
4491
+ :param builtins.str dimension_key: (Available since v1.250.0) The dimension key of the metric.
4492
+ :param builtins.str dimension_value: (Available since v1.250.0) The dimension value of the metric.
4493
+ """
4494
+ pulumi.set(__self__, "dimension_key", dimension_key)
4495
+ pulumi.set(__self__, "dimension_value", dimension_value)
4496
+
4497
+ @property
4498
+ @pulumi.getter(name="dimensionKey")
4499
+ def dimension_key(self) -> builtins.str:
4500
+ """
4501
+ (Available since v1.250.0) The dimension key of the metric.
4502
+ """
4503
+ return pulumi.get(self, "dimension_key")
4504
+
4505
+ @property
4506
+ @pulumi.getter(name="dimensionValue")
4507
+ def dimension_value(self) -> builtins.str:
4508
+ """
4509
+ (Available since v1.250.0) The dimension value of the metric.
4510
+ """
4511
+ return pulumi.get(self, "dimension_value")
4512
+
4513
+
4514
+ @pulumi.output_type
4515
+ class GetScalingRulesRuleStepAdjustmentResult(dict):
4516
+ def __init__(__self__, *,
4517
+ metric_interval_lower_bound: builtins.str,
4518
+ metric_interval_upper_bound: builtins.str,
4519
+ scaling_adjustment: builtins.int):
4520
+ """
4521
+ :param builtins.str metric_interval_lower_bound: (Available since v1.250.0) The lower limit of each step adjustment. Valid values: -9.999999E18 to 9.999999E18.
4522
+ :param builtins.str metric_interval_upper_bound: (Available since v1.250.0) The upper limit of each step adjustment. Valid values: -9.999999E18 to 9.999999E18.
4523
+ :param builtins.int scaling_adjustment: (Available since v1.250.0) The number of instances that are scaled in each step adjustment.
4524
+ """
4525
+ pulumi.set(__self__, "metric_interval_lower_bound", metric_interval_lower_bound)
4526
+ pulumi.set(__self__, "metric_interval_upper_bound", metric_interval_upper_bound)
4527
+ pulumi.set(__self__, "scaling_adjustment", scaling_adjustment)
4528
+
4529
+ @property
4530
+ @pulumi.getter(name="metricIntervalLowerBound")
4531
+ def metric_interval_lower_bound(self) -> builtins.str:
4532
+ """
4533
+ (Available since v1.250.0) The lower limit of each step adjustment. Valid values: -9.999999E18 to 9.999999E18.
4534
+ """
4535
+ return pulumi.get(self, "metric_interval_lower_bound")
4536
+
4537
+ @property
4538
+ @pulumi.getter(name="metricIntervalUpperBound")
4539
+ def metric_interval_upper_bound(self) -> builtins.str:
4540
+ """
4541
+ (Available since v1.250.0) The upper limit of each step adjustment. Valid values: -9.999999E18 to 9.999999E18.
4542
+ """
4543
+ return pulumi.get(self, "metric_interval_upper_bound")
4544
+
4545
+ @property
4546
+ @pulumi.getter(name="scalingAdjustment")
4547
+ def scaling_adjustment(self) -> builtins.int:
4548
+ """
4549
+ (Available since v1.250.0) The number of instances that are scaled in each step adjustment.
4550
+ """
4551
+ return pulumi.get(self, "scaling_adjustment")
4552
+
4553
+
4225
4554
  @pulumi.output_type
4226
4555
  class GetScheduledTasksTaskResult(dict):
4227
4556
  def __init__(__self__, *,