Stops an application deployed in a Container Service for Kubernetes cluster or a serverless Kubernetes cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
edas:ManageApplication |
none |
*Application
|
None | None |
Request syntax
POST /pop/v5/k8s/acs/stop_k8s_app 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 obtain the application ID. |
93fdd228-d237-*******8de18d |
| Timeout |
integer |
No |
The timeout period of the change order. Unit: seconds. |
60 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The API response. |
||
| ChangeOrderId |
string |
The ID of the change order. |
*******27-a4f4-ed2ae98de18d |
| Code |
integer |
The API status code or POP error code. |
200 |
| Message |
string |
The additional information. |
success |
| RequestId |
string |
The request ID. |
03FD1520-0FD6-436A-****-265318D7**** |
Examples
Success response
JSON format
{
"ChangeOrderId": "*******27-a4f4-ed2ae98de18d",
"Code": 200,
"Message": "success",
"RequestId": "03FD1520-0FD6-436A-****-265318D7****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.