Volcengine Kubernetes Engine
Parameters | Type | Required | Sample value | Description |
Parameters | Type | Required | Sample value | Description |
Action | String | Yes | DeleteScalingPolicies | The API name. The name of the current API is DeleteScalingPolicies. |
Version | String | Yes | 2022-05-12 | The API version. The current version of the API is 2022-05-12. |
ClusterId | String | Yes | cc5silumrsfeqxxxx | Cluster ID. Warning The cluster must be in the {Running,[Ok]} or {Updating,[Progressing]} state. You can call the ListClusters API to obtain the current status of the cluster. |
NodePoolId | String | Yes | pc51i0m6rsfenxxxx | Node pool ID. Note The node pool must be in the {Running,[*]} state. You can call the ListNodePools API to obtain the current status of the node pool. |
Ids | Array of String | Yes | ["spco2o8q2nvp211bm***"] | A list of scaling policy IDs. |
HTTP status code | Error code | Error message | Description |
HTTP status code | Error code | Error message | Description |
400 | OperationDenied.ClusterStatus | The action has been denied due to wrong cluster status {{statusPhase}} and [{{statusConditions}}]. | The current status of the specified cluster does not support this operation. Please confirm the required cluster status for this API and try again. |
400 | OperationDenied.NodePoolStatus | The action has been forbidden due to wrong node pool status {{statusPhase}} and [{{statusConditions}}]. | The current status of the specified node pool does not support this operation. Please confirm the required node pool status for this API and try again. |