mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-14 21:06:34 +08:00
EdgeDNS支持内置线路
This commit is contained in:
@@ -8,7 +8,8 @@ message NSAccessLog {
|
||||
int64 nsNodeId = 1;
|
||||
int64 nsDomainId = 2;
|
||||
int64 nsRecordId = 3;
|
||||
repeated int64 nsRouteIds = 4;
|
||||
repeated int64 nsRouteIds = 4 [deprecated = true];
|
||||
repeated string nsRouteCodes = 17;
|
||||
string remoteAddr = 5;
|
||||
string questionName = 6;
|
||||
string questionType = 7;
|
||||
|
||||
@@ -15,6 +15,7 @@ message NSRoute {
|
||||
bool isDeleted = 5;
|
||||
int64 order = 6;
|
||||
int64 version = 7;
|
||||
string code = 8;
|
||||
|
||||
NSCluster nsCluster = 30;
|
||||
NSDomain nsDomain = 31;
|
||||
|
||||
@@ -38,7 +38,8 @@ message CreateNSRecordRequest {
|
||||
string type = 4;
|
||||
string value = 5;
|
||||
int32 ttl = 6;
|
||||
repeated int64 nsRouteIds = 7;
|
||||
repeated int64 nsRouteIds = 7 [deprecated = true];
|
||||
repeated string nsRouteCodes = 8; // 路线代号
|
||||
}
|
||||
|
||||
message CreateNSRecordResponse {
|
||||
@@ -53,8 +54,9 @@ message UpdateNSRecordRequest {
|
||||
string type = 4;
|
||||
string value = 5;
|
||||
int32 ttl = 6;
|
||||
repeated int64 nsRouteIds = 7;
|
||||
repeated int64 nsRouteIds = 7 [deprecated = true];
|
||||
bool isOn = 8;
|
||||
repeated string nsRouteCodes = 9; // 路线代号
|
||||
}
|
||||
|
||||
// 删除记录
|
||||
@@ -66,7 +68,8 @@ message DeleteNSRecordRequest {
|
||||
message CountAllEnabledNSRecordsRequest {
|
||||
int64 nsDomainId = 1;
|
||||
string type = 2;
|
||||
int64 nsRouteId = 3;
|
||||
int64 nsRouteId = 3 [deprecated = true]; // 使用nsRouteCode代替
|
||||
string nsRouteCode = 5;
|
||||
string keyword = 4;
|
||||
}
|
||||
|
||||
@@ -74,7 +77,8 @@ message CountAllEnabledNSRecordsRequest {
|
||||
message ListEnabledNSRecordsRequest {
|
||||
int64 nsDomainId = 1;
|
||||
string type = 2;
|
||||
int64 nsRouteId = 3;
|
||||
int64 nsRouteId = 3 [deprecated = true]; // 使用nsRouteCode代替
|
||||
string nsRouteCode = 7;
|
||||
string keyword = 4;
|
||||
int64 offset = 5;
|
||||
int64 size = 6;
|
||||
|
||||
Reference in New Issue
Block a user