Query IDC probe list
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 |
|---|---|---|---|---|
| yundun-sas:DescribeIdcProbeList | get | *All Resources * |
| none |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| PageSize | integer | No | Specifies the maximum number of data entries to display per page in a paginated query. The default number of data entries per page is 20, and if the PageSize parameter is empty, it will default to returning 20 data entries. Note
It is recommended that the PageSize value is not empty.
| 20 |
| CurrentPage | integer | No | Sets the page number from which to start displaying the query results. The default value is 1, indicating that the display starts from the first page. | 1 |
| Status | integer | No | Probe status. Values:
| 0 |
| IdcName | string | No | The name of the IDC. | 3K IDC |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "0C8487EF-50C2-54BB-8634-10F8C35D****",
"PageInfo": {
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 30,
"Count": 17
},
"IdcProbes": [
{
"Status": 0,
"LinuxPort": 22,
"InternetIp": "47.98.*.*",
"IdcRegion": "cn-hangzhou",
"InstanceId": "i-xxxxx",
"IpSegments": "192.168.1.0/24",
"IntranetIp": "10.68.*.*",
"Uuid": "inet-eae02b9a-1dbd-44a6-844c-69072b27****",
"IntervalPeriod": 16,
"InstanceName": "oraclexxx",
"PeriodUnit": "day",
"WinPort": 3389,
"IdcName": "3K IDC",
"ServiceStatus": 0
}
]
}Error codes
| HTTP status code | Error code | Error message | Description |
|---|---|---|---|
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
| 500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|
