Disabling a Warm Pool
Function
This API is used to disable the warm pool of an AS group.
Constraints
This API is only available in the AP-Jakarta and LA-Sao Paulo1 regions.
Authorization
Each account has all of the permissions required to call all APIs, but IAM users must have the required permissions specifically assigned.
- If you are using role/policy-based authorization, see the required permissions in Permissions and Supported Actions.
- If you are using identity policy-based authorization, the permission listed below is required.
Action
Access Level
Resource Type (*: required)
Condition Key
Alias
Dependencies
as:scalingGroup:closeWarmPool
write
-
-
-
URI
DELETE /autoscaling-api/{project_id}/scaling-groups/{scaling_group_id}/warm-pool
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Specifies the project ID. |
|
scaling_group_id |
Yes |
String |
Specifies the AS group ID. |
Request
None
Example Request
DELETE https://{Endpoint}/autoscaling-api/{project_id}/scaling-groups/5bc3aa02-b83e-454c-aba1-4d2095c68f8b/warm-pool
Response
None
Example Response
None
Returned Values
- Normal
- Abnormal
Returned Value
Description
400 Bad Request
The server failed to process the request.
401 Unauthorized
You must enter the username and password to access the requested page.
403 Forbidden
You are forbidden to access the requested page.
404 Not Found
The server cannot find the requested page.
405 Method Not Allowed
You are not allowed to use the method specified in the request.
406 Not Acceptable
The client does not accept the response generated by the server.
407 Proxy Authentication Required
The client must be authorized by the proxy before the request can proceed.
408 Request Timeout
The request timed out.
409 Conflict
The request cannot be processed due to a conflict.
500 Internal Server Error
Failed to complete the request. The service is abnormal.
501 Not Implemented
Failed to complete the request. The server does not support the requested function.
502 Bad Gateway
Failed to complete the request. The server received an invalid response from the upstream server.
503 Service Unavailable
Failed to complete the request. The system is abnormal.
504 Gateway Timeout
The gateway timed out.
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot