Queries the destination categories of outbound connections.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cloudfirewall:DescribeOutgoingDestinationCategory |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
SourceIp
deprecated
|
string |
No |
The source IP address of the request. |
59.82.45.XXX |
| Lang |
string |
No |
The language type of the response message. |
zh |
| StartTime |
string |
Yes |
The start time of the query. The value is a UNIX timestamp in seconds. |
1749657600 |
| EndTime |
string |
Yes |
The end time of the query. The value is a UNIX timestamp in seconds. |
1750818370 |
| CategoryId |
string |
No |
The destination category ID. In addition to All, RiskDomain, AliYun, and NotAliYun, the NotAliYun category also includes subcategories such as TrustedDomain, AliPay, DingDing, WeChat, Google, Alibaba, CDN, NAT, and TrustIP. More than 25 category values are supported. Use the categories returned by the API as the reference. Valid values:
|
All |
| TypeId |
string |
No |
The fixed category ID. Valid values:
|
All |
| DstType |
string |
No |
The destination type. This parameter is required. If this parameter is not specified, ErrorDstType is returned. The value is case-sensitive. Valid values:
Valid values:
|
Domain |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| TotalCount |
integer |
The total number of entries. |
10 |
| RequestId |
string |
The request ID. |
C1ED80BC-FFC8-57DB-8151-705DC31**** |
| TypeList |
array<object> |
The list of outbound connections categorizations. |
|
|
array<object> |
The outbound connections categorization. |
||
| TypeName |
string |
The fixed category name. |
AliYun |
| TypeId |
string |
The fixed category ID. Valid values:
|
All |
| TypeDescribe |
string |
The fixed category description. |
AliYun |
| CategoryList |
array<object> |
The list of outbound connections categorizations. |
|
|
object |
The outbound connections categorization. |
||
| CategoryId |
string |
The outbound connections categorization ID. |
123 |
| CategoryName |
string |
The outbound connections categorization name. |
AliYun |
| CategoryDescribe |
string |
The outbound connections categorization description. |
AliYun |
| ClassId |
string |
The outbound connections categorization level ID. |
Trusted |
Examples
Success response
JSON format
{
"TotalCount": 10,
"RequestId": "C1ED80BC-FFC8-57DB-8151-705DC31****",
"TypeList": [
{
"TypeName": "AliYun",
"TypeId": "All",
"TypeDescribe": "AliYun",
"CategoryList": [
{
"CategoryId": "123",
"CategoryName": "AliYun",
"CategoryDescribe": "AliYun",
"ClassId": "Trusted"
}
]
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorAliUid | Aliuid invalid. | The aliuid is invalid. |
| 400 | ErrorDstType | The dst type is invalid. | The destination type is invalid. |
| 400 | ErrorDBSelectError | A database select error occurred. | The error message returned because an internal error has occurred in querying the database. |
| 400 | ErrorObjectOperation | The objectOperation is invalid. | The objectOperation is invalid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.