published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
Scaling groups are used to manage a set of cloud resource instances. You can use scaling groups to define the number/capacity of instances in the resource pool, cooldown time, load balancing, and other information.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
autoScalingScalingGroupDemo:
type: volcenginecc:autoscaling:ScalingGroup
name: AutoScalingScalingGroupDemo
properties:
healthCheckType: ECS
scalingMode: release
instancesDistribution:
compensate_with_on_demand: true
on_demand_base_capacity: 0
on_demand_percentage_above_base_capacity: 50
spot_instance_remedy: true
tags:
- key: env
value: test
launchTemplateOverrides:
- instance_type: ecs.g4il.large
price_limit: 0
launchTemplateId: lt-ye9dsl3ucffig992xxxxfncd
projectName: default
serverGroupAttributes:
- port: 8080
server_group_id: rsp-13g2ktevofhfk3n6nxxxu4mqjq0o
type: CLB
weight: 50
- port: 8080
server_group_id: rsp-bde4j3yuu8008dv4xxxx0nkn203g
type: ALB
weight: 50
launchTemplateVersion: Default
subnetIds:
- subnet-3nrd6qaq3log0931ecxxxh3re2r
defaultCooldown: 300
desireInstanceNumber: -1
instanceTerminatePolicy: OldestScalingConfigurationWithOldestInstance
maxInstanceNumber: 6
minInstanceNumber: 1
multiAzPolicy: PRIORITY
scalingGroupName: AutoScalingScalingGroupDemo
Create ScalingGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ScalingGroup(name: string, args: ScalingGroupArgs, opts?: CustomResourceOptions);@overload
def ScalingGroup(resource_name: str,
args: ScalingGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ScalingGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
max_instance_number: Optional[int] = None,
subnet_ids: Optional[Sequence[str]] = None,
scaling_group_name: Optional[str] = None,
min_instance_number: Optional[int] = None,
launch_template_overrides: Optional[Sequence[ScalingGroupLaunchTemplateOverrideArgs]] = None,
health_check_type: Optional[str] = None,
instances: Optional[Sequence[ScalingGroupInstanceArgs]] = None,
instances_distribution: Optional[ScalingGroupInstancesDistributionArgs] = None,
is_enable_scaling_group: Optional[bool] = None,
launch_template_id: Optional[str] = None,
active_scaling_configuration_id: Optional[str] = None,
launch_template_version: Optional[str] = None,
instance_remove_policies: Optional[Sequence[ScalingGroupInstanceRemovePolicyArgs]] = None,
instance_terminate_policy: Optional[str] = None,
multi_az_policy: Optional[str] = None,
project_name: Optional[str] = None,
desire_instance_number: Optional[int] = None,
scaling_mode: Optional[str] = None,
server_group_attributes: Optional[Sequence[ScalingGroupServerGroupAttributeArgs]] = None,
default_cooldown: Optional[int] = None,
suspended_processes: Optional[Sequence[str]] = None,
tags: Optional[Sequence[ScalingGroupTagArgs]] = None)func NewScalingGroup(ctx *Context, name string, args ScalingGroupArgs, opts ...ResourceOption) (*ScalingGroup, error)public ScalingGroup(string name, ScalingGroupArgs args, CustomResourceOptions? opts = null)
public ScalingGroup(String name, ScalingGroupArgs args)
public ScalingGroup(String name, ScalingGroupArgs args, CustomResourceOptions options)
type: volcenginecc:autoscaling:ScalingGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ScalingGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ScalingGroupArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ScalingGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ScalingGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ScalingGroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ScalingGroup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ScalingGroup resource accepts the following input properties:
- Max
Instance intNumber - Maximum number of instances in the scaling group. Default value: 0 ~ 100. You can adjust this in the Quota Center.
- Min
Instance intNumber - Minimum number of instances in the scaling group. Default value: 0–100. You can adjust this in the quota center.
- Scaling
Group stringName - Scaling group name, unique within the same region. Must start with a Chinese character or letter, and can only contain Chinese characters, letters, numbers, underscores, and hyphens. Length limit: 1 ~ 128 characters. Special characters are not supported.
- Subnet
Ids List<string> - List of subnet IDs for the primary network interface of instances in the scaling group
- Active
Scaling stringConfiguration Id - ID of the scaling configuration bound to the scaling group
- Default
Cooldown int - Cooldown period after a scaling activity (adding or removing ECS instances) completes. During the cooldown period, the scaling group does not perform other scaling activities; only scaling activities triggered by Cloud Monitoring alarms and scaling rules are effective. Value range: 5 ~ 86400 seconds. Default value: 300.
- Desire
Instance intNumber - Expected number of running instances in the scaling group. 1. Must be no less than MinInstanceNumber and no greater than MaxInstanceNumber. 2. Default value: -1, which means the expected instance count feature is disabled. In this case, after the scaling group is created, scaling activities will automatically add the corresponding number of instances.
- Health
Check stringType - Health check mode for the scaling group. 1. NONE: No instance health check. 2. ECS (default): Performs health checks on ECS instances in the scaling group.
- Instance
Remove List<Volcengine.Policies Scaling Group Instance Remove Policy> - Instance
Terminate stringPolicy - Instance removal policies: 1. OldestInstance: Removes the earliest instance added to the scaling group (including both automatically created and manually added instances). 2. NewestInstance: Removes the latest instance added to the scaling group (including both automatically created and manually added instances). 3. OldestScalingConfigurationWithOldestInstance (default): Removes the earliest automatically created instance in the scaling configuration that was first associated with the scaling group. 4. OldestScalingConfigurationWithNewestInstance: Removes the latest automatically created instance in the scaling configuration that was first associated with the scaling group.
- Instances
List<Volcengine.
Scaling Group Instance> - Instances
Distribution Volcengine.Scaling Group Instances Distribution - Instance distribution policy.
- Is
Enable boolScaling Group - Whether to enable the scaling group. true: enabled. false: stopped
- Launch
Template stringId - Instance launch template ID. When configured, it indicates that the launch template is used as the source for the scaling configuration.
- Launch
Template List<Volcengine.Overrides Scaling Group Launch Template Override> - Launch
Template stringVersion - Instance launch template version. 1. A specific template version number. 2. Default: always use the default template version. 3. Latest: always use the latest template version.
- Multi
Az stringPolicy - Scaling strategy. If you select multiple subnets, you must configure this parameter. 1. PRIORITY (default): priority strategy. 2. BALANCE: balanced distribution strategy.
- Project
Name string - Project to which the scaling group belongs. Default is 'default'. A resource can belong to only one project. Only letters, numbers, underscores '_', dots '.', and hyphens '-' are allowed. Maximum length: 64 characters.
- Scaling
Mode string - Instance recycling mode for the scaling group. 1. release (default): Release mode. 2. recycle: Stop-and-recycle mode.
- Server
Group List<Volcengine.Attributes Scaling Group Server Group Attribute> - Suspended
Processes List<string> - Paused processes. If there are no paused processes, returns an empty value. ScaleIn: scale-in process. ScaleOut: scale-out process. HealthCheck: health check. AlarmNotification: alarm task. ScheduledAction: scheduled task.
-
List<Volcengine.
Scaling Group Tag>
- Max
Instance intNumber - Maximum number of instances in the scaling group. Default value: 0 ~ 100. You can adjust this in the Quota Center.
- Min
Instance intNumber - Minimum number of instances in the scaling group. Default value: 0–100. You can adjust this in the quota center.
- Scaling
Group stringName - Scaling group name, unique within the same region. Must start with a Chinese character or letter, and can only contain Chinese characters, letters, numbers, underscores, and hyphens. Length limit: 1 ~ 128 characters. Special characters are not supported.
- Subnet
Ids []string - List of subnet IDs for the primary network interface of instances in the scaling group
- Active
Scaling stringConfiguration Id - ID of the scaling configuration bound to the scaling group
- Default
Cooldown int - Cooldown period after a scaling activity (adding or removing ECS instances) completes. During the cooldown period, the scaling group does not perform other scaling activities; only scaling activities triggered by Cloud Monitoring alarms and scaling rules are effective. Value range: 5 ~ 86400 seconds. Default value: 300.
- Desire
Instance intNumber - Expected number of running instances in the scaling group. 1. Must be no less than MinInstanceNumber and no greater than MaxInstanceNumber. 2. Default value: -1, which means the expected instance count feature is disabled. In this case, after the scaling group is created, scaling activities will automatically add the corresponding number of instances.
- Health
Check stringType - Health check mode for the scaling group. 1. NONE: No instance health check. 2. ECS (default): Performs health checks on ECS instances in the scaling group.
- Instance
Remove []ScalingPolicies Group Instance Remove Policy Args - Instance
Terminate stringPolicy - Instance removal policies: 1. OldestInstance: Removes the earliest instance added to the scaling group (including both automatically created and manually added instances). 2. NewestInstance: Removes the latest instance added to the scaling group (including both automatically created and manually added instances). 3. OldestScalingConfigurationWithOldestInstance (default): Removes the earliest automatically created instance in the scaling configuration that was first associated with the scaling group. 4. OldestScalingConfigurationWithNewestInstance: Removes the latest automatically created instance in the scaling configuration that was first associated with the scaling group.
- Instances
[]Scaling
Group Instance Args - Instances
Distribution ScalingGroup Instances Distribution Args - Instance distribution policy.
- Is
Enable boolScaling Group - Whether to enable the scaling group. true: enabled. false: stopped
- Launch
Template stringId - Instance launch template ID. When configured, it indicates that the launch template is used as the source for the scaling configuration.
- Launch
Template []ScalingOverrides Group Launch Template Override Args - Launch
Template stringVersion - Instance launch template version. 1. A specific template version number. 2. Default: always use the default template version. 3. Latest: always use the latest template version.
- Multi
Az stringPolicy - Scaling strategy. If you select multiple subnets, you must configure this parameter. 1. PRIORITY (default): priority strategy. 2. BALANCE: balanced distribution strategy.
- Project
Name string - Project to which the scaling group belongs. Default is 'default'. A resource can belong to only one project. Only letters, numbers, underscores '_', dots '.', and hyphens '-' are allowed. Maximum length: 64 characters.
- Scaling
Mode string - Instance recycling mode for the scaling group. 1. release (default): Release mode. 2. recycle: Stop-and-recycle mode.
- Server
Group []ScalingAttributes Group Server Group Attribute Args - Suspended
Processes []string - Paused processes. If there are no paused processes, returns an empty value. ScaleIn: scale-in process. ScaleOut: scale-out process. HealthCheck: health check. AlarmNotification: alarm task. ScheduledAction: scheduled task.
-
[]Scaling
Group Tag Args
- max
Instance IntegerNumber - Maximum number of instances in the scaling group. Default value: 0 ~ 100. You can adjust this in the Quota Center.
- min
Instance IntegerNumber - Minimum number of instances in the scaling group. Default value: 0–100. You can adjust this in the quota center.
- scaling
Group StringName - Scaling group name, unique within the same region. Must start with a Chinese character or letter, and can only contain Chinese characters, letters, numbers, underscores, and hyphens. Length limit: 1 ~ 128 characters. Special characters are not supported.
- subnet
Ids List<String> - List of subnet IDs for the primary network interface of instances in the scaling group
- active
Scaling StringConfiguration Id - ID of the scaling configuration bound to the scaling group
- default
Cooldown Integer - Cooldown period after a scaling activity (adding or removing ECS instances) completes. During the cooldown period, the scaling group does not perform other scaling activities; only scaling activities triggered by Cloud Monitoring alarms and scaling rules are effective. Value range: 5 ~ 86400 seconds. Default value: 300.
- desire
Instance IntegerNumber - Expected number of running instances in the scaling group. 1. Must be no less than MinInstanceNumber and no greater than MaxInstanceNumber. 2. Default value: -1, which means the expected instance count feature is disabled. In this case, after the scaling group is created, scaling activities will automatically add the corresponding number of instances.
- health
Check StringType - Health check mode for the scaling group. 1. NONE: No instance health check. 2. ECS (default): Performs health checks on ECS instances in the scaling group.
- instance
Remove List<ScalingPolicies Group Instance Remove Policy> - instance
Terminate StringPolicy - Instance removal policies: 1. OldestInstance: Removes the earliest instance added to the scaling group (including both automatically created and manually added instances). 2. NewestInstance: Removes the latest instance added to the scaling group (including both automatically created and manually added instances). 3. OldestScalingConfigurationWithOldestInstance (default): Removes the earliest automatically created instance in the scaling configuration that was first associated with the scaling group. 4. OldestScalingConfigurationWithNewestInstance: Removes the latest automatically created instance in the scaling configuration that was first associated with the scaling group.
- instances
List<Scaling
Group Instance> - instances
Distribution ScalingGroup Instances Distribution - Instance distribution policy.
- is
Enable BooleanScaling Group - Whether to enable the scaling group. true: enabled. false: stopped
- launch
Template StringId - Instance launch template ID. When configured, it indicates that the launch template is used as the source for the scaling configuration.
- launch
Template List<ScalingOverrides Group Launch Template Override> - launch
Template StringVersion - Instance launch template version. 1. A specific template version number. 2. Default: always use the default template version. 3. Latest: always use the latest template version.
- multi
Az StringPolicy - Scaling strategy. If you select multiple subnets, you must configure this parameter. 1. PRIORITY (default): priority strategy. 2. BALANCE: balanced distribution strategy.
- project
Name String - Project to which the scaling group belongs. Default is 'default'. A resource can belong to only one project. Only letters, numbers, underscores '_', dots '.', and hyphens '-' are allowed. Maximum length: 64 characters.
- scaling
Mode String - Instance recycling mode for the scaling group. 1. release (default): Release mode. 2. recycle: Stop-and-recycle mode.
- server
Group List<ScalingAttributes Group Server Group Attribute> - suspended
Processes List<String> - Paused processes. If there are no paused processes, returns an empty value. ScaleIn: scale-in process. ScaleOut: scale-out process. HealthCheck: health check. AlarmNotification: alarm task. ScheduledAction: scheduled task.
-
List<Scaling
Group Tag>
- max
Instance numberNumber - Maximum number of instances in the scaling group. Default value: 0 ~ 100. You can adjust this in the Quota Center.
- min
Instance numberNumber - Minimum number of instances in the scaling group. Default value: 0–100. You can adjust this in the quota center.
- scaling
Group stringName - Scaling group name, unique within the same region. Must start with a Chinese character or letter, and can only contain Chinese characters, letters, numbers, underscores, and hyphens. Length limit: 1 ~ 128 characters. Special characters are not supported.
- subnet
Ids string[] - List of subnet IDs for the primary network interface of instances in the scaling group
- active
Scaling stringConfiguration Id - ID of the scaling configuration bound to the scaling group
- default
Cooldown number - Cooldown period after a scaling activity (adding or removing ECS instances) completes. During the cooldown period, the scaling group does not perform other scaling activities; only scaling activities triggered by Cloud Monitoring alarms and scaling rules are effective. Value range: 5 ~ 86400 seconds. Default value: 300.
- desire
Instance numberNumber - Expected number of running instances in the scaling group. 1. Must be no less than MinInstanceNumber and no greater than MaxInstanceNumber. 2. Default value: -1, which means the expected instance count feature is disabled. In this case, after the scaling group is created, scaling activities will automatically add the corresponding number of instances.
- health
Check stringType - Health check mode for the scaling group. 1. NONE: No instance health check. 2. ECS (default): Performs health checks on ECS instances in the scaling group.
- instance
Remove ScalingPolicies Group Instance Remove Policy[] - instance
Terminate stringPolicy - Instance removal policies: 1. OldestInstance: Removes the earliest instance added to the scaling group (including both automatically created and manually added instances). 2. NewestInstance: Removes the latest instance added to the scaling group (including both automatically created and manually added instances). 3. OldestScalingConfigurationWithOldestInstance (default): Removes the earliest automatically created instance in the scaling configuration that was first associated with the scaling group. 4. OldestScalingConfigurationWithNewestInstance: Removes the latest automatically created instance in the scaling configuration that was first associated with the scaling group.
- instances
Scaling
Group Instance[] - instances
Distribution ScalingGroup Instances Distribution - Instance distribution policy.
- is
Enable booleanScaling Group - Whether to enable the scaling group. true: enabled. false: stopped
- launch
Template stringId - Instance launch template ID. When configured, it indicates that the launch template is used as the source for the scaling configuration.
- launch
Template ScalingOverrides Group Launch Template Override[] - launch
Template stringVersion - Instance launch template version. 1. A specific template version number. 2. Default: always use the default template version. 3. Latest: always use the latest template version.
- multi
Az stringPolicy - Scaling strategy. If you select multiple subnets, you must configure this parameter. 1. PRIORITY (default): priority strategy. 2. BALANCE: balanced distribution strategy.
- project
Name string - Project to which the scaling group belongs. Default is 'default'. A resource can belong to only one project. Only letters, numbers, underscores '_', dots '.', and hyphens '-' are allowed. Maximum length: 64 characters.
- scaling
Mode string - Instance recycling mode for the scaling group. 1. release (default): Release mode. 2. recycle: Stop-and-recycle mode.
- server
Group ScalingAttributes Group Server Group Attribute[] - suspended
Processes string[] - Paused processes. If there are no paused processes, returns an empty value. ScaleIn: scale-in process. ScaleOut: scale-out process. HealthCheck: health check. AlarmNotification: alarm task. ScheduledAction: scheduled task.
-
Scaling
Group Tag[]
- max_
instance_ intnumber - Maximum number of instances in the scaling group. Default value: 0 ~ 100. You can adjust this in the Quota Center.
- min_
instance_ intnumber - Minimum number of instances in the scaling group. Default value: 0–100. You can adjust this in the quota center.
- scaling_
group_ strname - Scaling group name, unique within the same region. Must start with a Chinese character or letter, and can only contain Chinese characters, letters, numbers, underscores, and hyphens. Length limit: 1 ~ 128 characters. Special characters are not supported.
- subnet_
ids Sequence[str] - List of subnet IDs for the primary network interface of instances in the scaling group
- active_
scaling_ strconfiguration_ id - ID of the scaling configuration bound to the scaling group
- default_
cooldown int - Cooldown period after a scaling activity (adding or removing ECS instances) completes. During the cooldown period, the scaling group does not perform other scaling activities; only scaling activities triggered by Cloud Monitoring alarms and scaling rules are effective. Value range: 5 ~ 86400 seconds. Default value: 300.
- desire_
instance_ intnumber - Expected number of running instances in the scaling group. 1. Must be no less than MinInstanceNumber and no greater than MaxInstanceNumber. 2. Default value: -1, which means the expected instance count feature is disabled. In this case, after the scaling group is created, scaling activities will automatically add the corresponding number of instances.
- health_
check_ strtype - Health check mode for the scaling group. 1. NONE: No instance health check. 2. ECS (default): Performs health checks on ECS instances in the scaling group.
- instance_
remove_ Sequence[Scalingpolicies Group Instance Remove Policy Args] - instance_
terminate_ strpolicy - Instance removal policies: 1. OldestInstance: Removes the earliest instance added to the scaling group (including both automatically created and manually added instances). 2. NewestInstance: Removes the latest instance added to the scaling group (including both automatically created and manually added instances). 3. OldestScalingConfigurationWithOldestInstance (default): Removes the earliest automatically created instance in the scaling configuration that was first associated with the scaling group. 4. OldestScalingConfigurationWithNewestInstance: Removes the latest automatically created instance in the scaling configuration that was first associated with the scaling group.
- instances
Sequence[Scaling
Group Instance Args] - instances_
distribution ScalingGroup Instances Distribution Args - Instance distribution policy.
- is_
enable_ boolscaling_ group - Whether to enable the scaling group. true: enabled. false: stopped
- launch_
template_ strid - Instance launch template ID. When configured, it indicates that the launch template is used as the source for the scaling configuration.
- launch_
template_ Sequence[Scalingoverrides Group Launch Template Override Args] - launch_
template_ strversion - Instance launch template version. 1. A specific template version number. 2. Default: always use the default template version. 3. Latest: always use the latest template version.
- multi_
az_ strpolicy - Scaling strategy. If you select multiple subnets, you must configure this parameter. 1. PRIORITY (default): priority strategy. 2. BALANCE: balanced distribution strategy.
- project_
name str - Project to which the scaling group belongs. Default is 'default'. A resource can belong to only one project. Only letters, numbers, underscores '_', dots '.', and hyphens '-' are allowed. Maximum length: 64 characters.
- scaling_
mode str - Instance recycling mode for the scaling group. 1. release (default): Release mode. 2. recycle: Stop-and-recycle mode.
- server_
group_ Sequence[Scalingattributes Group Server Group Attribute Args] - suspended_
processes Sequence[str] - Paused processes. If there are no paused processes, returns an empty value. ScaleIn: scale-in process. ScaleOut: scale-out process. HealthCheck: health check. AlarmNotification: alarm task. ScheduledAction: scheduled task.
-
Sequence[Scaling
Group Tag Args]
- max
Instance NumberNumber - Maximum number of instances in the scaling group. Default value: 0 ~ 100. You can adjust this in the Quota Center.
- min
Instance NumberNumber - Minimum number of instances in the scaling group. Default value: 0–100. You can adjust this in the quota center.
- scaling
Group StringName - Scaling group name, unique within the same region. Must start with a Chinese character or letter, and can only contain Chinese characters, letters, numbers, underscores, and hyphens. Length limit: 1 ~ 128 characters. Special characters are not supported.
- subnet
Ids List<String> - List of subnet IDs for the primary network interface of instances in the scaling group
- active
Scaling StringConfiguration Id - ID of the scaling configuration bound to the scaling group
- default
Cooldown Number - Cooldown period after a scaling activity (adding or removing ECS instances) completes. During the cooldown period, the scaling group does not perform other scaling activities; only scaling activities triggered by Cloud Monitoring alarms and scaling rules are effective. Value range: 5 ~ 86400 seconds. Default value: 300.
- desire
Instance NumberNumber - Expected number of running instances in the scaling group. 1. Must be no less than MinInstanceNumber and no greater than MaxInstanceNumber. 2. Default value: -1, which means the expected instance count feature is disabled. In this case, after the scaling group is created, scaling activities will automatically add the corresponding number of instances.
- health
Check StringType - Health check mode for the scaling group. 1. NONE: No instance health check. 2. ECS (default): Performs health checks on ECS instances in the scaling group.
- instance
Remove List<Property Map>Policies - instance
Terminate StringPolicy - Instance removal policies: 1. OldestInstance: Removes the earliest instance added to the scaling group (including both automatically created and manually added instances). 2. NewestInstance: Removes the latest instance added to the scaling group (including both automatically created and manually added instances). 3. OldestScalingConfigurationWithOldestInstance (default): Removes the earliest automatically created instance in the scaling configuration that was first associated with the scaling group. 4. OldestScalingConfigurationWithNewestInstance: Removes the latest automatically created instance in the scaling configuration that was first associated with the scaling group.
- instances List<Property Map>
- instances
Distribution Property Map - Instance distribution policy.
- is
Enable BooleanScaling Group - Whether to enable the scaling group. true: enabled. false: stopped
- launch
Template StringId - Instance launch template ID. When configured, it indicates that the launch template is used as the source for the scaling configuration.
- launch
Template List<Property Map>Overrides - launch
Template StringVersion - Instance launch template version. 1. A specific template version number. 2. Default: always use the default template version. 3. Latest: always use the latest template version.
- multi
Az StringPolicy - Scaling strategy. If you select multiple subnets, you must configure this parameter. 1. PRIORITY (default): priority strategy. 2. BALANCE: balanced distribution strategy.
- project
Name String - Project to which the scaling group belongs. Default is 'default'. A resource can belong to only one project. Only letters, numbers, underscores '_', dots '.', and hyphens '-' are allowed. Maximum length: 64 characters.
- scaling
Mode String - Instance recycling mode for the scaling group. 1. release (default): Release mode. 2. recycle: Stop-and-recycle mode.
- server
Group List<Property Map>Attributes - suspended
Processes List<String> - Paused processes. If there are no paused processes, returns an empty value. ScaleIn: scale-in process. ScaleOut: scale-out process. HealthCheck: health check. AlarmNotification: alarm task. ScheduledAction: scheduled task.
- List<Property Map>
Outputs
All input properties are implicitly available as output properties. Additionally, the ScalingGroup resource produces the following output properties:
- Created
Time string - Scaling group creation time
- Db
Instance List<string>Ids - ID of the RDS database instance.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
State string - Status of the scaling group. Active: enabled. InActive: not activated. Deleting: deleting. Locked: locked. CoolingDown: cooling down. Unknown: unknown status.
- Load
Balancer intHealth Check Grace Period - Grace period for CLB health checks on scaling group instances
- Scaling
Group stringId - Scaling group ID.
- Stopped
Instance intCount - Number of instances in the scaling group that are in the disabled state.
- Total
Instance intCount - Number of instances currently in the scaling group
- Updated
Time string - Scaling group update time.
- Vpc
Id string - VPC ID to which the scaling group belongs
- Created
Time string - Scaling group creation time
- Db
Instance []stringIds - ID of the RDS database instance.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
State string - Status of the scaling group. Active: enabled. InActive: not activated. Deleting: deleting. Locked: locked. CoolingDown: cooling down. Unknown: unknown status.
- Load
Balancer intHealth Check Grace Period - Grace period for CLB health checks on scaling group instances
- Scaling
Group stringId - Scaling group ID.
- Stopped
Instance intCount - Number of instances in the scaling group that are in the disabled state.
- Total
Instance intCount - Number of instances currently in the scaling group
- Updated
Time string - Scaling group update time.
- Vpc
Id string - VPC ID to which the scaling group belongs
- created
Time String - Scaling group creation time
- db
Instance List<String>Ids - ID of the RDS database instance.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
State String - Status of the scaling group. Active: enabled. InActive: not activated. Deleting: deleting. Locked: locked. CoolingDown: cooling down. Unknown: unknown status.
- load
Balancer IntegerHealth Check Grace Period - Grace period for CLB health checks on scaling group instances
- scaling
Group StringId - Scaling group ID.
- stopped
Instance IntegerCount - Number of instances in the scaling group that are in the disabled state.
- total
Instance IntegerCount - Number of instances currently in the scaling group
- updated
Time String - Scaling group update time.
- vpc
Id String - VPC ID to which the scaling group belongs
- created
Time string - Scaling group creation time
- db
Instance string[]Ids - ID of the RDS database instance.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
State string - Status of the scaling group. Active: enabled. InActive: not activated. Deleting: deleting. Locked: locked. CoolingDown: cooling down. Unknown: unknown status.
- load
Balancer numberHealth Check Grace Period - Grace period for CLB health checks on scaling group instances
- scaling
Group stringId - Scaling group ID.
- stopped
Instance numberCount - Number of instances in the scaling group that are in the disabled state.
- total
Instance numberCount - Number of instances currently in the scaling group
- updated
Time string - Scaling group update time.
- vpc
Id string - VPC ID to which the scaling group belongs
- created_
time str - Scaling group creation time
- db_
instance_ Sequence[str]ids - ID of the RDS database instance.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
state str - Status of the scaling group. Active: enabled. InActive: not activated. Deleting: deleting. Locked: locked. CoolingDown: cooling down. Unknown: unknown status.
- load_
balancer_ inthealth_ check_ grace_ period - Grace period for CLB health checks on scaling group instances
- scaling_
group_ strid - Scaling group ID.
- stopped_
instance_ intcount - Number of instances in the scaling group that are in the disabled state.
- total_
instance_ intcount - Number of instances currently in the scaling group
- updated_
time str - Scaling group update time.
- vpc_
id str - VPC ID to which the scaling group belongs
- created
Time String - Scaling group creation time
- db
Instance List<String>Ids - ID of the RDS database instance.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
State String - Status of the scaling group. Active: enabled. InActive: not activated. Deleting: deleting. Locked: locked. CoolingDown: cooling down. Unknown: unknown status.
- load
Balancer NumberHealth Check Grace Period - Grace period for CLB health checks on scaling group instances
- scaling
Group StringId - Scaling group ID.
- stopped
Instance NumberCount - Number of instances in the scaling group that are in the disabled state.
- total
Instance NumberCount - Number of instances currently in the scaling group
- updated
Time String - Scaling group update time.
- vpc
Id String - VPC ID to which the scaling group belongs
Look up Existing ScalingGroup Resource
Get an existing ScalingGroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ScalingGroupState, opts?: CustomResourceOptions): ScalingGroup@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
active_scaling_configuration_id: Optional[str] = None,
created_time: Optional[str] = None,
db_instance_ids: Optional[Sequence[str]] = None,
default_cooldown: Optional[int] = None,
desire_instance_number: Optional[int] = None,
health_check_type: Optional[str] = None,
instance_remove_policies: Optional[Sequence[ScalingGroupInstanceRemovePolicyArgs]] = None,
instance_terminate_policy: Optional[str] = None,
instances: Optional[Sequence[ScalingGroupInstanceArgs]] = None,
instances_distribution: Optional[ScalingGroupInstancesDistributionArgs] = None,
is_enable_scaling_group: Optional[bool] = None,
launch_template_id: Optional[str] = None,
launch_template_overrides: Optional[Sequence[ScalingGroupLaunchTemplateOverrideArgs]] = None,
launch_template_version: Optional[str] = None,
lifecycle_state: Optional[str] = None,
load_balancer_health_check_grace_period: Optional[int] = None,
max_instance_number: Optional[int] = None,
min_instance_number: Optional[int] = None,
multi_az_policy: Optional[str] = None,
project_name: Optional[str] = None,
scaling_group_id: Optional[str] = None,
scaling_group_name: Optional[str] = None,
scaling_mode: Optional[str] = None,
server_group_attributes: Optional[Sequence[ScalingGroupServerGroupAttributeArgs]] = None,
stopped_instance_count: Optional[int] = None,
subnet_ids: Optional[Sequence[str]] = None,
suspended_processes: Optional[Sequence[str]] = None,
tags: Optional[Sequence[ScalingGroupTagArgs]] = None,
total_instance_count: Optional[int] = None,
updated_time: Optional[str] = None,
vpc_id: Optional[str] = None) -> ScalingGroupfunc GetScalingGroup(ctx *Context, name string, id IDInput, state *ScalingGroupState, opts ...ResourceOption) (*ScalingGroup, error)public static ScalingGroup Get(string name, Input<string> id, ScalingGroupState? state, CustomResourceOptions? opts = null)public static ScalingGroup get(String name, Output<String> id, ScalingGroupState state, CustomResourceOptions options)resources: _: type: volcenginecc:autoscaling:ScalingGroup get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Active
Scaling stringConfiguration Id - ID of the scaling configuration bound to the scaling group
- Created
Time string - Scaling group creation time
- Db
Instance List<string>Ids - ID of the RDS database instance.
- Default
Cooldown int - Cooldown period after a scaling activity (adding or removing ECS instances) completes. During the cooldown period, the scaling group does not perform other scaling activities; only scaling activities triggered by Cloud Monitoring alarms and scaling rules are effective. Value range: 5 ~ 86400 seconds. Default value: 300.
- Desire
Instance intNumber - Expected number of running instances in the scaling group. 1. Must be no less than MinInstanceNumber and no greater than MaxInstanceNumber. 2. Default value: -1, which means the expected instance count feature is disabled. In this case, after the scaling group is created, scaling activities will automatically add the corresponding number of instances.
- Health
Check stringType - Health check mode for the scaling group. 1. NONE: No instance health check. 2. ECS (default): Performs health checks on ECS instances in the scaling group.
- Instance
Remove List<Volcengine.Policies Scaling Group Instance Remove Policy> - Instance
Terminate stringPolicy - Instance removal policies: 1. OldestInstance: Removes the earliest instance added to the scaling group (including both automatically created and manually added instances). 2. NewestInstance: Removes the latest instance added to the scaling group (including both automatically created and manually added instances). 3. OldestScalingConfigurationWithOldestInstance (default): Removes the earliest automatically created instance in the scaling configuration that was first associated with the scaling group. 4. OldestScalingConfigurationWithNewestInstance: Removes the latest automatically created instance in the scaling configuration that was first associated with the scaling group.
- Instances
List<Volcengine.
Scaling Group Instance> - Instances
Distribution Volcengine.Scaling Group Instances Distribution - Instance distribution policy.
- Is
Enable boolScaling Group - Whether to enable the scaling group. true: enabled. false: stopped
- Launch
Template stringId - Instance launch template ID. When configured, it indicates that the launch template is used as the source for the scaling configuration.
- Launch
Template List<Volcengine.Overrides Scaling Group Launch Template Override> - Launch
Template stringVersion - Instance launch template version. 1. A specific template version number. 2. Default: always use the default template version. 3. Latest: always use the latest template version.
- Lifecycle
State string - Status of the scaling group. Active: enabled. InActive: not activated. Deleting: deleting. Locked: locked. CoolingDown: cooling down. Unknown: unknown status.
- Load
Balancer intHealth Check Grace Period - Grace period for CLB health checks on scaling group instances
- Max
Instance intNumber - Maximum number of instances in the scaling group. Default value: 0 ~ 100. You can adjust this in the Quota Center.
- Min
Instance intNumber - Minimum number of instances in the scaling group. Default value: 0–100. You can adjust this in the quota center.
- Multi
Az stringPolicy - Scaling strategy. If you select multiple subnets, you must configure this parameter. 1. PRIORITY (default): priority strategy. 2. BALANCE: balanced distribution strategy.
- Project
Name string - Project to which the scaling group belongs. Default is 'default'. A resource can belong to only one project. Only letters, numbers, underscores '_', dots '.', and hyphens '-' are allowed. Maximum length: 64 characters.
- Scaling
Group stringId - Scaling group ID.
- Scaling
Group stringName - Scaling group name, unique within the same region. Must start with a Chinese character or letter, and can only contain Chinese characters, letters, numbers, underscores, and hyphens. Length limit: 1 ~ 128 characters. Special characters are not supported.
- Scaling
Mode string - Instance recycling mode for the scaling group. 1. release (default): Release mode. 2. recycle: Stop-and-recycle mode.
- Server
Group List<Volcengine.Attributes Scaling Group Server Group Attribute> - Stopped
Instance intCount - Number of instances in the scaling group that are in the disabled state.
- Subnet
Ids List<string> - List of subnet IDs for the primary network interface of instances in the scaling group
- Suspended
Processes List<string> - Paused processes. If there are no paused processes, returns an empty value. ScaleIn: scale-in process. ScaleOut: scale-out process. HealthCheck: health check. AlarmNotification: alarm task. ScheduledAction: scheduled task.
-
List<Volcengine.
Scaling Group Tag> - Total
Instance intCount - Number of instances currently in the scaling group
- Updated
Time string - Scaling group update time.
- Vpc
Id string - VPC ID to which the scaling group belongs
- Active
Scaling stringConfiguration Id - ID of the scaling configuration bound to the scaling group
- Created
Time string - Scaling group creation time
- Db
Instance []stringIds - ID of the RDS database instance.
- Default
Cooldown int - Cooldown period after a scaling activity (adding or removing ECS instances) completes. During the cooldown period, the scaling group does not perform other scaling activities; only scaling activities triggered by Cloud Monitoring alarms and scaling rules are effective. Value range: 5 ~ 86400 seconds. Default value: 300.
- Desire
Instance intNumber - Expected number of running instances in the scaling group. 1. Must be no less than MinInstanceNumber and no greater than MaxInstanceNumber. 2. Default value: -1, which means the expected instance count feature is disabled. In this case, after the scaling group is created, scaling activities will automatically add the corresponding number of instances.
- Health
Check stringType - Health check mode for the scaling group. 1. NONE: No instance health check. 2. ECS (default): Performs health checks on ECS instances in the scaling group.
- Instance
Remove []ScalingPolicies Group Instance Remove Policy Args - Instance
Terminate stringPolicy - Instance removal policies: 1. OldestInstance: Removes the earliest instance added to the scaling group (including both automatically created and manually added instances). 2. NewestInstance: Removes the latest instance added to the scaling group (including both automatically created and manually added instances). 3. OldestScalingConfigurationWithOldestInstance (default): Removes the earliest automatically created instance in the scaling configuration that was first associated with the scaling group. 4. OldestScalingConfigurationWithNewestInstance: Removes the latest automatically created instance in the scaling configuration that was first associated with the scaling group.
- Instances
[]Scaling
Group Instance Args - Instances
Distribution ScalingGroup Instances Distribution Args - Instance distribution policy.
- Is
Enable boolScaling Group - Whether to enable the scaling group. true: enabled. false: stopped
- Launch
Template stringId - Instance launch template ID. When configured, it indicates that the launch template is used as the source for the scaling configuration.
- Launch
Template []ScalingOverrides Group Launch Template Override Args - Launch
Template stringVersion - Instance launch template version. 1. A specific template version number. 2. Default: always use the default template version. 3. Latest: always use the latest template version.
- Lifecycle
State string - Status of the scaling group. Active: enabled. InActive: not activated. Deleting: deleting. Locked: locked. CoolingDown: cooling down. Unknown: unknown status.
- Load
Balancer intHealth Check Grace Period - Grace period for CLB health checks on scaling group instances
- Max
Instance intNumber - Maximum number of instances in the scaling group. Default value: 0 ~ 100. You can adjust this in the Quota Center.
- Min
Instance intNumber - Minimum number of instances in the scaling group. Default value: 0–100. You can adjust this in the quota center.
- Multi
Az stringPolicy - Scaling strategy. If you select multiple subnets, you must configure this parameter. 1. PRIORITY (default): priority strategy. 2. BALANCE: balanced distribution strategy.
- Project
Name string - Project to which the scaling group belongs. Default is 'default'. A resource can belong to only one project. Only letters, numbers, underscores '_', dots '.', and hyphens '-' are allowed. Maximum length: 64 characters.
- Scaling
Group stringId - Scaling group ID.
- Scaling
Group stringName - Scaling group name, unique within the same region. Must start with a Chinese character or letter, and can only contain Chinese characters, letters, numbers, underscores, and hyphens. Length limit: 1 ~ 128 characters. Special characters are not supported.
- Scaling
Mode string - Instance recycling mode for the scaling group. 1. release (default): Release mode. 2. recycle: Stop-and-recycle mode.
- Server
Group []ScalingAttributes Group Server Group Attribute Args - Stopped
Instance intCount - Number of instances in the scaling group that are in the disabled state.
- Subnet
Ids []string - List of subnet IDs for the primary network interface of instances in the scaling group
- Suspended
Processes []string - Paused processes. If there are no paused processes, returns an empty value. ScaleIn: scale-in process. ScaleOut: scale-out process. HealthCheck: health check. AlarmNotification: alarm task. ScheduledAction: scheduled task.
-
[]Scaling
Group Tag Args - Total
Instance intCount - Number of instances currently in the scaling group
- Updated
Time string - Scaling group update time.
- Vpc
Id string - VPC ID to which the scaling group belongs
- active
Scaling StringConfiguration Id - ID of the scaling configuration bound to the scaling group
- created
Time String - Scaling group creation time
- db
Instance List<String>Ids - ID of the RDS database instance.
- default
Cooldown Integer - Cooldown period after a scaling activity (adding or removing ECS instances) completes. During the cooldown period, the scaling group does not perform other scaling activities; only scaling activities triggered by Cloud Monitoring alarms and scaling rules are effective. Value range: 5 ~ 86400 seconds. Default value: 300.
- desire
Instance IntegerNumber - Expected number of running instances in the scaling group. 1. Must be no less than MinInstanceNumber and no greater than MaxInstanceNumber. 2. Default value: -1, which means the expected instance count feature is disabled. In this case, after the scaling group is created, scaling activities will automatically add the corresponding number of instances.
- health
Check StringType - Health check mode for the scaling group. 1. NONE: No instance health check. 2. ECS (default): Performs health checks on ECS instances in the scaling group.
- instance
Remove List<ScalingPolicies Group Instance Remove Policy> - instance
Terminate StringPolicy - Instance removal policies: 1. OldestInstance: Removes the earliest instance added to the scaling group (including both automatically created and manually added instances). 2. NewestInstance: Removes the latest instance added to the scaling group (including both automatically created and manually added instances). 3. OldestScalingConfigurationWithOldestInstance (default): Removes the earliest automatically created instance in the scaling configuration that was first associated with the scaling group. 4. OldestScalingConfigurationWithNewestInstance: Removes the latest automatically created instance in the scaling configuration that was first associated with the scaling group.
- instances
List<Scaling
Group Instance> - instances
Distribution ScalingGroup Instances Distribution - Instance distribution policy.
- is
Enable BooleanScaling Group - Whether to enable the scaling group. true: enabled. false: stopped
- launch
Template StringId - Instance launch template ID. When configured, it indicates that the launch template is used as the source for the scaling configuration.
- launch
Template List<ScalingOverrides Group Launch Template Override> - launch
Template StringVersion - Instance launch template version. 1. A specific template version number. 2. Default: always use the default template version. 3. Latest: always use the latest template version.
- lifecycle
State String - Status of the scaling group. Active: enabled. InActive: not activated. Deleting: deleting. Locked: locked. CoolingDown: cooling down. Unknown: unknown status.
- load
Balancer IntegerHealth Check Grace Period - Grace period for CLB health checks on scaling group instances
- max
Instance IntegerNumber - Maximum number of instances in the scaling group. Default value: 0 ~ 100. You can adjust this in the Quota Center.
- min
Instance IntegerNumber - Minimum number of instances in the scaling group. Default value: 0–100. You can adjust this in the quota center.
- multi
Az StringPolicy - Scaling strategy. If you select multiple subnets, you must configure this parameter. 1. PRIORITY (default): priority strategy. 2. BALANCE: balanced distribution strategy.
- project
Name String - Project to which the scaling group belongs. Default is 'default'. A resource can belong to only one project. Only letters, numbers, underscores '_', dots '.', and hyphens '-' are allowed. Maximum length: 64 characters.
- scaling
Group StringId - Scaling group ID.
- scaling
Group StringName - Scaling group name, unique within the same region. Must start with a Chinese character or letter, and can only contain Chinese characters, letters, numbers, underscores, and hyphens. Length limit: 1 ~ 128 characters. Special characters are not supported.
- scaling
Mode String - Instance recycling mode for the scaling group. 1. release (default): Release mode. 2. recycle: Stop-and-recycle mode.
- server
Group List<ScalingAttributes Group Server Group Attribute> - stopped
Instance IntegerCount - Number of instances in the scaling group that are in the disabled state.
- subnet
Ids List<String> - List of subnet IDs for the primary network interface of instances in the scaling group
- suspended
Processes List<String> - Paused processes. If there are no paused processes, returns an empty value. ScaleIn: scale-in process. ScaleOut: scale-out process. HealthCheck: health check. AlarmNotification: alarm task. ScheduledAction: scheduled task.
-
List<Scaling
Group Tag> - total
Instance IntegerCount - Number of instances currently in the scaling group
- updated
Time String - Scaling group update time.
- vpc
Id String - VPC ID to which the scaling group belongs
- active
Scaling stringConfiguration Id - ID of the scaling configuration bound to the scaling group
- created
Time string - Scaling group creation time
- db
Instance string[]Ids - ID of the RDS database instance.
- default
Cooldown number - Cooldown period after a scaling activity (adding or removing ECS instances) completes. During the cooldown period, the scaling group does not perform other scaling activities; only scaling activities triggered by Cloud Monitoring alarms and scaling rules are effective. Value range: 5 ~ 86400 seconds. Default value: 300.
- desire
Instance numberNumber - Expected number of running instances in the scaling group. 1. Must be no less than MinInstanceNumber and no greater than MaxInstanceNumber. 2. Default value: -1, which means the expected instance count feature is disabled. In this case, after the scaling group is created, scaling activities will automatically add the corresponding number of instances.
- health
Check stringType - Health check mode for the scaling group. 1. NONE: No instance health check. 2. ECS (default): Performs health checks on ECS instances in the scaling group.
- instance
Remove ScalingPolicies Group Instance Remove Policy[] - instance
Terminate stringPolicy - Instance removal policies: 1. OldestInstance: Removes the earliest instance added to the scaling group (including both automatically created and manually added instances). 2. NewestInstance: Removes the latest instance added to the scaling group (including both automatically created and manually added instances). 3. OldestScalingConfigurationWithOldestInstance (default): Removes the earliest automatically created instance in the scaling configuration that was first associated with the scaling group. 4. OldestScalingConfigurationWithNewestInstance: Removes the latest automatically created instance in the scaling configuration that was first associated with the scaling group.
- instances
Scaling
Group Instance[] - instances
Distribution ScalingGroup Instances Distribution - Instance distribution policy.
- is
Enable booleanScaling Group - Whether to enable the scaling group. true: enabled. false: stopped
- launch
Template stringId - Instance launch template ID. When configured, it indicates that the launch template is used as the source for the scaling configuration.
- launch
Template ScalingOverrides Group Launch Template Override[] - launch
Template stringVersion - Instance launch template version. 1. A specific template version number. 2. Default: always use the default template version. 3. Latest: always use the latest template version.
- lifecycle
State string - Status of the scaling group. Active: enabled. InActive: not activated. Deleting: deleting. Locked: locked. CoolingDown: cooling down. Unknown: unknown status.
- load
Balancer numberHealth Check Grace Period - Grace period for CLB health checks on scaling group instances
- max
Instance numberNumber - Maximum number of instances in the scaling group. Default value: 0 ~ 100. You can adjust this in the Quota Center.
- min
Instance numberNumber - Minimum number of instances in the scaling group. Default value: 0–100. You can adjust this in the quota center.
- multi
Az stringPolicy - Scaling strategy. If you select multiple subnets, you must configure this parameter. 1. PRIORITY (default): priority strategy. 2. BALANCE: balanced distribution strategy.
- project
Name string - Project to which the scaling group belongs. Default is 'default'. A resource can belong to only one project. Only letters, numbers, underscores '_', dots '.', and hyphens '-' are allowed. Maximum length: 64 characters.
- scaling
Group stringId - Scaling group ID.
- scaling
Group stringName - Scaling group name, unique within the same region. Must start with a Chinese character or letter, and can only contain Chinese characters, letters, numbers, underscores, and hyphens. Length limit: 1 ~ 128 characters. Special characters are not supported.
- scaling
Mode string - Instance recycling mode for the scaling group. 1. release (default): Release mode. 2. recycle: Stop-and-recycle mode.
- server
Group ScalingAttributes Group Server Group Attribute[] - stopped
Instance numberCount - Number of instances in the scaling group that are in the disabled state.
- subnet
Ids string[] - List of subnet IDs for the primary network interface of instances in the scaling group
- suspended
Processes string[] - Paused processes. If there are no paused processes, returns an empty value. ScaleIn: scale-in process. ScaleOut: scale-out process. HealthCheck: health check. AlarmNotification: alarm task. ScheduledAction: scheduled task.
-
Scaling
Group Tag[] - total
Instance numberCount - Number of instances currently in the scaling group
- updated
Time string - Scaling group update time.
- vpc
Id string - VPC ID to which the scaling group belongs
- active_
scaling_ strconfiguration_ id - ID of the scaling configuration bound to the scaling group
- created_
time str - Scaling group creation time
- db_
instance_ Sequence[str]ids - ID of the RDS database instance.
- default_
cooldown int - Cooldown period after a scaling activity (adding or removing ECS instances) completes. During the cooldown period, the scaling group does not perform other scaling activities; only scaling activities triggered by Cloud Monitoring alarms and scaling rules are effective. Value range: 5 ~ 86400 seconds. Default value: 300.
- desire_
instance_ intnumber - Expected number of running instances in the scaling group. 1. Must be no less than MinInstanceNumber and no greater than MaxInstanceNumber. 2. Default value: -1, which means the expected instance count feature is disabled. In this case, after the scaling group is created, scaling activities will automatically add the corresponding number of instances.
- health_
check_ strtype - Health check mode for the scaling group. 1. NONE: No instance health check. 2. ECS (default): Performs health checks on ECS instances in the scaling group.
- instance_
remove_ Sequence[Scalingpolicies Group Instance Remove Policy Args] - instance_
terminate_ strpolicy - Instance removal policies: 1. OldestInstance: Removes the earliest instance added to the scaling group (including both automatically created and manually added instances). 2. NewestInstance: Removes the latest instance added to the scaling group (including both automatically created and manually added instances). 3. OldestScalingConfigurationWithOldestInstance (default): Removes the earliest automatically created instance in the scaling configuration that was first associated with the scaling group. 4. OldestScalingConfigurationWithNewestInstance: Removes the latest automatically created instance in the scaling configuration that was first associated with the scaling group.
- instances
Sequence[Scaling
Group Instance Args] - instances_
distribution ScalingGroup Instances Distribution Args - Instance distribution policy.
- is_
enable_ boolscaling_ group - Whether to enable the scaling group. true: enabled. false: stopped
- launch_
template_ strid - Instance launch template ID. When configured, it indicates that the launch template is used as the source for the scaling configuration.
- launch_
template_ Sequence[Scalingoverrides Group Launch Template Override Args] - launch_
template_ strversion - Instance launch template version. 1. A specific template version number. 2. Default: always use the default template version. 3. Latest: always use the latest template version.
- lifecycle_
state str - Status of the scaling group. Active: enabled. InActive: not activated. Deleting: deleting. Locked: locked. CoolingDown: cooling down. Unknown: unknown status.
- load_
balancer_ inthealth_ check_ grace_ period - Grace period for CLB health checks on scaling group instances
- max_
instance_ intnumber - Maximum number of instances in the scaling group. Default value: 0 ~ 100. You can adjust this in the Quota Center.
- min_
instance_ intnumber - Minimum number of instances in the scaling group. Default value: 0–100. You can adjust this in the quota center.
- multi_
az_ strpolicy - Scaling strategy. If you select multiple subnets, you must configure this parameter. 1. PRIORITY (default): priority strategy. 2. BALANCE: balanced distribution strategy.
- project_
name str - Project to which the scaling group belongs. Default is 'default'. A resource can belong to only one project. Only letters, numbers, underscores '_', dots '.', and hyphens '-' are allowed. Maximum length: 64 characters.
- scaling_
group_ strid - Scaling group ID.
- scaling_
group_ strname - Scaling group name, unique within the same region. Must start with a Chinese character or letter, and can only contain Chinese characters, letters, numbers, underscores, and hyphens. Length limit: 1 ~ 128 characters. Special characters are not supported.
- scaling_
mode str - Instance recycling mode for the scaling group. 1. release (default): Release mode. 2. recycle: Stop-and-recycle mode.
- server_
group_ Sequence[Scalingattributes Group Server Group Attribute Args] - stopped_
instance_ intcount - Number of instances in the scaling group that are in the disabled state.
- subnet_
ids Sequence[str] - List of subnet IDs for the primary network interface of instances in the scaling group
- suspended_
processes Sequence[str] - Paused processes. If there are no paused processes, returns an empty value. ScaleIn: scale-in process. ScaleOut: scale-out process. HealthCheck: health check. AlarmNotification: alarm task. ScheduledAction: scheduled task.
-
Sequence[Scaling
Group Tag Args] - total_
instance_ intcount - Number of instances currently in the scaling group
- updated_
time str - Scaling group update time.
- vpc_
id str - VPC ID to which the scaling group belongs
- active
Scaling StringConfiguration Id - ID of the scaling configuration bound to the scaling group
- created
Time String - Scaling group creation time
- db
Instance List<String>Ids - ID of the RDS database instance.
- default
Cooldown Number - Cooldown period after a scaling activity (adding or removing ECS instances) completes. During the cooldown period, the scaling group does not perform other scaling activities; only scaling activities triggered by Cloud Monitoring alarms and scaling rules are effective. Value range: 5 ~ 86400 seconds. Default value: 300.
- desire
Instance NumberNumber - Expected number of running instances in the scaling group. 1. Must be no less than MinInstanceNumber and no greater than MaxInstanceNumber. 2. Default value: -1, which means the expected instance count feature is disabled. In this case, after the scaling group is created, scaling activities will automatically add the corresponding number of instances.
- health
Check StringType - Health check mode for the scaling group. 1. NONE: No instance health check. 2. ECS (default): Performs health checks on ECS instances in the scaling group.
- instance
Remove List<Property Map>Policies - instance
Terminate StringPolicy - Instance removal policies: 1. OldestInstance: Removes the earliest instance added to the scaling group (including both automatically created and manually added instances). 2. NewestInstance: Removes the latest instance added to the scaling group (including both automatically created and manually added instances). 3. OldestScalingConfigurationWithOldestInstance (default): Removes the earliest automatically created instance in the scaling configuration that was first associated with the scaling group. 4. OldestScalingConfigurationWithNewestInstance: Removes the latest automatically created instance in the scaling configuration that was first associated with the scaling group.
- instances List<Property Map>
- instances
Distribution Property Map - Instance distribution policy.
- is
Enable BooleanScaling Group - Whether to enable the scaling group. true: enabled. false: stopped
- launch
Template StringId - Instance launch template ID. When configured, it indicates that the launch template is used as the source for the scaling configuration.
- launch
Template List<Property Map>Overrides - launch
Template StringVersion - Instance launch template version. 1. A specific template version number. 2. Default: always use the default template version. 3. Latest: always use the latest template version.
- lifecycle
State String - Status of the scaling group. Active: enabled. InActive: not activated. Deleting: deleting. Locked: locked. CoolingDown: cooling down. Unknown: unknown status.
- load
Balancer NumberHealth Check Grace Period - Grace period for CLB health checks on scaling group instances
- max
Instance NumberNumber - Maximum number of instances in the scaling group. Default value: 0 ~ 100. You can adjust this in the Quota Center.
- min
Instance NumberNumber - Minimum number of instances in the scaling group. Default value: 0–100. You can adjust this in the quota center.
- multi
Az StringPolicy - Scaling strategy. If you select multiple subnets, you must configure this parameter. 1. PRIORITY (default): priority strategy. 2. BALANCE: balanced distribution strategy.
- project
Name String - Project to which the scaling group belongs. Default is 'default'. A resource can belong to only one project. Only letters, numbers, underscores '_', dots '.', and hyphens '-' are allowed. Maximum length: 64 characters.
- scaling
Group StringId - Scaling group ID.
- scaling
Group StringName - Scaling group name, unique within the same region. Must start with a Chinese character or letter, and can only contain Chinese characters, letters, numbers, underscores, and hyphens. Length limit: 1 ~ 128 characters. Special characters are not supported.
- scaling
Mode String - Instance recycling mode for the scaling group. 1. release (default): Release mode. 2. recycle: Stop-and-recycle mode.
- server
Group List<Property Map>Attributes - stopped
Instance NumberCount - Number of instances in the scaling group that are in the disabled state.
- subnet
Ids List<String> - List of subnet IDs for the primary network interface of instances in the scaling group
- suspended
Processes List<String> - Paused processes. If there are no paused processes, returns an empty value. ScaleIn: scale-in process. ScaleOut: scale-out process. HealthCheck: health check. AlarmNotification: alarm task. ScheduledAction: scheduled task.
- List<Property Map>
- total
Instance NumberCount - Number of instances currently in the scaling group
- updated
Time String - Scaling group update time.
- vpc
Id String - VPC ID to which the scaling group belongs
Supporting Types
ScalingGroupInstance, ScalingGroupInstanceArgs
- Created
Time string - Time when the instance joined the scaling group
- Creation
Type string - How the instance joined the scaling group (Attached / AutoCreated)
- Entrusted bool
- Whether to enable managed mode for the instance when AttachInstances is performed
- Instance
Id string - ECS instance ID, unique identifier of the subresource
- Launch
Template stringId - Launch template ID used by the instance
- Launch
Template stringVersion - Launch template version used by the instance
- Lifecycle
Hook bool - Whether to trigger lifecycle hooks when the instance is attached, detached, or removed
- Scaling
Configuration stringId - Scaling configuration ID associated with the instance
- Scaling
Policy stringId - Scaling policy ID associated with the instance
- Status string
- Current status of the instance in the scaling group
- Zone
Id string - Availability zone of the instance
- Created
Time string - Time when the instance joined the scaling group
- Creation
Type string - How the instance joined the scaling group (Attached / AutoCreated)
- Entrusted bool
- Whether to enable managed mode for the instance when AttachInstances is performed
- Instance
Id string - ECS instance ID, unique identifier of the subresource
- Launch
Template stringId - Launch template ID used by the instance
- Launch
Template stringVersion - Launch template version used by the instance
- Lifecycle
Hook bool - Whether to trigger lifecycle hooks when the instance is attached, detached, or removed
- Scaling
Configuration stringId - Scaling configuration ID associated with the instance
- Scaling
Policy stringId - Scaling policy ID associated with the instance
- Status string
- Current status of the instance in the scaling group
- Zone
Id string - Availability zone of the instance
- created
Time String - Time when the instance joined the scaling group
- creation
Type String - How the instance joined the scaling group (Attached / AutoCreated)
- entrusted Boolean
- Whether to enable managed mode for the instance when AttachInstances is performed
- instance
Id String - ECS instance ID, unique identifier of the subresource
- launch
Template StringId - Launch template ID used by the instance
- launch
Template StringVersion - Launch template version used by the instance
- lifecycle
Hook Boolean - Whether to trigger lifecycle hooks when the instance is attached, detached, or removed
- scaling
Configuration StringId - Scaling configuration ID associated with the instance
- scaling
Policy StringId - Scaling policy ID associated with the instance
- status String
- Current status of the instance in the scaling group
- zone
Id String - Availability zone of the instance
- created
Time string - Time when the instance joined the scaling group
- creation
Type string - How the instance joined the scaling group (Attached / AutoCreated)
- entrusted boolean
- Whether to enable managed mode for the instance when AttachInstances is performed
- instance
Id string - ECS instance ID, unique identifier of the subresource
- launch
Template stringId - Launch template ID used by the instance
- launch
Template stringVersion - Launch template version used by the instance
- lifecycle
Hook boolean - Whether to trigger lifecycle hooks when the instance is attached, detached, or removed
- scaling
Configuration stringId - Scaling configuration ID associated with the instance
- scaling
Policy stringId - Scaling policy ID associated with the instance
- status string
- Current status of the instance in the scaling group
- zone
Id string - Availability zone of the instance
- created_
time str - Time when the instance joined the scaling group
- creation_
type str - How the instance joined the scaling group (Attached / AutoCreated)
- entrusted bool
- Whether to enable managed mode for the instance when AttachInstances is performed
- instance_
id str - ECS instance ID, unique identifier of the subresource
- launch_
template_ strid - Launch template ID used by the instance
- launch_
template_ strversion - Launch template version used by the instance
- lifecycle_
hook bool - Whether to trigger lifecycle hooks when the instance is attached, detached, or removed
- scaling_
configuration_ strid - Scaling configuration ID associated with the instance
- scaling_
policy_ strid - Scaling policy ID associated with the instance
- status str
- Current status of the instance in the scaling group
- zone_
id str - Availability zone of the instance
- created
Time String - Time when the instance joined the scaling group
- creation
Type String - How the instance joined the scaling group (Attached / AutoCreated)
- entrusted Boolean
- Whether to enable managed mode for the instance when AttachInstances is performed
- instance
Id String - ECS instance ID, unique identifier of the subresource
- launch
Template StringId - Launch template ID used by the instance
- launch
Template StringVersion - Launch template version used by the instance
- lifecycle
Hook Boolean - Whether to trigger lifecycle hooks when the instance is attached, detached, or removed
- scaling
Configuration StringId - Scaling configuration ID associated with the instance
- scaling
Policy StringId - Scaling policy ID associated with the instance
- status String
- Current status of the instance in the scaling group
- zone
Id String - Availability zone of the instance
ScalingGroupInstanceRemovePolicy, ScalingGroupInstanceRemovePolicyArgs
- Decrease
Desired boolCapacity - Whether to decrease the desired instance count synchronously when DetachInstances or RemoveInstances is performed
- Detach
Option string - Instance removal policy for DetachInstances
- Force
Delete bool - Whether to force delete the instance when RemoveInstances is performed
- Instance
Id string - ECS instance ID, unique identifier of the subresource
- Lifecycle
Hook bool - Whether to trigger lifecycle hooks when the instance is attached, detached, or removed
- Mode string
- Mode: How to handle an instance when it is removed from the scaling group: Detach means only remove from the scaling group, Remove means remove and delete the instance
- Remove
Mode string - Removal mode for RemoveInstances
- Decrease
Desired boolCapacity - Whether to decrease the desired instance count synchronously when DetachInstances or RemoveInstances is performed
- Detach
Option string - Instance removal policy for DetachInstances
- Force
Delete bool - Whether to force delete the instance when RemoveInstances is performed
- Instance
Id string - ECS instance ID, unique identifier of the subresource
- Lifecycle
Hook bool - Whether to trigger lifecycle hooks when the instance is attached, detached, or removed
- Mode string
- Mode: How to handle an instance when it is removed from the scaling group: Detach means only remove from the scaling group, Remove means remove and delete the instance
- Remove
Mode string - Removal mode for RemoveInstances
- decrease
Desired BooleanCapacity - Whether to decrease the desired instance count synchronously when DetachInstances or RemoveInstances is performed
- detach
Option String - Instance removal policy for DetachInstances
- force
Delete Boolean - Whether to force delete the instance when RemoveInstances is performed
- instance
Id String - ECS instance ID, unique identifier of the subresource
- lifecycle
Hook Boolean - Whether to trigger lifecycle hooks when the instance is attached, detached, or removed
- mode String
- Mode: How to handle an instance when it is removed from the scaling group: Detach means only remove from the scaling group, Remove means remove and delete the instance
- remove
Mode String - Removal mode for RemoveInstances
- decrease
Desired booleanCapacity - Whether to decrease the desired instance count synchronously when DetachInstances or RemoveInstances is performed
- detach
Option string - Instance removal policy for DetachInstances
- force
Delete boolean - Whether to force delete the instance when RemoveInstances is performed
- instance
Id string - ECS instance ID, unique identifier of the subresource
- lifecycle
Hook boolean - Whether to trigger lifecycle hooks when the instance is attached, detached, or removed
- mode string
- Mode: How to handle an instance when it is removed from the scaling group: Detach means only remove from the scaling group, Remove means remove and delete the instance
- remove
Mode string - Removal mode for RemoveInstances
- decrease_
desired_ boolcapacity - Whether to decrease the desired instance count synchronously when DetachInstances or RemoveInstances is performed
- detach_
option str - Instance removal policy for DetachInstances
- force_
delete bool - Whether to force delete the instance when RemoveInstances is performed
- instance_
id str - ECS instance ID, unique identifier of the subresource
- lifecycle_
hook bool - Whether to trigger lifecycle hooks when the instance is attached, detached, or removed
- mode str
- Mode: How to handle an instance when it is removed from the scaling group: Detach means only remove from the scaling group, Remove means remove and delete the instance
- remove_
mode str - Removal mode for RemoveInstances
- decrease
Desired BooleanCapacity - Whether to decrease the desired instance count synchronously when DetachInstances or RemoveInstances is performed
- detach
Option String - Instance removal policy for DetachInstances
- force
Delete Boolean - Whether to force delete the instance when RemoveInstances is performed
- instance
Id String - ECS instance ID, unique identifier of the subresource
- lifecycle
Hook Boolean - Whether to trigger lifecycle hooks when the instance is attached, detached, or removed
- mode String
- Mode: How to handle an instance when it is removed from the scaling group: Detach means only remove from the scaling group, Remove means remove and delete the instance
- remove
Mode String - Removal mode for RemoveInstances
ScalingGroupInstancesDistribution, ScalingGroupInstancesDistributionArgs
- Compensate
With boolOn Demand - Whether pay-as-you-go instances are allowed to supplement spot capacity if spot instances cannot be created due to price or inventory constraints. true: allowed. false (default): not allowed.
- On
Demand intBase Capacity - Minimum number of pay-as-you-go instances in the scaling group. Value range: 0~2000. If the number of pay-as-you-go instances in the group is less than this value, pay-as-you-go instances will be prioritized for creation.
- On
Demand intPercentage Above Base Capacity - After the scaling group meets the minimum number of pay-as-you-go instances, the proportion of pay-as-you-go instances among the excess instances. Value range: 0–100.
- Spot
Instance boolRemedy - Whether to allow preemptible instance replacement upon expiration. If enabled, the scaling group will proactively create a new preemptible instance to replace the current one about 5 minutes before the preemptible instance is reclaimed. true: allowed. false (default): not allowed.
- Compensate
With boolOn Demand - Whether pay-as-you-go instances are allowed to supplement spot capacity if spot instances cannot be created due to price or inventory constraints. true: allowed. false (default): not allowed.
- On
Demand intBase Capacity - Minimum number of pay-as-you-go instances in the scaling group. Value range: 0~2000. If the number of pay-as-you-go instances in the group is less than this value, pay-as-you-go instances will be prioritized for creation.
- On
Demand intPercentage Above Base Capacity - After the scaling group meets the minimum number of pay-as-you-go instances, the proportion of pay-as-you-go instances among the excess instances. Value range: 0–100.
- Spot
Instance boolRemedy - Whether to allow preemptible instance replacement upon expiration. If enabled, the scaling group will proactively create a new preemptible instance to replace the current one about 5 minutes before the preemptible instance is reclaimed. true: allowed. false (default): not allowed.
- compensate
With BooleanOn Demand - Whether pay-as-you-go instances are allowed to supplement spot capacity if spot instances cannot be created due to price or inventory constraints. true: allowed. false (default): not allowed.
- on
Demand IntegerBase Capacity - Minimum number of pay-as-you-go instances in the scaling group. Value range: 0~2000. If the number of pay-as-you-go instances in the group is less than this value, pay-as-you-go instances will be prioritized for creation.
- on
Demand IntegerPercentage Above Base Capacity - After the scaling group meets the minimum number of pay-as-you-go instances, the proportion of pay-as-you-go instances among the excess instances. Value range: 0–100.
- spot
Instance BooleanRemedy - Whether to allow preemptible instance replacement upon expiration. If enabled, the scaling group will proactively create a new preemptible instance to replace the current one about 5 minutes before the preemptible instance is reclaimed. true: allowed. false (default): not allowed.
- compensate
With booleanOn Demand - Whether pay-as-you-go instances are allowed to supplement spot capacity if spot instances cannot be created due to price or inventory constraints. true: allowed. false (default): not allowed.
- on
Demand numberBase Capacity - Minimum number of pay-as-you-go instances in the scaling group. Value range: 0~2000. If the number of pay-as-you-go instances in the group is less than this value, pay-as-you-go instances will be prioritized for creation.
- on
Demand numberPercentage Above Base Capacity - After the scaling group meets the minimum number of pay-as-you-go instances, the proportion of pay-as-you-go instances among the excess instances. Value range: 0–100.
- spot
Instance booleanRemedy - Whether to allow preemptible instance replacement upon expiration. If enabled, the scaling group will proactively create a new preemptible instance to replace the current one about 5 minutes before the preemptible instance is reclaimed. true: allowed. false (default): not allowed.
- compensate_
with_ boolon_ demand - Whether pay-as-you-go instances are allowed to supplement spot capacity if spot instances cannot be created due to price or inventory constraints. true: allowed. false (default): not allowed.
- on_
demand_ intbase_ capacity - Minimum number of pay-as-you-go instances in the scaling group. Value range: 0~2000. If the number of pay-as-you-go instances in the group is less than this value, pay-as-you-go instances will be prioritized for creation.
- on_
demand_ intpercentage_ above_ base_ capacity - After the scaling group meets the minimum number of pay-as-you-go instances, the proportion of pay-as-you-go instances among the excess instances. Value range: 0–100.
- spot_
instance_ boolremedy - Whether to allow preemptible instance replacement upon expiration. If enabled, the scaling group will proactively create a new preemptible instance to replace the current one about 5 minutes before the preemptible instance is reclaimed. true: allowed. false (default): not allowed.
- compensate
With BooleanOn Demand - Whether pay-as-you-go instances are allowed to supplement spot capacity if spot instances cannot be created due to price or inventory constraints. true: allowed. false (default): not allowed.
- on
Demand NumberBase Capacity - Minimum number of pay-as-you-go instances in the scaling group. Value range: 0~2000. If the number of pay-as-you-go instances in the group is less than this value, pay-as-you-go instances will be prioritized for creation.
- on
Demand NumberPercentage Above Base Capacity - After the scaling group meets the minimum number of pay-as-you-go instances, the proportion of pay-as-you-go instances among the excess instances. Value range: 0–100.
- spot
Instance BooleanRemedy - Whether to allow preemptible instance replacement upon expiration. If enabled, the scaling group will proactively create a new preemptible instance to replace the current one about 5 minutes before the preemptible instance is reclaimed. true: allowed. false (default): not allowed.
ScalingGroupLaunchTemplateOverride, ScalingGroupLaunchTemplateOverrideArgs
- Instance
Type string - Specify the instance type. This parameter is valid only when the LaunchTemplateId parameter is set.
- Price
Limit double - Specify the maximum hourly price for spot instance types. This parameter is valid only when the LaunchTemplateId parameter is set and the launch template's billing mode is SpotWithPriceLimit.
- Instance
Type string - Specify the instance type. This parameter is valid only when the LaunchTemplateId parameter is set.
- Price
Limit float64 - Specify the maximum hourly price for spot instance types. This parameter is valid only when the LaunchTemplateId parameter is set and the launch template's billing mode is SpotWithPriceLimit.
- instance
Type String - Specify the instance type. This parameter is valid only when the LaunchTemplateId parameter is set.
- price
Limit Double - Specify the maximum hourly price for spot instance types. This parameter is valid only when the LaunchTemplateId parameter is set and the launch template's billing mode is SpotWithPriceLimit.
- instance
Type string - Specify the instance type. This parameter is valid only when the LaunchTemplateId parameter is set.
- price
Limit number - Specify the maximum hourly price for spot instance types. This parameter is valid only when the LaunchTemplateId parameter is set and the launch template's billing mode is SpotWithPriceLimit.
- instance_
type str - Specify the instance type. This parameter is valid only when the LaunchTemplateId parameter is set.
- price_
limit float - Specify the maximum hourly price for spot instance types. This parameter is valid only when the LaunchTemplateId parameter is set and the launch template's billing mode is SpotWithPriceLimit.
- instance
Type String - Specify the instance type. This parameter is valid only when the LaunchTemplateId parameter is set.
- price
Limit Number - Specify the maximum hourly price for spot instance types. This parameter is valid only when the LaunchTemplateId parameter is set and the launch template's billing mode is SpotWithPriceLimit.
ScalingGroupServerGroupAttribute, ScalingGroupServerGroupAttributeArgs
- Port int
- Port number of the server in the backend server group for load balancing. Range: 1–65535.
- Server
Group stringId - Backend server group ID for load balancing.
- Type string
- Load balancing server group type. A single CLB/ALB supports up to 20 backend server groups, and the total number of backend servers supported by all CLB/ALB is 100. ALB: Application Load Balancer. CLB: Classic Load Balancer (default).
- Weight int
- Weight of servers in the backend server group of the load balancer
- Port int
- Port number of the server in the backend server group for load balancing. Range: 1–65535.
- Server
Group stringId - Backend server group ID for load balancing.
- Type string
- Load balancing server group type. A single CLB/ALB supports up to 20 backend server groups, and the total number of backend servers supported by all CLB/ALB is 100. ALB: Application Load Balancer. CLB: Classic Load Balancer (default).
- Weight int
- Weight of servers in the backend server group of the load balancer
- port Integer
- Port number of the server in the backend server group for load balancing. Range: 1–65535.
- server
Group StringId - Backend server group ID for load balancing.
- type String
- Load balancing server group type. A single CLB/ALB supports up to 20 backend server groups, and the total number of backend servers supported by all CLB/ALB is 100. ALB: Application Load Balancer. CLB: Classic Load Balancer (default).
- weight Integer
- Weight of servers in the backend server group of the load balancer
- port number
- Port number of the server in the backend server group for load balancing. Range: 1–65535.
- server
Group stringId - Backend server group ID for load balancing.
- type string
- Load balancing server group type. A single CLB/ALB supports up to 20 backend server groups, and the total number of backend servers supported by all CLB/ALB is 100. ALB: Application Load Balancer. CLB: Classic Load Balancer (default).
- weight number
- Weight of servers in the backend server group of the load balancer
- port int
- Port number of the server in the backend server group for load balancing. Range: 1–65535.
- server_
group_ strid - Backend server group ID for load balancing.
- type str
- Load balancing server group type. A single CLB/ALB supports up to 20 backend server groups, and the total number of backend servers supported by all CLB/ALB is 100. ALB: Application Load Balancer. CLB: Classic Load Balancer (default).
- weight int
- Weight of servers in the backend server group of the load balancer
- port Number
- Port number of the server in the backend server group for load balancing. Range: 1–65535.
- server
Group StringId - Backend server group ID for load balancing.
- type String
- Load balancing server group type. A single CLB/ALB supports up to 20 backend server groups, and the total number of backend servers supported by all CLB/ALB is 100. ALB: Application Load Balancer. CLB: Classic Load Balancer (default).
- weight Number
- Weight of servers in the backend server group of the load balancer
ScalingGroupTag, ScalingGroupTagArgs
Import
$ pulumi import volcenginecc:autoscaling/scalingGroup:ScalingGroup example "scaling_group_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
published on Thursday, Apr 23, 2026 by Volcengine
