ListIntegrationPolicies

Updated at:

Queries the list of integration center policies.

Operation description

Queries the list of integrations.

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

list

*IntegrationPolicy

acs:cms:{#regionId}:{#accountId}: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 :

    CS_Pro

  • CS_Basic :

    CS_Basic

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.