Queries information about multiple container groups at a time.

Description

Note:

1. After the status of a container group becomes Succeeded, the computing resources provided by the Elastic Compute Service (ECS) instance are released. The information about the latest 100 container groups in all regions that are run successfully will be retained. The information about other container groups will be deleted.

2. After the status of a container group becomes Failed, the computing resources provided by the ECS instance are released. The information about the container group will be retained for 24 hours.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String No DescribeContainerGroups

The operation that you want to perform. Set the value to DescribeContainerGroups.

RegionId String Yes cn-hangzhou

The region ID of the container groups.

ZoneId String No cn-hangzhou-h

The ID of the zone where the container groups are deployed. If you do not set a zone ID for a container group, the system assigns a zone ID for the container group. The default value is the zone ID assigned by the system.

VSwitchId String No vsw-bp1jrgfqqy54kg5hcf8bc

The ID of the VSwitch. Currently, container groups can only be deployed in Virtual Private Clouds (VPCs).

NextToken String No d78f2dd8-5979-42fe-939e-b16db43be5bc

The token required to get the next set of results. You do not need to specify this parameter in the first call. If a NextToken value is returned by a previous call, more results are available.

Limit Integer No 20

The maximum number of results to return. Default value: 20. Maximum value: 20. The number of return results is no greater than the specified number.

Tag.N.Key String No name

The key of the tag.

Tag.N.Value String No test-xh

The value of the tag.

ContainerGroupIds String No ["eci-xxx", "eci-xxx", "eci-xxx"]

The IDs of the container groups in JSON strings. You can specify up to 20 IDs.

ContainerGroupName String No test-xh

The name of the container group.

Status String No Running

The status of the container group. For more information, see the description of the ContainerGroup parameter.

ResourceGroupId String No rg-xxx

The ID of the resource group to which the container group belongs. If you do not specify a resource group for a container group, the container group is added to the default resource group.

Response parameters

Parameter Type Example Description
RequestId String 1EB63BFD-273A-49D1-83DE-690465E29A15

The unique ID of the request.

NextToken String d78f2dd8-5979-42fe-939e-b16db43be5bc

The token required to get the next set of results.

TotalCount Integer 19

The total number of container groups.

ContainerGroups Array N/A

The container groups.

ContainerGroupId String eci-xxx

The ID of the container group.

ContainerGroupName String test

The name of the container group.

RegionId String cn-hangzhou

The region ID of the container group.

ZoneId String cn-hangzhou-h

The ID of the zone where the container group is deployed.

Memory Float 4.0

The amount of memory resources allocated to the container group.

Cpu Float 2.0

The amount of CPU resources allocated to the container group.

VSwitchId String vsw-bp1vzjjflab6wvjoxpogs

The ID of the VSwitch. Currently, container groups can only be deployed in VPCs.

SecurityGroupId String sg-bp12ujq5zpxuyjfo3o8r

The ID of the security group.

RestartPolicy String Never

The restart policy of the container group.

IntranetIp String 10.21.1.1

The internal IP address of the container group.

Status String Running

The creation status of the container group. Valid values: Pending, Running, Succeeded, Failed, Scheduling, and ScheduleFailed.

InternetIp String 21.3.43.4

The public IP address of the container group.

CreationTime String 2018-08-02T15:00:00Z

The time when the system created the container group after receiving the request. The time follows the RFC 3339 standard and is displayed in UTC.

SucceededTime String 2019-12-11T04:33:42Z

The time when all containers in the container group completed running the specified tasks. The time follows the RFC 3339 standard and is displayed in UTC, for example, 2018-08-02T15:00:00Z.

EniInstanceId String eni-xxx

The ID of the Elastic Network Interface (ENI) instance.

InstanceType String ecs.g5.large

The instance type of the container group.

ExpiredTime String 2018-08-02T15:00:00Z

The time when the container failed to run due to overdue payments. The time follows the RFC 3339 standard and is displayed in UTC.

FailedTime String 2018-08-02T15:00:00Z

The time when the container failed to run tasks. The time follows the RFC 3339 standard and is displayed in UTC.

RamRoleName String ram:PassRole

The Resource Access Management (RAM) role that the container group assumes. ECI and ECS share the same RAM role. For more information, see Use the instance RAM role by calling APIs.

Ipv6Address String CDCD:0000:0000:0000:8475:1111:3900:2020=CDCD::8475:1111:3900:2020

The IPv6 address of the container group.

Tags Array N/A

The tags attached to the container group. Each tag is a key-value pair. A maximum of 20 tags can be returned.

Key String name

The key of the tag.

Value String test-xh

The value of the tag.

Events Array N/A

The events of the container group. A maximum of 50 events can be returned.

Count Integer 20

The number of events.

Type String Normal

The type of the event. Valid values: Normal and Warning.

Name String test-xxx

The name of the object to which the event belongs.

Message String Started container

The content of the event.

FirstTimestamp String 2018-08-02T15:00:00Z

The time when the event started.

LastTimestamp String 2018-08-02T15:00:00Z

The time when the event ended.

Reason String Created

The name of the event.

Containers Array N/A

The containers in the container group.

Name String nginx

The name of the container.

Image String mysql

The image of the container.

Memory Float 2.0

The amount of memory resources allocated to the container.

Cpu Float 2.0

The amount of CPU resources allocated to the container.

RestartCount Integer 0

The number of times that the container has restarted.

WorkingDir String /usr/local/nginx

The working directory of the container.

ImagePullPolicy String Always

The policy for pulling an image.

Ready Boolean true

Indicates whether the container is ready.

Gpu Integer 1

The amount of graphics processing unit (GPU) resources allocated to the container.

Stdin Boolean true

Indicates whether the container allocates buffer resources to standard input streams while the container is running. If no value is specified, an end-of-file (EoF) error may occur. Default value: false.

StdinOnce Boolean true

Indicates whether standard input streams are disconnected after a client is disconnected. If Stdin is set to true, standard input streams remain connected among multiple sessions. If StdinOnce is set to true, standard input streams are connected after the container is started, and remain idle until a client is connected to receive data. After the client is disconnected, streams are also disconnected, and remain disconnected until the container is started again.

Tty Boolean false

Indicates whether interaction is enabled. Default value: false. For example, if the command is "/bin/bash", this parameter is set to true.

VolumeMounts Array N/A

The volumes mounted to the container.

Name String test-empty

The name of the volume. The name is the same as the volume you selected when you purchased the container group.

MountPath String /usr/share/

The directory to which the volume is mounted. Data under this directory is overwritten by the data on the volume.

ReadOnly Boolean false

Indicates whether the volume is set to the read-only mode. Default value: false.

Ports Array N/A

The exposed ports and protocols of the container. A maximum of 100 port and protocol combinations can be returned.

Port Integer 8080

The port number of the container. Valid values: 1 to 65535.

Protocol String TCP

The protocol of the container. Valid values: TCP and UDP.

EnvironmentVars Array N/A

The environment variables of the container.

Key String PATH

The name of the variable.

Value String /usr/bin/

The value of the variable.

ValueFrom Struct N/A

The source of the variable value.

FieldRef Struct N/A

The fields of the container.

FieldPath String status.podIP

The path where the fields come from in the specified version. Currently, the only valid value is status.podIP.

Commands List [/bin/sh echo]

The commands used to start the container. A maximum of 20 commands can be specified to start a container. Each command is a string and can be up to 256 characters in length.

Args List ["hello"]

The startup parameters of the container. A maximum of 10 startup parameters can be specified to start a container.

PreviousState Struct N/A

The previous status of the container.

State String Terminated

The status of the container. Valid values: Waiting, Running, and Terminated.

DetailStatus String working

The details of the container status.

ExitCode Integer 0

The exit code of the container.

StartTime String 2018-08-02T15:00:00Z

The time when the container started to run.

FinishTime String 2018-08-02T15:00:00Z

The time when the container stopped running.

Reason String Completed

The reason why the container is in this status.

Message String Back-off 5m0s restarting failed container=test pod=test_eci-xxx(xxx)

The information about the container status.

Signal Integer 1

The code of the container status.

CurrentState Struct N/A

The current status of the container.

State String Terminated

The status of the container. Valid values: Waiting, Running, and Terminated.

DetailStatus String working

The details of the container status.

ExitCode Integer 0

The exit code of the container.

StartTime String 2019-12-19T12:05:02Z

The time when the container started to run.

FinishTime String 2018-08-02T15:00:00Z

The time when the container stopped running.

Reason String Started

The reason why the container is in this status.

Message String Back-off 5m0s restarting failed container=test pod=test_eci-xxx(xxx)

The information about the container status.

Signal Integer 1

The code of the container status.

ReadinessProbe Struct N/A

The readiness probe of the container.

InitialDelaySeconds Integer 5

The time when the check started. The initial time is when the container is started.

PeriodSeconds Integer 1

The interval for checking the container. Default value: 10. Minimum value: 1. Unit: seconds.

TimeoutSeconds Integer 5

The timeout period of the check. Default value: 1. Minimum value: 1. Unit: seconds.

SuccessThreshold Integer 1

After the last check failed, the minimum number of consecutive times that a check must be successful before the check is declared successful. Default value: 1. Currently, the value must be 1.

FailureThreshold Integer 3

After the last check succeeded, the minimum number of consecutive times that a check must fail before the check is declared failed. Default value: 3.

Execs List ["/bin/sh", "-c", "echo Hello world > /usr/share/message"]

The commands used to check the container.

HttpGet Struct N/A

The HTTP GET method used to check the container.

Path String /usr/local

The path to the HTTP GET method.

Port Integer 8080

The port for the HTTP GET method.

Scheme String HTTP

The scheme used for connecting to the host. Valid values: HTTP and HTTPS.

TcpSocket Struct N/A

The TCP socket method used to check the container.

Host String 1.2.3.4

The hostname.

Port Integer 8888

The port number.

LivenessProbe Struct N/A

The liveness probe of the container.

InitialDelaySeconds Integer 10

The time when the check started. The initial time is when the container is started.

PeriodSeconds Integer 5

The interval for checking the container. Default value: 10. Minimum value: 1. Unit: seconds.

TimeoutSeconds Integer 10

The timeout period of the check. Default value: 1. Minimum value: 1. Unit: seconds.

SuccessThreshold Integer 1

After the last check failed, the minimum number of consecutive times that a check must be successful before the check is declared successful. Default value: 1. Currently, the value must be 1.

FailureThreshold Integer 3

After the last check succeeded, the minimum number of consecutive times that a check must fail before the check is declared failed. Default value: 3.

Execs List ["/bin/sh", "-c", "echo Hello world > /usr/share/message"]

The commands used to check the container.

HttpGet Struct N/A

The HTTP GET method used to check the container.

Path String /usr/nginx/

The path to the HTTP GET method.

Port Integer 80

The port for the HTTP GET method.

Scheme String HTTP

The scheme used for connecting to the host. Valid values: HTTP and HTTPS.

TcpSocket Struct N/A

The TCP socket method used to check the container.

Host String 1.2.3.4

The hostname.

Port Integer 80

The port number.

SecurityContext Struct N/A

The security context of the container group.

ReadOnlyRootFilesystem Boolean true

Indicates whether the root file system is set to the read-only mode. Currently, the only valid value is true.

RunAsUser Long 1000

The user ID with which the container runs processes.

Capability Struct N/A

The default capabilities of the container. Currently, only the CPU and memory are supported.

Adds List [NET_ADMIN]

The capability that you can add. Currently, the only valid value is NET_ADMIN.

Volumes Array N/A

The volumes mounted to the container group. A maximum of 20 volumes can be returned.

Type String EmptyDirVolume

The type of the volume. Valid values: EmptyDirVolume, NFSVolume, ConfigFileVolume, and FlexVolume.

Name String test-empty

The name of the volume.

NFSVolumePath String /eci

The path to the nfs volume.

NFSVolumeServer String 0eafxxxxx-xxxxx.cn-hangzhou.nas.aliyuncs.com

The address of the Network File System (NFS) server.

NFSVolumeReadOnly Boolean false

Indicates whether the nfs volume is set to the read-only mode. Default value: false.

DiskVolumeDiskId String d-xxxx

The ID of the disk as a volume.

DiskVolumeFsType String xfs

The file system type of the disk as a volume.

FlexVolumeDriver String flexvolume

The name of the FlexVolume driver.

FlexVolumeFsType String ntfs

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

FlexVolumeOptions String [nolock,tcp,noresvport]

The FlexVolume objects.

ConfigFileVolumeConfigFileToPaths Array N/A

The paths to configuration files.

Content String hello world

The content of the configuration file. The maximum size of the file can be 32 KB.

Path String /usr/bin/

The relative path to the configuration file.

InitContainers Array N/A

The init containers.

Name String Init-xxx

The name of the init container.

Image String nginx

The image of the container.

Cpu Float 1.0

The amount of CPU resources allocated to the container.

Memory Float 2.0

The amount of memory resources allocated to the container.

RestartCount Integer 5

The number of times that the container has restarted.

WorkingDir String /usr/test

The working directory of the container.

ImagePullPolicy String Always

The policy for pulling an image.

Ready Boolean true

Indicates whether the container is ready.

Gpu Integer 1

The amount of GPU resources allocated to the container.

VolumeMounts Array

The volumes mounted to the container.

Name String test-empty

The name of the volume. The name is the same as the volume you selected when you purchased the container group.

MountPath String /usr/share/

The directory to which the volume is mounted. Data under this directory is overwritten by the data on the volume.

ReadOnly Boolean false

Indicates whether the volume is set to the read-only mode. Default value: false.

Ports Array N/A

The exposed ports and protocols of the container. A maximum of 100 port and protocol combinations can be returned.

Port Integer 8888

The port number of the container. Valid values: 1 to 65535.

Protocol String TCP

The protocol of the container. Valid values: TCP and UDP.

EnvironmentVars Array N/A

The environment variables of the container.

Key String PATH

The name of the variable.

Value String /usr/local/bin

The value of the variable.

ValueFrom Struct N/A

The source of the variable value.

FieldRef Struct N/A

The fields of the container.

FieldPath String status.podIP

The path where the fields come from in the specified version. Currently, the only valid value is status.podIP.

Command List [/bin/sh echo]

The commands used to start the container.

Args List ['hello world']

The startup parameters of the container.

PreviousState Struct N/A

The previous status of the container.

State String Terminated

The status of the container. Valid values: Waiting, Running, and Terminated.

DetailStatus String working

The details of the container status.

ExitCode Integer 0

The exit code of the container.

StartTime String 2019-12-24T05:35:44Z

The time when the container started to run.

FinishTime String 2019-12-24T05:35:44Z

The time when the container stopped running.

Reason String completed

The reason why the container is in this status.

Message String Started container

The information about the container status.

Signal Integer 1

The code of the container status.

CurrentState Struct N/A

The current status of the container.

State String Running

The status of the container. Valid values: Waiting, Running, and Terminated.

DetailStatus String working

The details of the container status.

ExitCode Integer 0

The exit code of the container.

StartTime String 2018-08-02T15:00:00Z

The time when the container started to run.

FinishTime String 2018-08-02T15:00:00Z

The time when the container stopped running.

Reason String Started

The reason why the container is in this status.

Message String Created container

The content of the event.

Signal Integer 1

The code of the container status.

SecurityContext Struct N/A

The security context of the container.

ReadOnlyRootFilesystem Boolean true

Indicates whether the root file system is set to the read-only mode. Currently, the only valid value is true.

RunAsUser Long 1557

The user ID with which the container runs processes.

Capability Struct N/A

The default capabilities of the container. Currently, only the CPU and memory are supported.

Adds List NET_ADMIN

The capability that you can add. Currently, the only valid value is NET_ADMIN.

HostAliases Array N/A

The hostnames and IP addresses added for a container to the hosts file of the container group.

Ip String 42.101.1.10

The IP address of the container.

Hostnames List ['hehe.com', 'haha.com']

The hostnames.

DnsConfig Struct N/A

The Domain Name System (DNS) settings.

Options Array N/A

The objects. Each object is a name-value pair. The value is optional.

Name String name

The name of the object.

Value String value

The value of the object.

NameServers List [1.2.3.4]

The IP addresses of DNS servers.

Searches List [svc.local.kubenetes]

The DNS search domains.

EciSecurityContext Struct N/A

The security context of the container group.

Sysctls Array N/A

The system information.

Name String kernel.msgmax

The name of the variable.

Value String 65536

The value of the variable.

Examples

Sample requests

http(s)://eci.aliyuncs.com/? Action=DescribeContainerGroups
&RegionId=cn-hangzhou
&<Common request parameters>

Sample success responses

XML format

<NextToken/>
<TotalCount>1</TotalCount>
<ContainerGroups>
    <EciSecurityContext/>
    <Containers>
        <Gpu>0</Gpu>
        <PreviousState>
            <State/>
            <FinishTime/>
            <StartTime/>
        </PreviousState>
        <RestartCount>0</RestartCount>
        <SecurityContext>
            <Capability/>
        </SecurityContext>
        <WorkingDir/>
        <CurrentState>
            <State>Running</State>
            <FinishTime/>
            <StartTime>2019-12-24T05:35:44Z</StartTime>
        </CurrentState>
        <Ready>true</Ready>
        <Name>test-imagepull</Name>
        <ImagePullPolicy>IfNotPresent</ImagePullPolicy>
        <Memory>4</Memory>
        <Cpu>2</Cpu>
        <ReadinessProbe>
            <TcpSocket/>
            <HttpGet/>
        </ReadinessProbe>
        <Image>registry-vpc.cn-hangzhou.aliyuncs.com/eci_open/nginx:1.14.2</Image>
        <EnvironmentVars>
            <Value>/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin</Value>
            <Key>PATH</Key>
            <ValueFrom>
                <FieldRef/>
            </ValueFrom>
        </EnvironmentVars>
        <EnvironmentVars>
            <Value>1.14.2-1~stretch</Value>
            <Key>NGINX_VERSION</Key>
            <ValueFrom>
                <FieldRef/>
            </ValueFrom>
        </EnvironmentVars>
        <EnvironmentVars>
            <Value>1.14.2.0.2.6-1~stretch</Value>
            <Key>NJS_VERSION</Key>
            <ValueFrom>
                <FieldRef/>
            </ValueFrom>
        </EnvironmentVars>
        <LivenessProbe>
            <TcpSocket/>
            <HttpGet/>
        </LivenessProbe>
    </Containers>
    <SecurityGroupId>sg-bp19ryeo103eqznmcat0</SecurityGroupId>
    <RestartPolicy>Always</RestartPolicy>
    <FailedTime/>
    <DnsConfig/>
    <Events>
        <Name>test-imagepull.15e337e2347880ac</Name>
        <LastTimestamp>2019-12-24T05:35:39Z</LastTimestamp>
        <Count>1</Count>
        <Message>pulling image "registry-vpc.cn-hangzhou.aliyuncs.com/eci_open/nginx:1.14.2"</Message>
        <Type>Normal</Type>
        <FirstTimestamp>2019-12-24T05:35:39Z</FirstTimestamp>
        <Reason>Pulling</Reason>
    </Events>
    <Events>
        <Name>test-imagepull.15e337e37173d182</Name>
        <LastTimestamp>2019-12-24T05:35:44Z</LastTimestamp>
        <Count>1</Count>
        <Message>Successfully pulled image "registry-vpc.cn-hangzhou.aliyuncs.com/eci_open/nginx:1.14.2"</Message>
        <Type>Normal</Type>
        <FirstTimestamp>2019-12-24T05:35:44Z</FirstTimestamp>
        <Reason>Pulled</Reason>
    </Events>
    <Events>
        <Name>test-imagepull.15e337e37306423e</Name>
        <LastTimestamp>2019-12-24T05:35:44Z</LastTimestamp>
        <Count>1</Count>
        <Message>Created container</Message>
        <Type>Normal</Type>
        <FirstTimestamp>2019-12-24T05:35:44Z</FirstTimestamp>
        <Reason>Created</Reason>
    </Events>
    <Events>
        <Name>test-imagepull.15e337e377a39ab6</Name>
        <LastTimestamp>2019-12-24T05:35:44Z</LastTimestamp>
        <Count>1</Count>
        <Message>Started container</Message>
        <Type>Normal</Type>
        <FirstTimestamp>2019-12-24T05:35:44Z</FirstTimestamp>
        <Reason>Started</Reason>
    </Events>
    <InternetIp/>
    <ZoneId>cn-hangzhou-i</ZoneId>
    <ContainerGroupName>test-imagepull</ContainerGroupName>
    <EniInstanceId>eni-bp1gj8moqnu15zrvt0in</EniInstanceId>
    <VSwitchId>vsw-bp1vzjjflab6wvjoxpogs</VSwitchId>
    <CreationTime>2019-12-24T05:35:27Z</CreationTime>
    <ContainerGroupId>eci-bp12wdqc3g6qtr44vrpt</ContainerGroupId>
    <Status>Running</Status>
    <SucceededTime/>
    <Memory>4</Memory>
    <Cpu>2</Cpu>
    <RegionId>cn-hangzhou</RegionId>
    <IntranetIp>192.168.168.91</IntranetIp>
    <ExpiredTime/>
</ContainerGroups>
<RequestId>8715677F-0F66-4013-A1FE-FA8136A3A4D1</RequestId>

JSON format

{
    "NextToken": "",
    "TotalCount": 1,
    "ContainerGroups": [
        {
            "EciSecurityContext": {},
            "Containers": [
                {
                    "VolumeMounts": [],
                    "Gpu": 0,
                    "PreviousState": {
                        "State": "",
                        "FinishTime": "",
                        "StartTime": ""
                    },
                    "RestartCount": 0,
                    "SecurityContext": {
                        "Capability": {}
                    },
                    "WorkingDir": "",
                    "CurrentState": {
                        "State": "Running",
                        "FinishTime": "",
                        "StartTime": "2019-12-24T05:35:44Z"
                    },
                    "Ready": true,
                    "Name": "test-imagepull",
                    "ImagePullPolicy": "IfNotPresent",
                    "Memory": 4,
                    "Cpu": 2,
                    "ReadinessProbe": {
                        "TcpSocket": {},
                        "HttpGet": {}
                    },
                    "Image": "registry-vpc.cn-hangzhou.aliyuncs.com/eci_open/nginx:1.14.2",
                    "EnvironmentVars": [
                        {
                            "Value": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                            "Key": "PATH",
                            "ValueFrom": {
                                "FieldRef": {}
                            }
                        },
                        {
                            "Value": "1.14.2-1~stretch",
                            "Key": "NGINX_VERSION",
                            "ValueFrom": {
                                "FieldRef": {}
                            }
                        },
                        {
                            "Value": "1.14.2.0.2.6-1~stretch",
                            "Key": "NJS_VERSION",
                            "ValueFrom": {
                                "FieldRef": {}
                            }
                        }
                    ],
                    "LivenessProbe": {
                        "TcpSocket": {},
                        "HttpGet": {}
                    },
                    "Ports": []
                }
            ],
            "SecurityGroupId": "sg-bp19ryeo103eqznmcat0",
            "RestartPolicy": "Always",
            "FailedTime": "",
            "DnsConfig": {},
            "Events": [
                {
                    "Name": "test-imagepull.15e337e2347880ac",
                    "LastTimestamp": "2019-12-24T05:35:39Z",
                    "Count": 1,
                    "Message": "pulling image \"registry-vpc.cn-hangzhou.aliyuncs.com/eci_open/nginx:1.14.2\"",
                    "Type": "Normal",
                    "FirstTimestamp": "2019-12-24T05:35:39Z",
                    "Reason": "Pulling"
                },
                {
                    "Name": "test-imagepull.15e337e37173d182",
                    "LastTimestamp": "2019-12-24T05:35:44Z",
                    "Count": 1,
                    "Message": "Successfully pulled image \"registry-vpc.cn-hangzhou.aliyuncs.com/eci_open/nginx:1.14.2\"",
                    "Type": "Normal",
                    "FirstTimestamp": "2019-12-24T05:35:44Z",
                    "Reason": "Pulled"
                },
                {
                    "Name": "test-imagepull.15e337e37306423e",
                    "LastTimestamp": "2019-12-24T05:35:44Z",
                    "Count": 1,
                    "Message": "Created container",
                    "Type": "Normal",
                    "FirstTimestamp": "2019-12-24T05:35:44Z",
                    "Reason": "Created"
                },
                {
                    "Name": "test-imagepull.15e337e377a39ab6",
                    "LastTimestamp": "2019-12-24T05:35:44Z",
                    "Count": 1,
                    "Message": "Started container",
                    "Type": "Normal",
                    "FirstTimestamp": "2019-12-24T05:35:44Z",
                    "Reason": "Started"
                }
            ],
            "InternetIp": "",
            "ZoneId": "cn-hangzhou-i",
            "ContainerGroupName": "test-imagepull",
            "EniInstanceId": "eni-bp1gj8moqnu15zrvt0in",
            "VSwitchId": "vsw-bp1vzjjflab6wvjoxpogs",
            "CreationTime": "2019-12-24T05:35:27Z",
            "Tags": [],
            "ContainerGroupId": "eci-bp12wdqc3g6qtr44vrpt",
            "Status": "Running",
            "SucceededTime": "",
            "Memory": 4,
            "Cpu": 2,
            "InitContainers": [],
            "RegionId": "cn-hangzhou",
            "IntranetIp": "192.168.168.91",
            "ExpiredTime": "",
            "Volumes": []
        }
    ],
    "RequestId": "8715677F-0F66-4013-A1FE-FA8136A3A4D1"
}

Error codes

For a list of error codes, visit the API Error Center.