All Products
Search
Document Center

Global Accelerator:ListIpSets

Last Updated:Jul 31, 2024

Queries acceleration regions.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
ga:ListIpSetslist
  • IpSet
    acs:ga:{#regionId}:{#accountId}:ipset/*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The ID of the region where the Global Accelerator (GA) instance is deployed. Set the value to cn-hangzhou.

cn-hangzhou
PageNumberintegerNo

The page number. Default value: 1.

1
PageSizeintegerNo

The number of entries per page. Maximum value: 100. Default value: 10.

10
AcceleratorIdstringYes

The ID of the GA instance.

ga-bp1yeeq8yfoyszmqy****

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

TotalCountinteger

The total number of entries returned.

2
PageSizeinteger

The number of entries returned per page.

10
RequestIdstring

The ID of the request.

A9B4E54C-9CCD-4002-91A9-D38C6C209192
PageNumberinteger

The page number of the returned page.

1
IpSetsarray<object>

The acceleration regions.

object

Details of the acceleration regions.

AccelerateRegionIdstring

The ID of the acceleration region.

cn-hangzhou
IpVersionstring

The IP version. Valid values:

  • IPv4
  • IPv6
  • DUAL_STACK
IPv4
Bandwidthinteger

The bandwidth that is allocated to the acceleration region. Unit: Mbit/s.

2
IspTypestring

The line type of the elastic IP address (EIP) in the acceleration region. Valid values:

  • BGP: BGP (Multi-ISP) lines. This is the default value.
  • BGP_PRO: BGP (Multi-ISP) Pro lines.
BGP
Statestring

The status of the acceleration region. Valid values:

  • init: The acceleration region is being initialized.
  • active: The acceleration region is in the running state.
  • updating: The acceleration region is being configured.
  • deleting: The acceleration region is being deleted.
active
IpSetIdstring

The ID of the acceleration region.

ips-bp11r5jb8ogp122xl****
IpAddressListarray

The accelerated IP addresses.

string

The accelerated IP address.

121.43..XX.XX
ServiceIdstring

The ID of the service that manages the instance.

Note This parameter takes effect only if ServiceManaged is set to true.
ALB
ServiceManagedboolean

Indicates whether the instance is managed. Valid values:

  • true
  • false
true
ServiceManagedInfosarray<object>

The actions that users can perform on the managed instance.

Note
  • This parameter takes effect only if ServiceManaged is set to true.
  • Users can perform only specific actions on a managed instance.
  • object
    Actionstring

    The name of the action on the managed instance. Valid values:

    • Create
    • Update
    • Delete
    • Associate
    • UserUnmanaged
    • CreateChild
    Update
    ChildTypestring

    The type of the child resource. Valid values:

    • Listener: listener.
    • IpSet: acceleration region.
    • EndpointGroup: endpoint group.
    • ForwardingRule: forwarding rule.
    • Endpoint: endpoint.
    • EndpointGroupDestination: protocol mapping of an endpoint group associated with a custom routing listener.
    • EndpointPolicy: traffic policy of an endpoint associated with a custom routing listener.
    Note This parameter takes effect only if Action is set to CreateChild.
    Listener
    IsManagedboolean

    Indicates whether the specified actions are managed.

    • true: The specified actions are managed, and users cannot perform the actions on the managed instance.****
    • false: The specified actions are not managed, and users can perform the actions on the managed instance.
    false

    Examples

    Sample success responses

    JSONformat

    {
      "TotalCount": 2,
      "PageSize": 10,
      "RequestId": "A9B4E54C-9CCD-4002-91A9-D38C6C209192",
      "PageNumber": 1,
      "IpSets": [
        {
          "AccelerateRegionId": "cn-hangzhou",
          "IpVersion": "IPv4",
          "Bandwidth": 2,
          "IspType": "BGP",
          "State": "active",
          "IpSetId": "ips-bp11r5jb8ogp122xl****",
          "IpAddressList": [
            "121.43..XX.XX"
          ],
          "ServiceId": "ALB",
          "ServiceManaged": true,
          "ServiceManagedInfos": [
            {
              "Action": "Update",
              "ChildType": "Listener",
              "IsManaged": false
            }
          ]
        }
      ]
    }

    Error codes

    HTTP status codeError codeError messageDescription
    500UnknownErrorAn error occurred while processing your request. Please try again. If the error persists, please submit a ticket.An error occurred while the request was being processed. Try again later.

    For a list of error codes, visit the Service error codes.

    Change history

    Change timeSummary of changesOperation
    2023-08-15The Error code has changed. The response structure of the API has changedView Change Details
    2023-07-20The Error code has changedView Change Details