All Products
Search
Document Center

DescribeContainerGroups

Last Updated: Oct 25, 2018

You can run this command to obtain information about the container group.

  1. aliyun eci DescribeContainerGroups
  2. --RegionId
  3. [--ZoneId]
  4. [--VSwitchId]
  5. [--NextToken]
  6. [--Limit]
  7. [--Tags.n.Key]
  8. [--Tags.n.Value]
  9. [--ContainerGroupId]
  10. [--ContainerGroupName]

Example

  1. aliyun eci DescribeContainerGroups
  2. {"NextToken":"","TotalCount":30,"ContainerGroups":[...]}

Required parameters

RegionId

The ID of the region in which the instance resides.

Optional parameters

ZoneId

The ID of the zone in which the instance resides. If you leave the parameter blank, the system assigns a zone for you. The default value is blank.

VSwitchId

The ID of the VSwitch. Currently, ECI instances can only be deployed in VPCs.

NextToken

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

Limit

The limit on the returned resources of the current request. If you leave the parameter value blank, the default value is 20. Maximum: 20. The returned results are no more than the specified number.

Tags.n.Key

The keyword of the tag.

Tags.n.Value

The value of the tag.

ContainerGroupId

The ID of the container group.

ContainerGroupName

The name of the container group.