Queries the region where an address is located.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alidns:DescribeDnsGtmAddrAttributeInfo |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of some returned parameters. Default value: en. Valid values: en, zh, and ja. |
en |
| Type |
string |
Yes |
The address type:
|
IPV4 |
| Addrs |
string |
Yes |
The list of addresses. |
[ "1.1.XX.XX" ] |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The unique ID of the request. |
6856BCF6-11D6-4D7E-AC53-FD579933522B |
| Addr |
object |
||
| Addr |
array<object> |
The addresses in the address pool. |
|
|
object |
|||
| AttributeInfo |
object |
The line and group information of the address. |
|
| FatherCode |
string |
The code of the parent line. |
telecom |
| GroupName |
string |
The name of the regional group of the address. |
Global |
| LineCode |
string |
The code of the line of the address. |
default |
| LineName |
string |
The name of the line of the address. |
Global |
| GroupCode |
string |
The code of the regional group of the address. |
DEFAULT |
| Addr |
string |
The address. |
1.1.XX.XX |
Examples
Success response
JSON format
{
"RequestId": "6856BCF6-11D6-4D7E-AC53-FD579933522B",
"Addr": {
"Addr": [
{
"AttributeInfo": {
"FatherCode": "telecom",
"GroupName": "Global",
"LineCode": "default",
"LineName": "Global",
"GroupCode": "DEFAULT"
},
"Addr": "1.1.XX.XX"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.