edit-icon download-icon

UpdateApplicationBaseInfoRequest

Last Updated: Jan 16, 2018

Function

Sets the basic application information.

Request URL

/pop/v5/app/update_app_info

Request method

POST

Request parameters

Parameter Type Required? Description
appId String Yes Application ID
appName String No Application name, up to 32 characters. If this parameter is left blank, no application name is specified.
desc String No Description, up to 256 characters. If this parameter is left blank, no description is specified.

Response parameters

Parameter Type Description
Code Integer Response code
Message String Response message
Application Application Application list

Applcation

Parameter Type Description
AppId String Application ID
Name String Application name
RegionId String Region ID
Description String Application description
Owner String Application creator
InstanceCount Integer Number of included application instances
RunningInstanceCount Integer Number of running application instances
Port Integer Port occupied by the application
UserId String Primary account ID
SlbId String ID of the intranet-based Server Load Balancer instance
SlbIp String IP address of the intranet-based Server Load Balancer instance
SlbPort Integer Port occupied by the intranet-based Server Load Balancer instance
ExtSlbId String ID of the Internet-based Server Load Balancer instance
ExtSlbIp String IP address of the Internet-based Server Load Balancer instance
SlbName String Name of the intranet-based Server Load Balancer instance
ExtSlbName String Name of the Internet-based Server Load Balancer instance
ApplicationType String Application deployment type, which can be War (WAR package deployment) or FatJar (JAR package deployment). If this parameter is blank, it indicates that the application is not deployed.
ClusterType Integer Environmental type of the application cluster. Optional values: 0 (common Docker cluster); 1 (Swarm cluster); 2 (ECS cluster); 3 (Kubernetes cluster); 4 (automatically registered Pandora cluster).
ClusterId String Cluster ID
Dockerize Boolean If the application is a Docker application or not
Cpu Integer Number of CPU cores
Memory Integer Memory size (MB) configured for the application instance
HealthCheckUrl String Health check URL
BuildpackId Long Container version ID
CreateTime Long Creation time
Thank you! We've received your feedback.