GetApp
Retrieves the details of an Elasticsearch Serverless application.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
es-serverless:GetApp |
get |
*All Resource
|
None | None |
Request syntax
GET /openapi/es-serverless/instances/{appName} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| appName |
string |
Yes |
The name of the application. Call the ListApps operation to obtain the application name. |
test |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| detailed |
boolean |
No |
Specifies whether to retrieve detailed information. Valid values:
|
false |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| result |
object |
The result. |
|
| appName |
string |
The name of the application. |
es-severless-test-app |
| ownerId |
string |
The UID of the Alibaba Cloud account to which the application belongs. |
*******7595 |
| regionId |
string |
The region where the application is deployed. |
cn-hangzhou |
| status |
string |
The status of the application. Valid values:
|
ACTIVE |
| createTime |
string |
The time when the application was created. |
2022-08-15T11:20:52.370Z |
| modifiedTime |
string |
The time when the application was updated. |
2022-08-15T11:21:50.000Z |
| description |
string |
The description of the application. |
This is a demo application |
| appId |
string |
The ID of the application. |
test-app-abc |
| version |
string |
The product version. |
7.10 |
| instanceId |
string |
The instance ID. |
es-serverless-***17-character ID** |
| network |
array<object> |
The public network information. |
|
|
array<object> |
The structure of the public network information. |
||
| type |
string |
The type of the IP address whitelist. Valid values:
|
PUBLIC_ES |
| enabled |
boolean |
Specifies whether public network access is enabled. |
true |
| domain |
string |
The domain name information. |
test-123.public.cn-hangzhou.es-serverless.aliyuncs.com |
| port |
integer |
The port number. |
9200 |
| whiteIpGroup |
array<object> |
The whitelist. |
|
|
object |
The structure of the whitelist. |
||
| groupName |
string |
The name of the whitelist group. |
test |
| ips |
array |
The list of IP addresses in the whitelist group. |
|
|
string |
The specific IP address or IP address range. |
127.0.0.1 |
|
| privateNetwork |
array<object> |
The private network information. |
|
|
array<object> |
The structure of the private network information. |
||
| type |
string |
The type of the IP address whitelist. Valid values:
|
PRIVATE_ES |
| enabled |
boolean |
Specifies whether private network access is enabled. |
true |
| domain |
string |
The domain name information. |
test-123.private.cn-hangzhou.es-serverless.aliyuncs.com |
| port |
integer |
The port number. |
9200 |
| vpcId |
string |
The VPC ID. |
vpc-bp16ul4pwsg1mjni*** |
| pvlEndpointId |
string |
The endpoint information. |
ep-aaaddd** |
| whiteIpGroup |
array<object> |
The whitelist. |
|
|
object |
The structure of the whitelist. |
||
| groupName |
string |
The name of the whitelist group. |
test |
| ips |
array |
The list of IP addresses in the whitelist group. |
|
|
string |
The specific IP address or IP address range. |
127.0.0.1 |
|
| appType |
string |
The type of the application. |
STANDARD |
| tags |
array<object> |
The list of tags for the application. Each tag includes a key and a value. |
|
|
object |
|||
| key |
string |
The key of the application tag. |
B2 |
| value |
string |
The value of the application tag. |
Example |
| scenario |
string |
The common scenarios. |
GENERAL |
| chargeType |
string |
The billing method of the application. POSTPAY indicates the pay-as-you-go billing method. |
POSTPAY |
| requestId |
string |
The ID of the request. |
2C5DAA30-****-5181-9B87-9D6181016197 |
Examples
Success response
JSON format
{
"result": {
"appName": "es-severless-test-app",
"ownerId": "*******7595",
"regionId": "cn-hangzhou",
"status": "ACTIVE",
"createTime": "2022-08-15T11:20:52.370Z",
"modifiedTime": "2022-08-15T11:21:50.000Z",
"description": "This is a demo application",
"appId": "test-app-abc",
"version": "7.10",
"instanceId": "es-serverless-***17-character ID**",
"network": [
{
"type": "PUBLIC_ES",
"enabled": true,
"domain": "test-123.public.cn-hangzhou.es-serverless.aliyuncs.com",
"port": 9200,
"whiteIpGroup": [
{
"groupName": "test",
"ips": [
"127.0.0.1"
]
}
]
}
],
"privateNetwork": [
{
"type": "PRIVATE_ES",
"enabled": true,
"domain": "test-123.private.cn-hangzhou.es-serverless.aliyuncs.com",
"port": 9200,
"vpcId": "vpc-bp16ul4pwsg1mjni***",
"pvlEndpointId": "ep-aaaddd**",
"whiteIpGroup": [
{
"groupName": "test",
"ips": [
"127.0.0.1"
]
}
]
}
],
"appType": "STANDARD",
"tags": [
{
"key": "B2",
"value": "Example"
}
],
"scenario": "GENERAL",
"chargeType": "POSTPAY"
},
"requestId": "2C5DAA30-****-5181-9B87-9D6181016197"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.