Adds one or more data shards to a Tair cluster instance.
Operation description
Available only for cluster instances that use cloud disks.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:AddShardingNode |
create |
*DBInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
r-bp1zxszhcgatnx**** |
| ShardCount |
integer |
No |
The number of data shards to add. Default: 1. Note
Supports 2 to 256 data shards per instance, up to 64 per request. |
2 |
| AutoPay |
boolean |
No |
Enables automatic payment. Valid values:
Note
Default: true. |
false |
| CouponNo |
string |
No |
The coupon ID. |
youhuiquan_promotion_option_id_for_blank |
| BusinessInfo |
string |
No |
Additional business information. |
000000000 |
| SourceBiz |
string |
No |
Internal use only. |
SDK |
| ForceTrans |
boolean |
No |
Whether to force the configuration change. Valid values:
|
false |
| VSwitchId |
string |
No |
The vSwitch ID for new shards. Must be in the same VPC. Defaults to the original vSwitch. |
vsw-bp1e7clcw529l773d**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
B79C1A90-495B-4E99-A2AA-A4DB13B8**** |
| OrderId |
integer |
The order ID. |
20741011111111 |
| NodeIds |
array |
The data shard IDs. |
|
|
string |
The data shard ID. |
r-8vb0i6z4npbxrf****-db-4 |
Examples
Success response
JSON format
{
"RequestId": "B79C1A90-495B-4E99-A2AA-A4DB13B8****",
"OrderId": 20741011111111,
"NodeIds": [
"r-8vb0i6z4npbxrf****-db-4"
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.