Removes one or more data shards from a Tair (Redis OSS-compatible) cluster instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:DeleteShardingNode |
delete |
*DBInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the instance. |
r-bp1zxszhcgatnx**** |
NodeId
deprecated
|
string |
No |
The ID of the data shard that you want to remove. You can specify multiple IDs at a time. Separate multiple IDs with commas (,). Note
If you specify both the NodeId and ShardCount parameters, the system prioritizes the NodeId parameter. |
r-bp1zxszhcgatnx****-db-0,r-bp1zxszhcgatnx****-db-1 |
| ShardCount |
integer |
No |
The number of data shards that you want to remove. Shard removal starts from the end of the shard list. Note
For example, the instance has the following data shards: db-0, db-1, db-2, db-3, and db-4. In this case, if you set this parameter to 2, db-3 and db-4 are removed. |
1 |
| ForceTrans |
boolean |
No |
Specifies whether to enable forced transmission during a configuration change. Valid values:
|
false |
| EffectiveTime |
string |
No |
The time when you want to delete the proxy nodes for instance in the proxy mode. Valid values:
Note
You can call the ModifyInstanceMaintainTime operation to modify the maintenance window of an instance. |
Immediately |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
5D622714-AEDD-4609-9167-F5DDD3D1**** |
| OrderId |
string |
The ID of the order. On the Orders page in the Billing Management console, you can obtain the details of the order based on the order ID. |
22179******0904 |
Examples
Success response
JSON format
{
"RequestId": "5D622714-AEDD-4609-9167-F5DDD3D1****",
"OrderId": "22179******0904"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.