NS域名增加状态

This commit is contained in:
刘祥超
2022-09-09 15:25:46 +08:00
parent 55ce6570f8
commit 6ed4e2315f
7 changed files with 3909 additions and 3713 deletions

View File

@@ -17,6 +17,7 @@ message NSDomain {
int64 version = 6;
bytes tsigJSON = 7;
repeated int64 nsDomainGroupIds = 8;
string status = 9;
NSCluster nsCluster = 30;
User user = 31;

View File

@@ -17,6 +17,9 @@ service NSDomainService {
// 修改域名
rpc updateNSDomain (UpdateNSDomainRequest) returns (RPCSuccess);
// 修改域名状态
rpc updateNSDomainStatus(UpdateNSDomainStatusRequest) returns (RPCSuccess);
// 删除域名
rpc deleteNSDomain (DeleteNSDomainRequest) returns (RPCSuccess);
@@ -73,7 +76,7 @@ message CreateNSDomainsResponse {
}
// 修改域名
// 注意:名称不修改
// 注意:名称不允许修改
message UpdateNSDomainRequest {
int64 nsDomainId = 1;
int64 nsClusterId = 2;
@@ -82,6 +85,12 @@ message UpdateNSDomainRequest {
bool isOn = 4;
}
// 修改域名状态
message UpdateNSDomainStatusRequest {
int64 nsDomainId = 1;
string status = 2;
}
// 删除域名
message DeleteNSDomainRequest {
int64 nsDomainId = 1;