bytepluscc v0.0.11 published on Wednesday, Jan 21, 2026 by Byteplus
bytepluscc v0.0.11 published on Wednesday, Jan 21, 2026 by Byteplus
Data Source schema for Byteplus::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: bytepluscc: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。
- Created
Time string - 伸缩组创建时间。
- Db
Instance List<string>Ids - RDS数据库实例的ID。
- Default
Cooldown int - 执行一次伸缩活动(添加或移出ECS实例)结束后的冷却时间。冷却时间内,该伸缩组不执行其它的伸缩活动,仅针对云监控报警任务触发的伸缩活动和伸缩规则有效。取值范围:5 ~ 86400,单位:秒。默认值:300。
- Desire
Instance intNumber - 伸缩组中期望运行的实例个数。1、不小于最小实例数MinInstanceNumber且不大于最大实例数MaxInstanceNumber。2、默认值:-1,表示不开启期望实例数能力。此时,伸缩组创建完成后会立即开始伸缩活动自动添加相应个数的实例。
- Health
Check stringType - 伸缩组的健康检查方式。1、NONE:不做实例健康状态检查。2、ECS(默认):对伸缩组内的ECS实例做健康检查。
- Id string
- Uniquely identifies the resource.
- Instance
Terminate stringPolicy - 实例移除策略,1、OldestInstance:移出最早加入 (包括自动创建和手动添加)伸缩组的实例。2、NewestInstance:移出最晚加入(包括自动创建和手动添加)伸缩组的实例。3、OldestScalingConfigurationWithOldestInstance(默认):移出最早与伸缩组绑定的伸缩配置中,最早由伸缩组 自动创建 的实例。4、OldestScalingConfigurationWithNewestInstance:移出最早与伸缩组绑定的伸缩配置中,最晚由伸缩组 自动创建 的实例。
- Instances
Distribution Byteplus.Get Scaling Group Instances Distribution - 实例分布策略。
- Is
Enable boolScaling Group - 是否启用伸缩组。true:启用。false:停止
- Launch
Template stringId - 实例启动模板ID,配置后表示选择启动模版作为伸缩配置来源。
- Launch
Template List<Byteplus.Overrides Get Scaling Group Launch Template Override> - 实例启动模版信息。
- Launch
Template stringVersion - 实例启动模板的版本。1、模板的某个版本号。2、Default(默认):始终使用模板默认版本。3、Latest:始终使用模板最新版本。
- Lifecycle
State string - 伸缩组的状态。Active:已启用。InActive:未激活。Deleting:删除中。Locked: 已锁定。CoolingDown: 冷却中。Unknown: 未知状态。
- Load
Balancer intHealth Check Grace Period - 伸缩组实例CLB健康状况检查宽限期。
- Max
Instance intNumber - 伸缩组中实例个数的最大值,默认取值0 ~ 100。您可以通过配额中心调整。
- Min
Instance intNumber - 伸缩组中实例个数的最小值,默认取值0 ~ 100。您可以通过配额中心调整。
- Multi
Az stringPolicy - 扩缩容策略,如果您选择了多个子网,需配置本参数。1、PRIORITY(默认):优先级策略。2、BALANCE:均衡分布策略。
- Project
Name string - 伸缩组所属项目,默认为default。一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
- Scaling
Group stringId - 伸缩组ID。
- Scaling
Group stringName - 伸缩组名称,同一地域下伸缩组名称唯一。只能以中文、字母开头,只能包含中文、字母、数字、下划线和中划线 。长度限制为1 ~ 128个字符。暂不支持特殊字符。
- Scaling
Mode string - 伸缩组的实例回收模式。1、release(默认):释放模式。2、recycle:停机回收模式。
- Server
Group List<Byteplus.Attributes Get Scaling Group Server Group Attribute> - 伸缩组关联的负载均衡信息。
- Stopped
Instance intCount - 伸缩组内处于停用中状态的实例数量。
- Subnet
Ids List<string> - 伸缩组中实例主网卡的子网ID列表。
- Suspended
Processes List<string> - 暂停中的流程,无暂停中流程则返回空值。ScaleIn:缩容流程。ScaleOut:扩容流程。HealthCheck:健康检查。AlarmNotification:报警任务。ScheduledAction:定时任务。
-
List<Byteplus.
Get Scaling Group Tag> - 标签列表。
- Total
Instance intCount - 当前伸缩组内实例的个数。
- Updated
Time string - 伸缩组更新时间。
- Vpc
Id string - 伸缩组所属私有网络ID。
- Active
Scaling stringConfiguration Id - 伸缩组绑定的伸缩配置的ID。
- Created
Time string - 伸缩组创建时间。
- Db
Instance []stringIds - RDS数据库实例的ID。
- Default
Cooldown int - 执行一次伸缩活动(添加或移出ECS实例)结束后的冷却时间。冷却时间内,该伸缩组不执行其它的伸缩活动,仅针对云监控报警任务触发的伸缩活动和伸缩规则有效。取值范围:5 ~ 86400,单位:秒。默认值:300。
- Desire
Instance intNumber - 伸缩组中期望运行的实例个数。1、不小于最小实例数MinInstanceNumber且不大于最大实例数MaxInstanceNumber。2、默认值:-1,表示不开启期望实例数能力。此时,伸缩组创建完成后会立即开始伸缩活动自动添加相应个数的实例。
- Health
Check stringType - 伸缩组的健康检查方式。1、NONE:不做实例健康状态检查。2、ECS(默认):对伸缩组内的ECS实例做健康检查。
- Id string
- Uniquely identifies the resource.
- Instance
Terminate stringPolicy - 实例移除策略,1、OldestInstance:移出最早加入 (包括自动创建和手动添加)伸缩组的实例。2、NewestInstance:移出最晚加入(包括自动创建和手动添加)伸缩组的实例。3、OldestScalingConfigurationWithOldestInstance(默认):移出最早与伸缩组绑定的伸缩配置中,最早由伸缩组 自动创建 的实例。4、OldestScalingConfigurationWithNewestInstance:移出最早与伸缩组绑定的伸缩配置中,最晚由伸缩组 自动创建 的实例。
- Instances
Distribution GetScaling Group Instances Distribution - 实例分布策略。
- Is
Enable boolScaling Group - 是否启用伸缩组。true:启用。false:停止
- Launch
Template stringId - 实例启动模板ID,配置后表示选择启动模版作为伸缩配置来源。
- Launch
Template []GetOverrides Scaling Group Launch Template Override - 实例启动模版信息。
- Launch
Template stringVersion - 实例启动模板的版本。1、模板的某个版本号。2、Default(默认):始终使用模板默认版本。3、Latest:始终使用模板最新版本。
- Lifecycle
State string - 伸缩组的状态。Active:已启用。InActive:未激活。Deleting:删除中。Locked: 已锁定。CoolingDown: 冷却中。Unknown: 未知状态。
- Load
Balancer intHealth Check Grace Period - 伸缩组实例CLB健康状况检查宽限期。
- Max
Instance intNumber - 伸缩组中实例个数的最大值,默认取值0 ~ 100。您可以通过配额中心调整。
- Min
Instance intNumber - 伸缩组中实例个数的最小值,默认取值0 ~ 100。您可以通过配额中心调整。
- Multi
Az stringPolicy - 扩缩容策略,如果您选择了多个子网,需配置本参数。1、PRIORITY(默认):优先级策略。2、BALANCE:均衡分布策略。
- Project
Name string - 伸缩组所属项目,默认为default。一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
- Scaling
Group stringId - 伸缩组ID。
- Scaling
Group stringName - 伸缩组名称,同一地域下伸缩组名称唯一。只能以中文、字母开头,只能包含中文、字母、数字、下划线和中划线 。长度限制为1 ~ 128个字符。暂不支持特殊字符。
- Scaling
Mode string - 伸缩组的实例回收模式。1、release(默认):释放模式。2、recycle:停机回收模式。
- Server
Group []GetAttributes Scaling Group Server Group Attribute - 伸缩组关联的负载均衡信息。
- Stopped
Instance intCount - 伸缩组内处于停用中状态的实例数量。
- Subnet
Ids []string - 伸缩组中实例主网卡的子网ID列表。
- Suspended
Processes []string - 暂停中的流程,无暂停中流程则返回空值。ScaleIn:缩容流程。ScaleOut:扩容流程。HealthCheck:健康检查。AlarmNotification:报警任务。ScheduledAction:定时任务。
-
[]Get
Scaling Group Tag - 标签列表。
- Total
Instance intCount - 当前伸缩组内实例的个数。
- Updated
Time string - 伸缩组更新时间。
- Vpc
Id string - 伸缩组所属私有网络ID。
- active
Scaling StringConfiguration Id - 伸缩组绑定的伸缩配置的ID。
- created
Time String - 伸缩组创建时间。
- db
Instance List<String>Ids - RDS数据库实例的ID。
- default
Cooldown Integer - 执行一次伸缩活动(添加或移出ECS实例)结束后的冷却时间。冷却时间内,该伸缩组不执行其它的伸缩活动,仅针对云监控报警任务触发的伸缩活动和伸缩规则有效。取值范围:5 ~ 86400,单位:秒。默认值:300。
- desire
Instance IntegerNumber - 伸缩组中期望运行的实例个数。1、不小于最小实例数MinInstanceNumber且不大于最大实例数MaxInstanceNumber。2、默认值:-1,表示不开启期望实例数能力。此时,伸缩组创建完成后会立即开始伸缩活动自动添加相应个数的实例。
- health
Check StringType - 伸缩组的健康检查方式。1、NONE:不做实例健康状态检查。2、ECS(默认):对伸缩组内的ECS实例做健康检查。
- id String
- Uniquely identifies the resource.
- instance
Terminate StringPolicy - 实例移除策略,1、OldestInstance:移出最早加入 (包括自动创建和手动添加)伸缩组的实例。2、NewestInstance:移出最晚加入(包括自动创建和手动添加)伸缩组的实例。3、OldestScalingConfigurationWithOldestInstance(默认):移出最早与伸缩组绑定的伸缩配置中,最早由伸缩组 自动创建 的实例。4、OldestScalingConfigurationWithNewestInstance:移出最早与伸缩组绑定的伸缩配置中,最晚由伸缩组 自动创建 的实例。
- instances
Distribution GetScaling Group Instances Distribution - 实例分布策略。
- is
Enable BooleanScaling Group - 是否启用伸缩组。true:启用。false:停止
- launch
Template StringId - 实例启动模板ID,配置后表示选择启动模版作为伸缩配置来源。
- launch
Template List<GetOverrides Scaling Group Launch Template Override> - 实例启动模版信息。
- launch
Template StringVersion - 实例启动模板的版本。1、模板的某个版本号。2、Default(默认):始终使用模板默认版本。3、Latest:始终使用模板最新版本。
- lifecycle
State String - 伸缩组的状态。Active:已启用。InActive:未激活。Deleting:删除中。Locked: 已锁定。CoolingDown: 冷却中。Unknown: 未知状态。
- load
Balancer IntegerHealth Check Grace Period - 伸缩组实例CLB健康状况检查宽限期。
- max
Instance IntegerNumber - 伸缩组中实例个数的最大值,默认取值0 ~ 100。您可以通过配额中心调整。
- min
Instance IntegerNumber - 伸缩组中实例个数的最小值,默认取值0 ~ 100。您可以通过配额中心调整。
- multi
Az StringPolicy - 扩缩容策略,如果您选择了多个子网,需配置本参数。1、PRIORITY(默认):优先级策略。2、BALANCE:均衡分布策略。
- project
Name String - 伸缩组所属项目,默认为default。一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
- scaling
Group StringId - 伸缩组ID。
- scaling
Group StringName - 伸缩组名称,同一地域下伸缩组名称唯一。只能以中文、字母开头,只能包含中文、字母、数字、下划线和中划线 。长度限制为1 ~ 128个字符。暂不支持特殊字符。
- scaling
Mode String - 伸缩组的实例回收模式。1、release(默认):释放模式。2、recycle:停机回收模式。
- server
Group List<GetAttributes Scaling Group Server Group Attribute> - 伸缩组关联的负载均衡信息。
- stopped
Instance IntegerCount - 伸缩组内处于停用中状态的实例数量。
- subnet
Ids List<String> - 伸缩组中实例主网卡的子网ID列表。
- suspended
Processes List<String> - 暂停中的流程,无暂停中流程则返回空值。ScaleIn:缩容流程。ScaleOut:扩容流程。HealthCheck:健康检查。AlarmNotification:报警任务。ScheduledAction:定时任务。
-
List<Get
Scaling Group Tag> - 标签列表。
- total
Instance IntegerCount - 当前伸缩组内实例的个数。
- updated
Time String - 伸缩组更新时间。
- vpc
Id String - 伸缩组所属私有网络ID。
- active
Scaling stringConfiguration Id - 伸缩组绑定的伸缩配置的ID。
- created
Time string - 伸缩组创建时间。
- db
Instance string[]Ids - RDS数据库实例的ID。
- default
Cooldown number - 执行一次伸缩活动(添加或移出ECS实例)结束后的冷却时间。冷却时间内,该伸缩组不执行其它的伸缩活动,仅针对云监控报警任务触发的伸缩活动和伸缩规则有效。取值范围:5 ~ 86400,单位:秒。默认值:300。
- desire
Instance numberNumber - 伸缩组中期望运行的实例个数。1、不小于最小实例数MinInstanceNumber且不大于最大实例数MaxInstanceNumber。2、默认值:-1,表示不开启期望实例数能力。此时,伸缩组创建完成后会立即开始伸缩活动自动添加相应个数的实例。
- health
Check stringType - 伸缩组的健康检查方式。1、NONE:不做实例健康状态检查。2、ECS(默认):对伸缩组内的ECS实例做健康检查。
- id string
- Uniquely identifies the resource.
- instance
Terminate stringPolicy - 实例移除策略,1、OldestInstance:移出最早加入 (包括自动创建和手动添加)伸缩组的实例。2、NewestInstance:移出最晚加入(包括自动创建和手动添加)伸缩组的实例。3、OldestScalingConfigurationWithOldestInstance(默认):移出最早与伸缩组绑定的伸缩配置中,最早由伸缩组 自动创建 的实例。4、OldestScalingConfigurationWithNewestInstance:移出最早与伸缩组绑定的伸缩配置中,最晚由伸缩组 自动创建 的实例。
- instances
Distribution GetScaling Group Instances Distribution - 实例分布策略。
- is
Enable booleanScaling Group - 是否启用伸缩组。true:启用。false:停止
- launch
Template stringId - 实例启动模板ID,配置后表示选择启动模版作为伸缩配置来源。
- launch
Template GetOverrides Scaling Group Launch Template Override[] - 实例启动模版信息。
- launch
Template stringVersion - 实例启动模板的版本。1、模板的某个版本号。2、Default(默认):始终使用模板默认版本。3、Latest:始终使用模板最新版本。
- lifecycle
State string - 伸缩组的状态。Active:已启用。InActive:未激活。Deleting:删除中。Locked: 已锁定。CoolingDown: 冷却中。Unknown: 未知状态。
- load
Balancer numberHealth Check Grace Period - 伸缩组实例CLB健康状况检查宽限期。
- max
Instance numberNumber - 伸缩组中实例个数的最大值,默认取值0 ~ 100。您可以通过配额中心调整。
- min
Instance numberNumber - 伸缩组中实例个数的最小值,默认取值0 ~ 100。您可以通过配额中心调整。
- multi
Az stringPolicy - 扩缩容策略,如果您选择了多个子网,需配置本参数。1、PRIORITY(默认):优先级策略。2、BALANCE:均衡分布策略。
- project
Name string - 伸缩组所属项目,默认为default。一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
- scaling
Group stringId - 伸缩组ID。
- scaling
Group stringName - 伸缩组名称,同一地域下伸缩组名称唯一。只能以中文、字母开头,只能包含中文、字母、数字、下划线和中划线 。长度限制为1 ~ 128个字符。暂不支持特殊字符。
- scaling
Mode string - 伸缩组的实例回收模式。1、release(默认):释放模式。2、recycle:停机回收模式。
- server
Group GetAttributes Scaling Group Server Group Attribute[] - 伸缩组关联的负载均衡信息。
- stopped
Instance numberCount - 伸缩组内处于停用中状态的实例数量。
- subnet
Ids string[] - 伸缩组中实例主网卡的子网ID列表。
- suspended
Processes string[] - 暂停中的流程,无暂停中流程则返回空值。ScaleIn:缩容流程。ScaleOut:扩容流程。HealthCheck:健康检查。AlarmNotification:报警任务。ScheduledAction:定时任务。
-
Get
Scaling Group Tag[] - 标签列表。
- total
Instance numberCount - 当前伸缩组内实例的个数。
- updated
Time string - 伸缩组更新时间。
- vpc
Id string - 伸缩组所属私有网络ID。
- active_
scaling_ strconfiguration_ id - 伸缩组绑定的伸缩配置的ID。
- created_
time str - 伸缩组创建时间。
- db_
instance_ Sequence[str]ids - RDS数据库实例的ID。
- default_
cooldown int - 执行一次伸缩活动(添加或移出ECS实例)结束后的冷却时间。冷却时间内,该伸缩组不执行其它的伸缩活动,仅针对云监控报警任务触发的伸缩活动和伸缩规则有效。取值范围:5 ~ 86400,单位:秒。默认值:300。
- desire_
instance_ intnumber - 伸缩组中期望运行的实例个数。1、不小于最小实例数MinInstanceNumber且不大于最大实例数MaxInstanceNumber。2、默认值:-1,表示不开启期望实例数能力。此时,伸缩组创建完成后会立即开始伸缩活动自动添加相应个数的实例。
- health_
check_ strtype - 伸缩组的健康检查方式。1、NONE:不做实例健康状态检查。2、ECS(默认):对伸缩组内的ECS实例做健康检查。
- id str
- Uniquely identifies the resource.
- instance_
terminate_ strpolicy - 实例移除策略,1、OldestInstance:移出最早加入 (包括自动创建和手动添加)伸缩组的实例。2、NewestInstance:移出最晚加入(包括自动创建和手动添加)伸缩组的实例。3、OldestScalingConfigurationWithOldestInstance(默认):移出最早与伸缩组绑定的伸缩配置中,最早由伸缩组 自动创建 的实例。4、OldestScalingConfigurationWithNewestInstance:移出最早与伸缩组绑定的伸缩配置中,最晚由伸缩组 自动创建 的实例。
- instances_
distribution GetScaling Group Instances Distribution - 实例分布策略。
- is_
enable_ boolscaling_ group - 是否启用伸缩组。true:启用。false:停止
- launch_
template_ strid - 实例启动模板ID,配置后表示选择启动模版作为伸缩配置来源。
- launch_
template_ Sequence[Getoverrides Scaling Group Launch Template Override] - 实例启动模版信息。
- launch_
template_ strversion - 实例启动模板的版本。1、模板的某个版本号。2、Default(默认):始终使用模板默认版本。3、Latest:始终使用模板最新版本。
- lifecycle_
state str - 伸缩组的状态。Active:已启用。InActive:未激活。Deleting:删除中。Locked: 已锁定。CoolingDown: 冷却中。Unknown: 未知状态。
- load_
balancer_ inthealth_ check_ grace_ period - 伸缩组实例CLB健康状况检查宽限期。
- max_
instance_ intnumber - 伸缩组中实例个数的最大值,默认取值0 ~ 100。您可以通过配额中心调整。
- min_
instance_ intnumber - 伸缩组中实例个数的最小值,默认取值0 ~ 100。您可以通过配额中心调整。
- multi_
az_ strpolicy - 扩缩容策略,如果您选择了多个子网,需配置本参数。1、PRIORITY(默认):优先级策略。2、BALANCE:均衡分布策略。
- project_
name str - 伸缩组所属项目,默认为default。一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
- scaling_
group_ strid - 伸缩组ID。
- scaling_
group_ strname - 伸缩组名称,同一地域下伸缩组名称唯一。只能以中文、字母开头,只能包含中文、字母、数字、下划线和中划线 。长度限制为1 ~ 128个字符。暂不支持特殊字符。
- scaling_
mode str - 伸缩组的实例回收模式。1、release(默认):释放模式。2、recycle:停机回收模式。
- server_
group_ Sequence[Getattributes Scaling Group Server Group Attribute] - 伸缩组关联的负载均衡信息。
- stopped_
instance_ intcount - 伸缩组内处于停用中状态的实例数量。
- subnet_
ids Sequence[str] - 伸缩组中实例主网卡的子网ID列表。
- suspended_
processes Sequence[str] - 暂停中的流程,无暂停中流程则返回空值。ScaleIn:缩容流程。ScaleOut:扩容流程。HealthCheck:健康检查。AlarmNotification:报警任务。ScheduledAction:定时任务。
-
Sequence[Get
Scaling Group Tag] - 标签列表。
- total_
instance_ intcount - 当前伸缩组内实例的个数。
- updated_
time str - 伸缩组更新时间。
- vpc_
id str - 伸缩组所属私有网络ID。
- active
Scaling StringConfiguration Id - 伸缩组绑定的伸缩配置的ID。
- created
Time String - 伸缩组创建时间。
- db
Instance List<String>Ids - RDS数据库实例的ID。
- default
Cooldown Number - 执行一次伸缩活动(添加或移出ECS实例)结束后的冷却时间。冷却时间内,该伸缩组不执行其它的伸缩活动,仅针对云监控报警任务触发的伸缩活动和伸缩规则有效。取值范围:5 ~ 86400,单位:秒。默认值:300。
- desire
Instance NumberNumber - 伸缩组中期望运行的实例个数。1、不小于最小实例数MinInstanceNumber且不大于最大实例数MaxInstanceNumber。2、默认值:-1,表示不开启期望实例数能力。此时,伸缩组创建完成后会立即开始伸缩活动自动添加相应个数的实例。
- health
Check StringType - 伸缩组的健康检查方式。1、NONE:不做实例健康状态检查。2、ECS(默认):对伸缩组内的ECS实例做健康检查。
- id String
- Uniquely identifies the resource.
- instance
Terminate StringPolicy - 实例移除策略,1、OldestInstance:移出最早加入 (包括自动创建和手动添加)伸缩组的实例。2、NewestInstance:移出最晚加入(包括自动创建和手动添加)伸缩组的实例。3、OldestScalingConfigurationWithOldestInstance(默认):移出最早与伸缩组绑定的伸缩配置中,最早由伸缩组 自动创建 的实例。4、OldestScalingConfigurationWithNewestInstance:移出最早与伸缩组绑定的伸缩配置中,最晚由伸缩组 自动创建 的实例。
- instances
Distribution Property Map - 实例分布策略。
- is
Enable BooleanScaling Group - 是否启用伸缩组。true:启用。false:停止
- launch
Template StringId - 实例启动模板ID,配置后表示选择启动模版作为伸缩配置来源。
- launch
Template List<Property Map>Overrides - 实例启动模版信息。
- launch
Template StringVersion - 实例启动模板的版本。1、模板的某个版本号。2、Default(默认):始终使用模板默认版本。3、Latest:始终使用模板最新版本。
- lifecycle
State String - 伸缩组的状态。Active:已启用。InActive:未激活。Deleting:删除中。Locked: 已锁定。CoolingDown: 冷却中。Unknown: 未知状态。
- load
Balancer NumberHealth Check Grace Period - 伸缩组实例CLB健康状况检查宽限期。
- max
Instance NumberNumber - 伸缩组中实例个数的最大值,默认取值0 ~ 100。您可以通过配额中心调整。
- min
Instance NumberNumber - 伸缩组中实例个数的最小值,默认取值0 ~ 100。您可以通过配额中心调整。
- multi
Az StringPolicy - 扩缩容策略,如果您选择了多个子网,需配置本参数。1、PRIORITY(默认):优先级策略。2、BALANCE:均衡分布策略。
- project
Name String - 伸缩组所属项目,默认为default。一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
- scaling
Group StringId - 伸缩组ID。
- scaling
Group StringName - 伸缩组名称,同一地域下伸缩组名称唯一。只能以中文、字母开头,只能包含中文、字母、数字、下划线和中划线 。长度限制为1 ~ 128个字符。暂不支持特殊字符。
- scaling
Mode String - 伸缩组的实例回收模式。1、release(默认):释放模式。2、recycle:停机回收模式。
- server
Group List<Property Map>Attributes - 伸缩组关联的负载均衡信息。
- stopped
Instance NumberCount - 伸缩组内处于停用中状态的实例数量。
- subnet
Ids List<String> - 伸缩组中实例主网卡的子网ID列表。
- suspended
Processes List<String> - 暂停中的流程,无暂停中流程则返回空值。ScaleIn:缩容流程。ScaleOut:扩容流程。HealthCheck:健康检查。AlarmNotification:报警任务。ScheduledAction:定时任务。
- List<Property Map>
- 标签列表。
- total
Instance NumberCount - 当前伸缩组内实例的个数。
- updated
Time String - 伸缩组更新时间。
- vpc
Id String - 伸缩组所属私有网络ID。
Supporting Types
GetScalingGroupInstancesDistribution
- Compensate
With boolOn Demand - 当因价格、库存等原因无法创建足够的抢占式实例时,是否允许使用按量实例补充抢占式容量。true: 允许。false(默认): 不允许。
- On
Demand intBase Capacity - 伸缩组中按量计费实例个数的最小值,取值范围:0~2000。当组中按量计费实例个数少于该值时,将优先创建按量计费的实例。
- On
Demand intPercentage Above Base Capacity - 伸缩组满足最小按量实例数要求后,超出的实例中按量实例应占的比例,取值范围:0~100。
- Spot
Instance boolRemedy - 是否允许抢占式实例到期替换。开启则表示在抢占式实例被回收前5分钟左右,伸缩组将主动新建新的抢占式实例替换掉当前抢占式实例。true: 允许。false(默认): 不允许。
- Compensate
With boolOn Demand - 当因价格、库存等原因无法创建足够的抢占式实例时,是否允许使用按量实例补充抢占式容量。true: 允许。false(默认): 不允许。
- On
Demand intBase Capacity - 伸缩组中按量计费实例个数的最小值,取值范围:0~2000。当组中按量计费实例个数少于该值时,将优先创建按量计费的实例。
- On
Demand intPercentage Above Base Capacity - 伸缩组满足最小按量实例数要求后,超出的实例中按量实例应占的比例,取值范围:0~100。
- Spot
Instance boolRemedy - 是否允许抢占式实例到期替换。开启则表示在抢占式实例被回收前5分钟左右,伸缩组将主动新建新的抢占式实例替换掉当前抢占式实例。true: 允许。false(默认): 不允许。
- compensate
With BooleanOn Demand - 当因价格、库存等原因无法创建足够的抢占式实例时,是否允许使用按量实例补充抢占式容量。true: 允许。false(默认): 不允许。
- on
Demand IntegerBase Capacity - 伸缩组中按量计费实例个数的最小值,取值范围:0~2000。当组中按量计费实例个数少于该值时,将优先创建按量计费的实例。
- on
Demand IntegerPercentage Above Base Capacity - 伸缩组满足最小按量实例数要求后,超出的实例中按量实例应占的比例,取值范围:0~100。
- spot
Instance BooleanRemedy - 是否允许抢占式实例到期替换。开启则表示在抢占式实例被回收前5分钟左右,伸缩组将主动新建新的抢占式实例替换掉当前抢占式实例。true: 允许。false(默认): 不允许。
- compensate
With booleanOn Demand - 当因价格、库存等原因无法创建足够的抢占式实例时,是否允许使用按量实例补充抢占式容量。true: 允许。false(默认): 不允许。
- on
Demand numberBase Capacity - 伸缩组中按量计费实例个数的最小值,取值范围:0~2000。当组中按量计费实例个数少于该值时,将优先创建按量计费的实例。
- on
Demand numberPercentage Above Base Capacity - 伸缩组满足最小按量实例数要求后,超出的实例中按量实例应占的比例,取值范围:0~100。
- spot
Instance booleanRemedy - 是否允许抢占式实例到期替换。开启则表示在抢占式实例被回收前5分钟左右,伸缩组将主动新建新的抢占式实例替换掉当前抢占式实例。true: 允许。false(默认): 不允许。
- compensate_
with_ boolon_ demand - 当因价格、库存等原因无法创建足够的抢占式实例时,是否允许使用按量实例补充抢占式容量。true: 允许。false(默认): 不允许。
- on_
demand_ intbase_ capacity - 伸缩组中按量计费实例个数的最小值,取值范围:0~2000。当组中按量计费实例个数少于该值时,将优先创建按量计费的实例。
- on_
demand_ intpercentage_ above_ base_ capacity - 伸缩组满足最小按量实例数要求后,超出的实例中按量实例应占的比例,取值范围:0~100。
- spot_
instance_ boolremedy - 是否允许抢占式实例到期替换。开启则表示在抢占式实例被回收前5分钟左右,伸缩组将主动新建新的抢占式实例替换掉当前抢占式实例。true: 允许。false(默认): 不允许。
- compensate
With BooleanOn Demand - 当因价格、库存等原因无法创建足够的抢占式实例时,是否允许使用按量实例补充抢占式容量。true: 允许。false(默认): 不允许。
- on
Demand NumberBase Capacity - 伸缩组中按量计费实例个数的最小值,取值范围:0~2000。当组中按量计费实例个数少于该值时,将优先创建按量计费的实例。
- on
Demand NumberPercentage Above Base Capacity - 伸缩组满足最小按量实例数要求后,超出的实例中按量实例应占的比例,取值范围:0~100。
- spot
Instance BooleanRemedy - 是否允许抢占式实例到期替换。开启则表示在抢占式实例被回收前5分钟左右,伸缩组将主动新建新的抢占式实例替换掉当前抢占式实例。true: 允许。false(默认): 不允许。
GetScalingGroupLaunchTemplateOverride
- Instance
Type string - 指定实例规格。本参数仅当LaunchTemplateId参数存在取值时生有效。
- Price
Limit double - 指定抢占式实例规格每小时的最高价格。本参数仅当LaunchTemplateId参数存在取值,且启动模版的计费模式为设置出价上限的抢占式实例(即SpotWithPriceLimit)时有效。
- Weighted
Capacity int - 实例规格的权重。
- Instance
Type string - 指定实例规格。本参数仅当LaunchTemplateId参数存在取值时生有效。
- Price
Limit float64 - 指定抢占式实例规格每小时的最高价格。本参数仅当LaunchTemplateId参数存在取值,且启动模版的计费模式为设置出价上限的抢占式实例(即SpotWithPriceLimit)时有效。
- Weighted
Capacity int - 实例规格的权重。
- instance
Type String - 指定实例规格。本参数仅当LaunchTemplateId参数存在取值时生有效。
- price
Limit Double - 指定抢占式实例规格每小时的最高价格。本参数仅当LaunchTemplateId参数存在取值,且启动模版的计费模式为设置出价上限的抢占式实例(即SpotWithPriceLimit)时有效。
- weighted
Capacity Integer - 实例规格的权重。
- instance
Type string - 指定实例规格。本参数仅当LaunchTemplateId参数存在取值时生有效。
- price
Limit number - 指定抢占式实例规格每小时的最高价格。本参数仅当LaunchTemplateId参数存在取值,且启动模版的计费模式为设置出价上限的抢占式实例(即SpotWithPriceLimit)时有效。
- weighted
Capacity number - 实例规格的权重。
- instance_
type str - 指定实例规格。本参数仅当LaunchTemplateId参数存在取值时生有效。
- price_
limit float - 指定抢占式实例规格每小时的最高价格。本参数仅当LaunchTemplateId参数存在取值,且启动模版的计费模式为设置出价上限的抢占式实例(即SpotWithPriceLimit)时有效。
- weighted_
capacity int - 实例规格的权重。
- instance
Type String - 指定实例规格。本参数仅当LaunchTemplateId参数存在取值时生有效。
- price
Limit Number - 指定抢占式实例规格每小时的最高价格。本参数仅当LaunchTemplateId参数存在取值,且启动模版的计费模式为设置出价上限的抢占式实例(即SpotWithPriceLimit)时有效。
- weighted
Capacity Number - 实例规格的权重。
GetScalingGroupServerGroupAttribute
- Load
Balancer stringId - 负载均衡实例的ID。
- Port int
- 负载均衡后端服务器组中服务器的端口号。取值1 ~ 65535。
- Server
Group stringId - 负载均衡后端服务器组的ID。
- Type string
- 负载均衡服务器组类型。单个CLB/ALB最多支持添加20个后端服务器组,所有CLB/ALB最多支持添加100个后端服务器。ALB:应用型负载均衡。CLB:传统型型负载均衡(默认)。
- Weight int
- 负载均衡后端服务器组中服务器的权重。
- Load
Balancer stringId - 负载均衡实例的ID。
- Port int
- 负载均衡后端服务器组中服务器的端口号。取值1 ~ 65535。
- Server
Group stringId - 负载均衡后端服务器组的ID。
- Type string
- 负载均衡服务器组类型。单个CLB/ALB最多支持添加20个后端服务器组,所有CLB/ALB最多支持添加100个后端服务器。ALB:应用型负载均衡。CLB:传统型型负载均衡(默认)。
- Weight int
- 负载均衡后端服务器组中服务器的权重。
- load
Balancer StringId - 负载均衡实例的ID。
- port Integer
- 负载均衡后端服务器组中服务器的端口号。取值1 ~ 65535。
- server
Group StringId - 负载均衡后端服务器组的ID。
- type String
- 负载均衡服务器组类型。单个CLB/ALB最多支持添加20个后端服务器组,所有CLB/ALB最多支持添加100个后端服务器。ALB:应用型负载均衡。CLB:传统型型负载均衡(默认)。
- weight Integer
- 负载均衡后端服务器组中服务器的权重。
- load
Balancer stringId - 负载均衡实例的ID。
- port number
- 负载均衡后端服务器组中服务器的端口号。取值1 ~ 65535。
- server
Group stringId - 负载均衡后端服务器组的ID。
- type string
- 负载均衡服务器组类型。单个CLB/ALB最多支持添加20个后端服务器组,所有CLB/ALB最多支持添加100个后端服务器。ALB:应用型负载均衡。CLB:传统型型负载均衡(默认)。
- weight number
- 负载均衡后端服务器组中服务器的权重。
- load_
balancer_ strid - 负载均衡实例的ID。
- port int
- 负载均衡后端服务器组中服务器的端口号。取值1 ~ 65535。
- server_
group_ strid - 负载均衡后端服务器组的ID。
- type str
- 负载均衡服务器组类型。单个CLB/ALB最多支持添加20个后端服务器组,所有CLB/ALB最多支持添加100个后端服务器。ALB:应用型负载均衡。CLB:传统型型负载均衡(默认)。
- weight int
- 负载均衡后端服务器组中服务器的权重。
- load
Balancer StringId - 负载均衡实例的ID。
- port Number
- 负载均衡后端服务器组中服务器的端口号。取值1 ~ 65535。
- server
Group StringId - 负载均衡后端服务器组的ID。
- type String
- 负载均衡服务器组类型。单个CLB/ALB最多支持添加20个后端服务器组,所有CLB/ALB最多支持添加100个后端服务器。ALB:应用型负载均衡。CLB:传统型型负载均衡(默认)。
- weight Number
- 负载均衡后端服务器组中服务器的权重。
GetScalingGroupTag
Package Details
- Repository
- bytepluscc byteplus-sdk/pulumi-bytepluscc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
byteplusccTerraform Provider.
bytepluscc v0.0.11 published on Wednesday, Jan 21, 2026 by Byteplus
