kingsoftcloud-sdk-python 1.1.1__py2.py3-none-any.whl → 1.5.8.49__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (294) hide show
  1. kingsoftcloud_sdk_python-1.5.8.49.dist-info/METADATA +71 -0
  2. kingsoftcloud_sdk_python-1.5.8.49.dist-info/RECORD +337 -0
  3. {kingsoftcloud_sdk_python-1.1.1.dist-info → kingsoftcloud_sdk_python-1.5.8.49.dist-info}/WHEEL +1 -1
  4. ksyun/__init__.py +1 -1
  5. ksyun/client/actiontrail/v20190401/client.py +2 -4
  6. ksyun/client/aicp/v20240612/client.py +1344 -0
  7. ksyun/client/aicp/v20240612/models.py +1963 -0
  8. ksyun/client/aicp/v20251212/__init__.py +0 -0
  9. ksyun/client/aicp/v20251212/client.py +56 -0
  10. ksyun/client/aicp/v20251212/models.py +114 -0
  11. ksyun/client/bill/v20180601/client.py +6 -77
  12. ksyun/client/bill/v20180601/models.py +29 -41
  13. ksyun/client/bill/v20220601/__init__.py +0 -0
  14. ksyun/client/bill/v20220601/client.py +54 -0
  15. ksyun/client/bill/v20220601/models.py +54 -0
  16. ksyun/client/bill_union/v20200101/client.py +81 -14
  17. ksyun/client/bill_union/v20200101/models.py +119 -3
  18. ksyun/client/bill_union/v20221222/__init__.py +0 -0
  19. ksyun/client/bill_union/v20221222/client.py +146 -0
  20. ksyun/client/bill_union/v20221222/models.py +193 -0
  21. ksyun/client/bill_union/v20250801/__init__.py +0 -0
  22. ksyun/client/bill_union/v20250801/client.py +54 -0
  23. ksyun/client/bill_union/v20250801/models.py +64 -0
  24. ksyun/client/bws/v20160304/client.py +33 -12
  25. ksyun/client/bws/v20160304/models.py +51 -0
  26. ksyun/client/cdn/__init__.py +0 -0
  27. ksyun/client/cdn/v20160901/__init__.py +0 -0
  28. ksyun/client/cdn/v20160901/client.py +77 -0
  29. ksyun/client/cdn/v20160901/models.py +51 -0
  30. ksyun/client/cdn/v20200630/__init__.py +0 -0
  31. ksyun/client/cdn/v20200630/client.py +399 -0
  32. ksyun/client/cdn/v20200630/models.py +826 -0
  33. ksyun/client/cdn/v20200901/__init__.py +0 -0
  34. ksyun/client/cdn/v20200901/client.py +169 -0
  35. ksyun/client/cdn/v20200901/models.py +224 -0
  36. ksyun/client/cdn/v20211201/__init__.py +0 -0
  37. ksyun/client/cdn/v20211201/client.py +31 -0
  38. ksyun/client/cdn/v20211201/models.py +23 -0
  39. ksyun/client/cdn/v3/__init__.py +0 -0
  40. ksyun/client/cdn/v3/client.py +997 -0
  41. ksyun/client/cdn/v3/models.py +1323 -0
  42. ksyun/client/cen/__init__.py +0 -0
  43. ksyun/client/cen/v20160304/__init__.py +0 -0
  44. ksyun/client/cen/v20160304/client.py +606 -0
  45. ksyun/client/cen/v20160304/models.py +718 -0
  46. ksyun/client/clickhouse/__init__.py +0 -0
  47. ksyun/client/clickhouse/v20210101/__init__.py +0 -0
  48. ksyun/client/clickhouse/v20210101/client.py +905 -0
  49. ksyun/client/clickhouse/v20210101/models.py +1127 -0
  50. ksyun/client/cloud_advisor/__init__.py +0 -0
  51. ksyun/client/cloud_advisor/v20250610/__init__.py +0 -0
  52. ksyun/client/cloud_advisor/v20250610/client.py +77 -0
  53. ksyun/client/cloud_advisor/v20250610/models.py +80 -0
  54. ksyun/client/dmp/__init__.py +0 -0
  55. ksyun/client/dmp/v20240101/__init__.py +0 -0
  56. ksyun/client/dmp/v20240101/client.py +468 -0
  57. ksyun/client/dmp/v20240101/models.py +423 -0
  58. ksyun/client/dts/__init__.py +0 -0
  59. ksyun/client/dts/v20180108/__init__.py +0 -0
  60. ksyun/client/dts/v20180108/client.py +445 -0
  61. ksyun/client/dts/v20180108/models.py +734 -0
  62. ksyun/client/ebs/v20160304/client.py +260 -55
  63. ksyun/client/ebs/v20160304/models.py +320 -66
  64. ksyun/client/eip/v20160304/client.py +127 -14
  65. ksyun/client/eip/v20160304/models.py +95 -1
  66. ksyun/client/epc/v20151101/client.py +1309 -184
  67. ksyun/client/epc/v20151101/models.py +2623 -137
  68. ksyun/client/iam/v20151101/client.py +325 -120
  69. ksyun/client/iam/v20151101/models.py +284 -28
  70. ksyun/client/iam/v20240513/__init__.py +0 -0
  71. ksyun/client/iam/v20240513/client.py +31 -0
  72. ksyun/client/iam/v20240513/models.py +33 -0
  73. ksyun/client/iam/v20240703/__init__.py +0 -0
  74. ksyun/client/iam/v20240703/client.py +31 -0
  75. ksyun/client/iam/v20240703/models.py +18 -0
  76. ksyun/client/influxdb/__init__.py +0 -0
  77. ksyun/client/influxdb/v20191010/__init__.py +0 -0
  78. ksyun/client/influxdb/v20191010/client.py +629 -0
  79. ksyun/client/influxdb/v20191010/models.py +655 -0
  80. ksyun/client/kad/v20161122/client.py +56 -12
  81. ksyun/client/kad/v20161122/models.py +38 -0
  82. ksyun/client/kce/__init__.py +0 -0
  83. ksyun/client/kce/v20180314/__init__.py +0 -0
  84. ksyun/client/kce/v20180314/client.py +399 -0
  85. ksyun/client/kce/v20180314/models.py +374 -0
  86. ksyun/client/kce/v20190806/__init__.py +0 -0
  87. ksyun/client/kce/v20190806/client.py +790 -0
  88. ksyun/client/kce/v20190806/models.py +1099 -0
  89. ksyun/client/kce/v20201231/__init__.py +0 -0
  90. ksyun/client/{slb/v20171210 → kce/v20201231}/client.py +10 -12
  91. ksyun/client/kce/v20201231/models.py +137 -0
  92. ksyun/client/kce/v20230101/__init__.py +0 -0
  93. ksyun/client/kce/v20230101/client.py +215 -0
  94. ksyun/client/kce/v20230101/models.py +259 -0
  95. ksyun/client/kce/v20230306/__init__.py +0 -0
  96. ksyun/client/kce/v20230306/client.py +514 -0
  97. ksyun/client/kce/v20230306/models.py +655 -0
  98. ksyun/client/kce/v20231115/__init__.py +0 -0
  99. ksyun/client/kce/v20231115/client.py +54 -0
  100. ksyun/client/kce/v20231115/models.py +59 -0
  101. ksyun/client/kce2/__init__.py +0 -0
  102. ksyun/client/kce2/v20230101/__init__.py +0 -0
  103. ksyun/client/kce2/v20230101/client.py +353 -0
  104. ksyun/client/kce2/v20230101/models.py +483 -0
  105. ksyun/client/kcf/__init__.py +0 -0
  106. ksyun/client/kcf/v20211215/__init__.py +0 -0
  107. ksyun/client/kcf/v20211215/client.py +215 -0
  108. ksyun/client/kcf/v20211215/models.py +313 -0
  109. ksyun/client/kci/__init__.py +0 -0
  110. ksyun/client/kci/v20200702/__init__.py +0 -0
  111. ksyun/client/kci/v20200702/client.py +353 -0
  112. ksyun/client/kci/v20200702/models.py +614 -0
  113. ksyun/client/kcm/__init__.py +0 -0
  114. ksyun/client/kcm/v20160304/__init__.py +0 -0
  115. ksyun/client/kcm/v20160304/client.py +238 -0
  116. ksyun/client/kcm/v20160304/models.py +394 -0
  117. ksyun/client/kcrs/__init__.py +0 -0
  118. ksyun/client/kcrs/v20211109/__init__.py +0 -0
  119. ksyun/client/kcrs/v20211109/client.py +1020 -0
  120. ksyun/client/kcrs/v20211109/models.py +1282 -0
  121. ksyun/client/kcs/__init__.py +0 -0
  122. ksyun/client/kcs/v20160701/__init__.py +0 -0
  123. ksyun/client/kcs/v20160701/client.py +1526 -0
  124. ksyun/client/kcs/v20160701/models.py +1917 -0
  125. ksyun/client/kcs/v20170401/__init__.py +0 -0
  126. ksyun/client/kcs/v20170401/client.py +31 -0
  127. ksyun/client/kcs/v20170401/models.py +28 -0
  128. ksyun/client/kcs/v20240701/__init__.py +0 -0
  129. ksyun/client/kcs/v20240701/client.py +31 -0
  130. ksyun/client/kcs/v20240701/models.py +23 -0
  131. ksyun/client/kead/v20200101/client.py +48 -4
  132. ksyun/client/kead/v20200101/models.py +52 -42
  133. ksyun/client/kec/v20160304/client.py +890 -223
  134. ksyun/client/kec/v20160304/models.py +1377 -140
  135. ksyun/client/ked/__init__.py +0 -0
  136. ksyun/client/ked/v1/__init__.py +0 -0
  137. ksyun/client/ked/v1/client.py +1020 -0
  138. ksyun/client/ked/v1/models.py +1132 -0
  139. ksyun/client/kes/__init__.py +0 -0
  140. ksyun/client/kes/v20201215/__init__.py +0 -0
  141. ksyun/client/kes/v20201215/client.py +192 -0
  142. ksyun/client/kes/v20201215/models.py +252 -0
  143. ksyun/client/ket/__init__.py +0 -0
  144. ksyun/client/ket/v20170101/__init__.py +0 -0
  145. ksyun/client/ket/v20170101/client.py +192 -0
  146. ksyun/client/ket/v20170101/models.py +265 -0
  147. ksyun/client/kfw/__init__.py +0 -0
  148. ksyun/client/kfw/v20160304/__init__.py +0 -0
  149. ksyun/client/kfw/v20160304/client.py +692 -0
  150. ksyun/client/kfw/v20160304/models.py +1029 -0
  151. ksyun/client/kingpay/__init__.py +0 -0
  152. ksyun/client/kingpay/v1/__init__.py +0 -0
  153. ksyun/client/kingpay/v1/client.py +31 -0
  154. ksyun/client/kingpay/v1/models.py +18 -0
  155. ksyun/client/kkms/__init__.py +0 -0
  156. ksyun/client/kkms/v20160304/__init__.py +0 -0
  157. ksyun/client/kkms/v20160304/client.py +192 -0
  158. ksyun/client/kkms/v20160304/models.py +185 -0
  159. ksyun/client/klog/__init__.py +0 -0
  160. ksyun/client/klog/v20200731/__init__.py +0 -0
  161. ksyun/client/klog/v20200731/client.py +376 -0
  162. ksyun/client/klog/v20200731/models.py +508 -0
  163. ksyun/client/kls/__init__.py +0 -0
  164. ksyun/client/kls/v20170101/__init__.py +0 -0
  165. ksyun/client/kls/v20170101/client.py +192 -0
  166. ksyun/client/kls/v20170101/models.py +320 -0
  167. ksyun/client/kmr/__init__.py +0 -0
  168. ksyun/client/kmr/v20210902/__init__.py +0 -0
  169. ksyun/client/kmr/v20210902/client.py +537 -0
  170. ksyun/client/kmr/v20210902/models.py +536 -0
  171. ksyun/client/kmr/v20231231/__init__.py +0 -0
  172. ksyun/client/kmr/v20231231/client.py +169 -0
  173. ksyun/client/kmr/v20231231/models.py +201 -0
  174. ksyun/client/kmr/v20240814/__init__.py +0 -0
  175. ksyun/client/kmr/v20240814/client.py +445 -0
  176. ksyun/client/kmr/v20240814/models.py +523 -0
  177. ksyun/client/knad/__init__.py +0 -0
  178. ksyun/client/knad/v20230323/__init__.py +0 -0
  179. ksyun/client/knad/v20230323/client.py +399 -0
  180. ksyun/client/knad/v20230323/models.py +470 -0
  181. ksyun/client/kpfs/__init__.py +0 -0
  182. ksyun/client/kpfs/v20240930/__init__.py +0 -0
  183. ksyun/client/kpfs/v20240930/client.py +217 -0
  184. ksyun/client/kpfs/v20240930/models.py +396 -0
  185. ksyun/client/krds/__init__.py +0 -0
  186. ksyun/client/krds/v20160701/__init__.py +0 -0
  187. ksyun/client/krds/v20160701/client.py +2101 -0
  188. ksyun/client/krds/v20160701/models.py +2722 -0
  189. ksyun/client/krds/v20200825/__init__.py +0 -0
  190. ksyun/client/krds/v20200825/client.py +238 -0
  191. ksyun/client/krds/v20200825/models.py +336 -0
  192. ksyun/client/memcached/__init__.py +0 -0
  193. ksyun/client/memcached/v20180627/__init__.py +0 -0
  194. ksyun/client/memcached/v20180627/client.py +307 -0
  195. ksyun/client/memcached/v20180627/models.py +317 -0
  196. ksyun/client/milvus/__init__.py +0 -0
  197. ksyun/client/milvus/v20231010/__init__.py +0 -0
  198. ksyun/client/milvus/v20231010/client.py +445 -0
  199. ksyun/client/milvus/v20231010/models.py +520 -0
  200. ksyun/client/mongodb/v20170101/client.py +312 -84
  201. ksyun/client/mongodb/v20170101/models.py +251 -34
  202. ksyun/client/mongodb/v20250101/__init__.py +0 -0
  203. ksyun/client/mongodb/v20250101/client.py +31 -0
  204. ksyun/client/mongodb/v20250101/models.py +18 -0
  205. ksyun/client/monitor/__init__.py +0 -0
  206. ksyun/client/monitor/v20100525/__init__.py +0 -0
  207. ksyun/client/monitor/v20100525/client.py +54 -0
  208. ksyun/client/monitor/v20100525/models.py +108 -0
  209. ksyun/client/monitor/v20181114/__init__.py +0 -0
  210. ksyun/client/monitor/v20181114/client.py +31 -0
  211. ksyun/client/monitor/v20181114/models.py +59 -0
  212. ksyun/client/monitor/v20210101/__init__.py +0 -0
  213. ksyun/client/monitor/v20210101/client.py +284 -0
  214. ksyun/client/monitor/v20210101/models.py +330 -0
  215. ksyun/client/monitor/v20220101/__init__.py +0 -0
  216. ksyun/client/monitor/v20220101/client.py +54 -0
  217. ksyun/client/monitor/v20220101/models.py +32 -0
  218. ksyun/client/monitor/v20250101/__init__.py +0 -0
  219. ksyun/client/monitor/v20250101/client.py +121 -0
  220. ksyun/client/monitor/v20250101/models.py +188 -0
  221. ksyun/client/pdns/__init__.py +0 -0
  222. ksyun/client/pdns/v20160304/__init__.py +0 -0
  223. ksyun/client/pdns/v20160304/client.py +813 -0
  224. ksyun/client/pdns/v20160304/models.py +805 -0
  225. ksyun/client/postgresql/__init__.py +0 -0
  226. ksyun/client/postgresql/v20181225/__init__.py +0 -0
  227. ksyun/client/postgresql/v20181225/client.py +1158 -0
  228. ksyun/client/postgresql/v20181225/models.py +1629 -0
  229. ksyun/client/rabbitmq/__init__.py +0 -0
  230. ksyun/client/rabbitmq/v20191017/__init__.py +0 -0
  231. ksyun/client/rabbitmq/v20191017/client.py +445 -0
  232. ksyun/client/rabbitmq/v20191017/models.py +413 -0
  233. ksyun/client/relyt/__init__.py +0 -0
  234. ksyun/client/relyt/v20240117/__init__.py +0 -0
  235. ksyun/client/{bill_union/v20211209 → relyt/v20240117}/client.py +10 -12
  236. ksyun/client/relyt/v20240117/models.py +23 -0
  237. ksyun/client/resourcemanager/v20210320/client.py +16 -18
  238. ksyun/client/sks/v20151101/client.py +11 -13
  239. ksyun/client/sks/v20151101/models.py +28 -2
  240. ksyun/client/slb/v20160304/client.py +1099 -112
  241. ksyun/client/slb/v20160304/models.py +1697 -24
  242. ksyun/client/slb/v20250430/__init__.py +0 -0
  243. ksyun/client/slb/v20250430/client.py +813 -0
  244. ksyun/client/slb/v20250430/models.py +1372 -0
  245. ksyun/client/sqlserver/__init__.py +0 -0
  246. ksyun/client/sqlserver/v20190425/__init__.py +0 -0
  247. ksyun/client/sqlserver/v20190425/client.py +1066 -0
  248. ksyun/client/sqlserver/v20190425/models.py +1528 -0
  249. ksyun/client/sts/v20151101/client.py +23 -2
  250. ksyun/client/sts/v20151101/models.py +54 -1
  251. ksyun/client/tagv2/v20200901/client.py +60 -16
  252. ksyun/client/tagv2/v20200901/models.py +56 -4
  253. ksyun/client/ter/__init__.py +0 -0
  254. ksyun/client/ter/v20240415/__init__.py +0 -0
  255. ksyun/client/ter/v20240415/client.py +123 -0
  256. ksyun/client/ter/v20240415/models.py +115 -0
  257. ksyun/client/tidb/__init__.py +0 -0
  258. ksyun/client/tidb/v20210520/__init__.py +0 -0
  259. ksyun/client/tidb/v20210520/client.py +928 -0
  260. ksyun/client/tidb/v20210520/models.py +1162 -0
  261. ksyun/client/trade/v20200114/client.py +2 -4
  262. ksyun/client/trade/v20200831/client.py +2 -4
  263. ksyun/client/trade/v20250220/__init__.py +0 -0
  264. ksyun/client/trade/v20250220/client.py +100 -0
  265. ksyun/client/trade/v20250220/models.py +91 -0
  266. ksyun/client/trade/v20250321/__init__.py +0 -0
  267. ksyun/client/trade/v20250321/client.py +100 -0
  268. ksyun/client/trade/v20250321/models.py +71 -0
  269. ksyun/client/trade/v20250828/__init__.py +0 -0
  270. ksyun/client/trade/v20250828/client.py +31 -0
  271. ksyun/client/trade/v20250828/models.py +81 -0
  272. ksyun/client/vpc/v20160304/client.py +1377 -229
  273. ksyun/client/vpc/v20160304/models.py +1540 -138
  274. ksyun/client/waf/__init__.py +0 -0
  275. ksyun/client/waf/v20200707/__init__.py +0 -0
  276. ksyun/client/waf/v20200707/client.py +468 -0
  277. ksyun/client/waf/v20200707/models.py +738 -0
  278. ksyun/common/abstract_client.py +57 -21
  279. ksyun/common/abstract_model.py +3 -3
  280. ksyun/common/common_client.py +2 -0
  281. ksyun/common/credential.py +2 -0
  282. ksyun/common/exception/ksyun_sdk_exception.py +11 -7
  283. ksyun/common/http/request.py +45 -6
  284. ksyun/common/profile/client_profile.py +3 -0
  285. ksyun/common/profile/http_profile.py +28 -1
  286. kingsoftcloud_sdk_python-1.1.1.dist-info/METADATA +0 -47
  287. kingsoftcloud_sdk_python-1.1.1.dist-info/RECORD +0 -105
  288. ksyun/client/bill_union/v20211209/models.py +0 -38
  289. ksyun/client/slb/v20171210/models.py +0 -33
  290. ksyun/common/sign.py +0 -33
  291. {kingsoftcloud_sdk_python-1.1.1.dist-info → kingsoftcloud_sdk_python-1.5.8.49.dist-info/licenses}/LICENSE +0 -0
  292. {kingsoftcloud_sdk_python-1.1.1.dist-info → kingsoftcloud_sdk_python-1.5.8.49.dist-info}/top_level.txt +0 -0
  293. /ksyun/client/{bill_union/v20211209 → aicp}/__init__.py +0 -0
  294. /ksyun/client/{slb/v20171210 → aicp/v20240612}/__init__.py +0 -0
@@ -0,0 +1,1029 @@
1
+ from ksyun.common.abstract_model import AbstractModel
2
+
3
+ class DeleteBatchCfwAddrbookRequest(AbstractModel):
4
+ """DeleteBatchCfwAddrbook请求参数结构体
5
+ """
6
+
7
+ def __init__(self):
8
+ r"""批量删除地址簿
9
+ :param AddrbookIds: 要删除的地址簿ID列表,单次删除数量不能超过1000条
10
+ :type PathPrefix: Array
11
+ :param CfwInstanceId: 防火墙实例ID
12
+ :type PathPrefix: String
13
+ """
14
+ self.AddrbookIds = None
15
+ self.CfwInstanceId = None
16
+
17
+ def _deserialize(self, params):
18
+ if params.get("AddrbookIds"):
19
+ self.AddrbookIds = params.get("AddrbookIds")
20
+ if params.get("CfwInstanceId"):
21
+ self.CfwInstanceId = params.get("CfwInstanceId")
22
+
23
+
24
+ class DeleteServiceGroupBatchRequest(AbstractModel):
25
+ """DeleteServiceGroupBatch请求参数结构体
26
+ """
27
+
28
+ def __init__(self):
29
+ r"""批量删除服务组
30
+ :param ServiceGroupIds: 服务组ID集合
31
+ :type PathPrefix: Array
32
+ :param CfwInstanceId: 防火墙id
33
+ :type PathPrefix: String
34
+ """
35
+ self.ServiceGroupIds = None
36
+ self.CfwInstanceId = None
37
+
38
+ def _deserialize(self, params):
39
+ if params.get("ServiceGroupIds"):
40
+ self.ServiceGroupIds = params.get("ServiceGroupIds")
41
+ if params.get("CfwInstanceId"):
42
+ self.CfwInstanceId = params.get("CfwInstanceId")
43
+
44
+
45
+ class DeleteBatchHostbookRequest(AbstractModel):
46
+ """DeleteBatchHostbook请求参数结构体
47
+ """
48
+
49
+ def __init__(self):
50
+ r"""批量删除域名簿
51
+ :param HostbookIds: 需要批量删除的域名簿ID列表。域名簿ID是创建域名簿时系统自动生成的唯一标识符,格式为UUID。支持一次性删除多个域名簿,但建议单次删除数量不超过100个。注意:被ACL规则引用的域名簿无法删除。
52
+ :type PathPrefix: Array
53
+ :param CfwInstanceId: 云防火墙实例ID。指定要删除域名簿的云防火墙实例,域名簿必须属于该防火墙实例。防火墙实例ID是创建防火墙时系统自动生成的唯一标识符,格式为UUID。
54
+ :type PathPrefix: String
55
+ """
56
+ self.HostbookIds = None
57
+ self.CfwInstanceId = None
58
+
59
+ def _deserialize(self, params):
60
+ if params.get("HostbookIds"):
61
+ self.HostbookIds = params.get("HostbookIds")
62
+ if params.get("CfwInstanceId"):
63
+ self.CfwInstanceId = params.get("CfwInstanceId")
64
+
65
+
66
+ class ModifyHostbookRequest(AbstractModel):
67
+ """ModifyHostbook请求参数结构体
68
+ """
69
+
70
+ def __init__(self):
71
+ r"""修改已存在的域名簿信息,包括名称、域名列表和描述
72
+ :param HostbookId: 域名簿ID,用于标识要修改的域名簿
73
+ :type PathPrefix: String
74
+ :param HostbookName: 域名簿名称,最大长度95个字符
75
+ :type PathPrefix: String
76
+ :param HostValue: 域名列表,修改时可为空表示不修改域名列表,最多1500个域名,每个域名最长67个字符
77
+ :type PathPrefix: Array
78
+ :param Description: 域名簿描述信息,最大长度255个字符
79
+ :type PathPrefix: String
80
+ """
81
+ self.HostbookId = None
82
+ self.HostbookName = None
83
+ self.HostValue = None
84
+ self.Description = None
85
+
86
+ def _deserialize(self, params):
87
+ if params.get("HostbookId"):
88
+ self.HostbookId = params.get("HostbookId")
89
+ if params.get("HostbookName"):
90
+ self.HostbookName = params.get("HostbookName")
91
+ if params.get("HostValue"):
92
+ self.HostValue = params.get("HostValue")
93
+ if params.get("Description"):
94
+ self.Description = params.get("Description")
95
+
96
+
97
+ class CreateHostbookRequest(AbstractModel):
98
+ """CreateHostbook请求参数结构体
99
+ """
100
+
101
+ def __init__(self):
102
+ r"""创建域名簿,用于管理防火墙的域名白名单
103
+ :param CfwInstanceId: 云防火墙实例ID,用于指定要操作的防火墙实例
104
+ :type PathPrefix: String
105
+ :param HostbookName: 域名簿名称,长度不能超过95个字符
106
+ :type PathPrefix: String
107
+ :param HostValue: 域名列表,最多可添加1500个域名,支持完整域名和通配符域名
108
+ :type PathPrefix: Array
109
+ :param Description: 域名簿描述信息,长度不能超过255个字符
110
+ :type PathPrefix: String
111
+ """
112
+ self.CfwInstanceId = None
113
+ self.HostbookName = None
114
+ self.HostValue = None
115
+ self.Description = None
116
+
117
+ def _deserialize(self, params):
118
+ if params.get("CfwInstanceId"):
119
+ self.CfwInstanceId = params.get("CfwInstanceId")
120
+ if params.get("HostbookName"):
121
+ self.HostbookName = params.get("HostbookName")
122
+ if params.get("HostValue"):
123
+ self.HostValue = params.get("HostValue")
124
+ if params.get("Description"):
125
+ self.Description = params.get("Description")
126
+
127
+
128
+ class DescribeHostbookRequest(AbstractModel):
129
+ """DescribeHostbook请求参数结构体
130
+ """
131
+
132
+ def __init__(self):
133
+ r"""查询域名簿
134
+ :param CfwInstanceId: 防火墙实例ID
135
+ :type PathPrefix: String
136
+ :param HostbookIds: 查询的域名簿Id
137
+ :type PathPrefix: Array
138
+ :param MaxResults: 最大返回单次调用可返回的最大条目数量. 传入返回的 NextToken 值可以获取剩余的其它条目. 这个值可以允许的范围是 5 - 1000
139
+ :type PathPrefix: Int
140
+ :param NextToken: 获取另一页返回结果的 token
141
+ :type PathPrefix: String
142
+ """
143
+ self.CfwInstanceId = None
144
+ self.HostbookIds = None
145
+ self.MaxResults = None
146
+ self.NextToken = None
147
+
148
+ def _deserialize(self, params):
149
+ if params.get("CfwInstanceId"):
150
+ self.CfwInstanceId = params.get("CfwInstanceId")
151
+ if params.get("HostbookIds"):
152
+ self.HostbookIds = params.get("HostbookIds")
153
+ if params.get("MaxResults"):
154
+ self.MaxResults = params.get("MaxResults")
155
+ if params.get("NextToken"):
156
+ self.NextToken = params.get("NextToken")
157
+
158
+
159
+ class QueryCfwInstanceDetailRequest(AbstractModel):
160
+ """QueryCfwInstanceDetail请求参数结构体
161
+ """
162
+
163
+ def __init__(self):
164
+ r"""查询防火墙详情
165
+ :param CfwInstanceId: 云防火墙id
166
+ :type PathPrefix: String
167
+ """
168
+ self.CfwInstanceId = None
169
+
170
+ def _deserialize(self, params):
171
+ if params.get("CfwInstanceId"):
172
+ self.CfwInstanceId = params.get("CfwInstanceId")
173
+
174
+
175
+ class DeleteCloudFireWallInstanceRequest(AbstractModel):
176
+ """DeleteCloudFireWallInstance请求参数结构体
177
+ """
178
+
179
+ def __init__(self):
180
+ r"""退订云防火墙
181
+ :param CfwInstanceId: 云防火墙id
182
+ :type PathPrefix: String
183
+ """
184
+ self.CfwInstanceId = None
185
+
186
+ def _deserialize(self, params):
187
+ if params.get("CfwInstanceId"):
188
+ self.CfwInstanceId = params.get("CfwInstanceId")
189
+
190
+
191
+ class QueryOverviewDetailRequest(AbstractModel):
192
+ """QueryOverviewDetail请求参数结构体
193
+ """
194
+
195
+ def __init__(self):
196
+ r"""查询指定防火墙实例在指定时间段内的总览统计数据,包括ACL拒绝次数、IPS检测次数、入站和出站流量峰值等信息
197
+ :param CfwInstanceId: 云防火墙id
198
+ :type PathPrefix: String
199
+ :param StartTime: yyyy-MM-dd HH:mm:ss
200
+ :type PathPrefix: String
201
+ :param EndTime: yyyy-MM-dd HH:mm:ss
202
+ :type PathPrefix: String
203
+ """
204
+ self.CfwInstanceId = None
205
+ self.StartTime = None
206
+ self.EndTime = None
207
+
208
+ def _deserialize(self, params):
209
+ if params.get("CfwInstanceId"):
210
+ self.CfwInstanceId = params.get("CfwInstanceId")
211
+ if params.get("StartTime"):
212
+ self.StartTime = params.get("StartTime")
213
+ if params.get("EndTime"):
214
+ self.EndTime = params.get("EndTime")
215
+
216
+
217
+ class DescribeTrafficLogRequest(AbstractModel):
218
+ """DescribeTrafficLog请求参数结构体
219
+ """
220
+
221
+ def __init__(self):
222
+ r"""流量日志查询
223
+ :param CfwInstanceId: 防火墙id
224
+ :type PathPrefix: String
225
+ :param StartTime: 开始时间 格式yyyy-MM-dd HH:mm
226
+ :type PathPrefix: String
227
+ :param EndTime: 结束时间,格式yyyy-MM-dd HH:mm
228
+ :type PathPrefix: String
229
+ :param QueryKeyword: 查询关键字
230
+ :type PathPrefix: String
231
+ :param MaxResults: 最大值1000
232
+ :type PathPrefix: Int
233
+ :param NextToken: 下一页token
234
+ :type PathPrefix: String
235
+ """
236
+ self.CfwInstanceId = None
237
+ self.StartTime = None
238
+ self.EndTime = None
239
+ self.QueryKeyword = None
240
+ self.MaxResults = None
241
+ self.NextToken = None
242
+
243
+ def _deserialize(self, params):
244
+ if params.get("CfwInstanceId"):
245
+ self.CfwInstanceId = params.get("CfwInstanceId")
246
+ if params.get("StartTime"):
247
+ self.StartTime = params.get("StartTime")
248
+ if params.get("EndTime"):
249
+ self.EndTime = params.get("EndTime")
250
+ if params.get("QueryKeyword"):
251
+ self.QueryKeyword = params.get("QueryKeyword")
252
+ if params.get("MaxResults"):
253
+ self.MaxResults = params.get("MaxResults")
254
+ if params.get("NextToken"):
255
+ self.NextToken = params.get("NextToken")
256
+
257
+
258
+ class DescribeAttackLogRequest(AbstractModel):
259
+ """DescribeAttackLog请求参数结构体
260
+ """
261
+
262
+ def __init__(self):
263
+ r"""根据指定的时间范围和条件查询防火墙攻击日志,支持关键字搜索和分页查询
264
+ :param CfwInstanceId: 防火墙id
265
+ :type PathPrefix: String
266
+ :param StartTime: 开始时间 格式yyyy-MM-dd HH:mm
267
+ :type PathPrefix: String
268
+ :param EndTime: 结束时间,格式yyyy-MM-dd HH:mm
269
+ :type PathPrefix: String
270
+ :param QueryKeyword: 查询关键字
271
+ :type PathPrefix: String
272
+ :param MaxResults: 最大值1000
273
+ :type PathPrefix: String
274
+ :param NextToken: 下一页token
275
+ :type PathPrefix: String
276
+ """
277
+ self.CfwInstanceId = None
278
+ self.StartTime = None
279
+ self.EndTime = None
280
+ self.QueryKeyword = None
281
+ self.MaxResults = None
282
+ self.NextToken = None
283
+
284
+ def _deserialize(self, params):
285
+ if params.get("CfwInstanceId"):
286
+ self.CfwInstanceId = params.get("CfwInstanceId")
287
+ if params.get("StartTime"):
288
+ self.StartTime = params.get("StartTime")
289
+ if params.get("EndTime"):
290
+ self.EndTime = params.get("EndTime")
291
+ if params.get("QueryKeyword"):
292
+ self.QueryKeyword = params.get("QueryKeyword")
293
+ if params.get("MaxResults"):
294
+ self.MaxResults = params.get("MaxResults")
295
+ if params.get("NextToken"):
296
+ self.NextToken = params.get("NextToken")
297
+
298
+
299
+ class DescribeAclLogRequest(AbstractModel):
300
+ """DescribeAclLog请求参数结构体
301
+ """
302
+
303
+ def __init__(self):
304
+ r"""访问控制日志查询
305
+ :param CfwInstanceId: 防火墙id
306
+ :type PathPrefix: String
307
+ :param StartTime: 开始时间 格式yyyy-MM-dd HH:mm
308
+ :type PathPrefix: String
309
+ :param EndTime: 结束时间,格式yyyy-MM-dd HH:mm
310
+ :type PathPrefix: String
311
+ :param QueryKeyword: 查询关键字
312
+ :type PathPrefix: String
313
+ :param MaxResults: 最大值1000
314
+ :type PathPrefix: Int
315
+ :param NextToken: 下一页token
316
+ :type PathPrefix: String
317
+ """
318
+ self.CfwInstanceId = None
319
+ self.StartTime = None
320
+ self.EndTime = None
321
+ self.QueryKeyword = None
322
+ self.MaxResults = None
323
+ self.NextToken = None
324
+
325
+ def _deserialize(self, params):
326
+ if params.get("CfwInstanceId"):
327
+ self.CfwInstanceId = params.get("CfwInstanceId")
328
+ if params.get("StartTime"):
329
+ self.StartTime = params.get("StartTime")
330
+ if params.get("EndTime"):
331
+ self.EndTime = params.get("EndTime")
332
+ if params.get("QueryKeyword"):
333
+ self.QueryKeyword = params.get("QueryKeyword")
334
+ if params.get("MaxResults"):
335
+ self.MaxResults = params.get("MaxResults")
336
+ if params.get("NextToken"):
337
+ self.NextToken = params.get("NextToken")
338
+
339
+
340
+ class ModifyCloudFireWallFeatureRequest(AbstractModel):
341
+ """ModifyCloudFireWallFeature请求参数结构体
342
+ """
343
+
344
+ def __init__(self):
345
+ r"""修改云防火墙名称
346
+ :param CfwInstanceId: 防火墙id
347
+ :type PathPrefix: String
348
+ :param InstanceName: 防火墙名称
349
+ :type PathPrefix: String
350
+ """
351
+ self.CfwInstanceId = None
352
+ self.InstanceName = None
353
+
354
+ def _deserialize(self, params):
355
+ if params.get("CfwInstanceId"):
356
+ self.CfwInstanceId = params.get("CfwInstanceId")
357
+ if params.get("InstanceName"):
358
+ self.InstanceName = params.get("InstanceName")
359
+
360
+
361
+ class DescribeCfwAddrbookRequest(AbstractModel):
362
+ """DescribeCfwAddrbook请求参数结构体
363
+ """
364
+
365
+ def __init__(self):
366
+ r"""查询地址簿
367
+ :param CfwInstanceId: 云防火墙id
368
+ :type PathPrefix: String
369
+ :param AddrbookIds: 访问控制策略id集合
370
+ :type PathPrefix: Array
371
+ :param MaxResults: 5到1000
372
+ :type PathPrefix: Int
373
+ :param NextToken: 下一页token
374
+ :type PathPrefix: String
375
+ """
376
+ self.CfwInstanceId = None
377
+ self.AddrbookIds = None
378
+ self.MaxResults = None
379
+ self.NextToken = None
380
+
381
+ def _deserialize(self, params):
382
+ if params.get("CfwInstanceId"):
383
+ self.CfwInstanceId = params.get("CfwInstanceId")
384
+ if params.get("AddrbookIds"):
385
+ self.AddrbookIds = params.get("AddrbookIds")
386
+ if params.get("MaxResults"):
387
+ self.MaxResults = params.get("MaxResults")
388
+ if params.get("NextToken"):
389
+ self.NextToken = params.get("NextToken")
390
+
391
+
392
+ class DeleteCfwAddrbookRequest(AbstractModel):
393
+ """DeleteCfwAddrbook请求参数结构体
394
+ """
395
+
396
+ def __init__(self):
397
+ r"""删除地址簿
398
+ :param AddrbookId: 地址簿id
399
+ :type PathPrefix: String
400
+ """
401
+ self.AddrbookId = None
402
+
403
+ def _deserialize(self, params):
404
+ if params.get("AddrbookId"):
405
+ self.AddrbookId = params.get("AddrbookId")
406
+
407
+
408
+ class ModifyCfwAddrbookRequest(AbstractModel):
409
+ """ModifyCfwAddrbook请求参数结构体
410
+ """
411
+
412
+ def __init__(self):
413
+ r"""修改云防火墙地址簿的配置信息,包括地址簿名称、IP地址列表、描述信息等。支持批量更新多个IP地址,最多支持640个IP地址成员。
414
+ :param CfwInstanceId: 云防火墙id
415
+ :type PathPrefix: String
416
+ :param AddrbookName: 地址簿名称
417
+ :type PathPrefix: String
418
+ :param IpAddress: ip集合
419
+ :type PathPrefix: Array
420
+ :param Description: 描述
421
+ :type PathPrefix: String
422
+ :param IpVersion: IPv4
423
+ :type PathPrefix: String
424
+ """
425
+ self.CfwInstanceId = None
426
+ self.AddrbookName = None
427
+ self.IpAddress = None
428
+ self.Description = None
429
+ self.IpVersion = None
430
+
431
+ def _deserialize(self, params):
432
+ if params.get("CfwInstanceId"):
433
+ self.CfwInstanceId = params.get("CfwInstanceId")
434
+ if params.get("AddrbookName"):
435
+ self.AddrbookName = params.get("AddrbookName")
436
+ if params.get("IpAddress"):
437
+ self.IpAddress = params.get("IpAddress")
438
+ if params.get("Description"):
439
+ self.Description = params.get("Description")
440
+ if params.get("IpVersion"):
441
+ self.IpVersion = params.get("IpVersion")
442
+
443
+
444
+ class CreateCfwAddrbookRequest(AbstractModel):
445
+ """CreateCfwAddrbook请求参数结构体
446
+ """
447
+
448
+ def __init__(self):
449
+ r"""创建地址簿
450
+ :param CfwInstanceId: 云防火墙id
451
+ :type PathPrefix: String
452
+ :param AddrbookName: 地址簿名称
453
+ :type PathPrefix: String
454
+ :param IpAddress: ip地址
455
+ :type PathPrefix: Array
456
+ :param Description: 描述
457
+ :type PathPrefix: String
458
+ :param IpVersion: IPv4
459
+ :type PathPrefix: String
460
+ """
461
+ self.CfwInstanceId = None
462
+ self.AddrbookName = None
463
+ self.IpAddress = None
464
+ self.Description = None
465
+ self.IpVersion = None
466
+
467
+ def _deserialize(self, params):
468
+ if params.get("CfwInstanceId"):
469
+ self.CfwInstanceId = params.get("CfwInstanceId")
470
+ if params.get("AddrbookName"):
471
+ self.AddrbookName = params.get("AddrbookName")
472
+ if params.get("IpAddress"):
473
+ self.IpAddress = params.get("IpAddress")
474
+ if params.get("Description"):
475
+ self.Description = params.get("Description")
476
+ if params.get("IpVersion"):
477
+ self.IpVersion = params.get("IpVersion")
478
+
479
+
480
+ class AlterCfwAclStatusRequest(AbstractModel):
481
+ """AlterCfwAclStatus请求参数结构体
482
+ """
483
+
484
+ def __init__(self):
485
+ r"""用于批量修改云防火墙ACL规则的启用状态,支持同时开启或关闭多个ACL规则,操作后规则状态将立即生效
486
+ :param AclIds: 访问控制策略id集合
487
+ :type PathPrefix: Array
488
+ :param Status: 开启:start|关闭:stop
489
+ :type PathPrefix: String
490
+ """
491
+ self.AclIds = None
492
+ self.Status = None
493
+
494
+ def _deserialize(self, params):
495
+ if params.get("AclIds"):
496
+ self.AclIds = params.get("AclIds")
497
+ if params.get("Status"):
498
+ self.Status = params.get("Status")
499
+
500
+
501
+ class ResetCfwAclHitCountRequest(AbstractModel):
502
+ """ResetCfwAclHitCount请求参数结构体
503
+ """
504
+
505
+ def __init__(self):
506
+ r"""ACL重置命中数
507
+ :param AclIds: 访问控制策略集合
508
+ :type PathPrefix: Array
509
+ """
510
+ self.AclIds = None
511
+
512
+ def _deserialize(self, params):
513
+ if params.get("AclIds"):
514
+ self.AclIds = params.get("AclIds")
515
+
516
+
517
+ class AlterAclPriorityRequest(AbstractModel):
518
+ """AlterAclPriority请求参数结构体
519
+ """
520
+
521
+ def __init__(self):
522
+ r"""改acl优先级
523
+ :param PriorityPosition: 优先级(after/before+优先级)
524
+ before为置顶,after为置底
525
+ after+优先级 表示设置为该优先级+1 且之后的规则所有优先级都+1
526
+ before+优先级 表示设置为该优先级 原优先级规则及其之后所有规则优先级都+1
527
+
528
+ :type PathPrefix: String
529
+ :param AclId: 访问控制策略id
530
+ :type PathPrefix: String
531
+ :param CfwInstanceId: 防火墙id
532
+ :type PathPrefix: String
533
+ """
534
+ self.PriorityPosition = None
535
+ self.AclId = None
536
+ self.CfwInstanceId = None
537
+
538
+ def _deserialize(self, params):
539
+ if params.get("PriorityPosition"):
540
+ self.PriorityPosition = params.get("PriorityPosition")
541
+ if params.get("AclId"):
542
+ self.AclId = params.get("AclId")
543
+ if params.get("CfwInstanceId"):
544
+ self.CfwInstanceId = params.get("CfwInstanceId")
545
+
546
+
547
+ class DeleteCfwAclRequest(AbstractModel):
548
+ """DeleteCfwAcl请求参数结构体
549
+ """
550
+
551
+ def __init__(self):
552
+ r"""删除ACL
553
+ :param AclIds: 访问控制集合
554
+ :type PathPrefix: Array
555
+ :param CfwInstanceId: 防火墙id
556
+ :type PathPrefix: String
557
+ """
558
+ self.AclIds = None
559
+ self.CfwInstanceId = None
560
+
561
+ def _deserialize(self, params):
562
+ if params.get("AclIds"):
563
+ self.AclIds = params.get("AclIds")
564
+ if params.get("CfwInstanceId"):
565
+ self.CfwInstanceId = params.get("CfwInstanceId")
566
+
567
+
568
+ class ModifyCfwAclRequest(AbstractModel):
569
+ """ModifyCfwAcl请求参数结构体
570
+ """
571
+
572
+ def __init__(self):
573
+ r"""修改ACL
574
+ :param AclId: 访问控制策略id
575
+ :type PathPrefix: String
576
+ :param CfwInstanceId: 防火墙id
577
+ :type PathPrefix: String
578
+ :param AclName: 访问控制名称
579
+ :type PathPrefix: String
580
+ :param Direction: 出入向(入向:in, 出向:out)
581
+ :type PathPrefix: String
582
+ :param SrcType: 源地址类型(IP:ip|地址簿:addrbook|地域:zone|Any:any)
583
+ :type PathPrefix: String
584
+ :param SrcIps: 源ip,当SrcType为ip时必填
585
+ 仅支持填写公网IPv4地址,支持IP地址段、IP地址范围。通过英文",“隔开,格式为:10.1.1.1/32,10.1.1.2/24,192.168.1.1-192.168.1.63”
586
+ 1、地址段:可输入多个IP+掩码,中间通过英文逗号“,”隔开如192.168.1.1/32,110.1.1.1/24。
587
+ 2、地址范围:多个连续的IP地址,中间通过"-"隔开如192.168.1.1–192.168.1.253
588
+ :type PathPrefix: Array
589
+ :param SrcAddrbooks: 地址簿id集合,当SrcType为addrbook时必填
590
+ :type PathPrefix: Array
591
+ :param SrcZones: 源地址地域,当SrcType为zone时必填,示例[{“areaCode”:“CN_HB”,“areaName”:“湖北省”}]
592
+ :type PathPrefix: Array
593
+ :param DestType: 目的类型:(IP:ip,地址簿:addrbook,地域:zone,域名簿:hostbook,域名:host,Any:any)
594
+ :type PathPrefix: String
595
+ :param DestIps: 目的ip,当DestType为ip时必填
596
+ 仅支持填写公网IPv4地址,支持IP地址段、IP地址范围。通过英文",“隔开,格式为:10.1.1.1/32,10.1.1.2/24,192.168.1.1-192.168.1.63”
597
+ 1、地址段:可输入多个IP+掩码,中间通过英文逗号“,”隔开如192.168.1.1/32,110.1.1.1/24。
598
+ 2、地址范围:多个连续的IP地址,中间通过"-"隔开如192.168.1.1–192.168.1.253
599
+ :type PathPrefix: Array
600
+ :param DestAddrbooks: 目的地址簿id集合,当DestType为addrbook时必填
601
+ :type PathPrefix: Array
602
+ :param DestZones: 目的地址地域,当DestType为zone时必填,示例[{“areaCode”:“CN_HB”,“areaName”:“湖北省”}]
603
+ :type PathPrefix: Array
604
+ :param DestHost: 域名,目前只允许传一个域名,泛域名示例*.ksyun.con,完整域名示例uss.ksyun.com
605
+ :type PathPrefix: Array
606
+ :param DestHostbook: 域名簿id集合,目前只允许传一个
607
+ :type PathPrefix: Array
608
+ :param ServiceType: 服务类型,服务:service,服务组:servicegroup,Any:any
609
+ :type PathPrefix: String
610
+ :param ServiceInfos: 服务信息,ServiceType为service时必填,(协议:源端口最小-源端口最大/目的最小-目的最大 )例:TCP:1-100/2-200,UDP:22/33,ICMP
611
+ :type PathPrefix: Array
612
+ :param ServiceGroups: 服务组id集合,ServiceType为servicegroup时必填
613
+ :type PathPrefix: Array
614
+ :param AppType: app|any
615
+ :type PathPrefix: String
616
+ :param AppValue: AppType为app时必填,TCP支持的应用集合(“HTTP”, “HTTPS”, “SMTP”, “SMTPS”, “IMAP4”, “MYSQL”,“POP3”, “POP3S”, “SSH”, “TLS1”, “VNC”, “DNS”, “RDP”),UDP支持的应用集合(“DNS”, “RDP”),ICMP只能填any
617
+ :type PathPrefix: Array
618
+ :param Policy: 动作,允许:accept,拒绝:deny
619
+ :type PathPrefix: String
620
+ :param Status: 开启:start,关闭:stop
621
+ :type PathPrefix: String
622
+ :param Description: 描述
623
+ :type PathPrefix: String
624
+ """
625
+ self.AclId = None
626
+ self.CfwInstanceId = None
627
+ self.AclName = None
628
+ self.Direction = None
629
+ self.SrcType = None
630
+ self.SrcIps = None
631
+ self.SrcAddrbooks = None
632
+ self.SrcZones = None
633
+ self.DestType = None
634
+ self.DestIps = None
635
+ self.DestAddrbooks = None
636
+ self.DestZones = None
637
+ self.DestHost = None
638
+ self.DestHostbook = None
639
+ self.ServiceType = None
640
+ self.ServiceInfos = None
641
+ self.ServiceGroups = None
642
+ self.AppType = None
643
+ self.AppValue = None
644
+ self.Policy = None
645
+ self.Status = None
646
+ self.Description = None
647
+
648
+ def _deserialize(self, params):
649
+ if params.get("AclId"):
650
+ self.AclId = params.get("AclId")
651
+ if params.get("CfwInstanceId"):
652
+ self.CfwInstanceId = params.get("CfwInstanceId")
653
+ if params.get("AclName"):
654
+ self.AclName = params.get("AclName")
655
+ if params.get("Direction"):
656
+ self.Direction = params.get("Direction")
657
+ if params.get("SrcType"):
658
+ self.SrcType = params.get("SrcType")
659
+ if params.get("SrcIps"):
660
+ self.SrcIps = params.get("SrcIps")
661
+ if params.get("SrcAddrbooks"):
662
+ self.SrcAddrbooks = params.get("SrcAddrbooks")
663
+ if params.get("SrcZones"):
664
+ self.SrcZones = params.get("SrcZones")
665
+ if params.get("DestType"):
666
+ self.DestType = params.get("DestType")
667
+ if params.get("DestIps"):
668
+ self.DestIps = params.get("DestIps")
669
+ if params.get("DestAddrbooks"):
670
+ self.DestAddrbooks = params.get("DestAddrbooks")
671
+ if params.get("DestZones"):
672
+ self.DestZones = params.get("DestZones")
673
+ if params.get("DestHost"):
674
+ self.DestHost = params.get("DestHost")
675
+ if params.get("DestHostbook"):
676
+ self.DestHostbook = params.get("DestHostbook")
677
+ if params.get("ServiceType"):
678
+ self.ServiceType = params.get("ServiceType")
679
+ if params.get("ServiceInfos"):
680
+ self.ServiceInfos = params.get("ServiceInfos")
681
+ if params.get("ServiceGroups"):
682
+ self.ServiceGroups = params.get("ServiceGroups")
683
+ if params.get("AppType"):
684
+ self.AppType = params.get("AppType")
685
+ if params.get("AppValue"):
686
+ self.AppValue = params.get("AppValue")
687
+ if params.get("Policy"):
688
+ self.Policy = params.get("Policy")
689
+ if params.get("Status"):
690
+ self.Status = params.get("Status")
691
+ if params.get("Description"):
692
+ self.Description = params.get("Description")
693
+
694
+
695
+ class DescribeCfwAclRequest(AbstractModel):
696
+ """DescribeCfwAcl请求参数结构体
697
+ """
698
+
699
+ def __init__(self):
700
+ r"""查询ACL
701
+ :param CfwInstanceId: 云防火墙id
702
+ :type PathPrefix: String
703
+ :param AclIds: 访问控制id集合
704
+ :type PathPrefix: Array
705
+ :param MaxResults: 5到1000
706
+ :type PathPrefix: Int
707
+ :param NextToken: 下一页token
708
+ :type PathPrefix: String
709
+ """
710
+ self.CfwInstanceId = None
711
+ self.AclIds = None
712
+ self.MaxResults = None
713
+ self.NextToken = None
714
+
715
+ def _deserialize(self, params):
716
+ if params.get("CfwInstanceId"):
717
+ self.CfwInstanceId = params.get("CfwInstanceId")
718
+ if params.get("AclIds"):
719
+ self.AclIds = params.get("AclIds")
720
+ if params.get("MaxResults"):
721
+ self.MaxResults = params.get("MaxResults")
722
+ if params.get("NextToken"):
723
+ self.NextToken = params.get("NextToken")
724
+
725
+
726
+ class CreateCfwAclRequest(AbstractModel):
727
+ """CreateCfwAcl请求参数结构体
728
+ """
729
+
730
+ def __init__(self):
731
+ r"""创建ACL
732
+ :param CfwInstanceId: 防火墙id
733
+ :type PathPrefix: String
734
+ :param AclName: 访问控制名称
735
+ :type PathPrefix: String
736
+ :param Direction: 出入向(入向:in, 出向:out)
737
+ :type PathPrefix: String
738
+ :param SrcType: 源地址类型(IP:ip|地址簿:addrbook|地域:zone|Any:any)
739
+ :type PathPrefix: String
740
+ :param SrcIps: 源ip,当SrcType为ip时必填
741
+ 仅支持填写公网IPv4地址,支持IP地址段、IP地址范围。格式为:10.1.1.1/32,10.1.1.2/24,192.168.1.1-192.168.1.63"
742
+ 1、地址段:可输入多个IP+掩码,中间通过英文逗号“,”隔开如192.168.1.1/32,110.1.1.1/24。
743
+ 2、地址范围:多个连续的IP地址,中间通过"-"隔开如192.168.1.1-192.168.1.253
744
+ :type PathPrefix: Array
745
+ :param SrcAddrbooks: 地址簿id集合,当SrcType为addrbook时必填
746
+ :type PathPrefix: Array
747
+ :param SrcZones: 源地址地域,当SrcType为zone时必填,示例[{"areaCode":"CN_HB","areaName":"湖北省"}]
748
+ :type PathPrefix: Array
749
+ :param DestType: 目的类型:(IP:ip,地址簿:addrbook,地域:zone,域名簿:hostbook,域名:host,Any:any)
750
+ :type PathPrefix: String
751
+ :param DestIps: 目的ip,当DestType为ip时必填
752
+ 仅支持填写公网IPv4地址,支持IP地址段、IP地址范围。通过英文",“隔开,格式为:10.1.1.1/32,10.1.1.2/24,192.168.1.1-192.168.1.63”
753
+ 1、地址段:可输入多个IP+掩码,中间通过英文逗号“,”隔开如192.168.1.1/32,110.1.1.1/24。
754
+ 2、地址范围:多个连续的IP地址,中间通过"-"隔开如192.168.1.1–192.168.1.253
755
+ :type PathPrefix: Array
756
+ :param DestAddrbooks: 目的地址簿id集合,当DestType为addrbook时必填
757
+ :type PathPrefix: Array
758
+ :param DestZones: 目的地址地域,当DestType为zone时必填,示例[{“areaCode”:“CN_HB”,“areaName”:“湖北省”}]
759
+ :type PathPrefix: Array
760
+ :param DestHost: 域名,目前只允许传一个域名,泛域名示例*.ksyun.con,完整域名示例uss.ksyun.com
761
+ :type PathPrefix: Array
762
+ :param DestHostbook: 域名簿id集合,目前只允许传一个
763
+
764
+ :type PathPrefix: Array
765
+ :param ServiceType: 服务类型,服务:service,服务组:servicegroup,Any:any
766
+ :type PathPrefix: String
767
+ :param ServiceInfos: 服务信息,ServiceType为service时必填,(协议:源端口最小-源端口最大/目的最小-目的最大 )例:TCP:1-100/2-200,UDP:22/33,ICMP
768
+ :type PathPrefix: Array
769
+ :param ServiceGroups: 服务组id集合,ServiceType为servicegroup时必填
770
+ :type PathPrefix: Array
771
+ :param AppType: app|any
772
+ :type PathPrefix: String
773
+ :param AppValue: AppType为app时必填,TCP支持的应用集合("HTTP", "HTTPS", "SMTP", "SMTPS", "IMAP4", "MYSQL","POP3", "POP3S", "SSH", "TLS1", "VNC", "DNS", "RDP"),UDP支持的应用集合("DNS", "RDP"),ICMP只能填any
774
+ :type PathPrefix: Array
775
+ :param Policy: 动作,允许:accept,拒绝:deny
776
+ :type PathPrefix: String
777
+ :param Status: 开启:start,关闭:stop
778
+ :type PathPrefix: String
779
+ :param Description: 描述
780
+ :type PathPrefix: String
781
+ :param PriorityPosition: 优先级(after/before优先级)
782
+ before为置顶,after为置底
783
+ after+优先级 表示设置为该优先级+1 且之后的规则所有优先级都+1
784
+ before优先级 表示设置为该优先级 原优先级规则及其之后所有规则优先级都+1
785
+ :type PathPrefix: String
786
+ """
787
+ self.CfwInstanceId = None
788
+ self.AclName = None
789
+ self.Direction = None
790
+ self.SrcType = None
791
+ self.SrcIps = None
792
+ self.SrcAddrbooks = None
793
+ self.SrcZones = None
794
+ self.DestType = None
795
+ self.DestIps = None
796
+ self.DestAddrbooks = None
797
+ self.DestZones = None
798
+ self.DestHost = None
799
+ self.DestHostbook = None
800
+ self.ServiceType = None
801
+ self.ServiceInfos = None
802
+ self.ServiceGroups = None
803
+ self.AppType = None
804
+ self.AppValue = None
805
+ self.Policy = None
806
+ self.Status = None
807
+ self.Description = None
808
+ self.PriorityPosition = None
809
+
810
+ def _deserialize(self, params):
811
+ if params.get("CfwInstanceId"):
812
+ self.CfwInstanceId = params.get("CfwInstanceId")
813
+ if params.get("AclName"):
814
+ self.AclName = params.get("AclName")
815
+ if params.get("Direction"):
816
+ self.Direction = params.get("Direction")
817
+ if params.get("SrcType"):
818
+ self.SrcType = params.get("SrcType")
819
+ if params.get("SrcIps"):
820
+ self.SrcIps = params.get("SrcIps")
821
+ if params.get("SrcAddrbooks"):
822
+ self.SrcAddrbooks = params.get("SrcAddrbooks")
823
+ if params.get("SrcZones"):
824
+ self.SrcZones = params.get("SrcZones")
825
+ if params.get("DestType"):
826
+ self.DestType = params.get("DestType")
827
+ if params.get("DestIps"):
828
+ self.DestIps = params.get("DestIps")
829
+ if params.get("DestAddrbooks"):
830
+ self.DestAddrbooks = params.get("DestAddrbooks")
831
+ if params.get("DestZones"):
832
+ self.DestZones = params.get("DestZones")
833
+ if params.get("DestHost"):
834
+ self.DestHost = params.get("DestHost")
835
+ if params.get("DestHostbook"):
836
+ self.DestHostbook = params.get("DestHostbook")
837
+ if params.get("ServiceType"):
838
+ self.ServiceType = params.get("ServiceType")
839
+ if params.get("ServiceInfos"):
840
+ self.ServiceInfos = params.get("ServiceInfos")
841
+ if params.get("ServiceGroups"):
842
+ self.ServiceGroups = params.get("ServiceGroups")
843
+ if params.get("AppType"):
844
+ self.AppType = params.get("AppType")
845
+ if params.get("AppValue"):
846
+ self.AppValue = params.get("AppValue")
847
+ if params.get("Policy"):
848
+ self.Policy = params.get("Policy")
849
+ if params.get("Status"):
850
+ self.Status = params.get("Status")
851
+ if params.get("Description"):
852
+ self.Description = params.get("Description")
853
+ if params.get("PriorityPosition"):
854
+ self.PriorityPosition = params.get("PriorityPosition")
855
+
856
+
857
+ class ModifyCfwEipProtectRequest(AbstractModel):
858
+ """ModifyCfwEipProtect请求参数结构体
859
+ """
860
+
861
+ def __init__(self):
862
+ r"""Eip开启/关闭防护
863
+ :param CfwInstanceId: 防火墙id
864
+ :type PathPrefix: String
865
+ :param EipIds: eip的主键id集合
866
+ :type PathPrefix: Array
867
+ :param EipProtectStatus: 防护状态(start|stop)
868
+ :type PathPrefix: String
869
+ """
870
+ self.CfwInstanceId = None
871
+ self.EipIds = None
872
+ self.EipProtectStatus = None
873
+
874
+ def _deserialize(self, params):
875
+ if params.get("CfwInstanceId"):
876
+ self.CfwInstanceId = params.get("CfwInstanceId")
877
+ if params.get("EipIds"):
878
+ self.EipIds = params.get("EipIds")
879
+ if params.get("EipProtectStatus"):
880
+ self.EipProtectStatus = params.get("EipProtectStatus")
881
+
882
+
883
+ class DescribeCfwEipsRequest(AbstractModel):
884
+ """DescribeCfwEips请求参数结构体
885
+ """
886
+
887
+ def __init__(self):
888
+ r"""查询EIP
889
+ :param CfwInstanceId: 防火墙id
890
+ :type PathPrefix: String
891
+ :param MaxResults: 查询数量最大1000
892
+ :type PathPrefix: Int
893
+ :param NextToken: 下一页token
894
+ :type PathPrefix: String
895
+ :param EipAddress: 要查询的ip
896
+ :type PathPrefix: String
897
+ """
898
+ self.CfwInstanceId = None
899
+ self.MaxResults = None
900
+ self.NextToken = None
901
+ self.EipAddress = None
902
+
903
+ def _deserialize(self, params):
904
+ if params.get("CfwInstanceId"):
905
+ self.CfwInstanceId = params.get("CfwInstanceId")
906
+ if params.get("MaxResults"):
907
+ self.MaxResults = params.get("MaxResults")
908
+ if params.get("NextToken"):
909
+ self.NextToken = params.get("NextToken")
910
+ if params.get("EipAddress"):
911
+ self.EipAddress = params.get("EipAddress")
912
+
913
+
914
+ class DescribeServiceGroupRequest(AbstractModel):
915
+ """DescribeServiceGroup请求参数结构体
916
+ """
917
+
918
+ def __init__(self):
919
+ r"""查询服务组
920
+ :param CfwInstanceId: 防火墙id
921
+ :type PathPrefix: String
922
+ :param ServiceGroupIds: 服务组id集合
923
+ :type PathPrefix: Array
924
+ """
925
+ self.CfwInstanceId = None
926
+ self.ServiceGroupIds = None
927
+
928
+ def _deserialize(self, params):
929
+ if params.get("CfwInstanceId"):
930
+ self.CfwInstanceId = params.get("CfwInstanceId")
931
+ if params.get("ServiceGroupIds"):
932
+ self.ServiceGroupIds = params.get("ServiceGroupIds")
933
+
934
+
935
+ class ModifyCfwServiceGroupRequest(AbstractModel):
936
+ """ModifyCfwServiceGroup请求参数结构体
937
+ """
938
+
939
+ def __init__(self):
940
+ r"""修改服务组
941
+ :param ServiceGroupId: 服务组id
942
+ :type PathPrefix: String
943
+ :param ServiceGroupName: 服务组名称
944
+ :type PathPrefix: String
945
+ :param ServiceInfo: 服务信息(协议:源端口最小-源端口最大/目的最小-目的最大 )
946
+ 例:TCP:1-100/2-200,UDP:22/33,ICMP
947
+ :type PathPrefix: Array
948
+ :param Description: 描述
949
+ :type PathPrefix: String
950
+ """
951
+ self.ServiceGroupId = None
952
+ self.ServiceGroupName = None
953
+ self.ServiceInfo = None
954
+ self.Description = None
955
+
956
+ def _deserialize(self, params):
957
+ if params.get("ServiceGroupId"):
958
+ self.ServiceGroupId = params.get("ServiceGroupId")
959
+ if params.get("ServiceGroupName"):
960
+ self.ServiceGroupName = params.get("ServiceGroupName")
961
+ if params.get("ServiceInfo"):
962
+ self.ServiceInfo = params.get("ServiceInfo")
963
+ if params.get("Description"):
964
+ self.Description = params.get("Description")
965
+
966
+
967
+ class DeleteCfwServiceGroupRequest(AbstractModel):
968
+ """DeleteCfwServiceGroup请求参数结构体
969
+ """
970
+
971
+ def __init__(self):
972
+ r"""删除服务组
973
+ :param ServiceGroupId: 服务组id
974
+ :type PathPrefix: String
975
+ """
976
+ self.ServiceGroupId = None
977
+
978
+ def _deserialize(self, params):
979
+ if params.get("ServiceGroupId"):
980
+ self.ServiceGroupId = params.get("ServiceGroupId")
981
+
982
+
983
+ class CreateCfwServiceGroupRequest(AbstractModel):
984
+ """CreateCfwServiceGroup请求参数结构体
985
+ """
986
+
987
+ def __init__(self):
988
+ r"""创建服务组
989
+ :param CfwInstanceId: 云防火墙id
990
+ :type PathPrefix: String
991
+ :param ServiceGroupName: 服务组名称
992
+ :type PathPrefix: String
993
+ :param ServiceInfo: 服务信息(最多添加64个)服务信息(协议:源端口最小-源端口最大/目的最小-目的最大 )
994
+ 例:TCP:1-100/2-200,UDP:22/33,ICMP
995
+
996
+ :type PathPrefix: Array
997
+ :param Description: 描述
998
+ :type PathPrefix: String
999
+ """
1000
+ self.CfwInstanceId = None
1001
+ self.ServiceGroupName = None
1002
+ self.ServiceInfo = None
1003
+ self.Description = None
1004
+
1005
+ def _deserialize(self, params):
1006
+ if params.get("CfwInstanceId"):
1007
+ self.CfwInstanceId = params.get("CfwInstanceId")
1008
+ if params.get("ServiceGroupName"):
1009
+ self.ServiceGroupName = params.get("ServiceGroupName")
1010
+ if params.get("ServiceInfo"):
1011
+ self.ServiceInfo = params.get("ServiceInfo")
1012
+ if params.get("Description"):
1013
+ self.Description = params.get("Description")
1014
+
1015
+
1016
+ class DescribeCloudFireWallInstanceRequest(AbstractModel):
1017
+ """DescribeCloudFireWallInstance请求参数结构体
1018
+ """
1019
+
1020
+ def __init__(self):
1021
+ r"""查询防火墙
1022
+ :param CfwInstanceIds: 防火墙主键id
1023
+ :type PathPrefix: Array
1024
+ """
1025
+ self.CfwInstanceIds = None
1026
+
1027
+ def _deserialize(self, params):
1028
+ if params.get("CfwInstanceIds"):
1029
+ self.CfwInstanceIds = params.get("CfwInstanceIds")