pulumi-alicloud 3.74.0a1737782319__py3-none-any.whl → 3.75.0a1738041330__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 (56) hide show
  1. pulumi_alicloud/__init__.py +80 -0
  2. pulumi_alicloud/alb/__init__.py +1 -0
  3. pulumi_alicloud/alb/_inputs.py +907 -244
  4. pulumi_alicloud/alb/get_server_groups.py +55 -25
  5. pulumi_alicloud/alb/listener.py +269 -174
  6. pulumi_alicloud/alb/load_balancer.py +239 -118
  7. pulumi_alicloud/alb/load_balancer_zone_shifted_attachment.py +303 -0
  8. pulumi_alicloud/alb/outputs.py +716 -218
  9. pulumi_alicloud/alb/server_group.py +532 -122
  10. pulumi_alicloud/cen/_inputs.py +34 -0
  11. pulumi_alicloud/cen/outputs.py +37 -0
  12. pulumi_alicloud/cen/transit_router_multicast_domain.py +123 -36
  13. pulumi_alicloud/cs/_inputs.py +349 -1
  14. pulumi_alicloud/cs/kubernetes.py +15 -15
  15. pulumi_alicloud/cs/node_pool.py +77 -2
  16. pulumi_alicloud/cs/outputs.py +265 -1
  17. pulumi_alicloud/dfs/file_system.py +62 -23
  18. pulumi_alicloud/dfs/mount_point.py +48 -22
  19. pulumi_alicloud/esa/__init__.py +3 -0
  20. pulumi_alicloud/esa/_inputs.py +81 -0
  21. pulumi_alicloud/esa/http_request_header_modification_rule.py +531 -0
  22. pulumi_alicloud/esa/list.py +361 -0
  23. pulumi_alicloud/esa/outputs.py +48 -0
  24. pulumi_alicloud/esa/page.py +376 -0
  25. pulumi_alicloud/esa/rate_plan_instance.py +63 -7
  26. pulumi_alicloud/ess/get_scaling_groups.py +64 -10
  27. pulumi_alicloud/ess/get_scaling_rules.py +74 -10
  28. pulumi_alicloud/ess/outputs.py +357 -17
  29. pulumi_alicloud/eventbridge/get_service.py +2 -6
  30. pulumi_alicloud/fc/_inputs.py +75 -75
  31. pulumi_alicloud/fc/outputs.py +50 -50
  32. pulumi_alicloud/fc/v3_function.py +53 -6
  33. pulumi_alicloud/kms/__init__.py +1 -0
  34. pulumi_alicloud/kms/get_instances.py +160 -0
  35. pulumi_alicloud/kms/instance.py +0 -60
  36. pulumi_alicloud/kms/outputs.py +19 -0
  37. pulumi_alicloud/maxcompute/__init__.py +5 -0
  38. pulumi_alicloud/maxcompute/_inputs.py +615 -42
  39. pulumi_alicloud/maxcompute/outputs.py +486 -28
  40. pulumi_alicloud/maxcompute/project.py +63 -31
  41. pulumi_alicloud/maxcompute/quota_plan.py +412 -0
  42. pulumi_alicloud/maxcompute/quota_schedule.py +260 -0
  43. pulumi_alicloud/maxcompute/role.py +423 -0
  44. pulumi_alicloud/maxcompute/role_user_attachment.py +368 -0
  45. pulumi_alicloud/maxcompute/tunnel_quota_timer.py +287 -0
  46. pulumi_alicloud/pulumi-plugin.json +1 -1
  47. pulumi_alicloud/rds/instance.py +68 -0
  48. pulumi_alicloud/vpc/__init__.py +1 -0
  49. pulumi_alicloud/vpc/ipam_ipam_pool.py +47 -0
  50. pulumi_alicloud/vpc/ipam_ipam_scope.py +47 -0
  51. pulumi_alicloud/vpc/ipam_service.py +144 -0
  52. pulumi_alicloud/vpc/ipv4_cidr_block.py +162 -51
  53. {pulumi_alicloud-3.74.0a1737782319.dist-info → pulumi_alicloud-3.75.0a1738041330.dist-info}/METADATA +1 -1
  54. {pulumi_alicloud-3.74.0a1737782319.dist-info → pulumi_alicloud-3.75.0a1738041330.dist-info}/RECORD +56 -45
  55. {pulumi_alicloud-3.74.0a1737782319.dist-info → pulumi_alicloud-3.75.0a1738041330.dist-info}/WHEEL +0 -0
  56. {pulumi_alicloud-3.74.0a1737782319.dist-info → pulumi_alicloud-3.75.0a1738041330.dist-info}/top_level.txt +0 -0
@@ -3347,88 +3347,159 @@ class GetScalingGroupsGroupResult(dict):
3347
3347
  def __init__(__self__, *,
3348
3348
  active_capacity: int,
3349
3349
  active_scaling_configuration: str,
3350
+ allocation_strategy: str,
3351
+ az_balance: bool,
3350
3352
  cooldown_time: int,
3351
3353
  creation_time: str,
3352
3354
  db_instance_ids: Sequence[str],
3355
+ desired_capacity: int,
3356
+ enable_desired_capacity: bool,
3353
3357
  group_deletion_protection: bool,
3358
+ group_type: str,
3354
3359
  health_check_type: str,
3355
3360
  id: str,
3361
+ init_capacity: int,
3356
3362
  launch_template_id: str,
3357
3363
  launch_template_version: str,
3358
3364
  lifecycle_state: str,
3359
3365
  load_balancer_ids: Sequence[str],
3366
+ max_instance_lifetime: int,
3360
3367
  max_size: int,
3361
3368
  min_size: int,
3362
3369
  modification_time: str,
3370
+ monitor_group_id: str,
3371
+ multi_az_policy: str,
3363
3372
  name: str,
3373
+ on_demand_base_capacity: int,
3374
+ on_demand_percentage_above_base_capacity: int,
3364
3375
  pending_capacity: int,
3376
+ pending_wait_capacity: int,
3377
+ protected_capacity: int,
3365
3378
  region_id: str,
3366
3379
  removal_policies: Sequence[str],
3367
3380
  removing_capacity: int,
3381
+ removing_wait_capacity: int,
3382
+ resource_group_id: str,
3383
+ scaling_policy: str,
3384
+ spot_allocation_strategy: str,
3385
+ spot_capacity: int,
3386
+ spot_instance_pools: int,
3387
+ spot_instance_remedy: bool,
3388
+ standby_capacity: int,
3389
+ stop_instance_timeout: int,
3390
+ stopped_capacity: int,
3368
3391
  suspended_processes: Sequence[str],
3392
+ system_suspended: bool,
3393
+ tags: Mapping[str, str],
3369
3394
  total_capacity: int,
3370
3395
  total_instance_count: int,
3371
3396
  vpc_id: str,
3372
3397
  vswitch_id: str,
3373
- vswitch_ids: Sequence[str],
3374
- tags: Optional[Mapping[str, str]] = None):
3398
+ vswitch_ids: Sequence[str]):
3375
3399
  """
3376
3400
  :param int active_capacity: Number of active instances in scaling group.
3377
3401
  :param str active_scaling_configuration: Active scaling configuration for scaling group.
3402
+ :param 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.
3403
+ :param bool az_balance: (Available since v1.242.0) Indicates whether instances in the scaling group are evenly distributed across multiple zones.
3378
3404
  :param int cooldown_time: Default cooldown time of scaling group.
3379
3405
  :param str creation_time: Creation time of scaling group.
3380
3406
  :param Sequence[str] db_instance_ids: Db instances id which the ECS instance attached to.
3407
+ :param int desired_capacity: (Available since v1.242.0) The expected number of ECS instances in the scaling group. Auto Scaling automatically maintains the expected number of ECS instances that you specified.
3408
+ :param bool enable_desired_capacity: (Available since v1.242.0) Indicates whether the Expected Number of Instances feature is enabled.
3381
3409
  :param bool group_deletion_protection: Whether the scaling group deletion protection is enabled.
3410
+ :param str group_type: (Available since v1.242.0) The type of the instances in the scaling group.
3382
3411
  :param str health_check_type: The health check method of the scaling group.
3383
3412
  :param str id: ID of the scaling group.
3413
+ :param 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.
3384
3414
  :param str launch_template_id: Active launch template ID for scaling group.
3385
3415
  :param str launch_template_version: Version of active launch template.
3386
3416
  :param str lifecycle_state: Lifecycle state of scaling group.
3387
3417
  :param Sequence[str] load_balancer_ids: Slb instances id which the ECS instance attached to.
3418
+ :param int max_instance_lifetime: (Available since v1.242.0) The maximum life span of each instance in the scaling group. Unit: seconds.
3388
3419
  :param int max_size: The maximum number of ECS instances.
3389
3420
  :param int min_size: The minimum number of ECS instances.
3390
3421
  :param str modification_time: The modification time.
3422
+ :param str monitor_group_id: (Available since v1.242.0) The ID of the CloudMonitor application group that is associated with the scaling group.
3423
+ :param str multi_az_policy: (Available since v1.242.0) The scaling policy of the multi-zone scaling group of the ECS type.
3391
3424
  :param str name: Name of the scaling group.
3392
- :param int pending_capacity: Number of pending instances in scaling group.
3425
+ :param int on_demand_base_capacity: (Available since v1.242.0) The lower limit of the number of pay-as-you-go instances in the scaling group.
3426
+ :param int on_demand_percentage_above_base_capacity: (Available since v1.242.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.
3427
+ :param int pending_capacity: (Available since v1.242.0) The number of ECS instances that are being added to the scaling group and still being configured.
3428
+ :param int pending_wait_capacity: (Available since v1.242.0) The number of ECS instances that are in the Pending Add state in the scaling group.
3429
+ :param int protected_capacity: (Available since v1.242.0) The number of ECS instances that are in the Protected state in the scaling group.
3393
3430
  :param str region_id: Region ID the scaling group belongs to.
3394
3431
  :param Sequence[str] removal_policies: Removal policy used to select the ECS instance to remove from the scaling group.
3395
- :param int removing_capacity: Number of removing instances in scaling group.
3432
+ :param int removing_capacity: (Available since v1.242.0) The number of ECS instances that are being removed from the scaling group.
3433
+ :param int removing_wait_capacity: (Available since v1.242.0) The number of ECS instances that are in the Pending Remove state in the scaling group.
3434
+ :param str resource_group_id: (Available since v1.242.0) The ID of the resource group to which the scaling group that you want to query belongs.
3435
+ :param str scaling_policy: (Available since v1.242.0) The reclaim mode of the scaling group.
3436
+ :param str spot_allocation_strategy: (Available since v1.242.0) The allocation policy of preemptible instances. This parameter indicates the method used by Auto Scaling to select instance types to create the required number of preemptible instances. This parameter takes effect only if you set multi_az_policy to COMPOSABLE.
3437
+ :param int spot_capacity: (Available since v1.242.0) The number of preemptible instances in the scaling group.
3438
+ :param int spot_instance_pools: (Available since v1.242.0) The number of instance types. Auto Scaling creates preemptible instances of multiple instance types that are provided at the lowest price.
3439
+ :param bool spot_instance_remedy: (Available since v1.242.0) Indicates whether supplementation of preemptible instances is enabled. If this parameter is set to true, Auto Scaling creates an instance to replace a preemptible instance when Auto Scaling receives a system message indicating that the preemptible instance is to be reclaimed.
3440
+ :param int standby_capacity: (Available since v1.242.0) The number of instances that are in the Standby state in the scaling group.
3441
+ :param int stop_instance_timeout: (Available since v1.242.0) The period of time that is required by an ECS instance to enter the Stopped state during the scale-in process. Unit: seconds.
3442
+ :param int stopped_capacity: (Available since v1.242.0) The number of instances that are in Economical Mode in the scaling group.
3396
3443
  :param Sequence[str] suspended_processes: The Process in suspension.
3444
+ :param bool system_suspended: (Available since v1.242.0) Indicates whether Auto Scaling stops executing the scaling operation in the scaling group.
3445
+ :param Mapping[str, str] tags: A mapping of tags to assign to the resource.
3397
3446
  :param int total_capacity: Number of instances in scaling group.
3398
3447
  :param int total_instance_count: The number of all ECS instances in the scaling group.
3399
3448
  :param str vpc_id: The ID of the VPC to which the scaling group belongs.
3400
3449
  :param str vswitch_id: The ID of the vSwitch to which the scaling group belongs.
3401
3450
  :param Sequence[str] vswitch_ids: Vswitches id in which the ECS instance launched.
3402
- :param Mapping[str, str] tags: A mapping of tags to assign to the resource.
3403
3451
  """
3404
3452
  pulumi.set(__self__, "active_capacity", active_capacity)
3405
3453
  pulumi.set(__self__, "active_scaling_configuration", active_scaling_configuration)
3454
+ pulumi.set(__self__, "allocation_strategy", allocation_strategy)
3455
+ pulumi.set(__self__, "az_balance", az_balance)
3406
3456
  pulumi.set(__self__, "cooldown_time", cooldown_time)
3407
3457
  pulumi.set(__self__, "creation_time", creation_time)
3408
3458
  pulumi.set(__self__, "db_instance_ids", db_instance_ids)
3459
+ pulumi.set(__self__, "desired_capacity", desired_capacity)
3460
+ pulumi.set(__self__, "enable_desired_capacity", enable_desired_capacity)
3409
3461
  pulumi.set(__self__, "group_deletion_protection", group_deletion_protection)
3462
+ pulumi.set(__self__, "group_type", group_type)
3410
3463
  pulumi.set(__self__, "health_check_type", health_check_type)
3411
3464
  pulumi.set(__self__, "id", id)
3465
+ pulumi.set(__self__, "init_capacity", init_capacity)
3412
3466
  pulumi.set(__self__, "launch_template_id", launch_template_id)
3413
3467
  pulumi.set(__self__, "launch_template_version", launch_template_version)
3414
3468
  pulumi.set(__self__, "lifecycle_state", lifecycle_state)
3415
3469
  pulumi.set(__self__, "load_balancer_ids", load_balancer_ids)
3470
+ pulumi.set(__self__, "max_instance_lifetime", max_instance_lifetime)
3416
3471
  pulumi.set(__self__, "max_size", max_size)
3417
3472
  pulumi.set(__self__, "min_size", min_size)
3418
3473
  pulumi.set(__self__, "modification_time", modification_time)
3474
+ pulumi.set(__self__, "monitor_group_id", monitor_group_id)
3475
+ pulumi.set(__self__, "multi_az_policy", multi_az_policy)
3419
3476
  pulumi.set(__self__, "name", name)
3477
+ pulumi.set(__self__, "on_demand_base_capacity", on_demand_base_capacity)
3478
+ pulumi.set(__self__, "on_demand_percentage_above_base_capacity", on_demand_percentage_above_base_capacity)
3420
3479
  pulumi.set(__self__, "pending_capacity", pending_capacity)
3480
+ pulumi.set(__self__, "pending_wait_capacity", pending_wait_capacity)
3481
+ pulumi.set(__self__, "protected_capacity", protected_capacity)
3421
3482
  pulumi.set(__self__, "region_id", region_id)
3422
3483
  pulumi.set(__self__, "removal_policies", removal_policies)
3423
3484
  pulumi.set(__self__, "removing_capacity", removing_capacity)
3485
+ pulumi.set(__self__, "removing_wait_capacity", removing_wait_capacity)
3486
+ pulumi.set(__self__, "resource_group_id", resource_group_id)
3487
+ pulumi.set(__self__, "scaling_policy", scaling_policy)
3488
+ pulumi.set(__self__, "spot_allocation_strategy", spot_allocation_strategy)
3489
+ pulumi.set(__self__, "spot_capacity", spot_capacity)
3490
+ pulumi.set(__self__, "spot_instance_pools", spot_instance_pools)
3491
+ pulumi.set(__self__, "spot_instance_remedy", spot_instance_remedy)
3492
+ pulumi.set(__self__, "standby_capacity", standby_capacity)
3493
+ pulumi.set(__self__, "stop_instance_timeout", stop_instance_timeout)
3494
+ pulumi.set(__self__, "stopped_capacity", stopped_capacity)
3424
3495
  pulumi.set(__self__, "suspended_processes", suspended_processes)
3496
+ pulumi.set(__self__, "system_suspended", system_suspended)
3497
+ pulumi.set(__self__, "tags", tags)
3425
3498
  pulumi.set(__self__, "total_capacity", total_capacity)
3426
3499
  pulumi.set(__self__, "total_instance_count", total_instance_count)
3427
3500
  pulumi.set(__self__, "vpc_id", vpc_id)
3428
3501
  pulumi.set(__self__, "vswitch_id", vswitch_id)
3429
3502
  pulumi.set(__self__, "vswitch_ids", vswitch_ids)
3430
- if tags is not None:
3431
- pulumi.set(__self__, "tags", tags)
3432
3503
 
3433
3504
  @property
3434
3505
  @pulumi.getter(name="activeCapacity")
@@ -3446,6 +3517,22 @@ class GetScalingGroupsGroupResult(dict):
3446
3517
  """
3447
3518
  return pulumi.get(self, "active_scaling_configuration")
3448
3519
 
3520
+ @property
3521
+ @pulumi.getter(name="allocationStrategy")
3522
+ def allocation_strategy(self) -> str:
3523
+ """
3524
+ (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.
3525
+ """
3526
+ return pulumi.get(self, "allocation_strategy")
3527
+
3528
+ @property
3529
+ @pulumi.getter(name="azBalance")
3530
+ def az_balance(self) -> bool:
3531
+ """
3532
+ (Available since v1.242.0) Indicates whether instances in the scaling group are evenly distributed across multiple zones.
3533
+ """
3534
+ return pulumi.get(self, "az_balance")
3535
+
3449
3536
  @property
3450
3537
  @pulumi.getter(name="cooldownTime")
3451
3538
  def cooldown_time(self) -> int:
@@ -3470,6 +3557,22 @@ class GetScalingGroupsGroupResult(dict):
3470
3557
  """
3471
3558
  return pulumi.get(self, "db_instance_ids")
3472
3559
 
3560
+ @property
3561
+ @pulumi.getter(name="desiredCapacity")
3562
+ def desired_capacity(self) -> int:
3563
+ """
3564
+ (Available since v1.242.0) The expected number of ECS instances in the scaling group. Auto Scaling automatically maintains the expected number of ECS instances that you specified.
3565
+ """
3566
+ return pulumi.get(self, "desired_capacity")
3567
+
3568
+ @property
3569
+ @pulumi.getter(name="enableDesiredCapacity")
3570
+ def enable_desired_capacity(self) -> bool:
3571
+ """
3572
+ (Available since v1.242.0) Indicates whether the Expected Number of Instances feature is enabled.
3573
+ """
3574
+ return pulumi.get(self, "enable_desired_capacity")
3575
+
3473
3576
  @property
3474
3577
  @pulumi.getter(name="groupDeletionProtection")
3475
3578
  def group_deletion_protection(self) -> bool:
@@ -3478,6 +3581,14 @@ class GetScalingGroupsGroupResult(dict):
3478
3581
  """
3479
3582
  return pulumi.get(self, "group_deletion_protection")
3480
3583
 
3584
+ @property
3585
+ @pulumi.getter(name="groupType")
3586
+ def group_type(self) -> str:
3587
+ """
3588
+ (Available since v1.242.0) The type of the instances in the scaling group.
3589
+ """
3590
+ return pulumi.get(self, "group_type")
3591
+
3481
3592
  @property
3482
3593
  @pulumi.getter(name="healthCheckType")
3483
3594
  def health_check_type(self) -> str:
@@ -3494,6 +3605,14 @@ class GetScalingGroupsGroupResult(dict):
3494
3605
  """
3495
3606
  return pulumi.get(self, "id")
3496
3607
 
3608
+ @property
3609
+ @pulumi.getter(name="initCapacity")
3610
+ def init_capacity(self) -> int:
3611
+ """
3612
+ (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.
3613
+ """
3614
+ return pulumi.get(self, "init_capacity")
3615
+
3497
3616
  @property
3498
3617
  @pulumi.getter(name="launchTemplateId")
3499
3618
  def launch_template_id(self) -> str:
@@ -3526,6 +3645,14 @@ class GetScalingGroupsGroupResult(dict):
3526
3645
  """
3527
3646
  return pulumi.get(self, "load_balancer_ids")
3528
3647
 
3648
+ @property
3649
+ @pulumi.getter(name="maxInstanceLifetime")
3650
+ def max_instance_lifetime(self) -> int:
3651
+ """
3652
+ (Available since v1.242.0) The maximum life span of each instance in the scaling group. Unit: seconds.
3653
+ """
3654
+ return pulumi.get(self, "max_instance_lifetime")
3655
+
3529
3656
  @property
3530
3657
  @pulumi.getter(name="maxSize")
3531
3658
  def max_size(self) -> int:
@@ -3550,6 +3677,22 @@ class GetScalingGroupsGroupResult(dict):
3550
3677
  """
3551
3678
  return pulumi.get(self, "modification_time")
3552
3679
 
3680
+ @property
3681
+ @pulumi.getter(name="monitorGroupId")
3682
+ def monitor_group_id(self) -> str:
3683
+ """
3684
+ (Available since v1.242.0) The ID of the CloudMonitor application group that is associated with the scaling group.
3685
+ """
3686
+ return pulumi.get(self, "monitor_group_id")
3687
+
3688
+ @property
3689
+ @pulumi.getter(name="multiAzPolicy")
3690
+ def multi_az_policy(self) -> str:
3691
+ """
3692
+ (Available since v1.242.0) The scaling policy of the multi-zone scaling group of the ECS type.
3693
+ """
3694
+ return pulumi.get(self, "multi_az_policy")
3695
+
3553
3696
  @property
3554
3697
  @pulumi.getter
3555
3698
  def name(self) -> str:
@@ -3558,14 +3701,46 @@ class GetScalingGroupsGroupResult(dict):
3558
3701
  """
3559
3702
  return pulumi.get(self, "name")
3560
3703
 
3704
+ @property
3705
+ @pulumi.getter(name="onDemandBaseCapacity")
3706
+ def on_demand_base_capacity(self) -> int:
3707
+ """
3708
+ (Available since v1.242.0) The lower limit of the number of pay-as-you-go instances in the scaling group.
3709
+ """
3710
+ return pulumi.get(self, "on_demand_base_capacity")
3711
+
3712
+ @property
3713
+ @pulumi.getter(name="onDemandPercentageAboveBaseCapacity")
3714
+ def on_demand_percentage_above_base_capacity(self) -> int:
3715
+ """
3716
+ (Available since v1.242.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.
3717
+ """
3718
+ return pulumi.get(self, "on_demand_percentage_above_base_capacity")
3719
+
3561
3720
  @property
3562
3721
  @pulumi.getter(name="pendingCapacity")
3563
3722
  def pending_capacity(self) -> int:
3564
3723
  """
3565
- Number of pending instances in scaling group.
3724
+ (Available since v1.242.0) The number of ECS instances that are being added to the scaling group and still being configured.
3566
3725
  """
3567
3726
  return pulumi.get(self, "pending_capacity")
3568
3727
 
3728
+ @property
3729
+ @pulumi.getter(name="pendingWaitCapacity")
3730
+ def pending_wait_capacity(self) -> int:
3731
+ """
3732
+ (Available since v1.242.0) The number of ECS instances that are in the Pending Add state in the scaling group.
3733
+ """
3734
+ return pulumi.get(self, "pending_wait_capacity")
3735
+
3736
+ @property
3737
+ @pulumi.getter(name="protectedCapacity")
3738
+ def protected_capacity(self) -> int:
3739
+ """
3740
+ (Available since v1.242.0) The number of ECS instances that are in the Protected state in the scaling group.
3741
+ """
3742
+ return pulumi.get(self, "protected_capacity")
3743
+
3569
3744
  @property
3570
3745
  @pulumi.getter(name="regionId")
3571
3746
  def region_id(self) -> str:
@@ -3586,10 +3761,90 @@ class GetScalingGroupsGroupResult(dict):
3586
3761
  @pulumi.getter(name="removingCapacity")
3587
3762
  def removing_capacity(self) -> int:
3588
3763
  """
3589
- Number of removing instances in scaling group.
3764
+ (Available since v1.242.0) The number of ECS instances that are being removed from the scaling group.
3590
3765
  """
3591
3766
  return pulumi.get(self, "removing_capacity")
3592
3767
 
3768
+ @property
3769
+ @pulumi.getter(name="removingWaitCapacity")
3770
+ def removing_wait_capacity(self) -> int:
3771
+ """
3772
+ (Available since v1.242.0) The number of ECS instances that are in the Pending Remove state in the scaling group.
3773
+ """
3774
+ return pulumi.get(self, "removing_wait_capacity")
3775
+
3776
+ @property
3777
+ @pulumi.getter(name="resourceGroupId")
3778
+ def resource_group_id(self) -> str:
3779
+ """
3780
+ (Available since v1.242.0) The ID of the resource group to which the scaling group that you want to query belongs.
3781
+ """
3782
+ return pulumi.get(self, "resource_group_id")
3783
+
3784
+ @property
3785
+ @pulumi.getter(name="scalingPolicy")
3786
+ def scaling_policy(self) -> str:
3787
+ """
3788
+ (Available since v1.242.0) The reclaim mode of the scaling group.
3789
+ """
3790
+ return pulumi.get(self, "scaling_policy")
3791
+
3792
+ @property
3793
+ @pulumi.getter(name="spotAllocationStrategy")
3794
+ def spot_allocation_strategy(self) -> str:
3795
+ """
3796
+ (Available since v1.242.0) The allocation policy of preemptible instances. This parameter indicates the method used by Auto Scaling to select instance types to create the required number of preemptible instances. This parameter takes effect only if you set multi_az_policy to COMPOSABLE.
3797
+ """
3798
+ return pulumi.get(self, "spot_allocation_strategy")
3799
+
3800
+ @property
3801
+ @pulumi.getter(name="spotCapacity")
3802
+ def spot_capacity(self) -> int:
3803
+ """
3804
+ (Available since v1.242.0) The number of preemptible instances in the scaling group.
3805
+ """
3806
+ return pulumi.get(self, "spot_capacity")
3807
+
3808
+ @property
3809
+ @pulumi.getter(name="spotInstancePools")
3810
+ def spot_instance_pools(self) -> int:
3811
+ """
3812
+ (Available since v1.242.0) The number of instance types. Auto Scaling creates preemptible instances of multiple instance types that are provided at the lowest price.
3813
+ """
3814
+ return pulumi.get(self, "spot_instance_pools")
3815
+
3816
+ @property
3817
+ @pulumi.getter(name="spotInstanceRemedy")
3818
+ def spot_instance_remedy(self) -> bool:
3819
+ """
3820
+ (Available since v1.242.0) Indicates whether supplementation of preemptible instances is enabled. If this parameter is set to true, Auto Scaling creates an instance to replace a preemptible instance when Auto Scaling receives a system message indicating that the preemptible instance is to be reclaimed.
3821
+ """
3822
+ return pulumi.get(self, "spot_instance_remedy")
3823
+
3824
+ @property
3825
+ @pulumi.getter(name="standbyCapacity")
3826
+ def standby_capacity(self) -> int:
3827
+ """
3828
+ (Available since v1.242.0) The number of instances that are in the Standby state in the scaling group.
3829
+ """
3830
+ return pulumi.get(self, "standby_capacity")
3831
+
3832
+ @property
3833
+ @pulumi.getter(name="stopInstanceTimeout")
3834
+ def stop_instance_timeout(self) -> int:
3835
+ """
3836
+ (Available since v1.242.0) The period of time that is required by an ECS instance to enter the Stopped state during the scale-in process. Unit: seconds.
3837
+ """
3838
+ return pulumi.get(self, "stop_instance_timeout")
3839
+
3840
+ @property
3841
+ @pulumi.getter(name="stoppedCapacity")
3842
+ def stopped_capacity(self) -> int:
3843
+ """
3844
+ (Available since v1.242.0) The number of instances that are in Economical Mode in the scaling group.
3845
+ """
3846
+ return pulumi.get(self, "stopped_capacity")
3847
+
3593
3848
  @property
3594
3849
  @pulumi.getter(name="suspendedProcesses")
3595
3850
  def suspended_processes(self) -> Sequence[str]:
@@ -3598,6 +3853,22 @@ class GetScalingGroupsGroupResult(dict):
3598
3853
  """
3599
3854
  return pulumi.get(self, "suspended_processes")
3600
3855
 
3856
+ @property
3857
+ @pulumi.getter(name="systemSuspended")
3858
+ def system_suspended(self) -> bool:
3859
+ """
3860
+ (Available since v1.242.0) Indicates whether Auto Scaling stops executing the scaling operation in the scaling group.
3861
+ """
3862
+ return pulumi.get(self, "system_suspended")
3863
+
3864
+ @property
3865
+ @pulumi.getter
3866
+ def tags(self) -> Mapping[str, str]:
3867
+ """
3868
+ A mapping of tags to assign to the resource.
3869
+ """
3870
+ return pulumi.get(self, "tags")
3871
+
3601
3872
  @property
3602
3873
  @pulumi.getter(name="totalCapacity")
3603
3874
  def total_capacity(self) -> int:
@@ -3638,14 +3909,6 @@ class GetScalingGroupsGroupResult(dict):
3638
3909
  """
3639
3910
  return pulumi.get(self, "vswitch_ids")
3640
3911
 
3641
- @property
3642
- @pulumi.getter
3643
- def tags(self) -> Optional[Mapping[str, str]]:
3644
- """
3645
- A mapping of tags to assign to the resource.
3646
- """
3647
- return pulumi.get(self, "tags")
3648
-
3649
3912
 
3650
3913
  @pulumi.output_type
3651
3914
  class GetScalingRulesRuleResult(dict):
@@ -3654,30 +3917,51 @@ class GetScalingRulesRuleResult(dict):
3654
3917
  adjustment_value: int,
3655
3918
  cooldown: int,
3656
3919
  id: str,
3920
+ initial_max_size: int,
3921
+ metric_name: str,
3657
3922
  min_adjustment_magnitude: int,
3658
3923
  name: str,
3924
+ predictive_scaling_mode: str,
3925
+ predictive_task_buffer_time: int,
3926
+ predictive_value_behavior: str,
3927
+ predictive_value_buffer: int,
3659
3928
  scaling_group_id: str,
3660
3929
  scaling_rule_ari: str,
3930
+ target_value: float,
3661
3931
  type: str):
3662
3932
  """
3663
3933
  :param str adjustment_type: Adjustment type of the scaling rule.
3664
3934
  :param int adjustment_value: Adjustment value of the scaling rule.
3665
3935
  :param int cooldown: Cooldown time of the scaling rule.
3666
3936
  :param str id: ID of the scaling rule.
3937
+ :param int initial_max_size: (Available since v1.242.0) The maximum number of ECS instances that can be added to the scaling group.
3938
+ :param str metric_name: (Available since v1.242.0) The predefined metric of the scaling rule.
3667
3939
  :param int min_adjustment_magnitude: Min adjustment magnitude of scaling rule.
3668
3940
  :param str name: Name of the scaling rule.
3941
+ :param str predictive_scaling_mode: (Available since v1.242.0) The mode of the predictive scaling rule.
3942
+ :param 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.
3943
+ :param str predictive_value_behavior: (Available since v1.242.0) The action on the predicted maximum value.
3944
+ :param 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.
3669
3945
  :param str scaling_group_id: Scaling group id the scaling rules belong to.
3670
3946
  :param str scaling_rule_ari: Ari of scaling rule.
3947
+ :param float target_value: (Available since v1.242.0) The target value of the metric.
3671
3948
  :param str type: Type of scaling rule.
3672
3949
  """
3673
3950
  pulumi.set(__self__, "adjustment_type", adjustment_type)
3674
3951
  pulumi.set(__self__, "adjustment_value", adjustment_value)
3675
3952
  pulumi.set(__self__, "cooldown", cooldown)
3676
3953
  pulumi.set(__self__, "id", id)
3954
+ pulumi.set(__self__, "initial_max_size", initial_max_size)
3955
+ pulumi.set(__self__, "metric_name", metric_name)
3677
3956
  pulumi.set(__self__, "min_adjustment_magnitude", min_adjustment_magnitude)
3678
3957
  pulumi.set(__self__, "name", name)
3958
+ pulumi.set(__self__, "predictive_scaling_mode", predictive_scaling_mode)
3959
+ pulumi.set(__self__, "predictive_task_buffer_time", predictive_task_buffer_time)
3960
+ pulumi.set(__self__, "predictive_value_behavior", predictive_value_behavior)
3961
+ pulumi.set(__self__, "predictive_value_buffer", predictive_value_buffer)
3679
3962
  pulumi.set(__self__, "scaling_group_id", scaling_group_id)
3680
3963
  pulumi.set(__self__, "scaling_rule_ari", scaling_rule_ari)
3964
+ pulumi.set(__self__, "target_value", target_value)
3681
3965
  pulumi.set(__self__, "type", type)
3682
3966
 
3683
3967
  @property
@@ -3712,6 +3996,22 @@ class GetScalingRulesRuleResult(dict):
3712
3996
  """
3713
3997
  return pulumi.get(self, "id")
3714
3998
 
3999
+ @property
4000
+ @pulumi.getter(name="initialMaxSize")
4001
+ def initial_max_size(self) -> int:
4002
+ """
4003
+ (Available since v1.242.0) The maximum number of ECS instances that can be added to the scaling group.
4004
+ """
4005
+ return pulumi.get(self, "initial_max_size")
4006
+
4007
+ @property
4008
+ @pulumi.getter(name="metricName")
4009
+ def metric_name(self) -> str:
4010
+ """
4011
+ (Available since v1.242.0) The predefined metric of the scaling rule.
4012
+ """
4013
+ return pulumi.get(self, "metric_name")
4014
+
3715
4015
  @property
3716
4016
  @pulumi.getter(name="minAdjustmentMagnitude")
3717
4017
  def min_adjustment_magnitude(self) -> int:
@@ -3728,6 +4028,38 @@ class GetScalingRulesRuleResult(dict):
3728
4028
  """
3729
4029
  return pulumi.get(self, "name")
3730
4030
 
4031
+ @property
4032
+ @pulumi.getter(name="predictiveScalingMode")
4033
+ def predictive_scaling_mode(self) -> str:
4034
+ """
4035
+ (Available since v1.242.0) The mode of the predictive scaling rule.
4036
+ """
4037
+ return pulumi.get(self, "predictive_scaling_mode")
4038
+
4039
+ @property
4040
+ @pulumi.getter(name="predictiveTaskBufferTime")
4041
+ def predictive_task_buffer_time(self) -> int:
4042
+ """
4043
+ (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.
4044
+ """
4045
+ return pulumi.get(self, "predictive_task_buffer_time")
4046
+
4047
+ @property
4048
+ @pulumi.getter(name="predictiveValueBehavior")
4049
+ def predictive_value_behavior(self) -> str:
4050
+ """
4051
+ (Available since v1.242.0) The action on the predicted maximum value.
4052
+ """
4053
+ return pulumi.get(self, "predictive_value_behavior")
4054
+
4055
+ @property
4056
+ @pulumi.getter(name="predictiveValueBuffer")
4057
+ def predictive_value_buffer(self) -> int:
4058
+ """
4059
+ (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.
4060
+ """
4061
+ return pulumi.get(self, "predictive_value_buffer")
4062
+
3731
4063
  @property
3732
4064
  @pulumi.getter(name="scalingGroupId")
3733
4065
  def scaling_group_id(self) -> str:
@@ -3744,6 +4076,14 @@ class GetScalingRulesRuleResult(dict):
3744
4076
  """
3745
4077
  return pulumi.get(self, "scaling_rule_ari")
3746
4078
 
4079
+ @property
4080
+ @pulumi.getter(name="targetValue")
4081
+ def target_value(self) -> float:
4082
+ """
4083
+ (Available since v1.242.0) The target value of the metric.
4084
+ """
4085
+ return pulumi.get(self, "target_value")
4086
+
3747
4087
  @property
3748
4088
  @pulumi.getter
3749
4089
  def type(self) -> str:
@@ -77,9 +77,7 @@ def get_service(enable: Optional[str] = None,
77
77
 
78
78
  For information about Event Bridge and how to use it, see [What is Event Bridge](https://www.alibabacloud.com/help/en/doc-detail/163239.htm).
79
79
 
80
- > **NOTE:** Available in v1.126.0+
81
-
82
- > **NOTE:** This data source supports `cn-shanghai`, `cn-hangzhou` and `ap-southeast-1` regions.
80
+ > **NOTE:** Available since v1.126.0.
83
81
 
84
82
  ## Example Usage
85
83
 
@@ -111,9 +109,7 @@ def get_service_output(enable: Optional[pulumi.Input[Optional[str]]] = None,
111
109
 
112
110
  For information about Event Bridge and how to use it, see [What is Event Bridge](https://www.alibabacloud.com/help/en/doc-detail/163239.htm).
113
111
 
114
- > **NOTE:** Available in v1.126.0+
115
-
116
- > **NOTE:** This data source supports `cn-shanghai`, `cn-hangzhou` and `ap-southeast-1` regions.
112
+ > **NOTE:** Available since v1.126.0.
117
113
 
118
114
  ## Example Usage
119
115