ListIntegrationPolicyCollectors
Retrieves the collector information of an Access Center policy.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:ListIntegrationPolicyCollectors |
none |
*IntegrationPolicy
|
None | None |
Request syntax
GET /integration-policies/{policyId}/collectors HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| policyId |
string |
Yes |
The ID of the Access Center policy. |
env-d95435164593aece55f9999ce45c |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| addonReleaseName |
string |
No |
The name of the add-on release. |
release-1234567 |
| collectorType |
string |
Yes |
The type of the collector. |
Exporter |
| language |
string |
No |
The language. |
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| collectors |
array<object> |
The list of collectors. |
|
|
array<object> |
The collector information. |
||
| addonMeta | AddonMeta |
The add-on details. |
|
| collectorName |
string |
The name of the collector. |
collector-kkxx |
| collectorType |
string |
The type of the collector. |
Exporter |
| conditions |
array<object> |
The conditions. |
|
|
object |
The condition details. |
||
| firstTransitionTime |
string |
The time of the first transition, in ISO 8601 format, including the UTC identifier or time zone offset. |
2024-08-27T13:59:23+08:00 |
| lastTransitionTime |
string |
The time of the last transition, in ISO 8601 format, including the UTC identifier or time zone offset. |
2024-08-27T13:59:23+08:00 |
| message |
string |
The condition details. |
success |
| reason |
string |
The reason for the failure. |
Probe |
| status |
string |
The conditions. |
True |
| type |
string |
The type of the condition. |
Ready |
| managed |
boolean |
Indicates whether the component is managed. |
false |
| releaseName |
string |
The name of the add-on release. |
ecs-loong-collector-i-f8z1176fg57rlwmc1rfi |
| state |
string |
The state of the collector. |
active |
| version |
string |
The version of the component. |
2.6.2 |
| workloads |
array<object> |
The list of workloads. |
|
|
array<object> |
The workload details. |
||
| hostIp |
string |
The IP address of the host. |
10.10.10.10 |
| ip |
string |
The IP address of the workload. |
11.193.82.198 |
| managed |
boolean |
Indicates whether the component is managed. |
false |
| managedInfo |
object |
The policy management information. |
|
| securityGroupId |
string |
The ID of the security group. |
sg-xxxxx |
| vswitchId |
string |
The ID of the vSwitch. |
vsw-xxxxxx |
| message |
string |
The condition details. |
ok |
| name |
string |
The name of the workload. |
exporter-xxx |
| namespace |
string |
The namespace of the workload. |
prod-db |
| ownerReferenceKind |
string |
The kind of the owner reference. |
Deployment |
| ownerReferenceName |
string |
The name of the owner reference. |
exporter |
| startTime |
string |
The start time, in ISO 8601 format, including the UTC identifier or time zone offset. |
2024-08-27T13:59:23+08:00 |
| status |
string |
The status. |
{} |
| version |
string |
The version of the workload. |
v2.4.4 |
| requestId |
string |
The request ID. |
0B9377D9-C56B-5C2E-A8A4-A01D6CC3F4B8 |
Examples
Success response
JSON format
{
"collectors": [
{
"addonMeta": {
"alias": "ECS monitoring",
"categories": [
"infrastructure"
],
"dashboards": [
{
"description": "Description information",
"name": "ECS monitoring overview dashboard",
"url": "assets/dashboards/ecs.png\n"
}
],
"description": "The out-of-the-box and comprehensive ECS observe dashboards and alarm rules. Based on AliYun CloudMonitor agentless metrics, exporter agent metrics, host audit logs, host events and other data.",
"environments": [
{
"commonSchemaRefs": [
{
"group": "acs-ecs",
"version": "0.1.0"
}
],
"dependencies": {
"clusterTypes": [
"ManagedKubernetes/Default"
],
"features": {
"key": true
},
"services": [
"cmee"
]
},
"description": "Supports workload coverage monitoring for container clusters",
"enable": true,
"label": "Container environment",
"name": "CS/ECS/Cloud/Client",
"policies": {
"alertDefaultStatus": "RUNNING",
"bindDefaultPolicy": true,
"bindEntity": {
"entityGroupMode": true,
"entityType": "acs.ecs.instance",
"singleEntityMode": true,
"vpcIdFieldKey": "vpcId"
},
"defaultInstall": true,
"enableServiceAccount": true,
"metricCheckRule": {
"promQL": [
"up{job=\"acs-ecs\"}==1"
]
},
"needRestartAfterIntegration": true,
"protocols": [
{
"description": "Use the Prometheus protocol to write metric data",
"icon": "assets/logos/ecs.svg\n",
"label": "Prometheus protocol",
"name": "Prometheus"
}
],
"targetAddonName": "cloud-acs-ecs"
},
"policyType": "ECS"
}
],
"icon": "assets/logos/ecs.svg",
"keywords": [
"Monitor"
],
"language": "zh",
"latestReleaseCreateTime": "2025-10-25 09:12:12",
"name": "cloud-acs-ecs",
"once": true,
"scene": "feature",
"version": "0.0.1",
"weight": 1000
},
"collectorName": "collector-kkxx",
"collectorType": "Exporter",
"conditions": [
{
"firstTransitionTime": "2024-08-27T13:59:23+08:00",
"lastTransitionTime": "2024-08-27T13:59:23+08:00",
"message": "success",
"reason": "Probe",
"status": "True",
"type": "Ready"
}
],
"managed": false,
"releaseName": "ecs-loong-collector-i-f8z1176fg57rlwmc1rfi",
"state": "xx",
"version": "2.6.2",
"workloads": [
{
"hostIp": "10.10.10.10",
"ip": "11.193.82.198",
"managed": false,
"managedInfo": {
"securityGroupId": "sg-xxxxx",
"vswitchId": "vsw-xxxxxx"
},
"message": "ok",
"name": "exporter-xxx",
"namespace": "prod-db",
"ownerReferenceKind": "Deployment",
"ownerReferenceName": "exporter",
"startTime": "2024-08-27T13:59:23+08:00",
"status": "{}",
"version": "v2.4.4"
}
]
}
],
"requestId": "0B9377D9-C56B-5C2E-A8A4-A01D6CC3F4B8"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.