GetAddon

Updated at:

Retrieves the details of an add-on.

Operation description

Retrieves the details of an add-on.

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

cms:GetAddon

none

*All Resource

*

None None

Request syntax

GET /addons/{addonName} HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

addonName

string

Yes

The query parameter.

security-actiontrail

Request parameters

Parameter

Type

Required

Description

Example

version

string

No

The version of the add-on.

0.1.1

aliyunLang

string

No

The language environment. Default value: zh. Valid values: zh, en.

zh

Response elements

Element

Type

Description

Example

object

data

object

The list of data corresponding to the request.

alias

string

The alias of the integrated component.

resume_vector_alias

categories

array

The list of category directories for the integrated component.

string

The name of the category directory.

alibaba-cloud-service

dashboards

array<object>

The list of dashboards.

object

The dashboard information.

description

string

The description of the dashboard.

test

name

string

The name of the dashboard.

rum_api_dot_metric_set

url

string

The URL of the preview image.

http://iac-service-transfer.oss-cn-hangzhou.aliyuncs.com/78c5_288850010070719968_bdcf7cca781844c8ac4add133791713f

description

string

The description of the add-on.

o11y-demo-cn-heyuan

environments

array<object>

The environment context.

array<object>

The environment context of a single environment.

commonSchemaRefs

array<object>

The list of associated common schemas.

object

The information about the associated common schema.

group

string

The group name of the common schema.

acs-ecs

version

string

The version of the common schema.

0.1.3

dependencies

object

The additional dependencies.

clusterTypes

array

The dependencies on cluster types.

string

The dependencies on cluster types.

ManagedKubernetes/Default

features

object

The dependencies on probes.

{"metric-agent":true}

boolean

Specifies whether the target probe component is required.

true

services

array

The dependencies on activated services.

string

The service name.

Prometheus

description

string

The description.

Observability integration.

enable

boolean

Indicates whether the environment is enabled.

false

label

string

The display name of the environment.

Container environment

name

string

The name of the add-on.

cs-default-umodel-1752755202744_k8s.metric.high_level_metric_deployment_cn-hangzhou/c0a686118449c4390b9cc0a07ea3e0e85

policies

object

The resource group ID.

alertDefaultStatus

string

The enabling status of the default policy for alert rules.

true

defaultInstall

boolean

Specifies whether the add-on is installed by default.

true

enableServiceAccount

boolean

Specifies whether a service account is assigned for communication with the console API.

true

metricCheckRule

object

The metric check rule.

promQL

array

The data check rule applied after installation.

string

The data check rule applied after installation.

up=1

needRestartAfterIntegration

boolean

Specifies whether to initiate a pod restart guide immediately after the add-on is installed during integration.

true

protocols

array<object>

The protocols.

object

The protocols.

description

string

The description of the protocol.

Support OpenTelemetry Protocol

icon

string

The URL of the icon.

icon URL

label

string

The display name of the protocol.

OpenTelemetry

name

string

The name of the protocol.

OpenTelemetry

targetAddonName

string

The name of the target add-on to redirect to.

cs-default

policyType

string

The type of the integration policy.

CS

icon

string

The URL of the icon.

https://xxxxx

keywords

array

The keywords.

string

The keywords.

metrics

language

string

The language.

zh

latestReleaseCreateTime

string

The latest release creation time.

2023-09-12 12:30:30

name

string

The name of the add-on.

rum_api_dashboard_explorer_link_metric_set

once

boolean

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

true

scene

string

The component scenario.

middleware

version

string

The component version.

0.1.1

weight

string

The weight value.

10

requestId

string

Id of the request

0B9377D9-C56B-5C2E-A8A4-A01D6CC3F4B8

Examples

Success response

JSON format

{
  "data": {
    "alias": "resume_vector_alias",
    "categories": [
      "alibaba-cloud-service"
    ],
    "dashboards": [
      {
        "description": "test",
        "name": "rum_api_dot_metric_set",
        "url": "http://iac-service-transfer.oss-cn-hangzhou.aliyuncs.com/78c5_288850010070719968_bdcf7cca781844c8ac4add133791713f"
      }
    ],
    "description": "o11y-demo-cn-heyuan",
    "environments": [
      {
        "commonSchemaRefs": [
          {
            "group": "acs-ecs",
            "version": "0.1.3"
          }
        ],
        "dependencies": {
          "clusterTypes": [
            "ManagedKubernetes/Default"
          ],
          "features": {
            "key": true
          },
          "services": [
            "Prometheus"
          ]
        },
        "description": "Observability integration.",
        "enable": false,
        "label": "Container environment",
        "name": "cs-default-umodel-1752755202744_k8s.metric.high_level_metric_deployment_cn-hangzhou/c0a686118449c4390b9cc0a07ea3e0e85",
        "policies": {
          "alertDefaultStatus": "true",
          "defaultInstall": true,
          "enableServiceAccount": true,
          "metricCheckRule": {
            "promQL": [
              "up=1"
            ]
          },
          "needRestartAfterIntegration": true,
          "protocols": [
            {
              "description": "Support OpenTelemetry Protocol",
              "icon": "icon URL",
              "label": "OpenTelemetry",
              "name": "OpenTelemetry"
            }
          ],
          "targetAddonName": "cs-default"
        },
        "policyType": "CS"
      }
    ],
    "icon": "https://xxxxx",
    "keywords": [
      "metrics"
    ],
    "language": "zh",
    "latestReleaseCreateTime": "2023-09-12 12:30:30",
    "name": "rum_api_dashboard_explorer_link_metric_set",
    "once": true,
    "scene": "middleware",
    "version": "*",
    "weight": "10"
  },
  "requestId": "0B9377D9-C56B-5C2E-A8A4-A01D6CC3F4B8"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.