alicloud logo
Alibaba Cloud v3.29.0, Jan 20 23

alicloud.eci.ContainerGroup

Provides ECI Container Group resource.

For information about ECI Container Group and how to use it, see What is Container Group.

NOTE: Available in v1.111.0+.

Example Usage

Basic Usage

using System.Collections.Generic;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

return await Deployment.RunAsync(() => 
{
    var example = new AliCloud.Eci.ContainerGroup("example", new()
    {
        ContainerGroupName = "tf-testacc-eci-gruop",
        Cpu = 8,
        Memory = 16,
        RestartPolicy = "OnFailure",
        SecurityGroupId = alicloud_security_group.Group.Id,
        VswitchId = data.Alicloud_vpcs.Default.Vpcs[0].Vswitch_ids[0],
        Tags = 
        {
            { "TF", "create" },
        },
        Containers = new[]
        {
            new AliCloud.Eci.Inputs.ContainerGroupContainerArgs
            {
                Image = "registry-vpc.cn-beijing.aliyuncs.com/eci_open/nginx:alpine",
                Name = "nginx",
                WorkingDir = "/tmp/nginx",
                ImagePullPolicy = "IfNotPresent",
                Commands = new[]
                {
                    "/bin/sh",
                    "-c",
                    "sleep 9999",
                },
                VolumeMounts = new[]
                {
                    new AliCloud.Eci.Inputs.ContainerGroupContainerVolumeMountArgs
                    {
                        MountPath = "/tmp/test",
                        ReadOnly = false,
                        Name = "empty1",
                    },
                },
                Ports = new[]
                {
                    new AliCloud.Eci.Inputs.ContainerGroupContainerPortArgs
                    {
                        Port = 80,
                        Protocol = "TCP",
                    },
                },
                EnvironmentVars = new[]
                {
                    new AliCloud.Eci.Inputs.ContainerGroupContainerEnvironmentVarArgs
                    {
                        Key = "test",
                        Value = "nginx",
                    },
                },
                LivenessProbes = new[]
                {
                    new AliCloud.Eci.Inputs.ContainerGroupContainerLivenessProbeArgs
                    {
                        PeriodSeconds = 5,
                        InitialDelaySeconds = 5,
                        SuccessThreshold = 1,
                        FailureThreshold = 3,
                        TimeoutSeconds = 1,
                        Execs = new[]
                        {
                            new AliCloud.Eci.Inputs.ContainerGroupContainerLivenessProbeExecArgs
                            {
                                Commands = new[]
                                {
                                    "cat /tmp/healthy",
                                },
                            },
                        },
                    },
                },
                ReadinessProbes = new[]
                {
                    new AliCloud.Eci.Inputs.ContainerGroupContainerReadinessProbeArgs
                    {
                        PeriodSeconds = 5,
                        InitialDelaySeconds = 5,
                        SuccessThreshold = 1,
                        FailureThreshold = 3,
                        TimeoutSeconds = 1,
                        Execs = new[]
                        {
                            new AliCloud.Eci.Inputs.ContainerGroupContainerReadinessProbeExecArgs
                            {
                                Commands = new[]
                                {
                                    "cat /tmp/healthy",
                                },
                            },
                        },
                    },
                },
            },
            new AliCloud.Eci.Inputs.ContainerGroupContainerArgs
            {
                Image = "registry-vpc.cn-beijing.aliyuncs.com/eci_open/centos:7",
                Name = "centos",
                Commands = new[]
                {
                    "/bin/sh",
                    "-c",
                    "sleep 9999",
                },
            },
        },
        InitContainers = new[]
        {
            new AliCloud.Eci.Inputs.ContainerGroupInitContainerArgs
            {
                Name = "init-busybox",
                Image = "registry-vpc.cn-beijing.aliyuncs.com/eci_open/busybox:1.30",
                ImagePullPolicy = "IfNotPresent",
                Commands = new[]
                {
                    "echo",
                },
                Args = new[]
                {
                    "hello initcontainer",
                },
            },
        },
        Volumes = new[]
        {
            new AliCloud.Eci.Inputs.ContainerGroupVolumeArgs
            {
                Name = "empty1",
                Type = "EmptyDirVolume",
            },
            new AliCloud.Eci.Inputs.ContainerGroupVolumeArgs
            {
                Name = "empty2",
                Type = "EmptyDirVolume",
            },
        },
    });

});
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/eci"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := eci.NewContainerGroup(ctx, "example", &eci.ContainerGroupArgs{
			ContainerGroupName: pulumi.String("tf-testacc-eci-gruop"),
			Cpu:                pulumi.Float64(8),
			Memory:             pulumi.Float64(16),
			RestartPolicy:      pulumi.String("OnFailure"),
			SecurityGroupId:    pulumi.Any(alicloud_security_group.Group.Id),
			VswitchId:          pulumi.Any(data.Alicloud_vpcs.Default.Vpcs[0].Vswitch_ids[0]),
			Tags: pulumi.AnyMap{
				"TF": pulumi.Any("create"),
			},
			Containers: eci.ContainerGroupContainerArray{
				&eci.ContainerGroupContainerArgs{
					Image:           pulumi.String("registry-vpc.cn-beijing.aliyuncs.com/eci_open/nginx:alpine"),
					Name:            pulumi.String("nginx"),
					WorkingDir:      pulumi.String("/tmp/nginx"),
					ImagePullPolicy: pulumi.String("IfNotPresent"),
					Commands: pulumi.StringArray{
						pulumi.String("/bin/sh"),
						pulumi.String("-c"),
						pulumi.String("sleep 9999"),
					},
					VolumeMounts: eci.ContainerGroupContainerVolumeMountArray{
						&eci.ContainerGroupContainerVolumeMountArgs{
							MountPath: pulumi.String("/tmp/test"),
							ReadOnly:  pulumi.Bool(false),
							Name:      pulumi.String("empty1"),
						},
					},
					Ports: eci.ContainerGroupContainerPortArray{
						&eci.ContainerGroupContainerPortArgs{
							Port:     pulumi.Int(80),
							Protocol: pulumi.String("TCP"),
						},
					},
					EnvironmentVars: eci.ContainerGroupContainerEnvironmentVarArray{
						&eci.ContainerGroupContainerEnvironmentVarArgs{
							Key:   pulumi.String("test"),
							Value: pulumi.String("nginx"),
						},
					},
					LivenessProbes: eci.ContainerGroupContainerLivenessProbeArray{
						&eci.ContainerGroupContainerLivenessProbeArgs{
							PeriodSeconds:       pulumi.Int(5),
							InitialDelaySeconds: pulumi.Int(5),
							SuccessThreshold:    pulumi.Int(1),
							FailureThreshold:    pulumi.Int(3),
							TimeoutSeconds:      pulumi.Int(1),
							Execs: eci.ContainerGroupContainerLivenessProbeExecArray{
								&eci.ContainerGroupContainerLivenessProbeExecArgs{
									Commands: pulumi.StringArray{
										pulumi.String("cat /tmp/healthy"),
									},
								},
							},
						},
					},
					ReadinessProbes: eci.ContainerGroupContainerReadinessProbeArray{
						&eci.ContainerGroupContainerReadinessProbeArgs{
							PeriodSeconds:       pulumi.Int(5),
							InitialDelaySeconds: pulumi.Int(5),
							SuccessThreshold:    pulumi.Int(1),
							FailureThreshold:    pulumi.Int(3),
							TimeoutSeconds:      pulumi.Int(1),
							Execs: eci.ContainerGroupContainerReadinessProbeExecArray{
								&eci.ContainerGroupContainerReadinessProbeExecArgs{
									Commands: pulumi.StringArray{
										pulumi.String("cat /tmp/healthy"),
									},
								},
							},
						},
					},
				},
				&eci.ContainerGroupContainerArgs{
					Image: pulumi.String("registry-vpc.cn-beijing.aliyuncs.com/eci_open/centos:7"),
					Name:  pulumi.String("centos"),
					Commands: pulumi.StringArray{
						pulumi.String("/bin/sh"),
						pulumi.String("-c"),
						pulumi.String("sleep 9999"),
					},
				},
			},
			InitContainers: eci.ContainerGroupInitContainerArray{
				&eci.ContainerGroupInitContainerArgs{
					Name:            pulumi.String("init-busybox"),
					Image:           pulumi.String("registry-vpc.cn-beijing.aliyuncs.com/eci_open/busybox:1.30"),
					ImagePullPolicy: pulumi.String("IfNotPresent"),
					Commands: pulumi.StringArray{
						pulumi.String("echo"),
					},
					Args: pulumi.StringArray{
						pulumi.String("hello initcontainer"),
					},
				},
			},
			Volumes: eci.ContainerGroupVolumeArray{
				&eci.ContainerGroupVolumeArgs{
					Name: pulumi.String("empty1"),
					Type: pulumi.String("EmptyDirVolume"),
				},
				&eci.ContainerGroupVolumeArgs{
					Name: pulumi.String("empty2"),
					Type: pulumi.String("EmptyDirVolume"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.eci.ContainerGroup;
import com.pulumi.alicloud.eci.ContainerGroupArgs;
import com.pulumi.alicloud.eci.inputs.ContainerGroupContainerArgs;
import com.pulumi.alicloud.eci.inputs.ContainerGroupInitContainerArgs;
import com.pulumi.alicloud.eci.inputs.ContainerGroupVolumeArgs;
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) {
        var example = new ContainerGroup("example", ContainerGroupArgs.builder()        
            .containerGroupName("tf-testacc-eci-gruop")
            .cpu(8)
            .memory(16)
            .restartPolicy("OnFailure")
            .securityGroupId(alicloud_security_group.group().id())
            .vswitchId(data.alicloud_vpcs().default().vpcs()[0].vswitch_ids()[0])
            .tags(Map.of("TF", "create"))
            .containers(            
                ContainerGroupContainerArgs.builder()
                    .image("registry-vpc.cn-beijing.aliyuncs.com/eci_open/nginx:alpine")
                    .name("nginx")
                    .workingDir("/tmp/nginx")
                    .imagePullPolicy("IfNotPresent")
                    .commands(                    
                        "/bin/sh",
                        "-c",
                        "sleep 9999")
                    .volumeMounts(ContainerGroupContainerVolumeMountArgs.builder()
                        .mountPath("/tmp/test")
                        .readOnly(false)
                        .name("empty1")
                        .build())
                    .ports(ContainerGroupContainerPortArgs.builder()
                        .port(80)
                        .protocol("TCP")
                        .build())
                    .environmentVars(ContainerGroupContainerEnvironmentVarArgs.builder()
                        .key("test")
                        .value("nginx")
                        .build())
                    .livenessProbes(ContainerGroupContainerLivenessProbeArgs.builder()
                        .periodSeconds("5")
                        .initialDelaySeconds("5")
                        .successThreshold("1")
                        .failureThreshold("3")
                        .timeoutSeconds("1")
                        .execs(ContainerGroupContainerLivenessProbeExecArgs.builder()
                            .commands("cat /tmp/healthy")
                            .build())
                        .build())
                    .readinessProbes(ContainerGroupContainerReadinessProbeArgs.builder()
                        .periodSeconds("5")
                        .initialDelaySeconds("5")
                        .successThreshold("1")
                        .failureThreshold("3")
                        .timeoutSeconds("1")
                        .execs(ContainerGroupContainerReadinessProbeExecArgs.builder()
                            .commands("cat /tmp/healthy")
                            .build())
                        .build())
                    .build(),
                ContainerGroupContainerArgs.builder()
                    .image("registry-vpc.cn-beijing.aliyuncs.com/eci_open/centos:7")
                    .name("centos")
                    .commands(                    
                        "/bin/sh",
                        "-c",
                        "sleep 9999")
                    .build())
            .initContainers(ContainerGroupInitContainerArgs.builder()
                .name("init-busybox")
                .image("registry-vpc.cn-beijing.aliyuncs.com/eci_open/busybox:1.30")
                .imagePullPolicy("IfNotPresent")
                .commands("echo")
                .args("hello initcontainer")
                .build())
            .volumes(            
                ContainerGroupVolumeArgs.builder()
                    .name("empty1")
                    .type("EmptyDirVolume")
                    .build(),
                ContainerGroupVolumeArgs.builder()
                    .name("empty2")
                    .type("EmptyDirVolume")
                    .build())
            .build());

    }
}
import pulumi
import pulumi_alicloud as alicloud

example = alicloud.eci.ContainerGroup("example",
    container_group_name="tf-testacc-eci-gruop",
    cpu=8,
    memory=16,
    restart_policy="OnFailure",
    security_group_id=alicloud_security_group["group"]["id"],
    vswitch_id=data["alicloud_vpcs"]["default"]["vpcs"][0]["vswitch_ids"],
    tags={
        "TF": "create",
    },
    containers=[
        alicloud.eci.ContainerGroupContainerArgs(
            image="registry-vpc.cn-beijing.aliyuncs.com/eci_open/nginx:alpine",
            name="nginx",
            working_dir="/tmp/nginx",
            image_pull_policy="IfNotPresent",
            commands=[
                "/bin/sh",
                "-c",
                "sleep 9999",
            ],
            volume_mounts=[alicloud.eci.ContainerGroupContainerVolumeMountArgs(
                mount_path="/tmp/test",
                read_only=False,
                name="empty1",
            )],
            ports=[alicloud.eci.ContainerGroupContainerPortArgs(
                port=80,
                protocol="TCP",
            )],
            environment_vars=[alicloud.eci.ContainerGroupContainerEnvironmentVarArgs(
                key="test",
                value="nginx",
            )],
            liveness_probes=[alicloud.eci.ContainerGroupContainerLivenessProbeArgs(
                period_seconds=5,
                initial_delay_seconds=5,
                success_threshold=1,
                failure_threshold=3,
                timeout_seconds=1,
                execs=[alicloud.eci.ContainerGroupContainerLivenessProbeExecArgs(
                    commands=["cat /tmp/healthy"],
                )],
            )],
            readiness_probes=[alicloud.eci.ContainerGroupContainerReadinessProbeArgs(
                period_seconds=5,
                initial_delay_seconds=5,
                success_threshold=1,
                failure_threshold=3,
                timeout_seconds=1,
                execs=[alicloud.eci.ContainerGroupContainerReadinessProbeExecArgs(
                    commands=["cat /tmp/healthy"],
                )],
            )],
        ),
        alicloud.eci.ContainerGroupContainerArgs(
            image="registry-vpc.cn-beijing.aliyuncs.com/eci_open/centos:7",
            name="centos",
            commands=[
                "/bin/sh",
                "-c",
                "sleep 9999",
            ],
        ),
    ],
    init_containers=[alicloud.eci.ContainerGroupInitContainerArgs(
        name="init-busybox",
        image="registry-vpc.cn-beijing.aliyuncs.com/eci_open/busybox:1.30",
        image_pull_policy="IfNotPresent",
        commands=["echo"],
        args=["hello initcontainer"],
    )],
    volumes=[
        alicloud.eci.ContainerGroupVolumeArgs(
            name="empty1",
            type="EmptyDirVolume",
        ),
        alicloud.eci.ContainerGroupVolumeArgs(
            name="empty2",
            type="EmptyDirVolume",
        ),
    ])
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const example = new alicloud.eci.ContainerGroup("example", {
    containerGroupName: "tf-testacc-eci-gruop",
    cpu: 8,
    memory: 16,
    restartPolicy: "OnFailure",
    securityGroupId: alicloud_security_group.group.id,
    vswitchId: data.alicloud_vpcs["default"].vpcs[0].vswitch_ids[0],
    tags: {
        TF: "create",
    },
    containers: [
        {
            image: "registry-vpc.cn-beijing.aliyuncs.com/eci_open/nginx:alpine",
            name: "nginx",
            workingDir: "/tmp/nginx",
            imagePullPolicy: "IfNotPresent",
            commands: [
                "/bin/sh",
                "-c",
                "sleep 9999",
            ],
            volumeMounts: [{
                mountPath: "/tmp/test",
                readOnly: false,
                name: "empty1",
            }],
            ports: [{
                port: 80,
                protocol: "TCP",
            }],
            environmentVars: [{
                key: "test",
                value: "nginx",
            }],
            livenessProbes: [{
                periodSeconds: 5,
                initialDelaySeconds: 5,
                successThreshold: 1,
                failureThreshold: 3,
                timeoutSeconds: 1,
                execs: [{
                    commands: ["cat /tmp/healthy"],
                }],
            }],
            readinessProbes: [{
                periodSeconds: 5,
                initialDelaySeconds: 5,
                successThreshold: 1,
                failureThreshold: 3,
                timeoutSeconds: 1,
                execs: [{
                    commands: ["cat /tmp/healthy"],
                }],
            }],
        },
        {
            image: "registry-vpc.cn-beijing.aliyuncs.com/eci_open/centos:7",
            name: "centos",
            commands: [
                "/bin/sh",
                "-c",
                "sleep 9999",
            ],
        },
    ],
    initContainers: [{
        name: "init-busybox",
        image: "registry-vpc.cn-beijing.aliyuncs.com/eci_open/busybox:1.30",
        imagePullPolicy: "IfNotPresent",
        commands: ["echo"],
        args: ["hello initcontainer"],
    }],
    volumes: [
        {
            name: "empty1",
            type: "EmptyDirVolume",
        },
        {
            name: "empty2",
            type: "EmptyDirVolume",
        },
    ],
});
resources:
  example:
    type: alicloud:eci:ContainerGroup
    properties:
      containerGroupName: tf-testacc-eci-gruop
      cpu: 8
      memory: 16
      restartPolicy: OnFailure
      securityGroupId: ${alicloud_security_group.group.id}
      vswitchId: ${data.alicloud_vpcs.default.vpcs[0].vswitch_ids[0]}
      tags:
        TF: create
      containers:
        - image: registry-vpc.cn-beijing.aliyuncs.com/eci_open/nginx:alpine
          name: nginx
          workingDir: /tmp/nginx
          imagePullPolicy: IfNotPresent
          commands:
            - /bin/sh
            - -c
            - sleep 9999
          volumeMounts:
            - mountPath: /tmp/test
              readOnly: false
              name: empty1
          ports:
            - port: 80
              protocol: TCP
          environmentVars:
            - key: test
              value: nginx
          livenessProbes:
            - periodSeconds: '5'
              initialDelaySeconds: '5'
              successThreshold: '1'
              failureThreshold: '3'
              timeoutSeconds: '1'
              execs:
                - commands:
                    - cat /tmp/healthy
          readinessProbes:
            - periodSeconds: '5'
              initialDelaySeconds: '5'
              successThreshold: '1'
              failureThreshold: '3'
              timeoutSeconds: '1'
              execs:
                - commands:
                    - cat /tmp/healthy
        - image: registry-vpc.cn-beijing.aliyuncs.com/eci_open/centos:7
          name: centos
          commands:
            - /bin/sh
            - -c
            - sleep 9999
      initContainers:
        - name: init-busybox
          image: registry-vpc.cn-beijing.aliyuncs.com/eci_open/busybox:1.30
          imagePullPolicy: IfNotPresent
          commands:
            - echo
          args:
            - hello initcontainer
      volumes:
        - name: empty1
          type: EmptyDirVolume
        - name: empty2
          type: EmptyDirVolume

Create ContainerGroup Resource

new ContainerGroup(name: string, args: ContainerGroupArgs, opts?: CustomResourceOptions);
@overload
def ContainerGroup(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   acr_registry_infos: Optional[Sequence[ContainerGroupAcrRegistryInfoArgs]] = None,
                   auto_create_eip: Optional[bool] = None,
                   auto_match_image_cache: Optional[bool] = None,
                   container_group_name: Optional[str] = None,
                   containers: Optional[Sequence[ContainerGroupContainerArgs]] = None,
                   cpu: Optional[float] = None,
                   dns_config: Optional[ContainerGroupDnsConfigArgs] = None,
                   eci_security_context: Optional[ContainerGroupEciSecurityContextArgs] = None,
                   eip_bandwidth: Optional[int] = None,
                   eip_instance_id: Optional[str] = None,
                   host_aliases: Optional[Sequence[ContainerGroupHostAliasArgs]] = None,
                   image_registry_credentials: Optional[Sequence[ContainerGroupImageRegistryCredentialArgs]] = None,
                   init_containers: Optional[Sequence[ContainerGroupInitContainerArgs]] = None,
                   insecure_registry: Optional[str] = None,
                   instance_type: Optional[str] = None,
                   memory: Optional[float] = None,
                   plain_http_registry: Optional[str] = None,
                   ram_role_name: Optional[str] = None,
                   resource_group_id: Optional[str] = None,
                   restart_policy: Optional[str] = None,
                   security_group_id: Optional[str] = None,
                   tags: Optional[Mapping[str, Any]] = None,
                   volumes: Optional[Sequence[ContainerGroupVolumeArgs]] = None,
                   vswitch_id: Optional[str] = None,
                   zone_id: Optional[str] = None)
@overload
def ContainerGroup(resource_name: str,
                   args: ContainerGroupArgs,
                   opts: Optional[ResourceOptions] = None)
func NewContainerGroup(ctx *Context, name string, args ContainerGroupArgs, opts ...ResourceOption) (*ContainerGroup, error)
public ContainerGroup(string name, ContainerGroupArgs args, CustomResourceOptions? opts = null)
public ContainerGroup(String name, ContainerGroupArgs args)
public ContainerGroup(String name, ContainerGroupArgs args, CustomResourceOptions options)
type: alicloud:eci:ContainerGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ContainerGroupArgs
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 ContainerGroupArgs
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 ContainerGroupArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ContainerGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ContainerGroupArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ContainerGroup 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 ContainerGroup resource accepts the following input properties:

ContainerGroupName string

The name of the container group.

Containers List<Pulumi.AliCloud.Eci.Inputs.ContainerGroupContainerArgs>

The list of containers.

SecurityGroupId string

The ID of the security group to which the container group belongs. Container groups within the same security group can access each other.

VswitchId string

The ID of the VSwitch. Currently, container groups can only be deployed in VPC networks. The number of IP addresses in the VSwitch CIDR block determines the maximum number of container groups that can be created in the VSwitch. Before you can create an ECI instance, plan the CIDR block of the VSwitch.

AcrRegistryInfos List<Pulumi.AliCloud.Eci.Inputs.ContainerGroupAcrRegistryInfoArgs>

The ACR enterprise edition example properties.

AutoCreateEip bool

Specifies whether to automatically create an EIP and bind the EIP to the elastic container instance.

AutoMatchImageCache bool

Specifies whether to automatically match the image cache. Default value: false.

Cpu double

The amount of CPU resources allocated to the container group.

DnsConfig Pulumi.AliCloud.Eci.Inputs.ContainerGroupDnsConfigArgs

The structure of dnsConfig.

EciSecurityContext Pulumi.AliCloud.Eci.Inputs.ContainerGroupEciSecurityContextArgs

The security context of the container group.

EipBandwidth int

The bandwidth of the EIP. The default value is 5.

EipInstanceId string

The ID of the elastic IP address (EIP).

HostAliases List<Pulumi.AliCloud.Eci.Inputs.ContainerGroupHostAliasArgs>

HostAliases.

ImageRegistryCredentials List<Pulumi.AliCloud.Eci.Inputs.ContainerGroupImageRegistryCredentialArgs>

The image registry credential. The details see Block image_registry_credential.

InitContainers List<Pulumi.AliCloud.Eci.Inputs.ContainerGroupInitContainerArgs>

The list of initContainers.

InsecureRegistry string

The address of the self-built mirror warehouse. When creating an image cache using an image in a self-built image repository with a self-signed certificate, you need to configure this parameter to skip certificate authentication to avoid image pull failure due to certificate authentication failure.

InstanceType string

The type of the ECS instance.

Memory double

The amount of memory resources allocated to the container group.

PlainHttpRegistry string

The address of the self-built mirror warehouse. When creating an image cache from an image in a self-built image repository using the HTTP protocol, you need to configure this parameter so that the ECI uses the HTTP protocol to pull the image to avoid image pull failure due to different protocols.

RamRoleName string

The RAM role that the container group assumes. ECI and ECS share the same RAM role.

ResourceGroupId string

The ID of the resource group.

RestartPolicy string

The restart policy of the container group. Valid values: Always, Never, OnFailure.

Tags Dictionary<string, object>

A mapping of tags to assign to the resource.

  • Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
  • Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
Volumes List<Pulumi.AliCloud.Eci.Inputs.ContainerGroupVolumeArgs>

The list of volumes.

ZoneId string

The ID of the zone where you want to deploy the container group. If no value is specified, the system assigns a zone to the container group. By default, no value is specified.

ContainerGroupName string

The name of the container group.

Containers []ContainerGroupContainerArgs

The list of containers.

SecurityGroupId string

The ID of the security group to which the container group belongs. Container groups within the same security group can access each other.

VswitchId string

The ID of the VSwitch. Currently, container groups can only be deployed in VPC networks. The number of IP addresses in the VSwitch CIDR block determines the maximum number of container groups that can be created in the VSwitch. Before you can create an ECI instance, plan the CIDR block of the VSwitch.

AcrRegistryInfos []ContainerGroupAcrRegistryInfoArgs

The ACR enterprise edition example properties.

AutoCreateEip bool

Specifies whether to automatically create an EIP and bind the EIP to the elastic container instance.

AutoMatchImageCache bool

Specifies whether to automatically match the image cache. Default value: false.

Cpu float64

The amount of CPU resources allocated to the container group.

DnsConfig ContainerGroupDnsConfigArgs

The structure of dnsConfig.

EciSecurityContext ContainerGroupEciSecurityContextArgs

The security context of the container group.

EipBandwidth int

The bandwidth of the EIP. The default value is 5.

EipInstanceId string

The ID of the elastic IP address (EIP).

HostAliases []ContainerGroupHostAliasArgs

HostAliases.

ImageRegistryCredentials []ContainerGroupImageRegistryCredentialArgs

The image registry credential. The details see Block image_registry_credential.

InitContainers []ContainerGroupInitContainerArgs

The list of initContainers.

InsecureRegistry string

The address of the self-built mirror warehouse. When creating an image cache using an image in a self-built image repository with a self-signed certificate, you need to configure this parameter to skip certificate authentication to avoid image pull failure due to certificate authentication failure.

InstanceType string

The type of the ECS instance.

Memory float64

The amount of memory resources allocated to the container group.

PlainHttpRegistry string

The address of the self-built mirror warehouse. When creating an image cache from an image in a self-built image repository using the HTTP protocol, you need to configure this parameter so that the ECI uses the HTTP protocol to pull the image to avoid image pull failure due to different protocols.

RamRoleName string

The RAM role that the container group assumes. ECI and ECS share the same RAM role.

ResourceGroupId string

The ID of the resource group.

RestartPolicy string

The restart policy of the container group. Valid values: Always, Never, OnFailure.

Tags map[string]interface{}

A mapping of tags to assign to the resource.

  • Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
  • Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
Volumes []ContainerGroupVolumeArgs

The list of volumes.

ZoneId string

The ID of the zone where you want to deploy the container group. If no value is specified, the system assigns a zone to the container group. By default, no value is specified.

containerGroupName String

The name of the container group.

containers List<ContainerGroupContainerArgs>

The list of containers.

securityGroupId String

The ID of the security group to which the container group belongs. Container groups within the same security group can access each other.

vswitchId String

The ID of the VSwitch. Currently, container groups can only be deployed in VPC networks. The number of IP addresses in the VSwitch CIDR block determines the maximum number of container groups that can be created in the VSwitch. Before you can create an ECI instance, plan the CIDR block of the VSwitch.

acrRegistryInfos List<ContainerGroupAcrRegistryInfoArgs>

The ACR enterprise edition example properties.

autoCreateEip Boolean

Specifies whether to automatically create an EIP and bind the EIP to the elastic container instance.

autoMatchImageCache Boolean

Specifies whether to automatically match the image cache. Default value: false.

cpu Double

The amount of CPU resources allocated to the container group.

dnsConfig ContainerGroupDnsConfigArgs

The structure of dnsConfig.

eciSecurityContext ContainerGroupEciSecurityContextArgs

The security context of the container group.

eipBandwidth Integer

The bandwidth of the EIP. The default value is 5.

eipInstanceId String

The ID of the elastic IP address (EIP).

hostAliases List<ContainerGroupHostAliasArgs>

HostAliases.

imageRegistryCredentials List<ContainerGroupImageRegistryCredentialArgs>

The image registry credential. The details see Block image_registry_credential.

initContainers List<ContainerGroupInitContainerArgs>

The list of initContainers.

insecureRegistry String

The address of the self-built mirror warehouse. When creating an image cache using an image in a self-built image repository with a self-signed certificate, you need to configure this parameter to skip certificate authentication to avoid image pull failure due to certificate authentication failure.

instanceType String

The type of the ECS instance.

memory Double

The amount of memory resources allocated to the container group.

plainHttpRegistry String

The address of the self-built mirror warehouse. When creating an image cache from an image in a self-built image repository using the HTTP protocol, you need to configure this parameter so that the ECI uses the HTTP protocol to pull the image to avoid image pull failure due to different protocols.

ramRoleName String

The RAM role that the container group assumes. ECI and ECS share the same RAM role.

resourceGroupId String

The ID of the resource group.

restartPolicy String

The restart policy of the container group. Valid values: Always, Never, OnFailure.

tags Map<String,Object>

A mapping of tags to assign to the resource.

  • Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
  • Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
volumes List<ContainerGroupVolumeArgs>

The list of volumes.

zoneId String

The ID of the zone where you want to deploy the container group. If no value is specified, the system assigns a zone to the container group. By default, no value is specified.

containerGroupName string

The name of the container group.

containers ContainerGroupContainerArgs[]

The list of containers.

securityGroupId string

The ID of the security group to which the container group belongs. Container groups within the same security group can access each other.

vswitchId string

The ID of the VSwitch. Currently, container groups can only be deployed in VPC networks. The number of IP addresses in the VSwitch CIDR block determines the maximum number of container groups that can be created in the VSwitch. Before you can create an ECI instance, plan the CIDR block of the VSwitch.

acrRegistryInfos ContainerGroupAcrRegistryInfoArgs[]

The ACR enterprise edition example properties.

autoCreateEip boolean

Specifies whether to automatically create an EIP and bind the EIP to the elastic container instance.

autoMatchImageCache boolean

Specifies whether to automatically match the image cache. Default value: false.

cpu number

The amount of CPU resources allocated to the container group.

dnsConfig ContainerGroupDnsConfigArgs

The structure of dnsConfig.

eciSecurityContext ContainerGroupEciSecurityContextArgs

The security context of the container group.

eipBandwidth number

The bandwidth of the EIP. The default value is 5.

eipInstanceId string

The ID of the elastic IP address (EIP).

hostAliases ContainerGroupHostAliasArgs[]

HostAliases.

imageRegistryCredentials ContainerGroupImageRegistryCredentialArgs[]

The image registry credential. The details see Block image_registry_credential.

initContainers ContainerGroupInitContainerArgs[]

The list of initContainers.

insecureRegistry string

The address of the self-built mirror warehouse. When creating an image cache using an image in a self-built image repository with a self-signed certificate, you need to configure this parameter to skip certificate authentication to avoid image pull failure due to certificate authentication failure.

instanceType string

The type of the ECS instance.

memory number

The amount of memory resources allocated to the container group.

plainHttpRegistry string

The address of the self-built mirror warehouse. When creating an image cache from an image in a self-built image repository using the HTTP protocol, you need to configure this parameter so that the ECI uses the HTTP protocol to pull the image to avoid image pull failure due to different protocols.

ramRoleName string

The RAM role that the container group assumes. ECI and ECS share the same RAM role.

resourceGroupId string

The ID of the resource group.

restartPolicy string

The restart policy of the container group. Valid values: Always, Never, OnFailure.

tags {[key: string]: any}

A mapping of tags to assign to the resource.

  • Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
  • Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
volumes ContainerGroupVolumeArgs[]

The list of volumes.

zoneId string

The ID of the zone where you want to deploy the container group. If no value is specified, the system assigns a zone to the container group. By default, no value is specified.

container_group_name str

The name of the container group.

containers Sequence[ContainerGroupContainerArgs]

The list of containers.

security_group_id str

The ID of the security group to which the container group belongs. Container groups within the same security group can access each other.

vswitch_id str

The ID of the VSwitch. Currently, container groups can only be deployed in VPC networks. The number of IP addresses in the VSwitch CIDR block determines the maximum number of container groups that can be created in the VSwitch. Before you can create an ECI instance, plan the CIDR block of the VSwitch.

acr_registry_infos Sequence[ContainerGroupAcrRegistryInfoArgs]

The ACR enterprise edition example properties.

auto_create_eip bool

Specifies whether to automatically create an EIP and bind the EIP to the elastic container instance.

auto_match_image_cache bool

Specifies whether to automatically match the image cache. Default value: false.

cpu float

The amount of CPU resources allocated to the container group.

dns_config ContainerGroupDnsConfigArgs

The structure of dnsConfig.

eci_security_context ContainerGroupEciSecurityContextArgs

The security context of the container group.

eip_bandwidth int

The bandwidth of the EIP. The default value is 5.

eip_instance_id str

The ID of the elastic IP address (EIP).

host_aliases Sequence[ContainerGroupHostAliasArgs]

HostAliases.

image_registry_credentials Sequence[ContainerGroupImageRegistryCredentialArgs]

The image registry credential. The details see Block image_registry_credential.

init_containers Sequence[ContainerGroupInitContainerArgs]

The list of initContainers.

insecure_registry str

The address of the self-built mirror warehouse. When creating an image cache using an image in a self-built image repository with a self-signed certificate, you need to configure this parameter to skip certificate authentication to avoid image pull failure due to certificate authentication failure.

instance_type str

The type of the ECS instance.

memory float

The amount of memory resources allocated to the container group.

plain_http_registry str

The address of the self-built mirror warehouse. When creating an image cache from an image in a self-built image repository using the HTTP protocol, you need to configure this parameter so that the ECI uses the HTTP protocol to pull the image to avoid image pull failure due to different protocols.

ram_role_name str

The RAM role that the container group assumes. ECI and ECS share the same RAM role.

resource_group_id str

The ID of the resource group.

restart_policy str

The restart policy of the container group. Valid values: Always, Never, OnFailure.

tags Mapping[str, Any]

A mapping of tags to assign to the resource.

  • Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
  • Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
volumes Sequence[ContainerGroupVolumeArgs]

The list of volumes.

zone_id str

The ID of the zone where you want to deploy the container group. If no value is specified, the system assigns a zone to the container group. By default, no value is specified.

containerGroupName String

The name of the container group.

containers List<Property Map>

The list of containers.

securityGroupId String

The ID of the security group to which the container group belongs. Container groups within the same security group can access each other.

vswitchId String

The ID of the VSwitch. Currently, container groups can only be deployed in VPC networks. The number of IP addresses in the VSwitch CIDR block determines the maximum number of container groups that can be created in the VSwitch. Before you can create an ECI instance, plan the CIDR block of the VSwitch.

acrRegistryInfos List<Property Map>

The ACR enterprise edition example properties.

autoCreateEip Boolean

Specifies whether to automatically create an EIP and bind the EIP to the elastic container instance.

autoMatchImageCache Boolean

Specifies whether to automatically match the image cache. Default value: false.

cpu Number

The amount of CPU resources allocated to the container group.

dnsConfig Property Map

The structure of dnsConfig.

eciSecurityContext Property Map

The security context of the container group.

eipBandwidth Number

The bandwidth of the EIP. The default value is 5.

eipInstanceId String

The ID of the elastic IP address (EIP).

hostAliases List<Property Map>

HostAliases.

imageRegistryCredentials List<Property Map>

The image registry credential. The details see Block image_registry_credential.

initContainers List<Property Map>

The list of initContainers.

insecureRegistry String

The address of the self-built mirror warehouse. When creating an image cache using an image in a self-built image repository with a self-signed certificate, you need to configure this parameter to skip certificate authentication to avoid image pull failure due to certificate authentication failure.

instanceType String

The type of the ECS instance.

memory Number

The amount of memory resources allocated to the container group.

plainHttpRegistry String

The address of the self-built mirror warehouse. When creating an image cache from an image in a self-built image repository using the HTTP protocol, you need to configure this parameter so that the ECI uses the HTTP protocol to pull the image to avoid image pull failure due to different protocols.

ramRoleName String

The RAM role that the container group assumes. ECI and ECS share the same RAM role.

resourceGroupId String

The ID of the resource group.

restartPolicy String

The restart policy of the container group. Valid values: Always, Never, OnFailure.

tags Map<Any>

A mapping of tags to assign to the resource.

  • Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
  • Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
volumes List<Property Map>

The list of volumes.

zoneId String

The ID of the zone where you want to deploy the container group. If no value is specified, the system assigns a zone to the container group. By default, no value is specified.

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

InternetIp string

(Available in v1.170.0+) The Public IP of the container group.

IntranetIp string

(Available in v1.170.0+) The Private IP of the container group.

Status string

The status of container group.

Id string

The provider-assigned unique ID for this managed resource.

InternetIp string

(Available in v1.170.0+) The Public IP of the container group.

IntranetIp string

(Available in v1.170.0+) The Private IP of the container group.

Status string

The status of container group.

id String

The provider-assigned unique ID for this managed resource.

internetIp String

(Available in v1.170.0+) The Public IP of the container group.

intranetIp String

(Available in v1.170.0+) The Private IP of the container group.

status String

The status of container group.

id string

The provider-assigned unique ID for this managed resource.

internetIp string

(Available in v1.170.0+) The Public IP of the container group.

intranetIp string

(Available in v1.170.0+) The Private IP of the container group.

status string

The status of container group.

id str

The provider-assigned unique ID for this managed resource.

internet_ip str

(Available in v1.170.0+) The Public IP of the container group.

intranet_ip str

(Available in v1.170.0+) The Private IP of the container group.

status str

The status of container group.

id String

The provider-assigned unique ID for this managed resource.

internetIp String

(Available in v1.170.0+) The Public IP of the container group.

intranetIp String

(Available in v1.170.0+) The Private IP of the container group.

status String

The status of container group.

Look up Existing ContainerGroup Resource

Get an existing ContainerGroup 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?: ContainerGroupState, opts?: CustomResourceOptions): ContainerGroup
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        acr_registry_infos: Optional[Sequence[ContainerGroupAcrRegistryInfoArgs]] = None,
        auto_create_eip: Optional[bool] = None,
        auto_match_image_cache: Optional[bool] = None,
        container_group_name: Optional[str] = None,
        containers: Optional[Sequence[ContainerGroupContainerArgs]] = None,
        cpu: Optional[float] = None,
        dns_config: Optional[ContainerGroupDnsConfigArgs] = None,
        eci_security_context: Optional[ContainerGroupEciSecurityContextArgs] = None,
        eip_bandwidth: Optional[int] = None,
        eip_instance_id: Optional[str] = None,
        host_aliases: Optional[Sequence[ContainerGroupHostAliasArgs]] = None,
        image_registry_credentials: Optional[Sequence[ContainerGroupImageRegistryCredentialArgs]] = None,
        init_containers: Optional[Sequence[ContainerGroupInitContainerArgs]] = None,
        insecure_registry: Optional[str] = None,
        instance_type: Optional[str] = None,
        internet_ip: Optional[str] = None,
        intranet_ip: Optional[str] = None,
        memory: Optional[float] = None,
        plain_http_registry: Optional[str] = None,
        ram_role_name: Optional[str] = None,
        resource_group_id: Optional[str] = None,
        restart_policy: Optional[str] = None,
        security_group_id: Optional[str] = None,
        status: Optional[str] = None,
        tags: Optional[Mapping[str, Any]] = None,
        volumes: Optional[Sequence[ContainerGroupVolumeArgs]] = None,
        vswitch_id: Optional[str] = None,
        zone_id: Optional[str] = None) -> ContainerGroup
func GetContainerGroup(ctx *Context, name string, id IDInput, state *ContainerGroupState, opts ...ResourceOption) (*ContainerGroup, error)
public static ContainerGroup Get(string name, Input<string> id, ContainerGroupState? state, CustomResourceOptions? opts = null)
public static ContainerGroup get(String name, Output<String> id, ContainerGroupState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AcrRegistryInfos List<Pulumi.AliCloud.Eci.Inputs.ContainerGroupAcrRegistryInfoArgs>

The ACR enterprise edition example properties.

AutoCreateEip bool

Specifies whether to automatically create an EIP and bind the EIP to the elastic container instance.

AutoMatchImageCache bool

Specifies whether to automatically match the image cache. Default value: false.

ContainerGroupName string

The name of the container group.

Containers List<Pulumi.AliCloud.Eci.Inputs.ContainerGroupContainerArgs>

The list of containers.

Cpu double

The amount of CPU resources allocated to the container group.

DnsConfig Pulumi.AliCloud.Eci.Inputs.ContainerGroupDnsConfigArgs

The structure of dnsConfig.

EciSecurityContext Pulumi.AliCloud.Eci.Inputs.ContainerGroupEciSecurityContextArgs

The security context of the container group.

EipBandwidth int

The bandwidth of the EIP. The default value is 5.

EipInstanceId string

The ID of the elastic IP address (EIP).

HostAliases List<Pulumi.AliCloud.Eci.Inputs.ContainerGroupHostAliasArgs>

HostAliases.

ImageRegistryCredentials List<Pulumi.AliCloud.Eci.Inputs.ContainerGroupImageRegistryCredentialArgs>

The image registry credential. The details see Block image_registry_credential.

InitContainers List<Pulumi.AliCloud.Eci.Inputs.ContainerGroupInitContainerArgs>

The list of initContainers.

InsecureRegistry string

The address of the self-built mirror warehouse. When creating an image cache using an image in a self-built image repository with a self-signed certificate, you need to configure this parameter to skip certificate authentication to avoid image pull failure due to certificate authentication failure.

InstanceType string

The type of the ECS instance.

InternetIp string

(Available in v1.170.0+) The Public IP of the container group.

IntranetIp string

(Available in v1.170.0+) The Private IP of the container group.

Memory double

The amount of memory resources allocated to the container group.

PlainHttpRegistry string

The address of the self-built mirror warehouse. When creating an image cache from an image in a self-built image repository using the HTTP protocol, you need to configure this parameter so that the ECI uses the HTTP protocol to pull the image to avoid image pull failure due to different protocols.

RamRoleName string

The RAM role that the container group assumes. ECI and ECS share the same RAM role.

ResourceGroupId string

The ID of the resource group.

RestartPolicy string

The restart policy of the container group. Valid values: Always, Never, OnFailure.

SecurityGroupId string

The ID of the security group to which the container group belongs. Container groups within the same security group can access each other.

Status string

The status of container group.

Tags Dictionary<string, object>

A mapping of tags to assign to the resource.

  • Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
  • Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
Volumes List<Pulumi.AliCloud.Eci.Inputs.ContainerGroupVolumeArgs>

The list of volumes.

VswitchId string

The ID of the VSwitch. Currently, container groups can only be deployed in VPC networks. The number of IP addresses in the VSwitch CIDR block determines the maximum number of container groups that can be created in the VSwitch. Before you can create an ECI instance, plan the CIDR block of the VSwitch.

ZoneId string

The ID of the zone where you want to deploy the container group. If no value is specified, the system assigns a zone to the container group. By default, no value is specified.

AcrRegistryInfos []ContainerGroupAcrRegistryInfoArgs

The ACR enterprise edition example properties.

AutoCreateEip bool

Specifies whether to automatically create an EIP and bind the EIP to the elastic container instance.

AutoMatchImageCache bool

Specifies whether to automatically match the image cache. Default value: false.

ContainerGroupName string

The name of the container group.

Containers []ContainerGroupContainerArgs

The list of containers.

Cpu float64

The amount of CPU resources allocated to the container group.

DnsConfig ContainerGroupDnsConfigArgs

The structure of dnsConfig.

EciSecurityContext ContainerGroupEciSecurityContextArgs

The security context of the container group.

EipBandwidth int

The bandwidth of the EIP. The default value is 5.

EipInstanceId string

The ID of the elastic IP address (EIP).

HostAliases []ContainerGroupHostAliasArgs

HostAliases.

ImageRegistryCredentials []ContainerGroupImageRegistryCredentialArgs

The image registry credential. The details see Block image_registry_credential.

InitContainers []ContainerGroupInitContainerArgs

The list of initContainers.

InsecureRegistry string

The address of the self-built mirror warehouse. When creating an image cache using an image in a self-built image repository with a self-signed certificate, you need to configure this parameter to skip certificate authentication to avoid image pull failure due to certificate authentication failure.

InstanceType string

The type of the ECS instance.

InternetIp string

(Available in v1.170.0+) The Public IP of the container group.

IntranetIp string

(Available in v1.170.0+) The Private IP of the container group.

Memory float64

The amount of memory resources allocated to the container group.

PlainHttpRegistry string

The address of the self-built mirror warehouse. When creating an image cache from an image in a self-built image repository using the HTTP protocol, you need to configure this parameter so that the ECI uses the HTTP protocol to pull the image to avoid image pull failure due to different protocols.

RamRoleName string

The RAM role that the container group assumes. ECI and ECS share the same RAM role.

ResourceGroupId string

The ID of the resource group.

RestartPolicy string

The restart policy of the container group. Valid values: Always, Never, OnFailure.

SecurityGroupId string

The ID of the security group to which the container group belongs. Container groups within the same security group can access each other.

Status string

The status of container group.

Tags map[string]interface{}

A mapping of tags to assign to the resource.

  • Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
  • Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
Volumes []ContainerGroupVolumeArgs

The list of volumes.

VswitchId string

The ID of the VSwitch. Currently, container groups can only be deployed in VPC networks. The number of IP addresses in the VSwitch CIDR block determines the maximum number of container groups that can be created in the VSwitch. Before you can create an ECI instance, plan the CIDR block of the VSwitch.

ZoneId string

The ID of the zone where you want to deploy the container group. If no value is specified, the system assigns a zone to the container group. By default, no value is specified.

acrRegistryInfos List<ContainerGroupAcrRegistryInfoArgs>

The ACR enterprise edition example properties.

autoCreateEip Boolean

Specifies whether to automatically create an EIP and bind the EIP to the elastic container instance.

autoMatchImageCache Boolean

Specifies whether to automatically match the image cache. Default value: false.

containerGroupName String

The name of the container group.

containers List<ContainerGroupContainerArgs>

The list of containers.

cpu Double

The amount of CPU resources allocated to the container group.

dnsConfig ContainerGroupDnsConfigArgs

The structure of dnsConfig.

eciSecurityContext ContainerGroupEciSecurityContextArgs

The security context of the container group.

eipBandwidth Integer

The bandwidth of the EIP. The default value is 5.

eipInstanceId String

The ID of the elastic IP address (EIP).

hostAliases List<ContainerGroupHostAliasArgs>

HostAliases.

imageRegistryCredentials List<ContainerGroupImageRegistryCredentialArgs>

The image registry credential. The details see Block image_registry_credential.

initContainers List<ContainerGroupInitContainerArgs>

The list of initContainers.

insecureRegistry String

The address of the self-built mirror warehouse. When creating an image cache using an image in a self-built image repository with a self-signed certificate, you need to configure this parameter to skip certificate authentication to avoid image pull failure due to certificate authentication failure.

instanceType String

The type of the ECS instance.

internetIp String

(Available in v1.170.0+) The Public IP of the container group.

intranetIp String

(Available in v1.170.0+) The Private IP of the container group.

memory Double

The amount of memory resources allocated to the container group.

plainHttpRegistry String

The address of the self-built mirror warehouse. When creating an image cache from an image in a self-built image repository using the HTTP protocol, you need to configure this parameter so that the ECI uses the HTTP protocol to pull the image to avoid image pull failure due to different protocols.

ramRoleName String

The RAM role that the container group assumes. ECI and ECS share the same RAM role.

resourceGroupId String

The ID of the resource group.

restartPolicy String

The restart policy of the container group. Valid values: Always, Never, OnFailure.

securityGroupId String

The ID of the security group to which the container group belongs. Container groups within the same security group can access each other.

status String

The status of container group.

tags Map<String,Object>

A mapping of tags to assign to the resource.

  • Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
  • Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
volumes List<ContainerGroupVolumeArgs>

The list of volumes.

vswitchId String

The ID of the VSwitch. Currently, container groups can only be deployed in VPC networks. The number of IP addresses in the VSwitch CIDR block determines the maximum number of container groups that can be created in the VSwitch. Before you can create an ECI instance, plan the CIDR block of the VSwitch.

zoneId String

The ID of the zone where you want to deploy the container group. If no value is specified, the system assigns a zone to the container group. By default, no value is specified.

acrRegistryInfos ContainerGroupAcrRegistryInfoArgs[]

The ACR enterprise edition example properties.

autoCreateEip boolean

Specifies whether to automatically create an EIP and bind the EIP to the elastic container instance.

autoMatchImageCache boolean

Specifies whether to automatically match the image cache. Default value: false.

containerGroupName string

The name of the container group.

containers ContainerGroupContainerArgs[]

The list of containers.

cpu number

The amount of CPU resources allocated to the container group.

dnsConfig ContainerGroupDnsConfigArgs

The structure of dnsConfig.

eciSecurityContext ContainerGroupEciSecurityContextArgs

The security context of the container group.

eipBandwidth number

The bandwidth of the EIP. The default value is 5.

eipInstanceId string

The ID of the elastic IP address (EIP).

hostAliases ContainerGroupHostAliasArgs[]

HostAliases.

imageRegistryCredentials ContainerGroupImageRegistryCredentialArgs[]

The image registry credential. The details see Block image_registry_credential.

initContainers ContainerGroupInitContainerArgs[]

The list of initContainers.

insecureRegistry string

The address of the self-built mirror warehouse. When creating an image cache using an image in a self-built image repository with a self-signed certificate, you need to configure this parameter to skip certificate authentication to avoid image pull failure due to certificate authentication failure.

instanceType string

The type of the ECS instance.

internetIp string

(Available in v1.170.0+) The Public IP of the container group.

intranetIp string

(Available in v1.170.0+) The Private IP of the container group.

memory number

The amount of memory resources allocated to the container group.

plainHttpRegistry string

The address of the self-built mirror warehouse. When creating an image cache from an image in a self-built image repository using the HTTP protocol, you need to configure this parameter so that the ECI uses the HTTP protocol to pull the image to avoid image pull failure due to different protocols.

ramRoleName string

The RAM role that the container group assumes. ECI and ECS share the same RAM role.

resourceGroupId string

The ID of the resource group.

restartPolicy string

The restart policy of the container group. Valid values: Always, Never, OnFailure.

securityGroupId string

The ID of the security group to which the container group belongs. Container groups within the same security group can access each other.

status string

The status of container group.

tags {[key: string]: any}

A mapping of tags to assign to the resource.

  • Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
  • Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
volumes ContainerGroupVolumeArgs[]

The list of volumes.

vswitchId string

The ID of the VSwitch. Currently, container groups can only be deployed in VPC networks. The number of IP addresses in the VSwitch CIDR block determines the maximum number of container groups that can be created in the VSwitch. Before you can create an ECI instance, plan the CIDR block of the VSwitch.

zoneId string

The ID of the zone where you want to deploy the container group. If no value is specified, the system assigns a zone to the container group. By default, no value is specified.

acr_registry_infos Sequence[ContainerGroupAcrRegistryInfoArgs]

The ACR enterprise edition example properties.

auto_create_eip bool

Specifies whether to automatically create an EIP and bind the EIP to the elastic container instance.

auto_match_image_cache bool

Specifies whether to automatically match the image cache. Default value: false.

container_group_name str

The name of the container group.

containers Sequence[ContainerGroupContainerArgs]

The list of containers.

cpu float

The amount of CPU resources allocated to the container group.

dns_config ContainerGroupDnsConfigArgs

The structure of dnsConfig.

eci_security_context ContainerGroupEciSecurityContextArgs

The security context of the container group.

eip_bandwidth int

The bandwidth of the EIP. The default value is 5.

eip_instance_id str

The ID of the elastic IP address (EIP).

host_aliases Sequence[ContainerGroupHostAliasArgs]

HostAliases.

image_registry_credentials Sequence[ContainerGroupImageRegistryCredentialArgs]

The image registry credential. The details see Block image_registry_credential.

init_containers Sequence[ContainerGroupInitContainerArgs]

The list of initContainers.

insecure_registry str

The address of the self-built mirror warehouse. When creating an image cache using an image in a self-built image repository with a self-signed certificate, you need to configure this parameter to skip certificate authentication to avoid image pull failure due to certificate authentication failure.

instance_type str

The type of the ECS instance.

internet_ip str

(Available in v1.170.0+) The Public IP of the container group.

intranet_ip str

(Available in v1.170.0+) The Private IP of the container group.

memory float

The amount of memory resources allocated to the container group.

plain_http_registry str

The address of the self-built mirror warehouse. When creating an image cache from an image in a self-built image repository using the HTTP protocol, you need to configure this parameter so that the ECI uses the HTTP protocol to pull the image to avoid image pull failure due to different protocols.

ram_role_name str

The RAM role that the container group assumes. ECI and ECS share the same RAM role.

resource_group_id str

The ID of the resource group.

restart_policy str

The restart policy of the container group. Valid values: Always, Never, OnFailure.

security_group_id str

The ID of the security group to which the container group belongs. Container groups within the same security group can access each other.

status str

The status of container group.

tags Mapping[str, Any]

A mapping of tags to assign to the resource.

  • Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
  • Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
volumes Sequence[ContainerGroupVolumeArgs]

The list of volumes.

vswitch_id str

The ID of the VSwitch. Currently, container groups can only be deployed in VPC networks. The number of IP addresses in the VSwitch CIDR block determines the maximum number of container groups that can be created in the VSwitch. Before you can create an ECI instance, plan the CIDR block of the VSwitch.

zone_id str

The ID of the zone where you want to deploy the container group. If no value is specified, the system assigns a zone to the container group. By default, no value is specified.

acrRegistryInfos List<Property Map>

The ACR enterprise edition example properties.

autoCreateEip Boolean

Specifies whether to automatically create an EIP and bind the EIP to the elastic container instance.

autoMatchImageCache Boolean

Specifies whether to automatically match the image cache. Default value: false.

containerGroupName String

The name of the container group.

containers List<Property Map>

The list of containers.

cpu Number

The amount of CPU resources allocated to the container group.

dnsConfig Property Map

The structure of dnsConfig.

eciSecurityContext Property Map

The security context of the container group.

eipBandwidth Number

The bandwidth of the EIP. The default value is 5.

eipInstanceId String

The ID of the elastic IP address (EIP).

hostAliases List<Property Map>

HostAliases.

imageRegistryCredentials List<Property Map>

The image registry credential. The details see Block image_registry_credential.

initContainers List<Property Map>

The list of initContainers.

insecureRegistry String

The address of the self-built mirror warehouse. When creating an image cache using an image in a self-built image repository with a self-signed certificate, you need to configure this parameter to skip certificate authentication to avoid image pull failure due to certificate authentication failure.

instanceType String

The type of the ECS instance.

internetIp String

(Available in v1.170.0+) The Public IP of the container group.

intranetIp String

(Available in v1.170.0+) The Private IP of the container group.

memory Number

The amount of memory resources allocated to the container group.

plainHttpRegistry String

The address of the self-built mirror warehouse. When creating an image cache from an image in a self-built image repository using the HTTP protocol, you need to configure this parameter so that the ECI uses the HTTP protocol to pull the image to avoid image pull failure due to different protocols.

ramRoleName String

The RAM role that the container group assumes. ECI and ECS share the same RAM role.

resourceGroupId String

The ID of the resource group.

restartPolicy String

The restart policy of the container group. Valid values: Always, Never, OnFailure.

securityGroupId String

The ID of the security group to which the container group belongs. Container groups within the same security group can access each other.

status String

The status of container group.

tags Map<Any>

A mapping of tags to assign to the resource.

  • Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
  • Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
volumes List<Property Map>

The list of volumes.

vswitchId String

The ID of the VSwitch. Currently, container groups can only be deployed in VPC networks. The number of IP addresses in the VSwitch CIDR block determines the maximum number of container groups that can be created in the VSwitch. Before you can create an ECI instance, plan the CIDR block of the VSwitch.

zoneId String

The ID of the zone where you want to deploy the container group. If no value is specified, the system assigns a zone to the container group. By default, no value is specified.

Supporting Types

ContainerGroupAcrRegistryInfo

Domains List<string>

The domain name of the ACR Enterprise Edition instance. Defaults to all domain names of the corresponding instance. Support specifying individual domain names, multiple separated by half comma.

InstanceId string

The ACR enterprise edition example ID.

InstanceName string

The name of the ACR enterprise edition instance.

RegionId string

The ACR enterprise edition instance belongs to the region.

Domains []string

The domain name of the ACR Enterprise Edition instance. Defaults to all domain names of the corresponding instance. Support specifying individual domain names, multiple separated by half comma.

InstanceId string

The ACR enterprise edition example ID.

InstanceName string

The name of the ACR enterprise edition instance.

RegionId string

The ACR enterprise edition instance belongs to the region.

domains List<String>

The domain name of the ACR Enterprise Edition instance. Defaults to all domain names of the corresponding instance. Support specifying individual domain names, multiple separated by half comma.

instanceId String

The ACR enterprise edition example ID.

instanceName String

The name of the ACR enterprise edition instance.

regionId String

The ACR enterprise edition instance belongs to the region.

domains string[]

The domain name of the ACR Enterprise Edition instance. Defaults to all domain names of the corresponding instance. Support specifying individual domain names, multiple separated by half comma.

instanceId string

The ACR enterprise edition example ID.

instanceName string

The name of the ACR enterprise edition instance.

regionId string

The ACR enterprise edition instance belongs to the region.

domains Sequence[str]

The domain name of the ACR Enterprise Edition instance. Defaults to all domain names of the corresponding instance. Support specifying individual domain names, multiple separated by half comma.

instance_id str

The ACR enterprise edition example ID.

instance_name str

The name of the ACR enterprise edition instance.

region_id str

The ACR enterprise edition instance belongs to the region.

domains List<String>

The domain name of the ACR Enterprise Edition instance. Defaults to all domain names of the corresponding instance. Support specifying individual domain names, multiple separated by half comma.

instanceId String

The ACR enterprise edition example ID.

instanceName String

The name of the ACR enterprise edition instance.

regionId String

The ACR enterprise edition instance belongs to the region.

ContainerGroupContainer

Image string

The image of the container.

Name string

The name of the volume.

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 group.

EnvironmentVars List<Pulumi.AliCloud.Eci.Inputs.ContainerGroupContainerEnvironmentVar>

The structure of environmentVars.

Gpu int

The number GPUs.

ImagePullPolicy string

The restart policy of the image.

LivenessProbes List<Pulumi.AliCloud.Eci.Inputs.ContainerGroupContainerLivenessProbe>

The health check of the container.

Memory double

The amount of memory resources allocated to the container group.

Ports List<Pulumi.AliCloud.Eci.Inputs.ContainerGroupContainerPort>

The structure of port.

ReadinessProbes List<Pulumi.AliCloud.Eci.Inputs.ContainerGroupContainerReadinessProbe>

The health check of the container.

Ready bool
RestartCount int
VolumeMounts List<Pulumi.AliCloud.Eci.Inputs.ContainerGroupContainerVolumeMount>

The structure of volumeMounts.

WorkingDir string

The working directory of the container.

Image string

The image of the container.

Name string

The name of the volume.

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 group.

EnvironmentVars []ContainerGroupContainerEnvironmentVar

The structure of environmentVars.

Gpu int

The number GPUs.

ImagePullPolicy string

The restart policy of the image.

LivenessProbes []ContainerGroupContainerLivenessProbe

The health check of the container.

Memory float64

The amount of memory resources allocated to the container group.

Ports []ContainerGroupContainerPort

The structure of port.

ReadinessProbes []ContainerGroupContainerReadinessProbe

The health check of the container.

Ready bool
RestartCount int
VolumeMounts []ContainerGroupContainerVolumeMount

The structure of volumeMounts.

WorkingDir string

The working directory of the container.

image String

The image of the container.

name String

The name of the volume.

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 group.

environmentVars List<ContainerGroupContainerEnvironmentVar>

The structure of environmentVars.

gpu Integer

The number GPUs.

imagePullPolicy String

The restart policy of the image.

livenessProbes List<ContainerGroupContainerLivenessProbe>

The health check of the container.

memory Double

The amount of memory resources allocated to the container group.

ports List<ContainerGroupContainerPort>

The structure of port.

readinessProbes List<ContainerGroupContainerReadinessProbe>

The health check of the container.

ready Boolean
restartCount Integer
volumeMounts List<ContainerGroupContainerVolumeMount>

The structure of volumeMounts.

workingDir String

The working directory of the container.

image string

The image of the container.

name string

The name of the volume.

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 group.

environmentVars ContainerGroupContainerEnvironmentVar[]

The structure of environmentVars.

gpu number

The number GPUs.

imagePullPolicy string

The restart policy of the image.

livenessProbes ContainerGroupContainerLivenessProbe[]

The health check of the container.

memory number

The amount of memory resources allocated to the container group.

ports ContainerGroupContainerPort[]

The structure of port.

readinessProbes ContainerGroupContainerReadinessProbe[]

The health check of the container.

ready boolean
restartCount number
volumeMounts ContainerGroupContainerVolumeMount[]

The structure of volumeMounts.

workingDir string

The working directory of the container.

image str

The image of the container.

name str

The name of the volume.

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 group.

environment_vars Sequence[ContainerGroupContainerEnvironmentVar]

The structure of environmentVars.

gpu int

The number GPUs.

image_pull_policy str

The restart policy of the image.

liveness_probes Sequence[ContainerGroupContainerLivenessProbe]

The health check of the container.

memory float

The amount of memory resources allocated to the container group.

ports Sequence[ContainerGroupContainerPort]

The structure of port.

readiness_probes Sequence[ContainerGroupContainerReadinessProbe]

The health check of the container.

ready bool
restart_count int
volume_mounts Sequence[ContainerGroupContainerVolumeMount]

The structure of volumeMounts.

working_dir str

The working directory of the container.

image String

The image of the container.

name String

The name of the volume.

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 group.

environmentVars List<Property Map>

The structure of environmentVars.

gpu Number

The number GPUs.

imagePullPolicy String

The restart policy of the image.

livenessProbes List<Property Map>

The health check of the container.

memory Number

The amount of memory resources allocated to the container group.

ports List<Property Map>

The structure of port.

readinessProbes List<Property Map>

The health check of the container.

ready Boolean
restartCount Number
volumeMounts List<Property Map>

The structure of volumeMounts.

workingDir String

The working directory of the container.

ContainerGroupContainerEnvironmentVar

Key string

The name of the variable. The name can be 1 to 128 characters in length and can contain letters, digits, and underscores (_). It cannot start with a digit.

Value string

The value of the variable. The value can be 0 to 256 characters in length.

Key string

The name of the variable. The name can be 1 to 128 characters in length and can contain letters, digits, and underscores (_). It cannot start with a digit.

Value string

The value of the variable. The value can be 0 to 256 characters in length.

key String

The name of the variable. The name can be 1 to 128 characters in length and can contain letters, digits, and underscores (_). It cannot start with a digit.

value String

The value of the variable. The value can be 0 to 256 characters in length.

key string

The name of the variable. The name can be 1 to 128 characters in length and can contain letters, digits, and underscores (_). It cannot start with a digit.

value string

The value of the variable. The value can be 0 to 256 characters in length.

key str

The name of the variable. The name can be 1 to 128 characters in length and can contain letters, digits, and underscores (_). It cannot start with a digit.

value str

The value of the variable. The value can be 0 to 256 characters in length.

key String

The name of the variable. The name can be 1 to 128 characters in length and can contain letters, digits, and underscores (_). It cannot start with a digit.

value String

The value of the variable. The value can be 0 to 256 characters in length.

ContainerGroupContainerLivenessProbe

Execs List<Pulumi.AliCloud.Eci.Inputs.ContainerGroupContainerLivenessProbeExec>

Health check using command line method.

FailureThreshold int

Threshold for the number of checks that are determined to have failed since the last successful check (must be consecutive failures), default is 3.

HttpGets List<Pulumi.AliCloud.Eci.Inputs.ContainerGroupContainerLivenessProbeHttpGet>

Health check using HTTP request method.

InitialDelaySeconds int

Check the time to start execution, calculated from the completion of container startup.

PeriodSeconds int

Buffer time for the program to handle operations before closing.

SuccessThreshold int

The check count threshold for re-identifying successful checks since the last failed check (must be consecutive successes), default is 1. Current must be 1.

TcpSockets List<Pulumi.AliCloud.Eci.Inputs.ContainerGroupContainerLivenessProbeTcpSocket>

Health check using TCP socket method.

TimeoutSeconds int

Check the timeout, the default is 1 second, the minimum is 1 second.

Execs []ContainerGroupContainerLivenessProbeExec

Health check using command line method.

FailureThreshold int

Threshold for the number of checks that are determined to have failed since the last successful check (must be consecutive failures), default is 3.

HttpGets []ContainerGroupContainerLivenessProbeHttpGet

Health check using HTTP request method.

InitialDelaySeconds int

Check the time to start execution, calculated from the completion of container startup.

PeriodSeconds int

Buffer time for the program to handle operations before closing.

SuccessThreshold int

The check count threshold for re-identifying successful checks since the last failed check (must be consecutive successes), default is 1. Current must be 1.

TcpSockets []ContainerGroupContainerLivenessProbeTcpSocket

Health check using TCP socket method.

TimeoutSeconds int

Check the timeout, the default is 1 second, the minimum is 1 second.

execs List<ContainerGroupContainerLivenessProbeExec>

Health check using command line method.

failureThreshold Integer

Threshold for the number of checks that are determined to have failed since the last successful check (must be consecutive failures), default is 3.

httpGets List<ContainerGroupContainerLivenessProbeHttpGet>

Health check using HTTP request method.

initialDelaySeconds Integer

Check the time to start execution, calculated from the completion of container startup.

periodSeconds Integer

Buffer time for the program to handle operations before closing.

successThreshold Integer

The check count threshold for re-identifying successful checks since the last failed check (must be consecutive successes), default is 1. Current must be 1.

tcpSockets List<ContainerGroupContainerLivenessProbeTcpSocket>

Health check using TCP socket method.

timeoutSeconds Integer

Check the timeout, the default is 1 second, the minimum is 1 second.

execs ContainerGroupContainerLivenessProbeExec[]

Health check using command line method.

failureThreshold number

Threshold for the number of checks that are determined to have failed since the last successful check (must be consecutive failures), default is 3.

httpGets ContainerGroupContainerLivenessProbeHttpGet[]

Health check using HTTP request method.

initialDelaySeconds number

Check the time to start execution, calculated from the completion of container startup.

periodSeconds number

Buffer time for the program to handle operations before closing.

successThreshold number

The check count threshold for re-identifying successful checks since the last failed check (must be consecutive successes), default is 1. Current must be 1.

tcpSockets ContainerGroupContainerLivenessProbeTcpSocket[]

Health check using TCP socket method.

timeoutSeconds number

Check the timeout, the default is 1 second, the minimum is 1 second.

execs Sequence[ContainerGroupContainerLivenessProbeExec]

Health check using command line method.

failure_threshold int

Threshold for the number of checks that are determined to have failed since the last successful check (must be consecutive failures), default is 3.

http_gets Sequence[ContainerGroupContainerLivenessProbeHttpGet]

Health check using HTTP request method.

initial_delay_seconds int

Check the time to start execution, calculated from the completion of container startup.

period_seconds int

Buffer time for the program to handle operations before closing.

success_threshold int

The check count threshold for re-identifying successful checks since the last failed check (must be consecutive successes), default is 1. Current must be 1.

tcp_sockets Sequence[ContainerGroupContainerLivenessProbeTcpSocket]

Health check using TCP socket method.

timeout_seconds int

Check the timeout, the default is 1 second, the minimum is 1 second.

execs List<Property Map>

Health check using command line method.

failureThreshold Number

Threshold for the number of checks that are determined to have failed since the last successful check (must be consecutive failures), default is 3.

httpGets List<Property Map>

Health check using HTTP request method.

initialDelaySeconds Number

Check the time to start execution, calculated from the completion of container startup.

periodSeconds Number

Buffer time for the program to handle operations before closing.

successThreshold Number

The check count threshold for re-identifying successful checks since the last failed check (must be consecutive successes), default is 1. Current must be 1.

tcpSockets List<Property Map>

Health check using TCP socket method.

timeoutSeconds Number

Check the timeout, the default is 1 second, the minimum is 1 second.

ContainerGroupContainerLivenessProbeExec

Commands List<string>

The commands run by the init container.

Commands []string

The commands run by the init container.

commands List<String>

The commands run by the init container.

commands string[]

The commands run by the init container.

commands Sequence[str]

The commands run by the init container.

commands List<String>

The commands run by the init container.

ContainerGroupContainerLivenessProbeHttpGet

Path string

The relative file path.

Port int

The port number. Valid values: 1 to 65535.

Scheme string

The protocol type corresponding to the HTTP Get request when using the HTTP request method for health checks. Valid values: HTTP, HTTPS.

Path string

The relative file path.

Port int

The port number. Valid values: 1 to 65535.

Scheme string

The protocol type corresponding to the HTTP Get request when using the HTTP request method for health checks. Valid values: HTTP, HTTPS.

path String

The relative file path.

port Integer

The port number. Valid values: 1 to 65535.

scheme String

The protocol type corresponding to the HTTP Get request when using the HTTP request method for health checks. Valid values: HTTP, HTTPS.

path string

The relative file path.

port number

The port number. Valid values: 1 to 65535.

scheme string

The protocol type corresponding to the HTTP Get request when using the HTTP request method for health checks. Valid values: HTTP, HTTPS.

path str

The relative file path.

port int

The port number. Valid values: 1 to 65535.

scheme str

The protocol type corresponding to the HTTP Get request when using the HTTP request method for health checks. Valid values: HTTP, HTTPS.

path String

The relative file path.

port Number

The port number. Valid values: 1 to 65535.

scheme String

The protocol type corresponding to the HTTP Get request when using the HTTP request method for health checks. Valid values: HTTP, HTTPS.

ContainerGroupContainerLivenessProbeTcpSocket

Port int

The port number. Valid values: 1 to 65535.

Port int

The port number. Valid values: 1 to 65535.

port Integer

The port number. Valid values: 1 to 65535.

port number

The port number. Valid values: 1 to 65535.

port int

The port number. Valid values: 1 to 65535.

port Number

The port number. Valid values: 1 to 65535.

ContainerGroupContainerPort

Port int

The port number. Valid values: 1 to 65535.

Protocol string

Valid values: TCP and UDP.

Port int

The port number. Valid values: 1 to 65535.

Protocol string

Valid values: TCP and UDP.

port Integer

The port number. Valid values: 1 to 65535.

protocol String

Valid values: TCP and UDP.

port number

The port number. Valid values: 1 to 65535.

protocol string

Valid values: TCP and UDP.

port int

The port number. Valid values: 1 to 65535.

protocol str

Valid values: TCP and UDP.

port Number

The port number. Valid values: 1 to 65535.

protocol String

Valid values: TCP and UDP.

ContainerGroupContainerReadinessProbe

Execs List<Pulumi.AliCloud.Eci.Inputs.ContainerGroupContainerReadinessProbeExec>

Health check using command line method.

FailureThreshold int

Threshold for the number of checks that are determined to have failed since the last successful check (must be consecutive failures), default is 3.

HttpGets List<Pulumi.AliCloud.Eci.Inputs.ContainerGroupContainerReadinessProbeHttpGet>

Health check using HTTP request method.

InitialDelaySeconds int

Check the time to start execution, calculated from the completion of container startup.

PeriodSeconds int

Buffer time for the program to handle operations before closing.

SuccessThreshold int

The check count threshold for re-identifying successful checks since the last failed check (must be consecutive successes), default is 1. Current must be 1.

TcpSockets List<Pulumi.AliCloud.Eci.Inputs.ContainerGroupContainerReadinessProbeTcpSocket>

Health check using TCP socket method.

TimeoutSeconds int

Check the timeout, the default is 1 second, the minimum is 1 second.

Execs []ContainerGroupContainerReadinessProbeExec

Health check using command line method.

FailureThreshold int

Threshold for the number of checks that are determined to have failed since the last successful check (must be consecutive failures), default is 3.

HttpGets []ContainerGroupContainerReadinessProbeHttpGet

Health check using HTTP request method.

InitialDelaySeconds int

Check the time to start execution, calculated from the completion of container startup.

PeriodSeconds int

Buffer time for the program to handle operations before closing.

SuccessThreshold int

The check count threshold for re-identifying successful checks since the last failed check (must be consecutive successes), default is 1. Current must be 1.

TcpSockets []ContainerGroupContainerReadinessProbeTcpSocket

Health check using TCP socket method.

TimeoutSeconds int

Check the timeout, the default is 1 second, the minimum is 1 second.

execs List<ContainerGroupContainerReadinessProbeExec>

Health check using command line method.

failureThreshold Integer

Threshold for the number of checks that are determined to have failed since the last successful check (must be consecutive failures), default is 3.

httpGets List<ContainerGroupContainerReadinessProbeHttpGet>

Health check using HTTP request method.

initialDelaySeconds Integer

Check the time to start execution, calculated from the completion of container startup.

periodSeconds Integer

Buffer time for the program to handle operations before closing.

successThreshold Integer

The check count threshold for re-identifying successful checks since the last failed check (must be consecutive successes), default is 1. Current must be 1.

tcpSockets List<ContainerGroupContainerReadinessProbeTcpSocket>

Health check using TCP socket method.

timeoutSeconds Integer

Check the timeout, the default is 1 second, the minimum is 1 second.

execs ContainerGroupContainerReadinessProbeExec[]

Health check using command line method.

failureThreshold number

Threshold for the number of checks that are determined to have failed since the last successful check (must be consecutive failures), default is 3.

httpGets ContainerGroupContainerReadinessProbeHttpGet[]

Health check using HTTP request method.

initialDelaySeconds number

Check the time to start execution, calculated from the completion of container startup.

periodSeconds number

Buffer time for the program to handle operations before closing.

successThreshold number

The check count threshold for re-identifying successful checks since the last failed check (must be consecutive successes), default is 1. Current must be 1.

tcpSockets ContainerGroupContainerReadinessProbeTcpSocket[]

Health check using TCP socket method.

timeoutSeconds number

Check the timeout, the default is 1 second, the minimum is 1 second.

execs Sequence[ContainerGroupContainerReadinessProbeExec]

Health check using command line method.

failure_threshold int

Threshold for the number of checks that are determined to have failed since the last successful check (must be consecutive failures), default is 3.

http_gets Sequence[ContainerGroupContainerReadinessProbeHttpGet]

Health check using HTTP request method.

initial_delay_seconds int

Check the time to start execution, calculated from the completion of container startup.

period_seconds int

Buffer time for the program to handle operations before closing.

success_threshold int

The check count threshold for re-identifying successful checks since the last failed check (must be consecutive successes), default is 1. Current must be 1.

tcp_sockets Sequence[ContainerGroupContainerReadinessProbeTcpSocket]

Health check using TCP socket method.

timeout_seconds int

Check the timeout, the default is 1 second, the minimum is 1 second.

execs List<Property Map>

Health check using command line method.

failureThreshold Number

Threshold for the number of checks that are determined to have failed since the last successful check (must be consecutive failures), default is 3.

httpGets List<Property Map>

Health check using HTTP request method.

initialDelaySeconds Number

Check the time to start execution, calculated from the completion of container startup.

periodSeconds Number

Buffer time for the program to handle operations before closing.

successThreshold Number

The check count threshold for re-identifying successful checks since the last failed check (must be consecutive successes), default is 1. Current must be 1.

tcpSockets List<Property Map>

Health check using TCP socket method.

timeoutSeconds Number

Check the timeout, the default is 1 second, the minimum is 1 second.

ContainerGroupContainerReadinessProbeExec

Commands List<string>

The commands run by the init container.

Commands []string

The commands run by the init container.

commands List<String>

The commands run by the init container.

commands string[]

The commands run by the init container.

commands Sequence[str]

The commands run by the init container.

commands List<String>

The commands run by the init container.

ContainerGroupContainerReadinessProbeHttpGet

Path string

The relative file path.

Port int

The port number. Valid values: 1 to 65535.

Scheme string

The protocol type corresponding to the HTTP Get request when using the HTTP request method for health checks. Valid values: HTTP, HTTPS.

Path string

The relative file path.

Port int

The port number. Valid values: 1 to 65535.

Scheme string

The protocol type corresponding to the HTTP Get request when using the HTTP request method for health checks. Valid values: HTTP, HTTPS.

path String

The relative file path.

port Integer

The port number. Valid values: 1 to 65535.

scheme String

The protocol type corresponding to the HTTP Get request when using the HTTP request method for health checks. Valid values: HTTP, HTTPS.

path string

The relative file path.

port number

The port number. Valid values: 1 to 65535.

scheme string

The protocol type corresponding to the HTTP Get request when using the HTTP request method for health checks. Valid values: HTTP, HTTPS.

path str

The relative file path.

port int

The port number. Valid values: 1 to 65535.

scheme str

The protocol type corresponding to the HTTP Get request when using the HTTP request method for health checks. Valid values: HTTP, HTTPS.

path String

The relative file path.

port Number

The port number. Valid values: 1 to 65535.

scheme String

The protocol type corresponding to the HTTP Get request when using the HTTP request method for health checks. Valid values: HTTP, HTTPS.

ContainerGroupContainerReadinessProbeTcpSocket

Port int

The port number. Valid values: 1 to 65535.

Port int

The port number. Valid values: 1 to 65535.

port Integer

The port number. Valid values: 1 to 65535.

port number

The port number. Valid values: 1 to 65535.

port int

The port number. Valid values: 1 to 65535.

port Number

The port number. Valid values: 1 to 65535.

ContainerGroupContainerVolumeMount

MountPath string

The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.

Name string

The name of the volume.

ReadOnly bool

Default to false.

MountPath string

The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.

Name string

The name of the volume.

ReadOnly bool

Default to false.

mountPath String

The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.

name String

The name of the volume.

readOnly Boolean

Default to false.

mountPath string

The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.

name string

The name of the volume.

readOnly boolean

Default to false.

mount_path str

The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.

name str

The name of the volume.

read_only bool

Default to false.

mountPath String

The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.

name String

The name of the volume.

readOnly Boolean

Default to false.

ContainerGroupDnsConfig

NameServers List<string>

The list of DNS server IP addresses.

Options List<Pulumi.AliCloud.Eci.Inputs.ContainerGroupDnsConfigOption>

The structure of options.

Searches List<string>

The list of DNS lookup domains.

NameServers []string

The list of DNS server IP addresses.

Options []ContainerGroupDnsConfigOption

The structure of options.

Searches []string

The list of DNS lookup domains.

nameServers List<String>

The list of DNS server IP addresses.

options List<ContainerGroupDnsConfigOption>

The structure of options.

searches List<String>

The list of DNS lookup domains.

nameServers string[]

The list of DNS server IP addresses.

options ContainerGroupDnsConfigOption[]

The structure of options.

searches string[]

The list of DNS lookup domains.

name_servers Sequence[str]

The list of DNS server IP addresses.

options Sequence[ContainerGroupDnsConfigOption]

The structure of options.

searches Sequence[str]

The list of DNS lookup domains.

nameServers List<String>

The list of DNS server IP addresses.

options List<Property Map>

The structure of options.

searches List<String>

The list of DNS lookup domains.

ContainerGroupDnsConfigOption

Name string

The name of the volume.

Value string

The value of the variable. The value can be 0 to 256 characters in length.

Name string

The name of the volume.

Value string

The value of the variable. The value can be 0 to 256 characters in length.

name String

The name of the volume.

value String

The value of the variable. The value can be 0 to 256 characters in length.

name string

The name of the volume.

value string

The value of the variable. The value can be 0 to 256 characters in length.

name str

The name of the volume.

value str

The value of the variable. The value can be 0 to 256 characters in length.

name String

The name of the volume.

value String

The value of the variable. The value can be 0 to 256 characters in length.

ContainerGroupEciSecurityContext

ContainerGroupEciSecurityContextSysctl

Name string

The name of the volume.

Value string

The value of the variable. The value can be 0 to 256 characters in length.

Name string

The name of the volume.

Value string

The value of the variable. The value can be 0 to 256 characters in length.

name String

The name of the volume.

value String

The value of the variable. The value can be 0 to 256 characters in length.

name string

The name of the volume.

value string

The value of the variable. The value can be 0 to 256 characters in length.

name str

The name of the volume.

value str

The value of the variable. The value can be 0 to 256 characters in length.

name String

The name of the volume.

value String

The value of the variable. The value can be 0 to 256 characters in length.

ContainerGroupHostAlias

Hostnames List<string>

Adds a host name.

Ip string

Adds an IP address.

Hostnames []string

Adds a host name.

Ip string

Adds an IP address.

hostnames List<String>

Adds a host name.

ip String

Adds an IP address.

hostnames string[]

Adds a host name.

ip string

Adds an IP address.

hostnames Sequence[str]

Adds a host name.

ip str

Adds an IP address.

hostnames List<String>

Adds a host name.

ip String

Adds an IP address.

ContainerGroupImageRegistryCredential

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.

user_name 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.

ContainerGroupInitContainer

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 group.

EnvironmentVars List<Pulumi.AliCloud.Eci.Inputs.ContainerGroupInitContainerEnvironmentVar>

The structure of environmentVars.

Gpu int

The number GPUs.

Image string

The image of the container.

ImagePullPolicy string

The restart policy of the image.

Memory double

The amount of memory resources allocated to the container group.

Name string

The name of the volume.

Ports List<Pulumi.AliCloud.Eci.Inputs.ContainerGroupInitContainerPort>

The structure of port.

Ready bool
RestartCount int
VolumeMounts List<Pulumi.AliCloud.Eci.Inputs.ContainerGroupInitContainerVolumeMount>

The structure of volumeMounts.

WorkingDir string

The working directory of the container.

Args []string

The arguments passed to the commands.

Commands []string

The commands run by the init container.

Cpu float64

The amount of CPU resources allocated to the container group.

EnvironmentVars []ContainerGroupInitContainerEnvironmentVar

The structure of environmentVars.

Gpu int

The number GPUs.

Image string

The image of the container.

ImagePullPolicy string

The restart policy of the image.

Memory float64

The amount of memory resources allocated to the container group.

Name string

The name of the volume.

Ports []ContainerGroupInitContainerPort

The structure of port.

Ready bool
RestartCount int
VolumeMounts []ContainerGroupInitContainerVolumeMount

The structure of volumeMounts.

WorkingDir string

The working directory of the container.

args List<String>

The arguments passed to the commands.

commands List<String>

The commands run by the init container.

cpu Double

The amount of CPU resources allocated to the container group.

environmentVars List<ContainerGroupInitContainerEnvironmentVar>

The structure of environmentVars.

gpu Integer

The number GPUs.

image String

The image of the container.

imagePullPolicy String

The restart policy of the image.

memory Double

The amount of memory resources allocated to the container group.

name String

The name of the volume.

ports List<ContainerGroupInitContainerPort>

The structure of port.

ready Boolean
restartCount Integer
volumeMounts List<ContainerGroupInitContainerVolumeMount>

The structure of volumeMounts.

workingDir String

The working directory of the container.

args string[]

The arguments passed to the commands.

commands string[]

The commands run by the init container.

cpu number

The amount of CPU resources allocated to the container group.

environmentVars ContainerGroupInitContainerEnvironmentVar[]

The structure of environmentVars.

gpu number

The number GPUs.

image string

The image of the container.

imagePullPolicy string

The restart policy of the image.

memory number

The amount of memory resources allocated to the container group.

name string

The name of the volume.

ports ContainerGroupInitContainerPort[]

The structure of port.

ready boolean
restartCount number
volumeMounts ContainerGroupInitContainerVolumeMount[]

The structure of volumeMounts.

workingDir string

The working directory of the container.

args Sequence[str]

The arguments passed to the commands.

commands Sequence[str]

The commands run by the init container.

cpu float

The amount of CPU resources allocated to the container group.

environment_vars Sequence[ContainerGroupInitContainerEnvironmentVar]

The structure of environmentVars.

gpu int

The number GPUs.

image str

The image of the container.

image_pull_policy str

The restart policy of the image.

memory float

The amount of memory resources allocated to the container group.

name str

The name of the volume.

ports Sequence[ContainerGroupInitContainerPort]

The structure of port.

ready bool
restart_count int
volume_mounts Sequence[ContainerGroupInitContainerVolumeMount]

The structure of volumeMounts.

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 group.

environmentVars List<Property Map>

The structure of environmentVars.

gpu Number

The number GPUs.

image String

The image of the container.

imagePullPolicy String

The restart policy of the image.

memory Number

The amount of memory resources allocated to the container group.

name String

The name of the volume.

ports List<Property Map>

The structure of port.

ready Boolean
restartCount Number
volumeMounts List<Property Map>

The structure of volumeMounts.

workingDir String

The working directory of the container.

ContainerGroupInitContainerEnvironmentVar

Key string

The name of the variable. The name can be 1 to 128 characters in length and can contain letters, digits, and underscores (_). It cannot start with a digit.

Value string

The value of the variable. The value can be 0 to 256 characters in length.

Key string

The name of the variable. The name can be 1 to 128 characters in length and can contain letters, digits, and underscores (_). It cannot start with a digit.

Value string

The value of the variable. The value can be 0 to 256 characters in length.

key String

The name of the variable. The name can be 1 to 128 characters in length and can contain letters, digits, and underscores (_). It cannot start with a digit.

value String

The value of the variable. The value can be 0 to 256 characters in length.

key string

The name of the variable. The name can be 1 to 128 characters in length and can contain letters, digits, and underscores (_). It cannot start with a digit.

value string

The value of the variable. The value can be 0 to 256 characters in length.

key str

The name of the variable. The name can be 1 to 128 characters in length and can contain letters, digits, and underscores (_). It cannot start with a digit.

value str

The value of the variable. The value can be 0 to 256 characters in length.

key String

The name of the variable. The name can be 1 to 128 characters in length and can contain letters, digits, and underscores (_). It cannot start with a digit.

value String

The value of the variable. The value can be 0 to 256 characters in length.

ContainerGroupInitContainerPort

Port int

The port number. Valid values: 1 to 65535.

Protocol string

Valid values: TCP and UDP.

Port int

The port number. Valid values: 1 to 65535.

Protocol string

Valid values: TCP and UDP.

port Integer

The port number. Valid values: 1 to 65535.

protocol String

Valid values: TCP and UDP.

port number

The port number. Valid values: 1 to 65535.

protocol string

Valid values: TCP and UDP.

port int

The port number. Valid values: 1 to 65535.

protocol str

Valid values: TCP and UDP.

port Number

The port number. Valid values: 1 to 65535.

protocol String

Valid values: TCP and UDP.

ContainerGroupInitContainerVolumeMount

MountPath string

The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.

Name string

The name of the volume.

ReadOnly bool

Default to false.

MountPath string

The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.

Name string

The name of the volume.

ReadOnly bool

Default to false.

mountPath String

The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.

name String

The name of the volume.

readOnly Boolean

Default to false.

mountPath string

The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.

name string

The name of the volume.

readOnly boolean

Default to false.

mount_path str

The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.

name str

The name of the volume.

read_only bool

Default to false.

mountPath String

The directory of the mounted volume. Data under this directory will be overwritten by the data in the volume.

name String

The name of the volume.

readOnly Boolean

Default to false.

ContainerGroupVolume

ConfigFileVolumeConfigFileToPaths List<Pulumi.AliCloud.Eci.Inputs.ContainerGroupVolumeConfigFileVolumeConfigFileToPath>

ConfigFileVolumeConfigFileToPaths.

DiskVolumeDiskId string

The ID of DiskVolume.

DiskVolumeFsType string

The system type of DiskVolume.

FlexVolumeDriver string

The name of the FlexVolume driver.

FlexVolumeFsType string

The type of the mounted file system. The default value is determined by the script of FlexVolume.

FlexVolumeOptions string

The list of FlexVolume objects. Each object is a key-value pair contained in a JSON string.

Name string

The name of the volume.

NfsVolumePath string

The path to the NFS volume.

NfsVolumeReadOnly bool

The nfs volume read only. Default to false.

NfsVolumeServer string

The address of the NFS server.

Type string

The type of the volume.

ConfigFileVolumeConfigFileToPaths []ContainerGroupVolumeConfigFileVolumeConfigFileToPath

ConfigFileVolumeConfigFileToPaths.

DiskVolumeDiskId string

The ID of DiskVolume.

DiskVolumeFsType string

The system type of DiskVolume.

FlexVolumeDriver string

The name of the FlexVolume driver.

FlexVolumeFsType string

The type of the mounted file system. The default value is determined by the script of FlexVolume.

FlexVolumeOptions string

The list of FlexVolume objects. Each object is a key-value pair contained in a JSON string.

Name string

The name of the volume.

NfsVolumePath string

The path to the NFS volume.

NfsVolumeReadOnly bool

The nfs volume read only. Default to false.

NfsVolumeServer string

The address of the NFS server.

Type string

The type of the volume.

configFileVolumeConfigFileToPaths List<ContainerGroupVolumeConfigFileVolumeConfigFileToPath>

ConfigFileVolumeConfigFileToPaths.

diskVolumeDiskId String

The ID of DiskVolume.

diskVolumeFsType String

The system type of DiskVolume.

flexVolumeDriver String

The name of the FlexVolume driver.

flexVolumeFsType String

The type of the mounted file system. The default value is determined by the script of FlexVolume.

flexVolumeOptions String

The list of FlexVolume objects. Each object is a key-value pair contained in a JSON string.

name String

The name of the volume.

nfsVolumePath String

The path to the NFS volume.

nfsVolumeReadOnly Boolean

The nfs volume read only. Default to false.

nfsVolumeServer String

The address of the NFS server.

type String

The type of the volume.

configFileVolumeConfigFileToPaths ContainerGroupVolumeConfigFileVolumeConfigFileToPath[]

ConfigFileVolumeConfigFileToPaths.

diskVolumeDiskId string

The ID of DiskVolume.

diskVolumeFsType string

The system type of DiskVolume.

flexVolumeDriver string

The name of the FlexVolume driver.

flexVolumeFsType string

The type of the mounted file system. The default value is determined by the script of FlexVolume.

flexVolumeOptions string

The list of FlexVolume objects. Each object is a key-value pair contained in a JSON string.

name string

The name of the volume.

nfsVolumePath string

The path to the NFS volume.

nfsVolumeReadOnly boolean

The nfs volume read only. Default to false.

nfsVolumeServer string

The address of the NFS server.

type string

The type of the volume.

config_file_volume_config_file_to_paths Sequence[ContainerGroupVolumeConfigFileVolumeConfigFileToPath]

ConfigFileVolumeConfigFileToPaths.

disk_volume_disk_id str

The ID of DiskVolume.

disk_volume_fs_type str

The system type of DiskVolume.

flex_volume_driver str

The name of the FlexVolume driver.

flex_volume_fs_type str

The type of the mounted file system. The default value is determined by the script of FlexVolume.

flex_volume_options str

The list of FlexVolume objects. Each object is a key-value pair contained in a JSON string.

name str

The name of the volume.

nfs_volume_path str

The path to the NFS volume.

nfs_volume_read_only bool

The nfs volume read only. Default to false.

nfs_volume_server str

The address of the NFS server.

type str

The type of the volume.

configFileVolumeConfigFileToPaths List<Property Map>

ConfigFileVolumeConfigFileToPaths.

diskVolumeDiskId String

The ID of DiskVolume.

diskVolumeFsType String

The system type of DiskVolume.

flexVolumeDriver String

The name of the FlexVolume driver.

flexVolumeFsType String

The type of the mounted file system. The default value is determined by the script of FlexVolume.

flexVolumeOptions String

The list of FlexVolume objects. Each object is a key-value pair contained in a JSON string.

name String

The name of the volume.

nfsVolumePath String

The path to the NFS volume.

nfsVolumeReadOnly Boolean

The nfs volume read only. Default to false.

nfsVolumeServer String

The address of the NFS server.

type String

The type of the volume.

ContainerGroupVolumeConfigFileVolumeConfigFileToPath

Content string

The content of the configuration file. Maximum size: 32 KB.

Path string

The relative file path.

Content string

The content of the configuration file. Maximum size: 32 KB.

Path string

The relative file path.

content String

The content of the configuration file. Maximum size: 32 KB.

path String

The relative file path.

content string

The content of the configuration file. Maximum size: 32 KB.

path string

The relative file path.

content str

The content of the configuration file. Maximum size: 32 KB.

path str

The relative file path.

content String

The content of the configuration file. Maximum size: 32 KB.

path String

The relative file path.

Import

ECI Container Group can be imported using the id, e.g.

 $ pulumi import alicloud:eci/containerGroup:ContainerGroup example <container_group_id>

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.