Updates the basic information such as the description and owner of an application.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
edas:ConfigApplication |
update |
*Application
|
None | None |
Request syntax
POST /pop/v5/app/update_app_info HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
The ID of the application. |
c627c157-560d-43ff-****-************ |
| AppName |
string |
No |
The name of the application. The name must start with a letter, and can contain letters, digits, underscores (_), and hyphens (-). The name can be up to 36 characters in length. |
hello-edas |
| Desc |
string |
No |
The description of the application. The description can be up to 256 characters in length. |
测试应用 |
| Owner |
string |
No |
The owner of the application. The value can be up to 127 characters in length. |
test@aliyun_xxx.com |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
integer |
The HTTP status code that is returned. |
200 |
| Message |
string |
The message that is returned. |
success |
| RequestId |
string |
The ID of the request. |
D16979DC-4D42-************** |
| Applcation |
object |
The applications that you want to modify. |
|
| ExtSlbIp |
string |
The IP address of the Internet-facing Server Load Balancer (SLB) instance. |
39.97.XX.XX |
| Owner |
string |
The owner of the application. |
test@aliyun_XXX.com |
| SlbPort |
integer |
The port used by the internal-facing SLB instance. |
80 |
| ExtSlbName |
string |
The name of the Internet-facing SLB instance. |
test |
| CreateTime |
integer |
The time when the application was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. |
1577259573911 |
| UserId |
string |
The ID of the Alibaba Cloud account. |
edas_com***@****.*** |
| Port |
integer |
The port used by the application. |
8080 |
| RunningInstanceCount |
integer |
The number of running application instances. |
1 |
| SlbIp |
string |
The IP address of the internal-facing SLB instance. |
192.168.XX.XX |
| Dockerize |
boolean |
Indicates whether the application is a Docker application. |
false |
| Description |
string |
The description of the application. |
test |
| InstanceCount |
integer |
The number of application instances. |
1 |
| AppId |
string |
The ID of the application. |
c627c157-560d-43ff-****-************ |
| Memory |
integer |
The size of memory configured for an application instance. Unit: MB. |
0 |
| Name |
string |
The name of the application. |
test |
| ClusterId |
string |
The ID of the cluster. |
d7730a49-629a-47bd-****-f45eb01f**** |
| SlbId |
string |
The ID of the internal-facing SLB instance. |
a3d4******* |
| HealthCheckUrl |
string |
The health check URL. |
http://127.0.XX.XX:8080/_etc.html |
| ApplicationType |
string |
The deployment type of the application. Valid values:
|
FatJar |
| ExtSlbId |
string |
The ID of the Internet-facing SLB instance. |
ace93******* |
| RegionId |
string |
The ID of the region. |
cn-beijing:**** |
| BuildPackageId |
integer |
The build package number of Enterprise Distributed Application Service (EDAS) Container. |
58 |
| Cpu |
integer |
The number of CPU cores. |
0 |
| ClusterType |
integer |
The type of the cluster. Valid values:
|
2 |
| SlbName |
string |
The name of the internal-facing SLB instance. |
test |
Examples
Success response
JSON format
{
"Code": 200,
"Message": "success",
"RequestId": "D16979DC-4D42-**************",
"Applcation": {
"ExtSlbIp": "39.97.XX.XX",
"Owner": "test@aliyun_XXX.com",
"SlbPort": 80,
"ExtSlbName": "test",
"CreateTime": 1577259573911,
"UserId": "edas_com***@****.***",
"Port": 8080,
"RunningInstanceCount": 1,
"SlbIp": "192.168.XX.XX",
"Dockerize": false,
"Description": "test",
"InstanceCount": 1,
"AppId": "c627c157-560d-43ff-****-************",
"Memory": 0,
"Name": "test",
"ClusterId": "d7730a49-629a-47bd-****-f45eb01f****",
"SlbId": "a3d4*******",
"HealthCheckUrl": "http://127.0.XX.XX:8080/_etc.html",
"ApplicationType": "FatJar",
"ExtSlbId": "ace93*******",
"RegionId": "cn-beijing:****",
"BuildPackageId": 58,
"Cpu": 0,
"ClusterType": 2,
"SlbName": "test"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.