Starts an application in a Container Service for Kubernetes (ACK) cluster or Serverless Kubernetes cluster.
Debugging
Request headers
This operation uses only the common request header. For more information, see Common request parameters.
Request syntax
POST /pop/v5/k8s/acs/start_k8s_app HTTPS|HTTP
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
AppId | String | Yes | 93fdd228-*******-ed2ae98de18d |
The ID of the application. You can call the ListApplication operation to query the application ID. For more information, see ListApplication. |
Replicas | Integer | No | 2 |
The number of instances on which you want to start the application. |
Timeout | Integer | No | 60 |
The timeout interval of the change process. Unit: seconds. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
ChangeOrderId | String | *********d237-4827-a4f4-ed2ae98de18d |
The change process ID for this operation. |
Code | Integer | 200 |
The HTTP status code. |
Message | String | success |
The returned message that indicates whether the request is successful. |
RequestId | String | 03FD1520-0FD6-436A-****-265318D7**** |
The ID of the request. |
Examples
Sample requests
POST /pop/v5/k8s/acs/start_k8s_app HTTP/1.1
Common request header
{
"AppId": "93fdd228-*******-ed2ae98de18d"
}
Sample success responses
XML
format
<RequestId>03FD1520-0FD6-436A-****-265318D7****</RequestId>
<Message>success</Message>
<ChangeOrderId>*********d237-4827-a4f4-ed2ae98de18d</ChangeOrderId>
<Code>200</Code>
JSON
format
{
"RequestId": "03FD1520-0FD6-436A-****-265318D7****",
"Message": "success",
"ChangeOrderId": "*********d237-4827-a4f4-ed2ae98de18d",
"Code": 200
}
Error codes
For a list of error codes, visit the API Error Center.