Starts an application in a Container Service for Kubernetes (ACK) or Serverless Kubernetes (ASK) 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/start_k8s_app HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Replicas |
integer |
No |
The number of application instances to start. |
2 |
| Timeout |
integer |
No |
The timeout period for the change process, in seconds. Valid values: 1 to 1800. Default value: 600. |
60 |
| AppId |
string |
Yes |
The ID of the application. You can call the ListApplication operation to obtain the application ID. For more information, see ListApplication. |
93fdd228-*******-ed2ae98de18d |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| ChangeOrderId |
string |
The ID of the change process for the operation. |
*********d237-4827-a4f4-ed2ae98de18d |
| Code |
integer |
The response code. A 200 response indicates that the request was successful. |
200 |
| Message |
string |
The returned message. |
success |
| RequestId |
string |
The ID of the request. |
03FD1520-0FD6-436A-****-265318D7**** |
Examples
Success response
JSON format
{
"ChangeOrderId": "*********d237-4827-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.