alicloud.ess.EciScalingConfiguration
Explore with Pulumi AI
Provides a ESS eci scaling configuration resource.
For information about ess eci scaling configuration, see CreateEciScalingConfiguration.
NOTE: Available since v1.164.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
import * as random from "@pulumi/random";
const config = new pulumi.Config();
const name = config.get("name") || "terraform-example";
const defaultInteger = new random.index.Integer("default", {
min: 10000,
max: 99999,
});
const myName = `${name}-${defaultInteger.result}`;
const default = alicloud.getZones({
availableDiskCategory: "cloud_efficiency",
availableResourceCreation: "VSwitch",
});
const defaultNetwork = new alicloud.vpc.Network("default", {
vpcName: myName,
cidrBlock: "172.16.0.0/16",
});
const defaultSwitch = new alicloud.vpc.Switch("default", {
vpcId: defaultNetwork.id,
cidrBlock: "172.16.0.0/24",
zoneId: _default.then(_default => _default.zones?.[0]?.id),
vswitchName: myName,
});
const defaultSecurityGroup = new alicloud.ecs.SecurityGroup("default", {
name: myName,
vpcId: defaultNetwork.id,
});
const defaultScalingGroup = new alicloud.ess.ScalingGroup("default", {
minSize: 0,
maxSize: 1,
scalingGroupName: myName,
removalPolicies: [
"OldestInstance",
"NewestInstance",
],
vswitchIds: [defaultSwitch.id],
groupType: "ECI",
});
const defaultEciScalingConfiguration = new alicloud.ess.EciScalingConfiguration("default", {
scalingGroupId: defaultScalingGroup.id,
cpu: 2,
memory: 4,
securityGroupId: defaultSecurityGroup.id,
forceDelete: true,
active: true,
containerGroupName: "container-group-1649839595174",
containers: [{
name: "container-1",
image: "registry-vpc.cn-hangzhou.aliyuncs.com/eci_open/alpine:3.5",
}],
});
import pulumi
import pulumi_alicloud as alicloud
import pulumi_random as random
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "terraform-example"
default_integer = random.index.Integer("default",
min=10000,
max=99999)
my_name = f"{name}-{default_integer['result']}"
default = alicloud.get_zones(available_disk_category="cloud_efficiency",
available_resource_creation="VSwitch")
default_network = alicloud.vpc.Network("default",
vpc_name=my_name,
cidr_block="172.16.0.0/16")
default_switch = alicloud.vpc.Switch("default",
vpc_id=default_network.id,
cidr_block="172.16.0.0/24",
zone_id=default.zones[0].id,
vswitch_name=my_name)
default_security_group = alicloud.ecs.SecurityGroup("default",
name=my_name,
vpc_id=default_network.id)
default_scaling_group = alicloud.ess.ScalingGroup("default",
min_size=0,
max_size=1,
scaling_group_name=my_name,
removal_policies=[
"OldestInstance",
"NewestInstance",
],
vswitch_ids=[default_switch.id],
group_type="ECI")
default_eci_scaling_configuration = alicloud.ess.EciScalingConfiguration("default",
scaling_group_id=default_scaling_group.id,
cpu=2,
memory=4,
security_group_id=default_security_group.id,
force_delete=True,
active=True,
container_group_name="container-group-1649839595174",
containers=[{
"name": "container-1",
"image": "registry-vpc.cn-hangzhou.aliyuncs.com/eci_open/alpine:3.5",
}])
package main
import (
"fmt"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ess"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi-random/sdk/v4/go/random"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "terraform-example"
if param := cfg.Get("name"); param != "" {
name = param
}
defaultInteger, err := random.NewInteger(ctx, "default", &random.IntegerArgs{
Min: 10000,
Max: 99999,
})
if err != nil {
return err
}
myName := fmt.Sprintf("%v-%v", name, defaultInteger.Result)
_default, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{
AvailableDiskCategory: pulumi.StringRef("cloud_efficiency"),
AvailableResourceCreation: pulumi.StringRef("VSwitch"),
}, nil)
if err != nil {
return err
}
defaultNetwork, err := vpc.NewNetwork(ctx, "default", &vpc.NetworkArgs{
VpcName: pulumi.String(myName),
CidrBlock: pulumi.String("172.16.0.0/16"),
})
if err != nil {
return err
}
defaultSwitch, err := vpc.NewSwitch(ctx, "default", &vpc.SwitchArgs{
VpcId: defaultNetwork.ID(),
CidrBlock: pulumi.String("172.16.0.0/24"),
ZoneId: pulumi.String(_default.Zones[0].Id),
VswitchName: pulumi.String(myName),
})
if err != nil {
return err
}
defaultSecurityGroup, err := ecs.NewSecurityGroup(ctx, "default", &ecs.SecurityGroupArgs{
Name: pulumi.String(myName),
VpcId: defaultNetwork.ID(),
})
if err != nil {
return err
}
defaultScalingGroup, err := ess.NewScalingGroup(ctx, "default", &ess.ScalingGroupArgs{
MinSize: pulumi.Int(0),
MaxSize: pulumi.Int(1),
ScalingGroupName: pulumi.String(myName),
RemovalPolicies: pulumi.StringArray{
pulumi.String("OldestInstance"),
pulumi.String("NewestInstance"),
},
VswitchIds: pulumi.StringArray{
defaultSwitch.ID(),
},
GroupType: pulumi.String("ECI"),
})
if err != nil {
return err
}
_, err = ess.NewEciScalingConfiguration(ctx, "default", &ess.EciScalingConfigurationArgs{
ScalingGroupId: defaultScalingGroup.ID(),
Cpu: pulumi.Float64(2),
Memory: pulumi.Float64(4),
SecurityGroupId: defaultSecurityGroup.ID(),
ForceDelete: pulumi.Bool(true),
Active: pulumi.Bool(true),
ContainerGroupName: pulumi.String("container-group-1649839595174"),
Containers: ess.EciScalingConfigurationContainerArray{
&ess.EciScalingConfigurationContainerArgs{
Name: pulumi.String("container-1"),
Image: pulumi.String("registry-vpc.cn-hangzhou.aliyuncs.com/eci_open/alpine:3.5"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
using Random = Pulumi.Random;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "terraform-example";
var defaultInteger = new Random.Index.Integer("default", new()
{
Min = 10000,
Max = 99999,
});
var myName = $"{name}-{defaultInteger.Result}";
var @default = AliCloud.GetZones.Invoke(new()
{
AvailableDiskCategory = "cloud_efficiency",
AvailableResourceCreation = "VSwitch",
});
var defaultNetwork = new AliCloud.Vpc.Network("default", new()
{
VpcName = myName,
CidrBlock = "172.16.0.0/16",
});
var defaultSwitch = new AliCloud.Vpc.Switch("default", new()
{
VpcId = defaultNetwork.Id,
CidrBlock = "172.16.0.0/24",
ZoneId = @default.Apply(@default => @default.Apply(getZonesResult => getZonesResult.Zones[0]?.Id)),
VswitchName = myName,
});
var defaultSecurityGroup = new AliCloud.Ecs.SecurityGroup("default", new()
{
Name = myName,
VpcId = defaultNetwork.Id,
});
var defaultScalingGroup = new AliCloud.Ess.ScalingGroup("default", new()
{
MinSize = 0,
MaxSize = 1,
ScalingGroupName = myName,
RemovalPolicies = new[]
{
"OldestInstance",
"NewestInstance",
},
VswitchIds = new[]
{
defaultSwitch.Id,
},
GroupType = "ECI",
});
var defaultEciScalingConfiguration = new AliCloud.Ess.EciScalingConfiguration("default", new()
{
ScalingGroupId = defaultScalingGroup.Id,
Cpu = 2,
Memory = 4,
SecurityGroupId = defaultSecurityGroup.Id,
ForceDelete = true,
Active = true,
ContainerGroupName = "container-group-1649839595174",
Containers = new[]
{
new AliCloud.Ess.Inputs.EciScalingConfigurationContainerArgs
{
Name = "container-1",
Image = "registry-vpc.cn-hangzhou.aliyuncs.com/eci_open/alpine:3.5",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.random.integer;
import com.pulumi.random.IntegerArgs;
import com.pulumi.alicloud.AlicloudFunctions;
import com.pulumi.alicloud.inputs.GetZonesArgs;
import com.pulumi.alicloud.vpc.Network;
import com.pulumi.alicloud.vpc.NetworkArgs;
import com.pulumi.alicloud.vpc.Switch;
import com.pulumi.alicloud.vpc.SwitchArgs;
import com.pulumi.alicloud.ecs.SecurityGroup;
import com.pulumi.alicloud.ecs.SecurityGroupArgs;
import com.pulumi.alicloud.ess.ScalingGroup;
import com.pulumi.alicloud.ess.ScalingGroupArgs;
import com.pulumi.alicloud.ess.EciScalingConfiguration;
import com.pulumi.alicloud.ess.EciScalingConfigurationArgs;
import com.pulumi.alicloud.ess.inputs.EciScalingConfigurationContainerArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var name = config.get("name").orElse("terraform-example");
var defaultInteger = new Integer("defaultInteger", IntegerArgs.builder()
.min(10000)
.max(99999)
.build());
final var myName = String.format("%s-%s", name,defaultInteger.result());
final var default = AlicloudFunctions.getZones(GetZonesArgs.builder()
.availableDiskCategory("cloud_efficiency")
.availableResourceCreation("VSwitch")
.build());
var defaultNetwork = new Network("defaultNetwork", NetworkArgs.builder()
.vpcName(myName)
.cidrBlock("172.16.0.0/16")
.build());
var defaultSwitch = new Switch("defaultSwitch", SwitchArgs.builder()
.vpcId(defaultNetwork.id())
.cidrBlock("172.16.0.0/24")
.zoneId(default_.zones()[0].id())
.vswitchName(myName)
.build());
var defaultSecurityGroup = new SecurityGroup("defaultSecurityGroup", SecurityGroupArgs.builder()
.name(myName)
.vpcId(defaultNetwork.id())
.build());
var defaultScalingGroup = new ScalingGroup("defaultScalingGroup", ScalingGroupArgs.builder()
.minSize(0)
.maxSize(1)
.scalingGroupName(myName)
.removalPolicies(
"OldestInstance",
"NewestInstance")
.vswitchIds(defaultSwitch.id())
.groupType("ECI")
.build());
var defaultEciScalingConfiguration = new EciScalingConfiguration("defaultEciScalingConfiguration", EciScalingConfigurationArgs.builder()
.scalingGroupId(defaultScalingGroup.id())
.cpu(2)
.memory(4)
.securityGroupId(defaultSecurityGroup.id())
.forceDelete(true)
.active(true)
.containerGroupName("container-group-1649839595174")
.containers(EciScalingConfigurationContainerArgs.builder()
.name("container-1")
.image("registry-vpc.cn-hangzhou.aliyuncs.com/eci_open/alpine:3.5")
.build())
.build());
}
}
configuration:
name:
type: string
default: terraform-example
resources:
defaultInteger:
type: random:integer
name: default
properties:
min: 10000
max: 99999
defaultNetwork:
type: alicloud:vpc:Network
name: default
properties:
vpcName: ${myName}
cidrBlock: 172.16.0.0/16
defaultSwitch:
type: alicloud:vpc:Switch
name: default
properties:
vpcId: ${defaultNetwork.id}
cidrBlock: 172.16.0.0/24
zoneId: ${default.zones[0].id}
vswitchName: ${myName}
defaultSecurityGroup:
type: alicloud:ecs:SecurityGroup
name: default
properties:
name: ${myName}
vpcId: ${defaultNetwork.id}
defaultScalingGroup:
type: alicloud:ess:ScalingGroup
name: default
properties:
minSize: 0
maxSize: 1
scalingGroupName: ${myName}
removalPolicies:
- OldestInstance
- NewestInstance
vswitchIds:
- ${defaultSwitch.id}
groupType: ECI
defaultEciScalingConfiguration:
type: alicloud:ess:EciScalingConfiguration
name: default
properties:
scalingGroupId: ${defaultScalingGroup.id}
cpu: 2
memory: 4
securityGroupId: ${defaultSecurityGroup.id}
forceDelete: true
active: true
containerGroupName: container-group-1649839595174
containers:
- name: container-1
image: registry-vpc.cn-hangzhou.aliyuncs.com/eci_open/alpine:3.5
variables:
myName: ${name}-${defaultInteger.result}
default:
fn::invoke:
Function: alicloud:getZones
Arguments:
availableDiskCategory: cloud_efficiency
availableResourceCreation: VSwitch
Create EciScalingConfiguration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EciScalingConfiguration(name: string, args: EciScalingConfigurationArgs, opts?: CustomResourceOptions);
@overload
def EciScalingConfiguration(resource_name: str,
args: EciScalingConfigurationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EciScalingConfiguration(resource_name: str,
opts: Optional[ResourceOptions] = None,
scaling_group_id: Optional[str] = None,
host_name: Optional[str] = None,
termination_grace_period_seconds: Optional[int] = None,
auto_create_eip: Optional[bool] = None,
image_registry_credentials: Optional[Sequence[EciScalingConfigurationImageRegistryCredentialArgs]] = None,
container_group_name: Optional[str] = None,
containers: Optional[Sequence[EciScalingConfigurationContainerArgs]] = None,
cpu: Optional[float] = None,
cpu_options_core: Optional[int] = None,
cpu_options_threads_per_core: Optional[int] = 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,
acr_registry_infos: Optional[Sequence[EciScalingConfigurationAcrRegistryInfoArgs]] = None,
auto_match_image_cache: Optional[bool] = None,
active_deadline_seconds: Optional[int] = None,
init_containers: Optional[Sequence[EciScalingConfigurationInitContainerArgs]] = None,
ingress_bandwidth: Optional[int] = None,
instance_types: Optional[Sequence[str]] = None,
ipv6_address_count: Optional[int] = None,
load_balancer_weight: Optional[int] = None,
memory: Optional[float] = None,
ram_role_name: Optional[str] = None,
resource_group_id: Optional[str] = None,
restart_policy: Optional[str] = None,
scaling_configuration_name: Optional[str] = None,
active: Optional[bool] = None,
security_group_id: Optional[str] = None,
spot_price_limit: Optional[float] = None,
spot_strategy: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
image_snapshot_id: Optional[str] = None,
volumes: Optional[Sequence[EciScalingConfigurationVolumeArgs]] = None)
func NewEciScalingConfiguration(ctx *Context, name string, args EciScalingConfigurationArgs, opts ...ResourceOption) (*EciScalingConfiguration, error)
public EciScalingConfiguration(string name, EciScalingConfigurationArgs args, CustomResourceOptions? opts = null)
public EciScalingConfiguration(String name, EciScalingConfigurationArgs args)
public EciScalingConfiguration(String name, EciScalingConfigurationArgs args, CustomResourceOptions options)
type: alicloud:ess:EciScalingConfiguration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args EciScalingConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args EciScalingConfigurationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args EciScalingConfigurationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EciScalingConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EciScalingConfigurationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var eciScalingConfigurationResource = new AliCloud.Ess.EciScalingConfiguration("eciScalingConfigurationResource", new()
{
ScalingGroupId = "string",
HostName = "string",
TerminationGracePeriodSeconds = 0,
AutoCreateEip = false,
ImageRegistryCredentials = new[]
{
new AliCloud.Ess.Inputs.EciScalingConfigurationImageRegistryCredentialArgs
{
Password = "string",
Server = "string",
Username = "string",
},
},
ContainerGroupName = "string",
Containers = new[]
{
new AliCloud.Ess.Inputs.EciScalingConfigurationContainerArgs
{
Args = new[]
{
"string",
},
Commands = new[]
{
"string",
},
Cpu = 0,
EnvironmentVars = new[]
{
new AliCloud.Ess.Inputs.EciScalingConfigurationContainerEnvironmentVarArgs
{
FieldRefFieldPath = "string",
Key = "string",
Value = "string",
},
},
Gpu = 0,
Image = "string",
ImagePullPolicy = "string",
LifecyclePreStopHandlerExecs = new[]
{
"string",
},
LivenessProbeExecCommands = new[]
{
"string",
},
LivenessProbeFailureThreshold = 0,
LivenessProbeHttpGetPath = "string",
LivenessProbeHttpGetPort = 0,
LivenessProbeHttpGetScheme = "string",
LivenessProbeInitialDelaySeconds = 0,
LivenessProbePeriodSeconds = 0,
LivenessProbeSuccessThreshold = 0,
LivenessProbeTcpSocketPort = 0,
LivenessProbeTimeoutSeconds = 0,
Memory = 0,
Name = "string",
Ports = new[]
{
new AliCloud.Ess.Inputs.EciScalingConfigurationContainerPortArgs
{
Port = 0,
Protocol = "string",
},
},
ReadinessProbeExecCommands = new[]
{
"string",
},
ReadinessProbeFailureThreshold = 0,
ReadinessProbeHttpGetPath = "string",
ReadinessProbeHttpGetPort = 0,
ReadinessProbeHttpGetScheme = "string",
ReadinessProbeInitialDelaySeconds = 0,
ReadinessProbePeriodSeconds = 0,
ReadinessProbeSuccessThreshold = 0,
ReadinessProbeTcpSocketPort = 0,
ReadinessProbeTimeoutSeconds = 0,
SecurityContextCapabilityAdds = new[]
{
"string",
},
SecurityContextReadOnlyRootFileSystem = false,
SecurityContextRunAsUser = 0,
VolumeMounts = new[]
{
new AliCloud.Ess.Inputs.EciScalingConfigurationContainerVolumeMountArgs
{
MountPath = "string",
Name = "string",
ReadOnly = false,
},
},
WorkingDir = "string",
},
},
Cpu = 0,
CpuOptionsCore = 0,
CpuOptionsThreadsPerCore = 0,
Description = "string",
DnsPolicy = "string",
EgressBandwidth = 0,
EipBandwidth = 0,
EnableSls = false,
EphemeralStorage = 0,
ForceDelete = false,
HostAliases = new[]
{
new AliCloud.Ess.Inputs.EciScalingConfigurationHostAliasArgs
{
Hostnames = new[]
{
"string",
},
Ip = "string",
},
},
AcrRegistryInfos = new[]
{
new AliCloud.Ess.Inputs.EciScalingConfigurationAcrRegistryInfoArgs
{
Domains = new[]
{
"string",
},
InstanceId = "string",
InstanceName = "string",
RegionId = "string",
},
},
AutoMatchImageCache = false,
ActiveDeadlineSeconds = 0,
InitContainers = new[]
{
new AliCloud.Ess.Inputs.EciScalingConfigurationInitContainerArgs
{
Args = new[]
{
"string",
},
Commands = new[]
{
"string",
},
Cpu = 0,
EnvironmentVars = new[]
{
new AliCloud.Ess.Inputs.EciScalingConfigurationInitContainerEnvironmentVarArgs
{
FieldRefFieldPath = "string",
Key = "string",
Value = "string",
},
},
Gpu = 0,
Image = "string",
ImagePullPolicy = "string",
Memory = 0,
Name = "string",
Ports = new[]
{
new AliCloud.Ess.Inputs.EciScalingConfigurationInitContainerPortArgs
{
Port = 0,
Protocol = "string",
},
},
SecurityContextCapabilityAdds = new[]
{
"string",
},
SecurityContextReadOnlyRootFileSystem = false,
SecurityContextRunAsUser = 0,
VolumeMounts = new[]
{
new AliCloud.Ess.Inputs.EciScalingConfigurationInitContainerVolumeMountArgs
{
MountPath = "string",
Name = "string",
ReadOnly = false,
},
},
WorkingDir = "string",
},
},
IngressBandwidth = 0,
InstanceTypes = new[]
{
"string",
},
Ipv6AddressCount = 0,
LoadBalancerWeight = 0,
Memory = 0,
RamRoleName = "string",
ResourceGroupId = "string",
RestartPolicy = "string",
ScalingConfigurationName = "string",
Active = false,
SecurityGroupId = "string",
SpotPriceLimit = 0,
SpotStrategy = "string",
Tags =
{
{ "string", "string" },
},
ImageSnapshotId = "string",
Volumes = new[]
{
new AliCloud.Ess.Inputs.EciScalingConfigurationVolumeArgs
{
ConfigFileVolumeConfigFileToPaths = new[]
{
new AliCloud.Ess.Inputs.EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArgs
{
Content = "string",
Path = "string",
},
},
DiskVolumeDiskId = "string",
DiskVolumeDiskSize = 0,
DiskVolumeFsType = "string",
FlexVolumeDriver = "string",
FlexVolumeFsType = "string",
FlexVolumeOptions = "string",
Name = "string",
NfsVolumePath = "string",
NfsVolumeReadOnly = false,
NfsVolumeServer = "string",
Type = "string",
},
},
});
example, err := ess.NewEciScalingConfiguration(ctx, "eciScalingConfigurationResource", &ess.EciScalingConfigurationArgs{
ScalingGroupId: pulumi.String("string"),
HostName: pulumi.String("string"),
TerminationGracePeriodSeconds: pulumi.Int(0),
AutoCreateEip: pulumi.Bool(false),
ImageRegistryCredentials: ess.EciScalingConfigurationImageRegistryCredentialArray{
&ess.EciScalingConfigurationImageRegistryCredentialArgs{
Password: pulumi.String("string"),
Server: pulumi.String("string"),
Username: pulumi.String("string"),
},
},
ContainerGroupName: pulumi.String("string"),
Containers: ess.EciScalingConfigurationContainerArray{
&ess.EciScalingConfigurationContainerArgs{
Args: pulumi.StringArray{
pulumi.String("string"),
},
Commands: pulumi.StringArray{
pulumi.String("string"),
},
Cpu: pulumi.Float64(0),
EnvironmentVars: ess.EciScalingConfigurationContainerEnvironmentVarArray{
&ess.EciScalingConfigurationContainerEnvironmentVarArgs{
FieldRefFieldPath: pulumi.String("string"),
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Gpu: pulumi.Int(0),
Image: pulumi.String("string"),
ImagePullPolicy: pulumi.String("string"),
LifecyclePreStopHandlerExecs: pulumi.StringArray{
pulumi.String("string"),
},
LivenessProbeExecCommands: pulumi.StringArray{
pulumi.String("string"),
},
LivenessProbeFailureThreshold: pulumi.Int(0),
LivenessProbeHttpGetPath: pulumi.String("string"),
LivenessProbeHttpGetPort: pulumi.Int(0),
LivenessProbeHttpGetScheme: pulumi.String("string"),
LivenessProbeInitialDelaySeconds: pulumi.Int(0),
LivenessProbePeriodSeconds: pulumi.Int(0),
LivenessProbeSuccessThreshold: pulumi.Int(0),
LivenessProbeTcpSocketPort: pulumi.Int(0),
LivenessProbeTimeoutSeconds: pulumi.Int(0),
Memory: pulumi.Float64(0),
Name: pulumi.String("string"),
Ports: ess.EciScalingConfigurationContainerPortArray{
&ess.EciScalingConfigurationContainerPortArgs{
Port: pulumi.Int(0),
Protocol: pulumi.String("string"),
},
},
ReadinessProbeExecCommands: pulumi.StringArray{
pulumi.String("string"),
},
ReadinessProbeFailureThreshold: pulumi.Int(0),
ReadinessProbeHttpGetPath: pulumi.String("string"),
ReadinessProbeHttpGetPort: pulumi.Int(0),
ReadinessProbeHttpGetScheme: pulumi.String("string"),
ReadinessProbeInitialDelaySeconds: pulumi.Int(0),
ReadinessProbePeriodSeconds: pulumi.Int(0),
ReadinessProbeSuccessThreshold: pulumi.Int(0),
ReadinessProbeTcpSocketPort: pulumi.Int(0),
ReadinessProbeTimeoutSeconds: pulumi.Int(0),
SecurityContextCapabilityAdds: pulumi.StringArray{
pulumi.String("string"),
},
SecurityContextReadOnlyRootFileSystem: pulumi.Bool(false),
SecurityContextRunAsUser: pulumi.Int(0),
VolumeMounts: ess.EciScalingConfigurationContainerVolumeMountArray{
&ess.EciScalingConfigurationContainerVolumeMountArgs{
MountPath: pulumi.String("string"),
Name: pulumi.String("string"),
ReadOnly: pulumi.Bool(false),
},
},
WorkingDir: pulumi.String("string"),
},
},
Cpu: pulumi.Float64(0),
CpuOptionsCore: pulumi.Int(0),
CpuOptionsThreadsPerCore: pulumi.Int(0),
Description: pulumi.String("string"),
DnsPolicy: pulumi.String("string"),
EgressBandwidth: pulumi.Int(0),
EipBandwidth: pulumi.Int(0),
EnableSls: pulumi.Bool(false),
EphemeralStorage: pulumi.Int(0),
ForceDelete: pulumi.Bool(false),
HostAliases: ess.EciScalingConfigurationHostAliasArray{
&ess.EciScalingConfigurationHostAliasArgs{
Hostnames: pulumi.StringArray{
pulumi.String("string"),
},
Ip: pulumi.String("string"),
},
},
AcrRegistryInfos: ess.EciScalingConfigurationAcrRegistryInfoArray{
&ess.EciScalingConfigurationAcrRegistryInfoArgs{
Domains: pulumi.StringArray{
pulumi.String("string"),
},
InstanceId: pulumi.String("string"),
InstanceName: pulumi.String("string"),
RegionId: pulumi.String("string"),
},
},
AutoMatchImageCache: pulumi.Bool(false),
ActiveDeadlineSeconds: pulumi.Int(0),
InitContainers: ess.EciScalingConfigurationInitContainerArray{
&ess.EciScalingConfigurationInitContainerArgs{
Args: pulumi.StringArray{
pulumi.String("string"),
},
Commands: pulumi.StringArray{
pulumi.String("string"),
},
Cpu: pulumi.Float64(0),
EnvironmentVars: ess.EciScalingConfigurationInitContainerEnvironmentVarArray{
&ess.EciScalingConfigurationInitContainerEnvironmentVarArgs{
FieldRefFieldPath: pulumi.String("string"),
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Gpu: pulumi.Int(0),
Image: pulumi.String("string"),
ImagePullPolicy: pulumi.String("string"),
Memory: pulumi.Float64(0),
Name: pulumi.String("string"),
Ports: ess.EciScalingConfigurationInitContainerPortArray{
&ess.EciScalingConfigurationInitContainerPortArgs{
Port: pulumi.Int(0),
Protocol: pulumi.String("string"),
},
},
SecurityContextCapabilityAdds: pulumi.StringArray{
pulumi.String("string"),
},
SecurityContextReadOnlyRootFileSystem: pulumi.Bool(false),
SecurityContextRunAsUser: pulumi.Int(0),
VolumeMounts: ess.EciScalingConfigurationInitContainerVolumeMountArray{
&ess.EciScalingConfigurationInitContainerVolumeMountArgs{
MountPath: pulumi.String("string"),
Name: pulumi.String("string"),
ReadOnly: pulumi.Bool(false),
},
},
WorkingDir: pulumi.String("string"),
},
},
IngressBandwidth: pulumi.Int(0),
InstanceTypes: pulumi.StringArray{
pulumi.String("string"),
},
Ipv6AddressCount: pulumi.Int(0),
LoadBalancerWeight: pulumi.Int(0),
Memory: pulumi.Float64(0),
RamRoleName: pulumi.String("string"),
ResourceGroupId: pulumi.String("string"),
RestartPolicy: pulumi.String("string"),
ScalingConfigurationName: pulumi.String("string"),
Active: pulumi.Bool(false),
SecurityGroupId: pulumi.String("string"),
SpotPriceLimit: pulumi.Float64(0),
SpotStrategy: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
ImageSnapshotId: pulumi.String("string"),
Volumes: ess.EciScalingConfigurationVolumeArray{
&ess.EciScalingConfigurationVolumeArgs{
ConfigFileVolumeConfigFileToPaths: ess.EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArray{
&ess.EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArgs{
Content: pulumi.String("string"),
Path: pulumi.String("string"),
},
},
DiskVolumeDiskId: pulumi.String("string"),
DiskVolumeDiskSize: pulumi.Int(0),
DiskVolumeFsType: pulumi.String("string"),
FlexVolumeDriver: pulumi.String("string"),
FlexVolumeFsType: pulumi.String("string"),
FlexVolumeOptions: pulumi.String("string"),
Name: pulumi.String("string"),
NfsVolumePath: pulumi.String("string"),
NfsVolumeReadOnly: pulumi.Bool(false),
NfsVolumeServer: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
})
var eciScalingConfigurationResource = new EciScalingConfiguration("eciScalingConfigurationResource", EciScalingConfigurationArgs.builder()
.scalingGroupId("string")
.hostName("string")
.terminationGracePeriodSeconds(0)
.autoCreateEip(false)
.imageRegistryCredentials(EciScalingConfigurationImageRegistryCredentialArgs.builder()
.password("string")
.server("string")
.username("string")
.build())
.containerGroupName("string")
.containers(EciScalingConfigurationContainerArgs.builder()
.args("string")
.commands("string")
.cpu(0)
.environmentVars(EciScalingConfigurationContainerEnvironmentVarArgs.builder()
.fieldRefFieldPath("string")
.key("string")
.value("string")
.build())
.gpu(0)
.image("string")
.imagePullPolicy("string")
.lifecyclePreStopHandlerExecs("string")
.livenessProbeExecCommands("string")
.livenessProbeFailureThreshold(0)
.livenessProbeHttpGetPath("string")
.livenessProbeHttpGetPort(0)
.livenessProbeHttpGetScheme("string")
.livenessProbeInitialDelaySeconds(0)
.livenessProbePeriodSeconds(0)
.livenessProbeSuccessThreshold(0)
.livenessProbeTcpSocketPort(0)
.livenessProbeTimeoutSeconds(0)
.memory(0)
.name("string")
.ports(EciScalingConfigurationContainerPortArgs.builder()
.port(0)
.protocol("string")
.build())
.readinessProbeExecCommands("string")
.readinessProbeFailureThreshold(0)
.readinessProbeHttpGetPath("string")
.readinessProbeHttpGetPort(0)
.readinessProbeHttpGetScheme("string")
.readinessProbeInitialDelaySeconds(0)
.readinessProbePeriodSeconds(0)
.readinessProbeSuccessThreshold(0)
.readinessProbeTcpSocketPort(0)
.readinessProbeTimeoutSeconds(0)
.securityContextCapabilityAdds("string")
.securityContextReadOnlyRootFileSystem(false)
.securityContextRunAsUser(0)
.volumeMounts(EciScalingConfigurationContainerVolumeMountArgs.builder()
.mountPath("string")
.name("string")
.readOnly(false)
.build())
.workingDir("string")
.build())
.cpu(0)
.cpuOptionsCore(0)
.cpuOptionsThreadsPerCore(0)
.description("string")
.dnsPolicy("string")
.egressBandwidth(0)
.eipBandwidth(0)
.enableSls(false)
.ephemeralStorage(0)
.forceDelete(false)
.hostAliases(EciScalingConfigurationHostAliasArgs.builder()
.hostnames("string")
.ip("string")
.build())
.acrRegistryInfos(EciScalingConfigurationAcrRegistryInfoArgs.builder()
.domains("string")
.instanceId("string")
.instanceName("string")
.regionId("string")
.build())
.autoMatchImageCache(false)
.activeDeadlineSeconds(0)
.initContainers(EciScalingConfigurationInitContainerArgs.builder()
.args("string")
.commands("string")
.cpu(0)
.environmentVars(EciScalingConfigurationInitContainerEnvironmentVarArgs.builder()
.fieldRefFieldPath("string")
.key("string")
.value("string")
.build())
.gpu(0)
.image("string")
.imagePullPolicy("string")
.memory(0)
.name("string")
.ports(EciScalingConfigurationInitContainerPortArgs.builder()
.port(0)
.protocol("string")
.build())
.securityContextCapabilityAdds("string")
.securityContextReadOnlyRootFileSystem(false)
.securityContextRunAsUser(0)
.volumeMounts(EciScalingConfigurationInitContainerVolumeMountArgs.builder()
.mountPath("string")
.name("string")
.readOnly(false)
.build())
.workingDir("string")
.build())
.ingressBandwidth(0)
.instanceTypes("string")
.ipv6AddressCount(0)
.loadBalancerWeight(0)
.memory(0)
.ramRoleName("string")
.resourceGroupId("string")
.restartPolicy("string")
.scalingConfigurationName("string")
.active(false)
.securityGroupId("string")
.spotPriceLimit(0)
.spotStrategy("string")
.tags(Map.of("string", "string"))
.imageSnapshotId("string")
.volumes(EciScalingConfigurationVolumeArgs.builder()
.configFileVolumeConfigFileToPaths(EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArgs.builder()
.content("string")
.path("string")
.build())
.diskVolumeDiskId("string")
.diskVolumeDiskSize(0)
.diskVolumeFsType("string")
.flexVolumeDriver("string")
.flexVolumeFsType("string")
.flexVolumeOptions("string")
.name("string")
.nfsVolumePath("string")
.nfsVolumeReadOnly(false)
.nfsVolumeServer("string")
.type("string")
.build())
.build());
eci_scaling_configuration_resource = alicloud.ess.EciScalingConfiguration("eciScalingConfigurationResource",
scaling_group_id="string",
host_name="string",
termination_grace_period_seconds=0,
auto_create_eip=False,
image_registry_credentials=[alicloud.ess.EciScalingConfigurationImageRegistryCredentialArgs(
password="string",
server="string",
username="string",
)],
container_group_name="string",
containers=[alicloud.ess.EciScalingConfigurationContainerArgs(
args=["string"],
commands=["string"],
cpu=0,
environment_vars=[alicloud.ess.EciScalingConfigurationContainerEnvironmentVarArgs(
field_ref_field_path="string",
key="string",
value="string",
)],
gpu=0,
image="string",
image_pull_policy="string",
lifecycle_pre_stop_handler_execs=["string"],
liveness_probe_exec_commands=["string"],
liveness_probe_failure_threshold=0,
liveness_probe_http_get_path="string",
liveness_probe_http_get_port=0,
liveness_probe_http_get_scheme="string",
liveness_probe_initial_delay_seconds=0,
liveness_probe_period_seconds=0,
liveness_probe_success_threshold=0,
liveness_probe_tcp_socket_port=0,
liveness_probe_timeout_seconds=0,
memory=0,
name="string",
ports=[alicloud.ess.EciScalingConfigurationContainerPortArgs(
port=0,
protocol="string",
)],
readiness_probe_exec_commands=["string"],
readiness_probe_failure_threshold=0,
readiness_probe_http_get_path="string",
readiness_probe_http_get_port=0,
readiness_probe_http_get_scheme="string",
readiness_probe_initial_delay_seconds=0,
readiness_probe_period_seconds=0,
readiness_probe_success_threshold=0,
readiness_probe_tcp_socket_port=0,
readiness_probe_timeout_seconds=0,
security_context_capability_adds=["string"],
security_context_read_only_root_file_system=False,
security_context_run_as_user=0,
volume_mounts=[alicloud.ess.EciScalingConfigurationContainerVolumeMountArgs(
mount_path="string",
name="string",
read_only=False,
)],
working_dir="string",
)],
cpu=0,
cpu_options_core=0,
cpu_options_threads_per_core=0,
description="string",
dns_policy="string",
egress_bandwidth=0,
eip_bandwidth=0,
enable_sls=False,
ephemeral_storage=0,
force_delete=False,
host_aliases=[alicloud.ess.EciScalingConfigurationHostAliasArgs(
hostnames=["string"],
ip="string",
)],
acr_registry_infos=[alicloud.ess.EciScalingConfigurationAcrRegistryInfoArgs(
domains=["string"],
instance_id="string",
instance_name="string",
region_id="string",
)],
auto_match_image_cache=False,
active_deadline_seconds=0,
init_containers=[alicloud.ess.EciScalingConfigurationInitContainerArgs(
args=["string"],
commands=["string"],
cpu=0,
environment_vars=[alicloud.ess.EciScalingConfigurationInitContainerEnvironmentVarArgs(
field_ref_field_path="string",
key="string",
value="string",
)],
gpu=0,
image="string",
image_pull_policy="string",
memory=0,
name="string",
ports=[alicloud.ess.EciScalingConfigurationInitContainerPortArgs(
port=0,
protocol="string",
)],
security_context_capability_adds=["string"],
security_context_read_only_root_file_system=False,
security_context_run_as_user=0,
volume_mounts=[alicloud.ess.EciScalingConfigurationInitContainerVolumeMountArgs(
mount_path="string",
name="string",
read_only=False,
)],
working_dir="string",
)],
ingress_bandwidth=0,
instance_types=["string"],
ipv6_address_count=0,
load_balancer_weight=0,
memory=0,
ram_role_name="string",
resource_group_id="string",
restart_policy="string",
scaling_configuration_name="string",
active=False,
security_group_id="string",
spot_price_limit=0,
spot_strategy="string",
tags={
"string": "string",
},
image_snapshot_id="string",
volumes=[alicloud.ess.EciScalingConfigurationVolumeArgs(
config_file_volume_config_file_to_paths=[alicloud.ess.EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPathArgs(
content="string",
path="string",
)],
disk_volume_disk_id="string",
disk_volume_disk_size=0,
disk_volume_fs_type="string",
flex_volume_driver="string",
flex_volume_fs_type="string",
flex_volume_options="string",
name="string",
nfs_volume_path="string",
nfs_volume_read_only=False,
nfs_volume_server="string",
type="string",
)])
const eciScalingConfigurationResource = new alicloud.ess.EciScalingConfiguration("eciScalingConfigurationResource", {
scalingGroupId: "string",
hostName: "string",
terminationGracePeriodSeconds: 0,
autoCreateEip: false,
imageRegistryCredentials: [{
password: "string",
server: "string",
username: "string",
}],
containerGroupName: "string",
containers: [{
args: ["string"],
commands: ["string"],
cpu: 0,
environmentVars: [{
fieldRefFieldPath: "string",
key: "string",
value: "string",
}],
gpu: 0,
image: "string",
imagePullPolicy: "string",
lifecyclePreStopHandlerExecs: ["string"],
livenessProbeExecCommands: ["string"],
livenessProbeFailureThreshold: 0,
livenessProbeHttpGetPath: "string",
livenessProbeHttpGetPort: 0,
livenessProbeHttpGetScheme: "string",
livenessProbeInitialDelaySeconds: 0,
livenessProbePeriodSeconds: 0,
livenessProbeSuccessThreshold: 0,
livenessProbeTcpSocketPort: 0,
livenessProbeTimeoutSeconds: 0,
memory: 0,
name: "string",
ports: [{
port: 0,
protocol: "string",
}],
readinessProbeExecCommands: ["string"],
readinessProbeFailureThreshold: 0,
readinessProbeHttpGetPath: "string",
readinessProbeHttpGetPort: 0,
readinessProbeHttpGetScheme: "string",
readinessProbeInitialDelaySeconds: 0,
readinessProbePeriodSeconds: 0,
readinessProbeSuccessThreshold: 0,
readinessProbeTcpSocketPort: 0,
readinessProbeTimeoutSeconds: 0,
securityContextCapabilityAdds: ["string"],
securityContextReadOnlyRootFileSystem: false,
securityContextRunAsUser: 0,
volumeMounts: [{
mountPath: "string",
name: "string",
readOnly: false,
}],
workingDir: "string",
}],
cpu: 0,
cpuOptionsCore: 0,
cpuOptionsThreadsPerCore: 0,
description: "string",
dnsPolicy: "string",
egressBandwidth: 0,
eipBandwidth: 0,
enableSls: false,
ephemeralStorage: 0,
forceDelete: false,
hostAliases: [{
hostnames: ["string"],
ip: "string",
}],
acrRegistryInfos: [{
domains: ["string"],
instanceId: "string",
instanceName: "string",
regionId: "string",
}],
autoMatchImageCache: false,
activeDeadlineSeconds: 0,
initContainers: [{
args: ["string"],
commands: ["string"],
cpu: 0,
environmentVars: [{
fieldRefFieldPath: "string",
key: "string",
value: "string",
}],
gpu: 0,
image: "string",
imagePullPolicy: "string",
memory: 0,
name: "string",
ports: [{
port: 0,
protocol: "string",
}],
securityContextCapabilityAdds: ["string"],
securityContextReadOnlyRootFileSystem: false,
securityContextRunAsUser: 0,
volumeMounts: [{
mountPath: "string",
name: "string",
readOnly: false,
}],
workingDir: "string",
}],
ingressBandwidth: 0,
instanceTypes: ["string"],
ipv6AddressCount: 0,
loadBalancerWeight: 0,
memory: 0,
ramRoleName: "string",
resourceGroupId: "string",
restartPolicy: "string",
scalingConfigurationName: "string",
active: false,
securityGroupId: "string",
spotPriceLimit: 0,
spotStrategy: "string",
tags: {
string: "string",
},
imageSnapshotId: "string",
volumes: [{
configFileVolumeConfigFileToPaths: [{
content: "string",
path: "string",
}],
diskVolumeDiskId: "string",
diskVolumeDiskSize: 0,
diskVolumeFsType: "string",
flexVolumeDriver: "string",
flexVolumeFsType: "string",
flexVolumeOptions: "string",
name: "string",
nfsVolumePath: "string",
nfsVolumeReadOnly: false,
nfsVolumeServer: "string",
type: "string",
}],
});
type: alicloud:ess:EciScalingConfiguration
properties:
acrRegistryInfos:
- domains:
- string
instanceId: string
instanceName: string
regionId: string
active: false
activeDeadlineSeconds: 0
autoCreateEip: false
autoMatchImageCache: false
containerGroupName: string
containers:
- args:
- string
commands:
- string
cpu: 0
environmentVars:
- fieldRefFieldPath: string
key: string
value: string
gpu: 0
image: string
imagePullPolicy: string
lifecyclePreStopHandlerExecs:
- string
livenessProbeExecCommands:
- string
livenessProbeFailureThreshold: 0
livenessProbeHttpGetPath: string
livenessProbeHttpGetPort: 0
livenessProbeHttpGetScheme: string
livenessProbeInitialDelaySeconds: 0
livenessProbePeriodSeconds: 0
livenessProbeSuccessThreshold: 0
livenessProbeTcpSocketPort: 0
livenessProbeTimeoutSeconds: 0
memory: 0
name: string
ports:
- port: 0
protocol: string
readinessProbeExecCommands:
- string
readinessProbeFailureThreshold: 0
readinessProbeHttpGetPath: string
readinessProbeHttpGetPort: 0
readinessProbeHttpGetScheme: string
readinessProbeInitialDelaySeconds: 0
readinessProbePeriodSeconds: 0
readinessProbeSuccessThreshold: 0
readinessProbeTcpSocketPort: 0
readinessProbeTimeoutSeconds: 0
securityContextCapabilityAdds:
- string
securityContextReadOnlyRootFileSystem: false
securityContextRunAsUser: 0
volumeMounts:
- mountPath: string
name: string
readOnly: false
workingDir: string
cpu: 0
cpuOptionsCore: 0
cpuOptionsThreadsPerCore: 0
description: string
dnsPolicy: string
egressBandwidth: 0
eipBandwidth: 0
enableSls: false
ephemeralStorage: 0
forceDelete: false
hostAliases:
- hostnames:
- string
ip: string
hostName: string
imageRegistryCredentials:
- password: string
server: string
username: string
imageSnapshotId: string
ingressBandwidth: 0
initContainers:
- args:
- string
commands:
- string
cpu: 0
environmentVars:
- fieldRefFieldPath: string
key: string
value: string
gpu: 0
image: string
imagePullPolicy: string
memory: 0
name: string
ports:
- port: 0
protocol: string
securityContextCapabilityAdds:
- string
securityContextReadOnlyRootFileSystem: false
securityContextRunAsUser: 0
volumeMounts:
- mountPath: string
name: string
readOnly: false
workingDir: string
instanceTypes:
- string
ipv6AddressCount: 0
loadBalancerWeight: 0
memory: 0
ramRoleName: string
resourceGroupId: string
restartPolicy: string
scalingConfigurationName: string
scalingGroupId: string
securityGroupId: string
spotPriceLimit: 0
spotStrategy: string
tags:
string: string
terminationGracePeriodSeconds: 0
volumes:
- configFileVolumeConfigFileToPaths:
- content: string
path: string
diskVolumeDiskId: string
diskVolumeDiskSize: 0
diskVolumeFsType: string
flexVolumeDriver: string
flexVolumeFsType: string
flexVolumeOptions: string
name: string
nfsVolumePath: string
nfsVolumeReadOnly: false
nfsVolumeServer: string
type: string
EciScalingConfiguration Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The EciScalingConfiguration resource accepts the following input properties:
- Scaling
Group stringId - ID of the scaling group of a eci scaling configuration.
- Acr
Registry List<Pulumi.Infos Ali Cloud. Ess. Inputs. Eci Scaling Configuration Acr Registry Info> - 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 intSeconds - The duration in seconds relative to the startTime that the job may be active before the system tries to terminate it.
- Auto
Create boolEip - Whether create eip automatically.
- Auto
Match boolImage Cache - Whether to automatically match the image cache.
- Container
Group stringName - 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.
Ali Cloud. Ess. Inputs. Eci Scaling Configuration Container> - The list of containers. See
containers
below for details. - Cpu double
- The amount of CPU resources allocated to the container group.
- Cpu
Options intCore - The number of physical CPU cores. You can specify this parameter for only specific instance types.
- Cpu
Options intThreads Per Core - The number of threads per core. You can specify this parameter for only specific instance types. If you set this parameter to 1, Hyper-Threading is disabled.
- Description string
- The description of data disk N. Valid values of N: 1 to 16. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
- Dns
Policy string - 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 List<Pulumi.Ali Cloud. Ess. Inputs. Eci Scaling Configuration Host Alias> - HostAliases. See
host_aliases
below. - Host
Name string - Hostname of an ECI instance.
- Image
Registry List<Pulumi.Credentials Ali Cloud. Ess. Inputs. Eci Scaling Configuration Image Registry Credential> - The image registry credential. See
image_registry_credentials
below for details. - Image
Snapshot stringId - The ID of image cache.
- Ingress
Bandwidth int - Ingress bandwidth.
- Init
Containers List<Pulumi.Ali Cloud. Ess. Inputs. Eci Scaling Configuration Init Container> - The list of initContainers. See
init_containers
below for details. - Instance
Types List<string> - The specified ECS instance types. You can specify up to five ECS instance types.
- Ipv6Address
Count int - Number of IPv6 addresses.
- Load
Balancer intWeight - The weight of an ECI instance attached to the Server Group.
- Memory double
- The amount of memory resources allocated to the container group.
- Ram
Role stringName - The RAM role that the container group assumes. ECI and ECS share the same RAM role.
- Resource
Group stringId - ID of resource group.
- Restart
Policy string - The restart policy of the container group. Default to
Always
. - Scaling
Configuration stringName - 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 stringId - ID of the security group used to create new instance. It is conflict
with
security_group_ids
. - Spot
Price doubleLimit - The maximum price hourly for spot instance.
- Spot
Strategy string - The spot strategy for a Pay-As-You-Go instance. Valid values:
NoSpot
,SpotAsPriceGo
,SpotWithPriceLimit
. - Dictionary<string, string>
- A mapping of tags to assign to the resource. It will be applied for ECI instances finally.
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string.
- Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string.
- Termination
Grace intPeriod Seconds - The program's buffering time before closing.
- Volumes
List<Pulumi.
Ali Cloud. Ess. Inputs. Eci Scaling Configuration Volume> - The list of volumes. See
volumes
below for details.
- Scaling
Group stringId - ID of the scaling group of a eci scaling configuration.
- Acr
Registry []EciInfos Scaling Configuration Acr Registry Info Args - 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 intSeconds - The duration in seconds relative to the startTime that the job may be active before the system tries to terminate it.
- Auto
Create boolEip - Whether create eip automatically.
- Auto
Match boolImage Cache - Whether to automatically match the image cache.
- Container
Group stringName - 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
[]Eci
Scaling Configuration Container Args - The list of containers. See
containers
below for details. - Cpu float64
- The amount of CPU resources allocated to the container group.
- Cpu
Options intCore - The number of physical CPU cores. You can specify this parameter for only specific instance types.
- Cpu
Options intThreads Per Core - The number of threads per core. You can specify this parameter for only specific instance types. If you set this parameter to 1, Hyper-Threading is disabled.
- Description string
- The description of data disk N. Valid values of N: 1 to 16. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
- Dns
Policy string - 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 []EciScaling Configuration Host Alias Args - HostAliases. See
host_aliases
below. - Host
Name string - Hostname of an ECI instance.
- Image
Registry []EciCredentials Scaling Configuration Image Registry Credential Args - The image registry credential. See
image_registry_credentials
below for details. - Image
Snapshot stringId - The ID of image cache.
- Ingress
Bandwidth int - Ingress bandwidth.
- Init
Containers []EciScaling Configuration Init Container Args - The list of initContainers. See
init_containers
below for details. - Instance
Types []string - The specified ECS instance types. You can specify up to five ECS instance types.
- Ipv6Address
Count int - Number of IPv6 addresses.
- Load
Balancer intWeight - The weight of an ECI instance attached to the Server Group.
- Memory float64
- The amount of memory resources allocated to the container group.
- Ram
Role stringName - The RAM role that the container group assumes. ECI and ECS share the same RAM role.
- Resource
Group stringId - ID of resource group.
- Restart
Policy string - The restart policy of the container group. Default to
Always
. - Scaling
Configuration stringName - 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 stringId - ID of the security group used to create new instance. It is conflict
with
security_group_ids
. - Spot
Price float64Limit - The maximum price hourly for spot instance.
- Spot
Strategy string - The spot strategy for a Pay-As-You-Go instance. Valid values:
NoSpot
,SpotAsPriceGo
,SpotWithPriceLimit
. - map[string]string
- A mapping of tags to assign to the resource. It will be applied for ECI instances finally.
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string.
- Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string.
- Termination
Grace intPeriod Seconds - The program's buffering time before closing.
- Volumes
[]Eci
Scaling Configuration Volume Args - The list of volumes. See
volumes
below for details.
- scaling
Group StringId - ID of the scaling group of a eci scaling configuration.
- acr
Registry List<EciInfos Scaling Configuration Acr Registry Info> - 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
. - active
Deadline IntegerSeconds - The duration in seconds relative to the startTime that the job may be active before the system tries to terminate it.
- auto
Create BooleanEip - Whether create eip automatically.
- auto
Match BooleanImage Cache - Whether to automatically match the image cache.
- container
Group StringName - 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<Eci
Scaling Configuration Container> - The list of containers. See
containers
below for details. - cpu Double
- The amount of CPU resources allocated to the container group.
- cpu
Options IntegerCore - The number of physical CPU cores. You can specify this parameter for only specific instance types.
- cpu
Options IntegerThreads Per Core - The number of threads per core. You can specify this parameter for only specific instance types. If you set this parameter to 1, Hyper-Threading is disabled.
- description String
- The description of data disk N. Valid values of N: 1 to 16. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
- dns
Policy String - dns policy of contain group.
- egress
Bandwidth Integer - egress bandwidth.
- eip
Bandwidth Integer - Eip bandwidth.
- enable
Sls Boolean - Enable sls log service.
- ephemeral
Storage Integer - The size of ephemeral storage.
- force
Delete Boolean - The eci scaling configuration will be deleted forcibly with deleting its scaling group. Default to false.
- host
Aliases List<EciScaling Configuration Host Alias> - HostAliases. See
host_aliases
below. - host
Name String - Hostname of an ECI instance.
- image
Registry List<EciCredentials Scaling Configuration Image Registry Credential> - The image registry credential. See
image_registry_credentials
below for details. - image
Snapshot StringId - The ID of image cache.
- ingress
Bandwidth Integer - Ingress bandwidth.
- init
Containers List<EciScaling Configuration Init Container> - The list of initContainers. See
init_containers
below for details. - instance
Types List<String> - The specified ECS instance types. You can specify up to five ECS instance types.
- ipv6Address
Count Integer - Number of IPv6 addresses.
- load
Balancer IntegerWeight - The weight of an ECI instance attached to the Server Group.
- memory Double
- The amount of memory resources allocated to the container group.
- ram
Role StringName - The RAM role that the container group assumes. ECI and ECS share the same RAM role.
- resource
Group StringId - ID of resource group.
- restart
Policy String - The restart policy of the container group. Default to
Always
. - scaling
Configuration StringName - 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 StringId - ID of the security group used to create new instance. It is conflict
with
security_group_ids
. - spot
Price DoubleLimit - The maximum price hourly for spot instance.
- spot
Strategy String - The spot strategy for a Pay-As-You-Go instance. Valid values:
NoSpot
,SpotAsPriceGo
,SpotWithPriceLimit
. - Map<String,String>
- A mapping of tags to assign to the resource. It will be applied for ECI instances finally.
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string.
- Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string.
- termination
Grace IntegerPeriod Seconds - The program's buffering time before closing.
- volumes
List<Eci
Scaling Configuration Volume> - The list of volumes. See
volumes
below for details.
- scaling
Group stringId - ID of the scaling group of a eci scaling configuration.
- acr
Registry EciInfos Scaling Configuration Acr Registry Info[] - 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
. - active
Deadline numberSeconds - The duration in seconds relative to the startTime that the job may be active before the system tries to terminate it.
- auto
Create booleanEip - Whether create eip automatically.
- auto
Match booleanImage Cache - Whether to automatically match the image cache.
- container
Group stringName - 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
Eci
Scaling Configuration Container[] - The list of containers. See
containers
below for details. - cpu number
- The amount of CPU resources allocated to the container group.
- cpu
Options numberCore - The number of physical CPU cores. You can specify this parameter for only specific instance types.
- cpu
Options numberThreads Per Core - The number of threads per core. You can specify this parameter for only specific instance types. If you set this parameter to 1, Hyper-Threading is disabled.
- description string
- The description of data disk N. Valid values of N: 1 to 16. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
- dns
Policy string - dns policy of contain group.
- egress
Bandwidth number - egress bandwidth.
- eip
Bandwidth number - Eip bandwidth.
- enable
Sls boolean - Enable sls log service.
- ephemeral
Storage number - The size of ephemeral storage.
- force
Delete boolean - The eci scaling configuration will be deleted forcibly with deleting its scaling group. Default to false.
- host
Aliases EciScaling Configuration Host Alias[] - HostAliases. See
host_aliases
below. - host
Name string - Hostname of an ECI instance.
- image
Registry EciCredentials Scaling Configuration Image Registry Credential[] - The image registry credential. See
image_registry_credentials
below for details. - image
Snapshot stringId - The ID of image cache.
- ingress
Bandwidth number - Ingress bandwidth.
- init
Containers EciScaling Configuration Init Container[] - The list of initContainers. See
init_containers
below for details. - instance
Types string[] - The specified ECS instance types. You can specify up to five ECS instance types.
- ipv6Address
Count number - Number of IPv6 addresses.
- load
Balancer numberWeight - The weight of an ECI instance attached to the Server Group.
- memory number
- The amount of memory resources allocated to the container group.
- ram
Role stringName - The RAM role that the container group assumes. ECI and ECS share the same RAM role.
- resource
Group stringId - ID of resource group.
- restart
Policy string - The restart policy of the container group. Default to
Always
. - scaling
Configuration stringName - 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 stringId - ID of the security group used to create new instance. It is conflict
with
security_group_ids
. - spot
Price numberLimit - The maximum price hourly for spot instance.
- spot
Strategy string - The spot strategy for a Pay-As-You-Go instance. Valid values:
NoSpot
,SpotAsPriceGo
,SpotWithPriceLimit
. - {[key: string]: string}
- A mapping of tags to assign to the resource. It will be applied for ECI instances finally.
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string.
- Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string.
- termination
Grace numberPeriod Seconds - The program's buffering time before closing.
- volumes
Eci
Scaling Configuration Volume[] - The list of volumes. See
volumes
below for details.
- scaling_
group_ strid - ID of the scaling group of a eci scaling configuration.
- acr_
registry_ Sequence[Eciinfos Scaling Configuration Acr Registry Info Args] - 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_ intseconds - The duration in seconds relative to the startTime that the job may be active before the system tries to terminate it.
- auto_
create_ booleip - Whether create eip automatically.
- auto_
match_ boolimage_ cache - Whether to automatically match the image cache.
- container_
group_ strname - 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[Eci
Scaling Configuration Container Args] - The list of containers. See
containers
below for details. - cpu float
- The amount of CPU resources allocated to the container group.
- cpu_
options_ intcore - The number of physical CPU cores. You can specify this parameter for only specific instance types.
- cpu_
options_ intthreads_ per_ core - The number of threads per core. You can specify this parameter for only specific instance types. If you set this parameter to 1, Hyper-Threading is disabled.
- description str
- The description of data disk N. Valid values of N: 1 to 16. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
- dns_
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[EciScaling Configuration Host Alias Args] - HostAliases. See
host_aliases
below. - host_
name str - Hostname of an ECI instance.
- image_
registry_ Sequence[Ecicredentials Scaling Configuration Image Registry Credential Args] - The image registry credential. See
image_registry_credentials
below for details. - image_
snapshot_ strid - The ID of image cache.
- ingress_
bandwidth int - Ingress bandwidth.
- init_
containers Sequence[EciScaling Configuration Init Container Args] - The list of initContainers. See
init_containers
below for details. - instance_
types Sequence[str] - The specified ECS instance types. You can specify up to five ECS instance types.
- ipv6_
address_ intcount - Number of IPv6 addresses.
- load_
balancer_ intweight - 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_ strname - The RAM role that the container group assumes. ECI and ECS share the same RAM role.
- resource_
group_ strid - ID of resource group.
- restart_
policy str - The restart policy of the container group. Default to
Always
. - scaling_
configuration_ strname - 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_ strid - ID of the security group used to create new instance. It is conflict
with
security_group_ids
. - spot_
price_ floatlimit - 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
. - Mapping[str, str]
- A mapping of tags to assign to the resource. It will be applied for ECI instances finally.
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string.
- Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string.
- termination_
grace_ intperiod_ seconds - The program's buffering time before closing.
- volumes
Sequence[Eci
Scaling Configuration Volume Args] - The list of volumes. See
volumes
below for details.
- scaling
Group StringId - ID of the scaling group of a eci scaling configuration.
- acr
Registry List<Property Map>Infos - 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
. - active
Deadline NumberSeconds - The duration in seconds relative to the startTime that the job may be active before the system tries to terminate it.
- auto
Create BooleanEip - Whether create eip automatically.
- auto
Match BooleanImage Cache - Whether to automatically match the image cache.
- container
Group StringName - 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.
- cpu
Options NumberCore - The number of physical CPU cores. You can specify this parameter for only specific instance types.
- cpu
Options NumberThreads Per Core - The number of threads per core. You can specify this parameter for only specific instance types. If you set this parameter to 1, Hyper-Threading is disabled.
- description String
- The description of data disk N. Valid values of N: 1 to 16. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
- dns
Policy String - dns policy of contain group.
- egress
Bandwidth Number - egress bandwidth.
- eip
Bandwidth Number - Eip bandwidth.
- enable
Sls Boolean - Enable sls log service.
- ephemeral
Storage Number - The size of ephemeral storage.
- force
Delete Boolean - The eci scaling configuration will be deleted forcibly with deleting its scaling group. Default to false.
- host
Aliases List<Property Map> - HostAliases. See
host_aliases
below. - host
Name String - Hostname of an ECI instance.
- image
Registry List<Property Map>Credentials - The image registry credential. See
image_registry_credentials
below for details. - image
Snapshot StringId - The ID of image cache.
- ingress
Bandwidth Number - Ingress bandwidth.
- init
Containers List<Property Map> - The list of initContainers. See
init_containers
below for details. - instance
Types List<String> - The specified ECS instance types. You can specify up to five ECS instance types.
- ipv6Address
Count Number - Number of IPv6 addresses.
- load
Balancer NumberWeight - The weight of an ECI instance attached to the Server Group.
- memory Number
- The amount of memory resources allocated to the container group.
- ram
Role StringName - The RAM role that the container group assumes. ECI and ECS share the same RAM role.
- resource
Group StringId - ID of resource group.
- restart
Policy String - The restart policy of the container group. Default to
Always
. - scaling
Configuration StringName - 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 StringId - ID of the security group used to create new instance. It is conflict
with
security_group_ids
. - spot
Price NumberLimit - The maximum price hourly for spot instance.
- spot
Strategy String - The spot strategy for a Pay-As-You-Go instance. Valid values:
NoSpot
,SpotAsPriceGo
,SpotWithPriceLimit
. - Map<String>
- A mapping of tags to assign to the resource. It will be applied for ECI instances finally.
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string.
- Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string.
- termination
Grace NumberPeriod Seconds - 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,
cpu_options_core: Optional[int] = None,
cpu_options_threads_per_core: Optional[int] = 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,
instance_types: Optional[Sequence[str]] = None,
ipv6_address_count: Optional[int] = None,
load_balancer_weight: Optional[int] = None,
memory: Optional[float] = None,
ram_role_name: Optional[str] = None,
resource_group_id: Optional[str] = None,
restart_policy: Optional[str] = None,
scaling_configuration_name: Optional[str] = None,
scaling_group_id: Optional[str] = None,
security_group_id: Optional[str] = None,
spot_price_limit: Optional[float] = None,
spot_strategy: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
termination_grace_period_seconds: Optional[int] = None,
volumes: Optional[Sequence[EciScalingConfigurationVolumeArgs]] = None) -> EciScalingConfiguration
func GetEciScalingConfiguration(ctx *Context, name string, id IDInput, state *EciScalingConfigurationState, opts ...ResourceOption) (*EciScalingConfiguration, error)
public static EciScalingConfiguration Get(string name, Input<string> id, EciScalingConfigurationState? state, CustomResourceOptions? opts = null)
public static EciScalingConfiguration get(String name, Output<String> id, EciScalingConfigurationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Acr
Registry List<Pulumi.Infos Ali Cloud. Ess. Inputs. Eci Scaling Configuration Acr Registry Info> - 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 intSeconds - The duration in seconds relative to the startTime that the job may be active before the system tries to terminate it.
- Auto
Create boolEip - Whether create eip automatically.
- Auto
Match boolImage Cache - Whether to automatically match the image cache.
- Container
Group stringName - 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.
Ali Cloud. Ess. Inputs. Eci Scaling Configuration Container> - The list of containers. See
containers
below for details. - Cpu double
- The amount of CPU resources allocated to the container group.
- Cpu
Options intCore - The number of physical CPU cores. You can specify this parameter for only specific instance types.
- Cpu
Options intThreads Per Core - The number of threads per core. You can specify this parameter for only specific instance types. If you set this parameter to 1, Hyper-Threading is disabled.
- Description string
- The description of data disk N. Valid values of N: 1 to 16. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
- Dns
Policy string - 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 List<Pulumi.Ali Cloud. Ess. Inputs. Eci Scaling Configuration Host Alias> - HostAliases. See
host_aliases
below. - Host
Name string - Hostname of an ECI instance.
- Image
Registry List<Pulumi.Credentials Ali Cloud. Ess. Inputs. Eci Scaling Configuration Image Registry Credential> - The image registry credential. See
image_registry_credentials
below for details. - Image
Snapshot stringId - The ID of image cache.
- Ingress
Bandwidth int - Ingress bandwidth.
- Init
Containers List<Pulumi.Ali Cloud. Ess. Inputs. Eci Scaling Configuration Init Container> - The list of initContainers. See
init_containers
below for details. - Instance
Types List<string> - The specified ECS instance types. You can specify up to five ECS instance types.
- Ipv6Address
Count int - Number of IPv6 addresses.
- Load
Balancer intWeight - The weight of an ECI instance attached to the Server Group.
- Memory double
- The amount of memory resources allocated to the container group.
- Ram
Role stringName - The RAM role that the container group assumes. ECI and ECS share the same RAM role.
- Resource
Group stringId - ID of resource group.
- Restart
Policy string - The restart policy of the container group. Default to
Always
. - Scaling
Configuration stringName - 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 stringId - ID of the scaling group of a eci scaling configuration.
- Security
Group stringId - ID of the security group used to create new instance. It is conflict
with
security_group_ids
. - Spot
Price doubleLimit - The maximum price hourly for spot instance.
- Spot
Strategy string - The spot strategy for a Pay-As-You-Go instance. Valid values:
NoSpot
,SpotAsPriceGo
,SpotWithPriceLimit
. - Dictionary<string, string>
- A mapping of tags to assign to the resource. It will be applied for ECI instances finally.
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string.
- Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string.
- Termination
Grace intPeriod Seconds - The program's buffering time before closing.
- Volumes
List<Pulumi.
Ali Cloud. Ess. Inputs. Eci Scaling Configuration Volume> - The list of volumes. See
volumes
below for details.
- Acr
Registry []EciInfos Scaling Configuration Acr Registry Info Args - 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 intSeconds - The duration in seconds relative to the startTime that the job may be active before the system tries to terminate it.
- Auto
Create boolEip - Whether create eip automatically.
- Auto
Match boolImage Cache - Whether to automatically match the image cache.
- Container
Group stringName - 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
[]Eci
Scaling Configuration Container Args - The list of containers. See
containers
below for details. - Cpu float64
- The amount of CPU resources allocated to the container group.
- Cpu
Options intCore - The number of physical CPU cores. You can specify this parameter for only specific instance types.
- Cpu
Options intThreads Per Core - The number of threads per core. You can specify this parameter for only specific instance types. If you set this parameter to 1, Hyper-Threading is disabled.
- Description string
- The description of data disk N. Valid values of N: 1 to 16. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
- Dns
Policy string - 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 []EciScaling Configuration Host Alias Args - HostAliases. See
host_aliases
below. - Host
Name string - Hostname of an ECI instance.
- Image
Registry []EciCredentials Scaling Configuration Image Registry Credential Args - The image registry credential. See
image_registry_credentials
below for details. - Image
Snapshot stringId - The ID of image cache.
- Ingress
Bandwidth int - Ingress bandwidth.
- Init
Containers []EciScaling Configuration Init Container Args - The list of initContainers. See
init_containers
below for details. - Instance
Types []string - The specified ECS instance types. You can specify up to five ECS instance types.
- Ipv6Address
Count int - Number of IPv6 addresses.
- Load
Balancer intWeight - The weight of an ECI instance attached to the Server Group.
- Memory float64
- The amount of memory resources allocated to the container group.
- Ram
Role stringName - The RAM role that the container group assumes. ECI and ECS share the same RAM role.
- Resource
Group stringId - ID of resource group.
- Restart
Policy string - The restart policy of the container group. Default to
Always
. - Scaling
Configuration stringName - 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 stringId - ID of the scaling group of a eci scaling configuration.
- Security
Group stringId - ID of the security group used to create new instance. It is conflict
with
security_group_ids
. - Spot
Price float64Limit - The maximum price hourly for spot instance.
- Spot
Strategy string - The spot strategy for a Pay-As-You-Go instance. Valid values:
NoSpot
,SpotAsPriceGo
,SpotWithPriceLimit
. - map[string]string
- A mapping of tags to assign to the resource. It will be applied for ECI instances finally.
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string.
- Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string.
- Termination
Grace intPeriod Seconds - The program's buffering time before closing.
- Volumes
[]Eci
Scaling Configuration Volume Args - The list of volumes. See
volumes
below for details.
- acr
Registry List<EciInfos Scaling Configuration Acr Registry Info> - 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
. - active
Deadline IntegerSeconds - The duration in seconds relative to the startTime that the job may be active before the system tries to terminate it.
- auto
Create BooleanEip - Whether create eip automatically.
- auto
Match BooleanImage Cache - Whether to automatically match the image cache.
- container
Group StringName - 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<Eci
Scaling Configuration Container> - The list of containers. See
containers
below for details. - cpu Double
- The amount of CPU resources allocated to the container group.
- cpu
Options IntegerCore - The number of physical CPU cores. You can specify this parameter for only specific instance types.
- cpu
Options IntegerThreads Per Core - The number of threads per core. You can specify this parameter for only specific instance types. If you set this parameter to 1, Hyper-Threading is disabled.
- description String
- The description of data disk N. Valid values of N: 1 to 16. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
- dns
Policy String - dns policy of contain group.
- egress
Bandwidth Integer - egress bandwidth.
- eip
Bandwidth Integer - Eip bandwidth.
- enable
Sls Boolean - Enable sls log service.
- ephemeral
Storage Integer - The size of ephemeral storage.
- force
Delete Boolean - The eci scaling configuration will be deleted forcibly with deleting its scaling group. Default to false.
- host
Aliases List<EciScaling Configuration Host Alias> - HostAliases. See
host_aliases
below. - host
Name String - Hostname of an ECI instance.
- image
Registry List<EciCredentials Scaling Configuration Image Registry Credential> - The image registry credential. See
image_registry_credentials
below for details. - image
Snapshot StringId - The ID of image cache.
- ingress
Bandwidth Integer - Ingress bandwidth.
- init
Containers List<EciScaling Configuration Init Container> - The list of initContainers. See
init_containers
below for details. - instance
Types List<String> - The specified ECS instance types. You can specify up to five ECS instance types.
- ipv6Address
Count Integer - Number of IPv6 addresses.
- load
Balancer IntegerWeight - The weight of an ECI instance attached to the Server Group.
- memory Double
- The amount of memory resources allocated to the container group.
- ram
Role StringName - The RAM role that the container group assumes. ECI and ECS share the same RAM role.
- resource
Group StringId - ID of resource group.
- restart
Policy String - The restart policy of the container group. Default to
Always
. - scaling
Configuration StringName - 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 StringId - ID of the scaling group of a eci scaling configuration.
- security
Group StringId - ID of the security group used to create new instance. It is conflict
with
security_group_ids
. - spot
Price DoubleLimit - The maximum price hourly for spot instance.
- spot
Strategy String - The spot strategy for a Pay-As-You-Go instance. Valid values:
NoSpot
,SpotAsPriceGo
,SpotWithPriceLimit
. - Map<String,String>
- A mapping of tags to assign to the resource. It will be applied for ECI instances finally.
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string.
- Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string.
- termination
Grace IntegerPeriod Seconds - The program's buffering time before closing.
- volumes
List<Eci
Scaling Configuration Volume> - The list of volumes. See
volumes
below for details.
- acr
Registry EciInfos Scaling Configuration Acr Registry Info[] - 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
. - active
Deadline numberSeconds - The duration in seconds relative to the startTime that the job may be active before the system tries to terminate it.
- auto
Create booleanEip - Whether create eip automatically.
- auto
Match booleanImage Cache - Whether to automatically match the image cache.
- container
Group stringName - 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
Eci
Scaling Configuration Container[] - The list of containers. See
containers
below for details. - cpu number
- The amount of CPU resources allocated to the container group.
- cpu
Options numberCore - The number of physical CPU cores. You can specify this parameter for only specific instance types.
- cpu
Options numberThreads Per Core - The number of threads per core. You can specify this parameter for only specific instance types. If you set this parameter to 1, Hyper-Threading is disabled.
- description string
- The description of data disk N. Valid values of N: 1 to 16. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
- dns
Policy string - dns policy of contain group.
- egress
Bandwidth number - egress bandwidth.
- eip
Bandwidth number - Eip bandwidth.
- enable
Sls boolean - Enable sls log service.
- ephemeral
Storage number - The size of ephemeral storage.
- force
Delete boolean - The eci scaling configuration will be deleted forcibly with deleting its scaling group. Default to false.
- host
Aliases EciScaling Configuration Host Alias[] - HostAliases. See
host_aliases
below. - host
Name string - Hostname of an ECI instance.
- image
Registry EciCredentials Scaling Configuration Image Registry Credential[] - The image registry credential. See
image_registry_credentials
below for details. - image
Snapshot stringId - The ID of image cache.
- ingress
Bandwidth number - Ingress bandwidth.
- init
Containers EciScaling Configuration Init Container[] - The list of initContainers. See
init_containers
below for details. - instance
Types string[] - The specified ECS instance types. You can specify up to five ECS instance types.
- ipv6Address
Count number - Number of IPv6 addresses.
- load
Balancer numberWeight - The weight of an ECI instance attached to the Server Group.
- memory number
- The amount of memory resources allocated to the container group.
- ram
Role stringName - The RAM role that the container group assumes. ECI and ECS share the same RAM role.
- resource
Group stringId - ID of resource group.
- restart
Policy string - The restart policy of the container group. Default to
Always
. - scaling
Configuration stringName - 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 stringId - ID of the scaling group of a eci scaling configuration.
- security
Group stringId - ID of the security group used to create new instance. It is conflict
with
security_group_ids
. - spot
Price numberLimit - The maximum price hourly for spot instance.
- spot
Strategy string - The spot strategy for a Pay-As-You-Go instance. Valid values:
NoSpot
,SpotAsPriceGo
,SpotWithPriceLimit
. - {[key: string]: string}
- A mapping of tags to assign to the resource. It will be applied for ECI instances finally.
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string.
- Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string.
- termination
Grace numberPeriod Seconds - The program's buffering time before closing.
- volumes
Eci
Scaling Configuration Volume[] - The list of volumes. See
volumes
below for details.
- acr_
registry_ Sequence[Eciinfos Scaling Configuration Acr Registry Info Args] - 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_ intseconds - The duration in seconds relative to the startTime that the job may be active before the system tries to terminate it.
- auto_
create_ booleip - Whether create eip automatically.
- auto_
match_ boolimage_ cache - Whether to automatically match the image cache.
- container_
group_ strname - 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[Eci
Scaling Configuration Container Args] - The list of containers. See
containers
below for details. - cpu float
- The amount of CPU resources allocated to the container group.
- cpu_
options_ intcore - The number of physical CPU cores. You can specify this parameter for only specific instance types.
- cpu_
options_ intthreads_ per_ core - The number of threads per core. You can specify this parameter for only specific instance types. If you set this parameter to 1, Hyper-Threading is disabled.
- description str
- The description of data disk N. Valid values of N: 1 to 16. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
- dns_
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[EciScaling Configuration Host Alias Args] - HostAliases. See
host_aliases
below. - host_
name str - Hostname of an ECI instance.
- image_
registry_ Sequence[Ecicredentials Scaling Configuration Image Registry Credential Args] - The image registry credential. See
image_registry_credentials
below for details. - image_
snapshot_ strid - The ID of image cache.
- ingress_
bandwidth int - Ingress bandwidth.
- init_
containers Sequence[EciScaling Configuration Init Container Args] - The list of initContainers. See
init_containers
below for details. - instance_
types Sequence[str] - The specified ECS instance types. You can specify up to five ECS instance types.
- ipv6_
address_ intcount - Number of IPv6 addresses.
- load_
balancer_ intweight - 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_ strname - The RAM role that the container group assumes. ECI and ECS share the same RAM role.
- resource_
group_ strid - ID of resource group.
- restart_
policy str - The restart policy of the container group. Default to
Always
. - scaling_
configuration_ strname - 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_ strid - ID of the scaling group of a eci scaling configuration.
- security_
group_ strid - ID of the security group used to create new instance. It is conflict
with
security_group_ids
. - spot_
price_ floatlimit - 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
. - Mapping[str, str]
- A mapping of tags to assign to the resource. It will be applied for ECI instances finally.
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string.
- Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string.
- termination_
grace_ intperiod_ seconds - The program's buffering time before closing.
- volumes
Sequence[Eci
Scaling Configuration Volume Args] - The list of volumes. See
volumes
below for details.
- acr
Registry List<Property Map>Infos - 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
. - active
Deadline NumberSeconds - The duration in seconds relative to the startTime that the job may be active before the system tries to terminate it.
- auto
Create BooleanEip - Whether create eip automatically.
- auto
Match BooleanImage Cache - Whether to automatically match the image cache.
- container
Group StringName - 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.
- cpu
Options NumberCore - The number of physical CPU cores. You can specify this parameter for only specific instance types.
- cpu
Options NumberThreads Per Core - The number of threads per core. You can specify this parameter for only specific instance types. If you set this parameter to 1, Hyper-Threading is disabled.
- description String
- The description of data disk N. Valid values of N: 1 to 16. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
- dns
Policy String - dns policy of contain group.
- egress
Bandwidth Number - egress bandwidth.
- eip
Bandwidth Number - Eip bandwidth.
- enable
Sls Boolean - Enable sls log service.
- ephemeral
Storage Number - The size of ephemeral storage.
- force
Delete Boolean - The eci scaling configuration will be deleted forcibly with deleting its scaling group. Default to false.
- host
Aliases List<Property Map> - HostAliases. See
host_aliases
below. - host
Name String - Hostname of an ECI instance.
- image
Registry List<Property Map>Credentials - The image registry credential. See
image_registry_credentials
below for details. - image
Snapshot StringId - The ID of image cache.
- ingress
Bandwidth Number - Ingress bandwidth.
- init
Containers List<Property Map> - The list of initContainers. See
init_containers
below for details. - instance
Types List<String> - The specified ECS instance types. You can specify up to five ECS instance types.
- ipv6Address
Count Number - Number of IPv6 addresses.
- load
Balancer NumberWeight - The weight of an ECI instance attached to the Server Group.
- memory Number
- The amount of memory resources allocated to the container group.
- ram
Role StringName - The RAM role that the container group assumes. ECI and ECS share the same RAM role.
- resource
Group StringId - ID of resource group.
- restart
Policy String - The restart policy of the container group. Default to
Always
. - scaling
Configuration StringName - 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 StringId - ID of the scaling group of a eci scaling configuration.
- security
Group StringId - ID of the security group used to create new instance. It is conflict
with
security_group_ids
. - spot
Price NumberLimit - The maximum price hourly for spot instance.
- spot
Strategy String - The spot strategy for a Pay-As-You-Go instance. Valid values:
NoSpot
,SpotAsPriceGo
,SpotWithPriceLimit
. - Map<String>
- A mapping of tags to assign to the resource. It will be applied for ECI instances finally.
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string.
- Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string.
- termination
Grace NumberPeriod Seconds - 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. - Instance
Id string - The ID of Container Registry Enterprise Edition instance. It is required
when
acr_registry_info
is configured. - Instance
Name string - The name of Container Registry Enterprise Edition instance. It is required when
acr_registry_info
is configured. - Region
Id 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. - Instance
Id string - The ID of Container Registry Enterprise Edition instance. It is required
when
acr_registry_info
is configured. - Instance
Name string - The name of Container Registry Enterprise Edition instance. It is required when
acr_registry_info
is configured. - Region
Id 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. - instance
Id String - The ID of Container Registry Enterprise Edition instance. It is required
when
acr_registry_info
is configured. - instance
Name String - The name of Container Registry Enterprise Edition instance. It is required when
acr_registry_info
is configured. - region
Id 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. - instance
Id string - The ID of Container Registry Enterprise Edition instance. It is required
when
acr_registry_info
is configured. - instance
Name string - The name of Container Registry Enterprise Edition instance. It is required when
acr_registry_info
is configured. - region
Id 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. - instance
Id String - The ID of Container Registry Enterprise Edition instance. It is required
when
acr_registry_info
is configured. - instance
Name String - The name of Container Registry Enterprise Edition instance. It is required when
acr_registry_info
is configured. - region
Id 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.
- Environment
Vars List<Pulumi.Ali Cloud. Ess. Inputs. Eci Scaling Configuration Container Environment Var> - The structure of environmentVars.
See
environment_vars
below for details. - Gpu int
- The number GPUs.
- Image string
- The image of the container.
- Image
Pull stringPolicy - The restart policy of the image.
- Lifecycle
Pre List<string>Stop Handler Execs - The commands to be executed in containers when you use the CLI to specify the preStop callback function.
- Liveness
Probe List<string>Exec Commands - Commands that you want to run in containers when you use the CLI to perform liveness probes.
- Liveness
Probe intFailure Threshold - The minimum number of consecutive failures for the liveness probe to be considered failed after having been successful. Default value: 3.
- Liveness
Probe stringHttp Get Path - The path to which HTTP GET requests are sent when you use HTTP requests to perform liveness probes.
- Liveness
Probe intHttp Get Port - The port to which HTTP GET requests are sent when you use HTTP requests to perform liveness probes.
- Liveness
Probe stringHttp Get Scheme - The protocol type of HTTP GET requests when you use HTTP requests for liveness probes.Valid values:HTTP and HTTPS.
- Liveness
Probe intInitial Delay Seconds - The number of seconds after container has started before liveness probes are initiated.
- Liveness
Probe intPeriod Seconds - The interval at which the liveness probe is performed. Unit: seconds. Default value: 10. Minimum value: 1.
- Liveness
Probe intSuccess Threshold - 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 intTcp Socket Port - The port detected by TCP sockets when you use TCP sockets to perform liveness probes.
- Liveness
Probe intTimeout Seconds - 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.
Ali Cloud. Ess. Inputs. Eci Scaling Configuration Container Port> - The structure of port. See
ports
below for details. - Readiness
Probe List<string>Exec Commands - Commands that you want to run in containers when you use the CLI to perform readiness probes.
- Readiness
Probe intFailure Threshold - The minimum number of consecutive failures for the readiness probe to be considered failed after having been successful. Default value: 3.
- Readiness
Probe stringHttp Get Path - The path to which HTTP GET requests are sent when you use HTTP requests to perform readiness probes.
- Readiness
Probe intHttp Get Port - The port to which HTTP GET requests are sent when you use HTTP requests to perform readiness probes.
- Readiness
Probe stringHttp Get Scheme - The protocol type of HTTP GET requests when you use HTTP requests for readiness probes. Valid values: HTTP and HTTPS.
- Readiness
Probe intInitial Delay Seconds - The number of seconds after container N has started before readiness probes are initiated.
- Readiness
Probe intPeriod Seconds - The interval at which the readiness probe is performed. Unit: seconds. Default value: 10. Minimum value: 1.
- Readiness
Probe intSuccess Threshold - 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 intTcp Socket Port - The port detected by Transmission Control Protocol (TCP) sockets when you use TCP sockets to perform readiness probes.
- Readiness
Probe intTimeout Seconds - The timeout period for the readiness probe. Unit: seconds. Default value: 1. Minimum value: 1.
- Security
Context List<string>Capability Adds - 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 boolRead Only Root File System - Mounts the container's root filesystem as read-only.
- Security
Context intRun As User - Specifies user ID under which all processes run.
- Volume
Mounts List<Pulumi.Ali Cloud. Ess. Inputs. Eci Scaling Configuration Container Volume Mount> - The structure of volumeMounts.
See
volume_mounts
below for details. - Working
Dir 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.
- Environment
Vars []EciScaling Configuration Container Environment Var - The structure of environmentVars.
See
environment_vars
below for details. - Gpu int
- The number GPUs.
- Image string
- The image of the container.
- Image
Pull stringPolicy - The restart policy of the image.
- Lifecycle
Pre []stringStop Handler Execs - The commands to be executed in containers when you use the CLI to specify the preStop callback function.
- Liveness
Probe []stringExec Commands - Commands that you want to run in containers when you use the CLI to perform liveness probes.
- Liveness
Probe intFailure Threshold - The minimum number of consecutive failures for the liveness probe to be considered failed after having been successful. Default value: 3.
- Liveness
Probe stringHttp Get Path - The path to which HTTP GET requests are sent when you use HTTP requests to perform liveness probes.
- Liveness
Probe intHttp Get Port - The port to which HTTP GET requests are sent when you use HTTP requests to perform liveness probes.
- Liveness
Probe stringHttp Get Scheme - The protocol type of HTTP GET requests when you use HTTP requests for liveness probes.Valid values:HTTP and HTTPS.
- Liveness
Probe intInitial Delay Seconds - The number of seconds after container has started before liveness probes are initiated.
- Liveness
Probe intPeriod Seconds - The interval at which the liveness probe is performed. Unit: seconds. Default value: 10. Minimum value: 1.
- Liveness
Probe intSuccess Threshold - 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 intTcp Socket Port - The port detected by TCP sockets when you use TCP sockets to perform liveness probes.
- Liveness
Probe intTimeout Seconds - 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
[]Eci
Scaling Configuration Container Port - The structure of port. See
ports
below for details. - Readiness
Probe []stringExec Commands - Commands that you want to run in containers when you use the CLI to perform readiness probes.
- Readiness
Probe intFailure Threshold - The minimum number of consecutive failures for the readiness probe to be considered failed after having been successful. Default value: 3.
- Readiness
Probe stringHttp Get Path - The path to which HTTP GET requests are sent when you use HTTP requests to perform readiness probes.
- Readiness
Probe intHttp Get Port - The port to which HTTP GET requests are sent when you use HTTP requests to perform readiness probes.
- Readiness
Probe stringHttp Get Scheme - The protocol type of HTTP GET requests when you use HTTP requests for readiness probes. Valid values: HTTP and HTTPS.
- Readiness
Probe intInitial Delay Seconds - The number of seconds after container N has started before readiness probes are initiated.
- Readiness
Probe intPeriod Seconds - The interval at which the readiness probe is performed. Unit: seconds. Default value: 10. Minimum value: 1.
- Readiness
Probe intSuccess Threshold - 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 intTcp Socket Port - The port detected by Transmission Control Protocol (TCP) sockets when you use TCP sockets to perform readiness probes.
- Readiness
Probe intTimeout Seconds - The timeout period for the readiness probe. Unit: seconds. Default value: 1. Minimum value: 1.
- Security
Context []stringCapability Adds - 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 boolRead Only Root File System - Mounts the container's root filesystem as read-only.
- Security
Context intRun As User - Specifies user ID under which all processes run.
- Volume
Mounts []EciScaling Configuration Container Volume Mount - The structure of volumeMounts.
See
volume_mounts
below for details. - Working
Dir 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.
- environment
Vars List<EciScaling Configuration Container Environment Var> - The structure of environmentVars.
See
environment_vars
below for details. - gpu Integer
- The number GPUs.
- image String
- The image of the container.
- image
Pull StringPolicy - The restart policy of the image.
- lifecycle
Pre List<String>Stop Handler Execs - The commands to be executed in containers when you use the CLI to specify the preStop callback function.
- liveness
Probe List<String>Exec Commands - Commands that you want to run in containers when you use the CLI to perform liveness probes.
- liveness
Probe IntegerFailure Threshold - The minimum number of consecutive failures for the liveness probe to be considered failed after having been successful. Default value: 3.
- liveness
Probe StringHttp Get Path - The path to which HTTP GET requests are sent when you use HTTP requests to perform liveness probes.
- liveness
Probe IntegerHttp Get Port - The port to which HTTP GET requests are sent when you use HTTP requests to perform liveness probes.
- liveness
Probe StringHttp Get Scheme - The protocol type of HTTP GET requests when you use HTTP requests for liveness probes.Valid values:HTTP and HTTPS.
- liveness
Probe IntegerInitial Delay Seconds - The number of seconds after container has started before liveness probes are initiated.
- liveness
Probe IntegerPeriod Seconds - The interval at which the liveness probe is performed. Unit: seconds. Default value: 10. Minimum value: 1.
- liveness
Probe IntegerSuccess Threshold - 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 IntegerTcp Socket Port - The port detected by TCP sockets when you use TCP sockets to perform liveness probes.
- liveness
Probe IntegerTimeout Seconds - 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<Eci
Scaling Configuration Container Port> - The structure of port. See
ports
below for details. - readiness
Probe List<String>Exec Commands - Commands that you want to run in containers when you use the CLI to perform readiness probes.
- readiness
Probe IntegerFailure Threshold - The minimum number of consecutive failures for the readiness probe to be considered failed after having been successful. Default value: 3.
- readiness
Probe StringHttp Get Path - The path to which HTTP GET requests are sent when you use HTTP requests to perform readiness probes.
- readiness
Probe IntegerHttp Get Port - The port to which HTTP GET requests are sent when you use HTTP requests to perform readiness probes.
- readiness
Probe StringHttp Get Scheme - The protocol type of HTTP GET requests when you use HTTP requests for readiness probes. Valid values: HTTP and HTTPS.
- readiness
Probe IntegerInitial Delay Seconds - The number of seconds after container N has started before readiness probes are initiated.
- readiness
Probe IntegerPeriod Seconds - The interval at which the readiness probe is performed. Unit: seconds. Default value: 10. Minimum value: 1.
- readiness
Probe IntegerSuccess Threshold - 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 IntegerTcp Socket Port - The port detected by Transmission Control Protocol (TCP) sockets when you use TCP sockets to perform readiness probes.
- readiness
Probe IntegerTimeout Seconds - The timeout period for the readiness probe. Unit: seconds. Default value: 1. Minimum value: 1.
- security
Context List<String>Capability Adds - 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 BooleanRead Only Root File System - Mounts the container's root filesystem as read-only.
- security
Context IntegerRun As User - Specifies user ID under which all processes run.
- volume
Mounts List<EciScaling Configuration Container Volume Mount> - The structure of volumeMounts.
See
volume_mounts
below for details. - working
Dir 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.
- environment
Vars EciScaling Configuration Container Environment Var[] - The structure of environmentVars.
See
environment_vars
below for details. - gpu number
- The number GPUs.
- image string
- The image of the container.
- image
Pull stringPolicy - The restart policy of the image.
- lifecycle
Pre string[]Stop Handler Execs - The commands to be executed in containers when you use the CLI to specify the preStop callback function.
- liveness
Probe string[]Exec Commands - Commands that you want to run in containers when you use the CLI to perform liveness probes.
- liveness
Probe numberFailure Threshold - The minimum number of consecutive failures for the liveness probe to be considered failed after having been successful. Default value: 3.
- liveness
Probe stringHttp Get Path - The path to which HTTP GET requests are sent when you use HTTP requests to perform liveness probes.
- liveness
Probe numberHttp Get Port - The port to which HTTP GET requests are sent when you use HTTP requests to perform liveness probes.
- liveness
Probe stringHttp Get Scheme - The protocol type of HTTP GET requests when you use HTTP requests for liveness probes.Valid values:HTTP and HTTPS.
- liveness
Probe numberInitial Delay Seconds - The number of seconds after container has started before liveness probes are initiated.
- liveness
Probe numberPeriod Seconds - The interval at which the liveness probe is performed. Unit: seconds. Default value: 10. Minimum value: 1.
- liveness
Probe numberSuccess Threshold - 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 numberTcp Socket Port - The port detected by TCP sockets when you use TCP sockets to perform liveness probes.
- liveness
Probe numberTimeout Seconds - 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
Eci
Scaling Configuration Container Port[] - The structure of port. See
ports
below for details. - readiness
Probe string[]Exec Commands - Commands that you want to run in containers when you use the CLI to perform readiness probes.
- readiness
Probe numberFailure Threshold - The minimum number of consecutive failures for the readiness probe to be considered failed after having been successful. Default value: 3.
- readiness
Probe stringHttp Get Path - The path to which HTTP GET requests are sent when you use HTTP requests to perform readiness probes.
- readiness
Probe numberHttp Get Port - The port to which HTTP GET requests are sent when you use HTTP requests to perform readiness probes.
- readiness
Probe stringHttp Get Scheme - The protocol type of HTTP GET requests when you use HTTP requests for readiness probes. Valid values: HTTP and HTTPS.
- readiness
Probe numberInitial Delay Seconds - The number of seconds after container N has started before readiness probes are initiated.
- readiness
Probe numberPeriod Seconds - The interval at which the readiness probe is performed. Unit: seconds. Default value: 10. Minimum value: 1.
- readiness
Probe numberSuccess Threshold - 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 numberTcp Socket Port - The port detected by Transmission Control Protocol (TCP) sockets when you use TCP sockets to perform readiness probes.
- readiness
Probe numberTimeout Seconds - The timeout period for the readiness probe. Unit: seconds. Default value: 1. Minimum value: 1.
- security
Context string[]Capability Adds - 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 booleanRead Only Root File System - Mounts the container's root filesystem as read-only.
- security
Context numberRun As User - Specifies user ID under which all processes run.
- volume
Mounts EciScaling Configuration Container Volume Mount[] - The structure of volumeMounts.
See
volume_mounts
below for details. - working
Dir 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[EciScaling Configuration Container Environment Var] - The structure of environmentVars.
See
environment_vars
below for details. - gpu int
- The number GPUs.
- image str
- The image of the container.
- image_
pull_ strpolicy - The restart policy of the image.
- lifecycle_
pre_ Sequence[str]stop_ handler_ execs - The commands to be executed in containers when you use the CLI to specify the preStop callback function.
- liveness_
probe_ Sequence[str]exec_ commands - Commands that you want to run in containers when you use the CLI to perform liveness probes.
- liveness_
probe_ intfailure_ threshold - The minimum number of consecutive failures for the liveness probe to be considered failed after having been successful. Default value: 3.
- liveness_
probe_ strhttp_ get_ path - The path to which HTTP GET requests are sent when you use HTTP requests to perform liveness probes.
- liveness_
probe_ inthttp_ get_ port - The port to which HTTP GET requests are sent when you use HTTP requests to perform liveness probes.
- liveness_
probe_ strhttp_ get_ scheme - The protocol type of HTTP GET requests when you use HTTP requests for liveness probes.Valid values:HTTP and HTTPS.
- liveness_
probe_ intinitial_ delay_ seconds - The number of seconds after container has started before liveness probes are initiated.
- liveness_
probe_ intperiod_ seconds - The interval at which the liveness probe is performed. Unit: seconds. Default value: 10. Minimum value: 1.
- liveness_
probe_ intsuccess_ threshold - 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_ inttcp_ socket_ port - The port detected by TCP sockets when you use TCP sockets to perform liveness probes.
- liveness_
probe_ inttimeout_ seconds - 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[Eci
Scaling Configuration Container Port] - The structure of port. See
ports
below for details. - readiness_
probe_ Sequence[str]exec_ commands - Commands that you want to run in containers when you use the CLI to perform readiness probes.
- readiness_
probe_ intfailure_ threshold - The minimum number of consecutive failures for the readiness probe to be considered failed after having been successful. Default value: 3.
- readiness_
probe_ strhttp_ get_ path - The path to which HTTP GET requests are sent when you use HTTP requests to perform readiness probes.
- readiness_
probe_ inthttp_ get_ port - The port to which HTTP GET requests are sent when you use HTTP requests to perform readiness probes.
- readiness_
probe_ strhttp_ get_ scheme - The protocol type of HTTP GET requests when you use HTTP requests for readiness probes. Valid values: HTTP and HTTPS.
- readiness_
probe_ intinitial_ delay_ seconds - The number of seconds after container N has started before readiness probes are initiated.
- readiness_
probe_ intperiod_ seconds - The interval at which the readiness probe is performed. Unit: seconds. Default value: 10. Minimum value: 1.
- readiness_
probe_ intsuccess_ threshold - 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_ inttcp_ socket_ port - The port detected by Transmission Control Protocol (TCP) sockets when you use TCP sockets to perform readiness probes.
- readiness_
probe_ inttimeout_ seconds - The timeout period for the readiness probe. Unit: seconds. Default value: 1. Minimum value: 1.
- security_
context_ Sequence[str]capability_ adds - 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_ boolread_ only_ root_ file_ system - Mounts the container's root filesystem as read-only.
- security_
context_ intrun_ as_ user - Specifies user ID under which all processes run.
- volume_
mounts Sequence[EciScaling Configuration Container Volume Mount] - 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.
- environment
Vars 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.
- image
Pull StringPolicy - The restart policy of the image.
- lifecycle
Pre List<String>Stop Handler Execs - The commands to be executed in containers when you use the CLI to specify the preStop callback function.
- liveness
Probe List<String>Exec Commands - Commands that you want to run in containers when you use the CLI to perform liveness probes.
- liveness
Probe NumberFailure Threshold - The minimum number of consecutive failures for the liveness probe to be considered failed after having been successful. Default value: 3.
- liveness
Probe StringHttp Get Path - The path to which HTTP GET requests are sent when you use HTTP requests to perform liveness probes.
- liveness
Probe NumberHttp Get Port - The port to which HTTP GET requests are sent when you use HTTP requests to perform liveness probes.
- liveness
Probe StringHttp Get Scheme - The protocol type of HTTP GET requests when you use HTTP requests for liveness probes.Valid values:HTTP and HTTPS.
- liveness
Probe NumberInitial Delay Seconds - The number of seconds after container has started before liveness probes are initiated.
- liveness
Probe NumberPeriod Seconds - The interval at which the liveness probe is performed. Unit: seconds. Default value: 10. Minimum value: 1.
- liveness
Probe NumberSuccess Threshold - 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 NumberTcp Socket Port - The port detected by TCP sockets when you use TCP sockets to perform liveness probes.
- liveness
Probe NumberTimeout Seconds - 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. - readiness
Probe List<String>Exec Commands - Commands that you want to run in containers when you use the CLI to perform readiness probes.
- readiness
Probe NumberFailure Threshold - The minimum number of consecutive failures for the readiness probe to be considered failed after having been successful. Default value: 3.
- readiness
Probe StringHttp Get Path - The path to which HTTP GET requests are sent when you use HTTP requests to perform readiness probes.
- readiness
Probe NumberHttp Get Port - The port to which HTTP GET requests are sent when you use HTTP requests to perform readiness probes.
- readiness
Probe StringHttp Get Scheme - The protocol type of HTTP GET requests when you use HTTP requests for readiness probes. Valid values: HTTP and HTTPS.
- readiness
Probe NumberInitial Delay Seconds - The number of seconds after container N has started before readiness probes are initiated.
- readiness
Probe NumberPeriod Seconds - The interval at which the readiness probe is performed. Unit: seconds. Default value: 10. Minimum value: 1.
- readiness
Probe NumberSuccess Threshold - 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 NumberTcp Socket Port - The port detected by Transmission Control Protocol (TCP) sockets when you use TCP sockets to perform readiness probes.
- readiness
Probe NumberTimeout Seconds - The timeout period for the readiness probe. Unit: seconds. Default value: 1. Minimum value: 1.
- security
Context List<String>Capability Adds - 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 BooleanRead Only Root File System - Mounts the container's root filesystem as read-only.
- security
Context NumberRun As User - Specifies user ID under which all processes run.
- volume
Mounts List<Property Map> - The structure of volumeMounts.
See
volume_mounts
below for details. - working
Dir String - The working directory of the container.
EciScalingConfigurationContainerEnvironmentVar, EciScalingConfigurationContainerEnvironmentVarArgs
- Field
Ref stringField Path - Key string
- Value string
- Field
Ref stringField Path - Key string
- Value string
- field
Ref StringField Path - key String
- value String
- field
Ref stringField Path - key string
- value string
- field_
ref_ strfield_ path - key str
- value str
- field
Ref StringField Path - key String
- value String
EciScalingConfigurationContainerPort, EciScalingConfigurationContainerPortArgs
EciScalingConfigurationContainerVolumeMount, EciScalingConfigurationContainerVolumeMountArgs
- mount_
path str - name str
- read_
only bool
EciScalingConfigurationHostAlias, EciScalingConfigurationHostAliasArgs
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.
- Environment
Vars List<Pulumi.Ali Cloud. Ess. Inputs. Eci Scaling Configuration Init Container Environment Var> - The structure of environmentVars.
See
environment_vars
below for details. - Gpu int
- The number GPUs.
- Image string
- The image of the container.
- Image
Pull stringPolicy - 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.
Ali Cloud. Ess. Inputs. Eci Scaling Configuration Init Container Port> - The structure of port. See
ports
below for details. - Security
Context List<string>Capability Adds - 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 boolRead Only Root File System - Mounts the container's root filesystem as read-only.
- Security
Context intRun As User - Specifies user ID under which all processes run.
- Volume
Mounts List<Pulumi.Ali Cloud. Ess. Inputs. Eci Scaling Configuration Init Container Volume Mount> - The structure of volumeMounts. See
volume_mounts
below for details. - Working
Dir 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.
- Environment
Vars []EciScaling Configuration Init Container Environment Var - The structure of environmentVars.
See
environment_vars
below for details. - Gpu int
- The number GPUs.
- Image string
- The image of the container.
- Image
Pull stringPolicy - 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
[]Eci
Scaling Configuration Init Container Port - The structure of port. See
ports
below for details. - Security
Context []stringCapability Adds - 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 boolRead Only Root File System - Mounts the container's root filesystem as read-only.
- Security
Context intRun As User - Specifies user ID under which all processes run.
- Volume
Mounts []EciScaling Configuration Init Container Volume Mount - The structure of volumeMounts. See
volume_mounts
below for details. - Working
Dir 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.
- environment
Vars List<EciScaling Configuration Init Container Environment Var> - The structure of environmentVars.
See
environment_vars
below for details. - gpu Integer
- The number GPUs.
- image String
- The image of the container.
- image
Pull StringPolicy - 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<Eci
Scaling Configuration Init Container Port> - The structure of port. See
ports
below for details. - security
Context List<String>Capability Adds - 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 BooleanRead Only Root File System - Mounts the container's root filesystem as read-only.
- security
Context IntegerRun As User - Specifies user ID under which all processes run.
- volume
Mounts List<EciScaling Configuration Init Container Volume Mount> - The structure of volumeMounts. See
volume_mounts
below for details. - working
Dir 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.
- environment
Vars EciScaling Configuration Init Container Environment Var[] - The structure of environmentVars.
See
environment_vars
below for details. - gpu number
- The number GPUs.
- image string
- The image of the container.
- image
Pull stringPolicy - 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
Eci
Scaling Configuration Init Container Port[] - The structure of port. See
ports
below for details. - security
Context string[]Capability Adds - 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 booleanRead Only Root File System - Mounts the container's root filesystem as read-only.
- security
Context numberRun As User - Specifies user ID under which all processes run.
- volume
Mounts EciScaling Configuration Init Container Volume Mount[] - The structure of volumeMounts. See
volume_mounts
below for details. - working
Dir 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[EciScaling Configuration Init Container Environment Var] - The structure of environmentVars.
See
environment_vars
below for details. - gpu int
- The number GPUs.
- image str
- The image of the container.
- image_
pull_ strpolicy - 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[Eci
Scaling Configuration Init Container Port] - The structure of port. See
ports
below for details. - security_
context_ Sequence[str]capability_ adds - 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_ boolread_ only_ root_ file_ system - Mounts the container's root filesystem as read-only.
- security_
context_ intrun_ as_ user - Specifies user ID under which all processes run.
- volume_
mounts Sequence[EciScaling Configuration Init Container Volume Mount] - 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.
- environment
Vars 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.
- image
Pull StringPolicy - 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. - security
Context List<String>Capability Adds - 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 BooleanRead Only Root File System - Mounts the container's root filesystem as read-only.
- security
Context NumberRun As User - Specifies user ID under which all processes run.
- volume
Mounts List<Property Map> - The structure of volumeMounts. See
volume_mounts
below for details. - working
Dir String - The working directory of the container.
EciScalingConfigurationInitContainerEnvironmentVar, EciScalingConfigurationInitContainerEnvironmentVarArgs
- Field
Ref stringField Path - Key string
- Value string
- Field
Ref stringField Path - Key string
- Value string
- field
Ref StringField Path - key String
- value String
- field
Ref stringField Path - key string
- value string
- field_
ref_ strfield_ path - key str
- value str
- field
Ref StringField Path - key String
- value String
EciScalingConfigurationInitContainerPort, EciScalingConfigurationInitContainerPortArgs
EciScalingConfigurationInitContainerVolumeMount, EciScalingConfigurationInitContainerVolumeMountArgs
- mount_
path str - name str
- read_
only bool
EciScalingConfigurationVolume, EciScalingConfigurationVolumeArgs
- Config
File List<Pulumi.Volume Config File To Paths Ali Cloud. Ess. Inputs. Eci Scaling Configuration Volume Config File Volume Config File To Path> - ConfigFileVolumeConfigFileToPaths.
See
config_file_volume_config_file_to_paths
below for details. - Disk
Volume stringDisk Id - The ID of DiskVolume.
- Disk
Volume intDisk Size - The disk size of DiskVolume.
- Disk
Volume stringFs Type - The system type of DiskVolume.
- Flex
Volume stringDriver - The name of the FlexVolume driver.
- Flex
Volume stringFs Type - The type of the mounted file system. The default value is determined by the script of FlexVolume.
- Flex
Volume stringOptions - The list of FlexVolume objects. Each object is a key-value pair contained in a JSON string.
- Name string
- The name of the volume.
- Nfs
Volume stringPath - The path to the NFS volume.
- Nfs
Volume boolRead Only - The nfs volume read only. Default to
false
. - Nfs
Volume stringServer 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 []EciVolume Config File To Paths Scaling Configuration Volume Config File Volume Config File To Path - ConfigFileVolumeConfigFileToPaths.
See
config_file_volume_config_file_to_paths
below for details. - Disk
Volume stringDisk Id - The ID of DiskVolume.
- Disk
Volume intDisk Size - The disk size of DiskVolume.
- Disk
Volume stringFs Type - The system type of DiskVolume.
- Flex
Volume stringDriver - The name of the FlexVolume driver.
- Flex
Volume stringFs Type - The type of the mounted file system. The default value is determined by the script of FlexVolume.
- Flex
Volume stringOptions - The list of FlexVolume objects. Each object is a key-value pair contained in a JSON string.
- Name string
- The name of the volume.
- Nfs
Volume stringPath - The path to the NFS volume.
- Nfs
Volume boolRead Only - The nfs volume read only. Default to
false
. - Nfs
Volume stringServer 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 List<EciVolume Config File To Paths Scaling Configuration Volume Config File Volume Config File To Path> - ConfigFileVolumeConfigFileToPaths.
See
config_file_volume_config_file_to_paths
below for details. - disk
Volume StringDisk Id - The ID of DiskVolume.
- disk
Volume IntegerDisk Size - The disk size of DiskVolume.
- disk
Volume StringFs Type - The system type of DiskVolume.
- flex
Volume StringDriver - The name of the FlexVolume driver.
- flex
Volume StringFs Type - The type of the mounted file system. The default value is determined by the script of FlexVolume.
- flex
Volume StringOptions - The list of FlexVolume objects. Each object is a key-value pair contained in a JSON string.
- name String
- The name of the volume.
- nfs
Volume StringPath - The path to the NFS volume.
- nfs
Volume BooleanRead Only - The nfs volume read only. Default to
false
. - nfs
Volume StringServer 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 EciVolume Config File To Paths Scaling Configuration Volume Config File Volume Config File To Path[] - ConfigFileVolumeConfigFileToPaths.
See
config_file_volume_config_file_to_paths
below for details. - disk
Volume stringDisk Id - The ID of DiskVolume.
- disk
Volume numberDisk Size - The disk size of DiskVolume.
- disk
Volume stringFs Type - The system type of DiskVolume.
- flex
Volume stringDriver - The name of the FlexVolume driver.
- flex
Volume stringFs Type - The type of the mounted file system. The default value is determined by the script of FlexVolume.
- flex
Volume stringOptions - The list of FlexVolume objects. Each object is a key-value pair contained in a JSON string.
- name string
- The name of the volume.
- nfs
Volume stringPath - The path to the NFS volume.
- nfs
Volume booleanRead Only - The nfs volume read only. Default to
false
. - nfs
Volume stringServer 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_ Sequence[Ecivolume_ config_ file_ to_ paths Scaling Configuration Volume Config File Volume Config File To Path] - ConfigFileVolumeConfigFileToPaths.
See
config_file_volume_config_file_to_paths
below for details. - disk_
volume_ strdisk_ id - The ID of DiskVolume.
- disk_
volume_ intdisk_ size - The disk size of DiskVolume.
- disk_
volume_ strfs_ type - The system type of DiskVolume.
- flex_
volume_ strdriver - The name of the FlexVolume driver.
- flex_
volume_ strfs_ type - The type of the mounted file system. The default value is determined by the script of FlexVolume.
- flex_
volume_ stroptions - 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_ strpath - The path to the NFS volume.
- nfs_
volume_ boolread_ only - The nfs volume read only. Default to
false
. - nfs_
volume_ strserver The address of the NFS server.
NOTE: Every volume mounted must have a name and type attributes.
- type str
- The type of the volume.
- config
File List<Property Map>Volume Config File To Paths - ConfigFileVolumeConfigFileToPaths.
See
config_file_volume_config_file_to_paths
below for details. - disk
Volume StringDisk Id - The ID of DiskVolume.
- disk
Volume NumberDisk Size - The disk size of DiskVolume.
- disk
Volume StringFs Type - The system type of DiskVolume.
- flex
Volume StringDriver - The name of the FlexVolume driver.
- flex
Volume StringFs Type - The type of the mounted file system. The default value is determined by the script of FlexVolume.
- flex
Volume StringOptions - The list of FlexVolume objects. Each object is a key-value pair contained in a JSON string.
- name String
- The name of the volume.
- nfs
Volume StringPath - The path to the NFS volume.
- nfs
Volume BooleanRead Only - The nfs volume read only. Default to
false
. - nfs
Volume StringServer 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
Import
ESS eci scaling configuration can be imported using the id, e.g.
$ pulumi import alicloud:ess/eciScalingConfiguration:EciScalingConfiguration example asc-abc123456
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.