ListInstance
Retrieves a list of Elasticsearch instances.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
elasticsearch:ListInstance |
get |
*Instance
|
None | None |
Request syntax
GET /openapi/instances HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| page |
integer |
No |
The page number of the instance list. Starting value: 1. Default value: 1. |
1 |
| size |
integer |
No |
The paging settings for the number of entries per page in a paged query. Maximum value: 100. Default value: 10. |
10 |
| description |
string |
No |
The instance name. Fuzzy search is supported. For example, if you search for abc, instances such as abc, abcde, xyabc, and xabcy may be returned. |
aliyunes_test1 |
| instanceId |
string |
No |
The instance ID. |
es-cn-v641a0ta3000g**** |
| esVersion |
string |
No |
The instance version. |
6.7_with_X-Pack |
| resourceGroupId |
string |
No |
The ID of the resource group to which the instance belongs. |
rg-aekzvowej3i**** |
| tags |
string |
No |
The instance tags. |
[{"tagKey":"key1","tagValue":"value1"}] |
| vpcId |
string |
No |
The ID of the VPC to which the instance belongs. |
vpc-bp16k1dvzxtmagcva**** |
| zoneId |
string |
No |
The ID of the zone to which the instance belongs. |
cn-hangzhou-i |
| paymentType |
string |
No |
The billing method of the instance. Valid values:
|
postpaid |
| instanceCategory |
string |
No |
The instance edition. Valid values:
|
advanced |
| status |
string |
No |
Filters by instance status. Valid values: active, activating, inactive, invalid, and unknown. |
active |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
5FFD9ED4-C2EC-4E89-B22B-1ACB6FE1**** |
| Headers |
object |
The response headers. |
|
| X-Total-Count |
integer |
The total number of records. |
10 |
| Result |
array<object> |
The response result. |
|
|
array<object> |
|||
| advancedDedicateMaster |
boolean |
Indicates whether dedicated master nodes are included. Valid values:
|
false |
| nodeAmount |
integer |
The number of data nodes in the instance. |
2 |
| createdAt |
string |
The time when the instance was created. |
2018-07-13T03:58:07.253Z |
| status |
string |
The status of the instance. Valid values:
|
active |
| dedicateMaster |
boolean |
[Deprecated] Indicates whether dedicated master nodes are included. Valid values:
|
false |
| serviceVpc |
boolean |
Indicates whether it is a service VPC. |
true |
| paymentType |
string |
The billing method of the instance. Valid values:
|
postpaid |
| resourceGroupId |
string |
The ID of the resource group. |
rg-aekzvowej3i**** |
| postpaidServiceStatus |
string |
The status of the pay-as-you-go service added to a subscription instance. Valid values:
|
active |
| description |
string |
The name of the instance. |
es-cn-abc |
| esVersion |
string |
The instance version. |
6.7_with_X-Pack |
| isNewDeployment |
string |
Indicates whether the new deployment architecture is used. |
true |
| updatedAt |
string |
The time when the instance was last updated. |
2018-07-18T10:10:04.484Z |
| instanceId |
string |
The instance ID. |
es-cn-v641a0ta3000g**** |
| tags |
array<object> |
The instance tags. |
|
|
object |
|||
| tagKey |
string |
The tag key. |
env |
| tagValue |
string |
The tag value. |
dev |
| extendConfigs |
array<object> |
The extension parameter settings of the cluster. |
|
|
object |
The extension parameter settings of the cluster. |
{"configType": "aliVersion", "aliVersion": "ali1.3.0"} |
|
| clientNodeConfiguration |
object |
The client node configuration. |
|
| spec |
string |
The node specifications. You can view the specification information in Product specifications. |
elasticsearch.sn2ne.large |
| amount |
integer |
The number of nodes. |
3 |
| disk |
integer |
The storage space of the node. Unit: GB. |
20 |
| diskType |
string |
The storage type of the node. Only ultra disks (cloud_efficiency) are supported. |
cloud_efficiency |
| specInfo |
string |
The description of the node specifications. |
1C 2G |
| elasticDataNodeConfiguration |
object |
The elastic data node configuration. |
|
| spec |
string |
The node specifications. You can view the specification information in Product specifications. |
elasticsearch.sn2ne.large |
| amount |
integer |
The number of nodes. |
3 |
| disk |
integer |
The storage space of the node. Unit: GB. |
20 |
| diskEncryption |
boolean |
Indicates whether cloud disk encryption is enabled for the node. Valid values:
|
true |
| diskType |
string |
The storage type of the node. Valid values:
|
cloud_ssd |
| specInfo |
string |
The description of the node specifications. |
1C 2G |
| kibanaConfiguration |
object |
The Kibana node configuration. |
|
| spec |
string |
The node specifications. You can view the specification information in Product specifications. |
elasticsearch.n4.small |
| amount |
integer |
The number of nodes. |
1 |
| disk |
integer |
The storage space of the node. Unit: GB. |
20 |
| diskType |
string |
The storage type of the node. |
cloud_ssd |
| specInfo |
string |
The description of the node specifications. |
1C 2G |
| masterConfiguration |
object |
The master node configuration. |
|
| spec |
string |
The node specifications. You can view the specification information in Product specifications. |
elasticsearch.sn2ne.large |
| amount |
integer |
The number of nodes. |
3 |
| disk |
integer |
The storage space of the node. Unit: GB. |
20 |
| diskType |
string |
The storage type of the node. Only standard SSDs (cloud_ssd) are supported. |
cloud_ssd |
| specInfo |
string |
The description of the node specifications. |
1C 2G |
| networkConfig |
object |
The network configuration. |
|
| vpcId |
string |
The VPC ID. |
vpc-abc |
| vsArea |
string |
The zone where the instance is deployed. |
cn-hangzhou-e |
| type |
string |
The network type. Only VPC is supported. |
vpc |
| vswitchId |
string |
The vSwitch ID. |
vsw-def |
| whiteIpGroupList |
array<object> |
The public and private network whitelist group settings for the cluster. |
|
|
object |
|||
| groupName |
string |
The name of the group. |
default |
| whiteIpType |
string |
The network type. PRIVATE_ES: Elasticsearch private network. PUBLIC_KIBANA: Kibana public network. PUBLIC_ES: Elasticsearch public network. PRIVATE_KIBANA: Kibana private network. Valid values:
|
PUBLIC_KIBANA |
| ips |
array |
The network whitelist. |
|
|
string |
The network whitelist. |
["0.0.0.0", "127.0.XX.XX"] |
|
| nodeSpec |
object |
The data node configuration. |
|
| spec |
string |
The node specifications. You can view the specification information in Product specifications. |
elasticsearch.n4.small |
| disk |
integer |
The storage space of the node. Unit: GB. |
50 |
| diskEncryption |
boolean |
Indicates whether disk encryption is enabled. Valid values:
|
false |
| diskType |
string |
The storage type of the node. Valid values:
|
cloud_ssd |
| performanceLevel |
string |
The performance level of the ESSD. This parameter is required when diskType is set to cloud_essd. Valid values: PL1, PL2, and PL3. |
PL1 |
| specInfo |
string |
The description of the node specifications. |
1C 2G |
| diskPreference |
string |
The storage preference settings. Default value: high_availability. Valid values:
|
high_availability |
| vpcInstanceId |
string |
The VPC ID. |
vpc-bp1uag5jj38c**** |
| kibanaIPWhitelist |
array |
The public network access whitelist for Kibana nodes in the cluster. |
|
|
string |
The public network access whitelist for Kibana nodes in the cluster. |
"0.0.0.0/0" |
|
| kibanaPrivateIPWhitelist |
array |
The private network access whitelist for Kibana nodes in the cluster. |
|
|
string |
The private network access whitelist for Kibana nodes in the cluster. |
["192.168.XX.XX"] |
|
| publicIpWhitelist |
array |
The public network access whitelist for the Elasticsearch cluster. |
|
|
string |
The public access whitelist of the Elasticsearch cluster. |
[ "0.0.0.0/0" ] |
|
| privateNetworkIpWhiteList |
array |
The private network access whitelist of the Elasticsearch cluster. |
|
|
string |
The private network access whitelist of the Elasticsearch cluster. |
["192.168.XX.XX/25"] |
|
| endTime |
integer |
The time when the instance expires. |
1715826092044 |
| archType |
string |
The deployment mode and architecture type. Valid values:
|
public |
| domain |
string |
The internal endpoint of the instance. |
es-cn-nif1q8auz0005****.elasticsearch.aliyuncs.com |
| port |
string |
The access port of the instance. Important If the instance is being created or is in an abnormal state, this value may be missing or 0. |
9200 |
| protocol |
string |
The access protocol. Valid values: HTTP and HTTPS. |
HTTP |
| zoneCount |
integer |
The number of zones. |
1 |
| zoneInfos |
array<object> |
The zone information. |
|
|
object |
The zone information. |
||
| zoneId |
string |
The zone ID, such as cn-hangzhou-i. |
cn-hangzhou-i |
| status |
string |
The zone status. Valid values:
|
NORMAL |
| searchNodeConfiguration | SearchNodeConfiguration |
The search node information. This is supported only by AI engine instances. |
|
| indexNodeConfiguration | IndexNodeConfiguration |
The index node information. This is supported only by AI engine instances. |
The following response example includes most of the response parameters. The actual response prevails. Do not hardcode dependencies on these parameters in your code.
Examples
Success response
JSON format
{
"RequestId": "5FFD9ED4-C2EC-4E89-B22B-1ACB6FE1****",
"Headers": {
"X-Total-Count": 10
},
"Result": [
{
"advancedDedicateMaster": false,
"nodeAmount": 2,
"createdAt": "2018-07-13T03:58:07.253Z",
"status": "active",
"dedicateMaster": false,
"serviceVpc": true,
"paymentType": "postpaid",
"resourceGroupId": "rg-aekzvowej3i****",
"postpaidServiceStatus": "active",
"description": "es-cn-abc",
"esVersion": "6.7_with_X-Pack",
"isNewDeployment": "true",
"updatedAt": "2018-07-18T10:10:04.484Z",
"instanceId": "es-cn-v641a0ta3000g****",
"tags": [
{
"tagKey": "env",
"tagValue": "dev"
}
],
"extendConfigs": [
{
"configType": "aliVersion",
"aliVersion": "ali1.3.0"
}
],
"clientNodeConfiguration": {
"spec": "elasticsearch.sn2ne.large",
"amount": 3,
"disk": 20,
"diskType": "cloud_efficiency",
"specInfo": "1C 2G"
},
"elasticDataNodeConfiguration": {
"spec": "elasticsearch.sn2ne.large",
"amount": 3,
"disk": 20,
"diskEncryption": true,
"diskType": "cloud_ssd",
"specInfo": "1C 2G "
},
"kibanaConfiguration": {
"spec": "elasticsearch.n4.small",
"amount": 1,
"disk": 20,
"diskType": "cloud_ssd",
"specInfo": "1C 2G "
},
"masterConfiguration": {
"spec": "elasticsearch.sn2ne.large",
"amount": 3,
"disk": 20,
"diskType": "cloud_ssd",
"specInfo": "1C 2G "
},
"networkConfig": {
"vpcId": "vpc-abc",
"vsArea": "cn-hangzhou-e",
"type": "vpc",
"vswitchId": "vsw-def",
"whiteIpGroupList": [
{
"groupName": "default",
"whiteIpType": "PUBLIC_KIBANA",
"ips": [
"[\"0.0.0.0\", \"127.0.XX.XX\"]"
]
}
]
},
"nodeSpec": {
"spec": "elasticsearch.n4.small",
"disk": 50,
"diskEncryption": false,
"diskType": "cloud_ssd",
"performanceLevel": "PL1",
"specInfo": "1C 2G ",
"diskPreference": "high_availability"
},
"vpcInstanceId": "vpc-bp1uag5jj38c****",
"kibanaIPWhitelist": [
"\"0.0.0.0/0\""
],
"kibanaPrivateIPWhitelist": [
"[\"192.168.XX.XX\"]"
],
"publicIpWhitelist": [
"[ \"0.0.0.0/0\" ]"
],
"privateNetworkIpWhiteList": [
"[\"192.168.XX.XX/25\"]"
],
"endTime": 1715826092044,
"archType": "public",
"domain": "es-cn-nif1q8auz0005****.elasticsearch.aliyuncs.com",
"port": "9200",
"protocol": "HTTP",
"zoneCount": 1,
"zoneInfos": [
{
"zoneId": "cn-hangzhou-i",
"status": "NORMAL"
}
],
"searchNodeConfiguration": {
"amount": 3,
"disk": 500,
"diskType": "cloud_essd",
"performanceLevel": "PL0",
"spec": "elasticsearch.turbo1.ci.xlarge"
},
"indexNodeConfiguration": {
"amount": 3,
"disk": 500,
"diskType": "cloud_essd",
"performanceLevel": "PL0",
"spec": "elasticsearch.turbo1.ci.xlarge"
}
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.