Modifies the information about index partitions.
Operation description
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
PUT /openapi/ha3/instances/{instanceId}/index-partition
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
instanceId | string | Yes | The instance ID. | ha-cn-7mz2ttxta01 |
body | object | No | The request body. | |
dataSourceName | string | No | The name of the data source. | test1 |
generation | long | No | The primary key. | 1633293829 |
domainName | string | No | The data center. | pre_domain_1 |
indexInfos | array<object> | No | The index information. | |
object | No | The information about each index. | ||
indexName | string | No | The index name. | atest2 |
partitionCount | integer | No | The number of shards. | 3 |
parallelNum | integer | No | The concurrency. Default value: 1. | 1 |
Response parameters
Sample responses
{
"requestId": "0A6EB64B-B4C8-CF02-810F-E660812972FF",
"result": []
}
For more information, see Response structure.
Examples
Sample success responses
JSON
format
{
"requestId": "93A9E542-8CF8-5BA6-99AB-94C0FE520429",
"result": []
}
Error codes
For a list of error codes, visit the Service error codes.