浏览代码

feature: Cloudflare添加域名时,默认开启智能分层缓存

liufan 6 月之前
父节点
当前提交
871300b771
共有 1 个文件被更改,包括 11 次插入0 次删除
  1. 11 0
      zone.proto

+ 11 - 0
zone.proto

@@ -36,6 +36,7 @@ service ZoneCloudflare {
   rpc GetArgoSetting(IdRequest) returns(ArgoSetting){}
   rpc GetArgoSettingSubscription(IdRequest)returns(ArgoSetting){}
   rpc CreateArgoSettingSubscription(IdRequest)returns(ArgoSetting){}
+  rpc SetSmartTieredCache(SetSmartTieredCacheRequestCloudflare)returns(SetSmartTieredCacheReplyCloudflare){}
 }
 
 //Zone CURD
@@ -270,3 +271,13 @@ message IdRequest{
   string apiEmail = 2;
   string zoneId = 3;
 }
+
+message SetSmartTieredCacheRequestCloudflare{
+  string apiKey = 1;
+  string apiEmail = 2;
+  string zoneId = 3;
+}
+
+message SetSmartTieredCacheReplyCloudflare{
+  bool enabled = 1;
+}