1. Interface Description
Interface request domain name: as.api3.convergecloud.com.
This API (RemoveSelectedInstance) is used to delete and remove CVM instances from a scaling group.
Default interface request rate limit: 20 times per second.
Interface update time: 2020-09-17 17:38:26.
The interface is both signature verification and authentication.
2. Input Parameters
The following list of request parameters only lists interface request parameters and some public parameters, For a complete list of public parameters see public request parameters.
| Parameter name | Required | Allow NULL | Type | Description |
|---|---|---|---|---|
| Action | Yes | No | String | Public parameter, The value of this interface: RemoveSelectedInstance |
| Version | Yes | No | String | Public parameter, The value of this interface: 2018-04-19 |
| Region | No | No | String | Public parameter,Regional information A list of supported geographies is available through the DescribeRegions interface |
| AutoScalingGroupId | Yes | No | String | ID of the scaling group. Example: asg-boz1qhnk |
| DetachInstanceIds | No | No | Array of String | IDs of CVM instances to be removed. Example: ["ins-61dyt49h"] |
| RemoveInstanceIds | No | No | Array of String | IDs of CVM instances to be deleted. Example: ["ins-61dyt49h"] |
3. Output Parameters
| Parameter name | Type | Description |
|---|---|---|
| ActivityId | String | ID of the scaling activity. Example: asa-q59zikez |
| RequestId | String | Unique request id, Each request will return. The RequestId of the request needs to be provided when locating the problem. |
4. Error Code
The following lists only the error codes related to the interface business logic, For other error codes, see public ErrorCode.
| Error Code | Description |
|---|---|
| InvalidParameterValue.LimitExceeded | The value exceeds the limit. |
| ResourceInsufficient.AutoScalingGroupBelowMinSize | The number of instances in the auto scaling group is below the minimum value. |
| ResourceNotFound.AutoScalingGroupIdNotFound | The scaling group does not exist. |
| InternalError | Internal error. |
| ResourceNotFound.InstancesNotInAutoScalingGroup | The target instance is not in the auto scaling group. |
| ResourceUnavailable.AutoScalingGroupInActivity | The auto scaling group is active. |