ListIntegrationPolicyDashboards

Updated at:

Queries the list of dashboards.

Operation description

This topic provides an example of querying the alert template list. The response shows that the list contains two alert templates: ECS_Template1 and ECS_Template2.

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:ListIntegrationPolicyDashboards

none

*integrationPolicy

acs:cms:{#regionId}:{#accountId}:integrationpolicy/{#integrationPolicyId}

None None

Request syntax

GET /integration-policies/{policyId}/dashboards HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

policyId

string

Yes

The policy ID.

policy-ac38a7cb02d14ff48bc9f97d0a75063e

Request parameters

Parameter

Type

Required

Description

Example

addonName

string

No

The add-on name.

cs-default

scene

string

No

The component scenario.

databse

language

string

No

The query language.

Valid values:

  • en :

    English.

  • zh :

    Chinese.

zh

Response elements

Element

Type

Description

Example

object

Schema of Response

requestId

string

Id of the request

CD8BA7D6-995D-578D-9941-78B0FECD14B5

total

integer

The number of components.

1

dashboards

array<object>

The list of dashboards.

object

The list of dashboards.

uid

string

The ID of the current Alibaba Cloud account. This field is read-only.

1258199346721590

engine

string

The dashboard engine. Valid values:

  • grafana: shared Grafana.

  • cms: the proprietary dashboard engine of CloudMonitor.

grafana

title

string

The title of the UI module, not the name.

test

name

string

The dashboard name.

k8s-pod

url

string

The integration webhook for PagerDuty. Both V1 and V2 are supported.

https://agi.alicdn.com/user/0/0_0_5255362686.png?x-oss-process=image/quality,q_75/format,jpg&file=1734574878007.jpg

region

string

The region.

cn-hongkong

folderUid

string

The UID of the dashboard folder.

Env-AAA

tags

array

The list of tags.

string

The tag.

tag1

Examples

Success response

JSON format

{
  "requestId": "CD8BA7D6-995D-578D-9941-78B0FECD14B5",
  "total": 1,
  "dashboards": [
    {
      "uid": "1258199346721590",
      "engine": "grafana",
      "title": "test",
      "name": "k8s-pod",
      "url": "https://agi.alicdn.com/user/0/0_0_5255362686.png?x-oss-process=image/quality,q_75/format,jpg&file=1734574878007.jpg",
      "region": "cn-hongkong",
      "folderUid": "Env-AAA",
      "tags": [
        "tag1"
      ]
    }
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.