Queries scaling configuration items.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ListScalingConfigItemV2 | The operation that you want to perform. Set the value to ListScalingConfigItemV2. |
ConfigItemType | String | Yes | SCALING_STRATEGY | The data type of the configuration item. Valid values:
|
RegionId | String | Yes | cn-hangzhou | The region ID of the cluster. You can call the DescribeRegions operation to query the most recent region list. |
ScalingGroupBizId | String | Yes | SGB-16ABA17988F39**** | The ID of the scaling group. You can call the ListScalingGroupV2 to view the ID of the scaling group. |
ResourceGroupId | String | None | rg-acfmv6jutt6**** | The resource group ID. You can call the ListResourceGroups to view the ID of the resource group. |
PageNumber | Integer | No. | 1 | The page number. |
PageSize | Integer | No. | 100 | The number of records on a single page. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Items | Array of Item | Parameters | |
Item | |||
ConfigItemInformation | String | {\"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. |
ConfigItemType | String | SCALING_STRATEGY | The data type of the configuration item. |
ScalingConfigItemBizId | String | SSB-B1AC1532C218**** | The ID of the configuration items. |
ScalingGroupBizId | String | SGB-84314D112C67**** | The ID of the scaling group. |
NextToken | String | None | A deprecated parameter. |
PageNumber | Integer | 1 | The page number. |
PageSize | Integer | 100 | The number of records on a single page. |
RequestId | String | 7B804810-3C11-4927-B116-1D1A98A60BDD | The request ID. |
TotalCount | Integer | 100 | 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"
}
]
}
}