All Products
Search
Document Center

Edge Security Acceleration:ListOriginPools

Last Updated:Oct 26, 2026

Queries all origin address pools under a site. Supports pagination and exact or fuzzy search by origin address pool name.

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

esa:ListOriginPools

list

*Site

acs:esa:{#regionId}:{#accountId}:site/{#SiteId}

None None

Request parameters

Parameter

Type

Required

Description

Example

PageNumber

integer

No

The page number. Default value: 1.

1

PageSize

integer

No

The number of entries per page. The value must be a positive integer. Maximum value: 500. If the value exceeds 500, it is reset to 500.

20

Name

string

No

The name of the origin address pool.

pool1

MatchType

string

No

The match type for name-based queries. Valid values:

  • fuzzy: fuzzy search.

  • exact: exact search. Default value: exact.

exact

OrderBy

string

No

The sort order. Supports ascending or descending order by ID. The ID is positively correlated with the creation time. Default value: descending order by ID. Valid values:

  • id: descending order by ID.

  • id: ascending order by ID.

id

SiteId

integer

Yes

The site ID. You can call the ListSites operation to obtain the site ID.

151538882642832

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

The request ID.

15C66C7B-671A-4297-9187-2C4477247A74

OriginPools

array<object>

The list of origin address pools.

array<object>

The origin address pool information.

Id

integer

The origin address pool ID.

1038520525196928

Name

string

The name of the origin address pool. The name must be unique within a site.

pool1

SiteId

integer

The ID of the site to which the origin address pool belongs.

216558609793952

RecordName

string

The domain name allocated to the origin IPAM pool. It can be used as the addresses of the origin server for records under the site.

pool1.example.com

Enabled

boolean

Indicates whether the origin address pool is enabled. Valid values:

  • true: enabled.

  • false: disabled.

false

References

object

The reference information of the origin IPAM pool. An origin IPAM pool is considered referenced when it is configured for load balancing or configured as an origin server in a record.

LoadBalancers

array<object>

The list of load balancing instances that use this origin IPAM pool.

object

The information about the load balancing instance that uses this origin IPAM pool.

Name

string

The name of the load balancing instance.

lb1.example.com

Id

integer

The load balancing instance ID.

998740660522624

DnsRecords

array<object>

The list of Layer 7 records that use this origin address pool as the origin server.

object

The information about the Layer 7 record that uses this origin address pool as the origin server.

Name

string

The record name.

www.example.com

Id

integer

The record ID.

1042852886352704

IPARecords

array<object>

The list of Layer 4 records that use this origin address pool as the origin server.

object

The information about the Layer 4 record that uses this origin address pool as the origin server.

Name

string

The record name.

ipa.example.com

Id

integer

The record ID.

1042852886352704

ReferenceLBCount

integer

The number of load balancing instances that reference this origin IPAM pool.

5

Origins

array<object>

The origin server information added to the origin address pool.

array<object>

The origin server information added to the origin address pool.

Id

integer

The origin server ID.

997502094872132

Name

string

The origin server name.

origin1

Address

string

The addresses of the origin server, such as www.example.com.

www.example.com

Enabled

boolean

Indicates whether the origin server is enabled. Valid values:

  • true: enabled.

  • false: disabled.

true

Weight

integer

The weight. The value must be an integer from 0 to 100.

50

Type

string

The origin server type. Valid values:

  • ip_domain: an origin server that uses an IP address or a domain name.

  • OSS: an OSS origin server.

  • S3: an AWS S3 origin server.

S3

Header

any

The request header included in back-to-origin requests. Only the Host header is supported.

{ "Host": [ "example.com" ] }

AuthConf

object

The authentication information. If the origin server is an OSS or S3 origin server that requires authentication, you must provide the authentication configuration information.

AuthType

string

The authentication type. Valid values:

  • public: public read/write. Used when the origin server is an OSS or S3 origin server with public read/write permissions.

  • private_same_account: private within the same account. Used when the origin server is an OSS origin server and the authentication type is private authentication within the same account.

  • private_cross_account: private across accounts. Used when the origin server is an OSS origin server and the authentication type is private authentication across accounts.

  • private: private. Used when the origin server is an S3 origin server and the authentication type is private.

public

AccessKey

string

The AccessKey required for private authentication.

yourAccessKeyID

SecretKey

string

The SecretKey required for private authentication.

yourAccessKeySecret

Version

string

The signature version required when the origin server is an AWS S3 origin server.

v2

Region

string

The region of the origin server required when the origin server is an AWS S3 origin server.

us-east-1

IpVersionPolicy

string

The IP protocol version used for back-to-origin requests. Valid values:

  • round_robin: the default policy. Randomly polls IPv4 or IPv6 origin servers.

  • ipv4_first: prioritizes IPv4 origin servers.

  • ipv6_first: prioritizes IPv6 origin servers.

  • follow: prioritizes the IP version used by the client.

round_robin

PageNumber

integer

The current page number.

1

PageSize

integer

The number of entries per page.

20

TotalCount

integer

The total number of entries.

16

TotalPage

integer

The total number of pages.

10

Examples

Success response

JSON format

{
  "RequestId": "15C66C7B-671A-4297-9187-2C4477247A74",
  "OriginPools": [
    {
      "Id": 1038520525196928,
      "Name": "pool1",
      "SiteId": 216558609793952,
      "RecordName": "pool1.example.com\n",
      "Enabled": false,
      "References": {
        "LoadBalancers": [
          {
            "Name": "lb1.example.com\n",
            "Id": 998740660522624
          }
        ],
        "DnsRecords": [
          {
            "Name": "www.example.com\n",
            "Id": 1042852886352704
          }
        ],
        "IPARecords": [
          {
            "Name": "ipa.example.com\n",
            "Id": 1042852886352704
          }
        ]
      },
      "ReferenceLBCount": 5,
      "Origins": [
        {
          "Id": 997502094872132,
          "Name": "origin1",
          "Address": "www.example.com",
          "Enabled": true,
          "Weight": 50,
          "Type": "S3",
          "Header": "{\n        \"Host\": [\n          \"example.com\"\n        ]\n      }",
          "AuthConf": {
            "AuthType": "public",
            "AccessKey": "yourAccessKeyID",
            "SecretKey": "yourAccessKeySecret",
            "Version": "v2",
            "Region": "us-east-1\n"
          },
          "IpVersionPolicy": "round_robin"
        }
      ]
    }
  ],
  "PageNumber": 1,
  "PageSize": 20,
  "TotalCount": 16,
  "TotalPage": 10
}

Error codes

HTTP status code

Error code

Error message

Description

400 InternalException Failed to call the service. Try again later or contact technical support. Failed to call the service. Try again later or contact technical support.
400 InvalidParameter.Coverage The selected location is unavailable in your plan. Change the location to one that is covered by the plan and try again. The selected location is unavailable in your plan. Change the location to one that is covered by the plan and try again.
404 SiteNotFound The website does not exist or does not belong to you. The website does not exist or does not belong to you.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.