1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. ess
  5. EciScalingConfiguration
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

alicloud.ess.EciScalingConfiguration

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

    Provides a ESS eci scaling configuration resource.

    For information about ess eci scaling configuration, see CreateEciScalingConfiguration.

    NOTE: Available since v1.164.0.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    import * as random from "@pulumi/random";
    
    const config = new pulumi.Config();
    const name = config.get("name") || "terraform-example";
    const defaultInteger = new random.index.Integer("default", {
        min: 10000,
        max: 99999,
    });
    const myName = `${name}-${defaultInteger.result}`;
    const default = alicloud.getZones({
        availableDiskCategory: "cloud_efficiency",
        availableResourceCreation: "VSwitch",
    });
    const defaultNetwork = new alicloud.vpc.Network("default", {
        vpcName: myName,
        cidrBlock: "172.16.0.0/16",
    });
    const defaultSwitch = new alicloud.vpc.Switch("default", {
        vpcId: defaultNetwork.id,
        cidrBlock: "172.16.0.0/24",
        zoneId: _default.then(_default => _default.zones?.[0]?.id),
        vswitchName: myName,
    });
    const defaultSecurityGroup = new alicloud.ecs.SecurityGroup("default", {
        name: myName,
        vpcId: defaultNetwork.id,
    });
    const defaultScalingGroup = new alicloud.ess.ScalingGroup("default", {
        minSize: 0,
        maxSize: 1,
        scalingGroupName: myName,
        removalPolicies: [
            "OldestInstance",
            "NewestInstance",
        ],
        vswitchIds: [defaultSwitch.id],
        groupType: "ECI",
    });
    const defaultEciScalingConfiguration = new alicloud.ess.EciScalingConfiguration("default", {
        scalingGroupId: defaultScalingGroup.id,
        cpu: 2,
        memory: 4,
        securityGroupId: defaultSecurityGroup.id,
        forceDelete: true,
        active: true,
        containerGroupName: "container-group-1649839595174",
        containers: [{
            name: "container-1",
            image: "registry-vpc.cn-hangzhou.aliyuncs.com/eci_open/alpine:3.5",
        }],
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    import pulumi_random as random
    
    config = pulumi.Config()
    name = config.get("name")
    if name is None:
        name = "terraform-example"
    default_integer = random.index.Integer("default",
        min=10000,
        max=99999)
    my_name = f"{name}-{default_integer['result']}"
    default = alicloud.get_zones(available_disk_category="cloud_efficiency",
        available_resource_creation="VSwitch")
    default_network = alicloud.vpc.Network("default",
        vpc_name=my_name,
        cidr_block="172.16.0.0/16")
    default_switch = alicloud.vpc.Switch("default",
        vpc_id=default_network.id,
        cidr_block="172.16.0.0/24",
        zone_id=default.zones[0].id,
        vswitch_name=my_name)
    default_security_group = alicloud.ecs.SecurityGroup("default",
        name=my_name,
        vpc_id=default_network.id)
    default_scaling_group = alicloud.ess.ScalingGroup("default",
        min_size=0,
        max_size=1,
        scaling_group_name=my_name,
        removal_policies=[
            "OldestInstance",
            "NewestInstance",
        ],
        vswitch_ids=[default_switch.id],
        group_type="ECI")
    default_eci_scaling_configuration = alicloud.ess.EciScalingConfiguration("default",
        scaling_group_id=default_scaling_group.id,
        cpu=2,
        memory=4,
        security_group_id=default_security_group.id,
        force_delete=True,
        active=True,
        container_group_name="container-group-1649839595174",
        containers=[{
            "name": "container-1",
            "image": "registry-vpc.cn-hangzhou.aliyuncs.com/eci_open/alpine:3.5",
        }])
    
    package main
    
    import (
    	"fmt"
    
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs"
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ess"
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
    	"github.com/pulumi/pulumi-random/sdk/v4/go/random"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		name := "terraform-example"
    		if param := cfg.Get("name"); param != "" {
    			name = param
    		}
    		defaultInteger, err := random.NewInteger(ctx, "default", &random.IntegerArgs{
    			Min: 10000,
    			Max: 99999,
    		})
    		if err != nil {
    			return err
    		}
    		myName := fmt.Sprintf("%v-%v", name, defaultInteger.Result)
    		_default, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{
    			AvailableDiskCategory:     pulumi.StringRef("cloud_efficiency"),
    			AvailableResourceCreation: pulumi.StringRef("VSwitch"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		defaultNetwork, err := vpc.NewNetwork(ctx, "default", &vpc.NetworkArgs{
    			VpcName:   pulumi.String(myName),
    			CidrBlock: pulumi.String("172.16.0.0/16"),
    		})
    		if err != nil {
    			return err
    		}
    		defaultSwitch, err := vpc.NewSwitch(ctx, "default", &vpc.SwitchArgs{
    			VpcId:       defaultNetwork.ID(),
    			CidrBlock:   pulumi.String("172.16.0.0/24"),
    			ZoneId:      pulumi.String(_default.Zones[0].Id),
    			VswitchName: pulumi.String(myName),
    		})
    		if err != nil {
    			return err
    		}
    		defaultSecurityGroup, err := ecs.NewSecurityGroup(ctx, "default", &ecs.SecurityGroupArgs{
    			Name:  pulumi.String(myName),
    			VpcId: defaultNetwork.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		defaultScalingGroup, err := ess.NewScalingGroup(ctx, "default", &ess.ScalingGroupArgs{
    			MinSize:          pulumi.Int(0),
    			MaxSize:          pulumi.Int(1),
    			ScalingGroupName: pulumi.String(myName),
    			RemovalPolicies: pulumi.StringArray{
    				pulumi.String("OldestInstance"),
    				pulumi.String("NewestInstance"),
    			},
    			VswitchIds: pulumi.StringArray{
    				defaultSwitch.ID(),
    			},
    			GroupType: pulumi.String("ECI"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = ess.NewEciScalingConfiguration(ctx, "default", &ess.EciScalingConfigurationArgs{
    			ScalingGroupId:     defaultScalingGroup.ID(),
    			Cpu:                pulumi.Float64(2),
    			Memory:             pulumi.Float64(4),
    			SecurityGroupId:    defaultSecurityGroup.ID(),
    			ForceDelete:        pulumi.Bool(true),
    			Active:             pulumi.Bool(true),
    			ContainerGroupName: pulumi.String("container-group-1649839595174"),
    			Containers: ess.EciScalingConfigurationContainerArray{
    				&ess.EciScalingConfigurationContainerArgs{
    					Name:  pulumi.String("container-1"),
    					Image: pulumi.String("registry-vpc.cn-hangzhou.aliyuncs.com/eci_open/alpine:3.5"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    using Random = Pulumi.Random;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var name = config.Get("name") ?? "terraform-example";
        var defaultInteger = new Random.Index.Integer("default", new()
        {
            Min = 10000,
            Max = 99999,
        });
    
        var myName = $"{name}-{defaultInteger.Result}";
    
        var @default = AliCloud.GetZones.Invoke(new()
        {
            AvailableDiskCategory = "cloud_efficiency",
            AvailableResourceCreation = "VSwitch",
        });
    
        var defaultNetwork = new AliCloud.Vpc.Network("default", new()
        {
            VpcName = myName,
            CidrBlock = "172.16.0.0/16",
        });
    
        var defaultSwitch = new AliCloud.Vpc.Switch("default", new()
        {
            VpcId = defaultNetwork.Id,
            CidrBlock = "172.16.0.0/24",
            ZoneId = @default.Apply(@default => @default.Apply(getZonesResult => getZonesResult.Zones[0]?.Id)),
            VswitchName = myName,
        });
    
        var defaultSecurityGroup = new AliCloud.Ecs.SecurityGroup("default", new()
        {
            Name = myName,
            VpcId = defaultNetwork.Id,
        });
    
        var defaultScalingGroup = new AliCloud.Ess.ScalingGroup("default", new()
        {
            MinSize = 0,
            MaxSize = 1,
            ScalingGroupName = myName,
            RemovalPolicies = new[]
            {
                "OldestInstance",
                "NewestInstance",
            },
            VswitchIds = new[]
            {
                defaultSwitch.Id,
            },
            GroupType = "ECI",
        });
    
        var defaultEciScalingConfiguration = new AliCloud.Ess.EciScalingConfiguration("default", new()
        {
            ScalingGroupId = defaultScalingGroup.Id,
            Cpu = 2,
            Memory = 4,
            SecurityGroupId = defaultSecurityGroup.Id,
            ForceDelete = true,
            Active = true,
            ContainerGroupName = "container-group-1649839595174",
            Containers = new[]
            {
                new AliCloud.Ess.Inputs.EciScalingConfigurationContainerArgs
                {
                    Name = "container-1",
                    Image = "registry-vpc.cn-hangzhou.aliyuncs.com/eci_open/alpine:3.5",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.random.integer;
    import com.pulumi.random.IntegerArgs;
    import com.pulumi.alicloud.AlicloudFunctions;
    import com.pulumi.alicloud.inputs.GetZonesArgs;
    import com.pulumi.alicloud.vpc.Network;
    import com.pulumi.alicloud.vpc.NetworkArgs;
    import com.pulumi.alicloud.vpc.Switch;
    import com.pulumi.alicloud.vpc.SwitchArgs;
    import com.pulumi.alicloud.ecs.SecurityGroup;
    import com.pulumi.alicloud.ecs.SecurityGroupArgs;
    import com.pulumi.alicloud.ess.ScalingGroup;
    import com.pulumi.alicloud.ess.ScalingGroupArgs;
    import com.pulumi.alicloud.ess.EciScalingConfiguration;
    import com.pulumi.alicloud.ess.EciScalingConfigurationArgs;
    import com.pulumi.alicloud.ess.inputs.EciScalingConfigurationContainerArgs;
    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 config = ctx.config();
            final var name = config.get("name").orElse("terraform-example");
            var defaultInteger = new Integer("defaultInteger", IntegerArgs.builder()
                .min(10000)
                .max(99999)
                .build());
    
            final var myName = String.format("%s-%s", name,defaultInteger.result());
    
            final var default = AlicloudFunctions.getZones(GetZonesArgs.builder()
                .availableDiskCategory("cloud_efficiency")
                .availableResourceCreation("VSwitch")
                .build());
    
            var defaultNetwork = new Network("defaultNetwork", NetworkArgs.builder()
                .vpcName(myName)
                .cidrBlock("172.16.0.0/16")
                .build());
    
            var defaultSwitch = new Switch("defaultSwitch", SwitchArgs.builder()
                .vpcId(defaultNetwork.id())
                .cidrBlock("172.16.0.0/24")
                .zoneId(default_.zones()[0].id())
                .vswitchName(myName)
                .build());
    
            var defaultSecurityGroup = new SecurityGroup("defaultSecurityGroup", SecurityGroupArgs.builder()
                .name(myName)
                .vpcId(defaultNetwork.id())
                .build());
    
            var defaultScalingGroup = new ScalingGroup("defaultScalingGroup", ScalingGroupArgs.builder()
                .minSize(0)
                .maxSize(1)
                .scalingGroupName(myName)
                .removalPolicies(            
                    "OldestInstance",
                    "NewestInstance")
                .vswitchIds(defaultSwitch.id())
                .groupType("ECI")
                .build());
    
            var defaultEciScalingConfiguration = new EciScalingConfiguration("defaultEciScalingConfiguration", EciScalingConfigurationArgs.builder()
                .scalingGroupId(defaultScalingGroup.id())
                .cpu(2)
                .memory(4)
                .securityGroupId(defaultSecurityGroup.id())
                .forceDelete(true)
                .active(true)
                .containerGroupName("container-group-1649839595174")
                .containers(EciScalingConfigurationContainerArgs.builder()
                    .name("container-1")
                    .image("registry-vpc.cn-hangzhou.aliyuncs.com/eci_open/alpine:3.5")
                    .build())
                .build());
    
        }
    }
    
    configuration:
      name:
        type: string
        default: terraform-example
    resources:
      defaultInteger:
        type: random:integer
        name: default
        properties:
          min: 10000
          max: 99999
      defaultNetwork:
        type: alicloud:vpc:Network
        name: default
        properties:
          vpcName: ${myName}
          cidrBlock: 172.16.0.0/16
      defaultSwitch:
        type: alicloud:vpc:Switch
        name: default
        properties:
          vpcId: ${defaultNetwork.id}
          cidrBlock: 172.16.0.0/24
          zoneId: ${default.zones[0].id}
          vswitchName: ${myName}
      defaultSecurityGroup:
        type: alicloud:ecs:SecurityGroup
        name: default
        properties:
          name: ${myName}
          vpcId: ${defaultNetwork.id}
      defaultScalingGroup:
        type: alicloud:ess:ScalingGroup
        name: default
        properties:
          minSize: 0
          maxSize: 1
          scalingGroupName: ${myName}
          removalPolicies:
            - OldestInstance
            - NewestInstance
          vswitchIds:
            - ${defaultSwitch.id}
          groupType: ECI
      defaultEciScalingConfiguration:
        type: alicloud:ess:EciScalingConfiguration
        name: default
        properties:
          scalingGroupId: ${defaultScalingGroup.id}
          cpu: 2
          memory: 4
          securityGroupId: ${defaultSecurityGroup.id}
          forceDelete: true
          active: true
          containerGroupName: container-group-1649839595174
          containers:
            - name: container-1
              image: registry-vpc.cn-hangzhou.aliyuncs.com/eci_open/alpine:3.5
    variables:
      myName: ${name}-${defaultInteger.result}
      default:
        fn::invoke:
          Function: alicloud:getZones
          Arguments:
            availableDiskCategory: cloud_efficiency
            availableResourceCreation: VSwitch
    

    Create EciScalingConfiguration Resource

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

    Constructor syntax

    new EciScalingConfiguration(name: string, args: EciScalingConfigurationArgs, opts?: CustomResourceOptions);
    @overload
    def EciScalingConfiguration(resource_name: str,
                                args: EciScalingConfigurationArgs,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def EciScalingConfiguration(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                scaling_group_id: Optional[str] = None,
                                host_name: Optional[str] = None,
                                cpu: Optional[float] = None,
                                auto_create_eip: Optional[bool] = None,
                                image_registry_credentials: Optional[Sequence[EciScalingConfigurationImageRegistryCredentialArgs]] = None,
                                container_group_name: Optional[str] = None,
                                ingress_bandwidth: Optional[int] = None,
                                cost_optimization: Optional[bool] = None,
                                image_snapshot_id: Optional[str] = None,
                                cpu_options_core: Optional[int] = None,
                                cpu_options_threads_per_core: Optional[int] = None,
                                description: Optional[str] = None,
                                dns_config_options: Optional[Sequence[EciScalingConfigurationDnsConfigOptionArgs]] = None,
                                dns_policy: Optional[str] = None,
                                egress_bandwidth: Optional[int] = None,
                                eip_bandwidth: Optional[int] = None,
                                enable_sls: Optional[bool] = None,
                                ephemeral_storage: Optional[int] = None,
                                force_delete: Optional[bool] = None,
                                host_aliases: Optional[Sequence[EciScalingConfigurationHostAliasArgs]] = None,
                                acr_registry_infos: Optional[Sequence[EciScalingConfigurationAcrRegistryInfoArgs]] = None,
                                auto_match_image_cache: Optional[bool] = None,
                                active_deadline_seconds: Optional[int] = None,
                                containers: Optional[Sequence[EciScalingConfigurationContainerArgs]] = None,
                                init_containers: Optional[Sequence[EciScalingConfigurationInitContainerArgs]] = None,
                                instance_family_level: Optional[str] = None,
                                instance_types: Optional[Sequence[str]] = None,
                                ipv6_address_count: Optional[int] = None,
                                load_balancer_weight: Optional[int] = None,
                                memory: Optional[float] = None,
                                ram_role_name: Optional[str] = None,
                                resource_group_id: Optional[str] = None,
                                restart_policy: Optional[str] = None,
                                scaling_configuration_name: Optional[str] = None,
                                active: Optional[bool] = None,
                                security_context_sysctls: Optional[Sequence[EciScalingConfigurationSecurityContextSysctlArgs]] = None,
                                security_group_id: Optional[str] = None,
                                spot_price_limit: Optional[float] = None,
                                spot_strategy: Optional[str] = None,
                                tags: Optional[Mapping[str, str]] = None,
                                termination_grace_period_seconds: Optional[int] = None,
                                volumes: Optional[Sequence[EciScalingConfigurationVolumeArgs]] = None)
    func NewEciScalingConfiguration(ctx *Context, name string, args EciScalingConfigurationArgs, opts ...ResourceOption) (*EciScalingConfiguration, error)
    public EciScalingConfiguration(string name, EciScalingConfigurationArgs args, CustomResourceOptions? opts = null)
    public EciScalingConfiguration(String name, EciScalingConfigurationArgs args)
    public EciScalingConfiguration(String name, EciScalingConfigurationArgs args, CustomResourceOptions options)
    
    type: alicloud:ess:EciScalingConfiguration
    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 EciScalingConfigurationArgs
    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 EciScalingConfigurationArgs
    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 EciScalingConfigurationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EciScalingConfigurationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EciScalingConfigurationArgs
    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 eciScalingConfigurationResource = new AliCloud.Ess.EciScalingConfiguration("eciScalingConfigurationResource", new()
    {
        ScalingGroupId = "string",
        HostName = "string",
        Cpu = 0,
        AutoCreateEip = false,
        ImageRegistryCredentials = new[]
        {
            new AliCloud.Ess.Inputs.EciScalingConfigurationImageRegistryCredentialArgs
            {
                Password = "string",
                Server = "string",
                Username = "string",
            },
        },
        ContainerGroupName = "string",
        IngressBandwidth = 0,
        CostOptimization = false,
        ImageSnapshotId = "string",
        CpuOptionsCore = 0,
        CpuOptionsThreadsPerCore = 0,
        Description = "string",
        DnsConfigOptions = new[]
        {
            new AliCloud.Ess.Inputs.EciScalingConfigurationDnsConfigOptionArgs
            {
                Name = "string",
                Value = "string",
            },
        },
        DnsPolicy = "string",
        EgressBandwidth = 0,
        EipBandwidth = 0,
        EnableSls = false,
        EphemeralStorage = 0,
        ForceDelete = false,
        HostAliases = new[]
        {
            new AliCloud.Ess.Inputs.EciScalingConfigurationHostAliasArgs
            {
                Hostnames = new[]
                {
                    "string",
                },
                Ip = "string",
            },
        },
        AcrRegistryInfos = new[]
        {
            new AliCloud.Ess.Inputs.EciScalingConfigurationAcrRegistryInfoArgs
            {
                Domains = new[]
                {
                    "string",
                },
                InstanceId = "string",
                InstanceName = "string",
                RegionId = "string",
            },
        },
        AutoMatchImageCache = false,
        ActiveDeadlineSeconds = 0,
        Containers = new[]
        {
            new AliCloud.Ess.Inputs.EciScalingConfigurationContainerArgs
            {
                Args = new[]
                {
                    "string",
                },
                Commands = new[]
                {
                    "string",
                },
                Cpu = 0,
                EnvironmentVars = new[]
                {
                    new AliCloud.Ess.Inputs.EciScalingConfigurationContainerEnvironmentVarArgs
                    {
                        FieldRefFieldPath = "string",
                        Key = "string",
                        Value = "string",
                    },
                },
                Gpu = 0,
                Image = "string",
                ImagePullPolicy = "string",
                LifecyclePreStopHandlerExecs = new[]
                {
                    "string",
                },
                LivenessProbeExecCommands = new[]
                {
                    "string",
                },
                LivenessProbeFailureThreshold = 0,
                LivenessProbeHttpGetPath = "string",
                LivenessProbeHttpGetPort = 0,
                LivenessProbeHttpGetScheme = "string",
                LivenessProbeInitialDelaySeconds = 0,
                LivenessProbePeriodSeconds = 0,
                LivenessProbeSuccessThreshold = 0,
                LivenessProbeTcpSocketPort = 0,
                LivenessProbeTimeoutSeconds = 0,
                Memory = 0,
                Name = "string",
                Ports = new[]
                {
                    new AliCloud.Ess.Inputs.EciScalingConfigurationContainerPortArgs
                    {
                        Port = 0,
                        Protocol = "string",
                    },
                },
                ReadinessProbeExecCommands = new[]
                {
                    "string",
                },
                ReadinessProbeFailureThreshold = 0,
                ReadinessProbeHttpGetPath = "string",
                ReadinessProbeHttpGetPort = 0,
                ReadinessProbeHttpGetScheme = "string",
                ReadinessProbeInitialDelaySeconds = 0,
                ReadinessProbePeriodSeconds = 0,
                ReadinessProbeSuccessThreshold = 0,
                ReadinessProbeTcpSocketPort = 0,
                ReadinessProbeTimeoutSeconds = 0,
                SecurityContextCapabilityAdds = new[]
                {
                    "string",
                },
                SecurityContextReadOnlyRootFileSystem = false,
                SecurityContextRunAsUser = 0,
                Stdin = false,
                Tty = false,
                VolumeMounts = new[]
                {
                    new AliCloud.Ess.Inputs.EciScalingConfigurationContainerVolumeMountArgs
                    {
                        MountPath = "string",
                        MountPropagation = "string",
                        Name = "string",
                        ReadOnly = false,
                        SubPath = "string",
                    },
                },
                WorkingDir = "string",
            },
        },
        InitContainers = new[]
        {
            new AliCloud.Ess.Inputs.EciScalingConfigurationInitContainerArgs
            {
                Args = new[]
                {
                    "string",
                },
                Commands = new[]
                {
                    "string",
                },
                Cpu = 0,
                EnvironmentVars = new[]
                {
                    new AliCloud.Ess.Inputs.EciScalingConfigurationInitContainerEnvironmentVarArgs
                    {
                        FieldRefFieldPath = "string",
                        Key = "string",
                        Value = "string",
                    },
                },
                Gpu = 0,
                Image = "string",
                ImagePullPolicy = "string",
                Memory = 0,
                Name = "string",
                Ports = new[]
                {
                    new AliCloud.Ess.Inputs.EciScalingConfigurationInitContainerPortArgs
                    {
                        Port = 0,
                        Protocol = "string",
                    },
                },
                SecurityContextCapabilityAdds = new[]
                {
                    "string",
                },
                SecurityContextReadOnlyRootFileSystem = false,
                SecurityContextRunAsUser = 0,
                VolumeMounts = new[]
                {
                    new AliCloud.Ess.Inputs.EciScalingConfigurationInitContainerVolumeMountArgs
                    {
                        MountPath = "string",
                        MountPropagation = "string",
                        Name = "string",
                        ReadOnly = false,
                        SubPath = "string",
                    },
                },
                WorkingDir = "string",
            },
        },
        InstanceFamilyLevel = "string",
        InstanceTypes = new[]
        {
            "string",
        },
        Ipv6AddressCount = 0,
        LoadBalancerWeight = 0,
        Memory = 0,
        RamRoleName = "string",
        ResourceGroupId = "string",
        RestartPolicy = "string",
        ScalingConfigurationName = "string",
        Active = false,
        SecurityContextSysctls = new[]
        {
            new AliCloud.Ess.Inputs.EciScalingConfigurationSecurityContextSysctlArgs
            {
                Name = "string",
                Value = "string",
            },
        },
        SecurityGroupId = "string",
        SpotPriceLimit = 0,
        SpotStrategy = "string",
        Tags = 
        {
            { "string", "string" },
        },
        TerminationGracePeriodSeconds = 0,
        Volumes = new[]
        {
            new AliCloud.Ess.Inputs.EciScalingConfigurationVolumeArgs
            {
                ConfigFileVolumeConfigFileToPaths = new[]
                {
                    new AliCloud.Ess.Inputs.EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArgs
                    {
                        Content = "string",
                        Mode = 0,
                        Path = "string",
                    },
                },
                ConfigFileVolumeDefaultMode = 0,
                DiskVolumeDiskId = "string",
                DiskVolumeDiskSize = 0,
                DiskVolumeFsType = "string",
                EmptyDirVolumeMedium = "string",
                EmptyDirVolumeSizeLimit = "string",
                FlexVolumeDriver = "string",
                FlexVolumeFsType = "string",
                FlexVolumeOptions = "string",
                HostPathVolumePath = "string",
                HostPathVolumeType = "string",
                Name = "string",
                NfsVolumePath = "string",
                NfsVolumeReadOnly = false,
                NfsVolumeServer = "string",
                Type = "string",
            },
        },
    });
    
    example, err := ess.NewEciScalingConfiguration(ctx, "eciScalingConfigurationResource", &ess.EciScalingConfigurationArgs{
    	ScalingGroupId: pulumi.String("string"),
    	HostName:       pulumi.String("string"),
    	Cpu:            pulumi.Float64(0),
    	AutoCreateEip:  pulumi.Bool(false),
    	ImageRegistryCredentials: ess.EciScalingConfigurationImageRegistryCredentialArray{
    		&ess.EciScalingConfigurationImageRegistryCredentialArgs{
    			Password: pulumi.String("string"),
    			Server:   pulumi.String("string"),
    			Username: pulumi.String("string"),
    		},
    	},
    	ContainerGroupName:       pulumi.String("string"),
    	IngressBandwidth:         pulumi.Int(0),
    	CostOptimization:         pulumi.Bool(false),
    	ImageSnapshotId:          pulumi.String("string"),
    	CpuOptionsCore:           pulumi.Int(0),
    	CpuOptionsThreadsPerCore: pulumi.Int(0),
    	Description:              pulumi.String("string"),
    	DnsConfigOptions: ess.EciScalingConfigurationDnsConfigOptionArray{
    		&ess.EciScalingConfigurationDnsConfigOptionArgs{
    			Name:  pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    	DnsPolicy:        pulumi.String("string"),
    	EgressBandwidth:  pulumi.Int(0),
    	EipBandwidth:     pulumi.Int(0),
    	EnableSls:        pulumi.Bool(false),
    	EphemeralStorage: pulumi.Int(0),
    	ForceDelete:      pulumi.Bool(false),
    	HostAliases: ess.EciScalingConfigurationHostAliasArray{
    		&ess.EciScalingConfigurationHostAliasArgs{
    			Hostnames: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Ip: pulumi.String("string"),
    		},
    	},
    	AcrRegistryInfos: ess.EciScalingConfigurationAcrRegistryInfoArray{
    		&ess.EciScalingConfigurationAcrRegistryInfoArgs{
    			Domains: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			InstanceId:   pulumi.String("string"),
    			InstanceName: pulumi.String("string"),
    			RegionId:     pulumi.String("string"),
    		},
    	},
    	AutoMatchImageCache:   pulumi.Bool(false),
    	ActiveDeadlineSeconds: pulumi.Int(0),
    	Containers: ess.EciScalingConfigurationContainerArray{
    		&ess.EciScalingConfigurationContainerArgs{
    			Args: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Commands: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Cpu: pulumi.Float64(0),
    			EnvironmentVars: ess.EciScalingConfigurationContainerEnvironmentVarArray{
    				&ess.EciScalingConfigurationContainerEnvironmentVarArgs{
    					FieldRefFieldPath: pulumi.String("string"),
    					Key:               pulumi.String("string"),
    					Value:             pulumi.String("string"),
    				},
    			},
    			Gpu:             pulumi.Int(0),
    			Image:           pulumi.String("string"),
    			ImagePullPolicy: pulumi.String("string"),
    			LifecyclePreStopHandlerExecs: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			LivenessProbeExecCommands: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			LivenessProbeFailureThreshold:    pulumi.Int(0),
    			LivenessProbeHttpGetPath:         pulumi.String("string"),
    			LivenessProbeHttpGetPort:         pulumi.Int(0),
    			LivenessProbeHttpGetScheme:       pulumi.String("string"),
    			LivenessProbeInitialDelaySeconds: pulumi.Int(0),
    			LivenessProbePeriodSeconds:       pulumi.Int(0),
    			LivenessProbeSuccessThreshold:    pulumi.Int(0),
    			LivenessProbeTcpSocketPort:       pulumi.Int(0),
    			LivenessProbeTimeoutSeconds:      pulumi.Int(0),
    			Memory:                           pulumi.Float64(0),
    			Name:                             pulumi.String("string"),
    			Ports: ess.EciScalingConfigurationContainerPortArray{
    				&ess.EciScalingConfigurationContainerPortArgs{
    					Port:     pulumi.Int(0),
    					Protocol: pulumi.String("string"),
    				},
    			},
    			ReadinessProbeExecCommands: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			ReadinessProbeFailureThreshold:    pulumi.Int(0),
    			ReadinessProbeHttpGetPath:         pulumi.String("string"),
    			ReadinessProbeHttpGetPort:         pulumi.Int(0),
    			ReadinessProbeHttpGetScheme:       pulumi.String("string"),
    			ReadinessProbeInitialDelaySeconds: pulumi.Int(0),
    			ReadinessProbePeriodSeconds:       pulumi.Int(0),
    			ReadinessProbeSuccessThreshold:    pulumi.Int(0),
    			ReadinessProbeTcpSocketPort:       pulumi.Int(0),
    			ReadinessProbeTimeoutSeconds:      pulumi.Int(0),
    			SecurityContextCapabilityAdds: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			SecurityContextReadOnlyRootFileSystem: pulumi.Bool(false),
    			SecurityContextRunAsUser:              pulumi.Int(0),
    			Stdin:                                 pulumi.Bool(false),
    			Tty:                                   pulumi.Bool(false),
    			VolumeMounts: ess.EciScalingConfigurationContainerVolumeMountArray{
    				&ess.EciScalingConfigurationContainerVolumeMountArgs{
    					MountPath:        pulumi.String("string"),
    					MountPropagation: pulumi.String("string"),
    					Name:             pulumi.String("string"),
    					ReadOnly:         pulumi.Bool(false),
    					SubPath:          pulumi.String("string"),
    				},
    			},
    			WorkingDir: pulumi.String("string"),
    		},
    	},
    	InitContainers: ess.EciScalingConfigurationInitContainerArray{
    		&ess.EciScalingConfigurationInitContainerArgs{
    			Args: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Commands: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Cpu: pulumi.Float64(0),
    			EnvironmentVars: ess.EciScalingConfigurationInitContainerEnvironmentVarArray{
    				&ess.EciScalingConfigurationInitContainerEnvironmentVarArgs{
    					FieldRefFieldPath: pulumi.String("string"),
    					Key:               pulumi.String("string"),
    					Value:             pulumi.String("string"),
    				},
    			},
    			Gpu:             pulumi.Int(0),
    			Image:           pulumi.String("string"),
    			ImagePullPolicy: pulumi.String("string"),
    			Memory:          pulumi.Float64(0),
    			Name:            pulumi.String("string"),
    			Ports: ess.EciScalingConfigurationInitContainerPortArray{
    				&ess.EciScalingConfigurationInitContainerPortArgs{
    					Port:     pulumi.Int(0),
    					Protocol: pulumi.String("string"),
    				},
    			},
    			SecurityContextCapabilityAdds: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			SecurityContextReadOnlyRootFileSystem: pulumi.Bool(false),
    			SecurityContextRunAsUser:              pulumi.Int(0),
    			VolumeMounts: ess.EciScalingConfigurationInitContainerVolumeMountArray{
    				&ess.EciScalingConfigurationInitContainerVolumeMountArgs{
    					MountPath:        pulumi.String("string"),
    					MountPropagation: pulumi.String("string"),
    					Name:             pulumi.String("string"),
    					ReadOnly:         pulumi.Bool(false),
    					SubPath:          pulumi.String("string"),
    				},
    			},
    			WorkingDir: pulumi.String("string"),
    		},
    	},
    	InstanceFamilyLevel: pulumi.String("string"),
    	InstanceTypes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Ipv6AddressCount:         pulumi.Int(0),
    	LoadBalancerWeight:       pulumi.Int(0),
    	Memory:                   pulumi.Float64(0),
    	RamRoleName:              pulumi.String("string"),
    	ResourceGroupId:          pulumi.String("string"),
    	RestartPolicy:            pulumi.String("string"),
    	ScalingConfigurationName: pulumi.String("string"),
    	Active:                   pulumi.Bool(false),
    	SecurityContextSysctls: ess.EciScalingConfigurationSecurityContextSysctlArray{
    		&ess.EciScalingConfigurationSecurityContextSysctlArgs{
    			Name:  pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    	SecurityGroupId: pulumi.String("string"),
    	SpotPriceLimit:  pulumi.Float64(0),
    	SpotStrategy:    pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	TerminationGracePeriodSeconds: pulumi.Int(0),
    	Volumes: ess.EciScalingConfigurationVolumeArray{
    		&ess.EciScalingConfigurationVolumeArgs{
    			ConfigFileVolumeConfigFileToPaths: ess.EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArray{
    				&ess.EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArgs{
    					Content: pulumi.String("string"),
    					Mode:    pulumi.Int(0),
    					Path:    pulumi.String("string"),
    				},
    			},
    			ConfigFileVolumeDefaultMode: pulumi.Int(0),
    			DiskVolumeDiskId:            pulumi.String("string"),
    			DiskVolumeDiskSize:          pulumi.Int(0),
    			DiskVolumeFsType:            pulumi.String("string"),
    			EmptyDirVolumeMedium:        pulumi.String("string"),
    			EmptyDirVolumeSizeLimit:     pulumi.String("string"),
    			FlexVolumeDriver:            pulumi.String("string"),
    			FlexVolumeFsType:            pulumi.String("string"),
    			FlexVolumeOptions:           pulumi.String("string"),
    			HostPathVolumePath:          pulumi.String("string"),
    			HostPathVolumeType:          pulumi.String("string"),
    			Name:                        pulumi.String("string"),
    			NfsVolumePath:               pulumi.String("string"),
    			NfsVolumeReadOnly:           pulumi.Bool(false),
    			NfsVolumeServer:             pulumi.String("string"),
    			Type:                        pulumi.String("string"),
    		},
    	},
    })
    
    var eciScalingConfigurationResource = new EciScalingConfiguration("eciScalingConfigurationResource", EciScalingConfigurationArgs.builder()
        .scalingGroupId("string")
        .hostName("string")
        .cpu(0)
        .autoCreateEip(false)
        .imageRegistryCredentials(EciScalingConfigurationImageRegistryCredentialArgs.builder()
            .password("string")
            .server("string")
            .username("string")
            .build())
        .containerGroupName("string")
        .ingressBandwidth(0)
        .costOptimization(false)
        .imageSnapshotId("string")
        .cpuOptionsCore(0)
        .cpuOptionsThreadsPerCore(0)
        .description("string")
        .dnsConfigOptions(EciScalingConfigurationDnsConfigOptionArgs.builder()
            .name("string")
            .value("string")
            .build())
        .dnsPolicy("string")
        .egressBandwidth(0)
        .eipBandwidth(0)
        .enableSls(false)
        .ephemeralStorage(0)
        .forceDelete(false)
        .hostAliases(EciScalingConfigurationHostAliasArgs.builder()
            .hostnames("string")
            .ip("string")
            .build())
        .acrRegistryInfos(EciScalingConfigurationAcrRegistryInfoArgs.builder()
            .domains("string")
            .instanceId("string")
            .instanceName("string")
            .regionId("string")
            .build())
        .autoMatchImageCache(false)
        .activeDeadlineSeconds(0)
        .containers(EciScalingConfigurationContainerArgs.builder()
            .args("string")
            .commands("string")
            .cpu(0)
            .environmentVars(EciScalingConfigurationContainerEnvironmentVarArgs.builder()
                .fieldRefFieldPath("string")
                .key("string")
                .value("string")
                .build())
            .gpu(0)
            .image("string")
            .imagePullPolicy("string")
            .lifecyclePreStopHandlerExecs("string")
            .livenessProbeExecCommands("string")
            .livenessProbeFailureThreshold(0)
            .livenessProbeHttpGetPath("string")
            .livenessProbeHttpGetPort(0)
            .livenessProbeHttpGetScheme("string")
            .livenessProbeInitialDelaySeconds(0)
            .livenessProbePeriodSeconds(0)
            .livenessProbeSuccessThreshold(0)
            .livenessProbeTcpSocketPort(0)
            .livenessProbeTimeoutSeconds(0)
            .memory(0)
            .name("string")
            .ports(EciScalingConfigurationContainerPortArgs.builder()
                .port(0)
                .protocol("string")
                .build())
            .readinessProbeExecCommands("string")
            .readinessProbeFailureThreshold(0)
            .readinessProbeHttpGetPath("string")
            .readinessProbeHttpGetPort(0)
            .readinessProbeHttpGetScheme("string")
            .readinessProbeInitialDelaySeconds(0)
            .readinessProbePeriodSeconds(0)
            .readinessProbeSuccessThreshold(0)
            .readinessProbeTcpSocketPort(0)
            .readinessProbeTimeoutSeconds(0)
            .securityContextCapabilityAdds("string")
            .securityContextReadOnlyRootFileSystem(false)
            .securityContextRunAsUser(0)
            .stdin(false)
            .tty(false)
            .volumeMounts(EciScalingConfigurationContainerVolumeMountArgs.builder()
                .mountPath("string")
                .mountPropagation("string")
                .name("string")
                .readOnly(false)
                .subPath("string")
                .build())
            .workingDir("string")
            .build())
        .initContainers(EciScalingConfigurationInitContainerArgs.builder()
            .args("string")
            .commands("string")
            .cpu(0)
            .environmentVars(EciScalingConfigurationInitContainerEnvironmentVarArgs.builder()
                .fieldRefFieldPath("string")
                .key("string")
                .value("string")
                .build())
            .gpu(0)
            .image("string")
            .imagePullPolicy("string")
            .memory(0)
            .name("string")
            .ports(EciScalingConfigurationInitContainerPortArgs.builder()
                .port(0)
                .protocol("string")
                .build())
            .securityContextCapabilityAdds("string")
            .securityContextReadOnlyRootFileSystem(false)
            .securityContextRunAsUser(0)
            .volumeMounts(EciScalingConfigurationInitContainerVolumeMountArgs.builder()
                .mountPath("string")
                .mountPropagation("string")
                .name("string")
                .readOnly(false)
                .subPath("string")
                .build())
            .workingDir("string")
            .build())
        .instanceFamilyLevel("string")
        .instanceTypes("string")
        .ipv6AddressCount(0)
        .loadBalancerWeight(0)
        .memory(0)
        .ramRoleName("string")
        .resourceGroupId("string")
        .restartPolicy("string")
        .scalingConfigurationName("string")
        .active(false)
        .securityContextSysctls(EciScalingConfigurationSecurityContextSysctlArgs.builder()
            .name("string")
            .value("string")
            .build())
        .securityGroupId("string")
        .spotPriceLimit(0)
        .spotStrategy("string")
        .tags(Map.of("string", "string"))
        .terminationGracePeriodSeconds(0)
        .volumes(EciScalingConfigurationVolumeArgs.builder()
            .configFileVolumeConfigFileToPaths(EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArgs.builder()
                .content("string")
                .mode(0)
                .path("string")
                .build())
            .configFileVolumeDefaultMode(0)
            .diskVolumeDiskId("string")
            .diskVolumeDiskSize(0)
            .diskVolumeFsType("string")
            .emptyDirVolumeMedium("string")
            .emptyDirVolumeSizeLimit("string")
            .flexVolumeDriver("string")
            .flexVolumeFsType("string")
            .flexVolumeOptions("string")
            .hostPathVolumePath("string")
            .hostPathVolumeType("string")
            .name("string")
            .nfsVolumePath("string")
            .nfsVolumeReadOnly(false)
            .nfsVolumeServer("string")
            .type("string")
            .build())
        .build());
    
    eci_scaling_configuration_resource = alicloud.ess.EciScalingConfiguration("eciScalingConfigurationResource",
        scaling_group_id="string",
        host_name="string",
        cpu=0,
        auto_create_eip=False,
        image_registry_credentials=[{
            "password": "string",
            "server": "string",
            "username": "string",
        }],
        container_group_name="string",
        ingress_bandwidth=0,
        cost_optimization=False,
        image_snapshot_id="string",
        cpu_options_core=0,
        cpu_options_threads_per_core=0,
        description="string",
        dns_config_options=[{
            "name": "string",
            "value": "string",
        }],
        dns_policy="string",
        egress_bandwidth=0,
        eip_bandwidth=0,
        enable_sls=False,
        ephemeral_storage=0,
        force_delete=False,
        host_aliases=[{
            "hostnames": ["string"],
            "ip": "string",
        }],
        acr_registry_infos=[{
            "domains": ["string"],
            "instance_id": "string",
            "instance_name": "string",
            "region_id": "string",
        }],
        auto_match_image_cache=False,
        active_deadline_seconds=0,
        containers=[{
            "args": ["string"],
            "commands": ["string"],
            "cpu": 0,
            "environment_vars": [{
                "field_ref_field_path": "string",
                "key": "string",
                "value": "string",
            }],
            "gpu": 0,
            "image": "string",
            "image_pull_policy": "string",
            "lifecycle_pre_stop_handler_execs": ["string"],
            "liveness_probe_exec_commands": ["string"],
            "liveness_probe_failure_threshold": 0,
            "liveness_probe_http_get_path": "string",
            "liveness_probe_http_get_port": 0,
            "liveness_probe_http_get_scheme": "string",
            "liveness_probe_initial_delay_seconds": 0,
            "liveness_probe_period_seconds": 0,
            "liveness_probe_success_threshold": 0,
            "liveness_probe_tcp_socket_port": 0,
            "liveness_probe_timeout_seconds": 0,
            "memory": 0,
            "name": "string",
            "ports": [{
                "port": 0,
                "protocol": "string",
            }],
            "readiness_probe_exec_commands": ["string"],
            "readiness_probe_failure_threshold": 0,
            "readiness_probe_http_get_path": "string",
            "readiness_probe_http_get_port": 0,
            "readiness_probe_http_get_scheme": "string",
            "readiness_probe_initial_delay_seconds": 0,
            "readiness_probe_period_seconds": 0,
            "readiness_probe_success_threshold": 0,
            "readiness_probe_tcp_socket_port": 0,
            "readiness_probe_timeout_seconds": 0,
            "security_context_capability_adds": ["string"],
            "security_context_read_only_root_file_system": False,
            "security_context_run_as_user": 0,
            "stdin": False,
            "tty": False,
            "volume_mounts": [{
                "mount_path": "string",
                "mount_propagation": "string",
                "name": "string",
                "read_only": False,
                "sub_path": "string",
            }],
            "working_dir": "string",
        }],
        init_containers=[{
            "args": ["string"],
            "commands": ["string"],
            "cpu": 0,
            "environment_vars": [{
                "field_ref_field_path": "string",
                "key": "string",
                "value": "string",
            }],
            "gpu": 0,
            "image": "string",
            "image_pull_policy": "string",
            "memory": 0,
            "name": "string",
            "ports": [{
                "port": 0,
                "protocol": "string",
            }],
            "security_context_capability_adds": ["string"],
            "security_context_read_only_root_file_system": False,
            "security_context_run_as_user": 0,
            "volume_mounts": [{
                "mount_path": "string",
                "mount_propagation": "string",
                "name": "string",
                "read_only": False,
                "sub_path": "string",
            }],
            "working_dir": "string",
        }],
        instance_family_level="string",
        instance_types=["string"],
        ipv6_address_count=0,
        load_balancer_weight=0,
        memory=0,
        ram_role_name="string",
        resource_group_id="string",
        restart_policy="string",
        scaling_configuration_name="string",
        active=False,
        security_context_sysctls=[{
            "name": "string",
            "value": "string",
        }],
        security_group_id="string",
        spot_price_limit=0,
        spot_strategy="string",
        tags={
            "string": "string",
        },
        termination_grace_period_seconds=0,
        volumes=[{
            "config_file_volume_config_file_to_paths": [{
                "content": "string",
                "mode": 0,
                "path": "string",
            }],
            "config_file_volume_default_mode": 0,
            "disk_volume_disk_id": "string",
            "disk_volume_disk_size": 0,
            "disk_volume_fs_type": "string",
            "empty_dir_volume_medium": "string",
            "empty_dir_volume_size_limit": "string",
            "flex_volume_driver": "string",
            "flex_volume_fs_type": "string",
            "flex_volume_options": "string",
            "host_path_volume_path": "string",
            "host_path_volume_type": "string",
            "name": "string",
            "nfs_volume_path": "string",
            "nfs_volume_read_only": False,
            "nfs_volume_server": "string",
            "type": "string",
        }])
    
    const eciScalingConfigurationResource = new alicloud.ess.EciScalingConfiguration("eciScalingConfigurationResource", {
        scalingGroupId: "string",
        hostName: "string",
        cpu: 0,
        autoCreateEip: false,
        imageRegistryCredentials: [{
            password: "string",
            server: "string",
            username: "string",
        }],
        containerGroupName: "string",
        ingressBandwidth: 0,
        costOptimization: false,
        imageSnapshotId: "string",
        cpuOptionsCore: 0,
        cpuOptionsThreadsPerCore: 0,
        description: "string",
        dnsConfigOptions: [{
            name: "string",
            value: "string",
        }],
        dnsPolicy: "string",
        egressBandwidth: 0,
        eipBandwidth: 0,
        enableSls: false,
        ephemeralStorage: 0,
        forceDelete: false,
        hostAliases: [{
            hostnames: ["string"],
            ip: "string",
        }],
        acrRegistryInfos: [{
            domains: ["string"],
            instanceId: "string",
            instanceName: "string",
            regionId: "string",
        }],
        autoMatchImageCache: false,
        activeDeadlineSeconds: 0,
        containers: [{
            args: ["string"],
            commands: ["string"],
            cpu: 0,
            environmentVars: [{
                fieldRefFieldPath: "string",
                key: "string",
                value: "string",
            }],
            gpu: 0,
            image: "string",
            imagePullPolicy: "string",
            lifecyclePreStopHandlerExecs: ["string"],
            livenessProbeExecCommands: ["string"],
            livenessProbeFailureThreshold: 0,
            livenessProbeHttpGetPath: "string",
            livenessProbeHttpGetPort: 0,
            livenessProbeHttpGetScheme: "string",
            livenessProbeInitialDelaySeconds: 0,
            livenessProbePeriodSeconds: 0,
            livenessProbeSuccessThreshold: 0,
            livenessProbeTcpSocketPort: 0,
            livenessProbeTimeoutSeconds: 0,
            memory: 0,
            name: "string",
            ports: [{
                port: 0,
                protocol: "string",
            }],
            readinessProbeExecCommands: ["string"],
            readinessProbeFailureThreshold: 0,
            readinessProbeHttpGetPath: "string",
            readinessProbeHttpGetPort: 0,
            readinessProbeHttpGetScheme: "string",
            readinessProbeInitialDelaySeconds: 0,
            readinessProbePeriodSeconds: 0,
            readinessProbeSuccessThreshold: 0,
            readinessProbeTcpSocketPort: 0,
            readinessProbeTimeoutSeconds: 0,
            securityContextCapabilityAdds: ["string"],
            securityContextReadOnlyRootFileSystem: false,
            securityContextRunAsUser: 0,
            stdin: false,
            tty: false,
            volumeMounts: [{
                mountPath: "string",
                mountPropagation: "string",
                name: "string",
                readOnly: false,
                subPath: "string",
            }],
            workingDir: "string",
        }],
        initContainers: [{
            args: ["string"],
            commands: ["string"],
            cpu: 0,
            environmentVars: [{
                fieldRefFieldPath: "string",
                key: "string",
                value: "string",
            }],
            gpu: 0,
            image: "string",
            imagePullPolicy: "string",
            memory: 0,
            name: "string",
            ports: [{
                port: 0,
                protocol: "string",
            }],
            securityContextCapabilityAdds: ["string"],
            securityContextReadOnlyRootFileSystem: false,
            securityContextRunAsUser: 0,
            volumeMounts: [{
                mountPath: "string",
                mountPropagation: "string",
                name: "string",
                readOnly: false,
                subPath: "string",
            }],
            workingDir: "string",
        }],
        instanceFamilyLevel: "string",
        instanceTypes: ["string"],
        ipv6AddressCount: 0,
        loadBalancerWeight: 0,
        memory: 0,
        ramRoleName: "string",
        resourceGroupId: "string",
        restartPolicy: "string",
        scalingConfigurationName: "string",
        active: false,
        securityContextSysctls: [{
            name: "string",
            value: "string",
        }],
        securityGroupId: "string",
        spotPriceLimit: 0,
        spotStrategy: "string",
        tags: {
            string: "string",
        },
        terminationGracePeriodSeconds: 0,
        volumes: [{
            configFileVolumeConfigFileToPaths: [{
                content: "string",
                mode: 0,
                path: "string",
            }],
            configFileVolumeDefaultMode: 0,
            diskVolumeDiskId: "string",
            diskVolumeDiskSize: 0,
            diskVolumeFsType: "string",
            emptyDirVolumeMedium: "string",
            emptyDirVolumeSizeLimit: "string",
            flexVolumeDriver: "string",
            flexVolumeFsType: "string",
            flexVolumeOptions: "string",
            hostPathVolumePath: "string",
            hostPathVolumeType: "string",
            name: "string",
            nfsVolumePath: "string",
            nfsVolumeReadOnly: false,
            nfsVolumeServer: "string",
            type: "string",
        }],
    });
    
    type: alicloud:ess:EciScalingConfiguration
    properties:
        acrRegistryInfos:
            - domains:
                - string
              instanceId: string
              instanceName: string
              regionId: string
        active: false
        activeDeadlineSeconds: 0
        autoCreateEip: false
        autoMatchImageCache: false
        containerGroupName: string
        containers:
            - args:
                - string
              commands:
                - string
              cpu: 0
              environmentVars:
                - fieldRefFieldPath: string
                  key: string
                  value: string
              gpu: 0
              image: string
              imagePullPolicy: string
              lifecyclePreStopHandlerExecs:
                - string
              livenessProbeExecCommands:
                - string
              livenessProbeFailureThreshold: 0
              livenessProbeHttpGetPath: string
              livenessProbeHttpGetPort: 0
              livenessProbeHttpGetScheme: string
              livenessProbeInitialDelaySeconds: 0
              livenessProbePeriodSeconds: 0
              livenessProbeSuccessThreshold: 0
              livenessProbeTcpSocketPort: 0
              livenessProbeTimeoutSeconds: 0
              memory: 0
              name: string
              ports:
                - port: 0
                  protocol: string
              readinessProbeExecCommands:
                - string
              readinessProbeFailureThreshold: 0
              readinessProbeHttpGetPath: string
              readinessProbeHttpGetPort: 0
              readinessProbeHttpGetScheme: string
              readinessProbeInitialDelaySeconds: 0
              readinessProbePeriodSeconds: 0
              readinessProbeSuccessThreshold: 0
              readinessProbeTcpSocketPort: 0
              readinessProbeTimeoutSeconds: 0
              securityContextCapabilityAdds:
                - string
              securityContextReadOnlyRootFileSystem: false
              securityContextRunAsUser: 0
              stdin: false
              tty: false
              volumeMounts:
                - mountPath: string
                  mountPropagation: string
                  name: string
                  readOnly: false
                  subPath: string
              workingDir: string
        costOptimization: false
        cpu: 0
        cpuOptionsCore: 0
        cpuOptionsThreadsPerCore: 0
        description: string
        dnsConfigOptions:
            - name: string
              value: string
        dnsPolicy: string
        egressBandwidth: 0
        eipBandwidth: 0
        enableSls: false
        ephemeralStorage: 0
        forceDelete: false
        hostAliases:
            - hostnames:
                - string
              ip: string
        hostName: string
        imageRegistryCredentials:
            - password: string
              server: string
              username: string
        imageSnapshotId: string
        ingressBandwidth: 0
        initContainers:
            - args:
                - string
              commands:
                - string
              cpu: 0
              environmentVars:
                - fieldRefFieldPath: string
                  key: string
                  value: string
              gpu: 0
              image: string
              imagePullPolicy: string
              memory: 0
              name: string
              ports:
                - port: 0
                  protocol: string
              securityContextCapabilityAdds:
                - string
              securityContextReadOnlyRootFileSystem: false
              securityContextRunAsUser: 0
              volumeMounts:
                - mountPath: string
                  mountPropagation: string
                  name: string
                  readOnly: false
                  subPath: string
              workingDir: string
        instanceFamilyLevel: string
        instanceTypes:
            - string
        ipv6AddressCount: 0
        loadBalancerWeight: 0
        memory: 0
        ramRoleName: string
        resourceGroupId: string
        restartPolicy: string
        scalingConfigurationName: string
        scalingGroupId: string
        securityContextSysctls:
            - name: string
              value: string
        securityGroupId: string
        spotPriceLimit: 0
        spotStrategy: string
        tags:
            string: string
        terminationGracePeriodSeconds: 0
        volumes:
            - configFileVolumeConfigFileToPaths:
                - content: string
                  mode: 0
                  path: string
              configFileVolumeDefaultMode: 0
              diskVolumeDiskId: string
              diskVolumeDiskSize: 0
              diskVolumeFsType: string
              emptyDirVolumeMedium: string
              emptyDirVolumeSizeLimit: string
              flexVolumeDriver: string
              flexVolumeFsType: string
              flexVolumeOptions: string
              hostPathVolumePath: string
              hostPathVolumeType: string
              name: string
              nfsVolumePath: string
              nfsVolumeReadOnly: false
              nfsVolumeServer: string
              type: string
    

    EciScalingConfiguration Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The EciScalingConfiguration resource accepts the following input properties:

    ScalingGroupId string
    ID of the scaling group of a eci scaling configuration.
    AcrRegistryInfos List<Pulumi.AliCloud.Ess.Inputs.EciScalingConfigurationAcrRegistryInfo>
    Information about the Container Registry Enterprise Edition instance. See acr_registry_infos below for details.
    Active bool
    Whether active current eci scaling configuration in the specified scaling group. Note that only one configuration can be active. Default to false.
    ActiveDeadlineSeconds int
    The duration in seconds relative to the startTime that the job may be active before the system tries to terminate it.
    AutoCreateEip bool
    Whether create eip automatically.
    AutoMatchImageCache bool
    Whether to automatically match the image cache.
    ContainerGroupName string
    The name of the container group. which must contain 2-128 characters ( English), starting with numbers, English lowercase letters , and can contain number, and hypens -.
    Containers List<Pulumi.AliCloud.Ess.Inputs.EciScalingConfigurationContainer>
    The list of containers. See containers below for details.
    CostOptimization bool
    Indicates whether the Cost Optimization feature is enabled. Valid values: true,false.
    Cpu double
    The amount of CPU resources allocated to the container group.
    CpuOptionsCore int
    The number of physical CPU cores. You can specify this parameter for only specific instance types.
    CpuOptionsThreadsPerCore int
    The number of threads per core. You can specify this parameter for only specific instance types. If you set this parameter to 1, Hyper-Threading is disabled.
    Description string
    The description of data disk N. Valid values of N: 1 to 16. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
    DnsConfigOptions List<Pulumi.AliCloud.Ess.Inputs.EciScalingConfigurationDnsConfigOption>
    The options. Each option is a name-value pair. The value in the name-value pair is optional. See dns_config_options below for details.
    DnsPolicy string
    dns policy of contain group.
    EgressBandwidth int
    egress bandwidth.
    EipBandwidth int
    Eip bandwidth.
    EnableSls bool
    Enable sls log service.
    EphemeralStorage int
    The size of ephemeral storage.
    ForceDelete bool
    The eci scaling configuration will be deleted forcibly with deleting its scaling group. Default to false.
    HostAliases List<Pulumi.AliCloud.Ess.Inputs.EciScalingConfigurationHostAlias>
    HostAliases. See host_aliases below.
    HostName string
    Hostname of an ECI instance.
    ImageRegistryCredentials List<Pulumi.AliCloud.Ess.Inputs.EciScalingConfigurationImageRegistryCredential>
    The image registry credential. See image_registry_credentials below for details.
    ImageSnapshotId string
    The ID of image cache.
    IngressBandwidth int
    Ingress bandwidth.
    InitContainers List<Pulumi.AliCloud.Ess.Inputs.EciScalingConfigurationInitContainer>
    The list of initContainers. See init_containers below for details.
    InstanceFamilyLevel string
    The level of the instance family, which is used to filter instance types that meet the specified criteria. This parameter takes effect only if you set CostOptimization to true. Valid values: EntryLevel, EnterpriseLevel, CreditEntryLevel.
    InstanceTypes List<string>
    The specified ECS instance types. You can specify up to five ECS instance types.
    Ipv6AddressCount int
    Number of IPv6 addresses.
    LoadBalancerWeight int
    The weight of an ECI instance attached to the Server Group.
    Memory double
    The amount of memory resources allocated to the container group.
    RamRoleName string
    The RAM role that the container group assumes. ECI and ECS share the same RAM role.
    ResourceGroupId string
    ID of resource group.
    RestartPolicy string
    The restart policy of the container group. Default to Always.
    ScalingConfigurationName string
    Name shown for the scheduled task. which must contain 2-64 characters ( English or Chinese), starting with numbers, English letters or Chinese characters, and can contain number, underscores _, hypens -, and decimal point .. If this parameter value is not specified, the default value is EciScalingConfigurationId.
    SecurityContextSysctls List<Pulumi.AliCloud.Ess.Inputs.EciScalingConfigurationSecurityContextSysctl>
    The system information about the security context in which the elastic container instance is run. See security_context_sysctls below for details.
    SecurityGroupId string
    ID of the security group used to create new instance. It is conflict with security_group_ids.
    SpotPriceLimit double
    The maximum price hourly for spot instance.
    SpotStrategy string
    The spot strategy for a Pay-As-You-Go instance. Valid values: NoSpot, SpotAsPriceGo , SpotWithPriceLimit.
    Tags Dictionary<string, string>
    A mapping of tags to assign to the resource. It will be applied for ECI instances finally.

    • Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string.
    • Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string.
    TerminationGracePeriodSeconds int
    The program's buffering time before closing.
    Volumes List<Pulumi.AliCloud.Ess.Inputs.EciScalingConfigurationVolume>
    The list of volumes. See volumes below for details.
    ScalingGroupId string
    ID of the scaling group of a eci scaling configuration.
    AcrRegistryInfos []EciScalingConfigurationAcrRegistryInfoArgs
    Information about the Container Registry Enterprise Edition instance. See acr_registry_infos below for details.
    Active bool
    Whether active current eci scaling configuration in the specified scaling group. Note that only one configuration can be active. Default to false.
    ActiveDeadlineSeconds int
    The duration in seconds relative to the startTime that the job may be active before the system tries to terminate it.
    AutoCreateEip bool
    Whether create eip automatically.
    AutoMatchImageCache bool
    Whether to automatically match the image cache.
    ContainerGroupName string
    The name of the container group. which must contain 2-128 characters ( English), starting with numbers, English lowercase letters , and can contain number, and hypens -.
    Containers []EciScalingConfigurationContainerArgs
    The list of containers. See containers below for details.
    CostOptimization bool
    Indicates whether the Cost Optimization feature is enabled. Valid values: true,false.
    Cpu float64
    The amount of CPU resources allocated to the container group.
    CpuOptionsCore int
    The number of physical CPU cores. You can specify this parameter for only specific instance types.
    CpuOptionsThreadsPerCore int
    The number of threads per core. You can specify this parameter for only specific instance types. If you set this parameter to 1, Hyper-Threading is disabled.
    Description string
    The description of data disk N. Valid values of N: 1 to 16. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
    DnsConfigOptions []EciScalingConfigurationDnsConfigOptionArgs
    The options. Each option is a name-value pair. The value in the name-value pair is optional. See dns_config_options below for details.
    DnsPolicy string
    dns policy of contain group.
    EgressBandwidth int
    egress bandwidth.
    EipBandwidth int
    Eip bandwidth.
    EnableSls bool
    Enable sls log service.
    EphemeralStorage int
    The size of ephemeral storage.
    ForceDelete bool
    The eci scaling configuration will be deleted forcibly with deleting its scaling group. Default to false.
    HostAliases []EciScalingConfigurationHostAliasArgs
    HostAliases. See host_aliases below.
    HostName string
    Hostname of an ECI instance.
    ImageRegistryCredentials []EciScalingConfigurationImageRegistryCredentialArgs
    The image registry credential. See image_registry_credentials below for details.
    ImageSnapshotId string
    The ID of image cache.
    IngressBandwidth int
    Ingress bandwidth.
    InitContainers []EciScalingConfigurationInitContainerArgs
    The list of initContainers. See init_containers below for details.
    InstanceFamilyLevel string
    The level of the instance family, which is used to filter instance types that meet the specified criteria. This parameter takes effect only if you set CostOptimization to true. Valid values: EntryLevel, EnterpriseLevel, CreditEntryLevel.
    InstanceTypes []string
    The specified ECS instance types. You can specify up to five ECS instance types.
    Ipv6AddressCount int
    Number of IPv6 addresses.
    LoadBalancerWeight int
    The weight of an ECI instance attached to the Server Group.
    Memory float64
    The amount of memory resources allocated to the container group.
    RamRoleName string
    The RAM role that the container group assumes. ECI and ECS share the same RAM role.
    ResourceGroupId string
    ID of resource group.
    RestartPolicy string
    The restart policy of the container group. Default to Always.
    ScalingConfigurationName string
    Name shown for the scheduled task. which must contain 2-64 characters ( English or Chinese), starting with numbers, English letters or Chinese characters, and can contain number, underscores _, hypens -, and decimal point .. If this parameter value is not specified, the default value is EciScalingConfigurationId.
    SecurityContextSysctls []EciScalingConfigurationSecurityContextSysctlArgs
    The system information about the security context in which the elastic container instance is run. See security_context_sysctls below for details.
    SecurityGroupId string
    ID of the security group used to create new instance. It is conflict with security_group_ids.
    SpotPriceLimit float64
    The maximum price hourly for spot instance.
    SpotStrategy string
    The spot strategy for a Pay-As-You-Go instance. Valid values: NoSpot, SpotAsPriceGo , SpotWithPriceLimit.
    Tags map[string]string
    A mapping of tags to assign to the resource. It will be applied for ECI instances finally.

    • Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string.
    • Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string.
    TerminationGracePeriodSeconds int
    The program's buffering time before closing.
    Volumes []EciScalingConfigurationVolumeArgs
    The list of volumes. See volumes below for details.
    scalingGroupId String
    ID of the scaling group of a eci scaling configuration.
    acrRegistryInfos List<EciScalingConfigurationAcrRegistryInfo>
    Information about the Container Registry Enterprise Edition instance. See acr_registry_infos below for details.
    active Boolean
    Whether active current eci scaling configuration in the specified scaling group. Note that only one configuration can be active. Default to false.
    activeDeadlineSeconds Integer
    The duration in seconds relative to the startTime that the job may be active before the system tries to terminate it.
    autoCreateEip Boolean
    Whether create eip automatically.
    autoMatchImageCache Boolean
    Whether to automatically match the image cache.
    containerGroupName String
    The name of the container group. which must contain 2-128 characters ( English), starting with numbers, English lowercase letters , and can contain number, and hypens -.
    containers List<EciScalingConfigurationContainer>
    The list of containers. See containers below for details.
    costOptimization Boolean
    Indicates whether the Cost Optimization feature is enabled. Valid values: true,false.
    cpu Double
    The amount of CPU resources allocated to the container group.
    cpuOptionsCore Integer
    The number of physical CPU cores. You can specify this parameter for only specific instance types.
    cpuOptionsThreadsPerCore Integer
    The number of threads per core. You can specify this parameter for only specific instance types. If you set this parameter to 1, Hyper-Threading is disabled.
    description String
    The description of data disk N. Valid values of N: 1 to 16. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
    dnsConfigOptions List<EciScalingConfigurationDnsConfigOption>
    The options. Each option is a name-value pair. The value in the name-value pair is optional. See dns_config_options below for details.
    dnsPolicy String
    dns policy of contain group.
    egressBandwidth Integer
    egress bandwidth.
    eipBandwidth Integer
    Eip bandwidth.
    enableSls Boolean
    Enable sls log service.
    ephemeralStorage Integer
    The size of ephemeral storage.
    forceDelete Boolean
    The eci scaling configuration will be deleted forcibly with deleting its scaling group. Default to false.
    hostAliases List<EciScalingConfigurationHostAlias>
    HostAliases. See host_aliases below.
    hostName String
    Hostname of an ECI instance.
    imageRegistryCredentials List<EciScalingConfigurationImageRegistryCredential>
    The image registry credential. See image_registry_credentials below for details.
    imageSnapshotId String
    The ID of image cache.
    ingressBandwidth Integer
    Ingress bandwidth.
    initContainers List<EciScalingConfigurationInitContainer>
    The list of initContainers. See init_containers below for details.
    instanceFamilyLevel String
    The level of the instance family, which is used to filter instance types that meet the specified criteria. This parameter takes effect only if you set CostOptimization to true. Valid values: EntryLevel, EnterpriseLevel, CreditEntryLevel.
    instanceTypes List<String>
    The specified ECS instance types. You can specify up to five ECS instance types.
    ipv6AddressCount Integer
    Number of IPv6 addresses.
    loadBalancerWeight Integer
    The weight of an ECI instance attached to the Server Group.
    memory Double
    The amount of memory resources allocated to the container group.
    ramRoleName String
    The RAM role that the container group assumes. ECI and ECS share the same RAM role.
    resourceGroupId String
    ID of resource group.
    restartPolicy String
    The restart policy of the container group. Default to Always.
    scalingConfigurationName String
    Name shown for the scheduled task. which must contain 2-64 characters ( English or Chinese), starting with numbers, English letters or Chinese characters, and can contain number, underscores _, hypens -, and decimal point .. If this parameter value is not specified, the default value is EciScalingConfigurationId.
    securityContextSysctls List<EciScalingConfigurationSecurityContextSysctl>
    The system information about the security context in which the elastic container instance is run. See security_context_sysctls below for details.
    securityGroupId String
    ID of the security group used to create new instance. It is conflict with security_group_ids.
    spotPriceLimit Double
    The maximum price hourly for spot instance.
    spotStrategy String
    The spot strategy for a Pay-As-You-Go instance. Valid values: NoSpot, SpotAsPriceGo , SpotWithPriceLimit.
    tags Map<String,String>
    A mapping of tags to assign to the resource. It will be applied for ECI instances finally.

    • Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string.
    • Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string.
    terminationGracePeriodSeconds Integer
    The program's buffering time before closing.
    volumes List<EciScalingConfigurationVolume>
    The list of volumes. See volumes below for details.
    scalingGroupId string
    ID of the scaling group of a eci scaling configuration.
    acrRegistryInfos EciScalingConfigurationAcrRegistryInfo[]
    Information about the Container Registry Enterprise Edition instance. See acr_registry_infos below for details.
    active boolean
    Whether active current eci scaling configuration in the specified scaling group. Note that only one configuration can be active. Default to false.
    activeDeadlineSeconds number
    The duration in seconds relative to the startTime that the job may be active before the system tries to terminate it.
    autoCreateEip boolean
    Whether create eip automatically.
    autoMatchImageCache boolean
    Whether to automatically match the image cache.
    containerGroupName string
    The name of the container group. which must contain 2-128 characters ( English), starting with numbers, English lowercase letters , and can contain number, and hypens -.
    containers EciScalingConfigurationContainer[]
    The list of containers. See containers below for details.
    costOptimization boolean
    Indicates whether the Cost Optimization feature is enabled. Valid values: true,false.
    cpu number
    The amount of CPU resources allocated to the container group.
    cpuOptionsCore number
    The number of physical CPU cores. You can specify this parameter for only specific instance types.
    cpuOptionsThreadsPerCore number
    The number of threads per core. You can specify this parameter for only specific instance types. If you set this parameter to 1, Hyper-Threading is disabled.
    description string
    The description of data disk N. Valid values of N: 1 to 16. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
    dnsConfigOptions EciScalingConfigurationDnsConfigOption[]
    The options. Each option is a name-value pair. The value in the name-value pair is optional. See dns_config_options below for details.
    dnsPolicy string
    dns policy of contain group.
    egressBandwidth number
    egress bandwidth.
    eipBandwidth number
    Eip bandwidth.
    enableSls boolean
    Enable sls log service.
    ephemeralStorage number
    The size of ephemeral storage.
    forceDelete boolean
    The eci scaling configuration will be deleted forcibly with deleting its scaling group. Default to false.
    hostAliases EciScalingConfigurationHostAlias[]
    HostAliases. See host_aliases below.
    hostName string
    Hostname of an ECI instance.
    imageRegistryCredentials EciScalingConfigurationImageRegistryCredential[]
    The image registry credential. See image_registry_credentials below for details.
    imageSnapshotId string
    The ID of image cache.
    ingressBandwidth number
    Ingress bandwidth.
    initContainers EciScalingConfigurationInitContainer[]
    The list of initContainers. See init_containers below for details.
    instanceFamilyLevel string
    The level of the instance family, which is used to filter instance types that meet the specified criteria. This parameter takes effect only if you set CostOptimization to true. Valid values: EntryLevel, EnterpriseLevel, CreditEntryLevel.
    instanceTypes string[]
    The specified ECS instance types. You can specify up to five ECS instance types.
    ipv6AddressCount number
    Number of IPv6 addresses.
    loadBalancerWeight number
    The weight of an ECI instance attached to the Server Group.
    memory number
    The amount of memory resources allocated to the container group.
    ramRoleName string
    The RAM role that the container group assumes. ECI and ECS share the same RAM role.
    resourceGroupId string
    ID of resource group.
    restartPolicy string
    The restart policy of the container group. Default to Always.
    scalingConfigurationName string
    Name shown for the scheduled task. which must contain 2-64 characters ( English or Chinese), starting with numbers, English letters or Chinese characters, and can contain number, underscores _, hypens -, and decimal point .. If this parameter value is not specified, the default value is EciScalingConfigurationId.
    securityContextSysctls EciScalingConfigurationSecurityContextSysctl[]
    The system information about the security context in which the elastic container instance is run. See security_context_sysctls below for details.
    securityGroupId string
    ID of the security group used to create new instance. It is conflict with security_group_ids.
    spotPriceLimit number
    The maximum price hourly for spot instance.
    spotStrategy string
    The spot strategy for a Pay-As-You-Go instance. Valid values: NoSpot, SpotAsPriceGo , SpotWithPriceLimit.
    tags {[key: string]: string}
    A mapping of tags to assign to the resource. It will be applied for ECI instances finally.

    • Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string.
    • Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string.
    terminationGracePeriodSeconds number
    The program's buffering time before closing.
    volumes EciScalingConfigurationVolume[]
    The list of volumes. See volumes below for details.
    scaling_group_id str
    ID of the scaling group of a eci scaling configuration.
    acr_registry_infos Sequence[EciScalingConfigurationAcrRegistryInfoArgs]
    Information about the Container Registry Enterprise Edition instance. See acr_registry_infos below for details.
    active bool
    Whether active current eci scaling configuration in the specified scaling group. Note that only one configuration can be active. Default to false.
    active_deadline_seconds int
    The duration in seconds relative to the startTime that the job may be active before the system tries to terminate it.
    auto_create_eip bool
    Whether create eip automatically.
    auto_match_image_cache bool
    Whether to automatically match the image cache.
    container_group_name str
    The name of the container group. which must contain 2-128 characters ( English), starting with numbers, English lowercase letters , and can contain number, and hypens -.
    containers Sequence[EciScalingConfigurationContainerArgs]
    The list of containers. See containers below for details.
    cost_optimization bool
    Indicates whether the Cost Optimization feature is enabled. Valid values: true,false.
    cpu float
    The amount of CPU resources allocated to the container group.
    cpu_options_core int
    The number of physical CPU cores. You can specify this parameter for only specific instance types.
    cpu_options_threads_per_core int
    The number of threads per core. You can specify this parameter for only specific instance types. If you set this parameter to 1, Hyper-Threading is disabled.
    description str
    The description of data disk N. Valid values of N: 1 to 16. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
    dns_config_options Sequence[EciScalingConfigurationDnsConfigOptionArgs]
    The options. Each option is a name-value pair. The value in the name-value pair is optional. See dns_config_options below for details.
    dns_policy str
    dns policy of contain group.
    egress_bandwidth int
    egress bandwidth.
    eip_bandwidth int
    Eip bandwidth.
    enable_sls bool
    Enable sls log service.
    ephemeral_storage int
    The size of ephemeral storage.
    force_delete bool
    The eci scaling configuration will be deleted forcibly with deleting its scaling group. Default to false.
    host_aliases Sequence[EciScalingConfigurationHostAliasArgs]
    HostAliases. See host_aliases below.
    host_name str
    Hostname of an ECI instance.
    image_registry_credentials Sequence[EciScalingConfigurationImageRegistryCredentialArgs]
    The image registry credential. See image_registry_credentials below for details.
    image_snapshot_id str
    The ID of image cache.
    ingress_bandwidth int
    Ingress bandwidth.
    init_containers Sequence[EciScalingConfigurationInitContainerArgs]
    The list of initContainers. See init_containers below for details.
    instance_family_level str
    The level of the instance family, which is used to filter instance types that meet the specified criteria. This parameter takes effect only if you set CostOptimization to true. Valid values: EntryLevel, EnterpriseLevel, CreditEntryLevel.
    instance_types Sequence[str]
    The specified ECS instance types. You can specify up to five ECS instance types.
    ipv6_address_count int
    Number of IPv6 addresses.
    load_balancer_weight int
    The weight of an ECI instance attached to the Server Group.
    memory float
    The amount of memory resources allocated to the container group.
    ram_role_name str
    The RAM role that the container group assumes. ECI and ECS share the same RAM role.
    resource_group_id str
    ID of resource group.
    restart_policy str
    The restart policy of the container group. Default to Always.
    scaling_configuration_name str
    Name shown for the scheduled task. which must contain 2-64 characters ( English or Chinese), starting with numbers, English letters or Chinese characters, and can contain number, underscores _, hypens -, and decimal point .. If this parameter value is not specified, the default value is EciScalingConfigurationId.
    security_context_sysctls Sequence[EciScalingConfigurationSecurityContextSysctlArgs]
    The system information about the security context in which the elastic container instance is run. See security_context_sysctls below for details.
    security_group_id str
    ID of the security group used to create new instance. It is conflict with security_group_ids.
    spot_price_limit float
    The maximum price hourly for spot instance.
    spot_strategy str
    The spot strategy for a Pay-As-You-Go instance. Valid values: NoSpot, SpotAsPriceGo , SpotWithPriceLimit.
    tags Mapping[str, str]
    A mapping of tags to assign to the resource. It will be applied for ECI instances finally.

    • Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string.
    • Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string.
    termination_grace_period_seconds int
    The program's buffering time before closing.
    volumes Sequence[EciScalingConfigurationVolumeArgs]
    The list of volumes. See volumes below for details.
    scalingGroupId String
    ID of the scaling group of a eci scaling configuration.
    acrRegistryInfos List<Property Map>
    Information about the Container Registry Enterprise Edition instance. See acr_registry_infos below for details.
    active Boolean
    Whether active current eci scaling configuration in the specified scaling group. Note that only one configuration can be active. Default to false.
    activeDeadlineSeconds Number
    The duration in seconds relative to the startTime that the job may be active before the system tries to terminate it.
    autoCreateEip Boolean
    Whether create eip automatically.
    autoMatchImageCache Boolean
    Whether to automatically match the image cache.
    containerGroupName String
    The name of the container group. which must contain 2-128 characters ( English), starting with numbers, English lowercase letters , and can contain number, and hypens -.
    containers List<Property Map>
    The list of containers. See containers below for details.
    costOptimization Boolean
    Indicates whether the Cost Optimization feature is enabled. Valid values: true,false.
    cpu Number
    The amount of CPU resources allocated to the container group.
    cpuOptionsCore Number
    The number of physical CPU cores. You can specify this parameter for only specific instance types.
    cpuOptionsThreadsPerCore Number
    The number of threads per core. You can specify this parameter for only specific instance types. If you set this parameter to 1, Hyper-Threading is disabled.
    description String
    The description of data disk N. Valid values of N: 1 to 16. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
    dnsConfigOptions List<Property Map>
    The options. Each option is a name-value pair. The value in the name-value pair is optional. See dns_config_options below for details.
    dnsPolicy String
    dns policy of contain group.
    egressBandwidth Number
    egress bandwidth.
    eipBandwidth Number
    Eip bandwidth.
    enableSls Boolean
    Enable sls log service.
    ephemeralStorage Number
    The size of ephemeral storage.
    forceDelete Boolean
    The eci scaling configuration will be deleted forcibly with deleting its scaling group. Default to false.
    hostAliases List<Property Map>
    HostAliases. See host_aliases below.
    hostName String
    Hostname of an ECI instance.
    imageRegistryCredentials List<Property Map>
    The image registry credential. See image_registry_credentials below for details.
    imageSnapshotId String
    The ID of image cache.
    ingressBandwidth Number
    Ingress bandwidth.
    initContainers List<Property Map>
    The list of initContainers. See init_containers below for details.
    instanceFamilyLevel String
    The level of the instance family, which is used to filter instance types that meet the specified criteria. This parameter takes effect only if you set CostOptimization to true. Valid values: EntryLevel, EnterpriseLevel, CreditEntryLevel.
    instanceTypes List<String>
    The specified ECS instance types. You can specify up to five ECS instance types.
    ipv6AddressCount Number
    Number of IPv6 addresses.
    loadBalancerWeight Number
    The weight of an ECI instance attached to the Server Group.
    memory Number
    The amount of memory resources allocated to the container group.
    ramRoleName String
    The RAM role that the container group assumes. ECI and ECS share the same RAM role.
    resourceGroupId String
    ID of resource group.
    restartPolicy String
    The restart policy of the container group. Default to Always.
    scalingConfigurationName String
    Name shown for the scheduled task. which must contain 2-64 characters ( English or Chinese), starting with numbers, English letters or Chinese characters, and can contain number, underscores _, hypens -, and decimal point .. If this parameter value is not specified, the default value is EciScalingConfigurationId.
    securityContextSysctls List<Property Map>
    The system information about the security context in which the elastic container instance is run. See security_context_sysctls below for details.
    securityGroupId String
    ID of the security group used to create new instance. It is conflict with security_group_ids.
    spotPriceLimit Number
    The maximum price hourly for spot instance.
    spotStrategy String
    The spot strategy for a Pay-As-You-Go instance. Valid values: NoSpot, SpotAsPriceGo , SpotWithPriceLimit.
    tags Map<String>
    A mapping of tags to assign to the resource. It will be applied for ECI instances finally.

    • Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string.
    • Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string.
    terminationGracePeriodSeconds Number
    The program's buffering time before closing.
    volumes List<Property Map>
    The list of volumes. See volumes below for details.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing EciScalingConfiguration Resource

    Get an existing EciScalingConfiguration 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?: EciScalingConfigurationState, opts?: CustomResourceOptions): EciScalingConfiguration
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            acr_registry_infos: Optional[Sequence[EciScalingConfigurationAcrRegistryInfoArgs]] = None,
            active: Optional[bool] = None,
            active_deadline_seconds: Optional[int] = None,
            auto_create_eip: Optional[bool] = None,
            auto_match_image_cache: Optional[bool] = None,
            container_group_name: Optional[str] = None,
            containers: Optional[Sequence[EciScalingConfigurationContainerArgs]] = None,
            cost_optimization: Optional[bool] = None,
            cpu: Optional[float] = None,
            cpu_options_core: Optional[int] = None,
            cpu_options_threads_per_core: Optional[int] = None,
            description: Optional[str] = None,
            dns_config_options: Optional[Sequence[EciScalingConfigurationDnsConfigOptionArgs]] = None,
            dns_policy: Optional[str] = None,
            egress_bandwidth: Optional[int] = None,
            eip_bandwidth: Optional[int] = None,
            enable_sls: Optional[bool] = None,
            ephemeral_storage: Optional[int] = None,
            force_delete: Optional[bool] = None,
            host_aliases: Optional[Sequence[EciScalingConfigurationHostAliasArgs]] = None,
            host_name: Optional[str] = None,
            image_registry_credentials: Optional[Sequence[EciScalingConfigurationImageRegistryCredentialArgs]] = None,
            image_snapshot_id: Optional[str] = None,
            ingress_bandwidth: Optional[int] = None,
            init_containers: Optional[Sequence[EciScalingConfigurationInitContainerArgs]] = None,
            instance_family_level: Optional[str] = None,
            instance_types: Optional[Sequence[str]] = None,
            ipv6_address_count: Optional[int] = None,
            load_balancer_weight: Optional[int] = None,
            memory: Optional[float] = None,
            ram_role_name: Optional[str] = None,
            resource_group_id: Optional[str] = None,
            restart_policy: Optional[str] = None,
            scaling_configuration_name: Optional[str] = None,
            scaling_group_id: Optional[str] = None,
            security_context_sysctls: Optional[Sequence[EciScalingConfigurationSecurityContextSysctlArgs]] = None,
            security_group_id: Optional[str] = None,
            spot_price_limit: Optional[float] = None,
            spot_strategy: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            termination_grace_period_seconds: Optional[int] = None,
            volumes: Optional[Sequence[EciScalingConfigurationVolumeArgs]] = None) -> EciScalingConfiguration
    func GetEciScalingConfiguration(ctx *Context, name string, id IDInput, state *EciScalingConfigurationState, opts ...ResourceOption) (*EciScalingConfiguration, error)
    public static EciScalingConfiguration Get(string name, Input<string> id, EciScalingConfigurationState? state, CustomResourceOptions? opts = null)
    public static EciScalingConfiguration get(String name, Output<String> id, EciScalingConfigurationState 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:
    AcrRegistryInfos List<Pulumi.AliCloud.Ess.Inputs.EciScalingConfigurationAcrRegistryInfo>
    Information about the Container Registry Enterprise Edition instance. See acr_registry_infos below for details.
    Active bool
    Whether active current eci scaling configuration in the specified scaling group. Note that only one configuration can be active. Default to false.
    ActiveDeadlineSeconds int
    The duration in seconds relative to the startTime that the job may be active before the system tries to terminate it.
    AutoCreateEip bool
    Whether create eip automatically.
    AutoMatchImageCache bool
    Whether to automatically match the image cache.
    ContainerGroupName string
    The name of the container group. which must contain 2-128 characters ( English), starting with numbers, English lowercase letters , and can contain number, and hypens -.
    Containers List<Pulumi.AliCloud.Ess.Inputs.EciScalingConfigurationContainer>
    The list of containers. See containers below for details.
    CostOptimization bool
    Indicates whether the Cost Optimization feature is enabled. Valid values: true,false.
    Cpu double
    The amount of CPU resources allocated to the container group.
    CpuOptionsCore int
    The number of physical CPU cores. You can specify this parameter for only specific instance types.
    CpuOptionsThreadsPerCore int
    The number of threads per core. You can specify this parameter for only specific instance types. If you set this parameter to 1, Hyper-Threading is disabled.
    Description string
    The description of data disk N. Valid values of N: 1 to 16. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
    DnsConfigOptions List<Pulumi.AliCloud.Ess.Inputs.EciScalingConfigurationDnsConfigOption>
    The options. Each option is a name-value pair. The value in the name-value pair is optional. See dns_config_options below for details.
    DnsPolicy string
    dns policy of contain group.
    EgressBandwidth int
    egress bandwidth.
    EipBandwidth int
    Eip bandwidth.
    EnableSls bool
    Enable sls log service.
    EphemeralStorage int
    The size of ephemeral storage.
    ForceDelete bool
    The eci scaling configuration will be deleted forcibly with deleting its scaling group. Default to false.
    HostAliases List<Pulumi.AliCloud.Ess.Inputs.EciScalingConfigurationHostAlias>
    HostAliases. See host_aliases below.
    HostName string
    Hostname of an ECI instance.
    ImageRegistryCredentials List<Pulumi.AliCloud.Ess.Inputs.EciScalingConfigurationImageRegistryCredential>
    The image registry credential. See image_registry_credentials below for details.
    ImageSnapshotId string
    The ID of image cache.
    IngressBandwidth int
    Ingress bandwidth.
    InitContainers List<Pulumi.AliCloud.Ess.Inputs.EciScalingConfigurationInitContainer>
    The list of initContainers. See init_containers below for details.
    InstanceFamilyLevel string
    The level of the instance family, which is used to filter instance types that meet the specified criteria. This parameter takes effect only if you set CostOptimization to true. Valid values: EntryLevel, EnterpriseLevel, CreditEntryLevel.
    InstanceTypes List<string>
    The specified ECS instance types. You can specify up to five ECS instance types.
    Ipv6AddressCount int
    Number of IPv6 addresses.
    LoadBalancerWeight int
    The weight of an ECI instance attached to the Server Group.
    Memory double
    The amount of memory resources allocated to the container group.
    RamRoleName string
    The RAM role that the container group assumes. ECI and ECS share the same RAM role.
    ResourceGroupId string
    ID of resource group.
    RestartPolicy string
    The restart policy of the container group. Default to Always.
    ScalingConfigurationName string
    Name shown for the scheduled task. which must contain 2-64 characters ( English or Chinese), starting with numbers, English letters or Chinese characters, and can contain number, underscores _, hypens -, and decimal point .. If this parameter value is not specified, the default value is EciScalingConfigurationId.
    ScalingGroupId string
    ID of the scaling group of a eci scaling configuration.
    SecurityContextSysctls List<Pulumi.AliCloud.Ess.Inputs.EciScalingConfigurationSecurityContextSysctl>
    The system information about the security context in which the elastic container instance is run. See security_context_sysctls below for details.
    SecurityGroupId string
    ID of the security group used to create new instance. It is conflict with security_group_ids.
    SpotPriceLimit double
    The maximum price hourly for spot instance.
    SpotStrategy string
    The spot strategy for a Pay-As-You-Go instance. Valid values: NoSpot, SpotAsPriceGo , SpotWithPriceLimit.
    Tags Dictionary<string, string>
    A mapping of tags to assign to the resource. It will be applied for ECI instances finally.

    • Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string.
    • Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string.
    TerminationGracePeriodSeconds int
    The program's buffering time before closing.
    Volumes List<Pulumi.AliCloud.Ess.Inputs.EciScalingConfigurationVolume>
    The list of volumes. See volumes below for details.
    AcrRegistryInfos []EciScalingConfigurationAcrRegistryInfoArgs
    Information about the Container Registry Enterprise Edition instance. See acr_registry_infos below for details.
    Active bool
    Whether active current eci scaling configuration in the specified scaling group. Note that only one configuration can be active. Default to false.
    ActiveDeadlineSeconds int
    The duration in seconds relative to the startTime that the job may be active before the system tries to terminate it.
    AutoCreateEip bool
    Whether create eip automatically.
    AutoMatchImageCache bool
    Whether to automatically match the image cache.
    ContainerGroupName string
    The name of the container group. which must contain 2-128 characters ( English), starting with numbers, English lowercase letters , and can contain number, and hypens -.
    Containers []EciScalingConfigurationContainerArgs
    The list of containers. See containers below for details.
    CostOptimization bool
    Indicates whether the Cost Optimization feature is enabled. Valid values: true,false.
    Cpu float64
    The amount of CPU resources allocated to the container group.
    CpuOptionsCore int
    The number of physical CPU cores. You can specify this parameter for only specific instance types.
    CpuOptionsThreadsPerCore int
    The number of threads per core. You can specify this parameter for only specific instance types. If you set this parameter to 1, Hyper-Threading is disabled.
    Description string
    The description of data disk N. Valid values of N: 1 to 16. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
    DnsConfigOptions []EciScalingConfigurationDnsConfigOptionArgs
    The options. Each option is a name-value pair. The value in the name-value pair is optional. See dns_config_options below for details.
    DnsPolicy string
    dns policy of contain group.
    EgressBandwidth int
    egress bandwidth.
    EipBandwidth int
    Eip bandwidth.
    EnableSls bool
    Enable sls log service.
    EphemeralStorage int
    The size of ephemeral storage.
    ForceDelete bool
    The eci scaling configuration will be deleted forcibly with deleting its scaling group. Default to false.
    HostAliases []EciScalingConfigurationHostAliasArgs
    HostAliases. See host_aliases below.
    HostName string
    Hostname of an ECI instance.
    ImageRegistryCredentials []EciScalingConfigurationImageRegistryCredentialArgs
    The image registry credential. See image_registry_credentials below for details.
    ImageSnapshotId string
    The ID of image cache.
    IngressBandwidth int
    Ingress bandwidth.
    InitContainers []EciScalingConfigurationInitContainerArgs
    The list of initContainers. See init_containers below for details.
    InstanceFamilyLevel string
    The level of the instance family, which is used to filter instance types that meet the specified criteria. This parameter takes effect only if you set CostOptimization to true. Valid values: EntryLevel, EnterpriseLevel, CreditEntryLevel.
    InstanceTypes []string
    The specified ECS instance types. You can specify up to five ECS instance types.
    Ipv6AddressCount int
    Number of IPv6 addresses.
    LoadBalancerWeight int
    The weight of an ECI instance attached to the Server Group.
    Memory float64
    The amount of memory resources allocated to the container group.
    RamRoleName string
    The RAM role that the container group assumes. ECI and ECS share the same RAM role.
    ResourceGroupId string
    ID of resource group.
    RestartPolicy string
    The restart policy of the container group. Default to Always.
    ScalingConfigurationName string
    Name shown for the scheduled task. which must contain 2-64 characters ( English or Chinese), starting with numbers, English letters or Chinese characters, and can contain number, underscores _, hypens -, and decimal point .. If this parameter value is not specified, the default value is EciScalingConfigurationId.
    ScalingGroupId string
    ID of the scaling group of a eci scaling configuration.
    SecurityContextSysctls []EciScalingConfigurationSecurityContextSysctlArgs
    The system information about the security context in which the elastic container instance is run. See security_context_sysctls below for details.
    SecurityGroupId string
    ID of the security group used to create new instance. It is conflict with security_group_ids.
    SpotPriceLimit float64
    The maximum price hourly for spot instance.
    SpotStrategy string
    The spot strategy for a Pay-As-You-Go instance. Valid values: NoSpot, SpotAsPriceGo , SpotWithPriceLimit.
    Tags map[string]string
    A mapping of tags to assign to the resource. It will be applied for ECI instances finally.

    • Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string.
    • Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string.
    TerminationGracePeriodSeconds int
    The program's buffering time before closing.
    Volumes []EciScalingConfigurationVolumeArgs
    The list of volumes. See volumes below for details.
    acrRegistryInfos List<EciScalingConfigurationAcrRegistryInfo>
    Information about the Container Registry Enterprise Edition instance. See acr_registry_infos below for details.
    active Boolean
    Whether active current eci scaling configuration in the specified scaling group. Note that only one configuration can be active. Default to false.
    activeDeadlineSeconds Integer
    The duration in seconds relative to the startTime that the job may be active before the system tries to terminate it.
    autoCreateEip Boolean
    Whether create eip automatically.
    autoMatchImageCache Boolean
    Whether to automatically match the image cache.
    containerGroupName String
    The name of the container group. which must contain 2-128 characters ( English), starting with numbers, English lowercase letters , and can contain number, and hypens -.
    containers List<EciScalingConfigurationContainer>
    The list of containers. See containers below for details.
    costOptimization Boolean
    Indicates whether the Cost Optimization feature is enabled. Valid values: true,false.
    cpu Double
    The amount of CPU resources allocated to the container group.
    cpuOptionsCore Integer
    The number of physical CPU cores. You can specify this parameter for only specific instance types.
    cpuOptionsThreadsPerCore Integer
    The number of threads per core. You can specify this parameter for only specific instance types. If you set this parameter to 1, Hyper-Threading is disabled.
    description String
    The description of data disk N. Valid values of N: 1 to 16. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
    dnsConfigOptions List<EciScalingConfigurationDnsConfigOption>
    The options. Each option is a name-value pair. The value in the name-value pair is optional. See dns_config_options below for details.
    dnsPolicy String
    dns policy of contain group.
    egressBandwidth Integer
    egress bandwidth.
    eipBandwidth Integer
    Eip bandwidth.
    enableSls Boolean
    Enable sls log service.
    ephemeralStorage Integer
    The size of ephemeral storage.
    forceDelete Boolean
    The eci scaling configuration will be deleted forcibly with deleting its scaling group. Default to false.
    hostAliases List<EciScalingConfigurationHostAlias>
    HostAliases. See host_aliases below.
    hostName String
    Hostname of an ECI instance.
    imageRegistryCredentials List<EciScalingConfigurationImageRegistryCredential>
    The image registry credential. See image_registry_credentials below for details.
    imageSnapshotId String
    The ID of image cache.
    ingressBandwidth Integer
    Ingress bandwidth.
    initContainers List<EciScalingConfigurationInitContainer>
    The list of initContainers. See init_containers below for details.
    instanceFamilyLevel String
    The level of the instance family, which is used to filter instance types that meet the specified criteria. This parameter takes effect only if you set CostOptimization to true. Valid values: EntryLevel, EnterpriseLevel, CreditEntryLevel.
    instanceTypes List<String>
    The specified ECS instance types. You can specify up to five ECS instance types.
    ipv6AddressCount Integer
    Number of IPv6 addresses.
    loadBalancerWeight Integer
    The weight of an ECI instance attached to the Server Group.
    memory Double
    The amount of memory resources allocated to the container group.
    ramRoleName String
    The RAM role that the container group assumes. ECI and ECS share the same RAM role.
    resourceGroupId String
    ID of resource group.
    restartPolicy String
    The restart policy of the container group. Default to Always.
    scalingConfigurationName String
    Name shown for the scheduled task. which must contain 2-64 characters ( English or Chinese), starting with numbers, English letters or Chinese characters, and can contain number, underscores _, hypens -, and decimal point .. If this parameter value is not specified, the default value is EciScalingConfigurationId.
    scalingGroupId String
    ID of the scaling group of a eci scaling configuration.
    securityContextSysctls List<EciScalingConfigurationSecurityContextSysctl>
    The system information about the security context in which the elastic container instance is run. See security_context_sysctls below for details.
    securityGroupId String
    ID of the security group used to create new instance. It is conflict with security_group_ids.
    spotPriceLimit Double
    The maximum price hourly for spot instance.
    spotStrategy String
    The spot strategy for a Pay-As-You-Go instance. Valid values: NoSpot, SpotAsPriceGo , SpotWithPriceLimit.
    tags Map<String,String>
    A mapping of tags to assign to the resource. It will be applied for ECI instances finally.

    • Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string.
    • Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string.
    terminationGracePeriodSeconds Integer
    The program's buffering time before closing.
    volumes List<EciScalingConfigurationVolume>
    The list of volumes. See volumes below for details.
    acrRegistryInfos EciScalingConfigurationAcrRegistryInfo[]
    Information about the Container Registry Enterprise Edition instance. See acr_registry_infos below for details.
    active boolean
    Whether active current eci scaling configuration in the specified scaling group. Note that only one configuration can be active. Default to false.
    activeDeadlineSeconds number
    The duration in seconds relative to the startTime that the job may be active before the system tries to terminate it.
    autoCreateEip boolean
    Whether create eip automatically.
    autoMatchImageCache boolean
    Whether to automatically match the image cache.
    containerGroupName string
    The name of the container group. which must contain 2-128 characters ( English), starting with numbers, English lowercase letters , and can contain number, and hypens -.
    containers EciScalingConfigurationContainer[]
    The list of containers. See containers below for details.
    costOptimization boolean
    Indicates whether the Cost Optimization feature is enabled. Valid values: true,false.
    cpu number
    The amount of CPU resources allocated to the container group.
    cpuOptionsCore number
    The number of physical CPU cores. You can specify this parameter for only specific instance types.
    cpuOptionsThreadsPerCore number
    The number of threads per core. You can specify this parameter for only specific instance types. If you set this parameter to 1, Hyper-Threading is disabled.
    description string
    The description of data disk N. Valid values of N: 1 to 16. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
    dnsConfigOptions EciScalingConfigurationDnsConfigOption[]
    The options. Each option is a name-value pair. The value in the name-value pair is optional. See dns_config_options below for details.
    dnsPolicy string
    dns policy of contain group.
    egressBandwidth number
    egress bandwidth.
    eipBandwidth number
    Eip bandwidth.
    enableSls boolean
    Enable sls log service.
    ephemeralStorage number
    The size of ephemeral storage.
    forceDelete boolean
    The eci scaling configuration will be deleted forcibly with deleting its scaling group. Default to false.
    hostAliases EciScalingConfigurationHostAlias[]
    HostAliases. See host_aliases below.
    hostName string
    Hostname of an ECI instance.
    imageRegistryCredentials EciScalingConfigurationImageRegistryCredential[]
    The image registry credential. See image_registry_credentials below for details.
    imageSnapshotId string
    The ID of image cache.
    ingressBandwidth number
    Ingress bandwidth.
    initContainers EciScalingConfigurationInitContainer[]
    The list of initContainers. See init_containers below for details.
    instanceFamilyLevel string
    The level of the instance family, which is used to filter instance types that meet the specified criteria. This parameter takes effect only if you set CostOptimization to true. Valid values: EntryLevel, EnterpriseLevel, CreditEntryLevel.
    instanceTypes string[]
    The specified ECS instance types. You can specify up to five ECS instance types.
    ipv6AddressCount number
    Number of IPv6 addresses.
    loadBalancerWeight number
    The weight of an ECI instance attached to the Server Group.
    memory number
    The amount of memory resources allocated to the container group.
    ramRoleName string
    The RAM role that the container group assumes. ECI and ECS share the same RAM role.
    resourceGroupId string
    ID of resource group.
    restartPolicy string
    The restart policy of the container group. Default to Always.
    scalingConfigurationName string
    Name shown for the scheduled task. which must contain 2-64 characters ( English or Chinese), starting with numbers, English letters or Chinese characters, and can contain number, underscores _, hypens -, and decimal point .. If this parameter value is not specified, the default value is EciScalingConfigurationId.
    scalingGroupId string
    ID of the scaling group of a eci scaling configuration.
    securityContextSysctls EciScalingConfigurationSecurityContextSysctl[]
    The system information about the security context in which the elastic container instance is run. See security_context_sysctls below for details.
    securityGroupId string
    ID of the security group used to create new instance. It is conflict with security_group_ids.
    spotPriceLimit number
    The maximum price hourly for spot instance.
    spotStrategy string
    The spot strategy for a Pay-As-You-Go instance. Valid values: NoSpot, SpotAsPriceGo , SpotWithPriceLimit.
    tags {[key: string]: string}
    A mapping of tags to assign to the resource. It will be applied for ECI instances finally.

    • Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string.
    • Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string.
    terminationGracePeriodSeconds number
    The program's buffering time before closing.
    volumes EciScalingConfigurationVolume[]
    The list of volumes. See volumes below for details.
    acr_registry_infos Sequence[EciScalingConfigurationAcrRegistryInfoArgs]
    Information about the Container Registry Enterprise Edition instance. See acr_registry_infos below for details.
    active bool
    Whether active current eci scaling configuration in the specified scaling group. Note that only one configuration can be active. Default to false.
    active_deadline_seconds int
    The duration in seconds relative to the startTime that the job may be active before the system tries to terminate it.
    auto_create_eip bool
    Whether create eip automatically.
    auto_match_image_cache bool
    Whether to automatically match the image cache.
    container_group_name str
    The name of the container group. which must contain 2-128 characters ( English), starting with numbers, English lowercase letters , and can contain number, and hypens -.
    containers Sequence[EciScalingConfigurationContainerArgs]
    The list of containers. See containers below for details.
    cost_optimization bool
    Indicates whether the Cost Optimization feature is enabled. Valid values: true,false.
    cpu float
    The amount of CPU resources allocated to the container group.
    cpu_options_core int
    The number of physical CPU cores. You can specify this parameter for only specific instance types.
    cpu_options_threads_per_core int
    The number of threads per core. You can specify this parameter for only specific instance types. If you set this parameter to 1, Hyper-Threading is disabled.
    description str
    The description of data disk N. Valid values of N: 1 to 16. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
    dns_config_options Sequence[EciScalingConfigurationDnsConfigOptionArgs]
    The options. Each option is a name-value pair. The value in the name-value pair is optional. See dns_config_options below for details.
    dns_policy str
    dns policy of contain group.
    egress_bandwidth int
    egress bandwidth.
    eip_bandwidth int
    Eip bandwidth.
    enable_sls bool
    Enable sls log service.
    ephemeral_storage int
    The size of ephemeral storage.
    force_delete bool
    The eci scaling configuration will be deleted forcibly with deleting its scaling group. Default to false.
    host_aliases Sequence[EciScalingConfigurationHostAliasArgs]
    HostAliases. See host_aliases below.
    host_name str
    Hostname of an ECI instance.
    image_registry_credentials Sequence[EciScalingConfigurationImageRegistryCredentialArgs]
    The image registry credential. See image_registry_credentials below for details.
    image_snapshot_id str
    The ID of image cache.
    ingress_bandwidth int
    Ingress bandwidth.
    init_containers Sequence[EciScalingConfigurationInitContainerArgs]
    The list of initContainers. See init_containers below for details.
    instance_family_level str
    The level of the instance family, which is used to filter instance types that meet the specified criteria. This parameter takes effect only if you set CostOptimization to true. Valid values: EntryLevel, EnterpriseLevel, CreditEntryLevel.
    instance_types Sequence[str]
    The specified ECS instance types. You can specify up to five ECS instance types.
    ipv6_address_count int
    Number of IPv6 addresses.
    load_balancer_weight int
    The weight of an ECI instance attached to the Server Group.
    memory float
    The amount of memory resources allocated to the container group.
    ram_role_name str
    The RAM role that the container group assumes. ECI and ECS share the same RAM role.
    resource_group_id str
    ID of resource group.
    restart_policy str
    The restart policy of the container group. Default to Always.
    scaling_configuration_name str
    Name shown for the scheduled task. which must contain 2-64 characters ( English or Chinese), starting with numbers, English letters or Chinese characters, and can contain number, underscores _, hypens -, and decimal point .. If this parameter value is not specified, the default value is EciScalingConfigurationId.
    scaling_group_id str
    ID of the scaling group of a eci scaling configuration.
    security_context_sysctls Sequence[EciScalingConfigurationSecurityContextSysctlArgs]
    The system information about the security context in which the elastic container instance is run. See security_context_sysctls below for details.
    security_group_id str
    ID of the security group used to create new instance. It is conflict with security_group_ids.
    spot_price_limit float
    The maximum price hourly for spot instance.
    spot_strategy str
    The spot strategy for a Pay-As-You-Go instance. Valid values: NoSpot, SpotAsPriceGo , SpotWithPriceLimit.
    tags Mapping[str, str]
    A mapping of tags to assign to the resource. It will be applied for ECI instances finally.

    • Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string.
    • Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string.
    termination_grace_period_seconds int
    The program's buffering time before closing.
    volumes Sequence[EciScalingConfigurationVolumeArgs]
    The list of volumes. See volumes below for details.
    acrRegistryInfos List<Property Map>
    Information about the Container Registry Enterprise Edition instance. See acr_registry_infos below for details.
    active Boolean
    Whether active current eci scaling configuration in the specified scaling group. Note that only one configuration can be active. Default to false.
    activeDeadlineSeconds Number
    The duration in seconds relative to the startTime that the job may be active before the system tries to terminate it.
    autoCreateEip Boolean
    Whether create eip automatically.
    autoMatchImageCache Boolean
    Whether to automatically match the image cache.
    containerGroupName String
    The name of the container group. which must contain 2-128 characters ( English), starting with numbers, English lowercase letters , and can contain number, and hypens -.
    containers List<Property Map>
    The list of containers. See containers below for details.
    costOptimization Boolean
    Indicates whether the Cost Optimization feature is enabled. Valid values: true,false.
    cpu Number
    The amount of CPU resources allocated to the container group.
    cpuOptionsCore Number
    The number of physical CPU cores. You can specify this parameter for only specific instance types.
    cpuOptionsThreadsPerCore Number
    The number of threads per core. You can specify this parameter for only specific instance types. If you set this parameter to 1, Hyper-Threading is disabled.
    description String
    The description of data disk N. Valid values of N: 1 to 16. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
    dnsConfigOptions List<Property Map>
    The options. Each option is a name-value pair. The value in the name-value pair is optional. See dns_config_options below for details.
    dnsPolicy String
    dns policy of contain group.
    egressBandwidth Number
    egress bandwidth.
    eipBandwidth Number
    Eip bandwidth.
    enableSls Boolean
    Enable sls log service.
    ephemeralStorage Number
    The size of ephemeral storage.
    forceDelete Boolean
    The eci scaling configuration will be deleted forcibly with deleting its scaling group. Default to false.
    hostAliases List<Property Map>
    HostAliases. See host_aliases below.
    hostName String
    Hostname of an ECI instance.
    imageRegistryCredentials List<Property Map>
    The image registry credential. See image_registry_credentials below for details.
    imageSnapshotId String
    The ID of image cache.
    ingressBandwidth Number
    Ingress bandwidth.
    initContainers List<Property Map>
    The list of initContainers. See init_containers below for details.
    instanceFamilyLevel String
    The level of the instance family, which is used to filter instance types that meet the specified criteria. This parameter takes effect only if you set CostOptimization to true. Valid values: EntryLevel, EnterpriseLevel, CreditEntryLevel.
    instanceTypes List<String>
    The specified ECS instance types. You can specify up to five ECS instance types.
    ipv6AddressCount Number
    Number of IPv6 addresses.
    loadBalancerWeight Number
    The weight of an ECI instance attached to the Server Group.
    memory Number
    The amount of memory resources allocated to the container group.
    ramRoleName String
    The RAM role that the container group assumes. ECI and ECS share the same RAM role.
    resourceGroupId String
    ID of resource group.
    restartPolicy String
    The restart policy of the container group. Default to Always.
    scalingConfigurationName String
    Name shown for the scheduled task. which must contain 2-64 characters ( English or Chinese), starting with numbers, English letters or Chinese characters, and can contain number, underscores _, hypens -, and decimal point .. If this parameter value is not specified, the default value is EciScalingConfigurationId.
    scalingGroupId String
    ID of the scaling group of a eci scaling configuration.
    securityContextSysctls List<Property Map>
    The system information about the security context in which the elastic container instance is run. See security_context_sysctls below for details.
    securityGroupId String
    ID of the security group used to create new instance. It is conflict with security_group_ids.
    spotPriceLimit Number
    The maximum price hourly for spot instance.
    spotStrategy String
    The spot strategy for a Pay-As-You-Go instance. Valid values: NoSpot, SpotAsPriceGo , SpotWithPriceLimit.
    tags Map<String>
    A mapping of tags to assign to the resource. It will be applied for ECI instances finally.

    • Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string.
    • Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string.
    terminationGracePeriodSeconds Number
    The program's buffering time before closing.
    volumes List<Property Map>
    The list of volumes. See volumes below for details.

    Supporting Types

    EciScalingConfigurationAcrRegistryInfo, EciScalingConfigurationAcrRegistryInfoArgs

    Domains List<string>
    Endpoint of Container Registry Enterprise Edition instance. By default, all endpoints of the Container Registry Enterprise Edition instance are displayed. It is required when acr_registry_info is configured.
    InstanceId string
    The ID of Container Registry Enterprise Edition instance. It is required when acr_registry_info is configured.
    InstanceName string
    The name of Container Registry Enterprise Edition instance. It is required when acr_registry_info is configured.
    RegionId string
    The region ID of Container Registry Enterprise Edition instance. It is required when acr_registry_info is configured.
    Domains []string
    Endpoint of Container Registry Enterprise Edition instance. By default, all endpoints of the Container Registry Enterprise Edition instance are displayed. It is required when acr_registry_info is configured.
    InstanceId string
    The ID of Container Registry Enterprise Edition instance. It is required when acr_registry_info is configured.
    InstanceName string
    The name of Container Registry Enterprise Edition instance. It is required when acr_registry_info is configured.
    RegionId string
    The region ID of Container Registry Enterprise Edition instance. It is required when acr_registry_info is configured.
    domains List<String>
    Endpoint of Container Registry Enterprise Edition instance. By default, all endpoints of the Container Registry Enterprise Edition instance are displayed. It is required when acr_registry_info is configured.
    instanceId String
    The ID of Container Registry Enterprise Edition instance. It is required when acr_registry_info is configured.
    instanceName String
    The name of Container Registry Enterprise Edition instance. It is required when acr_registry_info is configured.
    regionId String
    The region ID of Container Registry Enterprise Edition instance. It is required when acr_registry_info is configured.
    domains string[]
    Endpoint of Container Registry Enterprise Edition instance. By default, all endpoints of the Container Registry Enterprise Edition instance are displayed. It is required when acr_registry_info is configured.
    instanceId string
    The ID of Container Registry Enterprise Edition instance. It is required when acr_registry_info is configured.
    instanceName string
    The name of Container Registry Enterprise Edition instance. It is required when acr_registry_info is configured.
    regionId string
    The region ID of Container Registry Enterprise Edition instance. It is required when acr_registry_info is configured.
    domains Sequence[str]
    Endpoint of Container Registry Enterprise Edition instance. By default, all endpoints of the Container Registry Enterprise Edition instance are displayed. It is required when acr_registry_info is configured.
    instance_id str
    The ID of Container Registry Enterprise Edition instance. It is required when acr_registry_info is configured.
    instance_name str
    The name of Container Registry Enterprise Edition instance. It is required when acr_registry_info is configured.
    region_id str
    The region ID of Container Registry Enterprise Edition instance. It is required when acr_registry_info is configured.
    domains List<String>
    Endpoint of Container Registry Enterprise Edition instance. By default, all endpoints of the Container Registry Enterprise Edition instance are displayed. It is required when acr_registry_info is configured.
    instanceId String
    The ID of Container Registry Enterprise Edition instance. It is required when acr_registry_info is configured.
    instanceName String
    The name of Container Registry Enterprise Edition instance. It is required when acr_registry_info is configured.
    regionId String
    The region ID of Container Registry Enterprise Edition instance. It is required when acr_registry_info is configured.

    EciScalingConfigurationContainer, EciScalingConfigurationContainerArgs

    Args List<string>
    The arguments passed to the commands.
    Commands List<string>
    The commands run by the init container.
    Cpu double
    The amount of CPU resources allocated to the container.
    EnvironmentVars List<Pulumi.AliCloud.Ess.Inputs.EciScalingConfigurationContainerEnvironmentVar>
    The structure of environmentVars. See environment_vars below for details.
    Gpu int
    The number GPUs.
    Image string
    The image of the container.
    ImagePullPolicy string
    The restart policy of the image.
    LifecyclePreStopHandlerExecs List<string>
    The commands to be executed in containers when you use the CLI to specify the preStop callback function.
    LivenessProbeExecCommands List<string>
    Commands that you want to run in containers when you use the CLI to perform liveness probes.
    LivenessProbeFailureThreshold int
    The minimum number of consecutive failures for the liveness probe to be considered failed after having been successful. Default value: 3.
    LivenessProbeHttpGetPath string
    The path to which HTTP GET requests are sent when you use HTTP requests to perform liveness probes.
    LivenessProbeHttpGetPort int
    The port to which HTTP GET requests are sent when you use HTTP requests to perform liveness probes.
    LivenessProbeHttpGetScheme string
    The protocol type of HTTP GET requests when you use HTTP requests for liveness probes.Valid values:HTTP and HTTPS.
    LivenessProbeInitialDelaySeconds int
    The number of seconds after container has started before liveness probes are initiated.
    LivenessProbePeriodSeconds int
    The interval at which the liveness probe is performed. Unit: seconds. Default value: 10. Minimum value: 1.
    LivenessProbeSuccessThreshold int
    The minimum number of consecutive successes for the liveness probe to be considered successful after having failed. Default value: 1. Set the value to 1.
    LivenessProbeTcpSocketPort int
    The port detected by TCP sockets when you use TCP sockets to perform liveness probes.
    LivenessProbeTimeoutSeconds int
    The timeout period for the liveness probe. Unit: seconds. Default value: 1. Minimum value: 1.
    Memory double
    The amount of memory resources allocated to the container.
    Name string
    The name of the mounted volume.
    Ports List<Pulumi.AliCloud.Ess.Inputs.EciScalingConfigurationContainerPort>
    The structure of port. See ports below for details.
    ReadinessProbeExecCommands List<string>
    Commands that you want to run in containers when you use the CLI to perform readiness probes.
    ReadinessProbeFailureThreshold int
    The minimum number of consecutive failures for the readiness probe to be considered failed after having been successful. Default value: 3.
    ReadinessProbeHttpGetPath string
    The path to which HTTP GET requests are sent when you use HTTP requests to perform readiness probes.
    ReadinessProbeHttpGetPort int
    The port to which HTTP GET requests are sent when you use HTTP requests to perform readiness probes.
    ReadinessProbeHttpGetScheme string
    The protocol type of HTTP GET requests when you use HTTP requests for readiness probes. Valid values: HTTP and HTTPS.
    ReadinessProbeInitialDelaySeconds int
    The number of seconds after container N has started before readiness probes are initiated.
    ReadinessProbePeriodSeconds int
    The interval at which the readiness probe is performed. Unit: seconds. Default value: 10. Minimum value: 1.
    ReadinessProbeSuccessThreshold int
    The minimum number of consecutive successes for the readiness probe to be considered successful after having failed. Default value: 1. Set the value to 1.
    ReadinessProbeTcpSocketPort int
    The port detected by Transmission Control Protocol (TCP) sockets when you use TCP sockets to perform readiness probes.
    ReadinessProbeTimeoutSeconds int
    The timeout period for the readiness probe. Unit: seconds. Default value: 1. Minimum value: 1.
    SecurityContextCapabilityAdds List<string>
    Grant certain permissions to processes within container. Optional values:

    • NET_ADMIN: Allow network management tasks to be performed.
    • NET_RAW: Allow raw sockets.
    SecurityContextReadOnlyRootFileSystem bool
    Mounts the container's root filesystem as read-only.
    SecurityContextRunAsUser int
    Specifies user ID under which all processes run.
    Stdin bool
    Specifies whether container N allocates buffer resources to standard input streams during its active runtime. If you do not specify this parameter, an end-of-file (EOF) error occurs.
    Tty bool
    Specifies whether to enable the Interaction feature. Valid values: true, false.
    VolumeMounts List<Pulumi.AliCloud.Ess.Inputs.EciScalingConfigurationContainerVolumeMount>
    The structure of volumeMounts. See volume_mounts below for details.
    WorkingDir string
    The working directory of the container.
    Args []string
    The arguments passed to the commands.
    Commands []string
    The commands run by the init container.
    Cpu float64
    The amount of CPU resources allocated to the container.
    EnvironmentVars []EciScalingConfigurationContainerEnvironmentVar
    The structure of environmentVars. See environment_vars below for details.
    Gpu int
    The number GPUs.
    Image string
    The image of the container.
    ImagePullPolicy string
    The restart policy of the image.
    LifecyclePreStopHandlerExecs []string
    The commands to be executed in containers when you use the CLI to specify the preStop callback function.
    LivenessProbeExecCommands []string
    Commands that you want to run in containers when you use the CLI to perform liveness probes.
    LivenessProbeFailureThreshold int
    The minimum number of consecutive failures for the liveness probe to be considered failed after having been successful. Default value: 3.
    LivenessProbeHttpGetPath string
    The path to which HTTP GET requests are sent when you use HTTP requests to perform liveness probes.
    LivenessProbeHttpGetPort int
    The port to which HTTP GET requests are sent when you use HTTP requests to perform liveness probes.
    LivenessProbeHttpGetScheme string
    The protocol type of HTTP GET requests when you use HTTP requests for liveness probes.Valid values:HTTP and HTTPS.
    LivenessProbeInitialDelaySeconds int
    The number of seconds after container has started before liveness probes are initiated.
    LivenessProbePeriodSeconds int
    The interval at which the liveness probe is performed. Unit: seconds. Default value: 10. Minimum value: 1.
    LivenessProbeSuccessThreshold int
    The minimum number of consecutive successes for the liveness probe to be considered successful after having failed. Default value: 1. Set the value to 1.
    LivenessProbeTcpSocketPort int
    The port detected by TCP sockets when you use TCP sockets to perform liveness probes.
    LivenessProbeTimeoutSeconds int
    The timeout period for the liveness probe. Unit: seconds. Default value: 1. Minimum value: 1.
    Memory float64
    The amount of memory resources allocated to the container.
    Name string
    The name of the mounted volume.
    Ports []EciScalingConfigurationContainerPort
    The structure of port. See ports below for details.
    ReadinessProbeExecCommands []string
    Commands that you want to run in containers when you use the CLI to perform readiness probes.
    ReadinessProbeFailureThreshold int
    The minimum number of consecutive failures for the readiness probe to be considered failed after having been successful. Default value: 3.
    ReadinessProbeHttpGetPath string
    The path to which HTTP GET requests are sent when you use HTTP requests to perform readiness probes.
    ReadinessProbeHttpGetPort int
    The port to which HTTP GET requests are sent when you use HTTP requests to perform readiness probes.
    ReadinessProbeHttpGetScheme string
    The protocol type of HTTP GET requests when you use HTTP requests for readiness probes. Valid values: HTTP and HTTPS.
    ReadinessProbeInitialDelaySeconds int
    The number of seconds after container N has started before readiness probes are initiated.
    ReadinessProbePeriodSeconds int
    The interval at which the readiness probe is performed. Unit: seconds. Default value: 10. Minimum value: 1.
    ReadinessProbeSuccessThreshold int
    The minimum number of consecutive successes for the readiness probe to be considered successful after having failed. Default value: 1. Set the value to 1.
    ReadinessProbeTcpSocketPort int
    The port detected by Transmission Control Protocol (TCP) sockets when you use TCP sockets to perform readiness probes.
    ReadinessProbeTimeoutSeconds int
    The timeout period for the readiness probe. Unit: seconds. Default value: 1. Minimum value: 1.
    SecurityContextCapabilityAdds []string
    Grant certain permissions to processes within container. Optional values:

    • NET_ADMIN: Allow network management tasks to be performed.
    • NET_RAW: Allow raw sockets.
    SecurityContextReadOnlyRootFileSystem bool
    Mounts the container's root filesystem as read-only.
    SecurityContextRunAsUser int
    Specifies user ID under which all processes run.
    Stdin bool
    Specifies whether container N allocates buffer resources to standard input streams during its active runtime. If you do not specify this parameter, an end-of-file (EOF) error occurs.
    Tty bool
    Specifies whether to enable the Interaction feature. Valid values: true, false.
    VolumeMounts []EciScalingConfigurationContainerVolumeMount
    The structure of volumeMounts. See volume_mounts below for details.
    WorkingDir string
    The working directory of the container.
    args List<String>
    The arguments passed to the commands.
    commands List<String>
    The commands run by the init container.
    cpu Double
    The amount of CPU resources allocated to the container.
    environmentVars List<EciScalingConfigurationContainerEnvironmentVar>
    The structure of environmentVars. See environment_vars below for details.
    gpu Integer
    The number GPUs.
    image String
    The image of the container.
    imagePullPolicy String
    The restart policy of the image.
    lifecyclePreStopHandlerExecs List<String>
    The commands to be executed in containers when you use the CLI to specify the preStop callback function.
    livenessProbeExecCommands List<String>
    Commands that you want to run in containers when you use the CLI to perform liveness probes.
    livenessProbeFailureThreshold Integer
    The minimum number of consecutive failures for the liveness probe to be considered failed after having been successful. Default value: 3.
    livenessProbeHttpGetPath String
    The path to which HTTP GET requests are sent when you use HTTP requests to perform liveness probes.
    livenessProbeHttpGetPort Integer
    The port to which HTTP GET requests are sent when you use HTTP requests to perform liveness probes.
    livenessProbeHttpGetScheme String
    The protocol type of HTTP GET requests when you use HTTP requests for liveness probes.Valid values:HTTP and HTTPS.
    livenessProbeInitialDelaySeconds Integer
    The number of seconds after container has started before liveness probes are initiated.
    livenessProbePeriodSeconds Integer
    The interval at which the liveness probe is performed. Unit: seconds. Default value: 10. Minimum value: 1.
    livenessProbeSuccessThreshold Integer
    The minimum number of consecutive successes for the liveness probe to be considered successful after having failed. Default value: 1. Set the value to 1.
    livenessProbeTcpSocketPort Integer
    The port detected by TCP sockets when you use TCP sockets to perform liveness probes.
    livenessProbeTimeoutSeconds Integer
    The timeout period for the liveness probe. Unit: seconds. Default value: 1. Minimum value: 1.
    memory Double
    The amount of memory resources allocated to the container.
    name String
    The name of the mounted volume.
    ports List<EciScalingConfigurationContainerPort>
    The structure of port. See ports below for details.
    readinessProbeExecCommands List<String>
    Commands that you want to run in containers when you use the CLI to perform readiness probes.
    readinessProbeFailureThreshold Integer
    The minimum number of consecutive failures for the readiness probe to be considered failed after having been successful. Default value: 3.
    readinessProbeHttpGetPath String
    The path to which HTTP GET requests are sent when you use HTTP requests to perform readiness probes.
    readinessProbeHttpGetPort Integer
    The port to which HTTP GET requests are sent when you use HTTP requests to perform readiness probes.
    readinessProbeHttpGetScheme String
    The protocol type of HTTP GET requests when you use HTTP requests for readiness probes. Valid values: HTTP and HTTPS.
    readinessProbeInitialDelaySeconds Integer
    The number of seconds after container N has started before readiness probes are initiated.
    readinessProbePeriodSeconds Integer
    The interval at which the readiness probe is performed. Unit: seconds. Default value: 10. Minimum value: 1.
    readinessProbeSuccessThreshold Integer
    The minimum number of consecutive successes for the readiness probe to be considered successful after having failed. Default value: 1. Set the value to 1.
    readinessProbeTcpSocketPort Integer
    The port detected by Transmission Control Protocol (TCP) sockets when you use TCP sockets to perform readiness probes.
    readinessProbeTimeoutSeconds Integer
    The timeout period for the readiness probe. Unit: seconds. Default value: 1. Minimum value: 1.
    securityContextCapabilityAdds List<String>
    Grant certain permissions to processes within container. Optional values:

    • NET_ADMIN: Allow network management tasks to be performed.
    • NET_RAW: Allow raw sockets.
    securityContextReadOnlyRootFileSystem Boolean
    Mounts the container's root filesystem as read-only.
    securityContextRunAsUser Integer
    Specifies user ID under which all processes run.
    stdin Boolean
    Specifies whether container N allocates buffer resources to standard input streams during its active runtime. If you do not specify this parameter, an end-of-file (EOF) error occurs.
    tty Boolean
    Specifies whether to enable the Interaction feature. Valid values: true, false.
    volumeMounts List<EciScalingConfigurationContainerVolumeMount>
    The structure of volumeMounts. See volume_mounts below for details.
    workingDir String
    The working directory of the container.
    args string[]
    The arguments passed to the commands.
    commands string[]
    The commands run by the init container.
    cpu number
    The amount of CPU resources allocated to the container.
    environmentVars EciScalingConfigurationContainerEnvironmentVar[]
    The structure of environmentVars. See environment_vars below for details.
    gpu number
    The number GPUs.
    image string
    The image of the container.
    imagePullPolicy string
    The restart policy of the image.
    lifecyclePreStopHandlerExecs string[]
    The commands to be executed in containers when you use the CLI to specify the preStop callback function.
    livenessProbeExecCommands string[]
    Commands that you want to run in containers when you use the CLI to perform liveness probes.
    livenessProbeFailureThreshold number
    The minimum number of consecutive failures for the liveness probe to be considered failed after having been successful. Default value: 3.
    livenessProbeHttpGetPath string
    The path to which HTTP GET requests are sent when you use HTTP requests to perform liveness probes.
    livenessProbeHttpGetPort number
    The port to which HTTP GET requests are sent when you use HTTP requests to perform liveness probes.
    livenessProbeHttpGetScheme string
    The protocol type of HTTP GET requests when you use HTTP requests for liveness probes.Valid values:HTTP and HTTPS.
    livenessProbeInitialDelaySeconds number
    The number of seconds after container has started before liveness probes are initiated.
    livenessProbePeriodSeconds number
    The interval at which the liveness probe is performed. Unit: seconds. Default value: 10. Minimum value: 1.
    livenessProbeSuccessThreshold number
    The minimum number of consecutive successes for the liveness probe to be considered successful after having failed. Default value: 1. Set the value to 1.
    livenessProbeTcpSocketPort number
    The port detected by TCP sockets when you use TCP sockets to perform liveness probes.
    livenessProbeTimeoutSeconds number
    The timeout period for the liveness probe. Unit: seconds. Default value: 1. Minimum value: 1.
    memory number
    The amount of memory resources allocated to the container.
    name string
    The name of the mounted volume.
    ports EciScalingConfigurationContainerPort[]
    The structure of port. See ports below for details.
    readinessProbeExecCommands string[]
    Commands that you want to run in containers when you use the CLI to perform readiness probes.
    readinessProbeFailureThreshold number
    The minimum number of consecutive failures for the readiness probe to be considered failed after having been successful. Default value: 3.
    readinessProbeHttpGetPath string
    The path to which HTTP GET requests are sent when you use HTTP requests to perform readiness probes.
    readinessProbeHttpGetPort number
    The port to which HTTP GET requests are sent when you use HTTP requests to perform readiness probes.
    readinessProbeHttpGetScheme string
    The protocol type of HTTP GET requests when you use HTTP requests for readiness probes. Valid values: HTTP and HTTPS.
    readinessProbeInitialDelaySeconds number
    The number of seconds after container N has started before readiness probes are initiated.
    readinessProbePeriodSeconds number
    The interval at which the readiness probe is performed. Unit: seconds. Default value: 10. Minimum value: 1.
    readinessProbeSuccessThreshold number
    The minimum number of consecutive successes for the readiness probe to be considered successful after having failed. Default value: 1. Set the value to 1.
    readinessProbeTcpSocketPort number
    The port detected by Transmission Control Protocol (TCP) sockets when you use TCP sockets to perform readiness probes.
    readinessProbeTimeoutSeconds number
    The timeout period for the readiness probe. Unit: seconds. Default value: 1. Minimum value: 1.
    securityContextCapabilityAdds string[]
    Grant certain permissions to processes within container. Optional values:

    • NET_ADMIN: Allow network management tasks to be performed.
    • NET_RAW: Allow raw sockets.
    securityContextReadOnlyRootFileSystem boolean
    Mounts the container's root filesystem as read-only.
    securityContextRunAsUser number
    Specifies user ID under which all processes run.
    stdin boolean
    Specifies whether container N allocates buffer resources to standard input streams during its active runtime. If you do not specify this parameter, an end-of-file (EOF) error occurs.
    tty boolean
    Specifies whether to enable the Interaction feature. Valid values: true, false.
    volumeMounts EciScalingConfigurationContainerVolumeMount[]
    The structure of volumeMounts. See volume_mounts below for details.
    workingDir string
    The working directory of the container.
    args Sequence[str]
    The arguments passed to the commands.
    commands Sequence[str]
    The commands run by the init container.
    cpu float
    The amount of CPU resources allocated to the container.
    environment_vars Sequence[EciScalingConfigurationContainerEnvironmentVar]
    The structure of environmentVars. See environment_vars below for details.
    gpu int
    The number GPUs.
    image str
    The image of the container.
    image_pull_policy str
    The restart policy of the image.
    lifecycle_pre_stop_handler_execs Sequence[str]
    The commands to be executed in containers when you use the CLI to specify the preStop callback function.
    liveness_probe_exec_commands Sequence[str]
    Commands that you want to run in containers when you use the CLI to perform liveness probes.
    liveness_probe_failure_threshold int
    The minimum number of consecutive failures for the liveness probe to be considered failed after having been successful. Default value: 3.
    liveness_probe_http_get_path str
    The path to which HTTP GET requests are sent when you use HTTP requests to perform liveness probes.
    liveness_probe_http_get_port int
    The port to which HTTP GET requests are sent when you use HTTP requests to perform liveness probes.
    liveness_probe_http_get_scheme str
    The protocol type of HTTP GET requests when you use HTTP requests for liveness probes.Valid values:HTTP and HTTPS.
    liveness_probe_initial_delay_seconds int
    The number of seconds after container has started before liveness probes are initiated.
    liveness_probe_period_seconds int
    The interval at which the liveness probe is performed. Unit: seconds. Default value: 10. Minimum value: 1.
    liveness_probe_success_threshold int
    The minimum number of consecutive successes for the liveness probe to be considered successful after having failed. Default value: 1. Set the value to 1.
    liveness_probe_tcp_socket_port int
    The port detected by TCP sockets when you use TCP sockets to perform liveness probes.
    liveness_probe_timeout_seconds int
    The timeout period for the liveness probe. Unit: seconds. Default value: 1. Minimum value: 1.
    memory float
    The amount of memory resources allocated to the container.
    name str
    The name of the mounted volume.
    ports Sequence[EciScalingConfigurationContainerPort]
    The structure of port. See ports below for details.
    readiness_probe_exec_commands Sequence[str]
    Commands that you want to run in containers when you use the CLI to perform readiness probes.
    readiness_probe_failure_threshold int
    The minimum number of consecutive failures for the readiness probe to be considered failed after having been successful. Default value: 3.
    readiness_probe_http_get_path str
    The path to which HTTP GET requests are sent when you use HTTP requests to perform readiness probes.
    readiness_probe_http_get_port int
    The port to which HTTP GET requests are sent when you use HTTP requests to perform readiness probes.
    readiness_probe_http_get_scheme str
    The protocol type of HTTP GET requests when you use HTTP requests for readiness probes. Valid values: HTTP and HTTPS.
    readiness_probe_initial_delay_seconds int
    The number of seconds after container N has started before readiness probes are initiated.
    readiness_probe_period_seconds int
    The interval at which the readiness probe is performed. Unit: seconds. Default value: 10. Minimum value: 1.
    readiness_probe_success_threshold int
    The minimum number of consecutive successes for the readiness probe to be considered successful after having failed. Default value: 1. Set the value to 1.
    readiness_probe_tcp_socket_port int
    The port detected by Transmission Control Protocol (TCP) sockets when you use TCP sockets to perform readiness probes.
    readiness_probe_timeout_seconds int
    The timeout period for the readiness probe. Unit: seconds. Default value: 1. Minimum value: 1.
    security_context_capability_adds Sequence[str]
    Grant certain permissions to processes within container. Optional values:

    • NET_ADMIN: Allow network management tasks to be performed.
    • NET_RAW: Allow raw sockets.
    security_context_read_only_root_file_system bool
    Mounts the container's root filesystem as read-only.
    security_context_run_as_user int
    Specifies user ID under which all processes run.
    stdin bool
    Specifies whether container N allocates buffer resources to standard input streams during its active runtime. If you do not specify this parameter, an end-of-file (EOF) error occurs.
    tty bool
    Specifies whether to enable the Interaction feature. Valid values: true, false.
    volume_mounts Sequence[EciScalingConfigurationContainerVolumeMount]
    The structure of volumeMounts. See volume_mounts below for details.
    working_dir str
    The working directory of the container.
    args List<String>
    The arguments passed to the commands.
    commands List<String>
    The commands run by the init container.
    cpu Number
    The amount of CPU resources allocated to the container.
    environmentVars List<Property Map>
    The structure of environmentVars. See environment_vars below for details.
    gpu Number
    The number GPUs.
    image String
    The image of the container.
    imagePullPolicy String
    The restart policy of the image.
    lifecyclePreStopHandlerExecs List<String>
    The commands to be executed in containers when you use the CLI to specify the preStop callback function.
    livenessProbeExecCommands List<String>
    Commands that you want to run in containers when you use the CLI to perform liveness probes.
    livenessProbeFailureThreshold Number
    The minimum number of consecutive failures for the liveness probe to be considered failed after having been successful. Default value: 3.
    livenessProbeHttpGetPath String
    The path to which HTTP GET requests are sent when you use HTTP requests to perform liveness probes.
    livenessProbeHttpGetPort Number
    The port to which HTTP GET requests are sent when you use HTTP requests to perform liveness probes.
    livenessProbeHttpGetScheme String
    The protocol type of HTTP GET requests when you use HTTP requests for liveness probes.Valid values:HTTP and HTTPS.
    livenessProbeInitialDelaySeconds Number
    The number of seconds after container has started before liveness probes are initiated.
    livenessProbePeriodSeconds Number
    The interval at which the liveness probe is performed. Unit: seconds. Default value: 10. Minimum value: 1.
    livenessProbeSuccessThreshold Number
    The minimum number of consecutive successes for the liveness probe to be considered successful after having failed. Default value: 1. Set the value to 1.
    livenessProbeTcpSocketPort Number
    The port detected by TCP sockets when you use TCP sockets to perform liveness probes.
    livenessProbeTimeoutSeconds Number
    The timeout period for the liveness probe. Unit: seconds. Default value: 1. Minimum value: 1.
    memory Number
    The amount of memory resources allocated to the container.
    name String
    The name of the mounted volume.
    ports List<Property Map>
    The structure of port. See ports below for details.
    readinessProbeExecCommands List<String>
    Commands that you want to run in containers when you use the CLI to perform readiness probes.
    readinessProbeFailureThreshold Number
    The minimum number of consecutive failures for the readiness probe to be considered failed after having been successful. Default value: 3.
    readinessProbeHttpGetPath String
    The path to which HTTP GET requests are sent when you use HTTP requests to perform readiness probes.
    readinessProbeHttpGetPort Number
    The port to which HTTP GET requests are sent when you use HTTP requests to perform readiness probes.
    readinessProbeHttpGetScheme String
    The protocol type of HTTP GET requests when you use HTTP requests for readiness probes. Valid values: HTTP and HTTPS.
    readinessProbeInitialDelaySeconds Number
    The number of seconds after container N has started before readiness probes are initiated.
    readinessProbePeriodSeconds Number
    The interval at which the readiness probe is performed. Unit: seconds. Default value: 10. Minimum value: 1.
    readinessProbeSuccessThreshold Number
    The minimum number of consecutive successes for the readiness probe to be considered successful after having failed. Default value: 1. Set the value to 1.
    readinessProbeTcpSocketPort Number
    The port detected by Transmission Control Protocol (TCP) sockets when you use TCP sockets to perform readiness probes.
    readinessProbeTimeoutSeconds Number
    The timeout period for the readiness probe. Unit: seconds. Default value: 1. Minimum value: 1.
    securityContextCapabilityAdds List<String>
    Grant certain permissions to processes within container. Optional values:

    • NET_ADMIN: Allow network management tasks to be performed.
    • NET_RAW: Allow raw sockets.
    securityContextReadOnlyRootFileSystem Boolean
    Mounts the container's root filesystem as read-only.
    securityContextRunAsUser Number
    Specifies user ID under which all processes run.
    stdin Boolean
    Specifies whether container N allocates buffer resources to standard input streams during its active runtime. If you do not specify this parameter, an end-of-file (EOF) error occurs.
    tty Boolean
    Specifies whether to enable the Interaction feature. Valid values: true, false.
    volumeMounts List<Property Map>
    The structure of volumeMounts. See volume_mounts below for details.
    workingDir String
    The working directory of the container.

    EciScalingConfigurationContainerEnvironmentVar, EciScalingConfigurationContainerEnvironmentVarArgs

    FieldRefFieldPath string
    Key string
    Value string
    FieldRefFieldPath string
    Key string
    Value string
    fieldRefFieldPath String
    key String
    value String
    fieldRefFieldPath string
    key string
    value string
    fieldRefFieldPath String
    key String
    value String

    EciScalingConfigurationContainerPort, EciScalingConfigurationContainerPortArgs

    Port int
    Protocol string
    Port int
    Protocol string
    port Integer
    protocol String
    port number
    protocol string
    port int
    protocol str
    port Number
    protocol String

    EciScalingConfigurationContainerVolumeMount, EciScalingConfigurationContainerVolumeMountArgs

    MountPath string
    MountPropagation string
    Name string
    ReadOnly bool
    SubPath string
    MountPath string
    MountPropagation string
    Name string
    ReadOnly bool
    SubPath string
    mountPath String
    mountPropagation String
    name String
    readOnly Boolean
    subPath String
    mountPath string
    mountPropagation string
    name string
    readOnly boolean
    subPath string
    mountPath String
    mountPropagation String
    name String
    readOnly Boolean
    subPath String

    EciScalingConfigurationDnsConfigOption, EciScalingConfigurationDnsConfigOptionArgs

    Name string
    The option name.
    Value string
    The option value.
    Name string
    The option name.
    Value string
    The option value.
    name String
    The option name.
    value String
    The option value.
    name string
    The option name.
    value string
    The option value.
    name str
    The option name.
    value str
    The option value.
    name String
    The option name.
    value String
    The option value.

    EciScalingConfigurationHostAlias, EciScalingConfigurationHostAliasArgs

    Hostnames List<string>
    Adds a host name.
    Ip string
    Adds an IP address.
    Hostnames []string
    Adds a host name.
    Ip string
    Adds an IP address.
    hostnames List<String>
    Adds a host name.
    ip String
    Adds an IP address.
    hostnames string[]
    Adds a host name.
    ip string
    Adds an IP address.
    hostnames Sequence[str]
    Adds a host name.
    ip str
    Adds an IP address.
    hostnames List<String>
    Adds a host name.
    ip String
    Adds an IP address.

    EciScalingConfigurationImageRegistryCredential, EciScalingConfigurationImageRegistryCredentialArgs

    Password string
    The password used to log on to the image repository. It is required when image_registry_credential is configured.
    Server string
    The address of the image repository. It is required when image_registry_credential is configured.
    Username string
    The username used to log on to the image repository. It is required when image_registry_credential is configured.
    Password string
    The password used to log on to the image repository. It is required when image_registry_credential is configured.
    Server string
    The address of the image repository. It is required when image_registry_credential is configured.
    Username string
    The username used to log on to the image repository. It is required when image_registry_credential is configured.
    password String
    The password used to log on to the image repository. It is required when image_registry_credential is configured.
    server String
    The address of the image repository. It is required when image_registry_credential is configured.
    username String
    The username used to log on to the image repository. It is required when image_registry_credential is configured.
    password string
    The password used to log on to the image repository. It is required when image_registry_credential is configured.
    server string
    The address of the image repository. It is required when image_registry_credential is configured.
    username string
    The username used to log on to the image repository. It is required when image_registry_credential is configured.
    password str
    The password used to log on to the image repository. It is required when image_registry_credential is configured.
    server str
    The address of the image repository. It is required when image_registry_credential is configured.
    username str
    The username used to log on to the image repository. It is required when image_registry_credential is configured.
    password String
    The password used to log on to the image repository. It is required when image_registry_credential is configured.
    server String
    The address of the image repository. It is required when image_registry_credential is configured.
    username String
    The username used to log on to the image repository. It is required when image_registry_credential is configured.

    EciScalingConfigurationInitContainer, EciScalingConfigurationInitContainerArgs

    Args List<string>
    The arguments passed to the commands.
    Commands List<string>
    The commands run by the init container.
    Cpu double
    The amount of CPU resources allocated to the container.
    EnvironmentVars List<Pulumi.AliCloud.Ess.Inputs.EciScalingConfigurationInitContainerEnvironmentVar>
    The structure of environmentVars. See environment_vars below for details.
    Gpu int
    The number GPUs.
    Image string
    The image of the container.
    ImagePullPolicy string
    The restart policy of the image.
    Memory double
    The amount of memory resources allocated to the container.
    Name string
    The name of the mounted volume.
    Ports List<Pulumi.AliCloud.Ess.Inputs.EciScalingConfigurationInitContainerPort>
    The structure of port. See ports below for details.
    SecurityContextCapabilityAdds List<string>
    Grant certain permissions to processes within container. Optional values:

    • NET_ADMIN: Allow network management tasks to be performed.
    • NET_RAW: Allow raw sockets.
    SecurityContextReadOnlyRootFileSystem bool
    Mounts the container's root filesystem as read-only.
    SecurityContextRunAsUser int
    Specifies user ID under which all processes run.
    VolumeMounts List<Pulumi.AliCloud.Ess.Inputs.EciScalingConfigurationInitContainerVolumeMount>
    The structure of volumeMounts. See volume_mounts below for details.
    WorkingDir string
    The working directory of the container.
    Args []string
    The arguments passed to the commands.
    Commands []string
    The commands run by the init container.
    Cpu float64
    The amount of CPU resources allocated to the container.
    EnvironmentVars []EciScalingConfigurationInitContainerEnvironmentVar
    The structure of environmentVars. See environment_vars below for details.
    Gpu int
    The number GPUs.
    Image string
    The image of the container.
    ImagePullPolicy string
    The restart policy of the image.
    Memory float64
    The amount of memory resources allocated to the container.
    Name string
    The name of the mounted volume.
    Ports []EciScalingConfigurationInitContainerPort
    The structure of port. See ports below for details.
    SecurityContextCapabilityAdds []string
    Grant certain permissions to processes within container. Optional values:

    • NET_ADMIN: Allow network management tasks to be performed.
    • NET_RAW: Allow raw sockets.
    SecurityContextReadOnlyRootFileSystem bool
    Mounts the container's root filesystem as read-only.
    SecurityContextRunAsUser int
    Specifies user ID under which all processes run.
    VolumeMounts []EciScalingConfigurationInitContainerVolumeMount
    The structure of volumeMounts. See volume_mounts below for details.
    WorkingDir string
    The working directory of the container.
    args List<String>
    The arguments passed to the commands.
    commands List<String>
    The commands run by the init container.
    cpu Double
    The amount of CPU resources allocated to the container.
    environmentVars List<EciScalingConfigurationInitContainerEnvironmentVar>
    The structure of environmentVars. See environment_vars below for details.
    gpu Integer
    The number GPUs.
    image String
    The image of the container.
    imagePullPolicy String
    The restart policy of the image.
    memory Double
    The amount of memory resources allocated to the container.
    name String
    The name of the mounted volume.
    ports List<EciScalingConfigurationInitContainerPort>
    The structure of port. See ports below for details.
    securityContextCapabilityAdds List<String>
    Grant certain permissions to processes within container. Optional values:

    • NET_ADMIN: Allow network management tasks to be performed.
    • NET_RAW: Allow raw sockets.
    securityContextReadOnlyRootFileSystem Boolean
    Mounts the container's root filesystem as read-only.
    securityContextRunAsUser Integer
    Specifies user ID under which all processes run.
    volumeMounts List<EciScalingConfigurationInitContainerVolumeMount>
    The structure of volumeMounts. See volume_mounts below for details.
    workingDir String
    The working directory of the container.
    args string[]
    The arguments passed to the commands.
    commands string[]
    The commands run by the init container.
    cpu number
    The amount of CPU resources allocated to the container.
    environmentVars EciScalingConfigurationInitContainerEnvironmentVar[]
    The structure of environmentVars. See environment_vars below for details.
    gpu number
    The number GPUs.
    image string
    The image of the container.
    imagePullPolicy string
    The restart policy of the image.
    memory number
    The amount of memory resources allocated to the container.
    name string
    The name of the mounted volume.
    ports EciScalingConfigurationInitContainerPort[]
    The structure of port. See ports below for details.
    securityContextCapabilityAdds string[]
    Grant certain permissions to processes within container. Optional values:

    • NET_ADMIN: Allow network management tasks to be performed.
    • NET_RAW: Allow raw sockets.
    securityContextReadOnlyRootFileSystem boolean
    Mounts the container's root filesystem as read-only.
    securityContextRunAsUser number
    Specifies user ID under which all processes run.
    volumeMounts EciScalingConfigurationInitContainerVolumeMount[]
    The structure of volumeMounts. See volume_mounts below for details.
    workingDir string
    The working directory of the container.
    args Sequence[str]
    The arguments passed to the commands.
    commands Sequence[str]
    The commands run by the init container.
    cpu float
    The amount of CPU resources allocated to the container.
    environment_vars Sequence[EciScalingConfigurationInitContainerEnvironmentVar]
    The structure of environmentVars. See environment_vars below for details.
    gpu int
    The number GPUs.
    image str
    The image of the container.
    image_pull_policy str
    The restart policy of the image.
    memory float
    The amount of memory resources allocated to the container.
    name str
    The name of the mounted volume.
    ports Sequence[EciScalingConfigurationInitContainerPort]
    The structure of port. See ports below for details.
    security_context_capability_adds Sequence[str]
    Grant certain permissions to processes within container. Optional values:

    • NET_ADMIN: Allow network management tasks to be performed.
    • NET_RAW: Allow raw sockets.
    security_context_read_only_root_file_system bool
    Mounts the container's root filesystem as read-only.
    security_context_run_as_user int
    Specifies user ID under which all processes run.
    volume_mounts Sequence[EciScalingConfigurationInitContainerVolumeMount]
    The structure of volumeMounts. See volume_mounts below for details.
    working_dir str
    The working directory of the container.
    args List<String>
    The arguments passed to the commands.
    commands List<String>
    The commands run by the init container.
    cpu Number
    The amount of CPU resources allocated to the container.
    environmentVars List<Property Map>
    The structure of environmentVars. See environment_vars below for details.
    gpu Number
    The number GPUs.
    image String
    The image of the container.
    imagePullPolicy String
    The restart policy of the image.
    memory Number
    The amount of memory resources allocated to the container.
    name String
    The name of the mounted volume.
    ports List<Property Map>
    The structure of port. See ports below for details.
    securityContextCapabilityAdds List<String>
    Grant certain permissions to processes within container. Optional values:

    • NET_ADMIN: Allow network management tasks to be performed.
    • NET_RAW: Allow raw sockets.
    securityContextReadOnlyRootFileSystem Boolean
    Mounts the container's root filesystem as read-only.
    securityContextRunAsUser Number
    Specifies user ID under which all processes run.
    volumeMounts List<Property Map>
    The structure of volumeMounts. See volume_mounts below for details.
    workingDir String
    The working directory of the container.

    EciScalingConfigurationInitContainerEnvironmentVar, EciScalingConfigurationInitContainerEnvironmentVarArgs

    FieldRefFieldPath string
    Key string
    Value string
    FieldRefFieldPath string
    Key string
    Value string
    fieldRefFieldPath String
    key String
    value String
    fieldRefFieldPath string
    key string
    value string
    fieldRefFieldPath String
    key String
    value String

    EciScalingConfigurationInitContainerPort, EciScalingConfigurationInitContainerPortArgs

    Port int
    Protocol string
    Port int
    Protocol string
    port Integer
    protocol String
    port number
    protocol string
    port int
    protocol str
    port Number
    protocol String

    EciScalingConfigurationInitContainerVolumeMount, EciScalingConfigurationInitContainerVolumeMountArgs

    MountPath string
    MountPropagation string
    Name string
    ReadOnly bool
    SubPath string
    MountPath string
    MountPropagation string
    Name string
    ReadOnly bool
    SubPath string
    mountPath String
    mountPropagation String
    name String
    readOnly Boolean
    subPath String
    mountPath string
    mountPropagation string
    name string
    readOnly boolean
    subPath string
    mountPath String
    mountPropagation String
    name String
    readOnly Boolean
    subPath String

    EciScalingConfigurationSecurityContextSysctl, EciScalingConfigurationSecurityContextSysctlArgs

    Name string
    The system name of the security context in which the elastic container instance is run.
    Value string
    The system value of the security context in which the elastic container instance is run.
    Name string
    The system name of the security context in which the elastic container instance is run.
    Value string
    The system value of the security context in which the elastic container instance is run.
    name String
    The system name of the security context in which the elastic container instance is run.
    value String
    The system value of the security context in which the elastic container instance is run.
    name string
    The system name of the security context in which the elastic container instance is run.
    value string
    The system value of the security context in which the elastic container instance is run.
    name str
    The system name of the security context in which the elastic container instance is run.
    value str
    The system value of the security context in which the elastic container instance is run.
    name String
    The system name of the security context in which the elastic container instance is run.
    value String
    The system value of the security context in which the elastic container instance is run.

    EciScalingConfigurationVolume, EciScalingConfigurationVolumeArgs

    ConfigFileVolumeConfigFileToPaths List<Pulumi.AliCloud.Ess.Inputs.EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPath>
    ConfigFileVolumeConfigFileToPaths. See config_file_volume_config_file_to_paths below for details.
    ConfigFileVolumeDefaultMode int
    The default permissions on the ConfigFileVolume.
    DiskVolumeDiskId string
    The ID of DiskVolume.
    DiskVolumeDiskSize int
    The disk size of DiskVolume.
    DiskVolumeFsType string
    The system type of DiskVolume.
    EmptyDirVolumeMedium string
    The storage medium of the EmptyDirVolume. If you leave this parameter empty, the file system of the node is used as the storage medium. If you set this parameter to memory, the memory is used as the storage medium.
    EmptyDirVolumeSizeLimit string
    The storage size of the EmptyDirVolume. Unit: GiB or MiB.
    FlexVolumeDriver string
    The name of the FlexVolume driver.
    FlexVolumeFsType string
    The type of the mounted file system. The default value is determined by the script of FlexVolume.
    FlexVolumeOptions string
    The list of FlexVolume objects. Each object is a key-value pair contained in a JSON string.
    HostPathVolumePath string
    The absolute path on the host.
    HostPathVolumeType string
    The type of the host path. Examples: File, Directory, and Socket.
    Name string
    The name of the volume.
    NfsVolumePath string
    The path to the NFS volume.
    NfsVolumeReadOnly bool
    The nfs volume read only. Default to false.
    NfsVolumeServer string

    The address of the NFS server.

    NOTE: Every volume mounted must have a name and type attributes.

    Type string
    The type of the volume.
    ConfigFileVolumeConfigFileToPaths []EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPath
    ConfigFileVolumeConfigFileToPaths. See config_file_volume_config_file_to_paths below for details.
    ConfigFileVolumeDefaultMode int
    The default permissions on the ConfigFileVolume.
    DiskVolumeDiskId string
    The ID of DiskVolume.
    DiskVolumeDiskSize int
    The disk size of DiskVolume.
    DiskVolumeFsType string
    The system type of DiskVolume.
    EmptyDirVolumeMedium string
    The storage medium of the EmptyDirVolume. If you leave this parameter empty, the file system of the node is used as the storage medium. If you set this parameter to memory, the memory is used as the storage medium.
    EmptyDirVolumeSizeLimit string
    The storage size of the EmptyDirVolume. Unit: GiB or MiB.
    FlexVolumeDriver string
    The name of the FlexVolume driver.
    FlexVolumeFsType string
    The type of the mounted file system. The default value is determined by the script of FlexVolume.
    FlexVolumeOptions string
    The list of FlexVolume objects. Each object is a key-value pair contained in a JSON string.
    HostPathVolumePath string
    The absolute path on the host.
    HostPathVolumeType string
    The type of the host path. Examples: File, Directory, and Socket.
    Name string
    The name of the volume.
    NfsVolumePath string
    The path to the NFS volume.
    NfsVolumeReadOnly bool
    The nfs volume read only. Default to false.
    NfsVolumeServer string

    The address of the NFS server.

    NOTE: Every volume mounted must have a name and type attributes.

    Type string
    The type of the volume.
    configFileVolumeConfigFileToPaths List<EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPath>
    ConfigFileVolumeConfigFileToPaths. See config_file_volume_config_file_to_paths below for details.
    configFileVolumeDefaultMode Integer
    The default permissions on the ConfigFileVolume.
    diskVolumeDiskId String
    The ID of DiskVolume.
    diskVolumeDiskSize Integer
    The disk size of DiskVolume.
    diskVolumeFsType String
    The system type of DiskVolume.
    emptyDirVolumeMedium String
    The storage medium of the EmptyDirVolume. If you leave this parameter empty, the file system of the node is used as the storage medium. If you set this parameter to memory, the memory is used as the storage medium.
    emptyDirVolumeSizeLimit String
    The storage size of the EmptyDirVolume. Unit: GiB or MiB.
    flexVolumeDriver String
    The name of the FlexVolume driver.
    flexVolumeFsType String
    The type of the mounted file system. The default value is determined by the script of FlexVolume.
    flexVolumeOptions String
    The list of FlexVolume objects. Each object is a key-value pair contained in a JSON string.
    hostPathVolumePath String
    The absolute path on the host.
    hostPathVolumeType String
    The type of the host path. Examples: File, Directory, and Socket.
    name String
    The name of the volume.
    nfsVolumePath String
    The path to the NFS volume.
    nfsVolumeReadOnly Boolean
    The nfs volume read only. Default to false.
    nfsVolumeServer String

    The address of the NFS server.

    NOTE: Every volume mounted must have a name and type attributes.

    type String
    The type of the volume.
    configFileVolumeConfigFileToPaths EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPath[]
    ConfigFileVolumeConfigFileToPaths. See config_file_volume_config_file_to_paths below for details.
    configFileVolumeDefaultMode number
    The default permissions on the ConfigFileVolume.
    diskVolumeDiskId string
    The ID of DiskVolume.
    diskVolumeDiskSize number
    The disk size of DiskVolume.
    diskVolumeFsType string
    The system type of DiskVolume.
    emptyDirVolumeMedium string
    The storage medium of the EmptyDirVolume. If you leave this parameter empty, the file system of the node is used as the storage medium. If you set this parameter to memory, the memory is used as the storage medium.
    emptyDirVolumeSizeLimit string
    The storage size of the EmptyDirVolume. Unit: GiB or MiB.
    flexVolumeDriver string
    The name of the FlexVolume driver.
    flexVolumeFsType string
    The type of the mounted file system. The default value is determined by the script of FlexVolume.
    flexVolumeOptions string
    The list of FlexVolume objects. Each object is a key-value pair contained in a JSON string.
    hostPathVolumePath string
    The absolute path on the host.
    hostPathVolumeType string
    The type of the host path. Examples: File, Directory, and Socket.
    name string
    The name of the volume.
    nfsVolumePath string
    The path to the NFS volume.
    nfsVolumeReadOnly boolean
    The nfs volume read only. Default to false.
    nfsVolumeServer string

    The address of the NFS server.

    NOTE: Every volume mounted must have a name and type attributes.

    type string
    The type of the volume.
    config_file_volume_config_file_to_paths Sequence[EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPath]
    ConfigFileVolumeConfigFileToPaths. See config_file_volume_config_file_to_paths below for details.
    config_file_volume_default_mode int
    The default permissions on the ConfigFileVolume.
    disk_volume_disk_id str
    The ID of DiskVolume.
    disk_volume_disk_size int
    The disk size of DiskVolume.
    disk_volume_fs_type str
    The system type of DiskVolume.
    empty_dir_volume_medium str
    The storage medium of the EmptyDirVolume. If you leave this parameter empty, the file system of the node is used as the storage medium. If you set this parameter to memory, the memory is used as the storage medium.
    empty_dir_volume_size_limit str
    The storage size of the EmptyDirVolume. Unit: GiB or MiB.
    flex_volume_driver str
    The name of the FlexVolume driver.
    flex_volume_fs_type str
    The type of the mounted file system. The default value is determined by the script of FlexVolume.
    flex_volume_options str
    The list of FlexVolume objects. Each object is a key-value pair contained in a JSON string.
    host_path_volume_path str
    The absolute path on the host.
    host_path_volume_type str
    The type of the host path. Examples: File, Directory, and Socket.
    name str
    The name of the volume.
    nfs_volume_path str
    The path to the NFS volume.
    nfs_volume_read_only bool
    The nfs volume read only. Default to false.
    nfs_volume_server str

    The address of the NFS server.

    NOTE: Every volume mounted must have a name and type attributes.

    type str
    The type of the volume.
    configFileVolumeConfigFileToPaths List<Property Map>
    ConfigFileVolumeConfigFileToPaths. See config_file_volume_config_file_to_paths below for details.
    configFileVolumeDefaultMode Number
    The default permissions on the ConfigFileVolume.
    diskVolumeDiskId String
    The ID of DiskVolume.
    diskVolumeDiskSize Number
    The disk size of DiskVolume.
    diskVolumeFsType String
    The system type of DiskVolume.
    emptyDirVolumeMedium String
    The storage medium of the EmptyDirVolume. If you leave this parameter empty, the file system of the node is used as the storage medium. If you set this parameter to memory, the memory is used as the storage medium.
    emptyDirVolumeSizeLimit String
    The storage size of the EmptyDirVolume. Unit: GiB or MiB.
    flexVolumeDriver String
    The name of the FlexVolume driver.
    flexVolumeFsType String
    The type of the mounted file system. The default value is determined by the script of FlexVolume.
    flexVolumeOptions String
    The list of FlexVolume objects. Each object is a key-value pair contained in a JSON string.
    hostPathVolumePath String
    The absolute path on the host.
    hostPathVolumeType String
    The type of the host path. Examples: File, Directory, and Socket.
    name String
    The name of the volume.
    nfsVolumePath String
    The path to the NFS volume.
    nfsVolumeReadOnly Boolean
    The nfs volume read only. Default to false.
    nfsVolumeServer String

    The address of the NFS server.

    NOTE: Every volume mounted must have a name and type attributes.

    type String
    The type of the volume.

    EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPath, EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArgs

    Content string
    The content of the configuration file. Maximum size: 32 KB.
    Mode int
    The permissions on the ConfigFileVolume directory.
    Path string
    The relative file path.
    Content string
    The content of the configuration file. Maximum size: 32 KB.
    Mode int
    The permissions on the ConfigFileVolume directory.
    Path string
    The relative file path.
    content String
    The content of the configuration file. Maximum size: 32 KB.
    mode Integer
    The permissions on the ConfigFileVolume directory.
    path String
    The relative file path.
    content string
    The content of the configuration file. Maximum size: 32 KB.
    mode number
    The permissions on the ConfigFileVolume directory.
    path string
    The relative file path.
    content str
    The content of the configuration file. Maximum size: 32 KB.
    mode int
    The permissions on the ConfigFileVolume directory.
    path str
    The relative file path.
    content String
    The content of the configuration file. Maximum size: 32 KB.
    mode Number
    The permissions on the ConfigFileVolume directory.
    path String
    The relative file path.

    Import

    ESS eci scaling configuration can be imported using the id, e.g.

    $ pulumi import alicloud:ess/eciScalingConfiguration:EciScalingConfiguration example asc-abc123456
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi