ListIntegrationPolicies
Queries the list of integration center policies.
Operation description
Queries the list of integrations.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:ListIntegrationPolicies |
list |
*IntegrationPolicy
|
None | None |
Request syntax
GET /integration-policies HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| policyId |
string |
No |
The policy ID. |
policy-93817a401f78435596d745a97d2e85a1 |
| policyName |
string |
No |
The rule name. |
prod-database |
| policyType |
string |
No |
The policy type. |
CS |
| addonName |
string |
No |
The add-on name. |
cs-default |
filterRegionIds
deprecated
|
string |
No |
The region IDs used for the query, separated by commas. |
cn-beijing,cn-hangzhou |
| resourceGroupId |
string |
No |
The resource group ID. |
rg-xxxxx |
| tag |
array<object> |
No |
The list of tags. |
|
|
object |
No |
The list of tags in JSON format. |
||
| key |
string |
No |
The tag key. |
test |
| value |
string |
No |
The tag value. |
value |
| nextToken |
string |
No |
The token used to retrieve more results. This parameter is not required for the first query. For subsequent queries, use the token returned in the previous response. |
mvnX6zqg3P |
| maxResults |
integer |
No |
The maximum number of results to return. Default value: 30. Maximum value: 100. |
30 |
| entityGroupIds |
string |
No |
The entity IDs used for filtering, separated by commas. |
eg-1,eg-2,eg-3 |
| workspace |
string |
No |
The workspace. |
demo |
| query |
string |
No |
The query string for general queries. |
test |
| prometheusInstanceId |
string |
No |
The instance ID. |
cmee-622d27c2e87d49debceeebc7c642610e |
| bindResourceId |
string |
No |
The ID of the bound resource. |
622d27c2e87d49debceeebc7c642610e |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| maxResults |
integer |
The maximum number of entries per page. Default value: 50 Maximum value: 50 |
100 |
| nextToken |
string |
The pagination token. |
44ANBjKZmQeKnaB1fXRq06w7sFYK3MUcCALMD9qQbmEiE |
| policies |
array<object> |
The list of access policies. |
|
|
array<object> |
The access policy. |
||
| addonNames |
array |
The names of all add-ons installed in this policy. |
|
|
string |
The add-on name. |
cs-default |
|
| apiVersion |
string |
The policy version. |
v2 |
| bindResource |
object |
The information about the bound resource. |
|
| clusterId |
string |
The cluster ID. |
cv68tt87d78vyc89zy9v |
| clusterType |
string |
The cluster type. |
ManagedKubernetes |
| entityUserId |
string |
The UID of the actual owner of the bound resource in cross-account scenarios. |
12xxxx |
| vpcCidr |
string |
The VPC CIDR block. |
100.100.0.1/16 |
| vpcId |
string |
The VPC ID. |
vpc-uf664nyle5khp5d4d7hdo |
| csUmodelStatus |
boolean |
The installation status of umodel in the container environment. |
true |
| entityGroup |
object |
The entity group. |
|
| description |
string |
The description. |
xxxx |
| entityGroupId |
string |
The entity group ID. |
eg-b79f65d11fb94e779867cf937c3a3002 |
| entityGroupName |
string |
The entity group name. |
test-eg |
| entityRules |
object |
The entity group. |
|
| annotations |
array<object> |
The annotations. |
|
|
object |
The annotations. |
||
| op |
string |
The operation to be performed. |
add |
| tagKey |
string |
The tag key. |
key |
| tagValues |
array |
The tag value. |
|
|
string |
The tag value. |
value |
|
| entityTypes |
array |
The list of entity types. |
|
|
string |
The entity type. |
ECS |
|
| fieldRules |
array<object> |
The field rules. |
|
|
object |
The field rules. |
||
| fieldKey |
string |
The unique identifier of the field. |
test |
| fieldValues |
array |
The field content. Separate multiple values with commas (,). |
|
|
string |
The field content. Separate multiple values with commas (,). |
field1,fieled2 |
|
| op |
string |
The operation to be performed. |
add |
| instanceIds |
array |
The instance IDs. |
|
|
string |
The instance IDs. |
6fq8fvvcb,owqeq789r |
|
| ipMatchRule |
object |
The IP address matching rule. |
|
| ipCidr |
string |
The IP address CIDR block. |
100.100.1.0/16 |
| ipFieldKey |
string |
The key of the IP address field. |
xxxx |
| labels |
array<object> |
The labels. |
|
|
object |
The label value. |
||
| op |
string |
The operation to be performed. |
add |
| tagKey |
string |
The label key. |
test |
| tagValues |
array |
The tag value. |
|
|
string |
The tag value. |
value1 |
|
| regionIds |
array |
The list of region IDs. |
|
|
string |
The region ID. |
cn-beijing,cn-hangzhou |
|
| resourceGroupId |
string |
The resource group ID. |
rg-5i6dbwxfxuqihk7k |
| tags |
array<object> |
The tag information of the instance. |
|
|
object |
The tag value. |
||
| op |
string |
The operation to be performed. |
add |
| tagKey |
string |
The label key. |
key |
| tagValues |
array |
The tag value. |
|
|
string |
The tag value. |
value1 |
|
| query |
string |
The search keyword. Document library names and descriptions are supported. |
Haval |
| regionId |
string |
The region ID. |
cn-heyuan |
| userId |
string |
The user ID. |
1236812738 |
| workspace |
string |
The workspace. |
test-api |
| feePackage |
string |
The billing method. Valid values:
|
CS_Pro |
| managedInfo |
object |
The network management information of the policy. |
|
| eniId |
string |
The elastic network interface (ENI) ID of the managed probe. Example: eni-xxxx. |
eni-12345678 |
| securityGroupId |
string |
The security group ID. |
sg-xxxxx |
| vswitchId |
string |
The vSwitch ID. |
vsw-xxxxxx |
| policyId |
string |
The policy ID. |
policy-ac38a7cb02d14ff48bc9f97d0a75063e |
| policyName |
string |
The rule name. |
6f5HSsg3AP |
| policyType |
string |
The access center policy type. |
ECS |
| regionId |
string |
The region ID. |
cn-heyuan |
| resourceGroupId |
string |
The resource group ID. |
rg-xxxxx |
| subAddonRelease |
object |
The number of sub-releases. |
|
| ready |
integer |
The number of ready sub-releases. |
30 |
| total |
integer |
The total number of rules. |
278 |
| userId |
string |
The user ID. |
128470923 |
| workspace |
string |
The workspace. |
test-api |
| requestId |
string |
Id of the request |
CD8BA7D6-995D-578D-9941-78B0FECD14B5 |
| totalCount |
integer |
The total number of entries. |
0 |
Examples
Success response
JSON format
{
"maxResults": 100,
"nextToken": "44ANBjKZmQeKnaB1fXRq06w7sFYK3MUcCALMD9qQbmEiE",
"policies": [
{
"addonNames": [
"cs-default"
],
"apiVersion": "v2",
"bindResource": {
"clusterId": "cv68tt87d78vyc89zy9v",
"clusterType": "ManagedKubernetes",
"entityUserId": "12xxxx\n",
"vpcCidr": "100.100.0.1/16",
"vpcId": "vpc-uf664nyle5khp5d4d7hdo"
},
"csUmodelStatus": true,
"entityGroup": {
"description": "xxxx",
"entityGroupId": "eg-b79f65d11fb94e779867cf937c3a3002",
"entityGroupName": "test-eg",
"entityRules": {
"annotations": [
{
"op": "add",
"tagKey": "key",
"tagValues": [
"value"
]
}
],
"entityTypes": [
"ECS"
],
"fieldRules": [
{
"fieldKey": "test",
"fieldValues": [
"field1,fieled2"
],
"op": "add"
}
],
"instanceIds": [
"6fq8fvvcb,owqeq789r"
],
"ipMatchRule": {
"ipCidr": "100.100.1.0/16",
"ipFieldKey": "xxxx"
},
"labels": [
{
"op": "add",
"tagKey": "test",
"tagValues": [
"value1"
]
}
],
"regionIds": [
"cn-beijing,cn-hangzhou"
],
"resourceGroupId": "rg-5i6dbwxfxuqihk7k",
"tags": [
{
"op": "add",
"tagKey": "key",
"tagValues": [
"value1"
]
}
]
},
"query": "Haval",
"regionId": "cn-heyuan",
"userId": "1236812738",
"workspace": "test-api"
},
"feePackage": "CS_Pro",
"managedInfo": {
"eniId": "eni-12345678",
"securityGroupId": "sg-xxxxx",
"vswitchId": "vsw-xxxxxx"
},
"policyId": "policy-ac38a7cb02d14ff48bc9f97d0a75063e",
"policyName": "6f5HSsg3AP",
"policyType": "ECS",
"regionId": "cn-heyuan",
"resourceGroupId": "rg-xxxxx",
"subAddonRelease": {
"ready": 30,
"total": 278
},
"userId": "128470923",
"workspace": "test-api"
}
],
"requestId": "CD8BA7D6-995D-578D-9941-78B0FECD14B5",
"totalCount": 0
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.