ListSnapshotReposByInstanceId
Retrieves the list of cross-cluster OSS repository settings for the current instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
elasticsearch:ListSnapshotReposByInstanceId |
get |
*All Resource
|
None | None |
Request syntax
GET /openapi/instances/{InstanceId}/snapshot-repos HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
es-cn-0pp1jxvcl000z**** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
5FFD9ED4-C2EC-4E89-B22B-1ACB6FE1D**** |
| Result |
array<object> |
The returned results. |
|
|
object |
|||
| snapWarehouse |
string |
The referenced repository name. |
aliyun_snapshot_from_es-cn-6ja1ro4jt000c**** |
| repoPath |
string |
The repository address. |
es-cn-6ja1ro4jt000c**** |
| status |
string |
The status of the referenced repository. Valid values:
|
available |
| instanceId |
string |
The referenced instance ID. |
es-cn-6ja1ro4jt000c**** |
Examples
Success response
JSON format
{
"RequestId": "5FFD9ED4-C2EC-4E89-B22B-1ACB6FE1D****",
"Result": [
{
"snapWarehouse": "aliyun_snapshot_from_es-cn-6ja1ro4jt000c****",
"repoPath": "es-cn-6ja1ro4jt000c****",
"status": "available",
"instanceId": "es-cn-6ja1ro4jt000c****"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.