Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine
volcengine.autoscaling.ScalingConfigurations
Explore with Pulumi AI
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.
- Name
Regex string - A Name Regex of scaling configuration.
- Output
File string - File name where to save data source results.
- Scaling
Configuration List<string>Names - A list of scaling configuration names.
- Scaling
Group stringId - An id of scaling group.
- Ids []string
- A list of scaling configuration ids.
- Name
Regex string - A Name Regex of scaling configuration.
- Output
File string - File name where to save data source results.
- Scaling
Configuration []stringNames - A list of scaling configuration names.
- Scaling
Group stringId - An id of scaling group.
- ids List<String>
- A list of scaling configuration ids.
- name
Regex String - A Name Regex of scaling configuration.
- output
File String - File name where to save data source results.
- scaling
Configuration List<String>Names - A list of scaling configuration names.
- scaling
Group StringId - An id of scaling group.
- ids string[]
- A list of scaling configuration ids.
- name
Regex string - A Name Regex of scaling configuration.
- output
File string - File name where to save data source results.
- scaling
Configuration string[]Names - A list of scaling configuration names.
- scaling
Group stringId - 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_ Sequence[str]names - A list of scaling configuration names.
- scaling_
group_ strid - An id of scaling group.
- ids List<String>
- A list of scaling configuration ids.
- name
Regex String - A Name Regex of scaling configuration.
- output
File String - File name where to save data source results.
- scaling
Configuration List<String>Names - A list of scaling configuration names.
- scaling
Group StringId - An id of scaling group.
ScalingConfigurations Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Scaling
Configurations List<Pulumi.Volcengine. Autoscaling. Outputs. Scaling Configurations Scaling Configuration> - The collection of scaling configuration query.
- Total
Count int - The total count of scaling configuration query.
- Ids List<string>
- Name
Regex string - Output
File string - Scaling
Configuration List<string>Names - Scaling
Group stringId - The id of the scaling group to which the scaling configuration belongs.
- Id string
- The provider-assigned unique ID for this managed resource.
- Scaling
Configurations []ScalingConfigurations Scaling Configuration - The collection of scaling configuration query.
- Total
Count int - The total count of scaling configuration query.
- Ids []string
- Name
Regex string - Output
File string - Scaling
Configuration []stringNames - Scaling
Group stringId - The id of the scaling group to which the scaling configuration belongs.
- id String
- The provider-assigned unique ID for this managed resource.
- scaling
Configurations List<ScalingConfigurations Scaling Configuration> - The collection of scaling configuration query.
- total
Count Integer - The total count of scaling configuration query.
- ids List<String>
- name
Regex String - output
File String - scaling
Configuration List<String>Names - scaling
Group StringId - The id of the scaling group to which the scaling configuration belongs.
- id string
- The provider-assigned unique ID for this managed resource.
- scaling
Configurations ScalingConfigurations Scaling Configuration[] - The collection of scaling configuration query.
- total
Count number - The total count of scaling configuration query.
- ids string[]
- name
Regex string - output
File string - scaling
Configuration string[]Names - scaling
Group stringId - 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[ScalingConfigurations Scaling Configuration] - 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_ Sequence[str]names - scaling_
group_ strid - The id of the scaling group to which the scaling configuration belongs.
- id String
- The provider-assigned unique ID for this managed resource.
- scaling
Configurations List<Property Map> - The collection of scaling configuration query.
- total
Count Number - The total count of scaling configuration query.
- ids List<String>
- name
Regex String - output
File String - scaling
Configuration List<String>Names - scaling
Group StringId - The id of the scaling group to which the scaling configuration belongs.
Supporting Types
ScalingConfigurationsScalingConfiguration
- Created
At string - The create time of the scaling configuration.
- Eip
Bandwidth int - The EIP bandwidth which the scaling configuration set.
- Eip
Billing stringType - The EIP ISP which the scaling configuration set.
- Eip
Isp string - The EIP ISP which the scaling configuration set.
- Host
Name string - The ECS hostname which the scaling configuration set.
- Hpc
Cluster stringId - 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.
- Image
Id string - The ECS image id which the scaling configuration set.
- Instance
Description string - The ECS instance description which the scaling configuration set.
- Instance
Name string - The ECS instance name which the scaling configuration set.
- Instance
Types List<string> - The list of the ECS instance type which the scaling configuration set.
- Ipv6Address
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 stringName - The ECS key pair name which the scaling configuration set.
- Lifecycle
State string - The lifecycle state of the scaling configuration.
- Project
Name string - The project to which the instance created by the scaling configuration belongs.
- Scaling
Configuration stringId - The id of the scaling configuration.
- Scaling
Configuration stringName - The name of the scaling configuration.
- Scaling
Group stringId - An id of scaling group.
- Security
Enhancement stringStrategy - The Ecs security enhancement strategy which the scaling configuration set.
- Security
Group List<string>Ids - The list of the security group id of the networkInterface which the scaling configuration set.
- Spot
Strategy string - The preemption policy of the instance. Valid Value: NoSpot (default), SpotAsPriceGo.
- List<Pulumi.
Volcengine. Autoscaling. Inputs. Scaling Configurations Scaling Configuration Tag> - The label of the instance created by the scaling configuration.
- Updated
At string - The create time of the scaling configuration.
- User
Data string - The ECS user data which the scaling configuration set.
- Volumes
List<Pulumi.
Volcengine. Autoscaling. Inputs. Scaling Configurations Scaling Configuration Volume> - The list of volume of the scaling configuration.
- Created
At string - The create time of the scaling configuration.
- Eip
Bandwidth int - The EIP bandwidth which the scaling configuration set.
- Eip
Billing stringType - The EIP ISP which the scaling configuration set.
- Eip
Isp string - The EIP ISP which the scaling configuration set.
- Host
Name string - The ECS hostname which the scaling configuration set.
- Hpc
Cluster stringId - 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.
- Image
Id string - The ECS image id which the scaling configuration set.
- Instance
Description string - The ECS instance description which the scaling configuration set.
- Instance
Name string - The ECS instance name which the scaling configuration set.
- Instance
Types []string - The list of the ECS instance type which the scaling configuration set.
- Ipv6Address
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 stringName - The ECS key pair name which the scaling configuration set.
- Lifecycle
State string - The lifecycle state of the scaling configuration.
- Project
Name string - The project to which the instance created by the scaling configuration belongs.
- Scaling
Configuration stringId - The id of the scaling configuration.
- Scaling
Configuration stringName - The name of the scaling configuration.
- Scaling
Group stringId - An id of scaling group.
- Security
Enhancement stringStrategy - The Ecs security enhancement strategy which the scaling configuration set.
- Security
Group []stringIds - The list of the security group id of the networkInterface which the scaling configuration set.
- Spot
Strategy string - The preemption policy of the instance. Valid Value: NoSpot (default), SpotAsPriceGo.
- []Scaling
Configurations Scaling Configuration Tag - The label of the instance created by the scaling configuration.
- Updated
At string - The create time of the scaling configuration.
- User
Data string - The ECS user data which the scaling configuration set.
- Volumes
[]Scaling
Configurations Scaling Configuration Volume - The list of volume of the scaling configuration.
- created
At String - The create time of the scaling configuration.
- eip
Bandwidth Integer - The EIP bandwidth which the scaling configuration set.
- eip
Billing StringType - The EIP ISP which the scaling configuration set.
- eip
Isp String - The EIP ISP which the scaling configuration set.
- host
Name String - The ECS hostname which the scaling configuration set.
- hpc
Cluster StringId - 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.
- image
Id String - The ECS image id which the scaling configuration set.
- instance
Description String - The ECS instance description which the scaling configuration set.
- instance
Name String - The ECS instance name which the scaling configuration set.
- instance
Types List<String> - The list of the ECS instance type which the scaling configuration set.
- ipv6Address
Count 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.
- key
Pair StringName - The ECS key pair name which the scaling configuration set.
- lifecycle
State String - The lifecycle state of the scaling configuration.
- project
Name String - The project to which the instance created by the scaling configuration belongs.
- scaling
Configuration StringId - The id of the scaling configuration.
- scaling
Configuration StringName - The name of the scaling configuration.
- scaling
Group StringId - An id of scaling group.
- security
Enhancement StringStrategy - The Ecs security enhancement strategy which the scaling configuration set.
- security
Group List<String>Ids - The list of the security group id of the networkInterface which the scaling configuration set.
- spot
Strategy String - The preemption policy of the instance. Valid Value: NoSpot (default), SpotAsPriceGo.
- List<Scaling
Configurations Scaling Configuration Tag> - The label of the instance created by the scaling configuration.
- updated
At String - The create time of the scaling configuration.
- user
Data String - The ECS user data which the scaling configuration set.
- volumes
List<Scaling
Configurations Scaling Configuration Volume> - The list of volume of the scaling configuration.
- created
At string - The create time of the scaling configuration.
- eip
Bandwidth number - The EIP bandwidth which the scaling configuration set.
- eip
Billing stringType - The EIP ISP which the scaling configuration set.
- eip
Isp string - The EIP ISP which the scaling configuration set.
- host
Name string - The ECS hostname which the scaling configuration set.
- hpc
Cluster stringId - 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.
- image
Id string - The ECS image id which the scaling configuration set.
- instance
Description string - The ECS instance description which the scaling configuration set.
- instance
Name string - The ECS instance name which the scaling configuration set.
- instance
Types string[] - The list of the ECS instance type which the scaling configuration set.
- ipv6Address
Count 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.
- key
Pair stringName - The ECS key pair name which the scaling configuration set.
- lifecycle
State string - The lifecycle state of the scaling configuration.
- project
Name string - The project to which the instance created by the scaling configuration belongs.
- scaling
Configuration stringId - The id of the scaling configuration.
- scaling
Configuration stringName - The name of the scaling configuration.
- scaling
Group stringId - An id of scaling group.
- security
Enhancement stringStrategy - The Ecs security enhancement strategy which the scaling configuration set.
- security
Group string[]Ids - The list of the security group id of the networkInterface which the scaling configuration set.
- spot
Strategy string - The preemption policy of the instance. Valid Value: NoSpot (default), SpotAsPriceGo.
- Scaling
Configurations Scaling Configuration Tag[] - The label of the instance created by the scaling configuration.
- updated
At string - The create time of the scaling configuration.
- user
Data string - The ECS user data which the scaling configuration set.
- volumes
Scaling
Configurations Scaling Configuration Volume[] - 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_ strtype - 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_ strid - 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_ intcount - 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_ strname - 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_ strid - The id of the scaling configuration.
- scaling_
configuration_ strname - The name of the scaling configuration.
- scaling_
group_ strid - An id of scaling group.
- security_
enhancement_ strstrategy - The Ecs security enhancement strategy which the scaling configuration set.
- security_
group_ Sequence[str]ids - 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.
- Sequence[Scaling
Configurations Scaling Configuration Tag] - 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[Scaling
Configurations Scaling Configuration Volume] - The list of volume of the scaling configuration.
- created
At String - The create time of the scaling configuration.
- eip
Bandwidth Number - The EIP bandwidth which the scaling configuration set.
- eip
Billing StringType - The EIP ISP which the scaling configuration set.
- eip
Isp String - The EIP ISP which the scaling configuration set.
- host
Name String - The ECS hostname which the scaling configuration set.
- hpc
Cluster StringId - 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.
- image
Id String - The ECS image id which the scaling configuration set.
- instance
Description String - The ECS instance description which the scaling configuration set.
- instance
Name String - The ECS instance name which the scaling configuration set.
- instance
Types List<String> - The list of the ECS instance type which the scaling configuration set.
- ipv6Address
Count 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.
- key
Pair StringName - The ECS key pair name which the scaling configuration set.
- lifecycle
State String - The lifecycle state of the scaling configuration.
- project
Name String - The project to which the instance created by the scaling configuration belongs.
- scaling
Configuration StringId - The id of the scaling configuration.
- scaling
Configuration StringName - The name of the scaling configuration.
- scaling
Group StringId - An id of scaling group.
- security
Enhancement StringStrategy - The Ecs security enhancement strategy which the scaling configuration set.
- security
Group List<String>Ids - The list of the security group id of the networkInterface which the scaling configuration set.
- spot
Strategy String - The preemption policy of the instance. Valid Value: NoSpot (default), SpotAsPriceGo.
- List<Property Map>
- The label of the instance created by the scaling configuration.
- updated
At String - The create time of the scaling configuration.
- user
Data String - The ECS user data which the scaling configuration set.
- volumes List<Property Map>
- The list of volume of the scaling configuration.
ScalingConfigurationsScalingConfigurationTag
ScalingConfigurationsScalingConfigurationVolume
- Delete
With boolInstance - The delete with instance flag of volume.
- Size int
- The size of volume.
- Volume
Type string - The type of volume.
- Delete
With boolInstance - The delete with instance flag of volume.
- Size int
- The size of volume.
- Volume
Type string - The type of volume.
- delete
With BooleanInstance - The delete with instance flag of volume.
- size Integer
- The size of volume.
- volume
Type String - The type of volume.
- delete
With booleanInstance - The delete with instance flag of volume.
- size number
- The size of volume.
- volume
Type string - The type of volume.
- delete_
with_ boolinstance - The delete with instance flag of volume.
- size int
- The size of volume.
- volume_
type str - The type of volume.
- delete
With BooleanInstance - The delete with instance flag of volume.
- size Number
- The size of volume.
- volume
Type 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.