Call ListDeployGroup to obtain the list of deployment groups.

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 header

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

Request syntax

POST /pop/v5/app/deploy_group_list HTTPS|HTTP

Request parameters

Element Type Required Example Description
AppId String No 3616cdca-4f92-4413-****-************

The ID of the application.

Response parameters

Element Type Sample response Description
Code Integer 200

code

DeployGroupList Array

Deployment Group List

DeployGroup
AppId String 3616cdca-4f92-4413-****-************

The ID of the application.

AppVersionId String ""

The ID of the deployment record.

BaseComponentMetaName String k8 s-sc-consumer-****

Basic component name

ClusterId String 0d247b93-8d62-4e34-****-************

The ID of the cluster where the application is deployed.

ClusterName String doc-test

Cluster Name

CpuLimit String 400

The maximum number of CPUs allowed for each application instance when the application is running. Unit: cores.

CreateTime Long 1573627695779

The time when the instance group was created.

CsClusterId String c66e65950db**** cba92f17434df1****

The ID of the container cluster.

DeploymentName String test

Deployment name

Env String 497806cb-****-6a7

The ID of the container service cluster.

GroupId String 577f4c50-16ee-43d8-***************

The ID of the instance group to which the ECS instance corresponding to the ECC belongs.

GroupName String _DEFAULT_GROUP

The name of the instance group returned.

GroupType Integer 1

Group type:

  • 0: default group
  • 1: traffic management is not enabled
  • 2: enable phased release for process management
Labels String test

Evaluation results

LastUpdateTime Long 1587888503825

The time when the vulnerability was last updated.

MemoryLimit String 0

The memory limit of the application instance when the application is running. Unit: MB. If it is set to 0, no limit is applied.

NameSpace String ping****est

Namespace management

PackagePublicUrl String http://****.oss-cn-shanghai.aliyuncs.com/****/sc-****-consumer-E.jar

Download the deployment package

PackageUrl String http://****.oss-cn-shanghai.aliyuncs.com/****/sc-****-consumer-E.jar

The address of the deployment package.

PackageVersion String E

Package Version

PackageVersionId String ""

The version of the deployment package for the instance group that was created.

PostStart String ""

Post-startup script

PreStop String ""

Pre-Stop script

Reversion String 2

Undo fixes of vulnerabilities

Selector String 53 dd85 cc-25b4-4d0e-****-6bf5465****4

The ID of the application deployed in the EDAS container service Kubernetes cluster.

Status String 2

The status of the new value specified for the parameter.

  • 0: Ready
  • 1: Execution in progress
  • 2: execution successful
  • 3: execution failed
  • 6: Terminated
  • 10: abnormal system execution failed
Strategy String RollingUpdate

Rate limiting policy (Reserved fields)

UpdateTime Long 1573627695779

The time when the instance group was updated.

Message String success

The returned message.

RequestId String 3FDE-DS9R-related

The ID of the request.

Examples

Sample requests

POST /pop/v5/app/deploy_group_list HTTP/1.1
Common request header
{
  "AppId": ""
}

Sample success responses

XML format

<Message>success</Message>
<DeployGroupList>
    <DeployGroup>
        <GroupType>1</GroupType>
        <GroupName>test</GroupName>
        <ClusterId>0d247b93-8d62-4e34-****-************</ClusterId>
        <PackageVersionId/>
        <CreateTime>1573627695779</CreateTime>
        <AppId>3616cdca-4f92-4413-****-************</AppId>
        <UpdateTime>1573627695779</UpdateTime>
        <AppVersionId/>
        <GroupId>577f4c50-16ee-43d8-****-************</GroupId>
    </DeployGroup>
    <DeployGroup>
        <GroupType>0</GroupType>
        <GroupName>_DEFAULT_GROUP</GroupName>
        <ClusterId>0d247b93-8d62-4e34-****-************</ClusterId>
        <PackageVersionId>441beb18-da42-44dc-*********</PackageVersionId>
        <CreateTime>1573626155185</CreateTime>
        <AppId>3616cdca-4f92-4413-****-************</AppId>
        <UpdateTime>1573627441388</UpdateTime>
        <AppVersionId>changeorder_app_version_id</AppVersionId>
        <GroupId>8123db90-880f-*********</GroupId>
    </DeployGroup>
</DeployGroupList>
<Code>200</Code>

JSON format

{
    "Message": "success",
    "DeployGroupList": {
        "DeployGroup": [
            {
    "GroupType": 1,
    "GroupName": "test",
    "ClusterId": "0d247b93-8d62-4e34-****-************",
    "PackageVersionId": "",
    "CreateTime": 1573627695779,
    "AppId": "3616cdca-4f92-4413-****-************",
    "UpdateTime": 1573627695779,
    "AppVersionId": "",
    "GroupId": "577f4c50-16ee-43d8-****-************"
            },
            {
                "GroupType": 0,
                "GroupName": "_DEFAULT_GROUP",
                "ClusterId": "0d247b93-8d62-4e34-****-************",
                "PackageVersionId": "441beb18-da42-44dc-*********",
                "CreateTime": 1573626155185,
                "AppId": "3616cdca-4f92-4413-****-************",
                "UpdateTime": 1573627441388,
                "AppVersionId": "changeorder_app_version_id",
                "GroupId": "8123db90-880f-*********"
            }
        ]
    },
    "Code": 200
}

Error codes.

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