Modifies the online policy of an index.
Operation description
Method
PUT
URI
/openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}/deploys/{deployName}/indexes/{indexName}/online-strategy
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
searchengine:ModifyIndexOnlineStrategy |
*Instance
|
None | None |
Request syntax
PUT /openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}/deploys/{deployName}/indexes/{indexName}/online-strategy HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| instanceId |
string |
Yes |
The instance ID. |
ha-cn-pl32rf0**** |
| dataSourceName |
string |
Yes |
The name of the data source. |
ha-cn-pl32rf0****_api_test |
| deployName |
string |
Yes |
The name of the data center in which the data source is deployed. |
vpc_hz_domain_1 |
| indexName |
string |
Yes |
The index name. |
test_tusou_v2 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| changeRate |
integer |
No |
The index change rate. |
20 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| requestId |
string |
The request ID. |
10D5E615-69F7-5F49-B850-00169ADE513C |
| result |
object |
The result. |
{} |
Examples
Success response
JSON format
{
"requestId": "10D5E615-69F7-5F49-B850-00169ADE513C",
"result": {}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.