All Products
Search
Document Center

Elastic High Performance Computing:GetAddon

Last Updated:Jan 14, 2026

Queries the details of an installed addon.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
ehpc:GetAddonget
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
ClusterIdstringYes

The cluster ID.

ehpc-hz-FYUr32****
AddonIdstringYes

The addon ID.

Login-1.0-W4g****

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

BBC2F93D-003A-49C4-850C-B826EECF****
Addonobject

The information about the addon.

Namestring

The addon name.

Login
Versionstring

The addon version.

1.0
AddonIdstring

The addon ID.

Login-1.0-W2g****
Labelstring

The addon label.

Descriptionstring

The addon description.

Iconstring

The addon icon.

/assets/icons/your_icon.svg
InstallTimestring

The time when the addon was installed.

2024-08-22 18:11:17
Statusstring

The addon status.

Running
ServicesSpecarray<object>

The service configurations of the addon.

ServiceInfoobject

The service configurations.

ServiceNamestring

The service name.

Web Portal
ServiceAccessTypestring

The service access type.

URL
ServiceAccessUrlstring

The service access URL.

https://47.96.xx.xx:12008
InputParamsarray<object>

The parameter configurations of the service.

InputParamobject

The parameter details.

Namestring

The parameter name.

MYSQL_HOME
Labelstring

The parameter label.

Valuestring

The parameter value.

usr/local/mysql
Typestring

The parameter type.

String
HelpTextstring

The help information of the parameter.

NetworkACLarray<object>

The security group configurations of the service.

NetworkACLobject

The security group rules.

IpProtocolstring

The protocol type. Valid values:

TCP: forwards TCP packets.

UDP: forwards UDP packets.

Any: forwards all packets.

TCP
Portfloat

The port number.

3306
SourceCidrIpstring

The source CIDR block.

172.16.0.0/12
ResourcesSpecobject

The resource configurations of the addon.

EipResourceobject

The Elastic IP Address (EIP) configurations.

AutoCreateboolean

Indicates whether the EIP is automatically created.

True
EipInstanceIdstring

The EIP ID.

eip-bp1vi9124tbx1g3kr****
EipAddressstring

The EIP.

39.108.xx.xx
InstanceChargeTypestring

The billing method of the EIP.

  • PostPaid: pay-as-you-go.
  • PrePaid: subscription.

Default value: PostPaid.

PostPaid
InternetChargeTypestring

The metering method of the EIP. Valid values:

  • PayByBandwidth: pay by bandwidth.
  • PayByTraffic: pay by data transfer.

Valid values of N: 1 to 10.

PayByTraffic
Bandwidthstring

The maximum bandwidth of the EIP. Unit: Mbit/s.

100
EcsResourcesarray

The Elastic Compute Service (ECS) resource configurations of the addon.

EcsResourceAddonNodeTemplate

The configurations of the ECS node.

Examples

Sample success responses

JSONformat

{
  "RequestId": "BBC2F93D-003A-49C4-850C-B826EECF****",
  "Addon": {
    "Name": "Login",
    "Version": 1,
    "AddonId": "Login-1.0-W2g****",
    "Label": "",
    "Description": "",
    "Icon": "/assets/icons/your_icon.svg\n",
    "InstallTime": "2024-08-22 18:11:17\n",
    "Status": "Running",
    "ServicesSpec": [
      {
        "ServiceName": "Web Portal",
        "ServiceAccessType": "URL",
        "ServiceAccessUrl": "https://47.96.xx.xx:12008",
        "InputParams": [
          {
            "Name": "MYSQL_HOME\n",
            "Label": "",
            "Value": "usr/local/mysql\n",
            "Type": "String\n",
            "HelpText": ""
          }
        ],
        "NetworkACL": [
          {
            "IpProtocol": "TCP",
            "Port": 3306,
            "SourceCidrIp": "172.16.0.0/12\n"
          }
        ]
      }
    ],
    "ResourcesSpec": {
      "EipResource": {
        "AutoCreate": true,
        "EipInstanceId": "eip-bp1vi9124tbx1g3kr****",
        "EipAddress": "39.108.xx.xx",
        "InstanceChargeType": "PostPaid",
        "InternetChargeType": "PayByTraffic",
        "Bandwidth": 100
      },
      "EcsResources": [
        {
          "InstanceType": "ecs.c7.4xlarge",
          "InstanceId": "i-bp1bzqq4rj1eemun****",
          "PrivateIpAddress": "172.16.**.**",
          "ImageId": "aliyun_3_x64_20G_alibase_20221102.vhd",
          "OsName": "",
          "OsNameEN": "CentOS  7.6 64 bit",
          "InstanceChargeType": "PostPaid",
          "PeriodUnit": "Month",
          "Period": 1,
          "AutoRenew": false,
          "AutoRenewPeriod": 1,
          "SpotStrategy": "NoSpot",
          "SpotPriceLimit": 0.97,
          "Duration": 1,
          "EnableHT": true,
          "SystemDisk": {
            "Category": "cloud_essd",
            "Size": 40,
            "Level": "PL0"
          },
          "DataDisks": [
            {
              "Category": "cloud_essd",
              "Size": 40,
              "Level": "PL0",
              "DeleteWithInstance": false
            }
          ]
        }
      ]
    }
  }
}

Error codes

HTTP status codeError codeError messageDescription
400InvalidParamsThe specified parameter %s is invalid.The specified parameter %s is invalid.
400NotEnabledYou have not enabled this serviceYou have not enabled this service
404ClusterNotFoundThe specified cluster does not exist.The specified instance does not exist.
404ManagerNotFoundThe manager nodes do not exist or their status is abnormal.The manager nodes do not exist or their status is abnormal.
406DbErrorA database service error occurred.Database request failed.
406EcsErrorAn error occurred while calling the ECS API operation.ECS API call error. %s
406RedisErrorA Redis service error occurred.Redis request failed.
406AliyunErrorAn Alibaba Cloud product error occurred.Alibaba Cloud product error. %s
406AgentErrorThe agent service request failed: %sOperation unsuccessful: %s
407NotAuthorizedYou are not authorized by RAM for this request.The request is not authorized by RAM.
500UnknownErrorAn unknown error occurred.An unknown error occurred.
503ServiceUnavailableThe request has failed due to a temporary failure of the serverThe request has failed due to a temporary failure of the server.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history