You can call this operation to query ECC information. This operation is applicable to container service Kubernetes clusters.
Debugging
Request header
This operation only uses common request headers. For more information, see the Common request parameters topic.
Request syntax
GET /pop/v5/ecc HTTPS|HTTP
Request parameters
Element | Type | Required | Example | Description |
---|---|---|---|---|
EccId | String | No | b197-40ab-9155**** |
ECC ID |
Response parameters
Element | Type | Sample response | Description |
---|---|---|---|
Code | Integer | 200 |
Code |
EccInfo | Struct |
ECC information |
|
AppId | String | "" |
The ID of the application. |
EccId | String | "" |
ECC ID |
EcuId | String | "" |
ECU ID |
GroupId | String | "" |
The ID of the instance group to which the ECS instance corresponding to the ECC belongs. |
GroupName | String | "" |
The name of the IP whitelist. |
PackageMd5 | String | "" |
The MD5 code of the package version. |
PackageVersion | String | "" |
Package Version |
VpcId | String | "" |
VPC ID |
Message | String | Success |
The returned message. |
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
<Message>success</Message>
<Code>200</Code>
JSON
format
{
"Message": "success",
"Code": 200
}
Error codes.
For a list of error codes, visit the API Error Center.