Queries the detection points that are provided by carriers.
Operation description
This topic provides an example on how to query the detection points that are provided by China Unicom in Guiyang.
Debugging
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:
- For mandatory resource types, indicate with a prefix of * .
- If the permissions cannot be granted at the resource level,
All Resourcesis 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.
| Operation | Access level | Resource type | Condition key | Associated operation |
|---|---|---|---|---|
| cms:DescribeSiteMonitorISPCityList | get | *All Resources * |
| none |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Isp | string | No | The name or ID of the carrier. Note
Carrier names support fuzzy match.
| |
| City | string | No | The name or ID of the city. Note
City names support fuzzy match.
| |
| IPV6 | boolean | No | Specifies whether to query IPv6 probes. Valid values:
| true |
| IPV4 | boolean | No | Specifies whether to query IPv4 probes. Valid values:
| true |
| ViewAll | boolean | No | Specifies whether to return all detection points. Valid values:
| true |
For more information about common request parameters, see Common parameters.
Response parameters
Examples
Sample success responses
JSONformat
{
"Code": 200,
"Message": "successful",
"RequestId": "B35D7D84-547B-4E61-B909-48A1F8A0C756",
"Success": true,
"IspCityList": {
"IspCity": [
{
"CityName.en": "Guiyang",
"IPV4ProbeCount": 4,
"City": 4,
"Isp": 232,
"CityName.zh_CN": "",
"Region.zh_CN": "",
"IspName.zh_CN": "",
"Country.en": "China",
"IPV6ProbeCount": 3,
"Region": 264,
"Country": 629,
"IspName.en": "China-Unicom",
"Region.en": "Guizhou",
"Country.zh_CN": "",
"Area.zh_CN": "",
"Area.en": "XiNan",
"IPPool": {
"IPPool": [
[
"192.68.XX.XX",
"192.68.XX.XX"
]
]
}
}
]
}
}Error codes
| HTTP status code | Error code | Error message | Description |
|---|---|---|---|
| 400 | InvalidQueryParameter | %s | - |
| 401 | AccessDeniedException | You donot have sufficient access to perform this action. | - |
| 402 | LimitExceeded | The quota for this customer had been reached. | - |
| 403 | Forbidden | You are not authorized to operate the specified resource. | No permission, please use RAM to authorize |
| 406 | ExceedingQuota | Exceeding quota limits. | The number of tasks exceeds the limit |
| 409 | %s | %s | - |
| 429 | ThrottlingException | The request was denied due to request throttling. | - |
| 500 | InternalError | %s | - |
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2023-04-03 | The Error code has changed | View Change Details |
