Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine
volcengine.autoscaling.ScalingGroups
Explore with Pulumi AI
Use this data source to query detailed information of scaling groups
Example Usage
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 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
})
}
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());
}
}
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])
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),
});
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) ScalingGroupsResultOutput
public 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: volcengine:autoscaling:ScalingGroups
arguments:
# arguments dictionary
The following arguments are supported:
- Ids List<string>
- A list of scaling group ids.
- Name
Regex string - A Name Regex of scaling group.
- Output
File string - File name where to save data source results.
- Project
Name string - The project name of the scaling group.
- Scaling
Group List<string>Names - A list of scaling group names.
- Ids []string
- A list of scaling group ids.
- Name
Regex string - A Name Regex of scaling group.
- Output
File string - File name where to save data source results.
- Project
Name string - The project name of the scaling group.
- Scaling
Group []stringNames - A list of scaling group names.
- ids List<String>
- A list of scaling group ids.
- name
Regex String - A Name Regex of scaling group.
- output
File String - File name where to save data source results.
- project
Name String - The project name of the scaling group.
- scaling
Group List<String>Names - A list of scaling group names.
- ids string[]
- A list of scaling group ids.
- name
Regex string - A Name Regex of scaling group.
- output
File string - File name where to save data source results.
- project
Name string - The project name of the scaling group.
- scaling
Group 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.
- name
Regex String - A Name Regex of scaling group.
- output
File String - File name where to save data source results.
- project
Name String - The project name of the scaling group.
- scaling
Group 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.
- Scaling
Groups List<Pulumi.Volcengine. Autoscaling. Outputs. Scaling Groups Scaling Group> - The collection of scaling group query.
- Total
Count int - The total count of scaling group query.
- Ids List<string>
- Name
Regex string - Output
File string - Project
Name string - The ProjectName of scaling group.
- Scaling
Group List<string>Names
- Id string
- The provider-assigned unique ID for this managed resource.
- Scaling
Groups []ScalingGroups Scaling Group - The collection of scaling group query.
- Total
Count int - The total count of scaling group query.
- Ids []string
- Name
Regex string - Output
File string - Project
Name string - The ProjectName of scaling group.
- Scaling
Group []stringNames
- id String
- The provider-assigned unique ID for this managed resource.
- scaling
Groups List<ScalingGroups Scaling Group> - The collection of scaling group query.
- total
Count Integer - The total count of scaling group query.
- ids List<String>
- name
Regex String - output
File String - project
Name String - The ProjectName of scaling group.
- scaling
Group List<String>Names
- id string
- The provider-assigned unique ID for this managed resource.
- scaling
Groups ScalingGroups Scaling Group[] - The collection of scaling group query.
- total
Count number - The total count of scaling group query.
- ids string[]
- name
Regex string - output
File string - project
Name string - The ProjectName of scaling group.
- scaling
Group 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.
- scaling
Groups List<Property Map> - The collection of scaling group query.
- total
Count Number - The total count of scaling group query.
- ids List<String>
- name
Regex String - output
File String - project
Name String - The ProjectName of scaling group.
- scaling
Group List<String>Names
Supporting Types
ScalingGroupsScalingGroup
- Active
Scaling stringConfiguration Id - The scaling configuration id which used by the scaling group.
- Created
At string - The create time of the scaling group.
- Db
Instance List<string>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 stringType - The health check type of the scaling group.
- Id string
- The id of the scaling group.
- Instance
Terminate stringPolicy - The instance terminate policy of the scaling group.
- Launch
Template stringId - The ID of the launch template bound to the scaling group.
- Launch
Template List<Pulumi.Overrides Volcengine. Autoscaling. Inputs. Scaling Groups Scaling Group Launch Template Override> - Instance start template information.
- Launch
Template stringVersion - The version of the launch template bound to the scaling group.
- Lifecycle
State string - 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 stringPolicy - The multi az policy of the scaling group. Valid values: PRIORITY, BALANCE.
- Project
Name string - The project name of the scaling group.
- Scaling
Group stringId - The id of the scaling group.
- Scaling
Group stringName - The name of the scaling group.
- Scaling
Mode string - The scaling mode of the scaling group.
- Server
Group List<Pulumi.Attributes Volcengine. Autoscaling. Inputs. Scaling Groups Scaling Group Server Group Attribute> - The list of server group attributes.
- Stopped
Instance intCount - The number of stopped instances.
- Subnet
Ids List<string> - The list of the subnet id to which the ENI is connected.
- List<Pulumi.
Volcengine. Autoscaling. Inputs. Scaling Groups Scaling Group Tag> - Tags.
- Total
Instance intCount - The total instance count of the scaling group.
- Updated
At string - The create time of the scaling group.
- Vpc
Id string - The VPC id of the scaling group.
- Active
Scaling stringConfiguration Id - The scaling configuration id which used by the scaling group.
- Created
At string - The create time of the scaling group.
- Db
Instance []stringIds - 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 stringType - The health check type of the scaling group.
- Id string
- The id of the scaling group.
- Instance
Terminate stringPolicy - The instance terminate policy of the scaling group.
- Launch
Template stringId - The ID of the launch template bound to the scaling group.
- Launch
Template []ScalingOverrides Groups Scaling Group Launch Template Override - Instance start template information.
- Launch
Template stringVersion - The version of the launch template bound to the scaling group.
- Lifecycle
State string - 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 stringPolicy - The multi az policy of the scaling group. Valid values: PRIORITY, BALANCE.
- Project
Name string - The project name of the scaling group.
- Scaling
Group stringId - The id of the scaling group.
- Scaling
Group stringName - The name of the scaling group.
- Scaling
Mode string - The scaling mode of the scaling group.
- Server
Group []ScalingAttributes Groups Scaling Group Server Group Attribute - The list of server group attributes.
- Stopped
Instance intCount - The number of stopped instances.
- Subnet
Ids []string - The list of the subnet id to which the ENI is connected.
- []Scaling
Groups Scaling Group Tag - Tags.
- Total
Instance intCount - The total instance count of the scaling group.
- Updated
At string - The create time of the scaling group.
- Vpc
Id string - The VPC id of the scaling group.
- active
Scaling StringConfiguration Id - The scaling configuration id which used by the scaling group.
- created
At String - The create time of the scaling group.
- db
Instance List<String>Ids - The list of db instance ids.
- default
Cooldown Integer - The default cooldown interval of the scaling group.
- desire
Instance IntegerNumber - The desire instance number of the scaling group.
- health
Check StringType - The health check type of the scaling group.
- id String
- The id of the scaling group.
- instance
Terminate StringPolicy - The instance terminate policy of the scaling group.
- launch
Template StringId - The ID of the launch template bound to the scaling group.
- launch
Template List<ScalingOverrides Groups Scaling Group Launch Template Override> - Instance start template information.
- launch
Template StringVersion - The version of the launch template bound to the scaling group.
- lifecycle
State String - The lifecycle state of the scaling group.
- load
Balancer IntegerHealth Check Grace Period - Grace period for health check of CLB instance in elastic group.
- max
Instance IntegerNumber - The max instance number of the scaling group.
- min
Instance IntegerNumber - The min instance number of the scaling group.
- multi
Az StringPolicy - The multi az policy of the scaling group. Valid values: PRIORITY, BALANCE.
- project
Name String - The project name of the scaling group.
- scaling
Group StringId - The id of the scaling group.
- scaling
Group StringName - The name of the scaling group.
- scaling
Mode String - The scaling mode of the scaling group.
- server
Group List<ScalingAttributes Groups Scaling Group Server Group Attribute> - The list of server group attributes.
- stopped
Instance IntegerCount - The number of stopped instances.
- subnet
Ids List<String> - The list of the subnet id to which the ENI is connected.
- List<Scaling
Groups Scaling Group Tag> - Tags.
- total
Instance IntegerCount - The total instance count of the scaling group.
- updated
At String - The create time of the scaling group.
- vpc
Id String - The VPC id of the scaling group.
- active
Scaling stringConfiguration Id - The scaling configuration id which used by the scaling group.
- created
At string - The create time of the scaling group.
- db
Instance string[]Ids - The list of db instance ids.
- default
Cooldown number - The default cooldown interval of the scaling group.
- desire
Instance numberNumber - The desire instance number of the scaling group.
- health
Check stringType - The health check type of the scaling group.
- id string
- The id of the scaling group.
- instance
Terminate stringPolicy - The instance terminate policy of the scaling group.
- launch
Template stringId - The ID of the launch template bound to the scaling group.
- launch
Template ScalingOverrides Groups Scaling Group Launch Template Override[] - Instance start template information.
- launch
Template stringVersion - The version of the launch template bound to the scaling group.
- lifecycle
State string - The lifecycle state of the scaling group.
- load
Balancer numberHealth Check Grace Period - Grace period for health check of CLB instance in elastic group.
- max
Instance numberNumber - The max instance number of the scaling group.
- min
Instance numberNumber - The min instance number of the scaling group.
- multi
Az stringPolicy - The multi az policy of the scaling group. Valid values: PRIORITY, BALANCE.
- project
Name string - The project name of the scaling group.
- scaling
Group stringId - The id of the scaling group.
- scaling
Group stringName - The name of the scaling group.
- scaling
Mode string - The scaling mode of the scaling group.
- server
Group ScalingAttributes Groups Scaling Group Server Group Attribute[] - The list of server group attributes.
- stopped
Instance numberCount - The number of stopped instances.
- subnet
Ids string[] - The list of the subnet id to which the ENI is connected.
- Scaling
Groups Scaling Group Tag[] - Tags.
- total
Instance numberCount - The total instance count of the scaling group.
- updated
At string - The create time of the scaling group.
- vpc
Id 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[Scaling
Groups 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.
- active
Scaling StringConfiguration Id - The scaling configuration id which used by the scaling group.
- created
At String - The create time of the scaling group.
- db
Instance List<String>Ids - The list of db instance ids.
- default
Cooldown Number - The default cooldown interval of the scaling group.
- desire
Instance NumberNumber - The desire instance number of the scaling group.
- health
Check StringType - The health check type of the scaling group.
- id String
- The id of the scaling group.
- instance
Terminate StringPolicy - The instance terminate policy of the scaling group.
- launch
Template StringId - The ID of the launch template bound to the scaling group.
- launch
Template List<Property Map>Overrides - Instance start template information.
- launch
Template StringVersion - The version of the launch template bound to the scaling group.
- lifecycle
State String - The lifecycle state of the scaling group.
- load
Balancer NumberHealth Check Grace Period - Grace period for health check of CLB instance in elastic group.
- max
Instance NumberNumber - The max instance number of the scaling group.
- min
Instance NumberNumber - The min instance number of the scaling group.
- multi
Az StringPolicy - The multi az policy of the scaling group. Valid values: PRIORITY, BALANCE.
- project
Name String - The project name of the scaling group.
- scaling
Group StringId - The id of the scaling group.
- scaling
Group StringName - The name of the scaling group.
- scaling
Mode String - The scaling mode of the scaling group.
- server
Group List<Property Map>Attributes - The list of server group attributes.
- stopped
Instance NumberCount - The number of stopped instances.
- subnet
Ids List<String> - The list of the subnet id to which the ENI is connected.
- List<Property Map>
- Tags.
- total
Instance NumberCount - The total instance count of the scaling group.
- updated
At String - The create time of the scaling group.
- vpc
Id String - The VPC id of the scaling group.
ScalingGroupsScalingGroupLaunchTemplateOverride
- Instance
Type string - The instance type.
- Weighted
Capacity int - Weight of instance specifications.
- Instance
Type string - The instance type.
- Weighted
Capacity int - Weight of instance specifications.
- instance
Type String - The instance type.
- weighted
Capacity Integer - Weight of instance specifications.
- instance
Type string - The instance type.
- weighted
Capacity number - Weight of instance specifications.
- instance_
type str - The instance type.
- weighted_
capacity int - Weight of instance specifications.
- instance
Type String - The instance type.
- weighted
Capacity Number - Weight of instance specifications.
ScalingGroupsScalingGroupServerGroupAttribute
- Load
Balancer stringId - The load balancer id.
- Port int
- The port receiving request of the server group.
- Server
Group stringId - The server group id.
- Weight int
- The weight of the instance.
- Load
Balancer stringId - The load balancer id.
- Port int
- The port receiving request of the server group.
- Server
Group stringId - The server group id.
- Weight int
- The weight of the instance.
- load
Balancer StringId - The load balancer id.
- port Integer
- The port receiving request of the server group.
- server
Group StringId - The server group id.
- weight Integer
- The weight of the instance.
- load
Balancer stringId - The load balancer id.
- port number
- The port receiving request of the server group.
- server
Group 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.
- load
Balancer StringId - The load balancer id.
- port Number
- The port receiving request of the server group.
- server
Group 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
volcengine
Terraform Provider.