Queries scaling configuration items.

Debugging

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

ParameterTypeRequiredExampleDescription
ActionStringYesListScalingConfigItemV2

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

ConfigItemTypeStringYesSCALING_STRATEGY

The data type of the configuration item. Valid values:

  • SCALING_RULE: scaling rule
  • SCALING_STRATEGY: scaling policies
RegionIdStringYescn-hangzhou

The region ID of the cluster. You can call the DescribeRegions operation to query the most recent region list.

ScalingGroupBizIdStringYesSGB-16ABA17988F39****

The ID of the scaling group. You can call the ListScalingGroupV2 to view the ID of the scaling group.

ResourceGroupIdStringNonerg-acfmv6jutt6****

The resource group ID. You can call the ListResourceGroups to view the ID of the resource group.

PageNumberIntegerNo.1

The page number.

PageSizeIntegerNo.100

The number of records on a single page.

Response parameters

ParameterTypeExampleDescription
ItemsArray of Item

Parameters

Item
ConfigItemInformationString{\"spotStrategy\":\"NoSpot\",\"spotPriceLimits\":[],\"instanceTypeList\":[],\"sysDiskCategory\":\"cloud_essd\",\"sysDiskSize\":{\"value\":40.0,\"unit\":\"GIGABYTE\"},\"dataDiskCategory\":\"cloud_essd\",\"dataDiskSize\":{\"value\":40.0,\"unit\":\"GIGABYTE\"},\"dataDiskCount\":4,\"scalingMaxSize\":10,\"scalingMinSize\":0,\"defaultCoolDownTime\":0,\"scalingTimeoutPolice\":{\"timeoutPolicy\":\"ROLLBACK\"},\"nodeOfflineMode\":\"DEFAULT\",\"nodeOfflineModeParam\":{\"timeoutMs\":0},\"triggerMode\":\"Scheduled\",\"multiAvailablePolicy\":\"PRIORITY\",\"multiAvailablePolicyParam\":{\"onDemandBaseCapacity\":0,\"onDemandPercentageAboveBaseCapacity\":0,\"spotInstanceRemedy\":false,\"spotInstancePools\":0},\"configItemType\":\"SCALING_STRATEGY\",\"scalingConfigBizId\":\"SCB-5B74B3834D9A446F\"}

configuration items information. The information varies with different configuration items types.

ConfigItemTypeStringSCALING_STRATEGY

The data type of the configuration item.

ScalingConfigItemBizIdStringSSB-B1AC1532C218****

The ID of the configuration items.

ScalingGroupBizIdStringSGB-84314D112C67****

The ID of the scaling group.

NextTokenStringNone

A deprecated parameter.

PageNumberInteger1

The page number.

PageSizeInteger100

The number of records on a single page.

RequestIdString7B804810-3C11-4927-B116-1D1A98A60BDD

The request ID.

TotalCountInteger100

The total number of entries returned.

Examples

Sample requests

http(s)://[Endpoint]/?Action=ListScalingConfigItemV2
&ConfigItemType=SCALING_RULE
&RegionId=cn-hangzhou
&ScalingGroupBizId=SGB-16ABA17988F3****
&<Common request parameters>

Sample success responses

XML format

<TotalCount>100</TotalCount>
<RequestId>7B804810-3C11-4927-B116-1D1A98A60BDD</RequestId>
<PageSize>100</PageSize>
<NextToken>None</NextToken>
<PageNumber>1</PageNumber>
<Items>
    <Item>
        <ScalingConfigItemBizId>SSB-B1AC1532C218****</ScalingConfigItemBizId>
        <ScalingGroupBizId>SGB-84314D112C67****</ScalingGroupBizId>
        <ConfigItemInformation>{"spotStrategy":"NoSpot","spotPriceLimits":[],"instanceTypeList":[],"sysDiskCategory":"cloud_essd","sysDiskSize":{"value":40.0,"unit":"GIGABYTE"},"dataDiskCategory":"cloud_essd","dataDiskSize":{"value":40.0,"unit":"GIGABYTE"},"dataDiskCount":4,"scalingMaxSize":10,"scalingMinSize":0,"privatePoolOptionsMatchCriteria":"Target","privatePoolOptionsId":"crp-bp1e4wcvoucrish5vph7","defaultCoolDownTime":0,"scalingTimeoutPolice":{"timeoutPolicy":"ROLLBACK"},"nodeOfflineMode":"DEFAULT","nodeOfflineModeParam":{"timeoutMs":0},"triggerMode":"Scheduled","multiAvailablePolicy":"PRIORITY","multiAvailablePolicyParam":{"onDemandBaseCapacity":0,"onDemandPercentageAboveBaseCapacity":0,"spotInstanceRemedy":false,"spotInstancePools":0},"configItemType":"SCALING_STRATEGY","scalingConfigBizId":"SCB-5B74B3834D9A446F"}</ConfigItemInformation>
        <ConfigItemType>SCALING_STRATEGY</ConfigItemType>
    </Item>
</Items>

JSON format

{
    "TotalCount":"100",
    "RequestId":"7B804810-3C11-4927-B116-1D1A98A60BDD",
    "PageSize":"100",
    "NextToken":"None",
    "PageNumber":"1",
    "Items":
    {
        "Item": [
            {
                "ScalingConfigItemBizId": "SSB-B1AC1532C218****",
                "ScalingGroupBizId": "SGB-84314D112C67****",
                "ConfigItemInformation": "{\"spotStrategy\":\"NoSpot\",\"spotPriceLimits\":[],\"instanceTypeList\":[],\"sysDiskCategory\":\"cloud_essd\",\"sysDiskSize\":{\"value\":40.0,\"unit\":\"GIGABYTE\"},\"dataDiskCategory\":\"cloud_essd\",\"dataDiskSize\":{\"value\":40.0,\"unit\":\"GIGABYTE\"},\"dataDiskCount\":4,\"scalingMaxSize\":10,\"scalingMinSize\":0,\"privatePoolOptionsMatchCriteria\":\"Target\",\"privatePoolOptionsId\":\"crp-bp1e4wcvoucrish5vph7\",\"defaultCoolDownTime\":0,\"scalingTimeoutPolice\":{\"timeoutPolicy\":\"ROLLBACK\"},\"nodeOfflineMode\":\"DEFAULT\",\"nodeOfflineModeParam\":{\"timeoutMs\":0},\"triggerMode\":\"Scheduled\",\"multiAvailablePolicy\":\"PRIORITY\",\"multiAvailablePolicyParam\":{\"onDemandBaseCapacity\":0,\"onDemandPercentageAboveBaseCapacity\":0,\"spotInstanceRemedy\":false,\"spotInstancePools\":0},\"configItemType\":\"SCALING_STRATEGY\",\"scalingConfigBizId\":\"SCB-5B74B3834D9A446F\"}",
                "ConfigItemType": "SCALING_STRATEGY"
            }
        ]
     }
}