调用本接口查询异常事件类型的列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
yundun-sddp:DescribeEventTypes |
none |
*全部资源
|
|
无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| Lang |
string |
否 |
请求和接收消息的语言类型。取值:
|
zh |
| ParentTypeId |
integer |
否 |
子类型异常事件所属父类型异常事件 ID。取值:
|
01 |
| ResourceId |
integer |
否 |
产品的资源类型。取值:1:MaxCompute,2:OSS,3:ADS,4:OTS,5:RDS 等。 |
5 |
| Status |
integer |
否 |
状态。取值:
|
1 |
| FeatureType |
integer |
否 |
该参数已废弃。 |
1 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| RequestId |
string |
结果的请求 ID。 |
769FB3C1-F4C9-42DF-9B72-7077A8989C13 |
| EventTypeList |
array<object> |
异常事件类型列表。 说明
ParentTypeId 为空时,返回异常事件父类型;ParentTypeId 不为空时,返回异常事件子类型。 |
|
|
array<object> |
异常事件类型详情。 |
||
| Code |
string |
父类型异常事件编码。 |
01 |
| Description |
string |
父类型异常事件描述信息。 |
Permission usage anomaly, **** |
| Name |
string |
父类型异常事件名称。 |
Permission usage anomaly |
| Id |
integer |
父类型异常事件的唯一标识 ID。 |
1 |
| SubTypeList |
array<object> |
子类型异常事件列表。 |
|
|
object |
子类型异常事件详情。 |
||
| Status |
integer |
DSC 对子类型异常事件的检测功能。取值:
|
1 |
| Description |
string |
子类型异常事件描述信息。 |
Configuration error - MaxCompute sensitive project not protected,**** |
| ConfigContentType |
integer |
规则项内容格式。取值:
|
1 |
| EventHitCount |
integer |
事件命中次数。 |
2 |
| ConfigValue |
string |
配置值。 |
90 |
| ConfigCode |
string |
配置编码。 |
0100** |
| Code |
string |
子类型异常事件编码。 |
020008 |
| ConfigDescription |
string |
配置描述。 |
Permission idle period exceeds threshold: current threshold is defined as 7 natural days |
| Name |
string |
子类型异常事件名称。 |
Configuration error - MaxCompute sensitive project not protected |
| AdaptedProduct |
string |
规则适用产品。取值:MaxCompute、OSS、ADS、OTS、RDS 等。 |
RDS |
| Id |
integer |
子类型异常事件唯一标识 ID。 |
1 |
示例
正常返回示例
JSON格式
{
"RequestId": "769FB3C1-F4C9-42DF-9B72-7077A8989C13",
"EventTypeList": [
{
"Code": "01",
"Description": "Permission usage anomaly, ****",
"Name": "Permission usage anomaly",
"Id": 1,
"SubTypeList": [
{
"Status": 1,
"Description": "Configuration error - MaxCompute sensitive project not protected,****",
"ConfigContentType": 1,
"EventHitCount": 2,
"ConfigValue": "90",
"ConfigCode": "0100**",
"Code": "020008",
"ConfigDescription": "Permission idle period exceeds threshold: current threshold is defined as 7 natural days\n\n\n",
"Name": "Configuration error - MaxCompute sensitive project not protected",
"AdaptedProduct": "RDS",
"Id": 1
}
]
}
]
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。