1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. ess
  5. EciScalingConfiguration
Alibaba Cloud v3.51.0 published on Saturday, Mar 23, 2024 by Pulumi

alicloud.ess.EciScalingConfiguration

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.51.0 published on Saturday, Mar 23, 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 defaultRandomInteger = new random.RandomInteger("defaultRandomInteger", {
        min: 10000,
        max: 99999,
    });
    const myName = pulumi.interpolate`${name}-${defaultRandomInteger.result}`;
    const defaultZones = alicloud.getZones({
        availableDiskCategory: "cloud_efficiency",
        availableResourceCreation: "VSwitch",
    });
    const defaultNetwork = new alicloud.vpc.Network("defaultNetwork", {
        vpcName: myName,
        cidrBlock: "172.16.0.0/16",
    });
    const defaultSwitch = new alicloud.vpc.Switch("defaultSwitch", {
        vpcId: defaultNetwork.id,
        cidrBlock: "172.16.0.0/24",
        zoneId: defaultZones.then(defaultZones => defaultZones.zones?.[0]?.id),
        vswitchName: myName,
    });
    const defaultSecurityGroup = new alicloud.ecs.SecurityGroup("defaultSecurityGroup", {vpcId: defaultNetwork.id});
    const defaultScalingGroup = new alicloud.ess.ScalingGroup("defaultScalingGroup", {
        minSize: 0,
        maxSize: 1,
        scalingGroupName: myName,
        removalPolicies: [
            "OldestInstance",
            "NewestInstance",
        ],
        vswitchIds: [defaultSwitch.id],
        groupType: "ECI",
    });
    const defaultEciScalingConfiguration = new alicloud.ess.EciScalingConfiguration("defaultEciScalingConfiguration", {
        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_random_integer = random.RandomInteger("defaultRandomInteger",
        min=10000,
        max=99999)
    my_name = default_random_integer.result.apply(lambda result: f"{name}-{result}")
    default_zones = alicloud.get_zones(available_disk_category="cloud_efficiency",
        available_resource_creation="VSwitch")
    default_network = alicloud.vpc.Network("defaultNetwork",
        vpc_name=my_name,
        cidr_block="172.16.0.0/16")
    default_switch = alicloud.vpc.Switch("defaultSwitch",
        vpc_id=default_network.id,
        cidr_block="172.16.0.0/24",
        zone_id=default_zones.zones[0].id,
        vswitch_name=my_name)
    default_security_group = alicloud.ecs.SecurityGroup("defaultSecurityGroup", vpc_id=default_network.id)
    default_scaling_group = alicloud.ess.ScalingGroup("defaultScalingGroup",
        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("defaultEciScalingConfiguration",
        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=[alicloud.ess.EciScalingConfigurationContainerArgs(
            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
    		}
    		defaultRandomInteger, err := random.NewRandomInteger(ctx, "defaultRandomInteger", &random.RandomIntegerArgs{
    			Min: pulumi.Int(10000),
    			Max: pulumi.Int(99999),
    		})
    		if err != nil {
    			return err
    		}
    		myName := defaultRandomInteger.Result.ApplyT(func(result int) (string, error) {
    			return fmt.Sprintf("%v-%v", name, result), nil
    		}).(pulumi.StringOutput)
    		defaultZones, 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, "defaultNetwork", &vpc.NetworkArgs{
    			VpcName:   pulumi.String(myName),
    			CidrBlock: pulumi.String("172.16.0.0/16"),
    		})
    		if err != nil {
    			return err
    		}
    		defaultSwitch, err := vpc.NewSwitch(ctx, "defaultSwitch", &vpc.SwitchArgs{
    			VpcId:       defaultNetwork.ID(),
    			CidrBlock:   pulumi.String("172.16.0.0/24"),
    			ZoneId:      pulumi.String(defaultZones.Zones[0].Id),
    			VswitchName: pulumi.String(myName),
    		})
    		if err != nil {
    			return err
    		}
    		defaultSecurityGroup, err := ecs.NewSecurityGroup(ctx, "defaultSecurityGroup", &ecs.SecurityGroupArgs{
    			VpcId: defaultNetwork.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		defaultScalingGroup, err := ess.NewScalingGroup(ctx, "defaultScalingGroup", &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, "defaultEciScalingConfiguration", &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 defaultRandomInteger = new Random.RandomInteger("defaultRandomInteger", new()
        {
            Min = 10000,
            Max = 99999,
        });
    
        var myName = defaultRandomInteger.Result.Apply(result => $"{name}-{result}");
    
        var defaultZones = AliCloud.GetZones.Invoke(new()
        {
            AvailableDiskCategory = "cloud_efficiency",
            AvailableResourceCreation = "VSwitch",
        });
    
        var defaultNetwork = new AliCloud.Vpc.Network("defaultNetwork", new()
        {
            VpcName = myName,
            CidrBlock = "172.16.0.0/16",
        });
    
        var defaultSwitch = new AliCloud.Vpc.Switch("defaultSwitch", new()
        {
            VpcId = defaultNetwork.Id,
            CidrBlock = "172.16.0.0/24",
            ZoneId = defaultZones.Apply(getZonesResult => getZonesResult.Zones[0]?.Id),
            VswitchName = myName,
        });
    
        var defaultSecurityGroup = new AliCloud.Ecs.SecurityGroup("defaultSecurityGroup", new()
        {
            VpcId = defaultNetwork.Id,
        });
    
        var defaultScalingGroup = new AliCloud.Ess.ScalingGroup("defaultScalingGroup", new()
        {
            MinSize = 0,
            MaxSize = 1,
            ScalingGroupName = myName,
            RemovalPolicies = new[]
            {
                "OldestInstance",
                "NewestInstance",
            },
            VswitchIds = new[]
            {
                defaultSwitch.Id,
            },
            GroupType = "ECI",
        });
    
        var defaultEciScalingConfiguration = new AliCloud.Ess.EciScalingConfiguration("defaultEciScalingConfiguration", 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.RandomInteger;
    import com.pulumi.random.RandomIntegerArgs;
    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 defaultRandomInteger = new RandomInteger("defaultRandomInteger", RandomIntegerArgs.builder()        
                .min(10000)
                .max(99999)
                .build());
    
            final var myName = defaultRandomInteger.result().applyValue(result -> String.format("%s-%s", name,result));
    
            final var defaultZones = 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(defaultZones.applyValue(getZonesResult -> getZonesResult.zones()[0].id()))
                .vswitchName(myName)
                .build());
    
            var defaultSecurityGroup = new SecurityGroup("defaultSecurityGroup", SecurityGroupArgs.builder()        
                .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:
      defaultRandomInteger:
        type: random:RandomInteger
        properties:
          min: 10000
          max: 99999
      defaultNetwork:
        type: alicloud:vpc:Network
        properties:
          vpcName: ${myName}
          cidrBlock: 172.16.0.0/16
      defaultSwitch:
        type: alicloud:vpc:Switch
        properties:
          vpcId: ${defaultNetwork.id}
          cidrBlock: 172.16.0.0/24
          zoneId: ${defaultZones.zones[0].id}
          vswitchName: ${myName}
      defaultSecurityGroup:
        type: alicloud:ecs:SecurityGroup
        properties:
          vpcId: ${defaultNetwork.id}
      defaultScalingGroup:
        type: alicloud:ess:ScalingGroup
        properties:
          minSize: 0
          maxSize: 1
          scalingGroupName: ${myName}
          removalPolicies:
            - OldestInstance
            - NewestInstance
          vswitchIds:
            - ${defaultSwitch.id}
          groupType: ECI
      defaultEciScalingConfiguration:
        type: alicloud:ess:EciScalingConfiguration
        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}-${defaultRandomInteger.result}
      defaultZones:
        fn::invoke:
          Function: alicloud:getZones
          Arguments:
            availableDiskCategory: cloud_efficiency
            availableResourceCreation: VSwitch
    

    Create EciScalingConfiguration Resource

    new EciScalingConfiguration(name: string, args: EciScalingConfigurationArgs, opts?: CustomResourceOptions);
    @overload
    def EciScalingConfiguration(resource_name: 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,
                                cpu: Optional[float] = None,
                                description: Optional[str] = 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,
                                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_group_id: Optional[str] = None,
                                spot_price_limit: Optional[float] = None,
                                spot_strategy: Optional[str] = None,
                                tags: Optional[Mapping[str, Any]] = None,
                                termination_grace_period_seconds: Optional[int] = None,
                                volumes: Optional[Sequence[EciScalingConfigurationVolumeArgs]] = None)
    @overload
    def EciScalingConfiguration(resource_name: str,
                                args: EciScalingConfigurationArgs,
                                opts: Optional[ResourceOptions] = 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.
    
    
    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.

    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

    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.
    Cpu double
    The amount of CPU resources allocated to the container group.
    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://.
    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.
    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.
    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, object>
    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.
    Cpu float64
    The amount of CPU resources allocated to the container group.
    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://.
    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.
    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.
    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]interface{}
    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.
    cpu Double
    The amount of CPU resources allocated to the container group.
    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://.
    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.
    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.
    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,Object>
    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.
    cpu number
    The amount of CPU resources allocated to the container group.
    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://.
    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.
    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.
    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]: any}
    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.
    cpu float
    The amount of CPU resources allocated to the container group.
    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_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.
    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_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, Any]
    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.
    cpu Number
    The amount of CPU resources allocated to the container group.
    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://.
    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.
    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.
    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<Any>
    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,
            cpu: Optional[float] = None,
            description: Optional[str] = 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,
            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_group_id: Optional[str] = None,
            spot_price_limit: Optional[float] = None,
            spot_strategy: Optional[str] = None,
            tags: Optional[Mapping[str, Any]] = 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.
    Cpu double
    The amount of CPU resources allocated to the container group.
    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://.
    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.
    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.
    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, object>
    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.
    Cpu float64
    The amount of CPU resources allocated to the container group.
    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://.
    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.
    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.
    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]interface{}
    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.
    cpu Double
    The amount of CPU resources allocated to the container group.
    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://.
    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.
    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.
    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,Object>
    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.
    cpu number
    The amount of CPU resources allocated to the container group.
    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://.
    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.
    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.
    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]: any}
    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.
    cpu float
    The amount of CPU resources allocated to the container group.
    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_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.
    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_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, Any]
    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.
    cpu Number
    The amount of CPU resources allocated to the container group.
    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://.
    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.
    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.
    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<Any>
    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.
    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.
    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.
    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.
    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.
    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.
    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
    Environment variable value reference. Optional values:

    • status.podIP: IP of pod.
    Key string
    The name of the variable. The name can be 1 to 128 characters in length and can contain letters, digits, and underscores (_). It cannot start with a digit.
    Value string
    The value of the variable. The value can be 0 to 256 characters in length.
    FieldRefFieldPath string
    Environment variable value reference. Optional values:

    • status.podIP: IP of pod.
    Key string
    The name of the variable. The name can be 1 to 128 characters in length and can contain letters, digits, and underscores (_). It cannot start with a digit.
    Value string
    The value of the variable. The value can be 0 to 256 characters in length.
    fieldRefFieldPath String
    Environment variable value reference. Optional values:

    • status.podIP: IP of pod.
    key String
    The name of the variable. The name can be 1 to 128 characters in length and can contain letters, digits, and underscores (_). It cannot start with a digit.
    value String
    The value of the variable. The value can be 0 to 256 characters in length.
    fieldRefFieldPath string
    Environment variable value reference. Optional values:

    • status.podIP: IP of pod.
    key string
    The name of the variable. The name can be 1 to 128 characters in length and can contain letters, digits, and underscores (_). It cannot start with a digit.
    value string
    The value of the variable. The value can be 0 to 256 characters in length.
    field_ref_field_path str
    Environment variable value reference. Optional values:

    • status.podIP: IP of pod.
    key str
    The name of the variable. The name can be 1 to 128 characters in length and can contain letters, digits, and underscores (_). It cannot start with a digit.
    value str
    The value of the variable. The value can be 0 to 256 characters in length.
    fieldRefFieldPath String
    Environment variable value reference. Optional values:

    • status.podIP: IP of pod.
    key String
    The name of the variable. The name can be 1 to 128 characters in length and can contain letters, digits, and underscores (_). It cannot start with a digit.
    value String
    The value of the variable. The value can be 0 to 256 characters in length.

    EciScalingConfigurationContainerPort, EciScalingConfigurationContainerPortArgs

    Port int
    The port number. Valid values: 1 to 65535.
    Protocol string
    Valid values: TCP and UDP.
    Port int
    The port number. Valid values: 1 to 65535.
    Protocol string
    Valid values: TCP and UDP.
    port Integer
    The port number. Valid values: 1 to 65535.
    protocol String
    Valid values: TCP and UDP.
    port number
    The port number. Valid values: 1 to 65535.
    protocol string
    Valid values: TCP and UDP.
    port int
    The port number. Valid values: 1 to 65535.
    protocol str
    Valid values: TCP and UDP.
    port Number
    The port number. Valid values: 1 to 65535.
    protocol String
    Valid values: TCP and UDP.

    EciScalingConfigurationContainerVolumeMount, EciScalingConfigurationContainerVolumeMountArgs

    MountPath string
    The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.
    Name string
    The name of the mounted volume.
    ReadOnly bool
    Default to false.
    MountPath string
    The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.
    Name string
    The name of the mounted volume.
    ReadOnly bool
    Default to false.
    mountPath String
    The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.
    name String
    The name of the mounted volume.
    readOnly Boolean
    Default to false.
    mountPath string
    The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.
    name string
    The name of the mounted volume.
    readOnly boolean
    Default to false.
    mount_path str
    The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.
    name str
    The name of the mounted volume.
    read_only bool
    Default to false.
    mountPath String
    The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.
    name String
    The name of the mounted volume.
    readOnly Boolean
    Default to false.

    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
    Environment variable value reference. Optional values:

    • status.podIP: IP of pod.
    Key string
    The name of the variable. The name can be 1 to 128 characters in length and can contain letters, digits, and underscores (_). It cannot start with a digit.
    Value string
    The value of the variable. The value can be 0 to 256 characters in length.
    FieldRefFieldPath string
    Environment variable value reference. Optional values:

    • status.podIP: IP of pod.
    Key string
    The name of the variable. The name can be 1 to 128 characters in length and can contain letters, digits, and underscores (_). It cannot start with a digit.
    Value string
    The value of the variable. The value can be 0 to 256 characters in length.
    fieldRefFieldPath String
    Environment variable value reference. Optional values:

    • status.podIP: IP of pod.
    key String
    The name of the variable. The name can be 1 to 128 characters in length and can contain letters, digits, and underscores (_). It cannot start with a digit.
    value String
    The value of the variable. The value can be 0 to 256 characters in length.
    fieldRefFieldPath string
    Environment variable value reference. Optional values:

    • status.podIP: IP of pod.
    key string
    The name of the variable. The name can be 1 to 128 characters in length and can contain letters, digits, and underscores (_). It cannot start with a digit.
    value string
    The value of the variable. The value can be 0 to 256 characters in length.
    field_ref_field_path str
    Environment variable value reference. Optional values:

    • status.podIP: IP of pod.
    key str
    The name of the variable. The name can be 1 to 128 characters in length and can contain letters, digits, and underscores (_). It cannot start with a digit.
    value str
    The value of the variable. The value can be 0 to 256 characters in length.
    fieldRefFieldPath String
    Environment variable value reference. Optional values:

    • status.podIP: IP of pod.
    key String
    The name of the variable. The name can be 1 to 128 characters in length and can contain letters, digits, and underscores (_). It cannot start with a digit.
    value String
    The value of the variable. The value can be 0 to 256 characters in length.

    EciScalingConfigurationInitContainerPort, EciScalingConfigurationInitContainerPortArgs

    Port int
    The port number. Valid values: 1 to 65535.
    Protocol string
    Valid values: TCP and UDP.
    Port int
    The port number. Valid values: 1 to 65535.
    Protocol string
    Valid values: TCP and UDP.
    port Integer
    The port number. Valid values: 1 to 65535.
    protocol String
    Valid values: TCP and UDP.
    port number
    The port number. Valid values: 1 to 65535.
    protocol string
    Valid values: TCP and UDP.
    port int
    The port number. Valid values: 1 to 65535.
    protocol str
    Valid values: TCP and UDP.
    port Number
    The port number. Valid values: 1 to 65535.
    protocol String
    Valid values: TCP and UDP.

    EciScalingConfigurationInitContainerVolumeMount, EciScalingConfigurationInitContainerVolumeMountArgs

    MountPath string
    The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.
    Name string
    The name of the mounted volume.
    ReadOnly bool
    Default to false.
    MountPath string
    The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.
    Name string
    The name of the mounted volume.
    ReadOnly bool
    Default to false.
    mountPath String
    The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.
    name String
    The name of the mounted volume.
    readOnly Boolean
    Default to false.
    mountPath string
    The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.
    name string
    The name of the mounted volume.
    readOnly boolean
    Default to false.
    mount_path str
    The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.
    name str
    The name of the mounted volume.
    read_only bool
    Default to false.
    mountPath String
    The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.
    name String
    The name of the mounted volume.
    readOnly Boolean
    Default to false.

    EciScalingConfigurationVolume, EciScalingConfigurationVolumeArgs

    ConfigFileVolumeConfigFileToPaths List<Pulumi.AliCloud.Ess.Inputs.EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPath>
    ConfigFileVolumeConfigFileToPaths. See config_file_volume_config_file_to_paths below for details.
    DiskVolumeDiskId string
    The ID of DiskVolume.
    DiskVolumeDiskSize int
    The disk size of DiskVolume.
    DiskVolumeFsType string
    The system type of DiskVolume.
    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.
    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.
    DiskVolumeDiskId string
    The ID of DiskVolume.
    DiskVolumeDiskSize int
    The disk size of DiskVolume.
    DiskVolumeFsType string
    The system type of DiskVolume.
    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.
    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.
    diskVolumeDiskId String
    The ID of DiskVolume.
    diskVolumeDiskSize Integer
    The disk size of DiskVolume.
    diskVolumeFsType String
    The system type of DiskVolume.
    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.
    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.
    diskVolumeDiskId string
    The ID of DiskVolume.
    diskVolumeDiskSize number
    The disk size of DiskVolume.
    diskVolumeFsType string
    The system type of DiskVolume.
    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.
    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.
    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.
    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.
    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.
    diskVolumeDiskId String
    The ID of DiskVolume.
    diskVolumeDiskSize Number
    The disk size of DiskVolume.
    diskVolumeFsType String
    The system type of DiskVolume.
    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.
    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.
    Path string
    The relative file path.
    Content string
    The content of the configuration file. Maximum size: 32 KB.
    Path string
    The relative file path.
    content String
    The content of the configuration file. Maximum size: 32 KB.
    path String
    The relative file path.
    content string
    The content of the configuration file. Maximum size: 32 KB.
    path string
    The relative file path.
    content str
    The content of the configuration file. Maximum size: 32 KB.
    path str
    The relative file path.
    content String
    The content of the configuration file. Maximum size: 32 KB.
    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
    

    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.51.0 published on Saturday, Mar 23, 2024 by Pulumi