1. Packages
  2. Volcengine
  3. API Docs
  4. autoscaling
  5. ScalingConfigurations
Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine

volcengine.autoscaling.ScalingConfigurations

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine

    Use this data source to query detailed information of scaling configurations

    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 fooSecurityGroup = new Volcengine.Vpc.SecurityGroup("fooSecurityGroup", new()
        {
            SecurityGroupName = "acc-test-security-group",
            VpcId = fooVpc.Id,
        });
    
        var fooImages = Volcengine.Ecs.Images.Invoke(new()
        {
            OsType = "Linux",
            Visibility = "public",
            InstanceTypeId = "ecs.g1.large",
        });
    
        var fooScalingGroup = new Volcengine.Autoscaling.ScalingGroup("fooScalingGroup", new()
        {
            ScalingGroupName = "acc-test-scaling-group",
            SubnetIds = new[]
            {
                fooSubnet.Id,
            },
            MultiAzPolicy = "BALANCE",
            DesireInstanceNumber = 0,
            MinInstanceNumber = 0,
            MaxInstanceNumber = 1,
            InstanceTerminatePolicy = "OldestInstance",
            DefaultCooldown = 10,
        });
    
        var fooScalingConfiguration = new List<Volcengine.Autoscaling.ScalingConfiguration>();
        for (var rangeIndex = 0; rangeIndex < 3; rangeIndex++)
        {
            var range = new { Value = rangeIndex };
            fooScalingConfiguration.Add(new Volcengine.Autoscaling.ScalingConfiguration($"fooScalingConfiguration-{range.Value}", new()
            {
                ImageId = fooImages.Apply(imagesResult => imagesResult.Images[0]?.ImageId),
                InstanceName = "acc-test-instance",
                InstanceTypes = new[]
                {
                    "ecs.g1.large",
                },
                Password = "93f0cb0614Aab12",
                ScalingConfigurationName = $"acc-test-scaling-config-{range.Value}",
                ScalingGroupId = fooScalingGroup.Id,
                SecurityGroupIds = new[]
                {
                    fooSecurityGroup.Id,
                },
                Volumes = new[]
                {
                    new Volcengine.Autoscaling.Inputs.ScalingConfigurationVolumeArgs
                    {
                        VolumeType = "ESSD_PL0",
                        Size = 50,
                        DeleteWithInstance = true,
                    },
                },
            }));
        }
        var fooScalingConfigurations = Volcengine.Autoscaling.ScalingConfigurations.Invoke(new()
        {
            Ids = fooScalingConfiguration.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
    }
    fooSecurityGroup, err := vpc.NewSecurityGroup(ctx, "fooSecurityGroup", &vpc.SecurityGroupArgs{
    SecurityGroupName: pulumi.String("acc-test-security-group"),
    VpcId: fooVpc.ID(),
    })
    if err != nil {
    return err
    }
    fooImages, err := ecs.Images(ctx, &ecs.ImagesArgs{
    OsType: pulumi.StringRef("Linux"),
    Visibility: pulumi.StringRef("public"),
    InstanceTypeId: pulumi.StringRef("ecs.g1.large"),
    }, nil);
    if err != nil {
    return err
    }
    fooScalingGroup, err := autoscaling.NewScalingGroup(ctx, "fooScalingGroup", &autoscaling.ScalingGroupArgs{
    ScalingGroupName: pulumi.String("acc-test-scaling-group"),
    SubnetIds: pulumi.StringArray{
    fooSubnet.ID(),
    },
    MultiAzPolicy: pulumi.String("BALANCE"),
    DesireInstanceNumber: pulumi.Int(0),
    MinInstanceNumber: pulumi.Int(0),
    MaxInstanceNumber: pulumi.Int(1),
    InstanceTerminatePolicy: pulumi.String("OldestInstance"),
    DefaultCooldown: pulumi.Int(10),
    })
    if err != nil {
    return err
    }
    var fooScalingConfiguration []*autoscaling.ScalingConfiguration
    for index := 0; index < 3; index++ {
        key0 := index
        val0 := index
    __res, err := autoscaling.NewScalingConfiguration(ctx, fmt.Sprintf("fooScalingConfiguration-%v", key0), &autoscaling.ScalingConfigurationArgs{
    ImageId: *pulumi.String(fooImages.Images[0].ImageId),
    InstanceName: pulumi.String("acc-test-instance"),
    InstanceTypes: pulumi.StringArray{
    pulumi.String("ecs.g1.large"),
    },
    Password: pulumi.String("93f0cb0614Aab12"),
    ScalingConfigurationName: pulumi.String(fmt.Sprintf("acc-test-scaling-config-%v", val0)),
    ScalingGroupId: fooScalingGroup.ID(),
    SecurityGroupIds: pulumi.StringArray{
    fooSecurityGroup.ID(),
    },
    Volumes: autoscaling.ScalingConfigurationVolumeArray{
    &autoscaling.ScalingConfigurationVolumeArgs{
    VolumeType: pulumi.String("ESSD_PL0"),
    Size: pulumi.Int(50),
    DeleteWithInstance: pulumi.Bool(true),
    },
    },
    })
    if err != nil {
    return err
    }
    fooScalingConfiguration = append(fooScalingConfiguration, __res)
    }
    _ = autoscaling.ScalingConfigurationsOutput(ctx, autoscaling.ScalingConfigurationsOutputArgs{
    Ids: %!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ #-functions-volcengine:autoscaling-scalingConfigurations:ScalingConfigurations.pp:50,9-38),
    }, 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.vpc.SecurityGroup;
    import com.pulumi.volcengine.vpc.SecurityGroupArgs;
    import com.pulumi.volcengine.ecs.inputs.ImagesArgs;
    import com.pulumi.volcengine.autoscaling.ScalingGroup;
    import com.pulumi.volcengine.autoscaling.ScalingGroupArgs;
    import com.pulumi.volcengine.autoscaling.ScalingConfiguration;
    import com.pulumi.volcengine.autoscaling.ScalingConfigurationArgs;
    import com.pulumi.volcengine.autoscaling.inputs.ScalingConfigurationVolumeArgs;
    import com.pulumi.volcengine.autoscaling.AutoscalingFunctions;
    import com.pulumi.volcengine.autoscaling.inputs.ScalingConfigurationsArgs;
    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());
    
            var fooSecurityGroup = new SecurityGroup("fooSecurityGroup", SecurityGroupArgs.builder()        
                .securityGroupName("acc-test-security-group")
                .vpcId(fooVpc.id())
                .build());
    
            final var fooImages = EcsFunctions.Images(ImagesArgs.builder()
                .osType("Linux")
                .visibility("public")
                .instanceTypeId("ecs.g1.large")
                .build());
    
            var fooScalingGroup = new ScalingGroup("fooScalingGroup", ScalingGroupArgs.builder()        
                .scalingGroupName("acc-test-scaling-group")
                .subnetIds(fooSubnet.id())
                .multiAzPolicy("BALANCE")
                .desireInstanceNumber(0)
                .minInstanceNumber(0)
                .maxInstanceNumber(1)
                .instanceTerminatePolicy("OldestInstance")
                .defaultCooldown(10)
                .build());
    
            for (var i = 0; i < 3; i++) {
                new ScalingConfiguration("fooScalingConfiguration-" + i, ScalingConfigurationArgs.builder()            
                    .imageId(fooImages.applyValue(imagesResult -> imagesResult.images()[0].imageId()))
                    .instanceName("acc-test-instance")
                    .instanceTypes("ecs.g1.large")
                    .password("93f0cb0614Aab12")
                    .scalingConfigurationName(String.format("acc-test-scaling-config-%s", range.value()))
                    .scalingGroupId(fooScalingGroup.id())
                    .securityGroupIds(fooSecurityGroup.id())
                    .volumes(ScalingConfigurationVolumeArgs.builder()
                        .volumeType("ESSD_PL0")
                        .size(50)
                        .deleteWithInstance(true)
                        .build())
                    .build());
    
            
    }
            final var fooScalingConfigurations = AutoscalingFunctions.ScalingConfigurations(ScalingConfigurationsArgs.builder()
                .ids(fooScalingConfiguration.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_security_group = volcengine.vpc.SecurityGroup("fooSecurityGroup",
        security_group_name="acc-test-security-group",
        vpc_id=foo_vpc.id)
    foo_images = volcengine.ecs.images(os_type="Linux",
        visibility="public",
        instance_type_id="ecs.g1.large")
    foo_scaling_group = volcengine.autoscaling.ScalingGroup("fooScalingGroup",
        scaling_group_name="acc-test-scaling-group",
        subnet_ids=[foo_subnet.id],
        multi_az_policy="BALANCE",
        desire_instance_number=0,
        min_instance_number=0,
        max_instance_number=1,
        instance_terminate_policy="OldestInstance",
        default_cooldown=10)
    foo_scaling_configuration = []
    for range in [{"value": i} for i in range(0, 3)]:
        foo_scaling_configuration.append(volcengine.autoscaling.ScalingConfiguration(f"fooScalingConfiguration-{range['value']}",
            image_id=foo_images.images[0].image_id,
            instance_name="acc-test-instance",
            instance_types=["ecs.g1.large"],
            password="93f0cb0614Aab12",
            scaling_configuration_name=f"acc-test-scaling-config-{range['value']}",
            scaling_group_id=foo_scaling_group.id,
            security_group_ids=[foo_security_group.id],
            volumes=[volcengine.autoscaling.ScalingConfigurationVolumeArgs(
                volume_type="ESSD_PL0",
                size=50,
                delete_with_instance=True,
            )]))
    foo_scaling_configurations = volcengine.autoscaling.scaling_configurations_output(ids=[__item.id for __item in foo_scaling_configuration])
    
    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 fooSecurityGroup = new volcengine.vpc.SecurityGroup("fooSecurityGroup", {
        securityGroupName: "acc-test-security-group",
        vpcId: fooVpc.id,
    });
    const fooImages = volcengine.ecs.Images({
        osType: "Linux",
        visibility: "public",
        instanceTypeId: "ecs.g1.large",
    });
    const fooScalingGroup = new volcengine.autoscaling.ScalingGroup("fooScalingGroup", {
        scalingGroupName: "acc-test-scaling-group",
        subnetIds: [fooSubnet.id],
        multiAzPolicy: "BALANCE",
        desireInstanceNumber: 0,
        minInstanceNumber: 0,
        maxInstanceNumber: 1,
        instanceTerminatePolicy: "OldestInstance",
        defaultCooldown: 10,
    });
    const fooScalingConfiguration: volcengine.autoscaling.ScalingConfiguration[] = [];
    for (const range = {value: 0}; range.value < 3; range.value++) {
        fooScalingConfiguration.push(new volcengine.autoscaling.ScalingConfiguration(`fooScalingConfiguration-${range.value}`, {
            imageId: fooImages.then(fooImages => fooImages.images?.[0]?.imageId),
            instanceName: "acc-test-instance",
            instanceTypes: ["ecs.g1.large"],
            password: "93f0cb0614Aab12",
            scalingConfigurationName: `acc-test-scaling-config-${range.value}`,
            scalingGroupId: fooScalingGroup.id,
            securityGroupIds: [fooSecurityGroup.id],
            volumes: [{
                volumeType: "ESSD_PL0",
                size: 50,
                deleteWithInstance: true,
            }],
        }));
    }
    const fooScalingConfigurations = volcengine.autoscaling.ScalingConfigurationsOutput({
        ids: fooScalingConfiguration.map(__item => __item.id),
    });
    

    Coming soon!

    Using ScalingConfigurations

    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 scalingConfigurations(args: ScalingConfigurationsArgs, opts?: InvokeOptions): Promise<ScalingConfigurationsResult>
    function scalingConfigurationsOutput(args: ScalingConfigurationsOutputArgs, opts?: InvokeOptions): Output<ScalingConfigurationsResult>
    def scaling_configurations(ids: Optional[Sequence[str]] = None,
                               name_regex: Optional[str] = None,
                               output_file: Optional[str] = None,
                               scaling_configuration_names: Optional[Sequence[str]] = None,
                               scaling_group_id: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> ScalingConfigurationsResult
    def scaling_configurations_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                               name_regex: Optional[pulumi.Input[str]] = None,
                               output_file: Optional[pulumi.Input[str]] = None,
                               scaling_configuration_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                               scaling_group_id: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[ScalingConfigurationsResult]
    func ScalingConfigurations(ctx *Context, args *ScalingConfigurationsArgs, opts ...InvokeOption) (*ScalingConfigurationsResult, error)
    func ScalingConfigurationsOutput(ctx *Context, args *ScalingConfigurationsOutputArgs, opts ...InvokeOption) ScalingConfigurationsResultOutput
    public static class ScalingConfigurations 
    {
        public static Task<ScalingConfigurationsResult> InvokeAsync(ScalingConfigurationsArgs args, InvokeOptions? opts = null)
        public static Output<ScalingConfigurationsResult> Invoke(ScalingConfigurationsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<ScalingConfigurationsResult> scalingConfigurations(ScalingConfigurationsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: volcengine:autoscaling:ScalingConfigurations
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Ids List<string>
    A list of scaling configuration ids.
    NameRegex string
    A Name Regex of scaling configuration.
    OutputFile string
    File name where to save data source results.
    ScalingConfigurationNames List<string>
    A list of scaling configuration names.
    ScalingGroupId string
    An id of scaling group.
    Ids []string
    A list of scaling configuration ids.
    NameRegex string
    A Name Regex of scaling configuration.
    OutputFile string
    File name where to save data source results.
    ScalingConfigurationNames []string
    A list of scaling configuration names.
    ScalingGroupId string
    An id of scaling group.
    ids List<String>
    A list of scaling configuration ids.
    nameRegex String
    A Name Regex of scaling configuration.
    outputFile String
    File name where to save data source results.
    scalingConfigurationNames List<String>
    A list of scaling configuration names.
    scalingGroupId String
    An id of scaling group.
    ids string[]
    A list of scaling configuration ids.
    nameRegex string
    A Name Regex of scaling configuration.
    outputFile string
    File name where to save data source results.
    scalingConfigurationNames string[]
    A list of scaling configuration names.
    scalingGroupId string
    An id of scaling group.
    ids Sequence[str]
    A list of scaling configuration ids.
    name_regex str
    A Name Regex of scaling configuration.
    output_file str
    File name where to save data source results.
    scaling_configuration_names Sequence[str]
    A list of scaling configuration names.
    scaling_group_id str
    An id of scaling group.
    ids List<String>
    A list of scaling configuration ids.
    nameRegex String
    A Name Regex of scaling configuration.
    outputFile String
    File name where to save data source results.
    scalingConfigurationNames List<String>
    A list of scaling configuration names.
    scalingGroupId String
    An id of scaling group.

    ScalingConfigurations Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    ScalingConfigurations List<Pulumi.Volcengine.Autoscaling.Outputs.ScalingConfigurationsScalingConfiguration>
    The collection of scaling configuration query.
    TotalCount int
    The total count of scaling configuration query.
    Ids List<string>
    NameRegex string
    OutputFile string
    ScalingConfigurationNames List<string>
    ScalingGroupId string
    The id of the scaling group to which the scaling configuration belongs.
    Id string
    The provider-assigned unique ID for this managed resource.
    ScalingConfigurations []ScalingConfigurationsScalingConfiguration
    The collection of scaling configuration query.
    TotalCount int
    The total count of scaling configuration query.
    Ids []string
    NameRegex string
    OutputFile string
    ScalingConfigurationNames []string
    ScalingGroupId string
    The id of the scaling group to which the scaling configuration belongs.
    id String
    The provider-assigned unique ID for this managed resource.
    scalingConfigurations List<ScalingConfigurationsScalingConfiguration>
    The collection of scaling configuration query.
    totalCount Integer
    The total count of scaling configuration query.
    ids List<String>
    nameRegex String
    outputFile String
    scalingConfigurationNames List<String>
    scalingGroupId String
    The id of the scaling group to which the scaling configuration belongs.
    id string
    The provider-assigned unique ID for this managed resource.
    scalingConfigurations ScalingConfigurationsScalingConfiguration[]
    The collection of scaling configuration query.
    totalCount number
    The total count of scaling configuration query.
    ids string[]
    nameRegex string
    outputFile string
    scalingConfigurationNames string[]
    scalingGroupId string
    The id of the scaling group to which the scaling configuration belongs.
    id str
    The provider-assigned unique ID for this managed resource.
    scaling_configurations Sequence[ScalingConfigurationsScalingConfiguration]
    The collection of scaling configuration query.
    total_count int
    The total count of scaling configuration query.
    ids Sequence[str]
    name_regex str
    output_file str
    scaling_configuration_names Sequence[str]
    scaling_group_id str
    The id of the scaling group to which the scaling configuration belongs.
    id String
    The provider-assigned unique ID for this managed resource.
    scalingConfigurations List<Property Map>
    The collection of scaling configuration query.
    totalCount Number
    The total count of scaling configuration query.
    ids List<String>
    nameRegex String
    outputFile String
    scalingConfigurationNames List<String>
    scalingGroupId String
    The id of the scaling group to which the scaling configuration belongs.

    Supporting Types

    ScalingConfigurationsScalingConfiguration

    CreatedAt string
    The create time of the scaling configuration.
    EipBandwidth int
    The EIP bandwidth which the scaling configuration set.
    EipBillingType string
    The EIP ISP which the scaling configuration set.
    EipIsp string
    The EIP ISP which the scaling configuration set.
    HostName string
    The ECS hostname which the scaling configuration set.
    HpcClusterId string
    The ID of the HPC cluster to which the instance belongs. Valid only when InstanceTypes.N specifies High Performance Computing GPU Type.
    Id string
    The id of the scaling configuration.
    ImageId string
    The ECS image id which the scaling configuration set.
    InstanceDescription string
    The ECS instance description which the scaling configuration set.
    InstanceName string
    The ECS instance name which the scaling configuration set.
    InstanceTypes List<string>
    The list of the ECS instance type which the scaling configuration set.
    Ipv6AddressCount int
    Assign IPv6 address to instance network card. Possible values: 0: Do not assign IPv6 address. 1: Assign IPv6 address and the system will automatically assign an IPv6 subnet for you.
    KeyPairName string
    The ECS key pair name which the scaling configuration set.
    LifecycleState string
    The lifecycle state of the scaling configuration.
    ProjectName string
    The project to which the instance created by the scaling configuration belongs.
    ScalingConfigurationId string
    The id of the scaling configuration.
    ScalingConfigurationName string
    The name of the scaling configuration.
    ScalingGroupId string
    An id of scaling group.
    SecurityEnhancementStrategy string
    The Ecs security enhancement strategy which the scaling configuration set.
    SecurityGroupIds List<string>
    The list of the security group id of the networkInterface which the scaling configuration set.
    SpotStrategy string
    The preemption policy of the instance. Valid Value: NoSpot (default), SpotAsPriceGo.
    Tags List<Pulumi.Volcengine.Autoscaling.Inputs.ScalingConfigurationsScalingConfigurationTag>
    The label of the instance created by the scaling configuration.
    UpdatedAt string
    The create time of the scaling configuration.
    UserData string
    The ECS user data which the scaling configuration set.
    Volumes List<Pulumi.Volcengine.Autoscaling.Inputs.ScalingConfigurationsScalingConfigurationVolume>
    The list of volume of the scaling configuration.
    CreatedAt string
    The create time of the scaling configuration.
    EipBandwidth int
    The EIP bandwidth which the scaling configuration set.
    EipBillingType string
    The EIP ISP which the scaling configuration set.
    EipIsp string
    The EIP ISP which the scaling configuration set.
    HostName string
    The ECS hostname which the scaling configuration set.
    HpcClusterId string
    The ID of the HPC cluster to which the instance belongs. Valid only when InstanceTypes.N specifies High Performance Computing GPU Type.
    Id string
    The id of the scaling configuration.
    ImageId string
    The ECS image id which the scaling configuration set.
    InstanceDescription string
    The ECS instance description which the scaling configuration set.
    InstanceName string
    The ECS instance name which the scaling configuration set.
    InstanceTypes []string
    The list of the ECS instance type which the scaling configuration set.
    Ipv6AddressCount int
    Assign IPv6 address to instance network card. Possible values: 0: Do not assign IPv6 address. 1: Assign IPv6 address and the system will automatically assign an IPv6 subnet for you.
    KeyPairName string
    The ECS key pair name which the scaling configuration set.
    LifecycleState string
    The lifecycle state of the scaling configuration.
    ProjectName string
    The project to which the instance created by the scaling configuration belongs.
    ScalingConfigurationId string
    The id of the scaling configuration.
    ScalingConfigurationName string
    The name of the scaling configuration.
    ScalingGroupId string
    An id of scaling group.
    SecurityEnhancementStrategy string
    The Ecs security enhancement strategy which the scaling configuration set.
    SecurityGroupIds []string
    The list of the security group id of the networkInterface which the scaling configuration set.
    SpotStrategy string
    The preemption policy of the instance. Valid Value: NoSpot (default), SpotAsPriceGo.
    Tags []ScalingConfigurationsScalingConfigurationTag
    The label of the instance created by the scaling configuration.
    UpdatedAt string
    The create time of the scaling configuration.
    UserData string
    The ECS user data which the scaling configuration set.
    Volumes []ScalingConfigurationsScalingConfigurationVolume
    The list of volume of the scaling configuration.
    createdAt String
    The create time of the scaling configuration.
    eipBandwidth Integer
    The EIP bandwidth which the scaling configuration set.
    eipBillingType String
    The EIP ISP which the scaling configuration set.
    eipIsp String
    The EIP ISP which the scaling configuration set.
    hostName String
    The ECS hostname which the scaling configuration set.
    hpcClusterId String
    The ID of the HPC cluster to which the instance belongs. Valid only when InstanceTypes.N specifies High Performance Computing GPU Type.
    id String
    The id of the scaling configuration.
    imageId String
    The ECS image id which the scaling configuration set.
    instanceDescription String
    The ECS instance description which the scaling configuration set.
    instanceName String
    The ECS instance name which the scaling configuration set.
    instanceTypes List<String>
    The list of the ECS instance type which the scaling configuration set.
    ipv6AddressCount Integer
    Assign IPv6 address to instance network card. Possible values: 0: Do not assign IPv6 address. 1: Assign IPv6 address and the system will automatically assign an IPv6 subnet for you.
    keyPairName String
    The ECS key pair name which the scaling configuration set.
    lifecycleState String
    The lifecycle state of the scaling configuration.
    projectName String
    The project to which the instance created by the scaling configuration belongs.
    scalingConfigurationId String
    The id of the scaling configuration.
    scalingConfigurationName String
    The name of the scaling configuration.
    scalingGroupId String
    An id of scaling group.
    securityEnhancementStrategy String
    The Ecs security enhancement strategy which the scaling configuration set.
    securityGroupIds List<String>
    The list of the security group id of the networkInterface which the scaling configuration set.
    spotStrategy String
    The preemption policy of the instance. Valid Value: NoSpot (default), SpotAsPriceGo.
    tags List<ScalingConfigurationsScalingConfigurationTag>
    The label of the instance created by the scaling configuration.
    updatedAt String
    The create time of the scaling configuration.
    userData String
    The ECS user data which the scaling configuration set.
    volumes List<ScalingConfigurationsScalingConfigurationVolume>
    The list of volume of the scaling configuration.
    createdAt string
    The create time of the scaling configuration.
    eipBandwidth number
    The EIP bandwidth which the scaling configuration set.
    eipBillingType string
    The EIP ISP which the scaling configuration set.
    eipIsp string
    The EIP ISP which the scaling configuration set.
    hostName string
    The ECS hostname which the scaling configuration set.
    hpcClusterId string
    The ID of the HPC cluster to which the instance belongs. Valid only when InstanceTypes.N specifies High Performance Computing GPU Type.
    id string
    The id of the scaling configuration.
    imageId string
    The ECS image id which the scaling configuration set.
    instanceDescription string
    The ECS instance description which the scaling configuration set.
    instanceName string
    The ECS instance name which the scaling configuration set.
    instanceTypes string[]
    The list of the ECS instance type which the scaling configuration set.
    ipv6AddressCount number
    Assign IPv6 address to instance network card. Possible values: 0: Do not assign IPv6 address. 1: Assign IPv6 address and the system will automatically assign an IPv6 subnet for you.
    keyPairName string
    The ECS key pair name which the scaling configuration set.
    lifecycleState string
    The lifecycle state of the scaling configuration.
    projectName string
    The project to which the instance created by the scaling configuration belongs.
    scalingConfigurationId string
    The id of the scaling configuration.
    scalingConfigurationName string
    The name of the scaling configuration.
    scalingGroupId string
    An id of scaling group.
    securityEnhancementStrategy string
    The Ecs security enhancement strategy which the scaling configuration set.
    securityGroupIds string[]
    The list of the security group id of the networkInterface which the scaling configuration set.
    spotStrategy string
    The preemption policy of the instance. Valid Value: NoSpot (default), SpotAsPriceGo.
    tags ScalingConfigurationsScalingConfigurationTag[]
    The label of the instance created by the scaling configuration.
    updatedAt string
    The create time of the scaling configuration.
    userData string
    The ECS user data which the scaling configuration set.
    volumes ScalingConfigurationsScalingConfigurationVolume[]
    The list of volume of the scaling configuration.
    created_at str
    The create time of the scaling configuration.
    eip_bandwidth int
    The EIP bandwidth which the scaling configuration set.
    eip_billing_type str
    The EIP ISP which the scaling configuration set.
    eip_isp str
    The EIP ISP which the scaling configuration set.
    host_name str
    The ECS hostname which the scaling configuration set.
    hpc_cluster_id str
    The ID of the HPC cluster to which the instance belongs. Valid only when InstanceTypes.N specifies High Performance Computing GPU Type.
    id str
    The id of the scaling configuration.
    image_id str
    The ECS image id which the scaling configuration set.
    instance_description str
    The ECS instance description which the scaling configuration set.
    instance_name str
    The ECS instance name which the scaling configuration set.
    instance_types Sequence[str]
    The list of the ECS instance type which the scaling configuration set.
    ipv6_address_count int
    Assign IPv6 address to instance network card. Possible values: 0: Do not assign IPv6 address. 1: Assign IPv6 address and the system will automatically assign an IPv6 subnet for you.
    key_pair_name str
    The ECS key pair name which the scaling configuration set.
    lifecycle_state str
    The lifecycle state of the scaling configuration.
    project_name str
    The project to which the instance created by the scaling configuration belongs.
    scaling_configuration_id str
    The id of the scaling configuration.
    scaling_configuration_name str
    The name of the scaling configuration.
    scaling_group_id str
    An id of scaling group.
    security_enhancement_strategy str
    The Ecs security enhancement strategy which the scaling configuration set.
    security_group_ids Sequence[str]
    The list of the security group id of the networkInterface which the scaling configuration set.
    spot_strategy str
    The preemption policy of the instance. Valid Value: NoSpot (default), SpotAsPriceGo.
    tags Sequence[ScalingConfigurationsScalingConfigurationTag]
    The label of the instance created by the scaling configuration.
    updated_at str
    The create time of the scaling configuration.
    user_data str
    The ECS user data which the scaling configuration set.
    volumes Sequence[ScalingConfigurationsScalingConfigurationVolume]
    The list of volume of the scaling configuration.
    createdAt String
    The create time of the scaling configuration.
    eipBandwidth Number
    The EIP bandwidth which the scaling configuration set.
    eipBillingType String
    The EIP ISP which the scaling configuration set.
    eipIsp String
    The EIP ISP which the scaling configuration set.
    hostName String
    The ECS hostname which the scaling configuration set.
    hpcClusterId String
    The ID of the HPC cluster to which the instance belongs. Valid only when InstanceTypes.N specifies High Performance Computing GPU Type.
    id String
    The id of the scaling configuration.
    imageId String
    The ECS image id which the scaling configuration set.
    instanceDescription String
    The ECS instance description which the scaling configuration set.
    instanceName String
    The ECS instance name which the scaling configuration set.
    instanceTypes List<String>
    The list of the ECS instance type which the scaling configuration set.
    ipv6AddressCount Number
    Assign IPv6 address to instance network card. Possible values: 0: Do not assign IPv6 address. 1: Assign IPv6 address and the system will automatically assign an IPv6 subnet for you.
    keyPairName String
    The ECS key pair name which the scaling configuration set.
    lifecycleState String
    The lifecycle state of the scaling configuration.
    projectName String
    The project to which the instance created by the scaling configuration belongs.
    scalingConfigurationId String
    The id of the scaling configuration.
    scalingConfigurationName String
    The name of the scaling configuration.
    scalingGroupId String
    An id of scaling group.
    securityEnhancementStrategy String
    The Ecs security enhancement strategy which the scaling configuration set.
    securityGroupIds List<String>
    The list of the security group id of the networkInterface which the scaling configuration set.
    spotStrategy String
    The preemption policy of the instance. Valid Value: NoSpot (default), SpotAsPriceGo.
    tags List<Property Map>
    The label of the instance created by the scaling configuration.
    updatedAt String
    The create time of the scaling configuration.
    userData String
    The ECS user data which the scaling configuration set.
    volumes List<Property Map>
    The list of volume of the scaling configuration.

    ScalingConfigurationsScalingConfigurationTag

    Key string
    The Key of Tags.
    Value string
    The Value of Tags.
    Key string
    The Key of Tags.
    Value string
    The Value of Tags.
    key String
    The Key of Tags.
    value String
    The Value of Tags.
    key string
    The Key of Tags.
    value string
    The Value of Tags.
    key str
    The Key of Tags.
    value str
    The Value of Tags.
    key String
    The Key of Tags.
    value String
    The Value of Tags.

    ScalingConfigurationsScalingConfigurationVolume

    DeleteWithInstance bool
    The delete with instance flag of volume.
    Size int
    The size of volume.
    VolumeType string
    The type of volume.
    DeleteWithInstance bool
    The delete with instance flag of volume.
    Size int
    The size of volume.
    VolumeType string
    The type of volume.
    deleteWithInstance Boolean
    The delete with instance flag of volume.
    size Integer
    The size of volume.
    volumeType String
    The type of volume.
    deleteWithInstance boolean
    The delete with instance flag of volume.
    size number
    The size of volume.
    volumeType string
    The type of volume.
    delete_with_instance bool
    The delete with instance flag of volume.
    size int
    The size of volume.
    volume_type str
    The type of volume.
    deleteWithInstance Boolean
    The delete with instance flag of volume.
    size Number
    The size of volume.
    volumeType String
    The type of volume.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine