1. Packages
  2. Volcengine
  3. API Docs
  4. autoscaling
  5. ScalingConfiguration
Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine

volcengine.autoscaling.ScalingConfiguration

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine

    Import

    ScalingConfiguration can be imported using the id, e.g.

     $ pulumi import volcengine:autoscaling/scalingConfiguration:ScalingConfiguration default scc-ybkuck3mx8cm9tm5yglz
    

    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 Volcengine.Autoscaling.ScalingConfiguration("fooScalingConfiguration", new()
        {
            ScalingConfigurationName = "tf-test",
            ScalingGroupId = fooScalingGroup.Id,
            ImageId = fooImages.Apply(imagesResult => imagesResult.Images[0]?.ImageId),
            InstanceTypes = new[]
            {
                "ecs.g2i.large",
            },
            InstanceName = "tf-test",
            InstanceDescription = "",
            HostName = "",
            Password = "",
            KeyPairName = "tf-keypair",
            SecurityEnhancementStrategy = "InActive",
            Volumes = new[]
            {
                new Volcengine.Autoscaling.Inputs.ScalingConfigurationVolumeArgs
                {
                    VolumeType = "ESSD_PL0",
                    Size = 20,
                    DeleteWithInstance = false,
                },
                new Volcengine.Autoscaling.Inputs.ScalingConfigurationVolumeArgs
                {
                    VolumeType = "ESSD_PL0",
                    Size = 50,
                    DeleteWithInstance = true,
                },
            },
            SecurityGroupIds = new[]
            {
                fooSecurityGroup.Id,
            },
            EipBandwidth = 10,
            EipIsp = "ChinaMobile",
            EipBillingType = "PostPaidByBandwidth",
            UserData = "IyEvYmluL2Jhc2gKZWNobyAidGVzdCI=",
            Tags = new[]
            {
                new Volcengine.Autoscaling.Inputs.ScalingConfigurationTagArgs
                {
                    Key = "tf-key1",
                    Value = "tf-value1",
                },
                new Volcengine.Autoscaling.Inputs.ScalingConfigurationTagArgs
                {
                    Key = "tf-key2",
                    Value = "tf-value2",
                },
            },
            ProjectName = "default",
            HpcClusterId = "",
            SpotStrategy = "NoSpot",
        });
    
    });
    
    package main
    
    import (
    	"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
    		}
    		_, err = autoscaling.NewScalingConfiguration(ctx, "fooScalingConfiguration", &autoscaling.ScalingConfigurationArgs{
    			ScalingConfigurationName: pulumi.String("tf-test"),
    			ScalingGroupId:           fooScalingGroup.ID(),
    			ImageId:                  *pulumi.String(fooImages.Images[0].ImageId),
    			InstanceTypes: pulumi.StringArray{
    				pulumi.String("ecs.g2i.large"),
    			},
    			InstanceName:                pulumi.String("tf-test"),
    			InstanceDescription:         pulumi.String(""),
    			HostName:                    pulumi.String(""),
    			Password:                    pulumi.String(""),
    			KeyPairName:                 pulumi.String("tf-keypair"),
    			SecurityEnhancementStrategy: pulumi.String("InActive"),
    			Volumes: autoscaling.ScalingConfigurationVolumeArray{
    				&autoscaling.ScalingConfigurationVolumeArgs{
    					VolumeType:         pulumi.String("ESSD_PL0"),
    					Size:               pulumi.Int(20),
    					DeleteWithInstance: pulumi.Bool(false),
    				},
    				&autoscaling.ScalingConfigurationVolumeArgs{
    					VolumeType:         pulumi.String("ESSD_PL0"),
    					Size:               pulumi.Int(50),
    					DeleteWithInstance: pulumi.Bool(true),
    				},
    			},
    			SecurityGroupIds: pulumi.StringArray{
    				fooSecurityGroup.ID(),
    			},
    			EipBandwidth:   pulumi.Int(10),
    			EipIsp:         pulumi.String("ChinaMobile"),
    			EipBillingType: pulumi.String("PostPaidByBandwidth"),
    			UserData:       pulumi.String("IyEvYmluL2Jhc2gKZWNobyAidGVzdCI="),
    			Tags: autoscaling.ScalingConfigurationTagArray{
    				&autoscaling.ScalingConfigurationTagArgs{
    					Key:   pulumi.String("tf-key1"),
    					Value: pulumi.String("tf-value1"),
    				},
    				&autoscaling.ScalingConfigurationTagArgs{
    					Key:   pulumi.String("tf-key2"),
    					Value: pulumi.String("tf-value2"),
    				},
    			},
    			ProjectName:  pulumi.String("default"),
    			HpcClusterId: pulumi.String(""),
    			SpotStrategy: pulumi.String("NoSpot"),
    		})
    		if err != nil {
    			return err
    		}
    		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.inputs.ScalingConfigurationTagArgs;
    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());
    
            var fooScalingConfiguration = new ScalingConfiguration("fooScalingConfiguration", ScalingConfigurationArgs.builder()        
                .scalingConfigurationName("tf-test")
                .scalingGroupId(fooScalingGroup.id())
                .imageId(fooImages.applyValue(imagesResult -> imagesResult.images()[0].imageId()))
                .instanceTypes("ecs.g2i.large")
                .instanceName("tf-test")
                .instanceDescription("")
                .hostName("")
                .password("")
                .keyPairName("tf-keypair")
                .securityEnhancementStrategy("InActive")
                .volumes(            
                    ScalingConfigurationVolumeArgs.builder()
                        .volumeType("ESSD_PL0")
                        .size(20)
                        .deleteWithInstance(false)
                        .build(),
                    ScalingConfigurationVolumeArgs.builder()
                        .volumeType("ESSD_PL0")
                        .size(50)
                        .deleteWithInstance(true)
                        .build())
                .securityGroupIds(fooSecurityGroup.id())
                .eipBandwidth(10)
                .eipIsp("ChinaMobile")
                .eipBillingType("PostPaidByBandwidth")
                .userData("IyEvYmluL2Jhc2gKZWNobyAidGVzdCI=")
                .tags(            
                    ScalingConfigurationTagArgs.builder()
                        .key("tf-key1")
                        .value("tf-value1")
                        .build(),
                    ScalingConfigurationTagArgs.builder()
                        .key("tf-key2")
                        .value("tf-value2")
                        .build())
                .projectName("default")
                .hpcClusterId("")
                .spotStrategy("NoSpot")
                .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 = volcengine.autoscaling.ScalingConfiguration("fooScalingConfiguration",
        scaling_configuration_name="tf-test",
        scaling_group_id=foo_scaling_group.id,
        image_id=foo_images.images[0].image_id,
        instance_types=["ecs.g2i.large"],
        instance_name="tf-test",
        instance_description="",
        host_name="",
        password="",
        key_pair_name="tf-keypair",
        security_enhancement_strategy="InActive",
        volumes=[
            volcengine.autoscaling.ScalingConfigurationVolumeArgs(
                volume_type="ESSD_PL0",
                size=20,
                delete_with_instance=False,
            ),
            volcengine.autoscaling.ScalingConfigurationVolumeArgs(
                volume_type="ESSD_PL0",
                size=50,
                delete_with_instance=True,
            ),
        ],
        security_group_ids=[foo_security_group.id],
        eip_bandwidth=10,
        eip_isp="ChinaMobile",
        eip_billing_type="PostPaidByBandwidth",
        user_data="IyEvYmluL2Jhc2gKZWNobyAidGVzdCI=",
        tags=[
            volcengine.autoscaling.ScalingConfigurationTagArgs(
                key="tf-key1",
                value="tf-value1",
            ),
            volcengine.autoscaling.ScalingConfigurationTagArgs(
                key="tf-key2",
                value="tf-value2",
            ),
        ],
        project_name="default",
        hpc_cluster_id="",
        spot_strategy="NoSpot")
    
    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 = new volcengine.autoscaling.ScalingConfiguration("fooScalingConfiguration", {
        scalingConfigurationName: "tf-test",
        scalingGroupId: fooScalingGroup.id,
        imageId: fooImages.then(fooImages => fooImages.images?.[0]?.imageId),
        instanceTypes: ["ecs.g2i.large"],
        instanceName: "tf-test",
        instanceDescription: "",
        hostName: "",
        password: "",
        keyPairName: "tf-keypair",
        securityEnhancementStrategy: "InActive",
        volumes: [
            {
                volumeType: "ESSD_PL0",
                size: 20,
                deleteWithInstance: false,
            },
            {
                volumeType: "ESSD_PL0",
                size: 50,
                deleteWithInstance: true,
            },
        ],
        securityGroupIds: [fooSecurityGroup.id],
        eipBandwidth: 10,
        eipIsp: "ChinaMobile",
        eipBillingType: "PostPaidByBandwidth",
        userData: "IyEvYmluL2Jhc2gKZWNobyAidGVzdCI=",
        tags: [
            {
                key: "tf-key1",
                value: "tf-value1",
            },
            {
                key: "tf-key2",
                value: "tf-value2",
            },
        ],
        projectName: "default",
        hpcClusterId: "",
        spotStrategy: "NoSpot",
    });
    
    resources:
      fooVpc:
        type: volcengine:vpc:Vpc
        properties:
          vpcName: acc-test-vpc
          cidrBlock: 172.16.0.0/16
      fooSubnet:
        type: volcengine:vpc:Subnet
        properties:
          subnetName: acc-test-subnet
          cidrBlock: 172.16.0.0/24
          zoneId: ${fooZones.zones[0].id}
          vpcId: ${fooVpc.id}
      fooSecurityGroup:
        type: volcengine:vpc:SecurityGroup
        properties:
          securityGroupName: acc-test-security-group
          vpcId: ${fooVpc.id}
      fooScalingGroup:
        type: volcengine:autoscaling:ScalingGroup
        properties:
          scalingGroupName: acc-test-scaling-group
          subnetIds:
            - ${fooSubnet.id}
          multiAzPolicy: BALANCE
          desireInstanceNumber: 0
          minInstanceNumber: 0
          maxInstanceNumber: 1
          instanceTerminatePolicy: OldestInstance
          defaultCooldown: 10
      fooScalingConfiguration:
        type: volcengine:autoscaling:ScalingConfiguration
        properties:
          scalingConfigurationName: tf-test
          scalingGroupId: ${fooScalingGroup.id}
          imageId: ${fooImages.images[0].imageId}
          instanceTypes:
            - ecs.g2i.large
          instanceName: tf-test
          instanceDescription:
          hostName:
          password:
          keyPairName: tf-keypair
          securityEnhancementStrategy: InActive
          volumes:
            - volumeType: ESSD_PL0
              size: 20
              deleteWithInstance: false
            - volumeType: ESSD_PL0
              size: 50
              deleteWithInstance: true
          securityGroupIds:
            - ${fooSecurityGroup.id}
          eipBandwidth: 10
          eipIsp: ChinaMobile
          eipBillingType: PostPaidByBandwidth
          userData: IyEvYmluL2Jhc2gKZWNobyAidGVzdCI=
          tags:
            - key: tf-key1
              value: tf-value1
            - key: tf-key2
              value: tf-value2
          projectName: default
          hpcClusterId:
          spotStrategy: NoSpot
    variables:
      fooZones:
        fn::invoke:
          Function: volcengine:ecs:Zones
          Arguments: {}
      fooImages:
        fn::invoke:
          Function: volcengine:ecs:Images
          Arguments:
            osType: Linux
            visibility: public
            instanceTypeId: ecs.g1.large
    

    Create ScalingConfiguration Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ScalingConfiguration(name: string, args: ScalingConfigurationArgs, opts?: CustomResourceOptions);
    @overload
    def ScalingConfiguration(resource_name: str,
                             args: ScalingConfigurationArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def ScalingConfiguration(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             instance_name: Optional[str] = None,
                             volumes: Optional[Sequence[ScalingConfigurationVolumeArgs]] = None,
                             security_group_ids: Optional[Sequence[str]] = None,
                             scaling_group_id: Optional[str] = None,
                             scaling_configuration_name: Optional[str] = None,
                             image_id: Optional[str] = None,
                             instance_types: Optional[Sequence[str]] = None,
                             key_pair_name: Optional[str] = None,
                             host_name: Optional[str] = None,
                             ipv6_address_count: Optional[int] = None,
                             eip_bandwidth: Optional[int] = None,
                             password: Optional[str] = None,
                             project_name: Optional[str] = None,
                             hpc_cluster_id: Optional[str] = None,
                             instance_description: Optional[str] = None,
                             security_enhancement_strategy: Optional[str] = None,
                             eip_isp: Optional[str] = None,
                             spot_strategy: Optional[str] = None,
                             tags: Optional[Sequence[ScalingConfigurationTagArgs]] = None,
                             user_data: Optional[str] = None,
                             eip_billing_type: Optional[str] = None)
    func NewScalingConfiguration(ctx *Context, name string, args ScalingConfigurationArgs, opts ...ResourceOption) (*ScalingConfiguration, error)
    public ScalingConfiguration(string name, ScalingConfigurationArgs args, CustomResourceOptions? opts = null)
    public ScalingConfiguration(String name, ScalingConfigurationArgs args)
    public ScalingConfiguration(String name, ScalingConfigurationArgs args, CustomResourceOptions options)
    
    type: volcengine:autoscaling:ScalingConfiguration
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ScalingConfigurationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ScalingConfigurationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ScalingConfigurationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ScalingConfigurationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ScalingConfigurationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

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

    var scalingConfigurationResource = new Volcengine.Autoscaling.ScalingConfiguration("scalingConfigurationResource", new()
    {
        InstanceName = "string",
        Volumes = new[]
        {
            new Volcengine.Autoscaling.Inputs.ScalingConfigurationVolumeArgs
            {
                Size = 0,
                VolumeType = "string",
                DeleteWithInstance = false,
            },
        },
        SecurityGroupIds = new[]
        {
            "string",
        },
        ScalingGroupId = "string",
        ScalingConfigurationName = "string",
        ImageId = "string",
        InstanceTypes = new[]
        {
            "string",
        },
        KeyPairName = "string",
        HostName = "string",
        Ipv6AddressCount = 0,
        EipBandwidth = 0,
        Password = "string",
        ProjectName = "string",
        HpcClusterId = "string",
        InstanceDescription = "string",
        SecurityEnhancementStrategy = "string",
        EipIsp = "string",
        SpotStrategy = "string",
        Tags = new[]
        {
            new Volcengine.Autoscaling.Inputs.ScalingConfigurationTagArgs
            {
                Key = "string",
                Value = "string",
            },
        },
        UserData = "string",
        EipBillingType = "string",
    });
    
    example, err := autoscaling.NewScalingConfiguration(ctx, "scalingConfigurationResource", &autoscaling.ScalingConfigurationArgs{
    	InstanceName: pulumi.String("string"),
    	Volumes: autoscaling.ScalingConfigurationVolumeArray{
    		&autoscaling.ScalingConfigurationVolumeArgs{
    			Size:               pulumi.Int(0),
    			VolumeType:         pulumi.String("string"),
    			DeleteWithInstance: pulumi.Bool(false),
    		},
    	},
    	SecurityGroupIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ScalingGroupId:           pulumi.String("string"),
    	ScalingConfigurationName: pulumi.String("string"),
    	ImageId:                  pulumi.String("string"),
    	InstanceTypes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	KeyPairName:                 pulumi.String("string"),
    	HostName:                    pulumi.String("string"),
    	Ipv6AddressCount:            pulumi.Int(0),
    	EipBandwidth:                pulumi.Int(0),
    	Password:                    pulumi.String("string"),
    	ProjectName:                 pulumi.String("string"),
    	HpcClusterId:                pulumi.String("string"),
    	InstanceDescription:         pulumi.String("string"),
    	SecurityEnhancementStrategy: pulumi.String("string"),
    	EipIsp:                      pulumi.String("string"),
    	SpotStrategy:                pulumi.String("string"),
    	Tags: autoscaling.ScalingConfigurationTagArray{
    		&autoscaling.ScalingConfigurationTagArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    	UserData:       pulumi.String("string"),
    	EipBillingType: pulumi.String("string"),
    })
    
    var scalingConfigurationResource = new ScalingConfiguration("scalingConfigurationResource", ScalingConfigurationArgs.builder()
        .instanceName("string")
        .volumes(ScalingConfigurationVolumeArgs.builder()
            .size(0)
            .volumeType("string")
            .deleteWithInstance(false)
            .build())
        .securityGroupIds("string")
        .scalingGroupId("string")
        .scalingConfigurationName("string")
        .imageId("string")
        .instanceTypes("string")
        .keyPairName("string")
        .hostName("string")
        .ipv6AddressCount(0)
        .eipBandwidth(0)
        .password("string")
        .projectName("string")
        .hpcClusterId("string")
        .instanceDescription("string")
        .securityEnhancementStrategy("string")
        .eipIsp("string")
        .spotStrategy("string")
        .tags(ScalingConfigurationTagArgs.builder()
            .key("string")
            .value("string")
            .build())
        .userData("string")
        .eipBillingType("string")
        .build());
    
    scaling_configuration_resource = volcengine.autoscaling.ScalingConfiguration("scalingConfigurationResource",
        instance_name="string",
        volumes=[volcengine.autoscaling.ScalingConfigurationVolumeArgs(
            size=0,
            volume_type="string",
            delete_with_instance=False,
        )],
        security_group_ids=["string"],
        scaling_group_id="string",
        scaling_configuration_name="string",
        image_id="string",
        instance_types=["string"],
        key_pair_name="string",
        host_name="string",
        ipv6_address_count=0,
        eip_bandwidth=0,
        password="string",
        project_name="string",
        hpc_cluster_id="string",
        instance_description="string",
        security_enhancement_strategy="string",
        eip_isp="string",
        spot_strategy="string",
        tags=[volcengine.autoscaling.ScalingConfigurationTagArgs(
            key="string",
            value="string",
        )],
        user_data="string",
        eip_billing_type="string")
    
    const scalingConfigurationResource = new volcengine.autoscaling.ScalingConfiguration("scalingConfigurationResource", {
        instanceName: "string",
        volumes: [{
            size: 0,
            volumeType: "string",
            deleteWithInstance: false,
        }],
        securityGroupIds: ["string"],
        scalingGroupId: "string",
        scalingConfigurationName: "string",
        imageId: "string",
        instanceTypes: ["string"],
        keyPairName: "string",
        hostName: "string",
        ipv6AddressCount: 0,
        eipBandwidth: 0,
        password: "string",
        projectName: "string",
        hpcClusterId: "string",
        instanceDescription: "string",
        securityEnhancementStrategy: "string",
        eipIsp: "string",
        spotStrategy: "string",
        tags: [{
            key: "string",
            value: "string",
        }],
        userData: "string",
        eipBillingType: "string",
    });
    
    type: volcengine:autoscaling:ScalingConfiguration
    properties:
        eipBandwidth: 0
        eipBillingType: string
        eipIsp: string
        hostName: string
        hpcClusterId: string
        imageId: string
        instanceDescription: string
        instanceName: string
        instanceTypes:
            - string
        ipv6AddressCount: 0
        keyPairName: string
        password: string
        projectName: string
        scalingConfigurationName: string
        scalingGroupId: string
        securityEnhancementStrategy: string
        securityGroupIds:
            - string
        spotStrategy: string
        tags:
            - key: string
              value: string
        userData: string
        volumes:
            - deleteWithInstance: false
              size: 0
              volumeType: string
    

    ScalingConfiguration Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The ScalingConfiguration resource accepts the following input properties:

    ImageId string
    The ECS image id 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. The maximum number of instance types is 10.
    ScalingConfigurationName string
    The name of the scaling configuration.
    ScalingGroupId string
    The id of the scaling group to which the scaling configuration belongs.
    SecurityGroupIds List<string>
    The list of the security group id of the networkInterface which the scaling configuration set. A maximum of 5 security groups can be bound at the same time, and the value ranges from 1 to 5.
    Volumes List<Pulumi.Volcengine.Autoscaling.Inputs.ScalingConfigurationVolume>
    The list of volume of the scaling configuration. The number of supported volumes ranges from 1 to 15.
    EipBandwidth int
    The EIP bandwidth which the scaling configuration set. When the value of Eip.BillingType is PostPaidByBandwidth, the value is 1 to 500. When the value of Eip.BillingType is PostPaidByTraffic, the value is 1 to 200.
    EipBillingType string
    The EIP billing type which the scaling configuration set. Valid values: PostPaidByBandwidth, PostPaidByTraffic.
    EipIsp string
    The EIP ISP which the scaling configuration set. Valid values: BGP, ChinaMobile, ChinaUnicom, ChinaTelecom.
    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.
    InstanceDescription string
    The ECS instance description 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.
    Password string
    The ECS password which the scaling configuration set.
    ProjectName string
    The project to which the instance created by the scaling configuration belongs.
    SecurityEnhancementStrategy string
    The Ecs security enhancement strategy which the scaling configuration set. Valid values: Active, InActive.
    SpotStrategy string
    The preemption policy of the instance. Valid Value: NoSpot (default), SpotAsPriceGo.
    Tags List<Pulumi.Volcengine.Autoscaling.Inputs.ScalingConfigurationTag>
    The label of the instance created by the scaling configuration. Up to 20 tags are supported.
    UserData string
    The ECS user data which the scaling configuration set.
    ImageId string
    The ECS image id 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. The maximum number of instance types is 10.
    ScalingConfigurationName string
    The name of the scaling configuration.
    ScalingGroupId string
    The id of the scaling group to which the scaling configuration belongs.
    SecurityGroupIds []string
    The list of the security group id of the networkInterface which the scaling configuration set. A maximum of 5 security groups can be bound at the same time, and the value ranges from 1 to 5.
    Volumes []ScalingConfigurationVolumeArgs
    The list of volume of the scaling configuration. The number of supported volumes ranges from 1 to 15.
    EipBandwidth int
    The EIP bandwidth which the scaling configuration set. When the value of Eip.BillingType is PostPaidByBandwidth, the value is 1 to 500. When the value of Eip.BillingType is PostPaidByTraffic, the value is 1 to 200.
    EipBillingType string
    The EIP billing type which the scaling configuration set. Valid values: PostPaidByBandwidth, PostPaidByTraffic.
    EipIsp string
    The EIP ISP which the scaling configuration set. Valid values: BGP, ChinaMobile, ChinaUnicom, ChinaTelecom.
    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.
    InstanceDescription string
    The ECS instance description 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.
    Password string
    The ECS password which the scaling configuration set.
    ProjectName string
    The project to which the instance created by the scaling configuration belongs.
    SecurityEnhancementStrategy string
    The Ecs security enhancement strategy which the scaling configuration set. Valid values: Active, InActive.
    SpotStrategy string
    The preemption policy of the instance. Valid Value: NoSpot (default), SpotAsPriceGo.
    Tags []ScalingConfigurationTagArgs
    The label of the instance created by the scaling configuration. Up to 20 tags are supported.
    UserData string
    The ECS user data which the scaling configuration set.
    imageId String
    The ECS image id 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. The maximum number of instance types is 10.
    scalingConfigurationName String
    The name of the scaling configuration.
    scalingGroupId String
    The id of the scaling group to which the scaling configuration belongs.
    securityGroupIds List<String>
    The list of the security group id of the networkInterface which the scaling configuration set. A maximum of 5 security groups can be bound at the same time, and the value ranges from 1 to 5.
    volumes List<ScalingConfigurationVolume>
    The list of volume of the scaling configuration. The number of supported volumes ranges from 1 to 15.
    eipBandwidth Integer
    The EIP bandwidth which the scaling configuration set. When the value of Eip.BillingType is PostPaidByBandwidth, the value is 1 to 500. When the value of Eip.BillingType is PostPaidByTraffic, the value is 1 to 200.
    eipBillingType String
    The EIP billing type which the scaling configuration set. Valid values: PostPaidByBandwidth, PostPaidByTraffic.
    eipIsp String
    The EIP ISP which the scaling configuration set. Valid values: BGP, ChinaMobile, ChinaUnicom, ChinaTelecom.
    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.
    instanceDescription String
    The ECS instance description 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.
    password String
    The ECS password which the scaling configuration set.
    projectName String
    The project to which the instance created by the scaling configuration belongs.
    securityEnhancementStrategy String
    The Ecs security enhancement strategy which the scaling configuration set. Valid values: Active, InActive.
    spotStrategy String
    The preemption policy of the instance. Valid Value: NoSpot (default), SpotAsPriceGo.
    tags List<ScalingConfigurationTag>
    The label of the instance created by the scaling configuration. Up to 20 tags are supported.
    userData String
    The ECS user data which the scaling configuration set.
    imageId string
    The ECS image id 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. The maximum number of instance types is 10.
    scalingConfigurationName string
    The name of the scaling configuration.
    scalingGroupId string
    The id of the scaling group to which the scaling configuration belongs.
    securityGroupIds string[]
    The list of the security group id of the networkInterface which the scaling configuration set. A maximum of 5 security groups can be bound at the same time, and the value ranges from 1 to 5.
    volumes ScalingConfigurationVolume[]
    The list of volume of the scaling configuration. The number of supported volumes ranges from 1 to 15.
    eipBandwidth number
    The EIP bandwidth which the scaling configuration set. When the value of Eip.BillingType is PostPaidByBandwidth, the value is 1 to 500. When the value of Eip.BillingType is PostPaidByTraffic, the value is 1 to 200.
    eipBillingType string
    The EIP billing type which the scaling configuration set. Valid values: PostPaidByBandwidth, PostPaidByTraffic.
    eipIsp string
    The EIP ISP which the scaling configuration set. Valid values: BGP, ChinaMobile, ChinaUnicom, ChinaTelecom.
    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.
    instanceDescription string
    The ECS instance description 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.
    password string
    The ECS password which the scaling configuration set.
    projectName string
    The project to which the instance created by the scaling configuration belongs.
    securityEnhancementStrategy string
    The Ecs security enhancement strategy which the scaling configuration set. Valid values: Active, InActive.
    spotStrategy string
    The preemption policy of the instance. Valid Value: NoSpot (default), SpotAsPriceGo.
    tags ScalingConfigurationTag[]
    The label of the instance created by the scaling configuration. Up to 20 tags are supported.
    userData string
    The ECS user data which the scaling configuration set.
    image_id str
    The ECS image id 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. The maximum number of instance types is 10.
    scaling_configuration_name str
    The name of the scaling configuration.
    scaling_group_id str
    The id of the scaling group to which the scaling configuration belongs.
    security_group_ids Sequence[str]
    The list of the security group id of the networkInterface which the scaling configuration set. A maximum of 5 security groups can be bound at the same time, and the value ranges from 1 to 5.
    volumes Sequence[ScalingConfigurationVolumeArgs]
    The list of volume of the scaling configuration. The number of supported volumes ranges from 1 to 15.
    eip_bandwidth int
    The EIP bandwidth which the scaling configuration set. When the value of Eip.BillingType is PostPaidByBandwidth, the value is 1 to 500. When the value of Eip.BillingType is PostPaidByTraffic, the value is 1 to 200.
    eip_billing_type str
    The EIP billing type which the scaling configuration set. Valid values: PostPaidByBandwidth, PostPaidByTraffic.
    eip_isp str
    The EIP ISP which the scaling configuration set. Valid values: BGP, ChinaMobile, ChinaUnicom, ChinaTelecom.
    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.
    instance_description str
    The ECS instance description 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.
    password str
    The ECS password which the scaling configuration set.
    project_name str
    The project to which the instance created by the scaling configuration belongs.
    security_enhancement_strategy str
    The Ecs security enhancement strategy which the scaling configuration set. Valid values: Active, InActive.
    spot_strategy str
    The preemption policy of the instance. Valid Value: NoSpot (default), SpotAsPriceGo.
    tags Sequence[ScalingConfigurationTagArgs]
    The label of the instance created by the scaling configuration. Up to 20 tags are supported.
    user_data str
    The ECS user data which the scaling configuration set.
    imageId String
    The ECS image id 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. The maximum number of instance types is 10.
    scalingConfigurationName String
    The name of the scaling configuration.
    scalingGroupId String
    The id of the scaling group to which the scaling configuration belongs.
    securityGroupIds List<String>
    The list of the security group id of the networkInterface which the scaling configuration set. A maximum of 5 security groups can be bound at the same time, and the value ranges from 1 to 5.
    volumes List<Property Map>
    The list of volume of the scaling configuration. The number of supported volumes ranges from 1 to 15.
    eipBandwidth Number
    The EIP bandwidth which the scaling configuration set. When the value of Eip.BillingType is PostPaidByBandwidth, the value is 1 to 500. When the value of Eip.BillingType is PostPaidByTraffic, the value is 1 to 200.
    eipBillingType String
    The EIP billing type which the scaling configuration set. Valid values: PostPaidByBandwidth, PostPaidByTraffic.
    eipIsp String
    The EIP ISP which the scaling configuration set. Valid values: BGP, ChinaMobile, ChinaUnicom, ChinaTelecom.
    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.
    instanceDescription String
    The ECS instance description 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.
    password String
    The ECS password which the scaling configuration set.
    projectName String
    The project to which the instance created by the scaling configuration belongs.
    securityEnhancementStrategy String
    The Ecs security enhancement strategy which the scaling configuration set. Valid values: Active, InActive.
    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. Up to 20 tags are supported.
    userData String
    The ECS user data which the scaling configuration set.

    Outputs

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

    CreatedAt string
    The create time of the scaling configuration.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleState string
    The lifecycle state of the scaling configuration.
    ScalingConfigurationId string
    The id of the scaling configuration.
    UpdatedAt string
    The create time of the scaling configuration.
    CreatedAt string
    The create time of the scaling configuration.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleState string
    The lifecycle state of the scaling configuration.
    ScalingConfigurationId string
    The id of the scaling configuration.
    UpdatedAt string
    The create time of the scaling configuration.
    createdAt String
    The create time of the scaling configuration.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleState String
    The lifecycle state of the scaling configuration.
    scalingConfigurationId String
    The id of the scaling configuration.
    updatedAt String
    The create time of the scaling configuration.
    createdAt string
    The create time of the scaling configuration.
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleState string
    The lifecycle state of the scaling configuration.
    scalingConfigurationId string
    The id of the scaling configuration.
    updatedAt string
    The create time of the scaling configuration.
    created_at str
    The create time of the scaling configuration.
    id str
    The provider-assigned unique ID for this managed resource.
    lifecycle_state str
    The lifecycle state of the scaling configuration.
    scaling_configuration_id str
    The id of the scaling configuration.
    updated_at str
    The create time of the scaling configuration.
    createdAt String
    The create time of the scaling configuration.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleState String
    The lifecycle state of the scaling configuration.
    scalingConfigurationId String
    The id of the scaling configuration.
    updatedAt String
    The create time of the scaling configuration.

    Look up Existing ScalingConfiguration Resource

    Get an existing ScalingConfiguration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ScalingConfigurationState, opts?: CustomResourceOptions): ScalingConfiguration
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created_at: Optional[str] = None,
            eip_bandwidth: Optional[int] = None,
            eip_billing_type: Optional[str] = None,
            eip_isp: Optional[str] = None,
            host_name: Optional[str] = None,
            hpc_cluster_id: Optional[str] = None,
            image_id: Optional[str] = None,
            instance_description: Optional[str] = None,
            instance_name: Optional[str] = None,
            instance_types: Optional[Sequence[str]] = None,
            ipv6_address_count: Optional[int] = None,
            key_pair_name: Optional[str] = None,
            lifecycle_state: Optional[str] = None,
            password: Optional[str] = None,
            project_name: Optional[str] = None,
            scaling_configuration_id: Optional[str] = None,
            scaling_configuration_name: Optional[str] = None,
            scaling_group_id: Optional[str] = None,
            security_enhancement_strategy: Optional[str] = None,
            security_group_ids: Optional[Sequence[str]] = None,
            spot_strategy: Optional[str] = None,
            tags: Optional[Sequence[ScalingConfigurationTagArgs]] = None,
            updated_at: Optional[str] = None,
            user_data: Optional[str] = None,
            volumes: Optional[Sequence[ScalingConfigurationVolumeArgs]] = None) -> ScalingConfiguration
    func GetScalingConfiguration(ctx *Context, name string, id IDInput, state *ScalingConfigurationState, opts ...ResourceOption) (*ScalingConfiguration, error)
    public static ScalingConfiguration Get(string name, Input<string> id, ScalingConfigurationState? state, CustomResourceOptions? opts = null)
    public static ScalingConfiguration get(String name, Output<String> id, ScalingConfigurationState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CreatedAt string
    The create time of the scaling configuration.
    EipBandwidth int
    The EIP bandwidth which the scaling configuration set. When the value of Eip.BillingType is PostPaidByBandwidth, the value is 1 to 500. When the value of Eip.BillingType is PostPaidByTraffic, the value is 1 to 200.
    EipBillingType string
    The EIP billing type which the scaling configuration set. Valid values: PostPaidByBandwidth, PostPaidByTraffic.
    EipIsp string
    The EIP ISP which the scaling configuration set. Valid values: BGP, ChinaMobile, ChinaUnicom, ChinaTelecom.
    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.
    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. The maximum number of instance types is 10.
    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.
    Password string
    The ECS password which the scaling configuration set.
    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
    The id of the scaling group to which the scaling configuration belongs.
    SecurityEnhancementStrategy string
    The Ecs security enhancement strategy which the scaling configuration set. Valid values: Active, InActive.
    SecurityGroupIds List<string>
    The list of the security group id of the networkInterface which the scaling configuration set. A maximum of 5 security groups can be bound at the same time, and the value ranges from 1 to 5.
    SpotStrategy string
    The preemption policy of the instance. Valid Value: NoSpot (default), SpotAsPriceGo.
    Tags List<Pulumi.Volcengine.Autoscaling.Inputs.ScalingConfigurationTag>
    The label of the instance created by the scaling configuration. Up to 20 tags are supported.
    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.ScalingConfigurationVolume>
    The list of volume of the scaling configuration. The number of supported volumes ranges from 1 to 15.
    CreatedAt string
    The create time of the scaling configuration.
    EipBandwidth int
    The EIP bandwidth which the scaling configuration set. When the value of Eip.BillingType is PostPaidByBandwidth, the value is 1 to 500. When the value of Eip.BillingType is PostPaidByTraffic, the value is 1 to 200.
    EipBillingType string
    The EIP billing type which the scaling configuration set. Valid values: PostPaidByBandwidth, PostPaidByTraffic.
    EipIsp string
    The EIP ISP which the scaling configuration set. Valid values: BGP, ChinaMobile, ChinaUnicom, ChinaTelecom.
    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.
    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. The maximum number of instance types is 10.
    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.
    Password string
    The ECS password which the scaling configuration set.
    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
    The id of the scaling group to which the scaling configuration belongs.
    SecurityEnhancementStrategy string
    The Ecs security enhancement strategy which the scaling configuration set. Valid values: Active, InActive.
    SecurityGroupIds []string
    The list of the security group id of the networkInterface which the scaling configuration set. A maximum of 5 security groups can be bound at the same time, and the value ranges from 1 to 5.
    SpotStrategy string
    The preemption policy of the instance. Valid Value: NoSpot (default), SpotAsPriceGo.
    Tags []ScalingConfigurationTagArgs
    The label of the instance created by the scaling configuration. Up to 20 tags are supported.
    UpdatedAt string
    The create time of the scaling configuration.
    UserData string
    The ECS user data which the scaling configuration set.
    Volumes []ScalingConfigurationVolumeArgs
    The list of volume of the scaling configuration. The number of supported volumes ranges from 1 to 15.
    createdAt String
    The create time of the scaling configuration.
    eipBandwidth Integer
    The EIP bandwidth which the scaling configuration set. When the value of Eip.BillingType is PostPaidByBandwidth, the value is 1 to 500. When the value of Eip.BillingType is PostPaidByTraffic, the value is 1 to 200.
    eipBillingType String
    The EIP billing type which the scaling configuration set. Valid values: PostPaidByBandwidth, PostPaidByTraffic.
    eipIsp String
    The EIP ISP which the scaling configuration set. Valid values: BGP, ChinaMobile, ChinaUnicom, ChinaTelecom.
    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.
    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. The maximum number of instance types is 10.
    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.
    password String
    The ECS password which the scaling configuration set.
    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
    The id of the scaling group to which the scaling configuration belongs.
    securityEnhancementStrategy String
    The Ecs security enhancement strategy which the scaling configuration set. Valid values: Active, InActive.
    securityGroupIds List<String>
    The list of the security group id of the networkInterface which the scaling configuration set. A maximum of 5 security groups can be bound at the same time, and the value ranges from 1 to 5.
    spotStrategy String
    The preemption policy of the instance. Valid Value: NoSpot (default), SpotAsPriceGo.
    tags List<ScalingConfigurationTag>
    The label of the instance created by the scaling configuration. Up to 20 tags are supported.
    updatedAt String
    The create time of the scaling configuration.
    userData String
    The ECS user data which the scaling configuration set.
    volumes List<ScalingConfigurationVolume>
    The list of volume of the scaling configuration. The number of supported volumes ranges from 1 to 15.
    createdAt string
    The create time of the scaling configuration.
    eipBandwidth number
    The EIP bandwidth which the scaling configuration set. When the value of Eip.BillingType is PostPaidByBandwidth, the value is 1 to 500. When the value of Eip.BillingType is PostPaidByTraffic, the value is 1 to 200.
    eipBillingType string
    The EIP billing type which the scaling configuration set. Valid values: PostPaidByBandwidth, PostPaidByTraffic.
    eipIsp string
    The EIP ISP which the scaling configuration set. Valid values: BGP, ChinaMobile, ChinaUnicom, ChinaTelecom.
    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.
    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. The maximum number of instance types is 10.
    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.
    password string
    The ECS password which the scaling configuration set.
    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
    The id of the scaling group to which the scaling configuration belongs.
    securityEnhancementStrategy string
    The Ecs security enhancement strategy which the scaling configuration set. Valid values: Active, InActive.
    securityGroupIds string[]
    The list of the security group id of the networkInterface which the scaling configuration set. A maximum of 5 security groups can be bound at the same time, and the value ranges from 1 to 5.
    spotStrategy string
    The preemption policy of the instance. Valid Value: NoSpot (default), SpotAsPriceGo.
    tags ScalingConfigurationTag[]
    The label of the instance created by the scaling configuration. Up to 20 tags are supported.
    updatedAt string
    The create time of the scaling configuration.
    userData string
    The ECS user data which the scaling configuration set.
    volumes ScalingConfigurationVolume[]
    The list of volume of the scaling configuration. The number of supported volumes ranges from 1 to 15.
    created_at str
    The create time of the scaling configuration.
    eip_bandwidth int
    The EIP bandwidth which the scaling configuration set. When the value of Eip.BillingType is PostPaidByBandwidth, the value is 1 to 500. When the value of Eip.BillingType is PostPaidByTraffic, the value is 1 to 200.
    eip_billing_type str
    The EIP billing type which the scaling configuration set. Valid values: PostPaidByBandwidth, PostPaidByTraffic.
    eip_isp str
    The EIP ISP which the scaling configuration set. Valid values: BGP, ChinaMobile, ChinaUnicom, ChinaTelecom.
    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.
    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. The maximum number of instance types is 10.
    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.
    password str
    The ECS password which the scaling configuration set.
    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
    The id of the scaling group to which the scaling configuration belongs.
    security_enhancement_strategy str
    The Ecs security enhancement strategy which the scaling configuration set. Valid values: Active, InActive.
    security_group_ids Sequence[str]
    The list of the security group id of the networkInterface which the scaling configuration set. A maximum of 5 security groups can be bound at the same time, and the value ranges from 1 to 5.
    spot_strategy str
    The preemption policy of the instance. Valid Value: NoSpot (default), SpotAsPriceGo.
    tags Sequence[ScalingConfigurationTagArgs]
    The label of the instance created by the scaling configuration. Up to 20 tags are supported.
    updated_at str
    The create time of the scaling configuration.
    user_data str
    The ECS user data which the scaling configuration set.
    volumes Sequence[ScalingConfigurationVolumeArgs]
    The list of volume of the scaling configuration. The number of supported volumes ranges from 1 to 15.
    createdAt String
    The create time of the scaling configuration.
    eipBandwidth Number
    The EIP bandwidth which the scaling configuration set. When the value of Eip.BillingType is PostPaidByBandwidth, the value is 1 to 500. When the value of Eip.BillingType is PostPaidByTraffic, the value is 1 to 200.
    eipBillingType String
    The EIP billing type which the scaling configuration set. Valid values: PostPaidByBandwidth, PostPaidByTraffic.
    eipIsp String
    The EIP ISP which the scaling configuration set. Valid values: BGP, ChinaMobile, ChinaUnicom, ChinaTelecom.
    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.
    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. The maximum number of instance types is 10.
    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.
    password String
    The ECS password which the scaling configuration set.
    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
    The id of the scaling group to which the scaling configuration belongs.
    securityEnhancementStrategy String
    The Ecs security enhancement strategy which the scaling configuration set. Valid values: Active, InActive.
    securityGroupIds List<String>
    The list of the security group id of the networkInterface which the scaling configuration set. A maximum of 5 security groups can be bound at the same time, and the value ranges from 1 to 5.
    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. Up to 20 tags are supported.
    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. The number of supported volumes ranges from 1 to 15.

    Supporting Types

    ScalingConfigurationTag, ScalingConfigurationTagArgs

    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.

    ScalingConfigurationVolume, ScalingConfigurationVolumeArgs

    Size int
    The size of volume. System disk value range: 10 - 500. The value range of the data disk: 10 - 8192.
    VolumeType string
    The type of volume.
    DeleteWithInstance bool
    The delete with instance flag of volume. Valid values: true, false. Default value: true.
    Size int
    The size of volume. System disk value range: 10 - 500. The value range of the data disk: 10 - 8192.
    VolumeType string
    The type of volume.
    DeleteWithInstance bool
    The delete with instance flag of volume. Valid values: true, false. Default value: true.
    size Integer
    The size of volume. System disk value range: 10 - 500. The value range of the data disk: 10 - 8192.
    volumeType String
    The type of volume.
    deleteWithInstance Boolean
    The delete with instance flag of volume. Valid values: true, false. Default value: true.
    size number
    The size of volume. System disk value range: 10 - 500. The value range of the data disk: 10 - 8192.
    volumeType string
    The type of volume.
    deleteWithInstance boolean
    The delete with instance flag of volume. Valid values: true, false. Default value: true.
    size int
    The size of volume. System disk value range: 10 - 500. The value range of the data disk: 10 - 8192.
    volume_type str
    The type of volume.
    delete_with_instance bool
    The delete with instance flag of volume. Valid values: true, false. Default value: true.
    size Number
    The size of volume. System disk value range: 10 - 500. The value range of the data disk: 10 - 8192.
    volumeType String
    The type of volume.
    deleteWithInstance Boolean
    The delete with instance flag of volume. Valid values: true, false. Default value: true.

    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.26 published on Friday, Sep 13, 2024 by Volcengine