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
@@ -31,6 +31,22 @@ class DescribeListenersRequest(AbstractModel):
31
31
  self.NextToken = params.get("NextToken")
32
32
 
33
33
 
34
+ class DeleteListenersRequest(AbstractModel):
35
+ """DeleteListeners请求参数结构体
36
+ """
37
+
38
+ def __init__(self):
39
+ r"""删除监听器
40
+ :param ListenerId: 监听器的ID
41
+ :type PathPrefix: String
42
+ """
43
+ self.ListenerId = None
44
+
45
+ def _deserialize(self, params):
46
+ if params.get("ListenerId"):
47
+ self.ListenerId = params.get("ListenerId")
48
+
49
+
34
50
  class ModifyListenersRequest(AbstractModel):
35
51
  """ModifyListeners请求参数结构体
36
52
  """
@@ -41,6 +57,8 @@ class ModifyListenersRequest(AbstractModel):
41
57
  :type PathPrefix: String
42
58
  :param ListenerName: 监听器的名称
43
59
  :type PathPrefix: String
60
+ :param BindType: 监听器支持的挂载类型(RealServer|BackendServerGroup)
61
+ :type PathPrefix: String
44
62
  :param ListenerState: 监听器的状态(start|stop)
45
63
  :type PathPrefix: String
46
64
  :param Method: 监听器的转发方式(RoundRobin|LeastConnections|MasterSlave|QUIC_CID|IPHash)
@@ -58,16 +76,25 @@ class ModifyListenersRequest(AbstractModel):
58
76
  :param SessionState: 会话保持的状态
59
77
  :type PathPrefix: String
60
78
  :param SessionPersistencePeriod: 会话保持超时时间
61
- :type PathPrefix: Int
79
+ :type PathPrefix: Long
62
80
  :param CookieType: 会话类型
63
81
  :type PathPrefix: String
64
82
  :param CookieName: Cookie的名称
65
83
  :type PathPrefix: String
66
84
  :param CertificateId: 证书的ID
67
85
  :type PathPrefix: String
86
+ :param RedirectListenerId: 重定向监听器ID
87
+ :type PathPrefix: String
88
+ :param CaCertificateId: 客户端证书,CaEnabled = true,必填
89
+ :type PathPrefix: String
90
+ :param CaEnabled: 是否开启双向认证
91
+ :type PathPrefix: Boolean
92
+ :param UpstreamKeepalive: 开启后端长连接
93
+ :type PathPrefix: String
68
94
  """
69
95
  self.ListenerId = None
70
96
  self.ListenerName = None
97
+ self.BindType = None
71
98
  self.ListenerState = None
72
99
  self.Method = None
73
100
  self.BandWidthIn = None
@@ -80,12 +107,18 @@ class ModifyListenersRequest(AbstractModel):
80
107
  self.CookieType = None
81
108
  self.CookieName = None
82
109
  self.CertificateId = None
110
+ self.RedirectListenerId = None
111
+ self.CaCertificateId = None
112
+ self.CaEnabled = None
113
+ self.UpstreamKeepalive = None
83
114
 
84
115
  def _deserialize(self, params):
85
116
  if params.get("ListenerId"):
86
117
  self.ListenerId = params.get("ListenerId")
87
118
  if params.get("ListenerName"):
88
119
  self.ListenerName = params.get("ListenerName")
120
+ if params.get("BindType"):
121
+ self.BindType = params.get("BindType")
89
122
  if params.get("ListenerState"):
90
123
  self.ListenerState = params.get("ListenerState")
91
124
  if params.get("Method"):
@@ -110,6 +143,14 @@ class ModifyListenersRequest(AbstractModel):
110
143
  self.CookieName = params.get("CookieName")
111
144
  if params.get("CertificateId"):
112
145
  self.CertificateId = params.get("CertificateId")
146
+ if params.get("RedirectListenerId"):
147
+ self.RedirectListenerId = params.get("RedirectListenerId")
148
+ if params.get("CaCertificateId"):
149
+ self.CaCertificateId = params.get("CaCertificateId")
150
+ if params.get("CaEnabled"):
151
+ self.CaEnabled = params.get("CaEnabled")
152
+ if params.get("UpstreamKeepalive"):
153
+ self.UpstreamKeepalive = params.get("UpstreamKeepalive")
113
154
 
114
155
 
115
156
  class CreateListenersRequest(AbstractModel):
@@ -126,6 +167,8 @@ class CreateListenersRequest(AbstractModel):
126
167
  :type PathPrefix: String
127
168
  :param ListenerProtocol: 监听器的协议(TCP|HTTP|HTTPS|UDP)
128
169
  :type PathPrefix: String
170
+ :param BindType: 监听器支持的挂载类型(RealServer|BackendServerGroup)
171
+ :type PathPrefix: String
129
172
  :param ListenerPort: 监听器的协议端口
130
173
  :type PathPrefix: Int
131
174
  :param Method: 监听器的转发方式(RoundRobin|LeastConnections|MasterSlave|QUIC_CID|IPHash)
@@ -144,7 +187,7 @@ class CreateListenersRequest(AbstractModel):
144
187
  :type PathPrefix: Boolean
145
188
  :param RedirectListenerId: 重定向监听器ID
146
189
  :type PathPrefix: String
147
- :param SessionState: 会话保持的状态
190
+ :param SessionState: 会话保持的状态(start|stop)
148
191
  :type PathPrefix: String
149
192
  :param SessionPersistencePeriod: 会话保持超时时间
150
193
  :type PathPrefix: Int
@@ -154,11 +197,18 @@ class CreateListenersRequest(AbstractModel):
154
197
  :type PathPrefix: String
155
198
  :param CertificateId: 证书的ID
156
199
  :type PathPrefix: String
200
+ :param CaCertificateId: 客户端证书,CaEnabled = true,必填
201
+ :type PathPrefix: String
202
+ :param CaEnabled: 是否开启双向认证
203
+ :type PathPrefix: Boolean
204
+ :param UpstreamKeepalive: 开启后端长连接
205
+ :type PathPrefix: String
157
206
  """
158
207
  self.LoadBalancerId = None
159
208
  self.ListenerName = None
160
209
  self.ListenerState = None
161
210
  self.ListenerProtocol = None
211
+ self.BindType = None
162
212
  self.ListenerPort = None
163
213
  self.Method = None
164
214
  self.BandWidthIn = None
@@ -173,6 +223,9 @@ class CreateListenersRequest(AbstractModel):
173
223
  self.CookieType = None
174
224
  self.CookieName = None
175
225
  self.CertificateId = None
226
+ self.CaCertificateId = None
227
+ self.CaEnabled = None
228
+ self.UpstreamKeepalive = None
176
229
 
177
230
  def _deserialize(self, params):
178
231
  if params.get("LoadBalancerId"):
@@ -183,6 +236,8 @@ class CreateListenersRequest(AbstractModel):
183
236
  self.ListenerState = params.get("ListenerState")
184
237
  if params.get("ListenerProtocol"):
185
238
  self.ListenerProtocol = params.get("ListenerProtocol")
239
+ if params.get("BindType"):
240
+ self.BindType = params.get("BindType")
186
241
  if params.get("ListenerPort"):
187
242
  self.ListenerPort = params.get("ListenerPort")
188
243
  if params.get("Method"):
@@ -211,6 +266,12 @@ class CreateListenersRequest(AbstractModel):
211
266
  self.CookieName = params.get("CookieName")
212
267
  if params.get("CertificateId"):
213
268
  self.CertificateId = params.get("CertificateId")
269
+ if params.get("CaCertificateId"):
270
+ self.CaCertificateId = params.get("CaCertificateId")
271
+ if params.get("CaEnabled"):
272
+ self.CaEnabled = params.get("CaEnabled")
273
+ if params.get("UpstreamKeepalive"):
274
+ self.UpstreamKeepalive = params.get("UpstreamKeepalive")
214
275
 
215
276
 
216
277
  class ModifyInstancesWithListenerRequest(AbstractModel):
@@ -219,7 +280,7 @@ class ModifyInstancesWithListenerRequest(AbstractModel):
219
280
 
220
281
  def __init__(self):
221
282
  r"""修改真实服务器信息
222
- :param RegisterId: 绑定服务器组的注册ID
283
+ :param RegisterId: 后端服务器的ID
223
284
  :type PathPrefix: String
224
285
  :param Weight: 实例的权重
225
286
  :type PathPrefix: Int
@@ -272,6 +333,8 @@ class RegisterInstancesWithListenerRequest(AbstractModel):
272
333
  :type PathPrefix: String
273
334
  :param MasterSlaveType: RealServer的主备类型(Master | Slave),仅MasterSlave监听器有此参数
274
335
  :type PathPrefix: String
336
+ :param NetworkInterfaceId: 弹性网卡ID
337
+ :type PathPrefix: String
275
338
  """
276
339
  self.RealServerType = None
277
340
  self.ListenerId = None
@@ -281,6 +344,7 @@ class RegisterInstancesWithListenerRequest(AbstractModel):
281
344
  self.InstanceId = None
282
345
  self.Tag = None
283
346
  self.MasterSlaveType = None
347
+ self.NetworkInterfaceId = None
284
348
 
285
349
  def _deserialize(self, params):
286
350
  if params.get("RealServerType"):
@@ -299,6 +363,8 @@ class RegisterInstancesWithListenerRequest(AbstractModel):
299
363
  self.Tag = params.get("Tag")
300
364
  if params.get("MasterSlaveType"):
301
365
  self.MasterSlaveType = params.get("MasterSlaveType")
366
+ if params.get("NetworkInterfaceId"):
367
+ self.NetworkInterfaceId = params.get("NetworkInterfaceId")
302
368
 
303
369
 
304
370
  class DeregisterInstancesFromListenerRequest(AbstractModel):
@@ -307,7 +373,7 @@ class DeregisterInstancesFromListenerRequest(AbstractModel):
307
373
 
308
374
  def __init__(self):
309
375
  r"""解绑真实服务器
310
- :param RegisterId: 绑定服务器组的注册ID
376
+ :param RegisterId: 后端服务器的ID
311
377
  :type PathPrefix: String
312
378
  """
313
379
  self.RegisterId = None
@@ -323,7 +389,7 @@ class DescribeInstancesWithListenerRequest(AbstractModel):
323
389
 
324
390
  def __init__(self):
325
391
  r"""描述监听器中的真实服务器
326
- :param RegisterId: 多个绑定服务器组的注册ID
392
+ :param RegisterId: 多个后端服务器的ID
327
393
  :type PathPrefix: Filter
328
394
  :param Filter: 筛选Filter
329
395
  :type PathPrefix: Filter
@@ -368,6 +434,8 @@ class ModifyHealthCheckRequest(AbstractModel):
368
434
  :type PathPrefix: Int
369
435
  :param UnhealthyThreshold: 不健康阈值
370
436
  :type PathPrefix: Int
437
+ :param HealthProtocol: 健康检查协议 ,仅HTTP/HTTPS协议的监听器支持修改该值(TCP|HTTP)
438
+ :type PathPrefix: String
371
439
  :param HttpMethod: HTTP请求方式 (GET|HEAD)
372
440
  :type PathPrefix: String
373
441
  :param UrlPath: HTTP类型监听器健康检查的链接
@@ -386,6 +454,7 @@ class ModifyHealthCheckRequest(AbstractModel):
386
454
  self.Interval = None
387
455
  self.Timeout = None
388
456
  self.UnhealthyThreshold = None
457
+ self.HealthProtocol = None
389
458
  self.HttpMethod = None
390
459
  self.UrlPath = None
391
460
  self.HostName = None
@@ -407,6 +476,8 @@ class ModifyHealthCheckRequest(AbstractModel):
407
476
  self.Timeout = params.get("Timeout")
408
477
  if params.get("UnhealthyThreshold"):
409
478
  self.UnhealthyThreshold = params.get("UnhealthyThreshold")
479
+ if params.get("HealthProtocol"):
480
+ self.HealthProtocol = params.get("HealthProtocol")
410
481
  if params.get("HttpMethod"):
411
482
  self.HttpMethod = params.get("HttpMethod")
412
483
  if params.get("UrlPath"):
@@ -419,6 +490,22 @@ class ModifyHealthCheckRequest(AbstractModel):
419
490
  self.HealthCheckExp = params.get("HealthCheckExp")
420
491
 
421
492
 
493
+ class DeleteHealthCheckRequest(AbstractModel):
494
+ """DeleteHealthCheck请求参数结构体
495
+ """
496
+
497
+ def __init__(self):
498
+ r"""删除健康检查
499
+ :param HealthCheckId: 健康检查的ID
500
+ :type PathPrefix: String
501
+ """
502
+ self.HealthCheckId = None
503
+
504
+ def _deserialize(self, params):
505
+ if params.get("HealthCheckId"):
506
+ self.HealthCheckId = params.get("HealthCheckId")
507
+
508
+
422
509
  class DescribeHealthChecksRequest(AbstractModel):
423
510
  """DescribeHealthChecks请求参数结构体
424
511
  """
@@ -470,6 +557,8 @@ class ConfigureHealthCheckRequest(AbstractModel):
470
557
  :type PathPrefix: Int
471
558
  :param UnhealthyThreshold: 不健康阈值
472
559
  :type PathPrefix: Int
560
+ :param HealthProtocol: 健康检查协议 (TCP|ICMP|UDP|HTTP), 当监听器为HTTP/HTTPS类型时可选值为UDP|HTTP , 当监听器为UDP类型时可选值为UDP|ICMP
561
+ :type PathPrefix: String
473
562
  :param HttpMethod: HTTP请求方式 (GET|HEAD)
474
563
  :type PathPrefix: String
475
564
  :param UrlPath: HTTP类型监听器健康检查的链接
@@ -488,6 +577,7 @@ class ConfigureHealthCheckRequest(AbstractModel):
488
577
  self.Interval = None
489
578
  self.Timeout = None
490
579
  self.UnhealthyThreshold = None
580
+ self.HealthProtocol = None
491
581
  self.HttpMethod = None
492
582
  self.UrlPath = None
493
583
  self.HostName = None
@@ -509,6 +599,8 @@ class ConfigureHealthCheckRequest(AbstractModel):
509
599
  self.Timeout = params.get("Timeout")
510
600
  if params.get("UnhealthyThreshold"):
511
601
  self.UnhealthyThreshold = params.get("UnhealthyThreshold")
602
+ if params.get("HealthProtocol"):
603
+ self.HealthProtocol = params.get("HealthProtocol")
512
604
  if params.get("HttpMethod"):
513
605
  self.HttpMethod = params.get("HttpMethod")
514
606
  if params.get("UrlPath"):
@@ -533,7 +625,13 @@ class DescribeLoadBalancersRequest(AbstractModel):
533
625
  :type PathPrefix: Filter
534
626
  :param Filter: 筛选Filter
535
627
  :type PathPrefix: Filter
536
- :param MaxResults: 单次调用可返回的最大条目数量
628
+ :param IsContainTag: 是否在返回值中包含资源标签信息
629
+ :type PathPrefix: Boolean
630
+ :param TagKey: 多个标签的键
631
+ :type PathPrefix: Filter
632
+ :param TagKV: 多个标签的键
633
+ :type PathPrefix: Filter
634
+ :param MaxResults: 单次调用可返回的最大条目数量,默认值1000
537
635
  :type PathPrefix: Int
538
636
  :param NextToken: 获取另一页返回结果的 token.
539
637
  :type PathPrefix: String
@@ -543,6 +641,9 @@ class DescribeLoadBalancersRequest(AbstractModel):
543
641
  self.ProjectId = None
544
642
  self.LoadBalancerId = None
545
643
  self.Filter = None
644
+ self.IsContainTag = None
645
+ self.TagKey = None
646
+ self.TagKV = None
546
647
  self.MaxResults = None
547
648
  self.NextToken = None
548
649
  self.State = None
@@ -554,6 +655,12 @@ class DescribeLoadBalancersRequest(AbstractModel):
554
655
  self.LoadBalancerId = params.get("LoadBalancerId")
555
656
  if params.get("Filter"):
556
657
  self.Filter = params.get("Filter")
658
+ if params.get("IsContainTag"):
659
+ self.IsContainTag = params.get("IsContainTag")
660
+ if params.get("TagKey"):
661
+ self.TagKey = params.get("TagKey")
662
+ if params.get("TagKV"):
663
+ self.TagKV = params.get("TagKV")
557
664
  if params.get("MaxResults"):
558
665
  self.MaxResults = params.get("MaxResults")
559
666
  if params.get("NextToken"):
@@ -562,6 +669,22 @@ class DescribeLoadBalancersRequest(AbstractModel):
562
669
  self.State = params.get("State")
563
670
 
564
671
 
672
+ class DeleteLoadBalancerRequest(AbstractModel):
673
+ """DeleteLoadBalancer请求参数结构体
674
+ """
675
+
676
+ def __init__(self):
677
+ r"""删除负载均衡
678
+ :param LoadBalancerId: 负载均衡的ID
679
+ :type PathPrefix: String
680
+ """
681
+ self.LoadBalancerId = None
682
+
683
+ def _deserialize(self, params):
684
+ if params.get("LoadBalancerId"):
685
+ self.LoadBalancerId = params.get("LoadBalancerId")
686
+
687
+
565
688
  class ModifyLoadBalancerRequest(AbstractModel):
566
689
  """ModifyLoadBalancer请求参数结构体
567
690
  """
@@ -604,6 +727,12 @@ class CreateLoadBalancerRequest(AbstractModel):
604
727
  :type PathPrefix: String
605
728
  :param PrivateIpAddress: 私网负载均衡的IP,Type 为 Public 时忽略此参数
606
729
  :type PathPrefix: String
730
+ :param DeleteProtection: 删除保护,on开启,off关闭,默认关闭,on/off
731
+ :type PathPrefix: String
732
+ :param ModificationProtection: 删除保护,on开启,off关闭,默认关闭,on/off
733
+ :type PathPrefix: String
734
+ :param ChargeType: 计费类型 ,会根据用户计费模版选择 PrepaidByTime(一次性预付费) | PostpaidByTime(一次性后付费)
735
+ :type PathPrefix: String
607
736
  :param IpVersion: 负载均衡的IP版本
608
737
  :type PathPrefix: String
609
738
  :param LbType: 负载均衡类型(classic|application)
@@ -616,6 +745,9 @@ class CreateLoadBalancerRequest(AbstractModel):
616
745
  self.Type = None
617
746
  self.SubnetId = None
618
747
  self.PrivateIpAddress = None
748
+ self.DeleteProtection = None
749
+ self.ModificationProtection = None
750
+ self.ChargeType = None
619
751
  self.IpVersion = None
620
752
  self.LbType = None
621
753
  self.ProjectId = None
@@ -631,6 +763,12 @@ class CreateLoadBalancerRequest(AbstractModel):
631
763
  self.SubnetId = params.get("SubnetId")
632
764
  if params.get("PrivateIpAddress"):
633
765
  self.PrivateIpAddress = params.get("PrivateIpAddress")
766
+ if params.get("DeleteProtection"):
767
+ self.DeleteProtection = params.get("DeleteProtection")
768
+ if params.get("ModificationProtection"):
769
+ self.ModificationProtection = params.get("ModificationProtection")
770
+ if params.get("ChargeType"):
771
+ self.ChargeType = params.get("ChargeType")
634
772
  if params.get("IpVersion"):
635
773
  self.IpVersion = params.get("IpVersion")
636
774
  if params.get("LbType"):
@@ -644,7 +782,7 @@ class CreateHostHeaderRequest(AbstractModel):
644
782
  """
645
783
 
646
784
  def __init__(self):
647
- r"""创建应用型负载均衡域名
785
+ r"""创建经典型负载均衡域名
648
786
  :param ListenerId: 监听器的ID
649
787
  :type PathPrefix: String
650
788
  :param CertificateId: 证书的ID
@@ -670,7 +808,7 @@ class ModifyHostHeaderRequest(AbstractModel):
670
808
  """
671
809
 
672
810
  def __init__(self):
673
- r"""修改应用型负载均衡域名
811
+ r"""修改经典型负载均衡域名
674
812
  :param HostHeaderId: 域名的ID
675
813
  :type PathPrefix: String
676
814
  :param CertificateId: 证书的ID
@@ -691,7 +829,7 @@ class DeleteHostHeaderRequest(AbstractModel):
691
829
  """
692
830
 
693
831
  def __init__(self):
694
- r"""删除应用型负载均衡域名
832
+ r"""删除经典型负载均衡域名
695
833
  :param HostHeaderId: 域名的ID
696
834
  :type PathPrefix: String
697
835
  """
@@ -707,7 +845,7 @@ class DescribeHostHeadersRequest(AbstractModel):
707
845
  """
708
846
 
709
847
  def __init__(self):
710
- r"""获取应用型负载均衡域名列表
848
+ r"""获取经典型负载均衡域名列表
711
849
  :param HostHeaderId: 多个域名的ID
712
850
  :type PathPrefix: Filter
713
851
  :param Filter: 筛选Filter
@@ -738,7 +876,7 @@ class DeleteRuleRequest(AbstractModel):
738
876
  """
739
877
 
740
878
  def __init__(self):
741
- r"""删除应用型负载均衡规则
879
+ r"""删除经典型负载均衡规则
742
880
  :param RuleId: 规则的ID
743
881
  :type PathPrefix: String
744
882
  """
@@ -754,7 +892,7 @@ class DescribeRulesRequest(AbstractModel):
754
892
  """
755
893
 
756
894
  def __init__(self):
757
- r"""获取应用型负载均衡规则列表
895
+ r"""获取经典型负载均衡规则列表
758
896
  :param RuleId: 多个规则的ID
759
897
  :type PathPrefix: Filter
760
898
  :param Filter: 筛选Filter
@@ -788,6 +926,8 @@ class CreateBackendServerGroupRequest(AbstractModel):
788
926
  r"""创建后端服务组
789
927
  :param VpcId: Vpc的ID
790
928
  :type PathPrefix: String
929
+ :param Protocol: 后端协议, 默认HTTP
930
+ :type PathPrefix: String
791
931
  :param BackendServerGroupName: 后端服务组的名称
792
932
  :type PathPrefix: String
793
933
  :param BackendServerGroupType: 后端服务组类型(Server: 服务器|Mirror: 镜像服务器)
@@ -808,8 +948,11 @@ class CreateBackendServerGroupRequest(AbstractModel):
808
948
  :type PathPrefix: String
809
949
  :param Region: Region机房
810
950
  :type PathPrefix: String
951
+ :param UpstreamKeepalive: 开启后端长连接
952
+ :type PathPrefix: String
811
953
  """
812
954
  self.VpcId = None
955
+ self.Protocol = None
813
956
  self.BackendServerGroupName = None
814
957
  self.BackendServerGroupType = None
815
958
  self.HostName = None
@@ -820,10 +963,13 @@ class CreateBackendServerGroupRequest(AbstractModel):
820
963
  self.UnhealthyThreshold = None
821
964
  self.UrlPath = None
822
965
  self.Region = None
966
+ self.UpstreamKeepalive = None
823
967
 
824
968
  def _deserialize(self, params):
825
969
  if params.get("VpcId"):
826
970
  self.VpcId = params.get("VpcId")
971
+ if params.get("Protocol"):
972
+ self.Protocol = params.get("Protocol")
827
973
  if params.get("BackendServerGroupName"):
828
974
  self.BackendServerGroupName = params.get("BackendServerGroupName")
829
975
  if params.get("BackendServerGroupType"):
@@ -844,6 +990,8 @@ class CreateBackendServerGroupRequest(AbstractModel):
844
990
  self.UrlPath = params.get("UrlPath")
845
991
  if params.get("Region"):
846
992
  self.Region = params.get("Region")
993
+ if params.get("UpstreamKeepalive"):
994
+ self.UpstreamKeepalive = params.get("UpstreamKeepalive")
847
995
 
848
996
 
849
997
  class DeleteBackendServerGroupRequest(AbstractModel):
@@ -872,15 +1020,20 @@ class ModifyBackendServerGroupRequest(AbstractModel):
872
1020
  :type PathPrefix: String
873
1021
  :param BackendServerGroupName: 服务器组的名称
874
1022
  :type PathPrefix: String
1023
+ :param UpstreamKeepalive: 开启后端长连接
1024
+ :type PathPrefix: String
875
1025
  """
876
1026
  self.BackendServerGroupId = None
877
1027
  self.BackendServerGroupName = None
1028
+ self.UpstreamKeepalive = None
878
1029
 
879
1030
  def _deserialize(self, params):
880
1031
  if params.get("BackendServerGroupId"):
881
1032
  self.BackendServerGroupId = params.get("BackendServerGroupId")
882
1033
  if params.get("BackendServerGroupName"):
883
1034
  self.BackendServerGroupName = params.get("BackendServerGroupName")
1035
+ if params.get("UpstreamKeepalive"):
1036
+ self.UpstreamKeepalive = params.get("UpstreamKeepalive")
884
1037
 
885
1038
 
886
1039
  class DescribeBackendServerGroupsRequest(AbstractModel):
@@ -966,7 +1119,7 @@ class DescribeBackendServersRequest(AbstractModel):
966
1119
  """
967
1120
 
968
1121
  def __init__(self):
969
- r"""获取后端服务器列表
1122
+ r"""查询服务器组中后端服务信息
970
1123
  :param RegisterId: 多个绑定服务器组的注册ID
971
1124
  :type PathPrefix: Filter
972
1125
  :param Filter: 筛选Filter
@@ -997,7 +1150,7 @@ class CreateLoadBalancerAclRequest(AbstractModel):
997
1150
  """
998
1151
 
999
1152
  def __init__(self):
1000
- r"""创建LoadBalancerAcl
1153
+ r"""创建负载均衡ACL
1001
1154
  :param LoadBalancerAclName: LoadBalancerAcl的名称
1002
1155
  :type PathPrefix: String
1003
1156
  :param IpVersion: Ip版本(ipv6|ipv4)
@@ -1018,7 +1171,7 @@ class DeleteLoadBalancerAclRequest(AbstractModel):
1018
1171
  """
1019
1172
 
1020
1173
  def __init__(self):
1021
- r"""删除LoadBalancerAcl
1174
+ r"""删除负载均衡ACL
1022
1175
  :param LoadBalancerAclId: LoadBalancerAcl的ID
1023
1176
  :type PathPrefix: String
1024
1177
  """
@@ -1034,7 +1187,7 @@ class ModifyLoadBalancerAclRequest(AbstractModel):
1034
1187
  """
1035
1188
 
1036
1189
  def __init__(self):
1037
- r"""修改ACL信息
1190
+ r"""修改负载均衡ACL名称
1038
1191
  :param LoadBalancerAclId: LoadBalancerAcl的ID
1039
1192
  :type PathPrefix: String
1040
1193
  :param LoadBalancerAclName: LoadBalancerAcl的名称
@@ -1055,7 +1208,7 @@ class CreateLoadBalancerAclEntryRequest(AbstractModel):
1055
1208
  """
1056
1209
 
1057
1210
  def __init__(self):
1058
- r"""创建LoadBalancerAcl规则
1211
+ r"""创建负载均衡ACL规则
1059
1212
  :param LoadBalancerAclId: ACL的ID
1060
1213
  :type PathPrefix: String
1061
1214
  :param CidrBlock: LoadBalancerAcl规则的网段
@@ -1096,7 +1249,7 @@ class DeleteLoadBalancerAclEntryRequest(AbstractModel):
1096
1249
  """
1097
1250
 
1098
1251
  def __init__(self):
1099
- r"""删除LoadBalancerAcl规则
1252
+ r"""删除负载均衡ACL规则
1100
1253
  :param LoadBalancerAclEntryId: ACL规则ID
1101
1254
  :type PathPrefix: String
1102
1255
  """
@@ -1149,7 +1302,7 @@ class DescribeLoadBalancerAclsRequest(AbstractModel):
1149
1302
  """
1150
1303
 
1151
1304
  def __init__(self):
1152
- r"""查询LoadBalancerAcl
1305
+ r"""查询负载均衡ACL
1153
1306
  :param LoadBalancerAclId: 多个LoadBalancerAcl的ID
1154
1307
  :type PathPrefix: Filter
1155
1308
  :param MaxResults: 单次调用可返回的最大条目数量
@@ -1189,7 +1342,7 @@ class CreateSlbRuleRequest(AbstractModel):
1189
1342
  :param SessionState: 会话保持的状态,在ListenerSync为off时有效
1190
1343
  :type PathPrefix: String
1191
1344
  :param SessionPersistencePeriod: 会话保持超时时间
1192
- :type PathPrefix: Int
1345
+ :type PathPrefix: Long
1193
1346
  :param cookieType: 会话类型(ImplantCookie|RewriteCookie)
1194
1347
  :type PathPrefix: String
1195
1348
  :param CookieName: cookie名字
@@ -1280,7 +1433,7 @@ class ModifySlbRuleRequest(AbstractModel):
1280
1433
  :param SessionState: 会话保持的状态,在ListenerSync为off时有效
1281
1434
  :type PathPrefix: String
1282
1435
  :param SessionPersistencePeriod: 会话保持超时时间
1283
- :type PathPrefix: Int
1436
+ :type PathPrefix: Long
1284
1437
  :param cookieType: 会话类型(ImplantCookie|RewriteCookie)
1285
1438
  :type PathPrefix: String
1286
1439
  :param CookieName: cookie名字
@@ -1366,11 +1519,14 @@ class CreatePrivateLinkServerRequest(AbstractModel):
1366
1519
  :type PathPrefix: String
1367
1520
  :param ProjectId: 项目的ID
1368
1521
  :type PathPrefix: String
1522
+ :param DeleteProtection: 删除保护
1523
+ :type PathPrefix: String
1369
1524
  """
1370
1525
  self.PrivateLinkServerName = None
1371
1526
  self.ListenerId = None
1372
1527
  self.Description = None
1373
1528
  self.ProjectId = None
1529
+ self.DeleteProtection = None
1374
1530
 
1375
1531
  def _deserialize(self, params):
1376
1532
  if params.get("PrivateLinkServerName"):
@@ -1381,6 +1537,8 @@ class CreatePrivateLinkServerRequest(AbstractModel):
1381
1537
  self.Description = params.get("Description")
1382
1538
  if params.get("ProjectId"):
1383
1539
  self.ProjectId = params.get("ProjectId")
1540
+ if params.get("DeleteProtection"):
1541
+ self.DeleteProtection = params.get("DeleteProtection")
1384
1542
 
1385
1543
 
1386
1544
  class DescribePrivateLinkServerRequest(AbstractModel):
@@ -1442,10 +1600,13 @@ class ModifyPrivateLinkServerRequest(AbstractModel):
1442
1600
  :type PathPrefix: String
1443
1601
  :param Description: 描述
1444
1602
  :type PathPrefix: String
1603
+ :param DeleteProtection: 删除保护
1604
+ :type PathPrefix: String
1445
1605
  """
1446
1606
  self.PrivateLinkServerId = None
1447
1607
  self.PrivateLinkServerName = None
1448
1608
  self.Description = None
1609
+ self.DeleteProtection = None
1449
1610
 
1450
1611
  def _deserialize(self, params):
1451
1612
  if params.get("PrivateLinkServerId"):
@@ -1454,6 +1615,8 @@ class ModifyPrivateLinkServerRequest(AbstractModel):
1454
1615
  self.PrivateLinkServerName = params.get("PrivateLinkServerName")
1455
1616
  if params.get("Description"):
1456
1617
  self.Description = params.get("Description")
1618
+ if params.get("DeleteProtection"):
1619
+ self.DeleteProtection = params.get("DeleteProtection")
1457
1620
 
1458
1621
 
1459
1622
  class AssociatePrivateLinkServerRequest(AbstractModel):
@@ -1470,11 +1633,14 @@ class AssociatePrivateLinkServerRequest(AbstractModel):
1470
1633
  :type PathPrefix: Int
1471
1634
  :param ProjectId: 项目的ID
1472
1635
  :type PathPrefix: String
1636
+ :param DeleteProtection: 删除保护
1637
+ :type PathPrefix: String
1473
1638
  """
1474
1639
  self.PrivateLinkServerId = None
1475
1640
  self.LoadBalancerId = None
1476
1641
  self.ListenerPort = None
1477
1642
  self.ProjectId = None
1643
+ self.DeleteProtection = None
1478
1644
 
1479
1645
  def _deserialize(self, params):
1480
1646
  if params.get("PrivateLinkServerId"):
@@ -1485,6 +1651,8 @@ class AssociatePrivateLinkServerRequest(AbstractModel):
1485
1651
  self.ListenerPort = params.get("ListenerPort")
1486
1652
  if params.get("ProjectId"):
1487
1653
  self.ProjectId = params.get("ProjectId")
1654
+ if params.get("DeleteProtection"):
1655
+ self.DeleteProtection = params.get("DeleteProtection")
1488
1656
 
1489
1657
 
1490
1658
  class DescribePrivateLinkRequest(AbstractModel):
@@ -1539,7 +1707,7 @@ class ModifyLoadBalancerAclEntryRequest(AbstractModel):
1539
1707
  """
1540
1708
 
1541
1709
  def __init__(self):
1542
- r"""修改LoadBalancerAcl规则
1710
+ r"""修改负载均衡ACL规则
1543
1711
  :param LoadBalancerAclEntryId: ACL规则ID
1544
1712
  :type PathPrefix: String
1545
1713
  :param RuleNumber: LoadBalancerAcl规则优先级,1-32766,数字越小优先级越高
@@ -1586,7 +1754,7 @@ class RejectPrivateLinkRequest(AbstractModel):
1586
1754
  """
1587
1755
 
1588
1756
  def __init__(self):
1589
- r"""RejectPrivateLink
1757
+ r"""拒绝PrivateLink申请RejectPrivateLink
1590
1758
  :param PrivateLinkId: PrivateLink的ID
1591
1759
  :type PathPrefix: String
1592
1760
  """
@@ -1623,7 +1791,7 @@ class RemovePrivateLinkRequest(AbstractModel):
1623
1791
  """
1624
1792
 
1625
1793
  def __init__(self):
1626
- r"""RemovePrivateLink
1794
+ r"""删除已建立的RemovePrivateLink
1627
1795
  :param PrivateLinkServerId: PrivateLinkServer的ID
1628
1796
  :type PathPrefix: String
1629
1797
  :param PrivateLinkId: PrivateLink的ID
@@ -1639,3 +1807,1508 @@ class RemovePrivateLinkRequest(AbstractModel):
1639
1807
  self.PrivateLinkId = params.get("PrivateLinkId")
1640
1808
 
1641
1809
 
1810
+ class CreateAlbRequest(AbstractModel):
1811
+ """CreateAlb请求参数结构体
1812
+ """
1813
+
1814
+ def __init__(self):
1815
+ r"""创建应用型负载均衡
1816
+ :param AlbName: 独享型负载均衡的名称
1817
+ :type PathPrefix: String
1818
+ :param AlbVersion: 独享型负载均衡支持的版本
1819
+ :type PathPrefix: String
1820
+ :param AlbType: 独享型负载均衡的类型,public 为公网负载均衡,internal 为内网负载均衡
1821
+ :type PathPrefix: String
1822
+ :param VpcId: Vpc的ID
1823
+ :type PathPrefix: String
1824
+ :param IpVersion: 负载均衡的IP版本
1825
+ :type PathPrefix: String
1826
+ :param ProjectId: 项目的ID
1827
+ :type PathPrefix: String
1828
+ :param AllocationId: 弹性IP的ID
1829
+ :type PathPrefix: String
1830
+ :param ChargeType: 计费类型(PrePaidByHourUsage,按小时用量实时付费(小时结))
1831
+ :type PathPrefix: String
1832
+ :param SubnetId: 子网id
1833
+ :type PathPrefix: String
1834
+ :param PrivateIpAddress: 私网ip
1835
+ :type PathPrefix: String
1836
+ :param EnabledQuic: 是否开启QUIC功能
1837
+ :type PathPrefix: Boolean
1838
+ :param EnableHpa: 是否开启弹性伸缩
1839
+ :type PathPrefix: Boolean
1840
+ :param ProtocolLayers: 实例规格,可选 L4 / L7 / L4-L7 ,分别代指4层、7层、4-7层网络协议负载均衡
1841
+ :type PathPrefix: String
1842
+ :param DeleteProtection: 是否开启删除保护on/off
1843
+ :type PathPrefix: String
1844
+ :param ModificationProtection: 是否开启修改保护on/off
1845
+ :type PathPrefix: String
1846
+ """
1847
+ self.AlbName = None
1848
+ self.AlbVersion = None
1849
+ self.AlbType = None
1850
+ self.VpcId = None
1851
+ self.IpVersion = None
1852
+ self.ProjectId = None
1853
+ self.AllocationId = None
1854
+ self.ChargeType = None
1855
+ self.SubnetId = None
1856
+ self.PrivateIpAddress = None
1857
+ self.EnabledQuic = None
1858
+ self.EnableHpa = None
1859
+ self.ProtocolLayers = None
1860
+ self.DeleteProtection = None
1861
+ self.ModificationProtection = None
1862
+
1863
+ def _deserialize(self, params):
1864
+ if params.get("AlbName"):
1865
+ self.AlbName = params.get("AlbName")
1866
+ if params.get("AlbVersion"):
1867
+ self.AlbVersion = params.get("AlbVersion")
1868
+ if params.get("AlbType"):
1869
+ self.AlbType = params.get("AlbType")
1870
+ if params.get("VpcId"):
1871
+ self.VpcId = params.get("VpcId")
1872
+ if params.get("IpVersion"):
1873
+ self.IpVersion = params.get("IpVersion")
1874
+ if params.get("ProjectId"):
1875
+ self.ProjectId = params.get("ProjectId")
1876
+ if params.get("AllocationId"):
1877
+ self.AllocationId = params.get("AllocationId")
1878
+ if params.get("ChargeType"):
1879
+ self.ChargeType = params.get("ChargeType")
1880
+ if params.get("SubnetId"):
1881
+ self.SubnetId = params.get("SubnetId")
1882
+ if params.get("PrivateIpAddress"):
1883
+ self.PrivateIpAddress = params.get("PrivateIpAddress")
1884
+ if params.get("EnabledQuic"):
1885
+ self.EnabledQuic = params.get("EnabledQuic")
1886
+ if params.get("EnableHpa"):
1887
+ self.EnableHpa = params.get("EnableHpa")
1888
+ if params.get("ProtocolLayers"):
1889
+ self.ProtocolLayers = params.get("ProtocolLayers")
1890
+ if params.get("DeleteProtection"):
1891
+ self.DeleteProtection = params.get("DeleteProtection")
1892
+ if params.get("ModificationProtection"):
1893
+ self.ModificationProtection = params.get("ModificationProtection")
1894
+
1895
+
1896
+ class DeleteAlbRequest(AbstractModel):
1897
+ """DeleteAlb请求参数结构体
1898
+ """
1899
+
1900
+ def __init__(self):
1901
+ r"""DeleteAlb
1902
+ :param AlbId: 独享型负载均衡的ID
1903
+ :type PathPrefix: String
1904
+ """
1905
+ self.AlbId = None
1906
+
1907
+ def _deserialize(self, params):
1908
+ if params.get("AlbId"):
1909
+ self.AlbId = params.get("AlbId")
1910
+
1911
+
1912
+ class SetAlbNameRequest(AbstractModel):
1913
+ """SetAlbName请求参数结构体
1914
+ """
1915
+
1916
+ def __init__(self):
1917
+ r"""SetAlbName
1918
+ :param AlbId: 独享型负载均衡的ID
1919
+ :type PathPrefix: String
1920
+ :param AlbName: 独享型负载均衡的名称
1921
+ :type PathPrefix: String
1922
+ """
1923
+ self.AlbId = None
1924
+ self.AlbName = None
1925
+
1926
+ def _deserialize(self, params):
1927
+ if params.get("AlbId"):
1928
+ self.AlbId = params.get("AlbId")
1929
+ if params.get("AlbName"):
1930
+ self.AlbName = params.get("AlbName")
1931
+
1932
+
1933
+ class SetAlbStatusRequest(AbstractModel):
1934
+ """SetAlbStatus请求参数结构体
1935
+ """
1936
+
1937
+ def __init__(self):
1938
+ r"""设置独享型负载均衡状态
1939
+ :param AlbId: 独享型负载均衡的ID
1940
+ :type PathPrefix: String
1941
+ :param State: 独享型负载均衡的开启状态(start|stop)
1942
+ :type PathPrefix: String
1943
+ """
1944
+ self.AlbId = None
1945
+ self.State = None
1946
+
1947
+ def _deserialize(self, params):
1948
+ if params.get("AlbId"):
1949
+ self.AlbId = params.get("AlbId")
1950
+ if params.get("State"):
1951
+ self.State = params.get("State")
1952
+
1953
+
1954
+ class DescribeAlbsRequest(AbstractModel):
1955
+ """DescribeAlbs请求参数结构体
1956
+ """
1957
+
1958
+ def __init__(self):
1959
+ r"""查询应用型负载均衡
1960
+ :param AlbId: 多个独享型负载均衡的ID
1961
+ :type PathPrefix: Filter
1962
+ :param Filter: 筛选Filter
1963
+ :type PathPrefix: Filter
1964
+ :param IsContainTag: 是否在返回值中包含资源标签信息
1965
+ :type PathPrefix: Boolean
1966
+ :param TagKey: 多个标签的键
1967
+ :type PathPrefix: Filter
1968
+ :param TagKV: 多个标签的键
1969
+ :type PathPrefix: Filter
1970
+ :param ProjectId: 项目的ID
1971
+ :type PathPrefix: Filter
1972
+ :param MaxResults: 单次调用可返回的最大条目数量
1973
+ :type PathPrefix: Int
1974
+ :param NextToken: 获取另一页返回结果的 token.
1975
+ :type PathPrefix: String
1976
+ """
1977
+ self.AlbId = None
1978
+ self.Filter = None
1979
+ self.IsContainTag = None
1980
+ self.TagKey = None
1981
+ self.TagKV = None
1982
+ self.ProjectId = None
1983
+ self.MaxResults = None
1984
+ self.NextToken = None
1985
+
1986
+ def _deserialize(self, params):
1987
+ if params.get("AlbId"):
1988
+ self.AlbId = params.get("AlbId")
1989
+ if params.get("Filter"):
1990
+ self.Filter = params.get("Filter")
1991
+ if params.get("IsContainTag"):
1992
+ self.IsContainTag = params.get("IsContainTag")
1993
+ if params.get("TagKey"):
1994
+ self.TagKey = params.get("TagKey")
1995
+ if params.get("TagKV"):
1996
+ self.TagKV = params.get("TagKV")
1997
+ if params.get("ProjectId"):
1998
+ self.ProjectId = params.get("ProjectId")
1999
+ if params.get("MaxResults"):
2000
+ self.MaxResults = params.get("MaxResults")
2001
+ if params.get("NextToken"):
2002
+ self.NextToken = params.get("NextToken")
2003
+
2004
+
2005
+ class CreateAlbListenerRequest(AbstractModel):
2006
+ """CreateAlbListener请求参数结构体
2007
+ """
2008
+
2009
+ def __init__(self):
2010
+ r"""创建监听器
2011
+ :param AlbId: 应用型负载均衡的ID
2012
+ :type PathPrefix: String
2013
+ :param AlbListenerName: 应用型负载均衡监听器的名称
2014
+ :type PathPrefix: String
2015
+ :param Protocol: 监听器的协议(TCP|UDP|TCPSSL|HTTP|HTTPS|QUIC)
2016
+ :type PathPrefix: String
2017
+ :param Port: 监听器的协议端口
2018
+ :type PathPrefix: Int
2019
+ :param IdleTimeout: 空闲超时时间(s)
2020
+ :type PathPrefix: Int
2021
+ :param CertificateId: 证书的ID
2022
+ :type PathPrefix: String
2023
+ :param TlsCipherPolicy: TLS安全策略
2024
+ :type PathPrefix: String
2025
+ :param AlbListenerAclId: LoadBalancerAcl的ID
2026
+ :type PathPrefix: String
2027
+ :param AlbListenerState: 应用型监听器的状态(start|stop)
2028
+ :type PathPrefix: String
2029
+ :param RedirectAlbListenerId: 重定向应用型监听器ID
2030
+ :type PathPrefix: String
2031
+ :param RedirectHttpCode: 重定向状态码
2032
+ :type PathPrefix: String
2033
+ :param EnableHttp2: 是否启用HTTP/2
2034
+ :type PathPrefix: Boolean
2035
+ :param BackendServerGroupId: 默认转发策略绑定的服务器组ID,目前仅支持创建转发类型的默认转发策略
2036
+ :type PathPrefix: String
2037
+ :param FixedResponseConfig: 返回固定响应信息
2038
+ :type PathPrefix: Object
2039
+ :param RewriteConfig: 返回固定响应信息
2040
+ :type PathPrefix: Object
2041
+ :param CaEnabled: 是否开启双向认证
2042
+ :type PathPrefix: Boolean
2043
+ :param CaCertificateId: 客户端证书
2044
+ :type PathPrefix: String
2045
+ :param EnableQuicUpgrade: 是否开启QUIC
2046
+ :type PathPrefix: Boolean
2047
+ :param QuicListenerId: QUIC监听器id
2048
+ :type PathPrefix: String
2049
+ :param ServerGroupId: 服务器组 ID
2050
+ :type PathPrefix: String
2051
+ """
2052
+ self.AlbId = None
2053
+ self.AlbListenerName = None
2054
+ self.Protocol = None
2055
+ self.Port = None
2056
+ self.IdleTimeout = None
2057
+ self.CertificateId = None
2058
+ self.TlsCipherPolicy = None
2059
+ self.AlbListenerAclId = None
2060
+ self.AlbListenerState = None
2061
+ self.RedirectAlbListenerId = None
2062
+ self.RedirectHttpCode = None
2063
+ self.EnableHttp2 = None
2064
+ self.BackendServerGroupId = None
2065
+ self.FixedResponseConfig = None
2066
+ self.RewriteConfig = None
2067
+ self.CaEnabled = None
2068
+ self.CaCertificateId = None
2069
+ self.EnableQuicUpgrade = None
2070
+ self.QuicListenerId = None
2071
+ self.ServerGroupId = None
2072
+
2073
+ def _deserialize(self, params):
2074
+ if params.get("AlbId"):
2075
+ self.AlbId = params.get("AlbId")
2076
+ if params.get("AlbListenerName"):
2077
+ self.AlbListenerName = params.get("AlbListenerName")
2078
+ if params.get("Protocol"):
2079
+ self.Protocol = params.get("Protocol")
2080
+ if params.get("Port"):
2081
+ self.Port = params.get("Port")
2082
+ if params.get("IdleTimeout"):
2083
+ self.IdleTimeout = params.get("IdleTimeout")
2084
+ if params.get("CertificateId"):
2085
+ self.CertificateId = params.get("CertificateId")
2086
+ if params.get("TlsCipherPolicy"):
2087
+ self.TlsCipherPolicy = params.get("TlsCipherPolicy")
2088
+ if params.get("AlbListenerAclId"):
2089
+ self.AlbListenerAclId = params.get("AlbListenerAclId")
2090
+ if params.get("AlbListenerState"):
2091
+ self.AlbListenerState = params.get("AlbListenerState")
2092
+ if params.get("RedirectAlbListenerId"):
2093
+ self.RedirectAlbListenerId = params.get("RedirectAlbListenerId")
2094
+ if params.get("RedirectHttpCode"):
2095
+ self.RedirectHttpCode = params.get("RedirectHttpCode")
2096
+ if params.get("EnableHttp2"):
2097
+ self.EnableHttp2 = params.get("EnableHttp2")
2098
+ if params.get("BackendServerGroupId"):
2099
+ self.BackendServerGroupId = params.get("BackendServerGroupId")
2100
+ if params.get("FixedResponseConfig"):
2101
+ self.FixedResponseConfig = params.get("FixedResponseConfig")
2102
+ if params.get("RewriteConfig"):
2103
+ self.RewriteConfig = params.get("RewriteConfig")
2104
+ if params.get("CaEnabled"):
2105
+ self.CaEnabled = params.get("CaEnabled")
2106
+ if params.get("CaCertificateId"):
2107
+ self.CaCertificateId = params.get("CaCertificateId")
2108
+ if params.get("EnableQuicUpgrade"):
2109
+ self.EnableQuicUpgrade = params.get("EnableQuicUpgrade")
2110
+ if params.get("QuicListenerId"):
2111
+ self.QuicListenerId = params.get("QuicListenerId")
2112
+ if params.get("ServerGroupId"):
2113
+ self.ServerGroupId = params.get("ServerGroupId")
2114
+
2115
+
2116
+ class ModifyAlbListenerRequest(AbstractModel):
2117
+ """ModifyAlbListener请求参数结构体
2118
+ """
2119
+
2120
+ def __init__(self):
2121
+ r"""ModifyAlbListener
2122
+ :param AlbListenerId: 应用型监听器的ID
2123
+ :type PathPrefix: String
2124
+ :param AlbListenerName: 应用型负载均衡监听器的名称
2125
+ :type PathPrefix: String
2126
+ :param AlbListenerState: 应用型监听器的状态
2127
+ :type PathPrefix: String
2128
+ :param CertificateId: 证书的ID
2129
+ :type PathPrefix: String
2130
+ :param TlsCipherPolicy: TLS安全策略
2131
+ :type PathPrefix: String
2132
+ :param AlbListenerAclId: LoadBalancerAcl的ID
2133
+ :type PathPrefix: String
2134
+ :param HttpProtocol: 后端协议版本(HTTP1.0|HTTP1.1)
2135
+ :type PathPrefix: String
2136
+ :param EnableHttp2: 是否启用HTTP/2
2137
+ :type PathPrefix: Boolean
2138
+ :param CaEnabled: 是否开启双向认证
2139
+ :type PathPrefix: Boolean
2140
+ :param CaCertificateId: 客户端证书
2141
+ :type PathPrefix: String
2142
+ :param EnableQuicUpgrade: 是否开启QUIC
2143
+ :type PathPrefix: Boolean
2144
+ :param QuicListenerId: QUIC监听器id
2145
+ :type PathPrefix: String
2146
+ :param IdleTimeout: 空闲超时时间(s)
2147
+ :type PathPrefix: Int
2148
+ :param ServerGroupId: 服务器组 ID
2149
+ :type PathPrefix: String
2150
+ """
2151
+ self.AlbListenerId = None
2152
+ self.AlbListenerName = None
2153
+ self.AlbListenerState = None
2154
+ self.CertificateId = None
2155
+ self.TlsCipherPolicy = None
2156
+ self.AlbListenerAclId = None
2157
+ self.HttpProtocol = None
2158
+ self.EnableHttp2 = None
2159
+ self.CaEnabled = None
2160
+ self.CaCertificateId = None
2161
+ self.EnableQuicUpgrade = None
2162
+ self.QuicListenerId = None
2163
+ self.IdleTimeout = None
2164
+ self.ServerGroupId = None
2165
+
2166
+ def _deserialize(self, params):
2167
+ if params.get("AlbListenerId"):
2168
+ self.AlbListenerId = params.get("AlbListenerId")
2169
+ if params.get("AlbListenerName"):
2170
+ self.AlbListenerName = params.get("AlbListenerName")
2171
+ if params.get("AlbListenerState"):
2172
+ self.AlbListenerState = params.get("AlbListenerState")
2173
+ if params.get("CertificateId"):
2174
+ self.CertificateId = params.get("CertificateId")
2175
+ if params.get("TlsCipherPolicy"):
2176
+ self.TlsCipherPolicy = params.get("TlsCipherPolicy")
2177
+ if params.get("AlbListenerAclId"):
2178
+ self.AlbListenerAclId = params.get("AlbListenerAclId")
2179
+ if params.get("HttpProtocol"):
2180
+ self.HttpProtocol = params.get("HttpProtocol")
2181
+ if params.get("EnableHttp2"):
2182
+ self.EnableHttp2 = params.get("EnableHttp2")
2183
+ if params.get("CaEnabled"):
2184
+ self.CaEnabled = params.get("CaEnabled")
2185
+ if params.get("CaCertificateId"):
2186
+ self.CaCertificateId = params.get("CaCertificateId")
2187
+ if params.get("EnableQuicUpgrade"):
2188
+ self.EnableQuicUpgrade = params.get("EnableQuicUpgrade")
2189
+ if params.get("QuicListenerId"):
2190
+ self.QuicListenerId = params.get("QuicListenerId")
2191
+ if params.get("IdleTimeout"):
2192
+ self.IdleTimeout = params.get("IdleTimeout")
2193
+ if params.get("ServerGroupId"):
2194
+ self.ServerGroupId = params.get("ServerGroupId")
2195
+
2196
+
2197
+ class DeleteAlbListenerRequest(AbstractModel):
2198
+ """DeleteAlbListener请求参数结构体
2199
+ """
2200
+
2201
+ def __init__(self):
2202
+ r"""DeleteAlbListener
2203
+ :param AlbListenerId: 应用型监听器的ID
2204
+ :type PathPrefix: String
2205
+ """
2206
+ self.AlbListenerId = None
2207
+
2208
+ def _deserialize(self, params):
2209
+ if params.get("AlbListenerId"):
2210
+ self.AlbListenerId = params.get("AlbListenerId")
2211
+
2212
+
2213
+ class DescribeAlbListenersRequest(AbstractModel):
2214
+ """DescribeAlbListeners请求参数结构体
2215
+ """
2216
+
2217
+ def __init__(self):
2218
+ r"""DescribeAlbListeners
2219
+ :param AlbListenerId: 多个应用型监听器的ID
2220
+ :type PathPrefix: Filter
2221
+ :param Filter: 筛选Filter
2222
+ :type PathPrefix: Filter
2223
+ :param MaxResults: 单次调用可返回的最大条目数量
2224
+ :type PathPrefix: Int
2225
+ :param NextToken: 获取另一页返回结果的 token.
2226
+ :type PathPrefix: String
2227
+ """
2228
+ self.AlbListenerId = None
2229
+ self.Filter = None
2230
+ self.MaxResults = None
2231
+ self.NextToken = None
2232
+
2233
+ def _deserialize(self, params):
2234
+ if params.get("AlbListenerId"):
2235
+ self.AlbListenerId = params.get("AlbListenerId")
2236
+ if params.get("Filter"):
2237
+ self.Filter = params.get("Filter")
2238
+ if params.get("MaxResults"):
2239
+ self.MaxResults = params.get("MaxResults")
2240
+ if params.get("NextToken"):
2241
+ self.NextToken = params.get("NextToken")
2242
+
2243
+
2244
+ class CreateAlbRuleGroupRequest(AbstractModel):
2245
+ """CreateAlbRuleGroup请求参数结构体
2246
+ """
2247
+
2248
+ def __init__(self):
2249
+ r"""CreateAlbRuleGroup
2250
+ :param AlbRuleGroupName: 转发策略的名称
2251
+ :type PathPrefix: String
2252
+ :param AlbListenerId: 应用型负载均衡监听器的ID
2253
+ :type PathPrefix: String
2254
+ :param BackendServerGroupId: 后端服务器组的ID
2255
+ :type PathPrefix: String
2256
+ :param Type: 转发动作类型
2257
+ :type PathPrefix: String
2258
+ :param AlbRuleSet: 规则的信息
2259
+ :type PathPrefix: Array
2260
+ :param RedirectAlbListenerId: 重定向应用型监听器ID
2261
+ :type PathPrefix: String
2262
+ :param RedirectHttpCode: 重定向状态码,301|302|307
2263
+ :type PathPrefix: String
2264
+ :param FixedResponseConfig: 返回固定响应信息
2265
+ :type PathPrefix: Object
2266
+ :param RewriteConfig: 重写
2267
+ :type PathPrefix: Object
2268
+ """
2269
+ self.AlbRuleGroupName = None
2270
+ self.AlbListenerId = None
2271
+ self.BackendServerGroupId = None
2272
+ self.Type = None
2273
+ self.AlbRuleSet = None
2274
+ self.RedirectAlbListenerId = None
2275
+ self.RedirectHttpCode = None
2276
+ self.FixedResponseConfig = None
2277
+ self.RewriteConfig = None
2278
+
2279
+ def _deserialize(self, params):
2280
+ if params.get("AlbRuleGroupName"):
2281
+ self.AlbRuleGroupName = params.get("AlbRuleGroupName")
2282
+ if params.get("AlbListenerId"):
2283
+ self.AlbListenerId = params.get("AlbListenerId")
2284
+ if params.get("BackendServerGroupId"):
2285
+ self.BackendServerGroupId = params.get("BackendServerGroupId")
2286
+ if params.get("Type"):
2287
+ self.Type = params.get("Type")
2288
+ if params.get("AlbRuleSet"):
2289
+ self.AlbRuleSet = params.get("AlbRuleSet")
2290
+ if params.get("RedirectAlbListenerId"):
2291
+ self.RedirectAlbListenerId = params.get("RedirectAlbListenerId")
2292
+ if params.get("RedirectHttpCode"):
2293
+ self.RedirectHttpCode = params.get("RedirectHttpCode")
2294
+ if params.get("FixedResponseConfig"):
2295
+ self.FixedResponseConfig = params.get("FixedResponseConfig")
2296
+ if params.get("RewriteConfig"):
2297
+ self.RewriteConfig = params.get("RewriteConfig")
2298
+
2299
+
2300
+ class DeleteAlbRuleGroupRequest(AbstractModel):
2301
+ """DeleteAlbRuleGroup请求参数结构体
2302
+ """
2303
+
2304
+ def __init__(self):
2305
+ r"""DeleteAlbRuleGroup
2306
+ :param AlbRuleGroupId: 转发策略的ID
2307
+ :type PathPrefix: String
2308
+ """
2309
+ self.AlbRuleGroupId = None
2310
+
2311
+ def _deserialize(self, params):
2312
+ if params.get("AlbRuleGroupId"):
2313
+ self.AlbRuleGroupId = params.get("AlbRuleGroupId")
2314
+
2315
+
2316
+ class DescribeAlbRuleGroupsRequest(AbstractModel):
2317
+ """DescribeAlbRuleGroups请求参数结构体
2318
+ """
2319
+
2320
+ def __init__(self):
2321
+ r"""DescribeAlbRuleGroups
2322
+ :param AlbRuleGroupId: 多个转发策略的ID
2323
+ :type PathPrefix: Filter
2324
+ :param Filter: 筛选Filter
2325
+ :type PathPrefix: Filter
2326
+ :param MaxResults: 单次调用可返回的最大条目数量
2327
+ :type PathPrefix: Int
2328
+ :param NextToken: 获取另一页返回结果的 token.
2329
+ :type PathPrefix: String
2330
+ """
2331
+ self.AlbRuleGroupId = None
2332
+ self.Filter = None
2333
+ self.MaxResults = None
2334
+ self.NextToken = None
2335
+
2336
+ def _deserialize(self, params):
2337
+ if params.get("AlbRuleGroupId"):
2338
+ self.AlbRuleGroupId = params.get("AlbRuleGroupId")
2339
+ if params.get("Filter"):
2340
+ self.Filter = params.get("Filter")
2341
+ if params.get("MaxResults"):
2342
+ self.MaxResults = params.get("MaxResults")
2343
+ if params.get("NextToken"):
2344
+ self.NextToken = params.get("NextToken")
2345
+
2346
+
2347
+ class ModifyAlbRuleGroupRequest(AbstractModel):
2348
+ """ModifyAlbRuleGroup请求参数结构体
2349
+ """
2350
+
2351
+ def __init__(self):
2352
+ r"""ModifyAlbRuleGroup
2353
+ :param AlbRuleGroupId: 转发策略的ID
2354
+ :type PathPrefix: String
2355
+ :param AlbRuleGroupName: 转发策略的名称
2356
+ :type PathPrefix: String
2357
+ :param BackendServerGroupId: 后端服务器组的ID
2358
+ :type PathPrefix: String
2359
+ :param Type: 转发动作类型
2360
+ :type PathPrefix: String
2361
+ :param AlbRuleSet: 规则的信息
2362
+ :type PathPrefix: Array
2363
+ :param RedirectAlbListenerId: 重定向应用型监听器ID
2364
+ :type PathPrefix: String
2365
+ :param RedirectHttpCode: 重定向状态码,301|302|307
2366
+ :type PathPrefix: String
2367
+ :param FixedResponseConfig: 返回固定响应信息
2368
+ :type PathPrefix: Object
2369
+ """
2370
+ self.AlbRuleGroupId = None
2371
+ self.AlbRuleGroupName = None
2372
+ self.BackendServerGroupId = None
2373
+ self.Type = None
2374
+ self.AlbRuleSet = None
2375
+ self.RedirectAlbListenerId = None
2376
+ self.RedirectHttpCode = None
2377
+ self.FixedResponseConfig = None
2378
+
2379
+ def _deserialize(self, params):
2380
+ if params.get("AlbRuleGroupId"):
2381
+ self.AlbRuleGroupId = params.get("AlbRuleGroupId")
2382
+ if params.get("AlbRuleGroupName"):
2383
+ self.AlbRuleGroupName = params.get("AlbRuleGroupName")
2384
+ if params.get("BackendServerGroupId"):
2385
+ self.BackendServerGroupId = params.get("BackendServerGroupId")
2386
+ if params.get("Type"):
2387
+ self.Type = params.get("Type")
2388
+ if params.get("AlbRuleSet"):
2389
+ self.AlbRuleSet = params.get("AlbRuleSet")
2390
+ if params.get("RedirectAlbListenerId"):
2391
+ self.RedirectAlbListenerId = params.get("RedirectAlbListenerId")
2392
+ if params.get("RedirectHttpCode"):
2393
+ self.RedirectHttpCode = params.get("RedirectHttpCode")
2394
+ if params.get("FixedResponseConfig"):
2395
+ self.FixedResponseConfig = params.get("FixedResponseConfig")
2396
+
2397
+
2398
+ class AddAlbRuleRequest(AbstractModel):
2399
+ """AddAlbRule请求参数结构体
2400
+ """
2401
+
2402
+ def __init__(self):
2403
+ r"""AddAlbRule
2404
+ :param AlbRuleGroupId: 转发策略的ID
2405
+ :type PathPrefix: String
2406
+ :param AlbRuleType: 匹配规则类型(domain|url)
2407
+ :type PathPrefix: String
2408
+ :param AlbRuleValue: 匹配规则的值
2409
+ :type PathPrefix: String
2410
+ """
2411
+ self.AlbRuleGroupId = None
2412
+ self.AlbRuleType = None
2413
+ self.AlbRuleValue = None
2414
+
2415
+ def _deserialize(self, params):
2416
+ if params.get("AlbRuleGroupId"):
2417
+ self.AlbRuleGroupId = params.get("AlbRuleGroupId")
2418
+ if params.get("AlbRuleType"):
2419
+ self.AlbRuleType = params.get("AlbRuleType")
2420
+ if params.get("AlbRuleValue"):
2421
+ self.AlbRuleValue = params.get("AlbRuleValue")
2422
+
2423
+
2424
+ class DeleteAlbRuleRequest(AbstractModel):
2425
+ """DeleteAlbRule请求参数结构体
2426
+ """
2427
+
2428
+ def __init__(self):
2429
+ r"""DeleteAlbRule
2430
+ :param AlbRuleGroupId: 转发策略的ID
2431
+ :type PathPrefix: String
2432
+ :param AlbRuleType: 匹配规则类型(domain|url)
2433
+ :type PathPrefix: String
2434
+ :param AlbRuleValue: 匹配规则的值
2435
+ :type PathPrefix: String
2436
+ """
2437
+ self.AlbRuleGroupId = None
2438
+ self.AlbRuleType = None
2439
+ self.AlbRuleValue = None
2440
+
2441
+ def _deserialize(self, params):
2442
+ if params.get("AlbRuleGroupId"):
2443
+ self.AlbRuleGroupId = params.get("AlbRuleGroupId")
2444
+ if params.get("AlbRuleType"):
2445
+ self.AlbRuleType = params.get("AlbRuleType")
2446
+ if params.get("AlbRuleValue"):
2447
+ self.AlbRuleValue = params.get("AlbRuleValue")
2448
+
2449
+
2450
+ class CreateAlbListenerCertGroupRequest(AbstractModel):
2451
+ """CreateAlbListenerCertGroup请求参数结构体
2452
+ """
2453
+
2454
+ def __init__(self):
2455
+ r"""CreateAlbListenerCertGroup
2456
+ :param AlbListenerId: 应用型负载均衡监听器的ID
2457
+ :type PathPrefix: String
2458
+ """
2459
+ self.AlbListenerId = None
2460
+
2461
+ def _deserialize(self, params):
2462
+ if params.get("AlbListenerId"):
2463
+ self.AlbListenerId = params.get("AlbListenerId")
2464
+
2465
+
2466
+ class DeleteAlbListenerCertGroupRequest(AbstractModel):
2467
+ """DeleteAlbListenerCertGroup请求参数结构体
2468
+ """
2469
+
2470
+ def __init__(self):
2471
+ r"""DeleteAlbListenerCertGroup
2472
+ :param AlbListenerCertGroupId: 证书组的ID
2473
+ :type PathPrefix: String
2474
+ """
2475
+ self.AlbListenerCertGroupId = None
2476
+
2477
+ def _deserialize(self, params):
2478
+ if params.get("AlbListenerCertGroupId"):
2479
+ self.AlbListenerCertGroupId = params.get("AlbListenerCertGroupId")
2480
+
2481
+
2482
+ class DescribeAlbListenerCertGroupsRequest(AbstractModel):
2483
+ """DescribeAlbListenerCertGroups请求参数结构体
2484
+ """
2485
+
2486
+ def __init__(self):
2487
+ r"""DescribeAlbListenerCertGroups
2488
+ :param AlbListenerCertGroupId: 多个证书组的ID
2489
+ :type PathPrefix: Filter
2490
+ :param Filter: 筛选Filter
2491
+ :type PathPrefix: Filter
2492
+ :param MaxResults: 单次调用可返回的最大条目数量
2493
+ :type PathPrefix: Int
2494
+ :param NextToken: 获取另一页返回结果的 token.
2495
+ :type PathPrefix: String
2496
+ """
2497
+ self.AlbListenerCertGroupId = None
2498
+ self.Filter = None
2499
+ self.MaxResults = None
2500
+ self.NextToken = None
2501
+
2502
+ def _deserialize(self, params):
2503
+ if params.get("AlbListenerCertGroupId"):
2504
+ self.AlbListenerCertGroupId = params.get("AlbListenerCertGroupId")
2505
+ if params.get("Filter"):
2506
+ self.Filter = params.get("Filter")
2507
+ if params.get("MaxResults"):
2508
+ self.MaxResults = params.get("MaxResults")
2509
+ if params.get("NextToken"):
2510
+ self.NextToken = params.get("NextToken")
2511
+
2512
+
2513
+ class AssociateCertificateWithGroupRequest(AbstractModel):
2514
+ """AssociateCertificateWithGroup请求参数结构体
2515
+ """
2516
+
2517
+ def __init__(self):
2518
+ r"""AssociateCertificateWithGroup
2519
+ :param AlbListenerCertGroupId: 证书组的ID
2520
+ :type PathPrefix: String
2521
+ :param CertificateId: 证书的ID
2522
+ :type PathPrefix: String
2523
+ """
2524
+ self.AlbListenerCertGroupId = None
2525
+ self.CertificateId = None
2526
+
2527
+ def _deserialize(self, params):
2528
+ if params.get("AlbListenerCertGroupId"):
2529
+ self.AlbListenerCertGroupId = params.get("AlbListenerCertGroupId")
2530
+ if params.get("CertificateId"):
2531
+ self.CertificateId = params.get("CertificateId")
2532
+
2533
+
2534
+ class DissociateCertificateWithGroupRequest(AbstractModel):
2535
+ """DissociateCertificateWithGroup请求参数结构体
2536
+ """
2537
+
2538
+ def __init__(self):
2539
+ r"""DissociateCertificateWithGroup
2540
+ :param AlbListenerCertGroupId: 证书组的ID
2541
+ :type PathPrefix: String
2542
+ :param CertificateId: 证书的ID
2543
+ :type PathPrefix: String
2544
+ """
2545
+ self.AlbListenerCertGroupId = None
2546
+ self.CertificateId = None
2547
+
2548
+ def _deserialize(self, params):
2549
+ if params.get("AlbListenerCertGroupId"):
2550
+ self.AlbListenerCertGroupId = params.get("AlbListenerCertGroupId")
2551
+ if params.get("CertificateId"):
2552
+ self.CertificateId = params.get("CertificateId")
2553
+
2554
+
2555
+ class SetEnableAlbAccessLogRequest(AbstractModel):
2556
+ """SetEnableAlbAccessLog请求参数结构体
2557
+ """
2558
+
2559
+ def __init__(self):
2560
+ r"""SetEnableAlbAccessLog
2561
+ :param AlbId: 独享型负载均衡的ID
2562
+ :type PathPrefix: String
2563
+ :param EnabledLog: 是否开启日志服务
2564
+ :type PathPrefix: Boolean
2565
+ """
2566
+ self.AlbId = None
2567
+ self.EnabledLog = None
2568
+
2569
+ def _deserialize(self, params):
2570
+ if params.get("AlbId"):
2571
+ self.AlbId = params.get("AlbId")
2572
+ if params.get("EnabledLog"):
2573
+ self.EnabledLog = params.get("EnabledLog")
2574
+
2575
+
2576
+ class SetAlbAccessLogRequest(AbstractModel):
2577
+ """SetAlbAccessLog请求参数结构体
2578
+ """
2579
+
2580
+ def __init__(self):
2581
+ r"""SetAlbAccessLog
2582
+ :param AlbId: 独享型负载均衡的ID
2583
+ :type PathPrefix: String
2584
+ :param ProjectName: 访问日志投递的日志库
2585
+ :type PathPrefix: String
2586
+ :param LogpoolName: 访问日志投递的日志池
2587
+ :type PathPrefix: String
2588
+ """
2589
+ self.AlbId = None
2590
+ self.ProjectName = None
2591
+ self.LogpoolName = None
2592
+
2593
+ def _deserialize(self, params):
2594
+ if params.get("AlbId"):
2595
+ self.AlbId = params.get("AlbId")
2596
+ if params.get("ProjectName"):
2597
+ self.ProjectName = params.get("ProjectName")
2598
+ if params.get("LogpoolName"):
2599
+ self.LogpoolName = params.get("LogpoolName")
2600
+
2601
+
2602
+ class CloneLoadBalancerRequest(AbstractModel):
2603
+ """CloneLoadBalancer请求参数结构体
2604
+ """
2605
+
2606
+ def __init__(self):
2607
+ r"""克隆负载均衡
2608
+ :param cloneLoadBalancerId: 克隆的负载均衡ID
2609
+ :type PathPrefix: String
2610
+ :param LoadBalancerName: 克隆的负载均衡的名称
2611
+ :type PathPrefix: String
2612
+ :param Type: 负载均衡的类型,public 为公网负载均衡,internal 为内网负载均衡
2613
+ :type PathPrefix: String
2614
+ :param SubnetId: 终端子网的 ID,Type 为 public 时忽略此参数,为internal 时此参数必填
2615
+ :type PathPrefix: String
2616
+ :param PrivateIpAddress: 私网负载均衡的IP,Type 为 Public 时忽略此参数
2617
+ :type PathPrefix: String
2618
+ :param IpVersion: 负载均衡的IP版本
2619
+ :type PathPrefix: String
2620
+ :param LbType: 负载均衡类型(classic|application)
2621
+ :type PathPrefix: String
2622
+ :param TagId: tag标签
2623
+ :type PathPrefix: Filter
2624
+ :param ProjectId: 项目的ID
2625
+ :type PathPrefix: String
2626
+ """
2627
+ self.cloneLoadBalancerId = None
2628
+ self.LoadBalancerName = None
2629
+ self.Type = None
2630
+ self.SubnetId = None
2631
+ self.PrivateIpAddress = None
2632
+ self.IpVersion = None
2633
+ self.LbType = None
2634
+ self.TagId = None
2635
+ self.ProjectId = None
2636
+
2637
+ def _deserialize(self, params):
2638
+ if params.get("cloneLoadBalancerId"):
2639
+ self.cloneLoadBalancerId = params.get("cloneLoadBalancerId")
2640
+ if params.get("LoadBalancerName"):
2641
+ self.LoadBalancerName = params.get("LoadBalancerName")
2642
+ if params.get("Type"):
2643
+ self.Type = params.get("Type")
2644
+ if params.get("SubnetId"):
2645
+ self.SubnetId = params.get("SubnetId")
2646
+ if params.get("PrivateIpAddress"):
2647
+ self.PrivateIpAddress = params.get("PrivateIpAddress")
2648
+ if params.get("IpVersion"):
2649
+ self.IpVersion = params.get("IpVersion")
2650
+ if params.get("LbType"):
2651
+ self.LbType = params.get("LbType")
2652
+ if params.get("TagId"):
2653
+ self.TagId = params.get("TagId")
2654
+ if params.get("ProjectId"):
2655
+ self.ProjectId = params.get("ProjectId")
2656
+
2657
+
2658
+ class SetLBDeleteProtectionRequest(AbstractModel):
2659
+ """SetLBDeleteProtection请求参数结构体
2660
+ """
2661
+
2662
+ def __init__(self):
2663
+ r"""设置删除保护
2664
+ :param LoadBalancerId: 负载均衡id
2665
+ :type PathPrefix: String
2666
+ :param DeleteProtection: 删除保护状态(on|off)
2667
+ :type PathPrefix: String
2668
+ """
2669
+ self.LoadBalancerId = None
2670
+ self.DeleteProtection = None
2671
+
2672
+ def _deserialize(self, params):
2673
+ if params.get("LoadBalancerId"):
2674
+ self.LoadBalancerId = params.get("LoadBalancerId")
2675
+ if params.get("DeleteProtection"):
2676
+ self.DeleteProtection = params.get("DeleteProtection")
2677
+
2678
+
2679
+ class SetLBModificationProtectionRequest(AbstractModel):
2680
+ """SetLBModificationProtection请求参数结构体
2681
+ """
2682
+
2683
+ def __init__(self):
2684
+ r"""设置修改保护
2685
+ :param LoadBalancerId: 负载均衡id
2686
+ :type PathPrefix: String
2687
+ :param ModificationProtection: 修改保护状态(on|off)
2688
+ :type PathPrefix: String
2689
+ """
2690
+ self.LoadBalancerId = None
2691
+ self.ModificationProtection = None
2692
+
2693
+ def _deserialize(self, params):
2694
+ if params.get("LoadBalancerId"):
2695
+ self.LoadBalancerId = params.get("LoadBalancerId")
2696
+ if params.get("ModificationProtection"):
2697
+ self.ModificationProtection = params.get("ModificationProtection")
2698
+
2699
+
2700
+ class ModifyCertificateWithGroupRequest(AbstractModel):
2701
+ """ModifyCertificateWithGroup请求参数结构体
2702
+ """
2703
+
2704
+ def __init__(self):
2705
+ r"""监听器维度更换同域名的证书
2706
+ :param AlbListenerCertGroupId: 证书组的ID
2707
+ :type PathPrefix: String
2708
+ :param OldCertificateId: 旧证书的ID
2709
+ :type PathPrefix: String
2710
+ :param CertificateId: 新证书的ID
2711
+ :type PathPrefix: String
2712
+ """
2713
+ self.AlbListenerCertGroupId = None
2714
+ self.OldCertificateId = None
2715
+ self.CertificateId = None
2716
+
2717
+ def _deserialize(self, params):
2718
+ if params.get("AlbListenerCertGroupId"):
2719
+ self.AlbListenerCertGroupId = params.get("AlbListenerCertGroupId")
2720
+ if params.get("OldCertificateId"):
2721
+ self.OldCertificateId = params.get("OldCertificateId")
2722
+ if params.get("CertificateId"):
2723
+ self.CertificateId = params.get("CertificateId")
2724
+
2725
+
2726
+ class CreateAlbBackendServerGroupRequest(AbstractModel):
2727
+ """CreateAlbBackendServerGroup请求参数结构体
2728
+ """
2729
+
2730
+ def __init__(self):
2731
+ r"""创建ALB服务器组
2732
+ :param VpcId: Vpc的ID
2733
+ :type PathPrefix: String
2734
+ :param Name: ALB负载均衡的名称
2735
+ :type PathPrefix: String
2736
+ :param BackendServerType: 服务器组的服务器类型
2737
+ :type PathPrefix: String
2738
+ :param Method: 调度算法(RoundRobin | LeastConnections | MasterSlave | QUIC_CID | IPHash)
2739
+ :type PathPrefix: String
2740
+ :param SessionState: 会话保持的状态(start|stop)
2741
+ :type PathPrefix: String
2742
+ :param SessionPersistencePeriod: 会话保持超时时间
2743
+ :type PathPrefix: Int
2744
+ :param CookieType: 会话类型
2745
+ :type PathPrefix: String
2746
+ :param CookieName: Cookie的名称
2747
+ :type PathPrefix: String
2748
+ :param UpstreamKeepalive: 后端长连接类型
2749
+ :type PathPrefix: String
2750
+ :param Protocol: 后端协议 (TCP | UDP |HTTP | gRPC | HTTPS)
2751
+ :type PathPrefix: String
2752
+ :param HealthCheckState: 健康检查保持的状态(start|stop)
2753
+ :type PathPrefix: String
2754
+ :param Timeout: 健康检查超时时间
2755
+ :type PathPrefix: Int
2756
+ :param Interval: 健康检查时间间隔
2757
+ :type PathPrefix: Int
2758
+ :param HealthyThreshold: 健康阈值
2759
+ :type PathPrefix: Int
2760
+ :param UnhealthyThreshold: 不健康阈值
2761
+ :type PathPrefix: Int
2762
+ :param UrlPath: HTTP类型监听器健康检查的链接
2763
+ :type PathPrefix: String
2764
+ :param HostName: HTTP类型健康检查的域名
2765
+ :type PathPrefix: String
2766
+ :param HealthCheckConnectPort: 健康检查端口
2767
+ :type PathPrefix: Int
2768
+ :param HealthProtocol: 健康检查协议(TCP | ICMP| UDP | HTTP)
2769
+ :type PathPrefix: String
2770
+ :param SlowStartEnabled: 慢启动
2771
+ :type PathPrefix: Boolean
2772
+ :param SlowStartDuration: 慢启动时间
2773
+ :type PathPrefix: Int
2774
+ :param HttpMethod: HTTP请求方式 (GET|HEAD)
2775
+ :type PathPrefix: String
2776
+ :param HealthCheckReq: UDP监听器健康检查的请求串
2777
+ :type PathPrefix: String
2778
+ :param HealthCheckExp: UDP监听器健康检查的响应串
2779
+ :type PathPrefix: String
2780
+ :param HealthCode: 健康状态返回码
2781
+ :type PathPrefix: String
2782
+ """
2783
+ self.VpcId = None
2784
+ self.Name = None
2785
+ self.BackendServerType = None
2786
+ self.Method = None
2787
+ self.SessionState = None
2788
+ self.SessionPersistencePeriod = None
2789
+ self.CookieType = None
2790
+ self.CookieName = None
2791
+ self.UpstreamKeepalive = None
2792
+ self.Protocol = None
2793
+ self.HealthCheckState = None
2794
+ self.Timeout = None
2795
+ self.Interval = None
2796
+ self.HealthyThreshold = None
2797
+ self.UnhealthyThreshold = None
2798
+ self.UrlPath = None
2799
+ self.HostName = None
2800
+ self.HealthCheckConnectPort = None
2801
+ self.HealthProtocol = None
2802
+ self.SlowStartEnabled = None
2803
+ self.SlowStartDuration = None
2804
+ self.HttpMethod = None
2805
+ self.HealthCheckReq = None
2806
+ self.HealthCheckExp = None
2807
+ self.HealthCode = None
2808
+
2809
+ def _deserialize(self, params):
2810
+ if params.get("VpcId"):
2811
+ self.VpcId = params.get("VpcId")
2812
+ if params.get("Name"):
2813
+ self.Name = params.get("Name")
2814
+ if params.get("BackendServerType"):
2815
+ self.BackendServerType = params.get("BackendServerType")
2816
+ if params.get("Method"):
2817
+ self.Method = params.get("Method")
2818
+ if params.get("SessionState"):
2819
+ self.SessionState = params.get("SessionState")
2820
+ if params.get("SessionPersistencePeriod"):
2821
+ self.SessionPersistencePeriod = params.get("SessionPersistencePeriod")
2822
+ if params.get("CookieType"):
2823
+ self.CookieType = params.get("CookieType")
2824
+ if params.get("CookieName"):
2825
+ self.CookieName = params.get("CookieName")
2826
+ if params.get("UpstreamKeepalive"):
2827
+ self.UpstreamKeepalive = params.get("UpstreamKeepalive")
2828
+ if params.get("Protocol"):
2829
+ self.Protocol = params.get("Protocol")
2830
+ if params.get("HealthCheckState"):
2831
+ self.HealthCheckState = params.get("HealthCheckState")
2832
+ if params.get("Timeout"):
2833
+ self.Timeout = params.get("Timeout")
2834
+ if params.get("Interval"):
2835
+ self.Interval = params.get("Interval")
2836
+ if params.get("HealthyThreshold"):
2837
+ self.HealthyThreshold = params.get("HealthyThreshold")
2838
+ if params.get("UnhealthyThreshold"):
2839
+ self.UnhealthyThreshold = params.get("UnhealthyThreshold")
2840
+ if params.get("UrlPath"):
2841
+ self.UrlPath = params.get("UrlPath")
2842
+ if params.get("HostName"):
2843
+ self.HostName = params.get("HostName")
2844
+ if params.get("HealthCheckConnectPort"):
2845
+ self.HealthCheckConnectPort = params.get("HealthCheckConnectPort")
2846
+ if params.get("HealthProtocol"):
2847
+ self.HealthProtocol = params.get("HealthProtocol")
2848
+ if params.get("SlowStartEnabled"):
2849
+ self.SlowStartEnabled = params.get("SlowStartEnabled")
2850
+ if params.get("SlowStartDuration"):
2851
+ self.SlowStartDuration = params.get("SlowStartDuration")
2852
+ if params.get("HttpMethod"):
2853
+ self.HttpMethod = params.get("HttpMethod")
2854
+ if params.get("HealthCheckReq"):
2855
+ self.HealthCheckReq = params.get("HealthCheckReq")
2856
+ if params.get("HealthCheckExp"):
2857
+ self.HealthCheckExp = params.get("HealthCheckExp")
2858
+ if params.get("HealthCode"):
2859
+ self.HealthCode = params.get("HealthCode")
2860
+
2861
+
2862
+ class DeleteAlbBackendServerGroupRequest(AbstractModel):
2863
+ """DeleteAlbBackendServerGroup请求参数结构体
2864
+ """
2865
+
2866
+ def __init__(self):
2867
+ r"""删除ALB服务器组
2868
+ :param BackendServerGroupId: ALB服务器组id
2869
+ :type PathPrefix: String
2870
+ """
2871
+ self.BackendServerGroupId = None
2872
+
2873
+ def _deserialize(self, params):
2874
+ if params.get("BackendServerGroupId"):
2875
+ self.BackendServerGroupId = params.get("BackendServerGroupId")
2876
+
2877
+
2878
+ class ModifyAlbBackendServerGroupRequest(AbstractModel):
2879
+ """ModifyAlbBackendServerGroup请求参数结构体
2880
+ """
2881
+
2882
+ def __init__(self):
2883
+ r"""修改ALB服务器组
2884
+ :param BackendServerGroupId: ALB服务器组id
2885
+ :type PathPrefix: String
2886
+ :param Name: ALB负载均衡的名称
2887
+ :type PathPrefix: String
2888
+ :param UpstreamKeepalive: 后端长连接类型
2889
+ :type PathPrefix: String
2890
+ :param Method: 转发方式
2891
+ :type PathPrefix: String
2892
+ :param SessionState: 会话保持的状态(start|stop)
2893
+ :type PathPrefix: String
2894
+ :param SessionPersistencePeriod: 会话保持超时时间
2895
+ :type PathPrefix: Int
2896
+ :param CookieType: 会话类型
2897
+ :type PathPrefix: String
2898
+ :param CookieName: Cookie的名称
2899
+ :type PathPrefix: String
2900
+ :param HealthCheckState: 健康检查保持的状态(start|stop)
2901
+ :type PathPrefix: String
2902
+ :param Timeout: 健康检查超时时间
2903
+ :type PathPrefix: Int
2904
+ :param Interval: 健康检查时间间隔
2905
+ :type PathPrefix: Int
2906
+ :param HealthyThreshold: 健康阈值
2907
+ :type PathPrefix: Int
2908
+ :param UnhealthyThreshold: 不健康阈值
2909
+ :type PathPrefix: Int
2910
+ :param UrlPath: HTTP类型监听器健康检查的链接
2911
+ :type PathPrefix: String
2912
+ :param HostName: HTTP类型健康检查的域名
2913
+ :type PathPrefix: String
2914
+ :param HealthCheckConnectPort: 健康检查端口
2915
+ :type PathPrefix: Int
2916
+ :param HealthProtocol: 健康检查协议(TCP | ICMP| UDP | HTTP)
2917
+ :type PathPrefix: String
2918
+ :param SlowStartEnabled: 慢启动
2919
+ :type PathPrefix: Boolean
2920
+ :param SlowStartDuration: 慢启动时间
2921
+ :type PathPrefix: Int
2922
+ :param HttpMethod: HTTP请求方式 (GET|HEAD)
2923
+ :type PathPrefix: String
2924
+ :param HealthCode: 健康状态返回码
2925
+ :type PathPrefix: String
2926
+ :param HealthCheckReq: UDP监听器健康检查的请求串
2927
+ :type PathPrefix: String
2928
+ :param HealthCheckExp: UDP监听器健康检查的响应串
2929
+ :type PathPrefix: String
2930
+ """
2931
+ self.BackendServerGroupId = None
2932
+ self.Name = None
2933
+ self.UpstreamKeepalive = None
2934
+ self.Method = None
2935
+ self.SessionState = None
2936
+ self.SessionPersistencePeriod = None
2937
+ self.CookieType = None
2938
+ self.CookieName = None
2939
+ self.HealthCheckState = None
2940
+ self.Timeout = None
2941
+ self.Interval = None
2942
+ self.HealthyThreshold = None
2943
+ self.UnhealthyThreshold = None
2944
+ self.UrlPath = None
2945
+ self.HostName = None
2946
+ self.HealthCheckConnectPort = None
2947
+ self.HealthProtocol = None
2948
+ self.SlowStartEnabled = None
2949
+ self.SlowStartDuration = None
2950
+ self.HttpMethod = None
2951
+ self.HealthCode = None
2952
+ self.HealthCheckReq = None
2953
+ self.HealthCheckExp = None
2954
+
2955
+ def _deserialize(self, params):
2956
+ if params.get("BackendServerGroupId"):
2957
+ self.BackendServerGroupId = params.get("BackendServerGroupId")
2958
+ if params.get("Name"):
2959
+ self.Name = params.get("Name")
2960
+ if params.get("UpstreamKeepalive"):
2961
+ self.UpstreamKeepalive = params.get("UpstreamKeepalive")
2962
+ if params.get("Method"):
2963
+ self.Method = params.get("Method")
2964
+ if params.get("SessionState"):
2965
+ self.SessionState = params.get("SessionState")
2966
+ if params.get("SessionPersistencePeriod"):
2967
+ self.SessionPersistencePeriod = params.get("SessionPersistencePeriod")
2968
+ if params.get("CookieType"):
2969
+ self.CookieType = params.get("CookieType")
2970
+ if params.get("CookieName"):
2971
+ self.CookieName = params.get("CookieName")
2972
+ if params.get("HealthCheckState"):
2973
+ self.HealthCheckState = params.get("HealthCheckState")
2974
+ if params.get("Timeout"):
2975
+ self.Timeout = params.get("Timeout")
2976
+ if params.get("Interval"):
2977
+ self.Interval = params.get("Interval")
2978
+ if params.get("HealthyThreshold"):
2979
+ self.HealthyThreshold = params.get("HealthyThreshold")
2980
+ if params.get("UnhealthyThreshold"):
2981
+ self.UnhealthyThreshold = params.get("UnhealthyThreshold")
2982
+ if params.get("UrlPath"):
2983
+ self.UrlPath = params.get("UrlPath")
2984
+ if params.get("HostName"):
2985
+ self.HostName = params.get("HostName")
2986
+ if params.get("HealthCheckConnectPort"):
2987
+ self.HealthCheckConnectPort = params.get("HealthCheckConnectPort")
2988
+ if params.get("HealthProtocol"):
2989
+ self.HealthProtocol = params.get("HealthProtocol")
2990
+ if params.get("SlowStartEnabled"):
2991
+ self.SlowStartEnabled = params.get("SlowStartEnabled")
2992
+ if params.get("SlowStartDuration"):
2993
+ self.SlowStartDuration = params.get("SlowStartDuration")
2994
+ if params.get("HttpMethod"):
2995
+ self.HttpMethod = params.get("HttpMethod")
2996
+ if params.get("HealthCode"):
2997
+ self.HealthCode = params.get("HealthCode")
2998
+ if params.get("HealthCheckReq"):
2999
+ self.HealthCheckReq = params.get("HealthCheckReq")
3000
+ if params.get("HealthCheckExp"):
3001
+ self.HealthCheckExp = params.get("HealthCheckExp")
3002
+
3003
+
3004
+ class DescribeAlbBackendServerGroupsRequest(AbstractModel):
3005
+ """DescribeAlbBackendServerGroups请求参数结构体
3006
+ """
3007
+
3008
+ def __init__(self):
3009
+ r"""查询ALB服务器组
3010
+ :param Filter: 筛选Filter
3011
+ :type PathPrefix: Filter
3012
+ :param BackendServerGroupId: 多个服务器组id
3013
+ :type PathPrefix: Filter
3014
+ :param MaxResults: 单次调用可返回的最大条目数量
3015
+ :type PathPrefix: Int
3016
+ :param NextToken: 获取另一页返回结果的 token.
3017
+ :type PathPrefix: String
3018
+ """
3019
+ self.Filter = None
3020
+ self.BackendServerGroupId = None
3021
+ self.MaxResults = None
3022
+ self.NextToken = None
3023
+
3024
+ def _deserialize(self, params):
3025
+ if params.get("Filter"):
3026
+ self.Filter = params.get("Filter")
3027
+ if params.get("BackendServerGroupId"):
3028
+ self.BackendServerGroupId = params.get("BackendServerGroupId")
3029
+ if params.get("MaxResults"):
3030
+ self.MaxResults = params.get("MaxResults")
3031
+ if params.get("NextToken"):
3032
+ self.NextToken = params.get("NextToken")
3033
+
3034
+
3035
+ class RegisterAlbBackendServerRequest(AbstractModel):
3036
+ """RegisterAlbBackendServer请求参数结构体
3037
+ """
3038
+
3039
+ def __init__(self):
3040
+ r"""ALB注册服务器到服务器组
3041
+ :param BackendServerGroupId: ALB服务器组id
3042
+ :type PathPrefix: String
3043
+ :param BackendServerIp: 服务器ip
3044
+ :type PathPrefix: String
3045
+ :param Port: 服务器端口
3046
+ :type PathPrefix: Int
3047
+ :param Weight: 服务器权重
3048
+ :type PathPrefix: Int
3049
+ :param NetworkInterfaceId: 网卡id
3050
+ :type PathPrefix: String
3051
+ :param DirectConnectGatewayId: 边界网关id
3052
+ :type PathPrefix: String
3053
+ :param MasterSlaveType: 真实服务器的主备状态
3054
+ :type PathPrefix: String
3055
+ """
3056
+ self.BackendServerGroupId = None
3057
+ self.BackendServerIp = None
3058
+ self.Port = None
3059
+ self.Weight = None
3060
+ self.NetworkInterfaceId = None
3061
+ self.DirectConnectGatewayId = None
3062
+ self.MasterSlaveType = None
3063
+
3064
+ def _deserialize(self, params):
3065
+ if params.get("BackendServerGroupId"):
3066
+ self.BackendServerGroupId = params.get("BackendServerGroupId")
3067
+ if params.get("BackendServerIp"):
3068
+ self.BackendServerIp = params.get("BackendServerIp")
3069
+ if params.get("Port"):
3070
+ self.Port = params.get("Port")
3071
+ if params.get("Weight"):
3072
+ self.Weight = params.get("Weight")
3073
+ if params.get("NetworkInterfaceId"):
3074
+ self.NetworkInterfaceId = params.get("NetworkInterfaceId")
3075
+ if params.get("DirectConnectGatewayId"):
3076
+ self.DirectConnectGatewayId = params.get("DirectConnectGatewayId")
3077
+ if params.get("MasterSlaveType"):
3078
+ self.MasterSlaveType = params.get("MasterSlaveType")
3079
+
3080
+
3081
+ class DeregisterAlbBackendServerRequest(AbstractModel):
3082
+ """DeregisterAlbBackendServer请求参数结构体
3083
+ """
3084
+
3085
+ def __init__(self):
3086
+ r"""ALB从服务器组移除服务器
3087
+ :param BackendServerId: 服务器id
3088
+ :type PathPrefix: String
3089
+ """
3090
+ self.BackendServerId = None
3091
+
3092
+ def _deserialize(self, params):
3093
+ if params.get("BackendServerId"):
3094
+ self.BackendServerId = params.get("BackendServerId")
3095
+
3096
+
3097
+ class ModifyAlbBackendServerRequest(AbstractModel):
3098
+ """ModifyAlbBackendServer请求参数结构体
3099
+ """
3100
+
3101
+ def __init__(self):
3102
+ r"""修改ALB服务器信息
3103
+ :param BackendServerId: 服务器id
3104
+ :type PathPrefix: String
3105
+ :param Weight: 服务器的权重
3106
+ :type PathPrefix: Int
3107
+ :param Port: 服务器端口
3108
+ :type PathPrefix: Int
3109
+ :param MasterSlaveType: 真实服务器的主备状态(Master | Slave)
3110
+ :type PathPrefix: String
3111
+ """
3112
+ self.BackendServerId = None
3113
+ self.Weight = None
3114
+ self.Port = None
3115
+ self.MasterSlaveType = None
3116
+
3117
+ def _deserialize(self, params):
3118
+ if params.get("BackendServerId"):
3119
+ self.BackendServerId = params.get("BackendServerId")
3120
+ if params.get("Weight"):
3121
+ self.Weight = params.get("Weight")
3122
+ if params.get("Port"):
3123
+ self.Port = params.get("Port")
3124
+ if params.get("MasterSlaveType"):
3125
+ self.MasterSlaveType = params.get("MasterSlaveType")
3126
+
3127
+
3128
+ class DescribeAlbBackendServersRequest(AbstractModel):
3129
+ """DescribeAlbBackendServers请求参数结构体
3130
+ """
3131
+
3132
+ def __init__(self):
3133
+ r"""查询ALB服务器信息
3134
+ :param Filter: 筛选Filter
3135
+ :type PathPrefix: Filter
3136
+ :param BackendServerId: 多个服务器ServerId
3137
+ :type PathPrefix: Filter
3138
+ :param MaxResults: 单次调用可返回的最大条目数量
3139
+ :type PathPrefix: Int
3140
+ :param NextToken: 获取另一页返回结果的 token.
3141
+ :type PathPrefix: String
3142
+ """
3143
+ self.Filter = None
3144
+ self.BackendServerId = None
3145
+ self.MaxResults = None
3146
+ self.NextToken = None
3147
+
3148
+ def _deserialize(self, params):
3149
+ if params.get("Filter"):
3150
+ self.Filter = params.get("Filter")
3151
+ if params.get("BackendServerId"):
3152
+ self.BackendServerId = params.get("BackendServerId")
3153
+ if params.get("MaxResults"):
3154
+ self.MaxResults = params.get("MaxResults")
3155
+ if params.get("NextToken"):
3156
+ self.NextToken = params.get("NextToken")
3157
+
3158
+
3159
+ class RegisterBackendServerGroupWithListenerRequest(AbstractModel):
3160
+ """RegisterBackendServerGroupWithListener请求参数结构体
3161
+ """
3162
+
3163
+ def __init__(self):
3164
+ r"""监听器绑定服务器组
3165
+ :param ListenerId: 监听器的ID
3166
+ :type PathPrefix: String
3167
+ :param BackendServerGroupId: 后端服务器组的ID
3168
+ :type PathPrefix: String
3169
+ """
3170
+ self.ListenerId = None
3171
+ self.BackendServerGroupId = None
3172
+
3173
+ def _deserialize(self, params):
3174
+ if params.get("ListenerId"):
3175
+ self.ListenerId = params.get("ListenerId")
3176
+ if params.get("BackendServerGroupId"):
3177
+ self.BackendServerGroupId = params.get("BackendServerGroupId")
3178
+
3179
+
3180
+ class SetPrivateLinkDeleteProtectionRequest(AbstractModel):
3181
+ """SetPrivateLinkDeleteProtection请求参数结构体
3182
+ """
3183
+
3184
+ def __init__(self):
3185
+ r"""设置privateLink的删除保护
3186
+ :param InstanceId: 实例的ID
3187
+ :type PathPrefix: String
3188
+ :param DeleteProtection: 删除保护
3189
+ :type PathPrefix: String
3190
+ """
3191
+ self.InstanceId = None
3192
+ self.DeleteProtection = None
3193
+
3194
+ def _deserialize(self, params):
3195
+ if params.get("InstanceId"):
3196
+ self.InstanceId = params.get("InstanceId")
3197
+ if params.get("DeleteProtection"):
3198
+ self.DeleteProtection = params.get("DeleteProtection")
3199
+
3200
+
3201
+ class SetAlbDeleteProtectionRequest(AbstractModel):
3202
+ """SetAlbDeleteProtection请求参数结构体
3203
+ """
3204
+
3205
+ def __init__(self):
3206
+ r"""修改ALB删除保护
3207
+ :param albId: alb负载均衡id
3208
+ :type PathPrefix: String
3209
+ :param deleteProtection: 删除保护on/off
3210
+ :type PathPrefix: String
3211
+ """
3212
+ self.albId = None
3213
+ self.deleteProtection = None
3214
+
3215
+ def _deserialize(self, params):
3216
+ if params.get("albId"):
3217
+ self.albId = params.get("albId")
3218
+ if params.get("deleteProtection"):
3219
+ self.deleteProtection = params.get("deleteProtection")
3220
+
3221
+
3222
+ class SetAlbModificationProtectionRequest(AbstractModel):
3223
+ """SetAlbModificationProtection请求参数结构体
3224
+ """
3225
+
3226
+ def __init__(self):
3227
+ r"""修改ALB修改保护
3228
+ :param albId: alb负载均衡id
3229
+ :type PathPrefix: String
3230
+ :param modificationProtection: 修改保护on/off
3231
+ :type PathPrefix: String
3232
+ """
3233
+ self.albId = None
3234
+ self.modificationProtection = None
3235
+
3236
+ def _deserialize(self, params):
3237
+ if params.get("albId"):
3238
+ self.albId = params.get("albId")
3239
+ if params.get("modificationProtection"):
3240
+ self.modificationProtection = params.get("modificationProtection")
3241
+
3242
+
3243
+ class AddAlbRulesRequest(AbstractModel):
3244
+ """AddAlbRules请求参数结构体
3245
+ """
3246
+
3247
+ def __init__(self):
3248
+ r"""AddAlbRules
3249
+ :param AlbRuleGroupId: 转发策略的ID
3250
+ :type PathPrefix: String
3251
+ :param AlbRuleType: 匹配规则类型(domain|url|method|sourceIp|header|query|cookie)
3252
+ :type PathPrefix: String
3253
+ :param AlbRuleValue: 匹配规则的值
3254
+ :type PathPrefix: String
3255
+ :param MethodValue: HTTP请求方法
3256
+ :type PathPrefix: Array
3257
+ :param SourceIpValue: SourceIp
3258
+ :type PathPrefix: Array
3259
+ :param HeaderValue: HTTP标头
3260
+ :type PathPrefix: Array
3261
+ :param QueryValue: 查询字符串
3262
+ :type PathPrefix: Array
3263
+ :param CookieValue: Cookie转发条件
3264
+ :type PathPrefix: Array
3265
+ """
3266
+ self.AlbRuleGroupId = None
3267
+ self.AlbRuleType = None
3268
+ self.AlbRuleValue = None
3269
+ self.MethodValue = None
3270
+ self.SourceIpValue = None
3271
+ self.HeaderValue = None
3272
+ self.QueryValue = None
3273
+ self.CookieValue = None
3274
+
3275
+ def _deserialize(self, params):
3276
+ if params.get("AlbRuleGroupId"):
3277
+ self.AlbRuleGroupId = params.get("AlbRuleGroupId")
3278
+ if params.get("AlbRuleType"):
3279
+ self.AlbRuleType = params.get("AlbRuleType")
3280
+ if params.get("AlbRuleValue"):
3281
+ self.AlbRuleValue = params.get("AlbRuleValue")
3282
+ if params.get("MethodValue"):
3283
+ self.MethodValue = params.get("MethodValue")
3284
+ if params.get("SourceIpValue"):
3285
+ self.SourceIpValue = params.get("SourceIpValue")
3286
+ if params.get("HeaderValue"):
3287
+ self.HeaderValue = params.get("HeaderValue")
3288
+ if params.get("QueryValue"):
3289
+ self.QueryValue = params.get("QueryValue")
3290
+ if params.get("CookieValue"):
3291
+ self.CookieValue = params.get("CookieValue")
3292
+
3293
+
3294
+ class SetLbProtocolLayersRequest(AbstractModel):
3295
+ """SetLbProtocolLayers请求参数结构体
3296
+ """
3297
+
3298
+ def __init__(self):
3299
+ r"""设置ALB的实例规格
3300
+ :param AlbId: 负载均衡的ID
3301
+ :type PathPrefix: String
3302
+ :param ProtocolLayers: 实例规格,可选 L4 / L7 / L4-L7
3303
+ :type PathPrefix: String
3304
+ """
3305
+ self.AlbId = None
3306
+ self.ProtocolLayers = None
3307
+
3308
+ def _deserialize(self, params):
3309
+ if params.get("AlbId"):
3310
+ self.AlbId = params.get("AlbId")
3311
+ if params.get("ProtocolLayers"):
3312
+ self.ProtocolLayers = params.get("ProtocolLayers")
3313
+
3314
+