DescribeInstance
Queries the details of a specified instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
elasticsearch:DescribeInstance |
get |
*All Resource
|
None | None |
Request syntax
GET /openapi/instances/{InstanceId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
es-cn-3h4k3axh33th9**** |
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-1ACB6FE1**** |
| Result |
object |
The result. |
|
| advancedDedicateMaster |
boolean |
Indicates whether dedicated master nodes are included. Valid values:
|
true |
| protocol |
string |
The access protocol. Valid values: HTTP and HTTPS. |
HTTP |
| enableKibanaPublicNetwork |
boolean |
Indicates whether public network access to Kibana is enabled. Valid values:
|
true |
| 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 |
| enableKibanaPrivateNetwork |
boolean |
Indicates whether private network access to Kibana is enabled. Valid values:
|
false |
| vpcInstanceId |
string |
The VPC ID. |
vpc-bp1uag5jj38c**** |
| port |
integer |
The access port of the instance. |
9200 |
| enablePublic |
boolean |
Indicates whether the public endpoint of the instance is enabled. Valid values:
|
true |
| dedicateMaster |
boolean |
[Deprecated] The dedicated master node. |
false |
| kibanaPort |
integer |
The access port of Kibana. |
5601 |
| esConfig |
object |
The YML file configuration information of the instance. |
{"http.cors.allow-credentials":"false"} |
| resourceGroupId |
string |
The ID of the resource group to which the instance belongs. |
rg-aekzvowej3i**** |
| paymentType |
string |
The billing method of the instance. Valid values:
|
postpaid |
| postpaidServiceStatus |
string |
The status of the pay-as-you-go service added to a subscription instance. Valid values:
|
active |
| esVersion |
string |
The version of the instance. |
6.3.2_with_X-Pack |
| haveKibana |
boolean |
Indicates whether Kibana nodes are included. Valid values:
|
true |
| isNewDeployment |
boolean |
Indicates whether the new deployment architecture is used. |
true |
| warmNode |
boolean |
Indicates whether warm nodes (data nodes) are enabled. Valid values:
|
true |
| updatedAt |
string |
The time when the instance was last updated. |
2018-07-13T03:58:07.253Z |
| instanceId |
string |
The instance ID. |
es-cn-3h4k3axh33th9**** |
| zoneCount |
integer |
The number of zones for the instance. |
2 |
| publicDomain |
string |
The public endpoint of the instance. |
es-cn-3h4k3axh33th9****.elasticsearch.aliyuncs.com |
| status |
string |
The status of the instance. Valid values:
|
active |
| serviceVpc |
boolean |
Indicates whether the VPC is a service VPC. |
true |
| publicPort |
integer |
The public network access port of the instance. |
9200 |
| haveClientNode |
boolean |
Indicates whether client nodes are included. Valid values:
|
true |
| domain |
string |
The internal endpoint of the instance. |
es-cn-3h4k3axh33th9****.elasticsearch.aliyuncs.com |
| description |
string |
The name of the instance. |
es-cn-abc |
| kibanaDomain |
string |
The Kibana endpoint. |
es-cn-3h4k3axh33th9****.kibana.elasticsearch.aliyuncs.com |
| dictList |
array<object> |
The IK dictionary configurations. |
|
|
object |
|||
| fileSize |
integer |
The size of the dictionary file. Unit: bytes. |
2782602 |
| sourceType |
string |
The source type of the dictionary file. Valid values:
|
ORIGIN |
| name |
string |
The name of the dictionary file. |
SYSTEM_MAIN.dic |
| type |
string |
The type of the dictionary file. Valid values:
|
MAIN |
| synonymsDicts |
array<object> |
The synonym dictionary configurations. |
|
|
object |
|||
| fileSize |
integer |
The size of the dictionary file. Unit: bytes. |
2782602 |
| sourceType |
string |
The source type. |
ORIGIN |
| name |
string |
The name of the dictionary file. |
SYSTEM_MAIN.dic |
| type |
string |
The dictionary type. Valid values:
|
STOP |
| zoneInfos |
array<object> |
The zone information. |
|
|
object |
|||
| status |
string |
The status of the zone. Valid values:
|
NORMAL |
| zoneId |
string |
The zone ID. |
cn-hangzhou-b |
| aliwsDicts |
array<object> |
The Alibaba Cloud word segmentation dictionary configurations. |
|
|
object |
|||
| fileSize |
integer |
The size of the dictionary file. Unit: bytes. |
2782602 |
| sourceType |
string |
The source type of the dictionary file. Valid values:
|
OSS |
| name |
string |
The name of the dictionary file. |
aliws_ext_dict.txt |
| type |
string |
The type of the dictionary file. Valid values:
|
ALI_WS |
| tags |
array<object> |
The instance tag labels. |
|
|
object |
|||
| tagKey |
string |
The tag key. |
env |
| tagValue |
string |
The tag value. |
dev |
| esIPWhitelist |
array |
[Deprecated] The private network access whitelist. |
|
|
string |
[Deprecated] The private network access whitelist. |
[ "0.0.0.0/0" ] |
|
| extendConfigs |
array<object> |
The array of extended configurations for the instance. |
|
|
object |
The extended configuration of the instance. |
[{ "configType": "aliVersion","aliVersion": "ali1.3.0" }] |
|
| privateNetworkIpWhiteList |
array |
The private endpoint access whitelist of the instance. |
|
|
string |
The private endpoint access whitelist of the instance. |
0.0.0.0/0 |
|
| publicIpWhitelist |
array |
The public endpoint access whitelist of the instance. |
|
|
string |
The public endpoint access whitelist of the instance. |
[ "0.0.0.0/0" ] |
|
| kibanaPrivateIPWhitelist |
array |
The Kibana private endpoint access whitelist. |
|
|
string |
The Kibana private endpoint access whitelist. |
["192.168.XX.XX"] |
|
| esIPBlacklist |
array |
[Deprecated] The private network access blacklist. |
|
|
string |
[Deprecated] The private network access blacklist. |
[ "0.0.0.0/0" ] |
|
| kibanaIPWhitelist |
array |
The Kibana public endpoint access whitelist. |
|
|
string |
The Kibana public endpoint access whitelist. |
[ "0.0.0.0/0" ] |
|
| nodeSpec |
object |
The data node configuration information. |
|
| spec |
string |
The node specifications. For more information, see Product specifications. |
elasticsearch.n4.small |
| disk |
integer |
The storage space of the node. Unit: GB. |
0 |
| diskEncryption |
boolean |
Indicates whether cloud disk encryption is enabled. Valid values:
|
true |
| diskType |
string |
The disk type of the node. Valid values:
|
cloud_ssd |
| performanceLevel |
string |
The performance level (PL) of the ESSD cloud disk. This parameter is required when diskType is set to cloud_essd, not cloud_ssd (standard SSD). 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. high_availability (high availability) high_cost_performance (high cost-effectiveness) |
high_availability |
| networkConfig |
object |
The network configurations. |
|
| vpcId |
string |
The VPC ID. |
vpc-abc |
| vsArea |
string |
The zone where the instance is deployed. |
cn-hangzhou-b |
| type |
string |
The network type. Only VPC is supported. |
vpc |
| vswitchId |
string |
The vSwitch ID. |
vsw-abc |
| whiteIpGroupList |
array<object> |
The whitelist groups. |
|
|
object |
|||
| whiteIpType |
string |
The whitelist type. Valid values:
|
PRIVATE_ES |
| groupName |
string |
The name of the whitelist group. The default group is included. |
default |
| ips |
array |
The list of IP addresses in the whitelist group. |
|
|
string |
The IP addresses in the whitelist group. |
["0.0.0.0", "127.0.XX.XX"] |
|
| kibanaConfiguration |
object |
The configuration of the Kibana node. |
|
| amount |
integer |
The number of nodes. |
1 |
| spec |
string |
The node specifications. For more information, see Product specifications. |
elasticsearch.n4.small |
| disk |
integer |
The storage space per node. Unit: GB. |
20 |
| specInfo |
string |
The description of the node specifications. |
1C 2G |
| masterConfiguration |
object |
The master node configuration. |
|
| spec |
string |
The node specifications. For more information, see Product specifications. |
elasticsearch.n4.small |
| amount |
integer |
The number of nodes. |
3 |
| disk |
integer |
The storage space of the node. Unit: GB. |
40 |
| diskType |
string |
The storage type of the node. Only cloud_ssd (standard SSD) is supported. |
cloud_ssd |
| specInfo |
string |
The description of the node specifications. |
1C 2G |
| clientNodeConfiguration |
object |
The client node configuration. |
|
| spec |
string |
The node specifications. For more information, see Product specifications. |
elasticsearch.n4.small |
| amount |
integer |
The number of nodes. |
3 |
| disk |
integer |
The storage space of the node. Unit: GB. |
40 |
| diskType |
string |
The storage type of the node. Only cloud_efficiency (ultra disk) is supported. |
cloud_efficiency |
| specInfo |
string |
The description of the node specifications. |
1C 2G |
| warmNodeConfiguration |
object |
The warm data node configuration. |
|
| amount |
integer |
The number of nodes. |
6 |
| spec |
string |
The node specifications. For more information, see Product specifications. |
elasticsearch.n4.small |
| disk |
integer |
The storage space of the node. Unit: GB. |
500 |
| diskEncryption |
boolean |
Specifies whether to enable cloud disk encryption. Valid values:
|
true |
| diskType |
string |
The storage type of the node. Only cloud_efficiency (ultra disk) is supported. |
cloud_efficiency |
| specInfo |
string |
The description of the node specifications. |
1C 2G |
| advancedSetting |
object |
The advanced settings. |
|
| gcName |
string |
The name of the garbage collector. CMS and G1 are supported. |
CMS |
| elasticDataNodeConfiguration |
object |
The elastic data node configuration. |
|
| amount |
integer |
The number of nodes. |
3 |
| spec |
string |
The node specifications. For more information, see Product specifications. |
elasticsearch.sn2ne.large |
| disk |
integer |
The storage space of the node. Unit: GB. |
20 |
| diskEncryption |
boolean |
Specifies whether to enable cloud disk encryption 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 |
| ikHotDicts |
array<object> |
The hot update configuration for IK dictionaries. |
|
|
object |
|||
| type |
string |
The type of the dictionary to be updated. Valid values:
|
MAIN |
| sourceType |
string |
The source type of the dictionary file. Valid values:
|
OSS |
| fileSize |
integer |
The size of the dictionary file. Unit: bytes. |
6 |
| name |
string |
The name of the dictionary file. |
deploy_0.dic |
| instanceCategory |
string |
The edition type of the instance. Valid values:
Valid values:
|
advanced |
| endTime |
integer |
The time when the instance expires. The value is a UNIX timestamp in milliseconds. |
1715826092044 |
| archType |
string |
The deployment mode and architecture type. Valid values:
|
public |
| kibanaPrivateDomain |
string |
The private endpoint of Kibana. |
es-cn-x0r3*********.elasticsearch.aliyuncs.com |
| kibanaPrivatePort |
string |
The private port of Kibana. |
5601 |
| inited |
boolean |
Indicates whether the initialization is complete. |
|
| endpoints |
array<object> |
The private domain names for each zone in HP_ALILB multi-zone instances. |
|
|
object |
|||
| zoneId |
string |
The zone ID. |
cn-hangzhou-i |
| endpoint |
string |
The private endpoint of the zone. |
es-cn-xx-cn-hangzhou-h.elasticsearch.aliyuncs.com |
| vswitchId |
string |
vswitchId |
vsw-xxx |
| indexNodeConfiguration | IndexNodeConfiguration |
The index node information. This is supported only by AI engine instances. |
|
| searchNodeConfiguration | SearchNodeConfiguration |
The search node information. This is supported only by AI engine instances. |
In the following response example, only the parameters explicitly listed in the response data are guaranteed to be returned. Unlisted parameters are for reference only. Do not rely on these parameters in your code.
Examples
Success response
JSON format
{
"RequestId": "5FFD9ED4-C2EC-4E89-B22B-1ACB6FE1****",
"Result": {
"advancedDedicateMaster": true,
"protocol": "HTTP",
"enableKibanaPublicNetwork": true,
"nodeAmount": 2,
"createdAt": "2018-07-13T03:58:07.253Z",
"enableKibanaPrivateNetwork": false,
"vpcInstanceId": "vpc-bp1uag5jj38c****",
"port": 9200,
"enablePublic": true,
"dedicateMaster": false,
"kibanaPort": 5601,
"esConfig": {
"http.cors.allow-credentials": "false"
},
"resourceGroupId": "rg-aekzvowej3i****",
"paymentType": "postpaid",
"postpaidServiceStatus": "active",
"esVersion": "6.3.2_with_X-Pack",
"haveKibana": true,
"isNewDeployment": true,
"warmNode": true,
"updatedAt": "2018-07-13T03:58:07.253Z",
"instanceId": "es-cn-3h4k3axh33th9****",
"zoneCount": 2,
"publicDomain": "es-cn-3h4k3axh33th9****.elasticsearch.aliyuncs.com",
"status": "active",
"serviceVpc": true,
"publicPort": 9200,
"haveClientNode": true,
"domain": "es-cn-3h4k3axh33th9****.elasticsearch.aliyuncs.com",
"description": "es-cn-abc",
"kibanaDomain": "es-cn-3h4k3axh33th9****.kibana.elasticsearch.aliyuncs.com",
"dictList": [
{
"fileSize": 2782602,
"sourceType": "ORIGIN",
"name": "SYSTEM_MAIN.dic",
"type": "MAIN"
}
],
"synonymsDicts": [
{
"fileSize": 2782602,
"sourceType": "ORIGIN",
"name": "SYSTEM_MAIN.dic",
"type": "STOP"
}
],
"zoneInfos": [
{
"status": "NORMAL",
"zoneId": "cn-hangzhou-b"
}
],
"aliwsDicts": [
{
"fileSize": 2782602,
"sourceType": "OSS",
"name": "aliws_ext_dict.txt",
"type": "ALI_WS"
}
],
"tags": [
{
"tagKey": "env",
"tagValue": "dev"
}
],
"esIPWhitelist": [
"[ \"0.0.0.0/0\" ]"
],
"extendConfigs": [
[
{
"configType": "aliVersion",
"aliVersion": "ali1.3.0"
}
]
],
"privateNetworkIpWhiteList": [
"0.0.0.0/0"
],
"publicIpWhitelist": [
"[ \"0.0.0.0/0\" ]"
],
"kibanaPrivateIPWhitelist": [
"[\"192.168.XX.XX\"]"
],
"esIPBlacklist": [
"[ \"0.0.0.0/0\" ]"
],
"kibanaIPWhitelist": [
"[ \"0.0.0.0/0\" ]"
],
"nodeSpec": {
"spec": "elasticsearch.n4.small",
"disk": 0,
"diskEncryption": true,
"diskType": "cloud_ssd",
"performanceLevel": "PL1",
"specInfo": "1C 2G ",
"diskPreference": "high_availability"
},
"networkConfig": {
"vpcId": "vpc-abc",
"vsArea": "cn-hangzhou-b",
"type": "vpc",
"vswitchId": "vsw-abc",
"whiteIpGroupList": [
{
"whiteIpType": "PRIVATE_ES",
"groupName": "default",
"ips": [
"[\"0.0.0.0\", \"127.0.XX.XX\"]"
]
}
]
},
"kibanaConfiguration": {
"amount": 1,
"spec": "elasticsearch.n4.small",
"disk": 20,
"specInfo": "1C 2G "
},
"masterConfiguration": {
"spec": "elasticsearch.n4.small",
"amount": 3,
"disk": 40,
"diskType": "cloud_ssd",
"specInfo": "1C 2G "
},
"clientNodeConfiguration": {
"spec": "elasticsearch.n4.small",
"amount": 3,
"disk": 40,
"diskType": "cloud_efficiency",
"specInfo": "1C 2G "
},
"warmNodeConfiguration": {
"amount": 6,
"spec": "elasticsearch.n4.small",
"disk": 500,
"diskEncryption": true,
"diskType": "cloud_efficiency",
"specInfo": "1C 2G"
},
"advancedSetting": {
"gcName": "CMS"
},
"elasticDataNodeConfiguration": {
"amount": 3,
"spec": "elasticsearch.sn2ne.large",
"disk": 20,
"diskEncryption": true,
"diskType": "cloud_ssd",
"specInfo": "1C 2G "
},
"ikHotDicts": [
{
"type": "MAIN",
"sourceType": "OSS",
"fileSize": 6,
"name": "deploy_0.dic"
}
],
"instanceCategory": "advanced",
"endTime": 1715826092044,
"archType": "public",
"kibanaPrivateDomain": "es-cn-x0r3*********.elasticsearch.aliyuncs.com",
"kibanaPrivatePort": "5601",
"inited": false,
"endpoints": [
{
"zoneId": "cn-hangzhou-i",
"endpoint": "es-cn-xx-cn-hangzhou-h.elasticsearch.aliyuncs.com",
"vswitchId": "vsw-xxx"
}
],
"indexNodeConfiguration": {
"amount": 3,
"disk": 500,
"diskType": "cloud_essd",
"performanceLevel": "PL0",
"spec": "elasticsearch.turbo1.ci.xlarge"
},
"searchNodeConfiguration": {
"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.