mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-16 05:46:34 +08:00
增加DNS套餐相关API
This commit is contained in:
@@ -38,6 +38,9 @@ service NSRecordService {
|
||||
// 计算记录数量
|
||||
rpc countAllNSRecords (CountAllNSRecordsRequest) returns (RPCCountResponse);
|
||||
|
||||
// 查询相同记录名的记录数
|
||||
rpc countAllNSRecordsWithName (CountAllNSRecordsWithNameRequest) returns (RPCCountResponse);
|
||||
|
||||
// 读取单页记录
|
||||
rpc listNSRecords (ListNSRecordsRequest) returns (ListNSRecordsResponse);
|
||||
|
||||
@@ -167,6 +170,13 @@ message CountAllNSRecordsRequest {
|
||||
string keyword = 4;
|
||||
}
|
||||
|
||||
// 查询相同记录名的记录数
|
||||
message CountAllNSRecordsWithNameRequest {
|
||||
int64 nsDomainId = 1;
|
||||
string name = 2;
|
||||
string type = 3;
|
||||
}
|
||||
|
||||
// 读取单页记录
|
||||
message ListNSRecordsRequest {
|
||||
int64 nsDomainId = 1;
|
||||
|
||||
Reference in New Issue
Block a user