查询指定用户各业务类型的日志投递剩余配额。
接口说明
此接口允许用户查询其阿里云账户中,针对不同业务类型的实时日志投递配额情况。用户需提供自己的阿里云用户 ID(aliUid)及关注的业务类型(BusinessType),系统将返回该业务类型的剩余 quota 数量,帮助用户了解当前的配额使用状况。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| BusinessType |
string |
是 |
实时日志类型,取值:
|
dcdn_log_access_l1 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
请求 ID。 |
34DCBC8A-****-****-****-6DAA11D7DDBD |
| FreeQuota |
integer |
剩余可用的额度。 |
3 |
| BusinessType |
string |
实时日志类型,取值:
|
dcdn_log_access_l1 |
示例
正常返回示例
JSON格式
{
"RequestId": "34DCBC8A-****-****-****-6DAA11D7DDBD",
"FreeQuota": 3,
"BusinessType": "dcdn_log_access_l1"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is invalid. | 输入参数规范校验失败。 |
| 400 | InternalError | An internal exception occurred, please try again later. | 触发内部异常,请稍后再试。 |
| 403 | ErService.NotOpen | Er service has not opend. | 您没有开通边缘函数服务。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。
该文章对您有帮助吗?