GetApp

Updated at:

Retrieves the details of an Elasticsearch Serverless application.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

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 (default): Does not retrieve detailed information.

  • true: Retrieves detailed information.

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: Normal.

  • INIT: Creating.

  • INACTIVE: Frozen.

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: The Elasticsearch public network access whitelist.

  • PUBLIC_KIBANA: The Kibana public network access whitelist.

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_KIBANA: The Kibana private network access whitelist.

  • PRIVATE_ES: The Elasticsearch private network access whitelist.

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.