DescribeApm

Updated at:

Retrieves the details of an APM instance.

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

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

GET /openapi/apm/{instanceId} HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

instanceId

string

Yes

The instance ID.

apm-cn-2r42fhp5****

Request parameters

Parameter

Type

Required

Description

Example

No parameters required.

Response elements

Element

Type

Description

Example

object

The instance details.

RequestId

string

The request ID.

97597D87-8066-5493-B692-5C50DA236D68

Result

object

The request result.

apmServerDomain

string

The domain name of the instance.

apm-cn-i7m2fuae****.apm.elasticsearch.aliyuncs.com:8200

createdAt

string

The creation time.

2021-11-16T07:15:51.967Z

deployedReplica

integer

The number of deployed replicas.

1

description

string

The instance name.

APMtest

endTime

integer

The time when the instance expires.

4792752000000

instanceId

string

The instance ID.

apm-cn-i7m2fuae****

nodeAmount

integer

The number of nodes.

1

outputES

string

The associated Elasticsearch instance.

es-cn-i7m2fsfhc001x****

outputESUserName

string

The username of the associated Elasticsearch instance.

elastic

ownerId

string

The user account ID.

133071096032****

paymentType

string

The billing method. Valid values:

  • postpaid: pay-as-you-go

  • prepaid: subscription

postpaid

region

string

The region.

cn-hangzhou

replica

integer

The number of replicas.

1

resourceSpec

string

The instance specifications. Valid values:

  • C1M2 (1 vCPU and 2 GB of memory)

  • C2M4 (2 vCPUs and 4 GB of memory)

C1M2

status

string

The lifecycle status. Valid values:

  • CREATING: creating

  • ACTIVATING: activating

  • ACTIVE: normal

  • INACTIVE: frozen

  • INVALID: invalid

active

version

string

The version information.

7.10.2

vpcId

string

The VPC ID.

vpc-bp1530vdhqkamm9s0****

vsArea

string

The zone where the vSwitch resides.

cn-hangzhou-i

vswitchId

string

The vSwitch ID.

vsw-bp1j1mql6r9g5vfb4****

Examples

Success response

JSON format

{
  "RequestId": "97597D87-8066-5493-B692-5C50DA236D68",
  "Result": {
    "apmServerDomain": "apm-cn-i7m2fuae****.apm.elasticsearch.aliyuncs.com:8200",
    "createdAt": "2021-11-16T07:15:51.967Z",
    "deployedReplica": 1,
    "description": "APMtest",
    "endTime": 4792752000000,
    "instanceId": "apm-cn-i7m2fuae****",
    "nodeAmount": 1,
    "outputES": "es-cn-i7m2fsfhc001x****",
    "outputESUserName": "elastic",
    "ownerId": "133071096032****",
    "paymentType": "postpaid",
    "region": "cn-hangzhou",
    "replica": 1,
    "resourceSpec": "C1M2",
    "status": "active",
    "version": "7.10.2",
    "vpcId": "vpc-bp1530vdhqkamm9s0****",
    "vsArea": "cn-hangzhou-i",
    "vswitchId": "vsw-bp1j1mql6r9g5vfb4****"
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.