You can call RefreshClusterResourcePool operation to synchronize data from a resource pool and configure it to a cluster.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | RefreshClusterResourcePool |
The operation that you want to perform. This parameter is required for API requests that you create by piecing together HTTP or HTTPS URLs. Set the value to RefreshClusterResourcePool. |
ClusterId | String | Yes | C-0E995C0EE7E5**** |
The ID of the cluster. You can call ListClusters Interface to view the cluster ID. |
RegionId | String | Yes | cn-hangzhou |
The region ID of the instance. You can call DescribeRegions Interface to view the latest list of Alibaba Cloud regions. |
ResourcePoolId | Long | Yes | 115 |
The ID of the resource pool. You can call ListResourcePool View the resource pool ID. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
OperationId | String | xxxx |
The ID of the action. |
RequestId | String | A544317F-4A60-4532-AC96-191B9D80420A |
The ID of the request. |
WorkFlowInstanceId | String | **** |
The ID of the workflow instance. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=RefreshClusterResourcePool
&ClusterId=C-0E995C0EE7E5****
&RegionId=cn-hangzhou
&ResourcePoolId=115
&<common request parameters>
Sample responses
XML
format
<OperationId>****</OperationId>
<RequestId>A544317F-4A60-4532-AC96-191B9D80420A</RequestId>
<WorkFlowInstanceId>****</WorkFlowInstanceId>
JSON
Syntax
{
"OperationId":"****",
"RequestId":"A544317F-4A60-4532-AC96-191B9D80420A",
"WorkFlowInstanceId":"****"
}