Queries the deployment groups.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
edas:ReadApplication |
get |
*Application
|
None | None |
Request syntax
POST /pop/v5/app/deploy_group_list HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
The application ID. You can call the ListApplication operation to obtain the application ID. |
3616cdca-4f92-4413-****-************ |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The API response. |
||
| Code |
integer |
The API status code or POP error code. |
200 |
| Message |
string |
The additional information. |
success |
| RequestId |
string |
The request ID. |
3FDE-DS9R-********************* |
| DeployGroupList |
object |
||
| DeployGroup |
array<object> |
The list of deployment groups. |
|
|
object |
The deployment group object. |
||
| VServerGroupId |
string |
The ID of the virtual service group that is associated with the private network Server Load Balancer (SLB) instance of the deployment group. |
rsp-cige6****** |
| Status |
string |
The group status. Valid values:
|
2 |
| CpuRequest |
string |
The CPU quota requested by the application instance during runtime. Unit: cores. A value of 0 indicates that the CPU quota is not limited. |
1 |
| UpdateTime |
integer |
The timestamp of the update time. |
1573627695779 |
| MemoryRequest |
string |
The memory quota of the application instance during runtime. Unit: MB. A value of 0 indicates that the memory quota is not limited. |
512 |
| NameSpace |
string |
The namespace. |
ping****est |
| AppVersionId |
string |
The ID of the deployment record for the group. |
changeorder_a**_*******_** |
| CreateTime |
integer |
The timestamp of the creation time. |
1573627695779 |
| DeploymentName |
string |
The deployment name. |
test |
| PreStop |
string |
The pre-stop script. |
{\"exec\":{\"command\":[\"ls\",\"/\"]}}" |
| PackageUrl |
string |
The URL of the deployment package. |
http://****.oss-cn-shanghai.aliyuncs.com/****/sc-****-consumer-E.jar |
| PackageVersion |
string |
The version of the deployment package. |
E |
| BaseComponentMetaName |
string |
The name of the base component. |
k8s-sc-consumer-**** |
| CsClusterId |
string |
The ID of the container cluster. |
c66e65950db****cba92f17434df1**** |
| AppId |
string |
The application ID. |
3616cdca-4f92-4413-****-************ |
| LastUpdateTime |
integer |
The timestamp of the last update time. |
1587888503825 |
| Env |
string |
The ID of the Container Service cluster. |
497806cb-****-6a7 |
| CpuLimit |
string |
The CPU limit of the application instance during runtime. Unit: cores. |
400 |
| GroupType |
integer |
The group type. Valid values:
|
1 |
| ClusterId |
string |
The cluster ID. |
0d247b93-8d62-4e34-****-************ |
| PostStart |
string |
The post-start script. |
{\"exec\":{\"command\":[\"ls\",\"/\"]}}" |
| Labels |
string |
The labels. |
test |
| MemoryLimit |
string |
The memory limit of the application instance during runtime. Unit: MB. A value of 0 indicates that the memory limit is not limited. |
0 |
| Strategy |
string |
The throttling policy. This is a reserved field. |
RollingUpdate |
| Selector |
string |
The ID of the application deployment in the EDAS container service Kubernetes cluster. |
53dd85cc-25b4-4d0e-****-6bf5465****4 |
| GroupId |
string |
The group ID. |
577f4c50-16ee-43d8-****-************ |
| GroupName |
string |
The group name. |
_DEFAULT_GROUP |
| ClusterName |
string |
The cluster name. |
doc-test |
| PackageVersionId |
string |
The ID of the version deployed in the group. |
a7d48fe8-ad8f-****-89bd-74cc1ee6**** |
| Reversion |
string |
The application version. The value increments sequentially from 0 to 7. |
2 |
| VExtServerGroupId |
string |
The ID of the virtual service group that is associated with the Internet-facing SLB instance of the deployment group. |
rsp-cige6****** |
| PackagePublicUrl |
string |
The public download URL of the deployment package. |
http://****.oss-cn-shanghai.aliyuncs.com/****/sc-****-consumer-E.jar |
| EphemeralStorageRequest |
string |
The minimum resource requirement for ephemeral storage. Unit: GB. A value of 0 indicates that the ephemeral storage is not limited. |
4 |
| EphemeralStorageLimit |
string |
The upper limit of the ephemeral storage resource requirement. Unit: GB. A value of 0 indicates that the ephemeral storage resource is not limited. |
8 |
Examples
Success response
JSON format
{
"Code": 200,
"Message": "success",
"RequestId": "3FDE-DS9R-*********************",
"DeployGroupList": {
"DeployGroup": [
{
"VServerGroupId": "rsp-cige6******",
"Status": "2",
"CpuRequest": "1",
"UpdateTime": 1573627695779,
"MemoryRequest": "512",
"NameSpace": "ping****est",
"AppVersionId": "changeorder_a**_*******_**",
"CreateTime": 1573627695779,
"DeploymentName": "test",
"PreStop": "{\\\"exec\\\":{\\\"command\\\":[\\\"ls\\\",\\\"/\\\"]}}\"",
"PackageUrl": "http://****.oss-cn-shanghai.aliyuncs.com/****/sc-****-consumer-E.jar",
"PackageVersion": "E",
"BaseComponentMetaName": "k8s-sc-consumer-****",
"CsClusterId": "c66e65950db****cba92f17434df1****",
"AppId": "3616cdca-4f92-4413-****-************",
"LastUpdateTime": 1587888503825,
"Env": "497806cb-****-6a7",
"CpuLimit": "400",
"GroupType": 1,
"ClusterId": "0d247b93-8d62-4e34-****-************",
"PostStart": "{\\\"exec\\\":{\\\"command\\\":[\\\"ls\\\",\\\"/\\\"]}}\"",
"Labels": "test",
"MemoryLimit": "0",
"Strategy": "RollingUpdate",
"Selector": "53dd85cc-25b4-4d0e-****-6bf5465****4",
"GroupId": "577f4c50-16ee-43d8-****-************",
"GroupName": "_DEFAULT_GROUP",
"ClusterName": "doc-test",
"PackageVersionId": "a7d48fe8-ad8f-****-89bd-74cc1ee6****",
"Reversion": "2",
"VExtServerGroupId": "rsp-cige6******",
"PackagePublicUrl": "http://****.oss-cn-shanghai.aliyuncs.com/****/sc-****-consumer-E.jar",
"EphemeralStorageRequest": "4",
"EphemeralStorageLimit": "8"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.