All Products
Search
Document Center

Application Real-Time Monitoring Service:ListAddons

Last Updated:Nov 05, 2024

List of access center products.

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:
    • The required resource types are displayed in bold characters.
    • 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
arms:ListAddonsnone
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringNo

The region ID.

cn-hangzhou
SearchstringNo

A query field can be queried by name or description.

mysql
RegexpbooleanNo

Whether to enable regular matching.

false
AliyunLangstringNo

Language,the default language is Chinese.

zh
CategorystringNo

Category filter.

database

Response parameters

ParameterTypeDescriptionExample
object

response

RequestIdstring

Id of the request

78901766-3806-4E96-8E47-CFEF59E4****
Codeinteger

Status code: 200 indicates success.

200
Messagestring

The returned message.

success
Successboolean

Indicates whether the alert rule was deleted. Valid values:

  • true: The alert rule was deleted.
  • false: The alert rule failed to be deleted.
true
Dataarray<object>

The queried add-ons.

dataobject

The details of the add-on.

Aliasstring

The alias of the add-on.

MySQL
Categoriesarray

The tags of the add-on.

categoriesstring

The tags.

cloud
Dashboardsarray<object>

The dashboards.

dashboardsobject

Dashboard details.

Descriptionstring

The description of the dashboard.

MySQL monitors the market information, monitoring the connection information, usage information and other indicators
Namestring

The name of the dashboard.

mysql-overview
Urlstring

The URL of the dashboard.

http://xxxx
Descriptionstring

The description of the add-on.

Monitor database indicators with MySQL Exporter
Environmentsarray<object>

The supported environments.

environmentsobject

The information about the environment.

Dependenciesobject

The dependencies of the environment.

Featuresobject

The feature on which the environment depends.

boolean

Indicates whether the feature is supported.

true
Servicesarray

The services.

servicesstring

The service name.

ResourceCenter
ClusterTypesarray

The supported cluster types.

clusterTypesstring

The cluster type.

ManagedKubernetes/Serverless
Descriptionstring

The description of the environment.

The MySQL service is deployed in a Kubernetes cluster.
Enableboolean

Indicates whether the feature is enabled.

true
Labelstring

The tag of the environment.

Container
Namestring

The name of the environment.

CS
Policiesobject

The control policies in the environment.

AlertDefaultStatusstring

The default alert status.

default
DefaultInstallboolean

The default installation status.

false
TargetAddonNamestring

The target name of the add-on.

cloud-rds-mysql
Protocolsarray<object>

The supported protocols.

protocolsobject

Protocol details.

Namestring

The name of the protocol.

arms
Labelstring

The tag of the protocol.

ARMS
Iconstring

The URL of the protocol icon.

http://xxxxxxx
Descriptionstring

The description of the protocol.

ARMS
EnableServiceAccountboolean

Indicates whether a service account is enabled.

false.
NeedRestartAfterIntegrationboolean

Indicates whether a restart is required after the installation.

false
MetricCheckRuleobject

The metric check rule.

PromQLarray

The PromQL statements.

promQLstring

PromQL statements are supported.

scraper_up{scraper=\"ecs\"}==1
Iconstring

The URL of the icon.

http://xxxx
Keywordsarray

The collection of keywords.

keywordsstring

The keyword.

Java
Languagestring

The language.

zh
Namestring

The name of the add-on.

mysql
Onceboolean

Indicates whether the add-on can be installed only once.

false
Scenestring

The scenario.

database
Versionstring

The version of the agent.

0.0.1
Weightstring

The weight.

857
LatestReleaseCreateTimestring

The time when the instance was last created.

2023-09-22T16:56:29+08:00

Examples

Sample success responses

JSONformat

{
  "RequestId": "78901766-3806-4E96-8E47-CFEF59E4****",
  "Code": 200,
  "Message": "success",
  "Success": true,
  "Data": [
    {
      "Alias": "MySQL",
      "Categories": [
        "cloud"
      ],
      "Dashboards": [
        {
          "Description": "MySQL monitors the market information, monitoring the connection information, usage information and other indicators",
          "Name": "mysql-overview",
          "Url": "http://xxxx"
        }
      ],
      "Description": "Monitor database indicators with MySQL Exporter",
      "Environments": [
        {
          "Dependencies": {
            "Features": {
              "key": true
            },
            "Services": [
              "ResourceCenter"
            ],
            "ClusterTypes": [
              "ManagedKubernetes/Serverless"
            ]
          },
          "Description": "The MySQL service is deployed in a Kubernetes cluster.",
          "Enable": true,
          "Label": "Container",
          "Name": "CS",
          "Policies": {
            "AlertDefaultStatus": "default",
            "DefaultInstall": false,
            "TargetAddonName": "cloud-rds-mysql",
            "Protocols": [
              {
                "Name": "arms",
                "Label": "ARMS",
                "Icon": "http://xxxxxxx",
                "Description": "ARMS"
              }
            ],
            "EnableServiceAccount": true,
            "NeedRestartAfterIntegration": false,
            "MetricCheckRule": {
              "PromQL": [
                "scraper_up{scraper=\\\"ecs\\\"}==1"
              ]
            }
          }
        }
      ],
      "Icon": "http://xxxx",
      "Keywords": [
        "Java"
      ],
      "Language": "zh",
      "Name": "mysql",
      "Once": false,
      "Scene": "database",
      "Version": "0.0.1",
      "Weight": "857",
      "LatestReleaseCreateTime": "2023-09-22T16:56:29+08:00"
    }
  ]
}

Error codes

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

Change history

Change timeSummary of changesOperation
2024-06-07The response structure of the API has changedView Change Details