RolloverDataStream
Creates a new index for a data stream or an index alias.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
elasticsearch:RolloverDataStream |
none |
*Instance
|
None | None |
Request syntax
POST /openapi/instances/{InstanceId}/data-streams/{DataStream}/rollover HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
es-cn-nif24adwc0082**** |
| DataStream |
string |
Yes |
The name of the data stream. |
ds-001 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. The value is generated by the client and must be unique across different requests. The value can contain a maximum of 64 ASCII characters. |
5A2CFF0E-5718-45B5-9D4D-70B3FF**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Result |
boolean |
The returned result. Valid values:
|
true |
| RequestId |
string |
The request ID. |
F99407AB-2FA9-489E-A259-40CF6DCC**** |
Examples
Success response
JSON format
{
"Result": true,
"RequestId": "F99407AB-2FA9-489E-A259-40CF6DCC****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.