调用GetQualityFollower获取分区表达式的订阅人。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | GetQualityFollower |
要执行的操作。 |
EntityId | Long | 是 | 1234 |
分区表达式的ID。 |
ProjectName | String | 是 | autotest |
引擎或者数据源的名称。 |
RegionId | String | 是 | cn-shanghai |
地域信息,通常为服务所在的地域。例如,华东2(上海)为cn-shanghai,华北3(张家口)为cn-zhangjiakou。您无需填写RegionId,会根据调用的Endpoint自动解析。 |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
Data | Array of Follower |
订阅关系的信息。 |
|
AlarmMode | Integer | 1 |
告警的模式,取值如下:
|
EntityId | String | 1234 |
分区表达式的ID。 |
Follower | String | 1234 |
订阅人,用于接收告警信息。 |
FollowerAccountName | String | test |
订阅人的阿里云账号名称。 |
Id | Long | 123 |
订阅关系的ID。 |
ProjectName | String | autotest |
引擎或者数据源的名称。 |
TableName | String | dual |
分区表的名称。 |
ErrorCode | String | Invalid.Tenant.ConnectionNotExists |
错误码。 |
ErrorMessage | String | You have no permission. |
错误信息。 |
HttpStatusCode | Integer | 200 |
HTTP返回码。 |
RequestId | String | 38cbdef0-f6cf-49 |
请求ID。 |
Success | Boolean | true |
调用是否成功。 |
示例
请求示例
http(s)://[Endpoint]/?Action=GetQualityFollower
&EntityId=1234
&ProjectName=autotest
&RegionId=cn-shanghai
&<公共请求参数>
正常返回示例
XML
格式
<RequestId>38cbdef0-f6cf-49****</RequestId>
<HttpStatusCode>200</HttpStatusCode>
<Data>
<EntityId>1234</EntityId>
<TableName>dual</TableName>
<ProjectName>autotest</ProjectName>
<Follower>1822931104031845</Follower>
<FollowerAccountName>test</FollowerAccountName>
<Id>123</Id>
<AlarmMode>1</AlarmMode>
</Data>
<ErrorCode>Invalid.Tenant.ConnectionNotExists</ErrorCode>
<ErrorMessage>You have no permission.</ErrorMessage>
<Success>true</Success>
JSON
格式
{
"RequestId": "38cbdef0-f6cf-49",
"HttpStatusCode": 200,
"Data": {
"EntityId": 1234,
"TableName": "dual",
"ProjectName": "autotest",
"Follower": 1822931104031845,
"FollowerAccountName": "test",
"Id": 123,
"AlarmMode": 1
},
"ErrorCode": "Invalid.Tenant.ConnectionNotExists",
"ErrorMessage": "You have no permission.",
"Success": true
}
错误码
访问错误中心查看更多错误码。