Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi
alicloud.ess.getScalingGroups
Explore with Pulumi AI
This data source provides available scaling group resources.
NOTE: Available since v1.39.0
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
import * as random from "@pulumi/random";
const config = new pulumi.Config();
const name = config.get("name") || "terraform-example";
const defaultInteger = new random.index.Integer("default", {
min: 10000,
max: 99999,
});
const myName = `${name}-${defaultInteger.result}`;
const _default = alicloud.getZones({
availableDiskCategory: "cloud_efficiency",
availableResourceCreation: "VSwitch",
});
const defaultNetwork = new alicloud.vpc.Network("default", {
vpcName: myName,
cidrBlock: "172.16.0.0/16",
});
const defaultSwitch = new alicloud.vpc.Switch("default", {
vpcId: defaultNetwork.id,
cidrBlock: "172.16.0.0/24",
zoneId: _default.then(_default => _default.zones?.[0]?.id),
vswitchName: myName,
});
const defaultScalingGroup = new alicloud.ess.ScalingGroup("default", {
minSize: 1,
maxSize: 1,
scalingGroupName: myName,
removalPolicies: [
"OldestInstance",
"NewestInstance",
],
vswitchIds: [defaultSwitch.id],
});
const scalinggroupsDs = alicloud.ess.getScalingGroupsOutput({
ids: [defaultScalingGroup.id],
nameRegex: myName,
});
export const firstScalingGroup = scalinggroupsDs.apply(scalinggroupsDs => scalinggroupsDs.groups?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
import pulumi_random as random
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "terraform-example"
default_integer = random.index.Integer("default",
min=10000,
max=99999)
my_name = f"{name}-{default_integer['result']}"
default = alicloud.get_zones(available_disk_category="cloud_efficiency",
available_resource_creation="VSwitch")
default_network = alicloud.vpc.Network("default",
vpc_name=my_name,
cidr_block="172.16.0.0/16")
default_switch = alicloud.vpc.Switch("default",
vpc_id=default_network.id,
cidr_block="172.16.0.0/24",
zone_id=default.zones[0].id,
vswitch_name=my_name)
default_scaling_group = alicloud.ess.ScalingGroup("default",
min_size=1,
max_size=1,
scaling_group_name=my_name,
removal_policies=[
"OldestInstance",
"NewestInstance",
],
vswitch_ids=[default_switch.id])
scalinggroups_ds = alicloud.ess.get_scaling_groups_output(ids=[default_scaling_group.id],
name_regex=my_name)
pulumi.export("firstScalingGroup", scalinggroups_ds.groups[0].id)
package main
import (
"fmt"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ess"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi-random/sdk/v4/go/random"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "terraform-example"
if param := cfg.Get("name"); param != "" {
name = param
}
defaultInteger, err := random.NewInteger(ctx, "default", &random.IntegerArgs{
Min: 10000,
Max: 99999,
})
if err != nil {
return err
}
myName := fmt.Sprintf("%v-%v", name, defaultInteger.Result)
_default, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{
AvailableDiskCategory: pulumi.StringRef("cloud_efficiency"),
AvailableResourceCreation: pulumi.StringRef("VSwitch"),
}, nil)
if err != nil {
return err
}
defaultNetwork, err := vpc.NewNetwork(ctx, "default", &vpc.NetworkArgs{
VpcName: pulumi.String(myName),
CidrBlock: pulumi.String("172.16.0.0/16"),
})
if err != nil {
return err
}
defaultSwitch, err := vpc.NewSwitch(ctx, "default", &vpc.SwitchArgs{
VpcId: defaultNetwork.ID(),
CidrBlock: pulumi.String("172.16.0.0/24"),
ZoneId: pulumi.String(_default.Zones[0].Id),
VswitchName: pulumi.String(myName),
})
if err != nil {
return err
}
defaultScalingGroup, err := ess.NewScalingGroup(ctx, "default", &ess.ScalingGroupArgs{
MinSize: pulumi.Int(1),
MaxSize: pulumi.Int(1),
ScalingGroupName: pulumi.String(myName),
RemovalPolicies: pulumi.StringArray{
pulumi.String("OldestInstance"),
pulumi.String("NewestInstance"),
},
VswitchIds: pulumi.StringArray{
defaultSwitch.ID(),
},
})
if err != nil {
return err
}
scalinggroupsDs := ess.GetScalingGroupsOutput(ctx, ess.GetScalingGroupsOutputArgs{
Ids: pulumi.StringArray{
defaultScalingGroup.ID(),
},
NameRegex: pulumi.String(myName),
}, nil)
ctx.Export("firstScalingGroup", scalinggroupsDs.ApplyT(func(scalinggroupsDs ess.GetScalingGroupsResult) (*string, error) {
return &scalinggroupsDs.Groups[0].Id, nil
}).(pulumi.StringPtrOutput))
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
using Random = Pulumi.Random;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "terraform-example";
var defaultInteger = new Random.Index.Integer("default", new()
{
Min = 10000,
Max = 99999,
});
var myName = $"{name}-{defaultInteger.Result}";
var @default = AliCloud.GetZones.Invoke(new()
{
AvailableDiskCategory = "cloud_efficiency",
AvailableResourceCreation = "VSwitch",
});
var defaultNetwork = new AliCloud.Vpc.Network("default", new()
{
VpcName = myName,
CidrBlock = "172.16.0.0/16",
});
var defaultSwitch = new AliCloud.Vpc.Switch("default", new()
{
VpcId = defaultNetwork.Id,
CidrBlock = "172.16.0.0/24",
ZoneId = @default.Apply(@default => @default.Apply(getZonesResult => getZonesResult.Zones[0]?.Id)),
VswitchName = myName,
});
var defaultScalingGroup = new AliCloud.Ess.ScalingGroup("default", new()
{
MinSize = 1,
MaxSize = 1,
ScalingGroupName = myName,
RemovalPolicies = new[]
{
"OldestInstance",
"NewestInstance",
},
VswitchIds = new[]
{
defaultSwitch.Id,
},
});
var scalinggroupsDs = AliCloud.Ess.GetScalingGroups.Invoke(new()
{
Ids = new[]
{
defaultScalingGroup.Id,
},
NameRegex = myName,
});
return new Dictionary<string, object?>
{
["firstScalingGroup"] = scalinggroupsDs.Apply(getScalingGroupsResult => getScalingGroupsResult.Groups[0]?.Id),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.random.integer;
import com.pulumi.random.IntegerArgs;
import com.pulumi.alicloud.AlicloudFunctions;
import com.pulumi.alicloud.inputs.GetZonesArgs;
import com.pulumi.alicloud.vpc.Network;
import com.pulumi.alicloud.vpc.NetworkArgs;
import com.pulumi.alicloud.vpc.Switch;
import com.pulumi.alicloud.vpc.SwitchArgs;
import com.pulumi.alicloud.ess.ScalingGroup;
import com.pulumi.alicloud.ess.ScalingGroupArgs;
import com.pulumi.alicloud.ess.EssFunctions;
import com.pulumi.alicloud.ess.inputs.GetScalingGroupsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var name = config.get("name").orElse("terraform-example");
var defaultInteger = new Integer("defaultInteger", IntegerArgs.builder()
.min(10000)
.max(99999)
.build());
final var myName = String.format("%s-%s", name,defaultInteger.result());
final var default = AlicloudFunctions.getZones(GetZonesArgs.builder()
.availableDiskCategory("cloud_efficiency")
.availableResourceCreation("VSwitch")
.build());
var defaultNetwork = new Network("defaultNetwork", NetworkArgs.builder()
.vpcName(myName)
.cidrBlock("172.16.0.0/16")
.build());
var defaultSwitch = new Switch("defaultSwitch", SwitchArgs.builder()
.vpcId(defaultNetwork.id())
.cidrBlock("172.16.0.0/24")
.zoneId(default_.zones()[0].id())
.vswitchName(myName)
.build());
var defaultScalingGroup = new ScalingGroup("defaultScalingGroup", ScalingGroupArgs.builder()
.minSize(1)
.maxSize(1)
.scalingGroupName(myName)
.removalPolicies(
"OldestInstance",
"NewestInstance")
.vswitchIds(defaultSwitch.id())
.build());
final var scalinggroupsDs = EssFunctions.getScalingGroups(GetScalingGroupsArgs.builder()
.ids(defaultScalingGroup.id())
.nameRegex(myName)
.build());
ctx.export("firstScalingGroup", scalinggroupsDs.applyValue(getScalingGroupsResult -> getScalingGroupsResult).applyValue(scalinggroupsDs -> scalinggroupsDs.applyValue(getScalingGroupsResult -> getScalingGroupsResult.groups()[0].id())));
}
}
configuration:
name:
type: string
default: terraform-example
resources:
defaultInteger:
type: random:integer
name: default
properties:
min: 10000
max: 99999
defaultNetwork:
type: alicloud:vpc:Network
name: default
properties:
vpcName: ${myName}
cidrBlock: 172.16.0.0/16
defaultSwitch:
type: alicloud:vpc:Switch
name: default
properties:
vpcId: ${defaultNetwork.id}
cidrBlock: 172.16.0.0/24
zoneId: ${default.zones[0].id}
vswitchName: ${myName}
defaultScalingGroup:
type: alicloud:ess:ScalingGroup
name: default
properties:
minSize: 1
maxSize: 1
scalingGroupName: ${myName}
removalPolicies:
- OldestInstance
- NewestInstance
vswitchIds:
- ${defaultSwitch.id}
variables:
myName: ${name}-${defaultInteger.result}
default:
fn::invoke:
function: alicloud:getZones
arguments:
availableDiskCategory: cloud_efficiency
availableResourceCreation: VSwitch
scalinggroupsDs:
fn::invoke:
function: alicloud:ess:getScalingGroups
arguments:
ids:
- ${defaultScalingGroup.id}
nameRegex: ${myName}
outputs:
firstScalingGroup: ${scalinggroupsDs.groups[0].id}
Using getScalingGroups
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getScalingGroups(args: GetScalingGroupsArgs, opts?: InvokeOptions): Promise<GetScalingGroupsResult>
function getScalingGroupsOutput(args: GetScalingGroupsOutputArgs, opts?: InvokeOptions): Output<GetScalingGroupsResult>
def get_scaling_groups(ids: Optional[Sequence[str]] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetScalingGroupsResult
def get_scaling_groups_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetScalingGroupsResult]
func GetScalingGroups(ctx *Context, args *GetScalingGroupsArgs, opts ...InvokeOption) (*GetScalingGroupsResult, error)
func GetScalingGroupsOutput(ctx *Context, args *GetScalingGroupsOutputArgs, opts ...InvokeOption) GetScalingGroupsResultOutput
> Note: This function is named GetScalingGroups
in the Go SDK.
public static class GetScalingGroups
{
public static Task<GetScalingGroupsResult> InvokeAsync(GetScalingGroupsArgs args, InvokeOptions? opts = null)
public static Output<GetScalingGroupsResult> Invoke(GetScalingGroupsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetScalingGroupsResult> getScalingGroups(GetScalingGroupsArgs args, InvokeOptions options)
public static Output<GetScalingGroupsResult> getScalingGroups(GetScalingGroupsArgs args, InvokeOptions options)
fn::invoke:
function: alicloud:ess/getScalingGroups:getScalingGroups
arguments:
# arguments dictionary
The following arguments are supported:
- Ids
Changes to this property will trigger replacement.
- A list of scaling group IDs.
- Name
Regex Changes to this property will trigger replacement.
- A regex string to filter resulting scaling groups by name.
- Output
File Changes to this property will trigger replacement.
- File name where to save data source results (after running
pulumi preview
).
- Ids
Changes to this property will trigger replacement.
- A list of scaling group IDs.
- Name
Regex Changes to this property will trigger replacement.
- A regex string to filter resulting scaling groups by name.
- Output
File Changes to this property will trigger replacement.
- File name where to save data source results (after running
pulumi preview
).
- ids
Changes to this property will trigger replacement.
- A list of scaling group IDs.
- name
Regex Changes to this property will trigger replacement.
- A regex string to filter resulting scaling groups by name.
- output
File Changes to this property will trigger replacement.
- File name where to save data source results (after running
pulumi preview
).
- ids
Changes to this property will trigger replacement.
- A list of scaling group IDs.
- name
Regex Changes to this property will trigger replacement.
- A regex string to filter resulting scaling groups by name.
- output
File Changes to this property will trigger replacement.
- File name where to save data source results (after running
pulumi preview
).
- ids
Changes to this property will trigger replacement.
- A list of scaling group IDs.
- name_
regex Changes to this property will trigger replacement.
- A regex string to filter resulting scaling groups by name.
- output_
file Changes to this property will trigger replacement.
- File name where to save data source results (after running
pulumi preview
).
- ids
Changes to this property will trigger replacement.
- A list of scaling group IDs.
- name
Regex Changes to this property will trigger replacement.
- A regex string to filter resulting scaling groups by name.
- output
File Changes to this property will trigger replacement.
- File name where to save data source results (after running
pulumi preview
).
getScalingGroups Result
The following output properties are available:
- Groups
List<Pulumi.
Ali Cloud. Ess. Outputs. Get Scaling Groups Group> - A list of scaling groups. Each element contains the following attributes:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- A list of scaling group ids.
- Names List<string>
- A list of scaling group names.
- Name
Regex string - Output
File string
- Groups
[]Get
Scaling Groups Group - A list of scaling groups. Each element contains the following attributes:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- A list of scaling group ids.
- Names []string
- A list of scaling group names.
- Name
Regex string - Output
File string
- groups
List<Get
Scaling Groups Group> - A list of scaling groups. Each element contains the following attributes:
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of scaling group ids.
- names List<String>
- A list of scaling group names.
- name
Regex String - output
File String
- groups
Get
Scaling Groups Group[] - A list of scaling groups. Each element contains the following attributes:
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- A list of scaling group ids.
- names string[]
- A list of scaling group names.
- name
Regex string - output
File string
- groups
Sequence[Get
Scaling Groups Group] - A list of scaling groups. Each element contains the following attributes:
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- A list of scaling group ids.
- names Sequence[str]
- A list of scaling group names.
- name_
regex str - output_
file str
- groups List<Property Map>
- A list of scaling groups. Each element contains the following attributes:
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of scaling group ids.
- names List<String>
- A list of scaling group names.
- name
Regex String - output
File String
Supporting Types
GetScalingGroupsGroup
- Active
Capacity This property is required. int - Number of active instances in scaling group.
- Active
Scaling Configuration This property is required. string - Active scaling configuration for scaling group.
- Allocation
Strategy This property is required. string - (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.
- Az
Balance This property is required. bool - (Available since v1.242.0) Indicates whether instances in the scaling group are evenly distributed across multiple zones.
- Cooldown
Time This property is required. int - Default cooldown time of scaling group.
- Creation
Time This property is required. string - Creation time of scaling group.
- Db
Instance Ids This property is required. List<string> - Db instances id which the ECS instance attached to.
- Desired
Capacity This property is required. int - (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.
- Enable
Desired Capacity This property is required. bool - (Available since v1.242.0) Indicates whether the Expected Number of Instances feature is enabled.
- Group
Deletion Protection This property is required. bool - Whether the scaling group deletion protection is enabled.
- Group
Type This property is required. string - (Available since v1.242.0) The type of the instances in the scaling group.
- Health
Check Type This property is required. string - The health check method of the scaling group.
- Id
This property is required. string - ID of the scaling group.
- Init
Capacity This property is required. int - (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.
- Launch
Template Id This property is required. string - Active launch template ID for scaling group.
- Launch
Template Version This property is required. string - Version of active launch template.
- Lifecycle
State This property is required. string - Lifecycle state of scaling group.
- Load
Balancer Ids This property is required. List<string> - Slb instances id which the ECS instance attached to.
- Max
Instance Lifetime This property is required. int - (Available since v1.242.0) The maximum life span of each instance in the scaling group. Unit: seconds.
- Max
Size This property is required. int - The maximum number of ECS instances.
- Min
Size This property is required. int - The minimum number of ECS instances.
- Modification
Time This property is required. string - The modification time.
- Monitor
Group Id This property is required. string - (Available since v1.242.0) The ID of the CloudMonitor application group that is associated with the scaling group.
- Multi
Az Policy This property is required. string - (Available since v1.242.0) The scaling policy of the multi-zone scaling group of the ECS type.
- Name
This property is required. string - Name of the scaling group.
- On
Demand Base Capacity This property is required. int - (Available since v1.242.0) The lower limit of the number of pay-as-you-go instances in the scaling group.
- On
Demand Percentage Above Base Capacity This property is required. int - (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.
- Pending
Capacity This property is required. int - (Available since v1.242.0) The number of ECS instances that are being added to the scaling group and still being configured.
- Pending
Wait Capacity This property is required. int - (Available since v1.242.0) The number of ECS instances that are in the Pending Add state in the scaling group.
- Protected
Capacity This property is required. int - (Available since v1.242.0) The number of ECS instances that are in the Protected state in the scaling group.
- Region
Id This property is required. string - Region ID the scaling group belongs to.
- Removal
Policies This property is required. List<string> - Removal policy used to select the ECS instance to remove from the scaling group.
- Removing
Capacity This property is required. int - (Available since v1.242.0) The number of ECS instances that are being removed from the scaling group.
- Removing
Wait Capacity This property is required. int - (Available since v1.242.0) The number of ECS instances that are in the Pending Remove state in the scaling group.
- Resource
Group Id This property is required. string - (Available since v1.242.0) The ID of the resource group to which the scaling group that you want to query belongs.
- Scaling
Policy This property is required. string - (Available since v1.242.0) The reclaim mode of the scaling group.
- Spot
Allocation Strategy This property is required. string - (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.
- Spot
Capacity This property is required. int - (Available since v1.242.0) The number of preemptible instances in the scaling group.
- Spot
Instance Pools This property is required. int - (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.
- Spot
Instance Remedy This property is required. bool - (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.
- Standby
Capacity This property is required. int - (Available since v1.242.0) The number of instances that are in the Standby state in the scaling group.
- Stop
Instance Timeout This property is required. int - (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.
- Stopped
Capacity This property is required. int - (Available since v1.242.0) The number of instances that are in Economical Mode in the scaling group.
- Suspended
Processes This property is required. List<string> - The Process in suspension.
- System
Suspended This property is required. bool - (Available since v1.242.0) Indicates whether Auto Scaling stops executing the scaling operation in the scaling group.
This property is required. Dictionary<string, string>- A mapping of tags to assign to the resource.
- Total
Capacity This property is required. int - Number of instances in scaling group.
- Total
Instance Count This property is required. int - The number of all ECS instances in the scaling group.
- Vpc
Id This property is required. string - The ID of the VPC to which the scaling group belongs.
- Vswitch
Id This property is required. string - The ID of the vSwitch to which the scaling group belongs.
- Vswitch
Ids This property is required. List<string> - Vswitches id in which the ECS instance launched.
- Active
Capacity This property is required. int - Number of active instances in scaling group.
- Active
Scaling Configuration This property is required. string - Active scaling configuration for scaling group.
- Allocation
Strategy This property is required. string - (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.
- Az
Balance This property is required. bool - (Available since v1.242.0) Indicates whether instances in the scaling group are evenly distributed across multiple zones.
- Cooldown
Time This property is required. int - Default cooldown time of scaling group.
- Creation
Time This property is required. string - Creation time of scaling group.
- Db
Instance Ids This property is required. []string - Db instances id which the ECS instance attached to.
- Desired
Capacity This property is required. int - (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.
- Enable
Desired Capacity This property is required. bool - (Available since v1.242.0) Indicates whether the Expected Number of Instances feature is enabled.
- Group
Deletion Protection This property is required. bool - Whether the scaling group deletion protection is enabled.
- Group
Type This property is required. string - (Available since v1.242.0) The type of the instances in the scaling group.
- Health
Check Type This property is required. string - The health check method of the scaling group.
- Id
This property is required. string - ID of the scaling group.
- Init
Capacity This property is required. int - (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.
- Launch
Template Id This property is required. string - Active launch template ID for scaling group.
- Launch
Template Version This property is required. string - Version of active launch template.
- Lifecycle
State This property is required. string - Lifecycle state of scaling group.
- Load
Balancer Ids This property is required. []string - Slb instances id which the ECS instance attached to.
- Max
Instance Lifetime This property is required. int - (Available since v1.242.0) The maximum life span of each instance in the scaling group. Unit: seconds.
- Max
Size This property is required. int - The maximum number of ECS instances.
- Min
Size This property is required. int - The minimum number of ECS instances.
- Modification
Time This property is required. string - The modification time.
- Monitor
Group Id This property is required. string - (Available since v1.242.0) The ID of the CloudMonitor application group that is associated with the scaling group.
- Multi
Az Policy This property is required. string - (Available since v1.242.0) The scaling policy of the multi-zone scaling group of the ECS type.
- Name
This property is required. string - Name of the scaling group.
- On
Demand Base Capacity This property is required. int - (Available since v1.242.0) The lower limit of the number of pay-as-you-go instances in the scaling group.
- On
Demand Percentage Above Base Capacity This property is required. int - (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.
- Pending
Capacity This property is required. int - (Available since v1.242.0) The number of ECS instances that are being added to the scaling group and still being configured.
- Pending
Wait Capacity This property is required. int - (Available since v1.242.0) The number of ECS instances that are in the Pending Add state in the scaling group.
- Protected
Capacity This property is required. int - (Available since v1.242.0) The number of ECS instances that are in the Protected state in the scaling group.
- Region
Id This property is required. string - Region ID the scaling group belongs to.
- Removal
Policies This property is required. []string - Removal policy used to select the ECS instance to remove from the scaling group.
- Removing
Capacity This property is required. int - (Available since v1.242.0) The number of ECS instances that are being removed from the scaling group.
- Removing
Wait Capacity This property is required. int - (Available since v1.242.0) The number of ECS instances that are in the Pending Remove state in the scaling group.
- Resource
Group Id This property is required. string - (Available since v1.242.0) The ID of the resource group to which the scaling group that you want to query belongs.
- Scaling
Policy This property is required. string - (Available since v1.242.0) The reclaim mode of the scaling group.
- Spot
Allocation Strategy This property is required. string - (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.
- Spot
Capacity This property is required. int - (Available since v1.242.0) The number of preemptible instances in the scaling group.
- Spot
Instance Pools This property is required. int - (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.
- Spot
Instance Remedy This property is required. bool - (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.
- Standby
Capacity This property is required. int - (Available since v1.242.0) The number of instances that are in the Standby state in the scaling group.
- Stop
Instance Timeout This property is required. int - (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.
- Stopped
Capacity This property is required. int - (Available since v1.242.0) The number of instances that are in Economical Mode in the scaling group.
- Suspended
Processes This property is required. []string - The Process in suspension.
- System
Suspended This property is required. bool - (Available since v1.242.0) Indicates whether Auto Scaling stops executing the scaling operation in the scaling group.
This property is required. map[string]string- A mapping of tags to assign to the resource.
- Total
Capacity This property is required. int - Number of instances in scaling group.
- Total
Instance Count This property is required. int - The number of all ECS instances in the scaling group.
- Vpc
Id This property is required. string - The ID of the VPC to which the scaling group belongs.
- Vswitch
Id This property is required. string - The ID of the vSwitch to which the scaling group belongs.
- Vswitch
Ids This property is required. []string - Vswitches id in which the ECS instance launched.
- active
Capacity This property is required. Integer - Number of active instances in scaling group.
- active
Scaling Configuration This property is required. String - Active scaling configuration for scaling group.
- allocation
Strategy This property is required. String - (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.
- az
Balance This property is required. Boolean - (Available since v1.242.0) Indicates whether instances in the scaling group are evenly distributed across multiple zones.
- cooldown
Time This property is required. Integer - Default cooldown time of scaling group.
- creation
Time This property is required. String - Creation time of scaling group.
- db
Instance Ids This property is required. List<String> - Db instances id which the ECS instance attached to.
- desired
Capacity This property is required. Integer - (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.
- enable
Desired Capacity This property is required. Boolean - (Available since v1.242.0) Indicates whether the Expected Number of Instances feature is enabled.
- group
Deletion Protection This property is required. Boolean - Whether the scaling group deletion protection is enabled.
- group
Type This property is required. String - (Available since v1.242.0) The type of the instances in the scaling group.
- health
Check Type This property is required. String - The health check method of the scaling group.
- id
This property is required. String - ID of the scaling group.
- init
Capacity This property is required. Integer - (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.
- launch
Template Id This property is required. String - Active launch template ID for scaling group.
- launch
Template Version This property is required. String - Version of active launch template.
- lifecycle
State This property is required. String - Lifecycle state of scaling group.
- load
Balancer Ids This property is required. List<String> - Slb instances id which the ECS instance attached to.
- max
Instance Lifetime This property is required. Integer - (Available since v1.242.0) The maximum life span of each instance in the scaling group. Unit: seconds.
- max
Size This property is required. Integer - The maximum number of ECS instances.
- min
Size This property is required. Integer - The minimum number of ECS instances.
- modification
Time This property is required. String - The modification time.
- monitor
Group Id This property is required. String - (Available since v1.242.0) The ID of the CloudMonitor application group that is associated with the scaling group.
- multi
Az Policy This property is required. String - (Available since v1.242.0) The scaling policy of the multi-zone scaling group of the ECS type.
- name
This property is required. String - Name of the scaling group.
- on
Demand Base Capacity This property is required. Integer - (Available since v1.242.0) The lower limit of the number of pay-as-you-go instances in the scaling group.
- on
Demand Percentage Above Base Capacity This property is required. Integer - (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.
- pending
Capacity This property is required. Integer - (Available since v1.242.0) The number of ECS instances that are being added to the scaling group and still being configured.
- pending
Wait Capacity This property is required. Integer - (Available since v1.242.0) The number of ECS instances that are in the Pending Add state in the scaling group.
- protected
Capacity This property is required. Integer - (Available since v1.242.0) The number of ECS instances that are in the Protected state in the scaling group.
- region
Id This property is required. String - Region ID the scaling group belongs to.
- removal
Policies This property is required. List<String> - Removal policy used to select the ECS instance to remove from the scaling group.
- removing
Capacity This property is required. Integer - (Available since v1.242.0) The number of ECS instances that are being removed from the scaling group.
- removing
Wait Capacity This property is required. Integer - (Available since v1.242.0) The number of ECS instances that are in the Pending Remove state in the scaling group.
- resource
Group Id This property is required. String - (Available since v1.242.0) The ID of the resource group to which the scaling group that you want to query belongs.
- scaling
Policy This property is required. String - (Available since v1.242.0) The reclaim mode of the scaling group.
- spot
Allocation Strategy This property is required. String - (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.
- spot
Capacity This property is required. Integer - (Available since v1.242.0) The number of preemptible instances in the scaling group.
- spot
Instance Pools This property is required. Integer - (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.
- spot
Instance Remedy This property is required. Boolean - (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.
- standby
Capacity This property is required. Integer - (Available since v1.242.0) The number of instances that are in the Standby state in the scaling group.
- stop
Instance Timeout This property is required. Integer - (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.
- stopped
Capacity This property is required. Integer - (Available since v1.242.0) The number of instances that are in Economical Mode in the scaling group.
- suspended
Processes This property is required. List<String> - The Process in suspension.
- system
Suspended This property is required. Boolean - (Available since v1.242.0) Indicates whether Auto Scaling stops executing the scaling operation in the scaling group.
This property is required. Map<String,String>- A mapping of tags to assign to the resource.
- total
Capacity This property is required. Integer - Number of instances in scaling group.
- total
Instance Count This property is required. Integer - The number of all ECS instances in the scaling group.
- vpc
Id This property is required. String - The ID of the VPC to which the scaling group belongs.
- vswitch
Id This property is required. String - The ID of the vSwitch to which the scaling group belongs.
- vswitch
Ids This property is required. List<String> - Vswitches id in which the ECS instance launched.
- active
Capacity This property is required. number - Number of active instances in scaling group.
- active
Scaling Configuration This property is required. string - Active scaling configuration for scaling group.
- allocation
Strategy This property is required. string - (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.
- az
Balance This property is required. boolean - (Available since v1.242.0) Indicates whether instances in the scaling group are evenly distributed across multiple zones.
- cooldown
Time This property is required. number - Default cooldown time of scaling group.
- creation
Time This property is required. string - Creation time of scaling group.
- db
Instance Ids This property is required. string[] - Db instances id which the ECS instance attached to.
- desired
Capacity This property is required. number - (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.
- enable
Desired Capacity This property is required. boolean - (Available since v1.242.0) Indicates whether the Expected Number of Instances feature is enabled.
- group
Deletion Protection This property is required. boolean - Whether the scaling group deletion protection is enabled.
- group
Type This property is required. string - (Available since v1.242.0) The type of the instances in the scaling group.
- health
Check Type This property is required. string - The health check method of the scaling group.
- id
This property is required. string - ID of the scaling group.
- init
Capacity This property is required. number - (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.
- launch
Template Id This property is required. string - Active launch template ID for scaling group.
- launch
Template Version This property is required. string - Version of active launch template.
- lifecycle
State This property is required. string - Lifecycle state of scaling group.
- load
Balancer Ids This property is required. string[] - Slb instances id which the ECS instance attached to.
- max
Instance Lifetime This property is required. number - (Available since v1.242.0) The maximum life span of each instance in the scaling group. Unit: seconds.
- max
Size This property is required. number - The maximum number of ECS instances.
- min
Size This property is required. number - The minimum number of ECS instances.
- modification
Time This property is required. string - The modification time.
- monitor
Group Id This property is required. string - (Available since v1.242.0) The ID of the CloudMonitor application group that is associated with the scaling group.
- multi
Az Policy This property is required. string - (Available since v1.242.0) The scaling policy of the multi-zone scaling group of the ECS type.
- name
This property is required. string - Name of the scaling group.
- on
Demand Base Capacity This property is required. number - (Available since v1.242.0) The lower limit of the number of pay-as-you-go instances in the scaling group.
- on
Demand Percentage Above Base Capacity This property is required. number - (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.
- pending
Capacity This property is required. number - (Available since v1.242.0) The number of ECS instances that are being added to the scaling group and still being configured.
- pending
Wait Capacity This property is required. number - (Available since v1.242.0) The number of ECS instances that are in the Pending Add state in the scaling group.
- protected
Capacity This property is required. number - (Available since v1.242.0) The number of ECS instances that are in the Protected state in the scaling group.
- region
Id This property is required. string - Region ID the scaling group belongs to.
- removal
Policies This property is required. string[] - Removal policy used to select the ECS instance to remove from the scaling group.
- removing
Capacity This property is required. number - (Available since v1.242.0) The number of ECS instances that are being removed from the scaling group.
- removing
Wait Capacity This property is required. number - (Available since v1.242.0) The number of ECS instances that are in the Pending Remove state in the scaling group.
- resource
Group Id This property is required. string - (Available since v1.242.0) The ID of the resource group to which the scaling group that you want to query belongs.
- scaling
Policy This property is required. string - (Available since v1.242.0) The reclaim mode of the scaling group.
- spot
Allocation Strategy This property is required. string - (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.
- spot
Capacity This property is required. number - (Available since v1.242.0) The number of preemptible instances in the scaling group.
- spot
Instance Pools This property is required. number - (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.
- spot
Instance Remedy This property is required. boolean - (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.
- standby
Capacity This property is required. number - (Available since v1.242.0) The number of instances that are in the Standby state in the scaling group.
- stop
Instance Timeout This property is required. number - (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.
- stopped
Capacity This property is required. number - (Available since v1.242.0) The number of instances that are in Economical Mode in the scaling group.
- suspended
Processes This property is required. string[] - The Process in suspension.
- system
Suspended This property is required. boolean - (Available since v1.242.0) Indicates whether Auto Scaling stops executing the scaling operation in the scaling group.
This property is required. {[key: string]: string}- A mapping of tags to assign to the resource.
- total
Capacity This property is required. number - Number of instances in scaling group.
- total
Instance Count This property is required. number - The number of all ECS instances in the scaling group.
- vpc
Id This property is required. string - The ID of the VPC to which the scaling group belongs.
- vswitch
Id This property is required. string - The ID of the vSwitch to which the scaling group belongs.
- vswitch
Ids This property is required. string[] - Vswitches id in which the ECS instance launched.
- active_
capacity This property is required. int - Number of active instances in scaling group.
- active_
scaling_ configuration This property is required. str - Active scaling configuration for scaling group.
- allocation_
strategy This property is required. str - (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.
- az_
balance This property is required. bool - (Available since v1.242.0) Indicates whether instances in the scaling group are evenly distributed across multiple zones.
- cooldown_
time This property is required. int - Default cooldown time of scaling group.
- creation_
time This property is required. str - Creation time of scaling group.
- db_
instance_ ids This property is required. Sequence[str] - Db instances id which the ECS instance attached to.
- desired_
capacity This property is required. int - (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.
- enable_
desired_ capacity This property is required. bool - (Available since v1.242.0) Indicates whether the Expected Number of Instances feature is enabled.
- group_
deletion_ protection This property is required. bool - Whether the scaling group deletion protection is enabled.
- group_
type This property is required. str - (Available since v1.242.0) The type of the instances in the scaling group.
- health_
check_ type This property is required. str - The health check method of the scaling group.
- id
This property is required. str - ID of the scaling group.
- init_
capacity This property is required. int - (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.
- launch_
template_ id This property is required. str - Active launch template ID for scaling group.
- launch_
template_ version This property is required. str - Version of active launch template.
- lifecycle_
state This property is required. str - Lifecycle state of scaling group.
- load_
balancer_ ids This property is required. Sequence[str] - Slb instances id which the ECS instance attached to.
- max_
instance_ lifetime This property is required. int - (Available since v1.242.0) The maximum life span of each instance in the scaling group. Unit: seconds.
- max_
size This property is required. int - The maximum number of ECS instances.
- min_
size This property is required. int - The minimum number of ECS instances.
- modification_
time This property is required. str - The modification time.
- monitor_
group_ id This property is required. str - (Available since v1.242.0) The ID of the CloudMonitor application group that is associated with the scaling group.
- multi_
az_ policy This property is required. str - (Available since v1.242.0) The scaling policy of the multi-zone scaling group of the ECS type.
- name
This property is required. str - Name of the scaling group.
- on_
demand_ base_ capacity This property is required. int - (Available since v1.242.0) The lower limit of the number of pay-as-you-go instances in the scaling group.
- on_
demand_ percentage_ above_ base_ capacity This property is required. int - (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.
- pending_
capacity This property is required. int - (Available since v1.242.0) The number of ECS instances that are being added to the scaling group and still being configured.
- pending_
wait_ capacity This property is required. int - (Available since v1.242.0) The number of ECS instances that are in the Pending Add state in the scaling group.
- protected_
capacity This property is required. int - (Available since v1.242.0) The number of ECS instances that are in the Protected state in the scaling group.
- region_
id This property is required. str - Region ID the scaling group belongs to.
- removal_
policies This property is required. Sequence[str] - Removal policy used to select the ECS instance to remove from the scaling group.
- removing_
capacity This property is required. int - (Available since v1.242.0) The number of ECS instances that are being removed from the scaling group.
- removing_
wait_ capacity This property is required. int - (Available since v1.242.0) The number of ECS instances that are in the Pending Remove state in the scaling group.
- resource_
group_ id This property is required. str - (Available since v1.242.0) The ID of the resource group to which the scaling group that you want to query belongs.
- scaling_
policy This property is required. str - (Available since v1.242.0) The reclaim mode of the scaling group.
- spot_
allocation_ strategy This property is required. str - (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.
- spot_
capacity This property is required. int - (Available since v1.242.0) The number of preemptible instances in the scaling group.
- spot_
instance_ pools This property is required. int - (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.
- spot_
instance_ remedy This property is required. bool - (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.
- standby_
capacity This property is required. int - (Available since v1.242.0) The number of instances that are in the Standby state in the scaling group.
- stop_
instance_ timeout This property is required. int - (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.
- stopped_
capacity This property is required. int - (Available since v1.242.0) The number of instances that are in Economical Mode in the scaling group.
- suspended_
processes This property is required. Sequence[str] - The Process in suspension.
- system_
suspended This property is required. bool - (Available since v1.242.0) Indicates whether Auto Scaling stops executing the scaling operation in the scaling group.
This property is required. Mapping[str, str]- A mapping of tags to assign to the resource.
- total_
capacity This property is required. int - Number of instances in scaling group.
- total_
instance_ count This property is required. int - The number of all ECS instances in the scaling group.
- vpc_
id This property is required. str - The ID of the VPC to which the scaling group belongs.
- vswitch_
id This property is required. str - The ID of the vSwitch to which the scaling group belongs.
- vswitch_
ids This property is required. Sequence[str] - Vswitches id in which the ECS instance launched.
- active
Capacity This property is required. Number - Number of active instances in scaling group.
- active
Scaling Configuration This property is required. String - Active scaling configuration for scaling group.
- allocation
Strategy This property is required. String - (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.
- az
Balance This property is required. Boolean - (Available since v1.242.0) Indicates whether instances in the scaling group are evenly distributed across multiple zones.
- cooldown
Time This property is required. Number - Default cooldown time of scaling group.
- creation
Time This property is required. String - Creation time of scaling group.
- db
Instance Ids This property is required. List<String> - Db instances id which the ECS instance attached to.
- desired
Capacity This property is required. Number - (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.
- enable
Desired Capacity This property is required. Boolean - (Available since v1.242.0) Indicates whether the Expected Number of Instances feature is enabled.
- group
Deletion Protection This property is required. Boolean - Whether the scaling group deletion protection is enabled.
- group
Type This property is required. String - (Available since v1.242.0) The type of the instances in the scaling group.
- health
Check Type This property is required. String - The health check method of the scaling group.
- id
This property is required. String - ID of the scaling group.
- init
Capacity This property is required. Number - (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.
- launch
Template Id This property is required. String - Active launch template ID for scaling group.
- launch
Template Version This property is required. String - Version of active launch template.
- lifecycle
State This property is required. String - Lifecycle state of scaling group.
- load
Balancer Ids This property is required. List<String> - Slb instances id which the ECS instance attached to.
- max
Instance Lifetime This property is required. Number - (Available since v1.242.0) The maximum life span of each instance in the scaling group. Unit: seconds.
- max
Size This property is required. Number - The maximum number of ECS instances.
- min
Size This property is required. Number - The minimum number of ECS instances.
- modification
Time This property is required. String - The modification time.
- monitor
Group Id This property is required. String - (Available since v1.242.0) The ID of the CloudMonitor application group that is associated with the scaling group.
- multi
Az Policy This property is required. String - (Available since v1.242.0) The scaling policy of the multi-zone scaling group of the ECS type.
- name
This property is required. String - Name of the scaling group.
- on
Demand Base Capacity This property is required. Number - (Available since v1.242.0) The lower limit of the number of pay-as-you-go instances in the scaling group.
- on
Demand Percentage Above Base Capacity This property is required. Number - (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.
- pending
Capacity This property is required. Number - (Available since v1.242.0) The number of ECS instances that are being added to the scaling group and still being configured.
- pending
Wait Capacity This property is required. Number - (Available since v1.242.0) The number of ECS instances that are in the Pending Add state in the scaling group.
- protected
Capacity This property is required. Number - (Available since v1.242.0) The number of ECS instances that are in the Protected state in the scaling group.
- region
Id This property is required. String - Region ID the scaling group belongs to.
- removal
Policies This property is required. List<String> - Removal policy used to select the ECS instance to remove from the scaling group.
- removing
Capacity This property is required. Number - (Available since v1.242.0) The number of ECS instances that are being removed from the scaling group.
- removing
Wait Capacity This property is required. Number - (Available since v1.242.0) The number of ECS instances that are in the Pending Remove state in the scaling group.
- resource
Group Id This property is required. String - (Available since v1.242.0) The ID of the resource group to which the scaling group that you want to query belongs.
- scaling
Policy This property is required. String - (Available since v1.242.0) The reclaim mode of the scaling group.
- spot
Allocation Strategy This property is required. String - (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.
- spot
Capacity This property is required. Number - (Available since v1.242.0) The number of preemptible instances in the scaling group.
- spot
Instance Pools This property is required. Number - (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.
- spot
Instance Remedy This property is required. Boolean - (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.
- standby
Capacity This property is required. Number - (Available since v1.242.0) The number of instances that are in the Standby state in the scaling group.
- stop
Instance Timeout This property is required. Number - (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.
- stopped
Capacity This property is required. Number - (Available since v1.242.0) The number of instances that are in Economical Mode in the scaling group.
- suspended
Processes This property is required. List<String> - The Process in suspension.
- system
Suspended This property is required. Boolean - (Available since v1.242.0) Indicates whether Auto Scaling stops executing the scaling operation in the scaling group.
This property is required. Map<String>- A mapping of tags to assign to the resource.
- total
Capacity This property is required. Number - Number of instances in scaling group.
- total
Instance Count This property is required. Number - The number of all ECS instances in the scaling group.
- vpc
Id This property is required. String - The ID of the VPC to which the scaling group belongs.
- vswitch
Id This property is required. String - The ID of the vSwitch to which the scaling group belongs.
- vswitch
Ids This property is required. List<String> - Vswitches id in which the ECS instance launched.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.