Call the RestartK8sApplication operation to restart an application deployed in a Container Service for Kubernetes (ACK) cluster or a Serverless Kubernetes (ASK) cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
edas:ManageApplication |
get |
*Application
|
|
None |
Request syntax
POST /pop/v5/k8s/acs/restart_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 this ID. For more information, see ListApplication. |
93fdd228-********ed2ae98de18d |
| Timeout |
integer |
No |
The timeout period for the change process, in seconds. |
60 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The API response. |
||
| ChangeOrderId |
string |
The ID of the change process for this operation. |
*********-ed2ae98de18d |
| Code |
integer |
The status of the API call or a POP error code. |
200 |
| Message |
string |
Additional information. |
success |
| RequestId |
string |
The ID of the request. |
03FD1520-0FD6-436A-****-265318D7**** |
Examples
Success response
JSON format
{
"ChangeOrderId": "*********-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.