Queries the detailed information about an elastic compute container (ECC). This operation is applicable to Elastic Compute Service (ECS) clusters.

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 headers

This operation uses only the common request header. For more information, see Common request parameters.

Request syntax

GET /pop/v5/ecc HTTP/1.1

Request parameters

Parameter Type Position Required Example Description
EccId String Query Yes b197-40ab-9155-****

ECC ID

Response parameters

Parameter Type Example Description
Code Integer 200

The HTTP status code.

EccInfo Struct

The returned ECC information.

AppId String e809****-43d7-4c6b-8e01-b0d9d1db****

The ID of the application.

EccId String a5b9****-40b4-4d7b-9c2a-55d6c1c0****

ECC ID

EcuId String 0d4e****-6d87-401f-ba81-13df9877****

ECU ID

GroupId String 57cd****-2d3b-496f-bcce-646d0a4d****

The ID of the group to which the ECC belongs.

GroupName String _DEFAULT_GROUP

The name of the group to which the ECC belongs.

PackageMd5 String bab6****7a090e41ca9445c9b3cd****

The MD5 hash value of the deployment package version.

PackageVersion String 20210209.153400

The version of the deployment package.

VpcId String vpc-23727****

VPC ID

Message String success

The returned message that indicates whether the request is successful.

RequestId String b197-40ab-9155-****

The ID of the request.

Examples

Sample requests

GET /pop/v5/ecc HTTP/1.1
Common request header
{
  "EccId": ""
}

Sample success responses

XML format

<EccInfo>
    <GroupName>_DEFAULT_GROUP</GroupName>
    <VpcId>vpc-23727****</VpcId>
    <AppId>e809****-43d7-4c6b-8e01-b0d9d1db****</AppId>
    <PackageMd5>bab6****7a090e41ca9445c9b3cd****</PackageMd5>
    <EcuId>0d4e****-6d87-401f-ba81-13df9877****</EcuId>
    <EccId>a5b9****-40b4-4d7b-9c2a-55d6c1c0****</EccId>
    <PackageVersion>20210209.153400</PackageVersion>
    <GroupId>57cd****-2d3b-496f-bcce-646d0a4d****</GroupId>
</EccInfo>
<RequestId>b197-40ab-9155-****</RequestId>
<Message>success</Message>
<Code>200</Code>

JSON format

{
    "EccInfo": {
        "GroupName": "_DEFAULT_GROUP",
        "VpcId": "vpc-23727****",
        "AppId": "e809****-43d7-4c6b-8e01-b0d9d1db****",
        "PackageMd5": "bab6****7a090e41ca9445c9b3cd****",
        "EcuId": "0d4e****-6d87-401f-ba81-13df9877****",
        "EccId": "a5b9****-40b4-4d7b-9c2a-55d6c1c0****",
        "PackageVersion": 20210209.1534,
        "GroupId": "57cd****-2d3b-496f-bcce-646d0a4d****"
    },
    "RequestId": "b197-40ab-9155-****",
    "Message": "success",
    "Code": 200
}

Error codes

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