DescribeComponentIndex
Queries the details of an Elasticsearch composable template.
Operation description
For more information, see Store massive amounts of data by using OpenStore.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
elasticsearch:DescribeComponentIndex |
get |
*Instance
|
None | None |
Request syntax
GET /openapi/instances/{InstanceId}/component-index/{name} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
es-cn-tl329rbpc0001**** |
| name |
string |
No |
The name of the composable template. |
template |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The request ID. |
F99407AB-2FA9-489E-A259-40CF6DCC47D9 |
| Result |
object |
The returned result. |
|
| template |
object |
The template information. |
|
| aliases |
object |
The alias configuration of the template. |
{} |
| mappings |
object |
The mappings configuration of the template. |
{ "properties": { "@timestamp": { "type": "date" } } } |
| settings |
object |
The settings configuration of the template. |
{ "index.number_of_replicas": 0 } |
| _meta |
object |
The metadata, which is used to store information such as remarks. |
{ "description": "set number of shards to one" } |
Examples
Success response
JSON format
{
"RequestId": "F99407AB-2FA9-489E-A259-40CF6DCC47D9",
"Result": {
"template": {
"aliases": {},
"mappings": {
"properties": {
"@timestamp": {
"type": "date"
}
}
},
"settings": {
"index.number_of_replicas": 0
}
},
"_meta": {
"description": "set number of shards to one"
}
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.