Adds a log directory to an application. This operation is applicable to applications that are deployed in Alibaba Cloud Elastic Compute Service (ECS) clusters and hybrid cloud ECS clusters.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
edas:ManageAppLog |
create |
*Application
|
None | None |
Request syntax
POST /pop/v5/log/popListLogDirs HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
The ID of the application. You can call the ListApplication operation to query the application ID. For more information, see ListApplication. |
3616cdca-4f92-4413********** |
| Path |
string |
Yes |
The absolute path of the log directory that you want to add. The value must start and end with a forward slash (
|
/temp/log/ |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
integer |
The HTTP status code that is returned. |
200 |
| Message |
string |
The additional information that is returned. |
success |
| RequestId |
string |
The ID of the request. |
3616cdca-4f92-4413********** |
Examples
Success response
JSON format
{
"Code": 200,
"Message": "success",
"RequestId": "3616cdca-4f92-4413**********"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.