方法列表
创建实例
admin
RPC
createADPackageInstance (CreateADPackageInstanceRequest) returns (CreateADPackageInstanceResponse)
HTTP
POST /ADPackageInstanceService/createADPackageInstance
输入对象:CreateADPackageInstanceRequest:
输出对象:CreateADPackageInstanceResponse:
修改实例
admin
RPC
updateADPackageInstance (UpdateADPackageInstanceRequest) returns (RPCSuccess)
HTTP
POST /ADPackageInstanceService/updateADPackageInstance
输入对象:UpdateADPackageInstanceRequest:
输出对象:RPCSuccess:
{ }
查找单个实例
admin
RPC
findADPackageInstance (FindADPackageInstanceRequest) returns (FindADPackageInstanceResponse)
HTTP
POST /ADPackageInstanceService/findADPackageInstance
输入对象:FindADPackageInstanceRequest:
输出对象:FindADPackageInstanceResponse:
列出单个高防产品所有实例
admin
RPC
findAllADPackageInstances (FindAllADPackageInstancesRequest) returns (FindAllADPackageInstancesResponse)
HTTP
POST /ADPackageInstanceService/findAllADPackageInstances
输入对象:FindAllADPackageInstancesRequest:
输出对象:FindAllADPackageInstancesResponse:
删除实例
admin
RPC
deleteADPackageInstance (DeleteADPackageInstanceRequest) returns (RPCSuccess)
HTTP
POST /ADPackageInstanceService/deleteADPackageInstance
输入对象:DeleteADPackageInstanceRequest:
输出对象:RPCSuccess:
{ }
计算可购的实例数量
admin
RPC
countIdleADPackageInstances (CountIdleADPackageInstancesRequest) returns (RPCCountResponse)
HTTP
POST /ADPackageInstanceService/countIdleADPackageInstances
输入对象:CountIdleADPackageInstancesRequest:
输出对象:RPCCountResponse:
{ // 数量 int64 count; }
计算实例数量
admin
RPC
countADPackageInstances (CountADPackageInstancesRequest) returns (RPCCountResponse)
HTTP
POST /ADPackageInstanceService/countADPackageInstances
输入对象:CountADPackageInstancesRequest:
{ // 可选,线路 int64 adNetworkId; // 可选,如果不填则表示获取所有实例数量 int64 adPackageId; // 可选,用户ID int64 userId; // 可选,高防IP string ip; }
输出对象:RPCCountResponse:
{ // 数量 int64 count; }
列出单页实例
admin
RPC
listADPackageInstances (ListADPackageInstancesRequest) returns (ListADPackageInstancesResponse)
HTTP
POST /ADPackageInstanceService/listADPackageInstances
输入对象:ListADPackageInstancesRequest:
{ // 可选,线路 int64 adNetworkId; // 可选,如果不填则表示获取所有实例数量 int64 adPackageId; // 可选,用户ID int64 userId; // 可选,高防IP string ip; // 读取位置 int64 offset; // 数量,通常不能小于0 int64 size; }
输出对象:ListADPackageInstancesResponse: