Prechádzať zdrojové kódy

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

liufan 6 mesiacov pred
rodič
commit
871300b771
1 zmenil súbory, kde vykonal 11 pridanie a 0 odobranie
  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;
+}