|
1 | 1 | namespace Qiniu.Storage |
2 | 2 | { |
3 | 3 | /// <summary> |
4 | | - /// 目前已支持的区域:华东/华北/华南/北美/新加坡 |
| 4 | + /// 目前已支持的区域:华东/华东2/华北/华南/北美/新加坡/首尔 |
5 | 5 | /// </summary> |
6 | 6 | public class Zone |
7 | 7 | { |
@@ -50,6 +50,19 @@ public class Zone |
50 | 50 | "upload-nb.qiniup.com", "upload-xs.qiniup.com" } |
51 | 51 | }; |
52 | 52 |
|
| 53 | + /// <summary> |
| 54 | + /// 华东-浙江2 |
| 55 | + /// </summary> |
| 56 | + public static Zone ZONE_CN_East_2 = new Zone() |
| 57 | + { |
| 58 | + RsHost = "rs-cn-east-2.qiniuapi.com", |
| 59 | + RsfHost = "rsf-cn-east-2.qiniuapi.com", |
| 60 | + ApiHost = "api-cn-east-2.qiniuapi.com", |
| 61 | + IovipHost = "iovip-cn-east-2.qiniuio.com", |
| 62 | + SrcUpHosts = new string[] { "up-cn-east-2.qiniup.com" }, |
| 63 | + CdnUpHosts = new string[] { "upload-cn-east-2.qiniup.com" } |
| 64 | + }; |
| 65 | + |
53 | 66 | /// <summary> |
54 | 67 | /// 华北 |
55 | 68 | /// </summary> |
@@ -103,5 +116,18 @@ public class Zone |
103 | 116 | SrcUpHosts = new string[] { "up-as0.qiniup.com" }, |
104 | 117 | CdnUpHosts = new string[] { "upload-as0.qiniup.com" } |
105 | 118 | }; |
| 119 | + |
| 120 | + /// <summary> |
| 121 | + /// 亚太-首尔 |
| 122 | + /// </summary> |
| 123 | + public static Zone ZONE_AP_Seoul = new Zone() |
| 124 | + { |
| 125 | + RsHost = "rs-ap-northeast-1.qiniuapi.com", |
| 126 | + RsfHost = "rsf-ap-northeast-1.qiniuapi.com", |
| 127 | + ApiHost = "api-ap-northeast-1.qiniuapi.com", |
| 128 | + IovipHost = "iovip-ap-northeast-1.qiniuio.com", |
| 129 | + SrcUpHosts = new string[] { "up-ap-northeast-1.qiniup.com" }, |
| 130 | + CdnUpHosts = new string[] { "upload-ap-northeast-1.qiniup.com" } |
| 131 | + }; |
106 | 132 | } |
107 | 133 | } |
0 commit comments