Queries Anycast elastic IP addresses (Anycast EIPs).
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ResourceId | array | No | The resource IDs. | |
string | No | The resource ID. You can specify up to 20 resource IDs. Note
You must specify ResourceId.N or Tag.N (Tag.N.Key or Tag.N.Value).
| aeip-2zeerraiwb7ujsxdc**** | |
ResourceType | string | Yes | The resource type. Set the value to ANYCASTEIPADDRESS. | ANYCASTEIPADDRESS |
Tag | object [] | No | The tag information. | |
Key | string | No | The key of tag N. You can specify up to 20 tag keys. The tag key cannot be an empty string. The tag key can be a up to 128 characters in length and cannot contain Note
You must specify ResourceId.N or Tag.N (Tag.N.Key or Tag.N.Value).
| FinanceDept |
Value | string | No | The value of tag N. You can specify up to 20 tag values. The tag value can be an empty string. It can be up to 128 characters in length and cannot start with Note
You must specify ResourceId.N or Tag.N (Tag.N.Key or Tag.N.Value).
| FinanceJoshua |
NextToken | string | No | The pagination token that is used in the next request to retrieve a new page of results. Valid values:
| FFmyTO70tTpLG6I3FmYAXGKPd**** |
MaxResults | string | No | The number of entries per page. Valid values: 1 to 50. Default value: 50. | 50 |
Response parameters
Examples
Sample success responses
JSON
format
{
"NextToken": "FFmyTO70tTpLG6I3FmYAXGKPd****",
"RequestId": "DE65F6B7-7566-4802-9007-96F2494AC512",
"TagResources": [
{
"ResourceId": "aeip-2zeerraiwb7ujsxdc****",
"ResourceType": "ANYCASTEIPADDRESS",
"TagValue": "FinanceJoshua",
"TagKey": "FinanceDept"
}
]
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
400 | InvalidTagKey | The tag keys are not valid. |
400 | NumberExceed.Tags | The maximum number of tags is exceeded. |
400 | NumberExceed.ResourceIds | The maximum number of resource IDs is exceeded. |
400 | Forbidden.TagKeys | The tag key cannot be operated by the request. |
400 | Forbidden.TagKey.Duplicated | The specified tag key already exists. |
400 | InvalidInstanceIds.NotFound | The instance IDs are not found. |
400 | InvalidInstanceType.NotFound | The instance type is not found. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|