Queries the configurations of auto scaling in a specified cluster.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeAutoScaleConfig

The operation that you want to perform. Set the value to DescribeAutoScaleConfig.

ClusterId String Yes ehpc-hz-FYUr32****

The ID of the cluster.

Response parameters

Parameter Type Example Description
ClusterId String ehpc-hz-FYUr32****

The ID of the cluster.

ClusterType String slurm

The type of the scheduler. Valid values:

  • pbs
  • slurm
  • opengridscheduler
  • deadline
EnableAutoGrow Boolean true

Indicates whether auto scale-out is enabled.

EnableAutoShrink Boolean true

Indicates whether auto scale-in is enabled.

ExcludeNodes String i-bp19lgqwxb4206t5****,i-bp1g4hvzs9pywrhb****

The list of nodes on which auto scaling is not enabled.

ExtraNodesGrowRatio Integer 0

The ratio of added nodes to the original ones. Valid values: 0 to 100.

GrowIntervalInMinutes Integer 10

The scale-out interval. The interval at which the compute nodes were scaled out. Valid values: 2 to 10.

GrowRatio Integer 1

The percentage of the added nodes. Valid values: 1 to 100.

GrowTimeoutInMinutes Integer 20

The timeout period before the node was started. Valid values: 10 to 60.

MaxNodesInCluster Integer 100

The maximum number of compute nodes in the cluster. This parameter indicates the largest number of nodes that can be added to the cluster.

RequestId String 04F0F334-1335-436C-A1D7-6C044FE73

The ID of the request.

ShrinkIdleTimes Integer 3

The number of consecutive idle times of a node during a scale-in check. Valid values: 2 to 5.

ShrinkIntervalInMinutes Integer 2

The scale-in interval. The interval at which the compute nodes were scaled in. Valid values: 2 to 10.

SpotPriceLimit String 0.062

The maximum hourly rate of the instance. The value is accurate to three decimal places. It takes effect only when SpotStrategy is set to SpotWithPriceLimit.

SpotStrategy String NoSpot

The bidding policy for the compute nodes. Valid values:

  • NoSpot: The instance is created as a regular pay-as-you-go instance.
  • SpotWithPriceLimit: The instance is a preemptible one with a user-defined maximum hourly rate.
  • SpotAsPriceGo: The instance is created as a pay-as-you-go instance that is automatically priced based on the Alibaba Cloud Marketplace.
Uid String testu****

The ID of the user.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format

        "RequestId": "04F0F334-1335-436C-A1D7-6C044FE73",
        "ClusterType": "slurm",
        "Uid": "testu****",
        "EnableAutoGrow": true,
        "EnableAutoShrink": true,
        "ExcludeNodes": "i-bp19lgqwxb4206t5****,i-bp1g4hvzs9pywrhb****",
        "GrowIntervalInMinutes": 10,
        "ShrinkIntervalInMinutes": 2,
        "ShrinkIdleTimes": 3,
        "GrowTimeoutInMinutes": 20,
        "ExtraNodesGrowRatio": 0,
        "MaxNodesInCluster": 100,
        "GrowRatio": 1,
        "SpotStrategy": "NoSpot",
        "SpotPriceLimit": 0

Error codes

HttpCode Error code Error message Description
503 ServiceUnavailable The request has failed due to a temporary failure of the server The error message returned because the request has failed. The server is temporarily unavailable.

For a list of error codes, visit the API Error Center.