Modifies the name, description, and owner of an application.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
edas:ManageApplication | Write |
|
| none |
Request syntax
POST /pop/v5/app/update_app_info
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. | Test application |
Owner | string | No | The owner of the application. The value can be up to 127 characters in length. | test@aliyun_xxx.com |
Response parameters
Examples
Sample success responses
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
For a list of error codes, visit the Service error codes.