Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
Data Source schema for Volcengine::AutoScaling::ScalingGroup
Using getScalingGroup
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 getScalingGroup(args: GetScalingGroupArgs, opts?: InvokeOptions): Promise<GetScalingGroupResult>
function getScalingGroupOutput(args: GetScalingGroupOutputArgs, opts?: InvokeOptions): Output<GetScalingGroupResult>def get_scaling_group(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetScalingGroupResult
def get_scaling_group_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetScalingGroupResult]func LookupScalingGroup(ctx *Context, args *LookupScalingGroupArgs, opts ...InvokeOption) (*LookupScalingGroupResult, error)
func LookupScalingGroupOutput(ctx *Context, args *LookupScalingGroupOutputArgs, opts ...InvokeOption) LookupScalingGroupResultOutput> Note: This function is named LookupScalingGroup in the Go SDK.
public static class GetScalingGroup
{
public static Task<GetScalingGroupResult> InvokeAsync(GetScalingGroupArgs args, InvokeOptions? opts = null)
public static Output<GetScalingGroupResult> Invoke(GetScalingGroupInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetScalingGroupResult> getScalingGroup(GetScalingGroupArgs args, InvokeOptions options)
public static Output<GetScalingGroupResult> getScalingGroup(GetScalingGroupArgs args, InvokeOptions options)
fn::invoke:
function: volcenginecc:autoscaling/getScalingGroup:getScalingGroup
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Uniquely identifies the resource.
- Id string
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
- id string
- Uniquely identifies the resource.
- id str
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
getScalingGroup Result
The following output properties are available:
- 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.
- Id string
- Uniquely identifies the resource.
- Instance
Remove List<Volcengine.Policies Get Scaling Group Instance Remove Policy> - Instance removal 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.
Get Scaling Group Instance> - Collection of instance subresources managed manually within the scaling group (Attach / Detach / Remove)
- Instances
Distribution Volcengine.Get 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 Get Scaling Group Launch Template Override> - Instance launch template information
- 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 Get Scaling Group Server Group Attribute> - Load balancer information associated with the scaling group.
- 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.
Get Scaling Group Tag> - Tag list.
- 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.
- Id string
- Uniquely identifies the resource.
- Instance
Remove []GetPolicies Scaling Group Instance Remove Policy - Instance removal 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
[]Get
Scaling Group Instance - Collection of instance subresources managed manually within the scaling group (Attach / Detach / Remove)
- Instances
Distribution GetScaling 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 []GetOverrides Scaling Group Launch Template Override - Instance launch template information
- 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 []GetAttributes Scaling Group Server Group Attribute - Load balancer information associated with the scaling group.
- 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.
-
[]Get
Scaling Group Tag - Tag list.
- 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.
- id String
- Uniquely identifies the resource.
- instance
Remove List<GetPolicies Scaling Group Instance Remove Policy> - Instance removal 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<Get
Scaling Group Instance> - Collection of instance subresources managed manually within the scaling group (Attach / Detach / Remove)
- instances
Distribution GetScaling Group 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<GetOverrides Scaling Group Launch Template Override> - Instance launch template information
- 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<GetAttributes Scaling Group Server Group Attribute> - Load balancer information associated with the scaling group.
- 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<Get
Scaling Group Tag> - Tag list.
- 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.
- id string
- Uniquely identifies the resource.
- instance
Remove GetPolicies Scaling Group Instance Remove Policy[] - Instance removal 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
Get
Scaling Group Instance[] - Collection of instance subresources managed manually within the scaling group (Attach / Detach / Remove)
- instances
Distribution GetScaling Group 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 GetOverrides Scaling Group Launch Template Override[] - Instance launch template information
- 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 GetAttributes Scaling Group Server Group Attribute[] - Load balancer information associated with the scaling group.
- 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.
-
Get
Scaling Group Tag[] - Tag list.
- 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.
- id str
- Uniquely identifies the resource.
- instance_
remove_ Sequence[Getpolicies Scaling Group Instance Remove Policy] - Instance removal policy
- 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[Get
Scaling Group Instance] - Collection of instance subresources managed manually within the scaling group (Attach / Detach / Remove)
- instances_
distribution GetScaling Group Instances Distribution - 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[Getoverrides Scaling Group Launch Template Override] - Instance launch template information
- 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[Getattributes Scaling Group Server Group Attribute] - Load balancer information associated with the scaling group.
- 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[Get
Scaling Group Tag] - Tag list.
- 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.
- id String
- Uniquely identifies the resource.
- instance
Remove List<Property Map>Policies - Instance removal 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<Property Map>
- Collection of instance subresources managed manually within the scaling group (Attach / Detach / Remove)
- 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 - Instance launch template information
- 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 - Load balancer information associated with the scaling group.
- 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>
- Tag list.
- 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
GetScalingGroupInstance
- 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
GetScalingGroupInstanceRemovePolicy
- 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
GetScalingGroupInstancesDistribution
- 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.
GetScalingGroupLaunchTemplateOverride
- 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.
- Weighted
Capacity int - Instance type weight
- 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.
- Weighted
Capacity int - Instance type weight
- 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.
- weighted
Capacity Integer - Instance type weight
- 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.
- weighted
Capacity number - Instance type weight
- 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.
- weighted_
capacity int - Instance type weight
- 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.
- weighted
Capacity Number - Instance type weight
GetScalingGroupServerGroupAttribute
- Load
Balancer stringId - ID of the load balancer instance.
- 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
- Load
Balancer stringId - ID of the load balancer instance.
- 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
- load
Balancer StringId - ID of the load balancer instance.
- 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
- load
Balancer stringId - ID of the load balancer instance.
- 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
- load_
balancer_ strid - ID of the load balancer instance.
- 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
- load
Balancer StringId - ID of the load balancer instance.
- 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
GetScalingGroupTag
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
