方法列表
计算访问日志策略数量
admin
RPC
countAllHTTPAccessLogPolicies (CountAllHTTPAccessLogPoliciesRequest) returns (RPCCountResponse)
HTTP
POST /HTTPAccessLogPolicyService/countAllHTTPAccessLogPolicies
输入对象:CountAllHTTPAccessLogPoliciesRequest:
{ // 搜索关键词 string keyword; // 是否只查询公用 bool isPublicOnly; }
输出对象:RPCCountResponse:
{ // 数量 int64 count; }
列出单页访问日志策略
admin
RPC
listHTTPAccessLogPolicies (ListHTTPAccessLogPoliciesRequest) returns (ListHTTPAccessLogPoliciesResponse)
HTTP
POST /HTTPAccessLogPolicyService/listHTTPAccessLogPolicies
输入对象:ListHTTPAccessLogPoliciesRequest:
{ // 搜索关键词 string keyword; // 是否只查询公用 bool isPublicOnly; // 读取位置 int64 offset; // 数量,通常不能小于0 int64 size; }
输出对象:ListHTTPAccessLogPoliciesResponse:
创建访问日志策略
admin
RPC
createHTTPAccessLogPolicy (CreateHTTPAccessLogPolicyRequest) returns (CreateHTTPAccessLogPolicyResponse)
HTTP
POST /HTTPAccessLogPolicyService/createHTTPAccessLogPolicy
输入对象:CreateHTTPAccessLogPolicyRequest:
{ // 名称 string name; // 类型 string type; // 选项 bytes optionsJSON; // 使用条件 bytes condsJSON; // 是否为公用 bool isPublic; // 是否只记录WAF相关日志 bool firewallOnly; // 是否停用默认数据库记录 bool disableDefaultDB; }
输出对象:CreateHTTPAccessLogPolicyResponse:
修改访问日志策略
admin
RPC
updateHTTPAccessLogPolicy (UpdateHTTPAccessLogPolicyRequest) returns (RPCSuccess)
HTTP
POST /HTTPAccessLogPolicyService/updateHTTPAccessLogPolicy
输入对象:UpdateHTTPAccessLogPolicyRequest:
输出对象:RPCSuccess:
{ }
查找单个访问日志策略
admin
RPC
findHTTPAccessLogPolicy (FindHTTPAccessLogPolicyRequest) returns (FindHTTPAccessLogPolicyResponse)
HTTP
POST /HTTPAccessLogPolicyService/findHTTPAccessLogPolicy
输入对象:FindHTTPAccessLogPolicyRequest:
输出对象:FindHTTPAccessLogPolicyResponse:
删除访问日志策略
admin
RPC
deleteHTTPAccessLogPolicy (DeleteHTTPAccessLogPolicyRequest) returns (RPCSuccess)
HTTP
POST /HTTPAccessLogPolicyService/deleteHTTPAccessLogPolicy
输入对象:DeleteHTTPAccessLogPolicyRequest:
输出对象:RPCSuccess:
{ }
测试写入某个访问日志策略
admin
RPC
writeHTTPAccessLogPolicy (WriteHTTPAccessLogPolicyRequest) returns (RPCSuccess)
HTTP
POST /HTTPAccessLogPolicyService/writeHTTPAccessLogPolicy
输入对象:WriteHTTPAccessLogPolicyRequest:
输出对象:RPCSuccess:
{ }