Modify the Max and Min Value and Label

Last updated: 2020-06-04 17:09:19

    Note:

    This is a legacy API which has been hidden and will no longer be updated. We recommend using the new TKE API 3.0 which is standardized and faster.

    API Description

    This API (ModifyClusterAsgRange) is used to modify the maximum size, minimum size and label of a cluster scaling group. The label is modified by resetting it.

    Domain name for API request:

    ccs.api.qcloud.com

    Input Parameters

    The following request parameter list only provides API request parameters.

    Parameter Name Description Required Type
    clusterId Cluster ID. Enter the clusterId field returned by the API Query Cluster List Yes String
    autoScalingGroupId Scaling group ID Yes String
    minSize The minimum size of a scaling group No Int
    maxSize The maximum size of a scaling group, which itself is limited for auto scaling. For more information, please see AS documentation. No Int
    label label No Array

    Output Parameters

    Parameter Name Description Type
    code Common error code. 0: Successful; other values: Failed. Int
    codeDesc Error code at business side. For a successful operation, "Success" is returned. In case of an error, a message describing the reason for the error is returned. String
    message Module error message description depending on API String

    Example

    Input

      https://domain/v2/index.php?Action=ModifyClusterAsgRange
      &clusterId=cls-xxxxxxxx
      &autoScalingGroupId=asg-xxxxxxxx
      &maxSize=10
      &other common parameters

    Output

    
    {
        "code": 0,
        "message": "",
        "codeDesc": "Success",
        "data": {
            "requestId": 4411
        }
    }
    

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help