Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine
volcengine.autoscaling.ScalingGroups
Explore with Pulumi AI
Use this data source to query detailed information of scaling groups
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
import * as volcengine from "@volcengine/pulumi";
const fooZones = volcengine.ecs.Zones({});
const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
    vpcName: "acc-test-vpc",
    cidrBlock: "172.16.0.0/16",
});
const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
    subnetName: "acc-test-subnet",
    cidrBlock: "172.16.0.0/24",
    zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
    vpcId: fooVpc.id,
});
const fooScalingGroup: volcengine.autoscaling.ScalingGroup[] = [];
for (const range = {value: 0}; range.value < 3; range.value++) {
    fooScalingGroup.push(new volcengine.autoscaling.ScalingGroup(`fooScalingGroup-${range.value}`, {
        scalingGroupName: `acc-test-scaling-group-${range.value}`,
        subnetIds: [fooSubnet.id],
        multiAzPolicy: "BALANCE",
        desireInstanceNumber: 0,
        minInstanceNumber: 0,
        maxInstanceNumber: 10,
        instanceTerminatePolicy: "OldestInstance",
        defaultCooldown: 30,
        tags: [
            {
                key: "k2",
                value: "v2",
            },
            {
                key: "k1",
                value: "v1",
            },
        ],
    }));
}
const default = volcengine.autoscaling.ScalingGroupsOutput({
    ids: fooScalingGroup.map(__item => __item.id),
});
import pulumi
import pulumi_volcengine as volcengine
foo_zones = volcengine.ecs.zones()
foo_vpc = volcengine.vpc.Vpc("fooVpc",
    vpc_name="acc-test-vpc",
    cidr_block="172.16.0.0/16")
foo_subnet = volcengine.vpc.Subnet("fooSubnet",
    subnet_name="acc-test-subnet",
    cidr_block="172.16.0.0/24",
    zone_id=foo_zones.zones[0].id,
    vpc_id=foo_vpc.id)
foo_scaling_group = []
for range in [{"value": i} for i in range(0, 3)]:
    foo_scaling_group.append(volcengine.autoscaling.ScalingGroup(f"fooScalingGroup-{range['value']}",
        scaling_group_name=f"acc-test-scaling-group-{range['value']}",
        subnet_ids=[foo_subnet.id],
        multi_az_policy="BALANCE",
        desire_instance_number=0,
        min_instance_number=0,
        max_instance_number=10,
        instance_terminate_policy="OldestInstance",
        default_cooldown=30,
        tags=[
            volcengine.autoscaling.ScalingGroupTagArgs(
                key="k2",
                value="v2",
            ),
            volcengine.autoscaling.ScalingGroupTagArgs(
                key="k1",
                value="v1",
            ),
        ]))
default = volcengine.autoscaling.scaling_groups_output(ids=[__item.id for __item in foo_scaling_group])
package main
import (
	"fmt"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/autoscaling"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
fooZones, err := ecs.Zones(ctx, nil, nil);
if err != nil {
return err
}
fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
VpcName: pulumi.String("acc-test-vpc"),
CidrBlock: pulumi.String("172.16.0.0/16"),
})
if err != nil {
return err
}
fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
SubnetName: pulumi.String("acc-test-subnet"),
CidrBlock: pulumi.String("172.16.0.0/24"),
ZoneId: pulumi.String(fooZones.Zones[0].Id),
VpcId: fooVpc.ID(),
})
if err != nil {
return err
}
var fooScalingGroup []*autoscaling.ScalingGroup
for index := 0; index < 3; index++ {
    key0 := index
    val0 := index
__res, err := autoscaling.NewScalingGroup(ctx, fmt.Sprintf("fooScalingGroup-%v", key0), &autoscaling.ScalingGroupArgs{
ScalingGroupName: pulumi.String(fmt.Sprintf("acc-test-scaling-group-%v", val0)),
SubnetIds: pulumi.StringArray{
fooSubnet.ID(),
},
MultiAzPolicy: pulumi.String("BALANCE"),
DesireInstanceNumber: pulumi.Int(0),
MinInstanceNumber: pulumi.Int(0),
MaxInstanceNumber: pulumi.Int(10),
InstanceTerminatePolicy: pulumi.String("OldestInstance"),
DefaultCooldown: pulumi.Int(30),
Tags: autoscaling.ScalingGroupTagArray{
&autoscaling.ScalingGroupTagArgs{
Key: pulumi.String("k2"),
Value: pulumi.String("v2"),
},
&autoscaling.ScalingGroupTagArgs{
Key: pulumi.String("k1"),
Value: pulumi.String("v1"),
},
},
})
if err != nil {
return err
}
fooScalingGroup = append(fooScalingGroup, __res)
}
_ = autoscaling.ScalingGroupsOutput(ctx, autoscaling.ScalingGroupsOutputArgs{
Ids: %!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ #-functions-volcengine:autoscaling-scalingGroups:ScalingGroups.pp:35,9-30),
}, nil);
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() => 
{
    var fooZones = Volcengine.Ecs.Zones.Invoke();
    var fooVpc = new Volcengine.Vpc.Vpc("fooVpc", new()
    {
        VpcName = "acc-test-vpc",
        CidrBlock = "172.16.0.0/16",
    });
    var fooSubnet = new Volcengine.Vpc.Subnet("fooSubnet", new()
    {
        SubnetName = "acc-test-subnet",
        CidrBlock = "172.16.0.0/24",
        ZoneId = fooZones.Apply(zonesResult => zonesResult.Zones[0]?.Id),
        VpcId = fooVpc.Id,
    });
    var fooScalingGroup = new List<Volcengine.Autoscaling.ScalingGroup>();
    for (var rangeIndex = 0; rangeIndex < 3; rangeIndex++)
    {
        var range = new { Value = rangeIndex };
        fooScalingGroup.Add(new Volcengine.Autoscaling.ScalingGroup($"fooScalingGroup-{range.Value}", new()
        {
            ScalingGroupName = $"acc-test-scaling-group-{range.Value}",
            SubnetIds = new[]
            {
                fooSubnet.Id,
            },
            MultiAzPolicy = "BALANCE",
            DesireInstanceNumber = 0,
            MinInstanceNumber = 0,
            MaxInstanceNumber = 10,
            InstanceTerminatePolicy = "OldestInstance",
            DefaultCooldown = 30,
            Tags = new[]
            {
                new Volcengine.Autoscaling.Inputs.ScalingGroupTagArgs
                {
                    Key = "k2",
                    Value = "v2",
                },
                new Volcengine.Autoscaling.Inputs.ScalingGroupTagArgs
                {
                    Key = "k1",
                    Value = "v1",
                },
            },
        }));
    }
    var @default = Volcengine.Autoscaling.ScalingGroups.Invoke(new()
    {
        Ids = fooScalingGroup.Select(__item => __item.Id).ToList(),
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.ecs.EcsFunctions;
import com.pulumi.volcengine.ecs.inputs.ZonesArgs;
import com.pulumi.volcengine.vpc.Vpc;
import com.pulumi.volcengine.vpc.VpcArgs;
import com.pulumi.volcengine.vpc.Subnet;
import com.pulumi.volcengine.vpc.SubnetArgs;
import com.pulumi.volcengine.autoscaling.ScalingGroup;
import com.pulumi.volcengine.autoscaling.ScalingGroupArgs;
import com.pulumi.volcengine.autoscaling.inputs.ScalingGroupTagArgs;
import com.pulumi.volcengine.autoscaling.AutoscalingFunctions;
import com.pulumi.volcengine.autoscaling.inputs.ScalingGroupsArgs;
import com.pulumi.codegen.internal.KeyedValue;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var fooZones = EcsFunctions.Zones();
        var fooVpc = new Vpc("fooVpc", VpcArgs.builder()        
            .vpcName("acc-test-vpc")
            .cidrBlock("172.16.0.0/16")
            .build());
        var fooSubnet = new Subnet("fooSubnet", SubnetArgs.builder()        
            .subnetName("acc-test-subnet")
            .cidrBlock("172.16.0.0/24")
            .zoneId(fooZones.applyValue(zonesResult -> zonesResult.zones()[0].id()))
            .vpcId(fooVpc.id())
            .build());
        for (var i = 0; i < 3; i++) {
            new ScalingGroup("fooScalingGroup-" + i, ScalingGroupArgs.builder()            
                .scalingGroupName(String.format("acc-test-scaling-group-%s", range.value()))
                .subnetIds(fooSubnet.id())
                .multiAzPolicy("BALANCE")
                .desireInstanceNumber(0)
                .minInstanceNumber(0)
                .maxInstanceNumber(10)
                .instanceTerminatePolicy("OldestInstance")
                .defaultCooldown(30)
                .tags(                
                    ScalingGroupTagArgs.builder()
                        .key("k2")
                        .value("v2")
                        .build(),
                    ScalingGroupTagArgs.builder()
                        .key("k1")
                        .value("v1")
                        .build())
                .build());
        
}
        final var default = AutoscalingFunctions.ScalingGroups(ScalingGroupsArgs.builder()
            .ids(fooScalingGroup.stream().map(element -> element.id()).collect(toList()))
            .build());
    }
}
Coming soon!
Using ScalingGroups
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 scalingGroups(args: ScalingGroupsArgs, opts?: InvokeOptions): Promise<ScalingGroupsResult>
function scalingGroupsOutput(args: ScalingGroupsOutputArgs, opts?: InvokeOptions): Output<ScalingGroupsResult>def scaling_groups(ids: Optional[Sequence[str]] = None,
                   name_regex: Optional[str] = None,
                   output_file: Optional[str] = None,
                   project_name: Optional[str] = None,
                   scaling_group_names: Optional[Sequence[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> ScalingGroupsResult
def scaling_groups_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                   name_regex: Optional[pulumi.Input[str]] = None,
                   output_file: Optional[pulumi.Input[str]] = None,
                   project_name: Optional[pulumi.Input[str]] = None,
                   scaling_group_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[ScalingGroupsResult]func ScalingGroups(ctx *Context, args *ScalingGroupsArgs, opts ...InvokeOption) (*ScalingGroupsResult, error)
func ScalingGroupsOutput(ctx *Context, args *ScalingGroupsOutputArgs, opts ...InvokeOption) ScalingGroupsResultOutputpublic static class ScalingGroups 
{
    public static Task<ScalingGroupsResult> InvokeAsync(ScalingGroupsArgs args, InvokeOptions? opts = null)
    public static Output<ScalingGroupsResult> Invoke(ScalingGroupsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<ScalingGroupsResult> scalingGroups(ScalingGroupsArgs args, InvokeOptions options)
public static Output<ScalingGroupsResult> scalingGroups(ScalingGroupsArgs args, InvokeOptions options)
fn::invoke:
  function: volcengine:autoscaling:ScalingGroups
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Ids List<string>
- A list of scaling group ids.
- NameRegex string
- A Name Regex of scaling group.
- OutputFile string
- File name where to save data source results.
- ProjectName string
- The project name of the scaling group.
- ScalingGroup List<string>Names 
- A list of scaling group names.
- Ids []string
- A list of scaling group ids.
- NameRegex string
- A Name Regex of scaling group.
- OutputFile string
- File name where to save data source results.
- ProjectName string
- The project name of the scaling group.
- ScalingGroup []stringNames 
- A list of scaling group names.
- ids List<String>
- A list of scaling group ids.
- nameRegex String
- A Name Regex of scaling group.
- outputFile String
- File name where to save data source results.
- projectName String
- The project name of the scaling group.
- scalingGroup List<String>Names 
- A list of scaling group names.
- ids string[]
- A list of scaling group ids.
- nameRegex string
- A Name Regex of scaling group.
- outputFile string
- File name where to save data source results.
- projectName string
- The project name of the scaling group.
- scalingGroup string[]Names 
- A list of scaling group names.
- ids Sequence[str]
- A list of scaling group ids.
- name_regex str
- A Name Regex of scaling group.
- output_file str
- File name where to save data source results.
- project_name str
- The project name of the scaling group.
- scaling_group_ Sequence[str]names 
- A list of scaling group names.
- ids List<String>
- A list of scaling group ids.
- nameRegex String
- A Name Regex of scaling group.
- outputFile String
- File name where to save data source results.
- projectName String
- The project name of the scaling group.
- scalingGroup List<String>Names 
- A list of scaling group names.
ScalingGroups Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- ScalingGroups List<ScalingGroups Scaling Group> 
- The collection of scaling group query.
- TotalCount int
- The total count of scaling group query.
- Ids List<string>
- NameRegex string
- OutputFile string
- ProjectName string
- The ProjectName of scaling group.
- ScalingGroup List<string>Names 
- Id string
- The provider-assigned unique ID for this managed resource.
- ScalingGroups []ScalingGroups Scaling Group 
- The collection of scaling group query.
- TotalCount int
- The total count of scaling group query.
- Ids []string
- NameRegex string
- OutputFile string
- ProjectName string
- The ProjectName of scaling group.
- ScalingGroup []stringNames 
- id String
- The provider-assigned unique ID for this managed resource.
- scalingGroups List<ScalingGroups Scaling Group> 
- The collection of scaling group query.
- totalCount Integer
- The total count of scaling group query.
- ids List<String>
- nameRegex String
- outputFile String
- projectName String
- The ProjectName of scaling group.
- scalingGroup List<String>Names 
- id string
- The provider-assigned unique ID for this managed resource.
- scalingGroups ScalingGroups Scaling Group[] 
- The collection of scaling group query.
- totalCount number
- The total count of scaling group query.
- ids string[]
- nameRegex string
- outputFile string
- projectName string
- The ProjectName of scaling group.
- scalingGroup string[]Names 
- id str
- The provider-assigned unique ID for this managed resource.
- scaling_groups Sequence[ScalingGroups Scaling Group] 
- The collection of scaling group query.
- total_count int
- The total count of scaling group query.
- ids Sequence[str]
- name_regex str
- output_file str
- project_name str
- The ProjectName of scaling group.
- scaling_group_ Sequence[str]names 
- id String
- The provider-assigned unique ID for this managed resource.
- scalingGroups List<Property Map>
- The collection of scaling group query.
- totalCount Number
- The total count of scaling group query.
- ids List<String>
- nameRegex String
- outputFile String
- projectName String
- The ProjectName of scaling group.
- scalingGroup List<String>Names 
Supporting Types
ScalingGroupsScalingGroup   
- ActiveScaling stringConfiguration Id 
- The scaling configuration id which used by the scaling group.
- CreatedAt string
- The create time of the scaling group.
- DbInstance List<string>Ids 
- The list of db instance ids.
- DefaultCooldown int
- The default cooldown interval of the scaling group.
- DesireInstance intNumber 
- The desire instance number of the scaling group.
- HealthCheck stringType 
- The health check type of the scaling group.
- Id string
- The id of the scaling group.
- InstanceTerminate stringPolicy 
- The instance terminate policy of the scaling group.
- LaunchTemplate stringId 
- The ID of the launch template bound to the scaling group.
- LaunchTemplate List<ScalingOverrides Groups Scaling Group Launch Template Override> 
- Instance start template information.
- LaunchTemplate stringVersion 
- The version of the launch template bound to the scaling group.
- LifecycleState string
- The lifecycle state of the scaling group.
- LoadBalancer intHealth Check Grace Period 
- Grace period for health check of CLB instance in elastic group.
- MaxInstance intNumber 
- The max instance number of the scaling group.
- MinInstance intNumber 
- The min instance number of the scaling group.
- MultiAz stringPolicy 
- The multi az policy of the scaling group. Valid values: PRIORITY, BALANCE.
- ProjectName string
- The project name of the scaling group.
- ScalingGroup stringId 
- The id of the scaling group.
- ScalingGroup stringName 
- The name of the scaling group.
- ScalingMode string
- The scaling mode of the scaling group.
- ServerGroup List<ScalingAttributes Groups Scaling Group Server Group Attribute> 
- The list of server group attributes.
- StoppedInstance intCount 
- The number of stopped instances.
- SubnetIds List<string>
- The list of the subnet id to which the ENI is connected.
- 
List<ScalingGroups Scaling Group Tag> 
- Tags.
- TotalInstance intCount 
- The total instance count of the scaling group.
- UpdatedAt string
- The create time of the scaling group.
- VpcId string
- The VPC id of the scaling group.
- ActiveScaling stringConfiguration Id 
- The scaling configuration id which used by the scaling group.
- CreatedAt string
- The create time of the scaling group.
- DbInstance []stringIds 
- The list of db instance ids.
- DefaultCooldown int
- The default cooldown interval of the scaling group.
- DesireInstance intNumber 
- The desire instance number of the scaling group.
- HealthCheck stringType 
- The health check type of the scaling group.
- Id string
- The id of the scaling group.
- InstanceTerminate stringPolicy 
- The instance terminate policy of the scaling group.
- LaunchTemplate stringId 
- The ID of the launch template bound to the scaling group.
- LaunchTemplate []ScalingOverrides Groups Scaling Group Launch Template Override 
- Instance start template information.
- LaunchTemplate stringVersion 
- The version of the launch template bound to the scaling group.
- LifecycleState string
- The lifecycle state of the scaling group.
- LoadBalancer intHealth Check Grace Period 
- Grace period for health check of CLB instance in elastic group.
- MaxInstance intNumber 
- The max instance number of the scaling group.
- MinInstance intNumber 
- The min instance number of the scaling group.
- MultiAz stringPolicy 
- The multi az policy of the scaling group. Valid values: PRIORITY, BALANCE.
- ProjectName string
- The project name of the scaling group.
- ScalingGroup stringId 
- The id of the scaling group.
- ScalingGroup stringName 
- The name of the scaling group.
- ScalingMode string
- The scaling mode of the scaling group.
- ServerGroup []ScalingAttributes Groups Scaling Group Server Group Attribute 
- The list of server group attributes.
- StoppedInstance intCount 
- The number of stopped instances.
- SubnetIds []string
- The list of the subnet id to which the ENI is connected.
- 
[]ScalingGroups Scaling Group Tag 
- Tags.
- TotalInstance intCount 
- The total instance count of the scaling group.
- UpdatedAt string
- The create time of the scaling group.
- VpcId string
- The VPC id of the scaling group.
- activeScaling StringConfiguration Id 
- The scaling configuration id which used by the scaling group.
- createdAt String
- The create time of the scaling group.
- dbInstance List<String>Ids 
- The list of db instance ids.
- defaultCooldown Integer
- The default cooldown interval of the scaling group.
- desireInstance IntegerNumber 
- The desire instance number of the scaling group.
- healthCheck StringType 
- The health check type of the scaling group.
- id String
- The id of the scaling group.
- instanceTerminate StringPolicy 
- The instance terminate policy of the scaling group.
- launchTemplate StringId 
- The ID of the launch template bound to the scaling group.
- launchTemplate List<ScalingOverrides Groups Scaling Group Launch Template Override> 
- Instance start template information.
- launchTemplate StringVersion 
- The version of the launch template bound to the scaling group.
- lifecycleState String
- The lifecycle state of the scaling group.
- loadBalancer IntegerHealth Check Grace Period 
- Grace period for health check of CLB instance in elastic group.
- maxInstance IntegerNumber 
- The max instance number of the scaling group.
- minInstance IntegerNumber 
- The min instance number of the scaling group.
- multiAz StringPolicy 
- The multi az policy of the scaling group. Valid values: PRIORITY, BALANCE.
- projectName String
- The project name of the scaling group.
- scalingGroup StringId 
- The id of the scaling group.
- scalingGroup StringName 
- The name of the scaling group.
- scalingMode String
- The scaling mode of the scaling group.
- serverGroup List<ScalingAttributes Groups Scaling Group Server Group Attribute> 
- The list of server group attributes.
- stoppedInstance IntegerCount 
- The number of stopped instances.
- subnetIds List<String>
- The list of the subnet id to which the ENI is connected.
- 
List<ScalingGroups Scaling Group Tag> 
- Tags.
- totalInstance IntegerCount 
- The total instance count of the scaling group.
- updatedAt String
- The create time of the scaling group.
- vpcId String
- The VPC id of the scaling group.
- activeScaling stringConfiguration Id 
- The scaling configuration id which used by the scaling group.
- createdAt string
- The create time of the scaling group.
- dbInstance string[]Ids 
- The list of db instance ids.
- defaultCooldown number
- The default cooldown interval of the scaling group.
- desireInstance numberNumber 
- The desire instance number of the scaling group.
- healthCheck stringType 
- The health check type of the scaling group.
- id string
- The id of the scaling group.
- instanceTerminate stringPolicy 
- The instance terminate policy of the scaling group.
- launchTemplate stringId 
- The ID of the launch template bound to the scaling group.
- launchTemplate ScalingOverrides Groups Scaling Group Launch Template Override[] 
- Instance start template information.
- launchTemplate stringVersion 
- The version of the launch template bound to the scaling group.
- lifecycleState string
- The lifecycle state of the scaling group.
- loadBalancer numberHealth Check Grace Period 
- Grace period for health check of CLB instance in elastic group.
- maxInstance numberNumber 
- The max instance number of the scaling group.
- minInstance numberNumber 
- The min instance number of the scaling group.
- multiAz stringPolicy 
- The multi az policy of the scaling group. Valid values: PRIORITY, BALANCE.
- projectName string
- The project name of the scaling group.
- scalingGroup stringId 
- The id of the scaling group.
- scalingGroup stringName 
- The name of the scaling group.
- scalingMode string
- The scaling mode of the scaling group.
- serverGroup ScalingAttributes Groups Scaling Group Server Group Attribute[] 
- The list of server group attributes.
- stoppedInstance numberCount 
- The number of stopped instances.
- subnetIds string[]
- The list of the subnet id to which the ENI is connected.
- 
ScalingGroups Scaling Group Tag[] 
- Tags.
- totalInstance numberCount 
- The total instance count of the scaling group.
- updatedAt string
- The create time of the scaling group.
- vpcId string
- The VPC id of the scaling group.
- active_scaling_ strconfiguration_ id 
- The scaling configuration id which used by the scaling group.
- created_at str
- The create time of the scaling group.
- db_instance_ Sequence[str]ids 
- The list of db instance ids.
- default_cooldown int
- The default cooldown interval of the scaling group.
- desire_instance_ intnumber 
- The desire instance number of the scaling group.
- health_check_ strtype 
- The health check type of the scaling group.
- id str
- The id of the scaling group.
- instance_terminate_ strpolicy 
- The instance terminate policy of the scaling group.
- launch_template_ strid 
- The ID of the launch template bound to the scaling group.
- launch_template_ Sequence[Scalingoverrides Groups Scaling Group Launch Template Override] 
- Instance start template information.
- launch_template_ strversion 
- The version of the launch template bound to the scaling group.
- lifecycle_state str
- The lifecycle state of the scaling group.
- load_balancer_ inthealth_ check_ grace_ period 
- Grace period for health check of CLB instance in elastic group.
- max_instance_ intnumber 
- The max instance number of the scaling group.
- min_instance_ intnumber 
- The min instance number of the scaling group.
- multi_az_ strpolicy 
- The multi az policy of the scaling group. Valid values: PRIORITY, BALANCE.
- project_name str
- The project name of the scaling group.
- scaling_group_ strid 
- The id of the scaling group.
- scaling_group_ strname 
- The name of the scaling group.
- scaling_mode str
- The scaling mode of the scaling group.
- server_group_ Sequence[Scalingattributes Groups Scaling Group Server Group Attribute] 
- The list of server group attributes.
- stopped_instance_ intcount 
- The number of stopped instances.
- subnet_ids Sequence[str]
- The list of the subnet id to which the ENI is connected.
- 
Sequence[ScalingGroups Scaling Group Tag] 
- Tags.
- total_instance_ intcount 
- The total instance count of the scaling group.
- updated_at str
- The create time of the scaling group.
- vpc_id str
- The VPC id of the scaling group.
- activeScaling StringConfiguration Id 
- The scaling configuration id which used by the scaling group.
- createdAt String
- The create time of the scaling group.
- dbInstance List<String>Ids 
- The list of db instance ids.
- defaultCooldown Number
- The default cooldown interval of the scaling group.
- desireInstance NumberNumber 
- The desire instance number of the scaling group.
- healthCheck StringType 
- The health check type of the scaling group.
- id String
- The id of the scaling group.
- instanceTerminate StringPolicy 
- The instance terminate policy of the scaling group.
- launchTemplate StringId 
- The ID of the launch template bound to the scaling group.
- launchTemplate List<Property Map>Overrides 
- Instance start template information.
- launchTemplate StringVersion 
- The version of the launch template bound to the scaling group.
- lifecycleState String
- The lifecycle state of the scaling group.
- loadBalancer NumberHealth Check Grace Period 
- Grace period for health check of CLB instance in elastic group.
- maxInstance NumberNumber 
- The max instance number of the scaling group.
- minInstance NumberNumber 
- The min instance number of the scaling group.
- multiAz StringPolicy 
- The multi az policy of the scaling group. Valid values: PRIORITY, BALANCE.
- projectName String
- The project name of the scaling group.
- scalingGroup StringId 
- The id of the scaling group.
- scalingGroup StringName 
- The name of the scaling group.
- scalingMode String
- The scaling mode of the scaling group.
- serverGroup List<Property Map>Attributes 
- The list of server group attributes.
- stoppedInstance NumberCount 
- The number of stopped instances.
- subnetIds List<String>
- The list of the subnet id to which the ENI is connected.
- List<Property Map>
- Tags.
- totalInstance NumberCount 
- The total instance count of the scaling group.
- updatedAt String
- The create time of the scaling group.
- vpcId String
- The VPC id of the scaling group.
ScalingGroupsScalingGroupLaunchTemplateOverride      
- InstanceType string
- The instance type.
- WeightedCapacity int
- Weight of instance specifications.
- InstanceType string
- The instance type.
- WeightedCapacity int
- Weight of instance specifications.
- instanceType String
- The instance type.
- weightedCapacity Integer
- Weight of instance specifications.
- instanceType string
- The instance type.
- weightedCapacity number
- Weight of instance specifications.
- instance_type str
- The instance type.
- weighted_capacity int
- Weight of instance specifications.
- instanceType String
- The instance type.
- weightedCapacity Number
- Weight of instance specifications.
ScalingGroupsScalingGroupServerGroupAttribute      
- LoadBalancer stringId 
- The load balancer id.
- Port int
- The port receiving request of the server group.
- ServerGroup stringId 
- The server group id.
- Weight int
- The weight of the instance.
- LoadBalancer stringId 
- The load balancer id.
- Port int
- The port receiving request of the server group.
- ServerGroup stringId 
- The server group id.
- Weight int
- The weight of the instance.
- loadBalancer StringId 
- The load balancer id.
- port Integer
- The port receiving request of the server group.
- serverGroup StringId 
- The server group id.
- weight Integer
- The weight of the instance.
- loadBalancer stringId 
- The load balancer id.
- port number
- The port receiving request of the server group.
- serverGroup stringId 
- The server group id.
- weight number
- The weight of the instance.
- load_balancer_ strid 
- The load balancer id.
- port int
- The port receiving request of the server group.
- server_group_ strid 
- The server group id.
- weight int
- The weight of the instance.
- loadBalancer StringId 
- The load balancer id.
- port Number
- The port receiving request of the server group.
- serverGroup StringId 
- The server group id.
- weight Number
- The weight of the instance.
ScalingGroupsScalingGroupTag    
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the volcengineTerraform Provider.