All Products
Search
Document Center

Global Accelerator:ListEndpointGroupIpAddressCidrBlocks

更新時間:Jul 31, 2024

Queries the public CIDR blocks to which the endpoint group IP addresses belong. The CIDR blocks can be used to configure ACLs in terminals.

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:ListEndpointGroupIpAddressCidrBlocksget
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The region ID of the GA instance. Set the value to cn-hangzhou.

cn-hangzhou
EndpointGroupRegionstringYes

The region ID of the endpoint group.

cn-hangzhou

Response parameters

ParameterTypeDescriptionExample
object
EndpointGroupRegionstring

The region ID of the endpoint group.

cn-hangzhou
IpAddressCidrBlocksarray

The CIDR blocks.

string

The CIDR block.

10.x.x.x/24
ResourceGroupIdstring

The ID of the resource group to which the endpoint group belongs.

rg-aekztkx4zwc****
Statestring

The status of the endpoint group.

active
RequestIdstring

The request ID.

4B6DBBB0-2D01-4C6A-A384-4129266E6B78

Examples

Sample success responses

JSONformat

{
  "EndpointGroupRegion": "cn-hangzhou",
  "IpAddressCidrBlocks": [
    "10.x.x.x/24"
  ],
  "ResourceGroupId": "rg-aekztkx4zwc****",
  "State": "active",
  "RequestId": "4B6DBBB0-2D01-4C6A-A384-4129266E6B78"
}

Error codes

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

Change history

Change timeSummary of changesOperation
2024-07-20The request parameters of the API has changedView Change Details