1. Packages
  2. Bytepluscc Provider
  3. API Docs
  4. autoscaling
  5. ScalingGroup
bytepluscc v0.0.11 published on Wednesday, Jan 21, 2026 by Byteplus
bytepluscc logo
bytepluscc v0.0.11 published on Wednesday, Jan 21, 2026 by Byteplus

    伸缩组用于管理一组云资源实例。通过伸缩组可以定义云资源池中的实例数/容量、冷却时间、负载均衡等信息。

    Example Usage

    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    resources:
      autoScalingScalingGroupDemo:
        type: bytepluscc: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,
                     instances_distribution: Optional[ScalingGroupInstancesDistributionArgs] = None,
                     health_check_type: Optional[str] = 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,
                     instance_terminate_policy: Optional[str] = None,
                     active_scaling_configuration_id: 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: bytepluscc: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.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var scalingGroupResource = new Bytepluscc.Autoscaling.ScalingGroup("scalingGroupResource", new()
    {
        MaxInstanceNumber = 0,
        SubnetIds = new[]
        {
            "string",
        },
        ScalingGroupName = "string",
        MinInstanceNumber = 0,
        InstancesDistribution = new Bytepluscc.Autoscaling.Inputs.ScalingGroupInstancesDistributionArgs
        {
            CompensateWithOnDemand = false,
            OnDemandBaseCapacity = 0,
            OnDemandPercentageAboveBaseCapacity = 0,
            SpotInstanceRemedy = false,
        },
        HealthCheckType = "string",
        IsEnableScalingGroup = false,
        LaunchTemplateId = "string",
        LaunchTemplateOverrides = new[]
        {
            new Bytepluscc.Autoscaling.Inputs.ScalingGroupLaunchTemplateOverrideArgs
            {
                InstanceType = "string",
                PriceLimit = 0,
            },
        },
        LaunchTemplateVersion = "string",
        InstanceTerminatePolicy = "string",
        ActiveScalingConfigurationId = "string",
        MultiAzPolicy = "string",
        ProjectName = "string",
        DesireInstanceNumber = 0,
        ScalingMode = "string",
        ServerGroupAttributes = new[]
        {
            new Bytepluscc.Autoscaling.Inputs.ScalingGroupServerGroupAttributeArgs
            {
                Port = 0,
                ServerGroupId = "string",
                Type = "string",
                Weight = 0,
            },
        },
        DefaultCooldown = 0,
        SuspendedProcesses = new[]
        {
            "string",
        },
        Tags = new[]
        {
            new Bytepluscc.Autoscaling.Inputs.ScalingGroupTagArgs
            {
                Key = "string",
                Value = "string",
            },
        },
    });
    
    example, err := autoscaling.NewScalingGroup(ctx, "scalingGroupResource", &autoscaling.ScalingGroupArgs{
    	MaxInstanceNumber: pulumi.Int(0),
    	SubnetIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ScalingGroupName:  pulumi.String("string"),
    	MinInstanceNumber: pulumi.Int(0),
    	InstancesDistribution: &autoscaling.ScalingGroupInstancesDistributionArgs{
    		CompensateWithOnDemand:              pulumi.Bool(false),
    		OnDemandBaseCapacity:                pulumi.Int(0),
    		OnDemandPercentageAboveBaseCapacity: pulumi.Int(0),
    		SpotInstanceRemedy:                  pulumi.Bool(false),
    	},
    	HealthCheckType:      pulumi.String("string"),
    	IsEnableScalingGroup: pulumi.Bool(false),
    	LaunchTemplateId:     pulumi.String("string"),
    	LaunchTemplateOverrides: autoscaling.ScalingGroupLaunchTemplateOverrideArray{
    		&autoscaling.ScalingGroupLaunchTemplateOverrideArgs{
    			InstanceType: pulumi.String("string"),
    			PriceLimit:   pulumi.Float64(0),
    		},
    	},
    	LaunchTemplateVersion:        pulumi.String("string"),
    	InstanceTerminatePolicy:      pulumi.String("string"),
    	ActiveScalingConfigurationId: pulumi.String("string"),
    	MultiAzPolicy:                pulumi.String("string"),
    	ProjectName:                  pulumi.String("string"),
    	DesireInstanceNumber:         pulumi.Int(0),
    	ScalingMode:                  pulumi.String("string"),
    	ServerGroupAttributes: autoscaling.ScalingGroupServerGroupAttributeArray{
    		&autoscaling.ScalingGroupServerGroupAttributeArgs{
    			Port:          pulumi.Int(0),
    			ServerGroupId: pulumi.String("string"),
    			Type:          pulumi.String("string"),
    			Weight:        pulumi.Int(0),
    		},
    	},
    	DefaultCooldown: pulumi.Int(0),
    	SuspendedProcesses: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Tags: autoscaling.ScalingGroupTagArray{
    		&autoscaling.ScalingGroupTagArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    })
    
    var scalingGroupResource = new ScalingGroup("scalingGroupResource", ScalingGroupArgs.builder()
        .maxInstanceNumber(0)
        .subnetIds("string")
        .scalingGroupName("string")
        .minInstanceNumber(0)
        .instancesDistribution(ScalingGroupInstancesDistributionArgs.builder()
            .compensateWithOnDemand(false)
            .onDemandBaseCapacity(0)
            .onDemandPercentageAboveBaseCapacity(0)
            .spotInstanceRemedy(false)
            .build())
        .healthCheckType("string")
        .isEnableScalingGroup(false)
        .launchTemplateId("string")
        .launchTemplateOverrides(ScalingGroupLaunchTemplateOverrideArgs.builder()
            .instanceType("string")
            .priceLimit(0.0)
            .build())
        .launchTemplateVersion("string")
        .instanceTerminatePolicy("string")
        .activeScalingConfigurationId("string")
        .multiAzPolicy("string")
        .projectName("string")
        .desireInstanceNumber(0)
        .scalingMode("string")
        .serverGroupAttributes(ScalingGroupServerGroupAttributeArgs.builder()
            .port(0)
            .serverGroupId("string")
            .type("string")
            .weight(0)
            .build())
        .defaultCooldown(0)
        .suspendedProcesses("string")
        .tags(ScalingGroupTagArgs.builder()
            .key("string")
            .value("string")
            .build())
        .build());
    
    scaling_group_resource = bytepluscc.autoscaling.ScalingGroup("scalingGroupResource",
        max_instance_number=0,
        subnet_ids=["string"],
        scaling_group_name="string",
        min_instance_number=0,
        instances_distribution={
            "compensate_with_on_demand": False,
            "on_demand_base_capacity": 0,
            "on_demand_percentage_above_base_capacity": 0,
            "spot_instance_remedy": False,
        },
        health_check_type="string",
        is_enable_scaling_group=False,
        launch_template_id="string",
        launch_template_overrides=[{
            "instance_type": "string",
            "price_limit": 0,
        }],
        launch_template_version="string",
        instance_terminate_policy="string",
        active_scaling_configuration_id="string",
        multi_az_policy="string",
        project_name="string",
        desire_instance_number=0,
        scaling_mode="string",
        server_group_attributes=[{
            "port": 0,
            "server_group_id": "string",
            "type": "string",
            "weight": 0,
        }],
        default_cooldown=0,
        suspended_processes=["string"],
        tags=[{
            "key": "string",
            "value": "string",
        }])
    
    const scalingGroupResource = new bytepluscc.autoscaling.ScalingGroup("scalingGroupResource", {
        maxInstanceNumber: 0,
        subnetIds: ["string"],
        scalingGroupName: "string",
        minInstanceNumber: 0,
        instancesDistribution: {
            compensateWithOnDemand: false,
            onDemandBaseCapacity: 0,
            onDemandPercentageAboveBaseCapacity: 0,
            spotInstanceRemedy: false,
        },
        healthCheckType: "string",
        isEnableScalingGroup: false,
        launchTemplateId: "string",
        launchTemplateOverrides: [{
            instanceType: "string",
            priceLimit: 0,
        }],
        launchTemplateVersion: "string",
        instanceTerminatePolicy: "string",
        activeScalingConfigurationId: "string",
        multiAzPolicy: "string",
        projectName: "string",
        desireInstanceNumber: 0,
        scalingMode: "string",
        serverGroupAttributes: [{
            port: 0,
            serverGroupId: "string",
            type: "string",
            weight: 0,
        }],
        defaultCooldown: 0,
        suspendedProcesses: ["string"],
        tags: [{
            key: "string",
            value: "string",
        }],
    });
    
    type: bytepluscc:autoscaling:ScalingGroup
    properties:
        activeScalingConfigurationId: string
        defaultCooldown: 0
        desireInstanceNumber: 0
        healthCheckType: string
        instanceTerminatePolicy: string
        instancesDistribution:
            compensateWithOnDemand: false
            onDemandBaseCapacity: 0
            onDemandPercentageAboveBaseCapacity: 0
            spotInstanceRemedy: false
        isEnableScalingGroup: false
        launchTemplateId: string
        launchTemplateOverrides:
            - instanceType: string
              priceLimit: 0
        launchTemplateVersion: string
        maxInstanceNumber: 0
        minInstanceNumber: 0
        multiAzPolicy: string
        projectName: string
        scalingGroupName: string
        scalingMode: string
        serverGroupAttributes:
            - port: 0
              serverGroupId: string
              type: string
              weight: 0
        subnetIds:
            - string
        suspendedProcesses:
            - string
        tags:
            - key: string
              value: string
    

    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:

    MaxInstanceNumber int
    伸缩组中实例个数的最大值,默认取值0 ~ 100。您可以通过配额中心调整。
    MinInstanceNumber int
    伸缩组中实例个数的最小值,默认取值0 ~ 100。您可以通过配额中心调整。
    ScalingGroupName string
    伸缩组名称,同一地域下伸缩组名称唯一。只能以中文、字母开头,只能包含中文、字母、数字、下划线和中划线 。长度限制为1 ~ 128个字符。暂不支持特殊字符。
    SubnetIds List<string>
    伸缩组中实例主网卡的子网ID列表。
    ActiveScalingConfigurationId string
    伸缩组绑定的伸缩配置的ID。
    DefaultCooldown int
    执行一次伸缩活动(添加或移出ECS实例)结束后的冷却时间。冷却时间内,该伸缩组不执行其它的伸缩活动,仅针对云监控报警任务触发的伸缩活动和伸缩规则有效。取值范围:5 ~ 86400,单位:秒。默认值:300。
    DesireInstanceNumber int
    伸缩组中期望运行的实例个数。1、不小于最小实例数MinInstanceNumber且不大于最大实例数MaxInstanceNumber。2、默认值:-1,表示不开启期望实例数能力。此时,伸缩组创建完成后会立即开始伸缩活动自动添加相应个数的实例。
    HealthCheckType string
    伸缩组的健康检查方式。1、NONE:不做实例健康状态检查。2、ECS(默认):对伸缩组内的ECS实例做健康检查。
    InstanceTerminatePolicy string
    实例移除策略,1、OldestInstance:移出最早加入 (包括自动创建和手动添加)伸缩组的实例。2、NewestInstance:移出最晚加入(包括自动创建和手动添加)伸缩组的实例。3、OldestScalingConfigurationWithOldestInstance(默认):移出最早与伸缩组绑定的伸缩配置中,最早由伸缩组 自动创建 的实例。4、OldestScalingConfigurationWithNewestInstance:移出最早与伸缩组绑定的伸缩配置中,最晚由伸缩组 自动创建 的实例。
    InstancesDistribution Byteplus.ScalingGroupInstancesDistribution
    实例分布策略。
    IsEnableScalingGroup bool
    是否启用伸缩组。true:启用。false:停止
    LaunchTemplateId string
    实例启动模板ID,配置后表示选择启动模版作为伸缩配置来源。
    LaunchTemplateOverrides List<Byteplus.ScalingGroupLaunchTemplateOverride>
    LaunchTemplateVersion string
    实例启动模板的版本。1、模板的某个版本号。2、Default(默认):始终使用模板默认版本。3、Latest:始终使用模板最新版本。
    MultiAzPolicy string
    扩缩容策略,如果您选择了多个子网,需配置本参数。1、PRIORITY(默认):优先级策略。2、BALANCE:均衡分布策略。
    ProjectName string
    伸缩组所属项目,默认为default。一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
    ScalingMode string
    伸缩组的实例回收模式。1、release(默认):释放模式。2、recycle:停机回收模式。
    ServerGroupAttributes List<Byteplus.ScalingGroupServerGroupAttribute>
    SuspendedProcesses List<string>
    暂停中的流程,无暂停中流程则返回空值。ScaleIn:缩容流程。ScaleOut:扩容流程。HealthCheck:健康检查。AlarmNotification:报警任务。ScheduledAction:定时任务。
    Tags List<Byteplus.ScalingGroupTag>
    MaxInstanceNumber int
    伸缩组中实例个数的最大值,默认取值0 ~ 100。您可以通过配额中心调整。
    MinInstanceNumber int
    伸缩组中实例个数的最小值,默认取值0 ~ 100。您可以通过配额中心调整。
    ScalingGroupName string
    伸缩组名称,同一地域下伸缩组名称唯一。只能以中文、字母开头,只能包含中文、字母、数字、下划线和中划线 。长度限制为1 ~ 128个字符。暂不支持特殊字符。
    SubnetIds []string
    伸缩组中实例主网卡的子网ID列表。
    ActiveScalingConfigurationId string
    伸缩组绑定的伸缩配置的ID。
    DefaultCooldown int
    执行一次伸缩活动(添加或移出ECS实例)结束后的冷却时间。冷却时间内,该伸缩组不执行其它的伸缩活动,仅针对云监控报警任务触发的伸缩活动和伸缩规则有效。取值范围:5 ~ 86400,单位:秒。默认值:300。
    DesireInstanceNumber int
    伸缩组中期望运行的实例个数。1、不小于最小实例数MinInstanceNumber且不大于最大实例数MaxInstanceNumber。2、默认值:-1,表示不开启期望实例数能力。此时,伸缩组创建完成后会立即开始伸缩活动自动添加相应个数的实例。
    HealthCheckType string
    伸缩组的健康检查方式。1、NONE:不做实例健康状态检查。2、ECS(默认):对伸缩组内的ECS实例做健康检查。
    InstanceTerminatePolicy string
    实例移除策略,1、OldestInstance:移出最早加入 (包括自动创建和手动添加)伸缩组的实例。2、NewestInstance:移出最晚加入(包括自动创建和手动添加)伸缩组的实例。3、OldestScalingConfigurationWithOldestInstance(默认):移出最早与伸缩组绑定的伸缩配置中,最早由伸缩组 自动创建 的实例。4、OldestScalingConfigurationWithNewestInstance:移出最早与伸缩组绑定的伸缩配置中,最晚由伸缩组 自动创建 的实例。
    InstancesDistribution ScalingGroupInstancesDistributionArgs
    实例分布策略。
    IsEnableScalingGroup bool
    是否启用伸缩组。true:启用。false:停止
    LaunchTemplateId string
    实例启动模板ID,配置后表示选择启动模版作为伸缩配置来源。
    LaunchTemplateOverrides []ScalingGroupLaunchTemplateOverrideArgs
    LaunchTemplateVersion string
    实例启动模板的版本。1、模板的某个版本号。2、Default(默认):始终使用模板默认版本。3、Latest:始终使用模板最新版本。
    MultiAzPolicy string
    扩缩容策略,如果您选择了多个子网,需配置本参数。1、PRIORITY(默认):优先级策略。2、BALANCE:均衡分布策略。
    ProjectName string
    伸缩组所属项目,默认为default。一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
    ScalingMode string
    伸缩组的实例回收模式。1、release(默认):释放模式。2、recycle:停机回收模式。
    ServerGroupAttributes []ScalingGroupServerGroupAttributeArgs
    SuspendedProcesses []string
    暂停中的流程,无暂停中流程则返回空值。ScaleIn:缩容流程。ScaleOut:扩容流程。HealthCheck:健康检查。AlarmNotification:报警任务。ScheduledAction:定时任务。
    Tags []ScalingGroupTagArgs
    maxInstanceNumber Integer
    伸缩组中实例个数的最大值,默认取值0 ~ 100。您可以通过配额中心调整。
    minInstanceNumber Integer
    伸缩组中实例个数的最小值,默认取值0 ~ 100。您可以通过配额中心调整。
    scalingGroupName String
    伸缩组名称,同一地域下伸缩组名称唯一。只能以中文、字母开头,只能包含中文、字母、数字、下划线和中划线 。长度限制为1 ~ 128个字符。暂不支持特殊字符。
    subnetIds List<String>
    伸缩组中实例主网卡的子网ID列表。
    activeScalingConfigurationId String
    伸缩组绑定的伸缩配置的ID。
    defaultCooldown Integer
    执行一次伸缩活动(添加或移出ECS实例)结束后的冷却时间。冷却时间内,该伸缩组不执行其它的伸缩活动,仅针对云监控报警任务触发的伸缩活动和伸缩规则有效。取值范围:5 ~ 86400,单位:秒。默认值:300。
    desireInstanceNumber Integer
    伸缩组中期望运行的实例个数。1、不小于最小实例数MinInstanceNumber且不大于最大实例数MaxInstanceNumber。2、默认值:-1,表示不开启期望实例数能力。此时,伸缩组创建完成后会立即开始伸缩活动自动添加相应个数的实例。
    healthCheckType String
    伸缩组的健康检查方式。1、NONE:不做实例健康状态检查。2、ECS(默认):对伸缩组内的ECS实例做健康检查。
    instanceTerminatePolicy String
    实例移除策略,1、OldestInstance:移出最早加入 (包括自动创建和手动添加)伸缩组的实例。2、NewestInstance:移出最晚加入(包括自动创建和手动添加)伸缩组的实例。3、OldestScalingConfigurationWithOldestInstance(默认):移出最早与伸缩组绑定的伸缩配置中,最早由伸缩组 自动创建 的实例。4、OldestScalingConfigurationWithNewestInstance:移出最早与伸缩组绑定的伸缩配置中,最晚由伸缩组 自动创建 的实例。
    instancesDistribution ScalingGroupInstancesDistribution
    实例分布策略。
    isEnableScalingGroup Boolean
    是否启用伸缩组。true:启用。false:停止
    launchTemplateId String
    实例启动模板ID,配置后表示选择启动模版作为伸缩配置来源。
    launchTemplateOverrides List<ScalingGroupLaunchTemplateOverride>
    launchTemplateVersion String
    实例启动模板的版本。1、模板的某个版本号。2、Default(默认):始终使用模板默认版本。3、Latest:始终使用模板最新版本。
    multiAzPolicy String
    扩缩容策略,如果您选择了多个子网,需配置本参数。1、PRIORITY(默认):优先级策略。2、BALANCE:均衡分布策略。
    projectName String
    伸缩组所属项目,默认为default。一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
    scalingMode String
    伸缩组的实例回收模式。1、release(默认):释放模式。2、recycle:停机回收模式。
    serverGroupAttributes List<ScalingGroupServerGroupAttribute>
    suspendedProcesses List<String>
    暂停中的流程,无暂停中流程则返回空值。ScaleIn:缩容流程。ScaleOut:扩容流程。HealthCheck:健康检查。AlarmNotification:报警任务。ScheduledAction:定时任务。
    tags List<ScalingGroupTag>
    maxInstanceNumber number
    伸缩组中实例个数的最大值,默认取值0 ~ 100。您可以通过配额中心调整。
    minInstanceNumber number
    伸缩组中实例个数的最小值,默认取值0 ~ 100。您可以通过配额中心调整。
    scalingGroupName string
    伸缩组名称,同一地域下伸缩组名称唯一。只能以中文、字母开头,只能包含中文、字母、数字、下划线和中划线 。长度限制为1 ~ 128个字符。暂不支持特殊字符。
    subnetIds string[]
    伸缩组中实例主网卡的子网ID列表。
    activeScalingConfigurationId string
    伸缩组绑定的伸缩配置的ID。
    defaultCooldown number
    执行一次伸缩活动(添加或移出ECS实例)结束后的冷却时间。冷却时间内,该伸缩组不执行其它的伸缩活动,仅针对云监控报警任务触发的伸缩活动和伸缩规则有效。取值范围:5 ~ 86400,单位:秒。默认值:300。
    desireInstanceNumber number
    伸缩组中期望运行的实例个数。1、不小于最小实例数MinInstanceNumber且不大于最大实例数MaxInstanceNumber。2、默认值:-1,表示不开启期望实例数能力。此时,伸缩组创建完成后会立即开始伸缩活动自动添加相应个数的实例。
    healthCheckType string
    伸缩组的健康检查方式。1、NONE:不做实例健康状态检查。2、ECS(默认):对伸缩组内的ECS实例做健康检查。
    instanceTerminatePolicy string
    实例移除策略,1、OldestInstance:移出最早加入 (包括自动创建和手动添加)伸缩组的实例。2、NewestInstance:移出最晚加入(包括自动创建和手动添加)伸缩组的实例。3、OldestScalingConfigurationWithOldestInstance(默认):移出最早与伸缩组绑定的伸缩配置中,最早由伸缩组 自动创建 的实例。4、OldestScalingConfigurationWithNewestInstance:移出最早与伸缩组绑定的伸缩配置中,最晚由伸缩组 自动创建 的实例。
    instancesDistribution ScalingGroupInstancesDistribution
    实例分布策略。
    isEnableScalingGroup boolean
    是否启用伸缩组。true:启用。false:停止
    launchTemplateId string
    实例启动模板ID,配置后表示选择启动模版作为伸缩配置来源。
    launchTemplateOverrides ScalingGroupLaunchTemplateOverride[]
    launchTemplateVersion string
    实例启动模板的版本。1、模板的某个版本号。2、Default(默认):始终使用模板默认版本。3、Latest:始终使用模板最新版本。
    multiAzPolicy string
    扩缩容策略,如果您选择了多个子网,需配置本参数。1、PRIORITY(默认):优先级策略。2、BALANCE:均衡分布策略。
    projectName string
    伸缩组所属项目,默认为default。一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
    scalingMode string
    伸缩组的实例回收模式。1、release(默认):释放模式。2、recycle:停机回收模式。
    serverGroupAttributes ScalingGroupServerGroupAttribute[]
    suspendedProcesses string[]
    暂停中的流程,无暂停中流程则返回空值。ScaleIn:缩容流程。ScaleOut:扩容流程。HealthCheck:健康检查。AlarmNotification:报警任务。ScheduledAction:定时任务。
    tags ScalingGroupTag[]
    max_instance_number int
    伸缩组中实例个数的最大值,默认取值0 ~ 100。您可以通过配额中心调整。
    min_instance_number int
    伸缩组中实例个数的最小值,默认取值0 ~ 100。您可以通过配额中心调整。
    scaling_group_name str
    伸缩组名称,同一地域下伸缩组名称唯一。只能以中文、字母开头,只能包含中文、字母、数字、下划线和中划线 。长度限制为1 ~ 128个字符。暂不支持特殊字符。
    subnet_ids Sequence[str]
    伸缩组中实例主网卡的子网ID列表。
    active_scaling_configuration_id str
    伸缩组绑定的伸缩配置的ID。
    default_cooldown int
    执行一次伸缩活动(添加或移出ECS实例)结束后的冷却时间。冷却时间内,该伸缩组不执行其它的伸缩活动,仅针对云监控报警任务触发的伸缩活动和伸缩规则有效。取值范围:5 ~ 86400,单位:秒。默认值:300。
    desire_instance_number int
    伸缩组中期望运行的实例个数。1、不小于最小实例数MinInstanceNumber且不大于最大实例数MaxInstanceNumber。2、默认值:-1,表示不开启期望实例数能力。此时,伸缩组创建完成后会立即开始伸缩活动自动添加相应个数的实例。
    health_check_type str
    伸缩组的健康检查方式。1、NONE:不做实例健康状态检查。2、ECS(默认):对伸缩组内的ECS实例做健康检查。
    instance_terminate_policy str
    实例移除策略,1、OldestInstance:移出最早加入 (包括自动创建和手动添加)伸缩组的实例。2、NewestInstance:移出最晚加入(包括自动创建和手动添加)伸缩组的实例。3、OldestScalingConfigurationWithOldestInstance(默认):移出最早与伸缩组绑定的伸缩配置中,最早由伸缩组 自动创建 的实例。4、OldestScalingConfigurationWithNewestInstance:移出最早与伸缩组绑定的伸缩配置中,最晚由伸缩组 自动创建 的实例。
    instances_distribution ScalingGroupInstancesDistributionArgs
    实例分布策略。
    is_enable_scaling_group bool
    是否启用伸缩组。true:启用。false:停止
    launch_template_id str
    实例启动模板ID,配置后表示选择启动模版作为伸缩配置来源。
    launch_template_overrides Sequence[ScalingGroupLaunchTemplateOverrideArgs]
    launch_template_version str
    实例启动模板的版本。1、模板的某个版本号。2、Default(默认):始终使用模板默认版本。3、Latest:始终使用模板最新版本。
    multi_az_policy str
    扩缩容策略,如果您选择了多个子网,需配置本参数。1、PRIORITY(默认):优先级策略。2、BALANCE:均衡分布策略。
    project_name str
    伸缩组所属项目,默认为default。一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
    scaling_mode str
    伸缩组的实例回收模式。1、release(默认):释放模式。2、recycle:停机回收模式。
    server_group_attributes Sequence[ScalingGroupServerGroupAttributeArgs]
    suspended_processes Sequence[str]
    暂停中的流程,无暂停中流程则返回空值。ScaleIn:缩容流程。ScaleOut:扩容流程。HealthCheck:健康检查。AlarmNotification:报警任务。ScheduledAction:定时任务。
    tags Sequence[ScalingGroupTagArgs]
    maxInstanceNumber Number
    伸缩组中实例个数的最大值,默认取值0 ~ 100。您可以通过配额中心调整。
    minInstanceNumber Number
    伸缩组中实例个数的最小值,默认取值0 ~ 100。您可以通过配额中心调整。
    scalingGroupName String
    伸缩组名称,同一地域下伸缩组名称唯一。只能以中文、字母开头,只能包含中文、字母、数字、下划线和中划线 。长度限制为1 ~ 128个字符。暂不支持特殊字符。
    subnetIds List<String>
    伸缩组中实例主网卡的子网ID列表。
    activeScalingConfigurationId String
    伸缩组绑定的伸缩配置的ID。
    defaultCooldown Number
    执行一次伸缩活动(添加或移出ECS实例)结束后的冷却时间。冷却时间内,该伸缩组不执行其它的伸缩活动,仅针对云监控报警任务触发的伸缩活动和伸缩规则有效。取值范围:5 ~ 86400,单位:秒。默认值:300。
    desireInstanceNumber Number
    伸缩组中期望运行的实例个数。1、不小于最小实例数MinInstanceNumber且不大于最大实例数MaxInstanceNumber。2、默认值:-1,表示不开启期望实例数能力。此时,伸缩组创建完成后会立即开始伸缩活动自动添加相应个数的实例。
    healthCheckType String
    伸缩组的健康检查方式。1、NONE:不做实例健康状态检查。2、ECS(默认):对伸缩组内的ECS实例做健康检查。
    instanceTerminatePolicy String
    实例移除策略,1、OldestInstance:移出最早加入 (包括自动创建和手动添加)伸缩组的实例。2、NewestInstance:移出最晚加入(包括自动创建和手动添加)伸缩组的实例。3、OldestScalingConfigurationWithOldestInstance(默认):移出最早与伸缩组绑定的伸缩配置中,最早由伸缩组 自动创建 的实例。4、OldestScalingConfigurationWithNewestInstance:移出最早与伸缩组绑定的伸缩配置中,最晚由伸缩组 自动创建 的实例。
    instancesDistribution Property Map
    实例分布策略。
    isEnableScalingGroup Boolean
    是否启用伸缩组。true:启用。false:停止
    launchTemplateId String
    实例启动模板ID,配置后表示选择启动模版作为伸缩配置来源。
    launchTemplateOverrides List<Property Map>
    launchTemplateVersion String
    实例启动模板的版本。1、模板的某个版本号。2、Default(默认):始终使用模板默认版本。3、Latest:始终使用模板最新版本。
    multiAzPolicy String
    扩缩容策略,如果您选择了多个子网,需配置本参数。1、PRIORITY(默认):优先级策略。2、BALANCE:均衡分布策略。
    projectName String
    伸缩组所属项目,默认为default。一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
    scalingMode String
    伸缩组的实例回收模式。1、release(默认):释放模式。2、recycle:停机回收模式。
    serverGroupAttributes List<Property Map>
    suspendedProcesses List<String>
    暂停中的流程,无暂停中流程则返回空值。ScaleIn:缩容流程。ScaleOut:扩容流程。HealthCheck:健康检查。AlarmNotification:报警任务。ScheduledAction:定时任务。
    tags List<Property Map>

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ScalingGroup resource produces the following output properties:

    CreatedTime string
    伸缩组创建时间。
    DbInstanceIds List<string>
    RDS数据库实例的ID。
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleState string
    伸缩组的状态。Active:已启用。InActive:未激活。Deleting:删除中。Locked: 已锁定。CoolingDown: 冷却中。Unknown: 未知状态。
    LoadBalancerHealthCheckGracePeriod int
    伸缩组实例CLB健康状况检查宽限期。
    ScalingGroupId string
    伸缩组ID。
    StoppedInstanceCount int
    伸缩组内处于停用中状态的实例数量。
    TotalInstanceCount int
    当前伸缩组内实例的个数。
    UpdatedTime string
    伸缩组更新时间。
    VpcId string
    伸缩组所属私有网络ID。
    CreatedTime string
    伸缩组创建时间。
    DbInstanceIds []string
    RDS数据库实例的ID。
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleState string
    伸缩组的状态。Active:已启用。InActive:未激活。Deleting:删除中。Locked: 已锁定。CoolingDown: 冷却中。Unknown: 未知状态。
    LoadBalancerHealthCheckGracePeriod int
    伸缩组实例CLB健康状况检查宽限期。
    ScalingGroupId string
    伸缩组ID。
    StoppedInstanceCount int
    伸缩组内处于停用中状态的实例数量。
    TotalInstanceCount int
    当前伸缩组内实例的个数。
    UpdatedTime string
    伸缩组更新时间。
    VpcId string
    伸缩组所属私有网络ID。
    createdTime String
    伸缩组创建时间。
    dbInstanceIds List<String>
    RDS数据库实例的ID。
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleState String
    伸缩组的状态。Active:已启用。InActive:未激活。Deleting:删除中。Locked: 已锁定。CoolingDown: 冷却中。Unknown: 未知状态。
    loadBalancerHealthCheckGracePeriod Integer
    伸缩组实例CLB健康状况检查宽限期。
    scalingGroupId String
    伸缩组ID。
    stoppedInstanceCount Integer
    伸缩组内处于停用中状态的实例数量。
    totalInstanceCount Integer
    当前伸缩组内实例的个数。
    updatedTime String
    伸缩组更新时间。
    vpcId String
    伸缩组所属私有网络ID。
    createdTime string
    伸缩组创建时间。
    dbInstanceIds string[]
    RDS数据库实例的ID。
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleState string
    伸缩组的状态。Active:已启用。InActive:未激活。Deleting:删除中。Locked: 已锁定。CoolingDown: 冷却中。Unknown: 未知状态。
    loadBalancerHealthCheckGracePeriod number
    伸缩组实例CLB健康状况检查宽限期。
    scalingGroupId string
    伸缩组ID。
    stoppedInstanceCount number
    伸缩组内处于停用中状态的实例数量。
    totalInstanceCount number
    当前伸缩组内实例的个数。
    updatedTime string
    伸缩组更新时间。
    vpcId string
    伸缩组所属私有网络ID。
    created_time str
    伸缩组创建时间。
    db_instance_ids Sequence[str]
    RDS数据库实例的ID。
    id str
    The provider-assigned unique ID for this managed resource.
    lifecycle_state str
    伸缩组的状态。Active:已启用。InActive:未激活。Deleting:删除中。Locked: 已锁定。CoolingDown: 冷却中。Unknown: 未知状态。
    load_balancer_health_check_grace_period int
    伸缩组实例CLB健康状况检查宽限期。
    scaling_group_id str
    伸缩组ID。
    stopped_instance_count int
    伸缩组内处于停用中状态的实例数量。
    total_instance_count int
    当前伸缩组内实例的个数。
    updated_time str
    伸缩组更新时间。
    vpc_id str
    伸缩组所属私有网络ID。
    createdTime String
    伸缩组创建时间。
    dbInstanceIds List<String>
    RDS数据库实例的ID。
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleState String
    伸缩组的状态。Active:已启用。InActive:未激活。Deleting:删除中。Locked: 已锁定。CoolingDown: 冷却中。Unknown: 未知状态。
    loadBalancerHealthCheckGracePeriod Number
    伸缩组实例CLB健康状况检查宽限期。
    scalingGroupId String
    伸缩组ID。
    stoppedInstanceCount Number
    伸缩组内处于停用中状态的实例数量。
    totalInstanceCount Number
    当前伸缩组内实例的个数。
    updatedTime String
    伸缩组更新时间。
    vpcId String
    伸缩组所属私有网络ID。

    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_terminate_policy: Optional[str] = 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) -> ScalingGroup
    func 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: bytepluscc: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.
    The following state arguments are supported:
    ActiveScalingConfigurationId string
    伸缩组绑定的伸缩配置的ID。
    CreatedTime string
    伸缩组创建时间。
    DbInstanceIds List<string>
    RDS数据库实例的ID。
    DefaultCooldown int
    执行一次伸缩活动(添加或移出ECS实例)结束后的冷却时间。冷却时间内,该伸缩组不执行其它的伸缩活动,仅针对云监控报警任务触发的伸缩活动和伸缩规则有效。取值范围:5 ~ 86400,单位:秒。默认值:300。
    DesireInstanceNumber int
    伸缩组中期望运行的实例个数。1、不小于最小实例数MinInstanceNumber且不大于最大实例数MaxInstanceNumber。2、默认值:-1,表示不开启期望实例数能力。此时,伸缩组创建完成后会立即开始伸缩活动自动添加相应个数的实例。
    HealthCheckType string
    伸缩组的健康检查方式。1、NONE:不做实例健康状态检查。2、ECS(默认):对伸缩组内的ECS实例做健康检查。
    InstanceTerminatePolicy string
    实例移除策略,1、OldestInstance:移出最早加入 (包括自动创建和手动添加)伸缩组的实例。2、NewestInstance:移出最晚加入(包括自动创建和手动添加)伸缩组的实例。3、OldestScalingConfigurationWithOldestInstance(默认):移出最早与伸缩组绑定的伸缩配置中,最早由伸缩组 自动创建 的实例。4、OldestScalingConfigurationWithNewestInstance:移出最早与伸缩组绑定的伸缩配置中,最晚由伸缩组 自动创建 的实例。
    InstancesDistribution Byteplus.ScalingGroupInstancesDistribution
    实例分布策略。
    IsEnableScalingGroup bool
    是否启用伸缩组。true:启用。false:停止
    LaunchTemplateId string
    实例启动模板ID,配置后表示选择启动模版作为伸缩配置来源。
    LaunchTemplateOverrides List<Byteplus.ScalingGroupLaunchTemplateOverride>
    LaunchTemplateVersion string
    实例启动模板的版本。1、模板的某个版本号。2、Default(默认):始终使用模板默认版本。3、Latest:始终使用模板最新版本。
    LifecycleState string
    伸缩组的状态。Active:已启用。InActive:未激活。Deleting:删除中。Locked: 已锁定。CoolingDown: 冷却中。Unknown: 未知状态。
    LoadBalancerHealthCheckGracePeriod int
    伸缩组实例CLB健康状况检查宽限期。
    MaxInstanceNumber int
    伸缩组中实例个数的最大值,默认取值0 ~ 100。您可以通过配额中心调整。
    MinInstanceNumber int
    伸缩组中实例个数的最小值,默认取值0 ~ 100。您可以通过配额中心调整。
    MultiAzPolicy string
    扩缩容策略,如果您选择了多个子网,需配置本参数。1、PRIORITY(默认):优先级策略。2、BALANCE:均衡分布策略。
    ProjectName string
    伸缩组所属项目,默认为default。一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
    ScalingGroupId string
    伸缩组ID。
    ScalingGroupName string
    伸缩组名称,同一地域下伸缩组名称唯一。只能以中文、字母开头,只能包含中文、字母、数字、下划线和中划线 。长度限制为1 ~ 128个字符。暂不支持特殊字符。
    ScalingMode string
    伸缩组的实例回收模式。1、release(默认):释放模式。2、recycle:停机回收模式。
    ServerGroupAttributes List<Byteplus.ScalingGroupServerGroupAttribute>
    StoppedInstanceCount int
    伸缩组内处于停用中状态的实例数量。
    SubnetIds List<string>
    伸缩组中实例主网卡的子网ID列表。
    SuspendedProcesses List<string>
    暂停中的流程,无暂停中流程则返回空值。ScaleIn:缩容流程。ScaleOut:扩容流程。HealthCheck:健康检查。AlarmNotification:报警任务。ScheduledAction:定时任务。
    Tags List<Byteplus.ScalingGroupTag>
    TotalInstanceCount int
    当前伸缩组内实例的个数。
    UpdatedTime string
    伸缩组更新时间。
    VpcId string
    伸缩组所属私有网络ID。
    ActiveScalingConfigurationId string
    伸缩组绑定的伸缩配置的ID。
    CreatedTime string
    伸缩组创建时间。
    DbInstanceIds []string
    RDS数据库实例的ID。
    DefaultCooldown int
    执行一次伸缩活动(添加或移出ECS实例)结束后的冷却时间。冷却时间内,该伸缩组不执行其它的伸缩活动,仅针对云监控报警任务触发的伸缩活动和伸缩规则有效。取值范围:5 ~ 86400,单位:秒。默认值:300。
    DesireInstanceNumber int
    伸缩组中期望运行的实例个数。1、不小于最小实例数MinInstanceNumber且不大于最大实例数MaxInstanceNumber。2、默认值:-1,表示不开启期望实例数能力。此时,伸缩组创建完成后会立即开始伸缩活动自动添加相应个数的实例。
    HealthCheckType string
    伸缩组的健康检查方式。1、NONE:不做实例健康状态检查。2、ECS(默认):对伸缩组内的ECS实例做健康检查。
    InstanceTerminatePolicy string
    实例移除策略,1、OldestInstance:移出最早加入 (包括自动创建和手动添加)伸缩组的实例。2、NewestInstance:移出最晚加入(包括自动创建和手动添加)伸缩组的实例。3、OldestScalingConfigurationWithOldestInstance(默认):移出最早与伸缩组绑定的伸缩配置中,最早由伸缩组 自动创建 的实例。4、OldestScalingConfigurationWithNewestInstance:移出最早与伸缩组绑定的伸缩配置中,最晚由伸缩组 自动创建 的实例。
    InstancesDistribution ScalingGroupInstancesDistributionArgs
    实例分布策略。
    IsEnableScalingGroup bool
    是否启用伸缩组。true:启用。false:停止
    LaunchTemplateId string
    实例启动模板ID,配置后表示选择启动模版作为伸缩配置来源。
    LaunchTemplateOverrides []ScalingGroupLaunchTemplateOverrideArgs
    LaunchTemplateVersion string
    实例启动模板的版本。1、模板的某个版本号。2、Default(默认):始终使用模板默认版本。3、Latest:始终使用模板最新版本。
    LifecycleState string
    伸缩组的状态。Active:已启用。InActive:未激活。Deleting:删除中。Locked: 已锁定。CoolingDown: 冷却中。Unknown: 未知状态。
    LoadBalancerHealthCheckGracePeriod int
    伸缩组实例CLB健康状况检查宽限期。
    MaxInstanceNumber int
    伸缩组中实例个数的最大值,默认取值0 ~ 100。您可以通过配额中心调整。
    MinInstanceNumber int
    伸缩组中实例个数的最小值,默认取值0 ~ 100。您可以通过配额中心调整。
    MultiAzPolicy string
    扩缩容策略,如果您选择了多个子网,需配置本参数。1、PRIORITY(默认):优先级策略。2、BALANCE:均衡分布策略。
    ProjectName string
    伸缩组所属项目,默认为default。一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
    ScalingGroupId string
    伸缩组ID。
    ScalingGroupName string
    伸缩组名称,同一地域下伸缩组名称唯一。只能以中文、字母开头,只能包含中文、字母、数字、下划线和中划线 。长度限制为1 ~ 128个字符。暂不支持特殊字符。
    ScalingMode string
    伸缩组的实例回收模式。1、release(默认):释放模式。2、recycle:停机回收模式。
    ServerGroupAttributes []ScalingGroupServerGroupAttributeArgs
    StoppedInstanceCount int
    伸缩组内处于停用中状态的实例数量。
    SubnetIds []string
    伸缩组中实例主网卡的子网ID列表。
    SuspendedProcesses []string
    暂停中的流程,无暂停中流程则返回空值。ScaleIn:缩容流程。ScaleOut:扩容流程。HealthCheck:健康检查。AlarmNotification:报警任务。ScheduledAction:定时任务。
    Tags []ScalingGroupTagArgs
    TotalInstanceCount int
    当前伸缩组内实例的个数。
    UpdatedTime string
    伸缩组更新时间。
    VpcId string
    伸缩组所属私有网络ID。
    activeScalingConfigurationId String
    伸缩组绑定的伸缩配置的ID。
    createdTime String
    伸缩组创建时间。
    dbInstanceIds List<String>
    RDS数据库实例的ID。
    defaultCooldown Integer
    执行一次伸缩活动(添加或移出ECS实例)结束后的冷却时间。冷却时间内,该伸缩组不执行其它的伸缩活动,仅针对云监控报警任务触发的伸缩活动和伸缩规则有效。取值范围:5 ~ 86400,单位:秒。默认值:300。
    desireInstanceNumber Integer
    伸缩组中期望运行的实例个数。1、不小于最小实例数MinInstanceNumber且不大于最大实例数MaxInstanceNumber。2、默认值:-1,表示不开启期望实例数能力。此时,伸缩组创建完成后会立即开始伸缩活动自动添加相应个数的实例。
    healthCheckType String
    伸缩组的健康检查方式。1、NONE:不做实例健康状态检查。2、ECS(默认):对伸缩组内的ECS实例做健康检查。
    instanceTerminatePolicy String
    实例移除策略,1、OldestInstance:移出最早加入 (包括自动创建和手动添加)伸缩组的实例。2、NewestInstance:移出最晚加入(包括自动创建和手动添加)伸缩组的实例。3、OldestScalingConfigurationWithOldestInstance(默认):移出最早与伸缩组绑定的伸缩配置中,最早由伸缩组 自动创建 的实例。4、OldestScalingConfigurationWithNewestInstance:移出最早与伸缩组绑定的伸缩配置中,最晚由伸缩组 自动创建 的实例。
    instancesDistribution ScalingGroupInstancesDistribution
    实例分布策略。
    isEnableScalingGroup Boolean
    是否启用伸缩组。true:启用。false:停止
    launchTemplateId String
    实例启动模板ID,配置后表示选择启动模版作为伸缩配置来源。
    launchTemplateOverrides List<ScalingGroupLaunchTemplateOverride>
    launchTemplateVersion String
    实例启动模板的版本。1、模板的某个版本号。2、Default(默认):始终使用模板默认版本。3、Latest:始终使用模板最新版本。
    lifecycleState String
    伸缩组的状态。Active:已启用。InActive:未激活。Deleting:删除中。Locked: 已锁定。CoolingDown: 冷却中。Unknown: 未知状态。
    loadBalancerHealthCheckGracePeriod Integer
    伸缩组实例CLB健康状况检查宽限期。
    maxInstanceNumber Integer
    伸缩组中实例个数的最大值,默认取值0 ~ 100。您可以通过配额中心调整。
    minInstanceNumber Integer
    伸缩组中实例个数的最小值,默认取值0 ~ 100。您可以通过配额中心调整。
    multiAzPolicy String
    扩缩容策略,如果您选择了多个子网,需配置本参数。1、PRIORITY(默认):优先级策略。2、BALANCE:均衡分布策略。
    projectName String
    伸缩组所属项目,默认为default。一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
    scalingGroupId String
    伸缩组ID。
    scalingGroupName String
    伸缩组名称,同一地域下伸缩组名称唯一。只能以中文、字母开头,只能包含中文、字母、数字、下划线和中划线 。长度限制为1 ~ 128个字符。暂不支持特殊字符。
    scalingMode String
    伸缩组的实例回收模式。1、release(默认):释放模式。2、recycle:停机回收模式。
    serverGroupAttributes List<ScalingGroupServerGroupAttribute>
    stoppedInstanceCount Integer
    伸缩组内处于停用中状态的实例数量。
    subnetIds List<String>
    伸缩组中实例主网卡的子网ID列表。
    suspendedProcesses List<String>
    暂停中的流程,无暂停中流程则返回空值。ScaleIn:缩容流程。ScaleOut:扩容流程。HealthCheck:健康检查。AlarmNotification:报警任务。ScheduledAction:定时任务。
    tags List<ScalingGroupTag>
    totalInstanceCount Integer
    当前伸缩组内实例的个数。
    updatedTime String
    伸缩组更新时间。
    vpcId String
    伸缩组所属私有网络ID。
    activeScalingConfigurationId string
    伸缩组绑定的伸缩配置的ID。
    createdTime string
    伸缩组创建时间。
    dbInstanceIds string[]
    RDS数据库实例的ID。
    defaultCooldown number
    执行一次伸缩活动(添加或移出ECS实例)结束后的冷却时间。冷却时间内,该伸缩组不执行其它的伸缩活动,仅针对云监控报警任务触发的伸缩活动和伸缩规则有效。取值范围:5 ~ 86400,单位:秒。默认值:300。
    desireInstanceNumber number
    伸缩组中期望运行的实例个数。1、不小于最小实例数MinInstanceNumber且不大于最大实例数MaxInstanceNumber。2、默认值:-1,表示不开启期望实例数能力。此时,伸缩组创建完成后会立即开始伸缩活动自动添加相应个数的实例。
    healthCheckType string
    伸缩组的健康检查方式。1、NONE:不做实例健康状态检查。2、ECS(默认):对伸缩组内的ECS实例做健康检查。
    instanceTerminatePolicy string
    实例移除策略,1、OldestInstance:移出最早加入 (包括自动创建和手动添加)伸缩组的实例。2、NewestInstance:移出最晚加入(包括自动创建和手动添加)伸缩组的实例。3、OldestScalingConfigurationWithOldestInstance(默认):移出最早与伸缩组绑定的伸缩配置中,最早由伸缩组 自动创建 的实例。4、OldestScalingConfigurationWithNewestInstance:移出最早与伸缩组绑定的伸缩配置中,最晚由伸缩组 自动创建 的实例。
    instancesDistribution ScalingGroupInstancesDistribution
    实例分布策略。
    isEnableScalingGroup boolean
    是否启用伸缩组。true:启用。false:停止
    launchTemplateId string
    实例启动模板ID,配置后表示选择启动模版作为伸缩配置来源。
    launchTemplateOverrides ScalingGroupLaunchTemplateOverride[]
    launchTemplateVersion string
    实例启动模板的版本。1、模板的某个版本号。2、Default(默认):始终使用模板默认版本。3、Latest:始终使用模板最新版本。
    lifecycleState string
    伸缩组的状态。Active:已启用。InActive:未激活。Deleting:删除中。Locked: 已锁定。CoolingDown: 冷却中。Unknown: 未知状态。
    loadBalancerHealthCheckGracePeriod number
    伸缩组实例CLB健康状况检查宽限期。
    maxInstanceNumber number
    伸缩组中实例个数的最大值,默认取值0 ~ 100。您可以通过配额中心调整。
    minInstanceNumber number
    伸缩组中实例个数的最小值,默认取值0 ~ 100。您可以通过配额中心调整。
    multiAzPolicy string
    扩缩容策略,如果您选择了多个子网,需配置本参数。1、PRIORITY(默认):优先级策略。2、BALANCE:均衡分布策略。
    projectName string
    伸缩组所属项目,默认为default。一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
    scalingGroupId string
    伸缩组ID。
    scalingGroupName string
    伸缩组名称,同一地域下伸缩组名称唯一。只能以中文、字母开头,只能包含中文、字母、数字、下划线和中划线 。长度限制为1 ~ 128个字符。暂不支持特殊字符。
    scalingMode string
    伸缩组的实例回收模式。1、release(默认):释放模式。2、recycle:停机回收模式。
    serverGroupAttributes ScalingGroupServerGroupAttribute[]
    stoppedInstanceCount number
    伸缩组内处于停用中状态的实例数量。
    subnetIds string[]
    伸缩组中实例主网卡的子网ID列表。
    suspendedProcesses string[]
    暂停中的流程,无暂停中流程则返回空值。ScaleIn:缩容流程。ScaleOut:扩容流程。HealthCheck:健康检查。AlarmNotification:报警任务。ScheduledAction:定时任务。
    tags ScalingGroupTag[]
    totalInstanceCount number
    当前伸缩组内实例的个数。
    updatedTime string
    伸缩组更新时间。
    vpcId string
    伸缩组所属私有网络ID。
    active_scaling_configuration_id str
    伸缩组绑定的伸缩配置的ID。
    created_time str
    伸缩组创建时间。
    db_instance_ids Sequence[str]
    RDS数据库实例的ID。
    default_cooldown int
    执行一次伸缩活动(添加或移出ECS实例)结束后的冷却时间。冷却时间内,该伸缩组不执行其它的伸缩活动,仅针对云监控报警任务触发的伸缩活动和伸缩规则有效。取值范围:5 ~ 86400,单位:秒。默认值:300。
    desire_instance_number int
    伸缩组中期望运行的实例个数。1、不小于最小实例数MinInstanceNumber且不大于最大实例数MaxInstanceNumber。2、默认值:-1,表示不开启期望实例数能力。此时,伸缩组创建完成后会立即开始伸缩活动自动添加相应个数的实例。
    health_check_type str
    伸缩组的健康检查方式。1、NONE:不做实例健康状态检查。2、ECS(默认):对伸缩组内的ECS实例做健康检查。
    instance_terminate_policy str
    实例移除策略,1、OldestInstance:移出最早加入 (包括自动创建和手动添加)伸缩组的实例。2、NewestInstance:移出最晚加入(包括自动创建和手动添加)伸缩组的实例。3、OldestScalingConfigurationWithOldestInstance(默认):移出最早与伸缩组绑定的伸缩配置中,最早由伸缩组 自动创建 的实例。4、OldestScalingConfigurationWithNewestInstance:移出最早与伸缩组绑定的伸缩配置中,最晚由伸缩组 自动创建 的实例。
    instances_distribution ScalingGroupInstancesDistributionArgs
    实例分布策略。
    is_enable_scaling_group bool
    是否启用伸缩组。true:启用。false:停止
    launch_template_id str
    实例启动模板ID,配置后表示选择启动模版作为伸缩配置来源。
    launch_template_overrides Sequence[ScalingGroupLaunchTemplateOverrideArgs]
    launch_template_version str
    实例启动模板的版本。1、模板的某个版本号。2、Default(默认):始终使用模板默认版本。3、Latest:始终使用模板最新版本。
    lifecycle_state str
    伸缩组的状态。Active:已启用。InActive:未激活。Deleting:删除中。Locked: 已锁定。CoolingDown: 冷却中。Unknown: 未知状态。
    load_balancer_health_check_grace_period int
    伸缩组实例CLB健康状况检查宽限期。
    max_instance_number int
    伸缩组中实例个数的最大值,默认取值0 ~ 100。您可以通过配额中心调整。
    min_instance_number int
    伸缩组中实例个数的最小值,默认取值0 ~ 100。您可以通过配额中心调整。
    multi_az_policy str
    扩缩容策略,如果您选择了多个子网,需配置本参数。1、PRIORITY(默认):优先级策略。2、BALANCE:均衡分布策略。
    project_name str
    伸缩组所属项目,默认为default。一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
    scaling_group_id str
    伸缩组ID。
    scaling_group_name str
    伸缩组名称,同一地域下伸缩组名称唯一。只能以中文、字母开头,只能包含中文、字母、数字、下划线和中划线 。长度限制为1 ~ 128个字符。暂不支持特殊字符。
    scaling_mode str
    伸缩组的实例回收模式。1、release(默认):释放模式。2、recycle:停机回收模式。
    server_group_attributes Sequence[ScalingGroupServerGroupAttributeArgs]
    stopped_instance_count int
    伸缩组内处于停用中状态的实例数量。
    subnet_ids Sequence[str]
    伸缩组中实例主网卡的子网ID列表。
    suspended_processes Sequence[str]
    暂停中的流程,无暂停中流程则返回空值。ScaleIn:缩容流程。ScaleOut:扩容流程。HealthCheck:健康检查。AlarmNotification:报警任务。ScheduledAction:定时任务。
    tags Sequence[ScalingGroupTagArgs]
    total_instance_count int
    当前伸缩组内实例的个数。
    updated_time str
    伸缩组更新时间。
    vpc_id str
    伸缩组所属私有网络ID。
    activeScalingConfigurationId String
    伸缩组绑定的伸缩配置的ID。
    createdTime String
    伸缩组创建时间。
    dbInstanceIds List<String>
    RDS数据库实例的ID。
    defaultCooldown Number
    执行一次伸缩活动(添加或移出ECS实例)结束后的冷却时间。冷却时间内,该伸缩组不执行其它的伸缩活动,仅针对云监控报警任务触发的伸缩活动和伸缩规则有效。取值范围:5 ~ 86400,单位:秒。默认值:300。
    desireInstanceNumber Number
    伸缩组中期望运行的实例个数。1、不小于最小实例数MinInstanceNumber且不大于最大实例数MaxInstanceNumber。2、默认值:-1,表示不开启期望实例数能力。此时,伸缩组创建完成后会立即开始伸缩活动自动添加相应个数的实例。
    healthCheckType String
    伸缩组的健康检查方式。1、NONE:不做实例健康状态检查。2、ECS(默认):对伸缩组内的ECS实例做健康检查。
    instanceTerminatePolicy String
    实例移除策略,1、OldestInstance:移出最早加入 (包括自动创建和手动添加)伸缩组的实例。2、NewestInstance:移出最晚加入(包括自动创建和手动添加)伸缩组的实例。3、OldestScalingConfigurationWithOldestInstance(默认):移出最早与伸缩组绑定的伸缩配置中,最早由伸缩组 自动创建 的实例。4、OldestScalingConfigurationWithNewestInstance:移出最早与伸缩组绑定的伸缩配置中,最晚由伸缩组 自动创建 的实例。
    instancesDistribution Property Map
    实例分布策略。
    isEnableScalingGroup Boolean
    是否启用伸缩组。true:启用。false:停止
    launchTemplateId String
    实例启动模板ID,配置后表示选择启动模版作为伸缩配置来源。
    launchTemplateOverrides List<Property Map>
    launchTemplateVersion String
    实例启动模板的版本。1、模板的某个版本号。2、Default(默认):始终使用模板默认版本。3、Latest:始终使用模板最新版本。
    lifecycleState String
    伸缩组的状态。Active:已启用。InActive:未激活。Deleting:删除中。Locked: 已锁定。CoolingDown: 冷却中。Unknown: 未知状态。
    loadBalancerHealthCheckGracePeriod Number
    伸缩组实例CLB健康状况检查宽限期。
    maxInstanceNumber Number
    伸缩组中实例个数的最大值,默认取值0 ~ 100。您可以通过配额中心调整。
    minInstanceNumber Number
    伸缩组中实例个数的最小值,默认取值0 ~ 100。您可以通过配额中心调整。
    multiAzPolicy String
    扩缩容策略,如果您选择了多个子网,需配置本参数。1、PRIORITY(默认):优先级策略。2、BALANCE:均衡分布策略。
    projectName String
    伸缩组所属项目,默认为default。一个资源只能归属于一个项目。只能包含字母、数字、下划线“_”、点“.”和中划线“-”。长度限制在64个字符以内。
    scalingGroupId String
    伸缩组ID。
    scalingGroupName String
    伸缩组名称,同一地域下伸缩组名称唯一。只能以中文、字母开头,只能包含中文、字母、数字、下划线和中划线 。长度限制为1 ~ 128个字符。暂不支持特殊字符。
    scalingMode String
    伸缩组的实例回收模式。1、release(默认):释放模式。2、recycle:停机回收模式。
    serverGroupAttributes List<Property Map>
    stoppedInstanceCount Number
    伸缩组内处于停用中状态的实例数量。
    subnetIds List<String>
    伸缩组中实例主网卡的子网ID列表。
    suspendedProcesses List<String>
    暂停中的流程,无暂停中流程则返回空值。ScaleIn:缩容流程。ScaleOut:扩容流程。HealthCheck:健康检查。AlarmNotification:报警任务。ScheduledAction:定时任务。
    tags List<Property Map>
    totalInstanceCount Number
    当前伸缩组内实例的个数。
    updatedTime String
    伸缩组更新时间。
    vpcId String
    伸缩组所属私有网络ID。

    Supporting Types

    ScalingGroupInstancesDistribution, ScalingGroupInstancesDistributionArgs

    CompensateWithOnDemand bool
    当因价格、库存等原因无法创建足够的抢占式实例时,是否允许使用按量实例补充抢占式容量。true: 允许。false(默认): 不允许。
    OnDemandBaseCapacity int
    伸缩组中按量计费实例个数的最小值,取值范围:0~2000。当组中按量计费实例个数少于该值时,将优先创建按量计费的实例。
    OnDemandPercentageAboveBaseCapacity int
    伸缩组满足最小按量实例数要求后,超出的实例中按量实例应占的比例,取值范围:0~100。
    SpotInstanceRemedy bool
    是否允许抢占式实例到期替换。开启则表示在抢占式实例被回收前5分钟左右,伸缩组将主动新建新的抢占式实例替换掉当前抢占式实例。true: 允许。false(默认): 不允许。
    CompensateWithOnDemand bool
    当因价格、库存等原因无法创建足够的抢占式实例时,是否允许使用按量实例补充抢占式容量。true: 允许。false(默认): 不允许。
    OnDemandBaseCapacity int
    伸缩组中按量计费实例个数的最小值,取值范围:0~2000。当组中按量计费实例个数少于该值时,将优先创建按量计费的实例。
    OnDemandPercentageAboveBaseCapacity int
    伸缩组满足最小按量实例数要求后,超出的实例中按量实例应占的比例,取值范围:0~100。
    SpotInstanceRemedy bool
    是否允许抢占式实例到期替换。开启则表示在抢占式实例被回收前5分钟左右,伸缩组将主动新建新的抢占式实例替换掉当前抢占式实例。true: 允许。false(默认): 不允许。
    compensateWithOnDemand Boolean
    当因价格、库存等原因无法创建足够的抢占式实例时,是否允许使用按量实例补充抢占式容量。true: 允许。false(默认): 不允许。
    onDemandBaseCapacity Integer
    伸缩组中按量计费实例个数的最小值,取值范围:0~2000。当组中按量计费实例个数少于该值时,将优先创建按量计费的实例。
    onDemandPercentageAboveBaseCapacity Integer
    伸缩组满足最小按量实例数要求后,超出的实例中按量实例应占的比例,取值范围:0~100。
    spotInstanceRemedy Boolean
    是否允许抢占式实例到期替换。开启则表示在抢占式实例被回收前5分钟左右,伸缩组将主动新建新的抢占式实例替换掉当前抢占式实例。true: 允许。false(默认): 不允许。
    compensateWithOnDemand boolean
    当因价格、库存等原因无法创建足够的抢占式实例时,是否允许使用按量实例补充抢占式容量。true: 允许。false(默认): 不允许。
    onDemandBaseCapacity number
    伸缩组中按量计费实例个数的最小值,取值范围:0~2000。当组中按量计费实例个数少于该值时,将优先创建按量计费的实例。
    onDemandPercentageAboveBaseCapacity number
    伸缩组满足最小按量实例数要求后,超出的实例中按量实例应占的比例,取值范围:0~100。
    spotInstanceRemedy boolean
    是否允许抢占式实例到期替换。开启则表示在抢占式实例被回收前5分钟左右,伸缩组将主动新建新的抢占式实例替换掉当前抢占式实例。true: 允许。false(默认): 不允许。
    compensate_with_on_demand bool
    当因价格、库存等原因无法创建足够的抢占式实例时,是否允许使用按量实例补充抢占式容量。true: 允许。false(默认): 不允许。
    on_demand_base_capacity int
    伸缩组中按量计费实例个数的最小值,取值范围:0~2000。当组中按量计费实例个数少于该值时,将优先创建按量计费的实例。
    on_demand_percentage_above_base_capacity int
    伸缩组满足最小按量实例数要求后,超出的实例中按量实例应占的比例,取值范围:0~100。
    spot_instance_remedy bool
    是否允许抢占式实例到期替换。开启则表示在抢占式实例被回收前5分钟左右,伸缩组将主动新建新的抢占式实例替换掉当前抢占式实例。true: 允许。false(默认): 不允许。
    compensateWithOnDemand Boolean
    当因价格、库存等原因无法创建足够的抢占式实例时,是否允许使用按量实例补充抢占式容量。true: 允许。false(默认): 不允许。
    onDemandBaseCapacity Number
    伸缩组中按量计费实例个数的最小值,取值范围:0~2000。当组中按量计费实例个数少于该值时,将优先创建按量计费的实例。
    onDemandPercentageAboveBaseCapacity Number
    伸缩组满足最小按量实例数要求后,超出的实例中按量实例应占的比例,取值范围:0~100。
    spotInstanceRemedy Boolean
    是否允许抢占式实例到期替换。开启则表示在抢占式实例被回收前5分钟左右,伸缩组将主动新建新的抢占式实例替换掉当前抢占式实例。true: 允许。false(默认): 不允许。

    ScalingGroupLaunchTemplateOverride, ScalingGroupLaunchTemplateOverrideArgs

    InstanceType string
    指定实例规格。本参数仅当LaunchTemplateId参数存在取值时生有效。
    PriceLimit double
    指定抢占式实例规格每小时的最高价格。本参数仅当LaunchTemplateId参数存在取值,且启动模版的计费模式为设置出价上限的抢占式实例(即SpotWithPriceLimit)时有效。
    InstanceType string
    指定实例规格。本参数仅当LaunchTemplateId参数存在取值时生有效。
    PriceLimit float64
    指定抢占式实例规格每小时的最高价格。本参数仅当LaunchTemplateId参数存在取值,且启动模版的计费模式为设置出价上限的抢占式实例(即SpotWithPriceLimit)时有效。
    instanceType String
    指定实例规格。本参数仅当LaunchTemplateId参数存在取值时生有效。
    priceLimit Double
    指定抢占式实例规格每小时的最高价格。本参数仅当LaunchTemplateId参数存在取值,且启动模版的计费模式为设置出价上限的抢占式实例(即SpotWithPriceLimit)时有效。
    instanceType string
    指定实例规格。本参数仅当LaunchTemplateId参数存在取值时生有效。
    priceLimit number
    指定抢占式实例规格每小时的最高价格。本参数仅当LaunchTemplateId参数存在取值,且启动模版的计费模式为设置出价上限的抢占式实例(即SpotWithPriceLimit)时有效。
    instance_type str
    指定实例规格。本参数仅当LaunchTemplateId参数存在取值时生有效。
    price_limit float
    指定抢占式实例规格每小时的最高价格。本参数仅当LaunchTemplateId参数存在取值,且启动模版的计费模式为设置出价上限的抢占式实例(即SpotWithPriceLimit)时有效。
    instanceType String
    指定实例规格。本参数仅当LaunchTemplateId参数存在取值时生有效。
    priceLimit Number
    指定抢占式实例规格每小时的最高价格。本参数仅当LaunchTemplateId参数存在取值,且启动模版的计费模式为设置出价上限的抢占式实例(即SpotWithPriceLimit)时有效。

    ScalingGroupServerGroupAttribute, ScalingGroupServerGroupAttributeArgs

    Port int
    负载均衡后端服务器组中服务器的端口号。取值1 ~ 65535。
    ServerGroupId string
    负载均衡后端服务器组的ID。
    Type string
    负载均衡服务器组类型。单个CLB/ALB最多支持添加20个后端服务器组,所有CLB/ALB最多支持添加100个后端服务器。ALB:应用型负载均衡。CLB:传统型型负载均衡(默认)。
    Weight int
    负载均衡后端服务器组中服务器的权重。
    Port int
    负载均衡后端服务器组中服务器的端口号。取值1 ~ 65535。
    ServerGroupId string
    负载均衡后端服务器组的ID。
    Type string
    负载均衡服务器组类型。单个CLB/ALB最多支持添加20个后端服务器组,所有CLB/ALB最多支持添加100个后端服务器。ALB:应用型负载均衡。CLB:传统型型负载均衡(默认)。
    Weight int
    负载均衡后端服务器组中服务器的权重。
    port Integer
    负载均衡后端服务器组中服务器的端口号。取值1 ~ 65535。
    serverGroupId String
    负载均衡后端服务器组的ID。
    type String
    负载均衡服务器组类型。单个CLB/ALB最多支持添加20个后端服务器组,所有CLB/ALB最多支持添加100个后端服务器。ALB:应用型负载均衡。CLB:传统型型负载均衡(默认)。
    weight Integer
    负载均衡后端服务器组中服务器的权重。
    port number
    负载均衡后端服务器组中服务器的端口号。取值1 ~ 65535。
    serverGroupId string
    负载均衡后端服务器组的ID。
    type string
    负载均衡服务器组类型。单个CLB/ALB最多支持添加20个后端服务器组,所有CLB/ALB最多支持添加100个后端服务器。ALB:应用型负载均衡。CLB:传统型型负载均衡(默认)。
    weight number
    负载均衡后端服务器组中服务器的权重。
    port int
    负载均衡后端服务器组中服务器的端口号。取值1 ~ 65535。
    server_group_id str
    负载均衡后端服务器组的ID。
    type str
    负载均衡服务器组类型。单个CLB/ALB最多支持添加20个后端服务器组,所有CLB/ALB最多支持添加100个后端服务器。ALB:应用型负载均衡。CLB:传统型型负载均衡(默认)。
    weight int
    负载均衡后端服务器组中服务器的权重。
    port Number
    负载均衡后端服务器组中服务器的端口号。取值1 ~ 65535。
    serverGroupId String
    负载均衡后端服务器组的ID。
    type String
    负载均衡服务器组类型。单个CLB/ALB最多支持添加20个后端服务器组,所有CLB/ALB最多支持添加100个后端服务器。ALB:应用型负载均衡。CLB:传统型型负载均衡(默认)。
    weight Number
    负载均衡后端服务器组中服务器的权重。

    ScalingGroupTag, ScalingGroupTagArgs

    Key string
    用户标签的标签键。
    Value string
    用户标签的标签值。
    Key string
    用户标签的标签键。
    Value string
    用户标签的标签值。
    key String
    用户标签的标签键。
    value String
    用户标签的标签值。
    key string
    用户标签的标签键。
    value string
    用户标签的标签值。
    key str
    用户标签的标签键。
    value str
    用户标签的标签值。
    key String
    用户标签的标签键。
    value String
    用户标签的标签值。

    Import

    $ pulumi import bytepluscc:autoscaling/scalingGroup:ScalingGroup example "scaling_group_id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    bytepluscc byteplus-sdk/pulumi-bytepluscc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the bytepluscc Terraform Provider.
    bytepluscc logo
    bytepluscc v0.0.11 published on Wednesday, Jan 21, 2026 by Byteplus
      Meet Neo: Your AI Platform Teammate