Queries information about multiple elastic container instances (container groups) in batches.

Description

After elastic container instances are stopped, the underlying computing resources are reclaimed. The instance information is retained based on the following rules:

  • For elastic container instances that have run successfully and then stopped, the information about the latest 100 instances in all regions is retained and the information about other instances is deleted.
  • For elastic container instances that have failed to run and then stopped, the instance information is retained for only 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 Yes DescribeContainerGroups

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

RegionId String Yes cn-hangzhou

The region ID of the elastic container instances.

ZoneId String No cn-hangzhou-h

The ID of the zone where the elastic container instances are deployed. If you do not specify this parameter, the system selects a zone.

This parameter is empty by default.

VSwitchId String No vsw-bp1jrgfqqy54kg5hc****

The ID of the vSwitch to which the elastic container instances are connected.

NextToken String No d78f2dd8-5979-42fe-****-b16db43be5bc

The token used for the next query. If this parameter is empty, all results have been returned.

Note You do not need to specify this parameter in the first call. You can obtain the token from the result returned by a previous call.
Limit Integer No 20

The maximum number of resources to be returned. Default value: 20. Maximum value: 20.

Note The number of returned results is no greater than the specified number.
ContainerGroupIds String No ["eci-bp17gw49eu09yiwm****", "eci-bp19aq49du01abcm****", "eci-2zegym1qhbmdfr1s****"]

The IDs of the elastic container instances in JSON format. You can specify up to 20 IDs.

ContainerGroupName String No test

The name of the elastic container instance.

Status String No Running

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

ResourceGroupId String No rg-aekzh43v*****

The ID of the resource group to which the elastic container instance belongs. If no resource group is specified when you create an elastic container instance, the instance is automatically added to the default resource group in your account.

WithEvent Boolean No true

Specifies whether to return event information.

Tag.N.Key String No name

The key of tag N of the elastic container instance.

Tag.N.Value String No test

The value of tag N of the elastic container instance.

Response parameters

Parameter Type Example Description
ContainerGroups Array of ContainerGroup

The information about the elastic container instances.

ContainerGroupId String eci-bp1jrgfqqy54kg5hc****

The ID of the elastic container instance.

ContainerGroupName String test

The name of the elastic container instance.

Containers Array of Container

The information about containers in the elastic container instance.

Args List ["hello"]

The startup arguments of the container.

Commands List [/bin/sh echo]

The startup commands of the container.

Cpu Float 2.0

The number of vCPUs of the container.

CurrentState Struct

The current state of the container.

DetailStatus String working

The details of the container state.

ExitCode Integer 0

The exit code of the container.

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

The time when the container stopped running.

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

The information about the container state.

Reason String Started

The reason why the container is in this state.

Signal Integer 1

The code of the container state.

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

The time when the container started to run.

State String Terminated

The status of the container. Valid values:

  • Waiting
  • Running
  • Terminated
EnvironmentVars Array of EnvironmentVar

The environment variables of the container.

Key String PATH

The name of the environment variable.

Value String /usr/bin/

The value of the environment variable.

ValueFrom Struct

The source of the variable value. This parameter can be used only when the variable value is not specified.

FieldRef Struct

The specified field.

FieldPath String status.podIP

The path of the field.

Gpu Integer 1

The number of vGPUs.

Image String mysql

The image of the container.

ImagePullPolicy String Always

The image pulling policy.

LivenessProbe Struct

The liveness probe of the container.

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

The command used to check the container.

FailureThreshold Integer 3

The minimum number of consecutive failures that must occur for the check to be considered failed. Default value: 3.

HttpGet Struct

The HTTP GET method used to check the container.

Path String /usr/nginx/

The path to which HTTP GET requests were sent.

Port Integer 80

The port to which HTTP GET requests were sent.

Scheme String HTTP

The protocol type of the HTTP GET requests.

InitialDelaySeconds Integer 10

The number of seconds to wait after the container was started before a check was started.

PeriodSeconds Integer 5

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

SuccessThreshold Integer 1

The minimum number of consecutive successes that must occur for the check to be considered successful. Default value: 1. The value must be 1.

TcpSocket Struct

The TCP socket method used to check the container.

Host String 1.2.3.4

The IP address of the host.

Port Integer 80

The port number.

TimeoutSeconds Integer 10

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

Memory Float 2.0

The memory size of the container.

Name String nginx

The name of the container.

Ports Array of Port

The exposed ports and protocols of the container.

Port Integer 8080

The port number. Valid values: 1 to 65535.

Protocol String TCP

The protocol type.

PreviousState Struct

The previous state of the container.

DetailStatus String working

The details of the container state.

ExitCode Integer 0

The exit code of the container.

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

The time when the container stopped running.

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

The information about the container state.

Reason String Completed

The reason why the container is in this state.

Signal Integer 1

The code of the container state.

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

The time when the container started to run.

State String Terminated

The state of the container. Valid values:

  • Waiting
  • Running
  • Terminated
ReadinessProbe Struct

The readiness probe of the container.

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

The command used to check the container.

FailureThreshold Integer 3

The minimum number of consecutive failures that must occur before the check is considered failed. Default value: 3.

HttpGet Struct

The HTTP GET method used to check the container.

Path String /usr/local

The path to which HTTP GET requests were sent.

Port Integer 8080

The port to which HTTP GET requests were sent.

Scheme String HTTP

The protocol type of the HTTP GET requests.

InitialDelaySeconds Integer 5

The number of seconds to wait after the container was started before a check was started.

PeriodSeconds Integer 1

The interval at which the container is checked. Default value: 10. Minimum value: 1. Unit: seconds.

SuccessThreshold Integer 1

The minimum number of consecutive successes that must occur for the check to be considered successful. Default value: 1. Set the value to 1.

TcpSocket Struct

The TCP socket method used to check the container.

Host String 1.2.3.4

The IP address of the host.

Port Integer 8888

The port number.

TimeoutSeconds Integer 5

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

Ready Boolean true

Indicates whether the container passed the readiness probe.

RestartCount Integer 0

The number of times that the container restarted.

SecurityContext Struct

The security context of the elastic container instance.

Capability Struct

The default capabilities of the container. Only the CPU and memory are supported.

Adds List [NET_ADMIN]

The added permission. The only valid value is NET_ADMIN.

ReadOnlyRootFilesystem Boolean true

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

RunAsUser Long 1000

The user ID (UID) used to run the entry point of the container process.

Stdin Boolean true

Indicates whether the container allocates buffer resources to standard input streams while the container is running. If this parameter is not specified, an 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 during 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 was enabled.

VolumeMounts Array of VolumeMount

The volumes mounted to the container.

MountPath String /usr/share/

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

MountPropagation String None

The mount propagation setting of the volume. Mount propagation allows the sharing of volumes mounted by one container to other containers in the same pod, or even to other pods on the same node. Valid values:

  • None: The volume mount does not receive subsequent mounts that are mounted to this volume or its subdirectories.
  • HostToCotainer: The volume mount receives all subsequent mounts that are mounted to this volume or its subdirectories.
  • Bidirectional: This value is similar to HostToCotainer. The volume mount receives all subsequent mounts that are mounted to this volume or its subdirectories. In addition, all volume mounts created by the container are propagated back to the host and to all containers of all pods that use the same volume.
Name String test-empty

The name of the volume.

ReadOnly Boolean false

Indicates whether the volume is read-only.

WorkingDir String /usr/local/nginx

The working directory of the container.

Cpu Float 2.0

The number of vCPUs of the elastic container instance.

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

The time when the system created the elastic container instance after the system received the request. The time is indicated in RFC 3339 format and is displayed in UTC.

Discount Integer 9

The discount.

DnsConfig Struct

The Domain Name System (DNS) settings.

NameServers List [10.2.*.*]

The IP addresses of DNS servers.

Options Array of Option

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.

Searches List [svc.local.kubenetes]

The DNS search domains.

EciSecurityContext Struct

The security context of the elastic container instance.

Sysctls Array of Sysctl

The system information.

Name String kernel.msgmax

The name of the variable.

Value String 65536

The value of the variable.

EniInstanceId String eni-bp14rzqi6fd8satm****

The ID of the elastic network interface (ENI).

EphemeralStorage Integer 20

The size of the temporary storage space. Unit: GiB.

Events Array of Event

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

Count Integer 20

The number of events.

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.

Message String Started container

The information about the event.

Name String test-xxx

The name of the object to which the event belongs.

Reason String Created

The name of the event.

Type String Normal

The type of the event. Valid values:

  • Normal
  • Warning
ExpiredTime String 2018-08-02T15:00:00Z

The time when the elastic container instance failed to run due to overdue payments. The time is indicated in RFC 3339 format and is displayed in UTC.

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

The time when the instance failed to run. The time is indicated in RFC 3339 format and is displayed in UTC.

HostAliases Array of HostAliase

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

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

The hostname.

Ip String 192.0.XX.XX

The IP address.

InitContainers Array of Container

The information about the init containers.

Args List ['hello world']

The startup parameters of the container.

Command List [/bin/sh echo]

The commands used to start the container.

Cpu Float 1.0

The number of vCPUs of the container.

CurrentState Struct

The current state of the container.

DetailStatus String working

The details of the container state.

ExitCode Integer 0

The exit code of the container.

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

The time when the container stopped running.

Message String Created container

The event message.

Reason String Started

The reason why the container is in this state.

Signal Integer 1

The code of the container state.

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

The time when the container started to run.

State String Running

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

EnvironmentVars Array of EnvironmentVar

The environment variables of the container.

Key String PATH

The name of the environment variable.

Value String /usr/local/bin

The value of the environment variable.

ValueFrom Struct

The source of the variable value. This parameter can be used only when the variable value is not specified.

FieldRef Struct

The specified field.

FieldPath String status.podIP

The path where the fields come from in the specified version. Only status.podIP is supported.

Gpu Integer 1

The number of vGPUs.

Image String nginx

The image of the container.

ImagePullPolicy String Always

The image pulling policy.

Memory Float 2.0

The size of the memory.

Name String Init-xxx

The name of the container.

Ports Array of Port

The exposed ports and protocols of the container.

Port Integer 8888

The port number. Valid values: 1 to 65535.

Protocol String TCP

The protocol type.

PreviousState Struct

The previous state of the container.

DetailStatus String working

The details of the container state.

ExitCode Integer 0

The exit code of the container.

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

The time when the container stopped running.

Message String Started container

The information about the status of the container.

Reason String completed

The reason why the container is in this state.

Signal Integer 1

The code of the container state.

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

The time when the container started to run.

State String Terminated

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

Ready Boolean true

Indicates whether the container passed the readiness probe.

RestartCount Integer 5

The number of times that the container has restarted.

SecurityContext Struct

The security context of the container.

Capability Struct

The default capabilities of the container. Only the CPU and memory are supported.

Adds List NET_ADMIN

The added permission. The only valid value is NET_ADMIN.

ReadOnlyRootFilesystem Boolean true

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

RunAsUser Long 1557

The UID used to run the entry point of the container process.

VolumeMounts Array of VolumeMount

The volumes mounted to the container.

MountPath String /usr/share/

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

MountPropagation String None

The mount propagation setting of the volume. Mount propagation allows the sharing of volumes mounted by one container to other containers in the same pod, or even to other pods on the same node. Valid values:

  • None: The volume mount does not receive subsequent mounts that are mounted to this volume or its subdirectories.
  • HostToCotainer: The volume mount receives all subsequent mounts that are mounted to this volume or its subdirectories.
  • Bidirectional: This value is similar to HostToCotainer. The volume mount receives all subsequent mounts that are mounted to this volume or its subdirectories. In addition, all volume mounts created by the container are propagated back to the host and to all containers of all pods that use the same volume.
Name String test-empty

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

ReadOnly Boolean false

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

WorkingDir String /usr/test

The working directory of the container.

InstanceType String ecs.g5.large

The instance type of the Elastic Compute Service (ECS) instance used to create the elastic container instance.

InternetIp String 192.0.XX.XX

The public IP address.

IntranetIp String 172.16.XX.XX

The internal IP address.

Ipv6Address String 2001:XXXX:4:4:4:4:4:4

The IPv6 address.

Memory Float 4.0

The memory size of the elastic container instance.

RamRoleName String ram:PassRole

The Resource Access Management (RAM) role of the elastic container instance. Elastic Container Instance and ECS share the same RAM role. For more information, see Use the instance RAM role by calling APIs.

RegionId String cn-hangzhou

The region ID of the elastic container instances.

ResourceGroupId String rg-8db03793gfrz****

The ID of the resource group to which the elastic container instance belongs.

RestartPolicy String Never

The restart policy of the elastic container instance.

SecurityGroupId String sg-bp12ujq5zpxuyjfo3o8r

The ID of the security group.

SpotPriceLimit Double 0.025

The maximum hourly price for the preemptible instance.

This parameter is returned only when SpotStrategy is set to SpotWithPriceLimit.

SpotStrategy String NoSpot

The preemption policy for the instance. Valid values:

  • NoSpot: The instance is created as a regular pay-as-you-go instance.
  • SpotWithPriceLimit: The instance is created as a preemptible instance with a user-defined maximum hourly price.
  • SpotAsPriceGo: The instance is created as a preemptible instance whose price is based on the market price at the time of purchase.
Status String Running

The state of the elastic container instance. Valid values: Pending, Running, Succeeded, Failed, Scheduling, and ScheduleFailed.

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

The time when all containers in the elastic container instance completed running the specified tasks. The time is indicated in RFC 3339 format and is displayed in UTC.

Tags Array of Label

The key-value pairs of tags of the elastic container instances.

Key String name

The tag key of the elastic container instance.

Value String test-xh

The tag value of the elastic container instance.

TenantEniInstanceId String i-xxx

This parameter is unavailable.

TenantEniIp String 10.10.XX.XX

This parameter is unavailable.

TenantSecurityGroupId String sg-xxx

This parameter is unavailable.

TenantVSwitchId String vsw-xxx

This parameter is unavailable.

VSwitchId String vsw-bp1vzjjflab6wvjox****

The ID of the vSwitch.

Volumes Array of Volume

The information about volumes.

ConfigFileVolumeConfigFileToPaths Array of ConfigFileVolumeConfigFileToPath

The paths to configuration files.

Content String hello world

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

Path String /usr/bin/

The relative file path.

DiskVolumeDiskId String d-xxxx

The ID of the DiskVolume.

DiskVolumeFsType String xfs

The file system type of the DiskVolume.

FlexVolumeDriver String flexvolume

The name of the FlexVolume driver.

FlexVolumeFsType String ntfs

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

FlexVolumeOptions String [nolock,tcp,noresvport]

The list of FlexVolume objects.

NFSVolumePath String /eci

The path to the Network File System (NFS) volume.

NFSVolumeReadOnly Boolean false

Indicates whether the volume is read-only.

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

The endpoint of the NFS server.

Name String test-empty

The name of the volume.

Type String EmptyDirVolume

The type of the volume. Valid values:

  • EmptyDirVolume
  • NFSVolume
  • ConfigFileVolume
  • FlexVolume
VpcId String vpc-1vzjjflab6wvjox****

The ID of the virtual private cloud (VPC) to which the elastic container instance belongs.

ZoneId String cn-hangzhou-h

The ID of the zone where the elastic container instance is deployed.

TotalCount Integer 1

The total number of elastic container instances.

NextToken String d78f2dd8-5979-42fe-****-b16db43be5bc

The token that was returned for the next query.

RequestId String 89945DD3-9072-47D0-A318-353284CFC7B3

The ID of the request.

Examples

Sample requests

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

Sample success responses

XML format

<DescribeContainerGroupsResponse>
      <TotalCount>1</TotalCount>
      <NextToken></NextToken>
      <RequestId>CAABE95E-ED57-56CC-B361-48566745A3CC</RequestId>
      <ContainerGroups>
            <Discount>10</Discount>
            <Memory>4</Memory>
            <Containers>
                  <EnvironmentVars>
                        <ValueFrom>
                              <FieldRef></FieldRef>
                        </ValueFrom>
                        <Value>/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin</Value>
                        <Key>PATH</Key>
                  </EnvironmentVars>
                  <EnvironmentVars>
                        <ValueFrom>
                              <FieldRef></FieldRef>
                        </ValueFrom>
                        <Value>1.15.10-1~stretch</Value>
                        <Key>NGINX_VERSION</Key>
                  </EnvironmentVars>
                  <EnvironmentVars>
                        <ValueFrom>
                              <FieldRef></FieldRef>
                        </ValueFrom>
                        <Value>1.15.10.0.3.0-1~stretch</Value>
                        <Key>NJS_VERSION</Key>
                  </EnvironmentVars>
                  <ReadinessProbe>
                        <HttpGet></HttpGet>
                        <TcpSocket></TcpSocket>
                  </ReadinessProbe>
                  <Memory>0</Memory>
                  <LivenessProbe>
                        <HttpGet></HttpGet>
                        <TcpSocket></TcpSocket>
                  </LivenessProbe>
                  <Cpu>0</Cpu>
                  <Image>registry-vpc.cn-beijing.aliyuncs.com/eci_open/nginx:latest</Image>
                  <Gpu>0</Gpu>
                  <PreviousState>
                        <FinishTime></FinishTime>
                        <State></State>
                        <StartTime></StartTime>
                  </PreviousState>
                  <Name>container-1</Name>
                  <RestartCount>0</RestartCount>
                  <Ready>true</Ready>
                  <WorkingDir></WorkingDir>
                  <ImagePullPolicy>IfNotPresent</ImagePullPolicy>
                  <CurrentState>
                        <FinishTime></FinishTime>
                        <State>Running</State>
                        <StartTime>2021-09-08T02:49:52Z</StartTime>
                  </CurrentState>
                  <SecurityContext>
                        <Capability></Capability>
                  </SecurityContext>
            </Containers>
            <Cpu>2</Cpu>
            <EciSecurityContext></EciSecurityContext>
            <FailedTime></FailedTime>
            <IntranetIp>172.16.XX.XX</IntranetIp>
            <ContainerGroupName>container-group-1631069337474</ContainerGroupName>
            <DnsConfig></DnsConfig>
            <InternetIp></InternetIp>
            <ExpiredTime></ExpiredTime>
            <InstanceType>ecs.c5.large</InstanceType>
            <SpotStrategy>SpotAsPriceGo</SpotStrategy>
            <Status>Running</Status>
            <ZoneId>cn-beijing-g</ZoneId>
            <SucceededTime></SucceededTime>
            <SecurityGroupId>sg-2ze81zoc3yl7a3we****</SecurityGroupId>
            <VSwitchId>vsw-2ze23nqzig8inprou****</VSwitchId>
            <RestartPolicy>Always</RestartPolicy>
            <VpcId>vpc-2zeghwzptn5zii0w7****</VpcId>
            <CreationTime>2021-09-08T02:49:40Z</CreationTime>
            <EniInstanceId>eni-2ze80ferll5c3wjk****</EniInstanceId>
            <ContainerGroupId>eci-2zeg7owsmm74shw8****</ContainerGroupId>
            <RegionId>cn-beijing</RegionId>
      </ContainerGroups>
</DescribeContainerGroupsResponse>

JSON format

{
    "TotalCount": 1,
    "NextToken": "",
    "RequestId": "CAABE95E-ED57-56CC-B361-48566745A3CC",
    "ContainerGroups": [
        {
            "Discount": 10,
            "Memory": 4,
            "Containers": [
                {
                    "EnvironmentVars": [
                        {
                            "ValueFrom": {
                                "FieldRef": {}
                            },
                            "Value": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                            "Key": "PATH"
                        },
                        {
                            "ValueFrom": {
                                "FieldRef": {}
                            },
                            "Value": "1.15.10-1~stretch",
                            "Key": "NGINX_VERSION"
                        },
                        {
                            "ValueFrom": {
                                "FieldRef": {}
                            },
                            "Value": "1.15.10.0.3.0-1~stretch",
                            "Key": "NJS_VERSION"
                        }
                    ],
                    "ReadinessProbe": {
                        "HttpGet": {},
                        "TcpSocket": {}
                    },
                    "Memory": 0,
                    "LivenessProbe": {
                        "HttpGet": {},
                        "TcpSocket": {}
                    },
                    "Cpu": 0,
                    "Ports": [],
                    "Image": "registry-vpc.cn-beijing.aliyuncs.com/eci_open/nginx:latest",
                    "Gpu": 0,
                    "PreviousState": {
                        "FinishTime": "",
                        "State": "",
                        "StartTime": ""
                    },
                    "Name": "container-1",
                    "RestartCount": 0,
                    "Ready": true,
                    "WorkingDir": "",
                    "VolumeMounts": [],
                    "ImagePullPolicy": "IfNotPresent",
                    "CurrentState": {
                        "FinishTime": "",
                        "State": "Running",
                        "StartTime": "2021-09-08T02:49:52Z"
                    },
                    "SecurityContext": {
                        "Capability": {}
                    }
                }
            ],
            "Cpu": 2,
            "EciSecurityContext": {},
            "FailedTime": "",
            "IntranetIp": "172.16.XX.XX",
            "ContainerGroupName": "container-group-1631069337474",
            "Volumes": [],
            "DnsConfig": {},
            "InternetIp": "",
            "Events": [],
            "ExpiredTime": "",
            "InstanceType": "ecs.c5.large",
            "SpotStrategy": "SpotAsPriceGo",
            "Tags": [],
            "Status": "Running",
            "InitContainers": [],
            "ZoneId": "cn-beijing-g",
            "SucceededTime": "",
            "SecurityGroupId": "sg-2ze81zoc3yl7a3we****",
            "VSwitchId": "vsw-2ze23nqzig8inprou****",
            "RestartPolicy": "Always",
            "VpcId": "vpc-2zeghwzptn5zii0w7****",
            "CreationTime": "2021-09-08T02:49:40Z",
            "EniInstanceId": "eni-2ze80ferll5c3wjk****",
            "ContainerGroupId": "eci-2zeg7owsmm74shw8****",
            "RegionId": "cn-beijing"
        }
    ]
}

Error codes

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