Retrieves the details of an instance by its ID.
Operation description
Method
GET
URI
/openapi/ha3/instances/{instanceId}
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
searchengine:GetInstance |
get |
*Instance
|
None | None |
Request syntax
GET /openapi/ha3/instances/{instanceId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| instanceId |
string |
Yes |
The instance ID. |
ha-cn-pl32rf0**** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Request example
GET /openapi/ha3/instances/ha3-cn-xxxxxx
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| result |
object |
The returned result. |
|
| description |
string |
The description of the instance. |
test |
| resourceGroupId |
string |
The resource group ID. |
rg-aekzjvw24**** |
| expiredTime |
string |
The expiration time. |
024-05-21 16:49:31.0 |
| commodityCode |
string |
The commodity code. |
opensearch_ha3post_public_cn |
| instanceId |
string |
The instance ID. |
ha-cn-pl32rf0**** |
| createTime |
string |
The time when the instance was created. |
2022-06-17T02:01:26Z |
| lockMode |
string |
The lock status. |
Unlock |
| chargeType |
string |
The billing method. |
POSYPAY |
| updateTime |
string |
The time when the instance was last updated. |
024-05-21 16:49:31.0 |
| inDebt |
boolean |
Indicates whether the payment for the instance is overdue. |
false |
| status |
string |
The status of the instance.
|
INIT |
| tags |
array<object> |
The tags. |
|
|
object |
The tag. |
||
| key |
string |
The tag key. |
opensearch |
| value |
string |
The tag value. |
opensearch |
| edition |
string |
The edition of the instance. Valid values: - vector: Vector Search Edition - engine: Recall Engine Edition |
vector |
| userName |
string |
The username. |
admin |
| version |
string |
The engine version number. |
ha3_3.10.0 |
| bsVersion |
string |
The BS version number. |
bs_3.13.2 |
| noQrs |
boolean |
Indicates whether the instance is a standalone instance. |
false |
| newMode |
boolean |
Indicates whether the new version of the console is used. |
true |
| network |
object |
The network information of the search engine instance. |
|
| vSwitchId |
string |
The ID of the virtual switch. |
vsw-bp11ldcf59q2n**** |
| vpcId |
string |
The ID of the VPC. |
vpc-wz9axk41d9vff**** |
| endpoint |
string |
The gateway endpoint. |
ha-cn-35t3r****.ha.aliyuncs.com |
| publicEndpoint |
string |
The public domain name. |
ha-cn-35t3ni****.public.ha.aliyuncs.com |
| allow |
string |
The whitelist for the public domain name. |
127.0.0.1 |
| spec |
object |
The node specifications. |
|
| qrsResource |
object |
The specifications of the query node. |
|
| category |
string |
The type of the instance. The value local_ssd indicates the local SSD type, and the value cloud indicates the disk type. |
local_ssd |
| cpu |
integer |
The number of CPU cores. |
2 |
| mem |
integer |
The memory size in GB. |
10 |
| disk |
integer |
The storage space of the node in GB. |
100 |
| nodeCount |
integer |
The number of nodes. |
1 |
| searchResource |
object |
The specifications of the data node. |
|
| category |
string |
The machine type. Valid values: |
local_ssd |
| cpu |
integer |
The number of CPU cores. |
2 |
| mem |
integer |
The memory size in GB. |
10 |
| disk |
integer |
The storage space of the node in GB. |
100 |
| nodeCount |
integer |
The number of nodes. |
1 |
| zoneCount |
integer |
The number of zones. |
1 |
| requestId |
string |
The request ID. |
E7B7D598-B080-5C8E-AA35-D43EC0D5F886 |
Response examples
Successful response example
{
"result":
{
"inDebt": false,
"lockMode": "Unlock",
"trFreeUrl": "",
"chargeType": "POSTPAY",
"edition": "vector",
"description": "ha-cn-vkl3rgrfc01",
"updateTime": "2024-05-30 10:52:00.0",
"userName": "admin",
"version": "vector_service_1.2.2",
"spec":
{
"qrsResource":
{
"category": "local_ssd",
"cpu": 2,
"mem": 8,
"disk": 100,
"nodeCount": 0
},
"searchResource":
{
"category": "local_ssd",
"cpu": 2,
"mem": 16,
"disk": 100,
"nodeCount": 1
}
},
"network":
{
"vSwitchId": "vsw-bp16qw5mbrzx66lv4n0m2",
"vpcId": "vpc-bp1956duqqe2lm2lvqjf1",
"endpoint": "ha-cn-vkl3rgrfc01.ha.aliyuncs.com"
},
"tags":
[
{
"value": "rg-acfmv2hk2jpsxia",
"key": "acs:rm:rgId"
}
],
"noQrs": true,
"instanceId": "ha-cn-vkl3rgrfc01",
"createTime": "2024-05-30 10:50:33.0",
"commodityCode": "opensearch_ha3post_public_cn",
"resourceGroupId": "rg-acfmv2hk2jpsxia",
"newMode": true,
"status": "READY"
},
"requestId": "B916FBC8-DF19-1D12-A72F-61AFFDD871AD"
}
Error response example
{
"requestId": "BD1EA715-DF6F-06C2-004C-C1FA0D3A9820",
"httpCode": 404,
"code": "App.NotFound",
"message": "App not found"
}
Examples
Success response
JSON format
{
"result": {
"description": "test",
"resourceGroupId": "rg-aekzjvw24****",
"expiredTime": "024-05-21 16:49:31.0",
"commodityCode": "opensearch_ha3post_public_cn",
"instanceId": "ha-cn-pl32rf0****",
"createTime": "2022-06-17T02:01:26Z",
"lockMode": "Unlock",
"chargeType": "POSYPAY",
"updateTime": "024-05-21 16:49:31.0",
"inDebt": false,
"status": "INIT",
"tags": [
{
"key": "opensearch",
"value": "opensearch"
}
],
"edition": "vector",
"userName": "admin",
"version": "ha3_3.10.0",
"bsVersion": "bs_3.13.2",
"noQrs": false,
"newMode": true,
"network": {
"vSwitchId": "vsw-bp11ldcf59q2n****\n",
"vpcId": "vpc-wz9axk41d9vff****\n",
"endpoint": "ha-cn-35t3r****.ha.aliyuncs.com\n",
"publicEndpoint": "ha-cn-35t3ni****.public.ha.aliyuncs.com\n",
"allow": "127.0.0.1\n"
},
"spec": {
"qrsResource": {
"category": "local_ssd",
"cpu": 2,
"mem": 10,
"disk": 100,
"nodeCount": 1
},
"searchResource": {
"category": "local_ssd",
"cpu": 2,
"mem": 10,
"disk": 100,
"nodeCount": 1
}
},
"zoneCount": 1
},
"requestId": "E7B7D598-B080-5C8E-AA35-D43EC0D5F886"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.