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
@@ -12,10 +12,13 @@ class CreateVpcRequest(AbstractModel):
12
12
  :type PathPrefix: String
13
13
  :param ProvidedIpv6CidrBlock: 是否支持IPv6网段,目前只支持部分机房
14
14
  :type PathPrefix: Boolean
15
+ :param Ipv6CidrBlock: Ipv6CidrBlock指定ipv6网段创建vpc,只有当ProvidedIpv6CidrBlock = true时生效,该参数可不传,不传则随机分配ipv6网段
16
+ :type PathPrefix: String
15
17
  """
16
18
  self.VpcName = None
17
19
  self.CidrBlock = None
18
20
  self.ProvidedIpv6CidrBlock = None
21
+ self.Ipv6CidrBlock = None
19
22
 
20
23
  def _deserialize(self, params):
21
24
  if params.get("VpcName"):
@@ -24,6 +27,8 @@ class CreateVpcRequest(AbstractModel):
24
27
  self.CidrBlock = params.get("CidrBlock")
25
28
  if params.get("ProvidedIpv6CidrBlock"):
26
29
  self.ProvidedIpv6CidrBlock = params.get("ProvidedIpv6CidrBlock")
30
+ if params.get("Ipv6CidrBlock"):
31
+ self.Ipv6CidrBlock = params.get("Ipv6CidrBlock")
27
32
 
28
33
 
29
34
  class DeleteVpcRequest(AbstractModel):
@@ -73,7 +78,7 @@ class CreateSubnetRequest(AbstractModel):
73
78
  """
74
79
 
75
80
  def __init__(self):
76
- r"""创建子网
81
+ r"""创建vpc子网
77
82
  :param VpcId: Vpc的ID
78
83
  :type PathPrefix: String
79
84
  :param SubnetName: 子网的名称
@@ -98,6 +103,8 @@ class CreateSubnetRequest(AbstractModel):
98
103
  :type PathPrefix: String
99
104
  :param AvailabilityZone: 可用区的名称,默认在可用区A创建,例如:cn-beijing-6a
100
105
  :type PathPrefix: String
106
+ :param VisitInternet: 裸金属子网是否支持公网访问,false: 禁止公网访问的子网,true:允许公网访问的子网,默认为true
107
+ :type PathPrefix: Boolean
101
108
  """
102
109
  self.VpcId = None
103
110
  self.SubnetName = None
@@ -111,6 +118,7 @@ class CreateSubnetRequest(AbstractModel):
111
118
  self.GatewayIp = None
112
119
  self.SecondaryCidrId = None
113
120
  self.AvailabilityZone = None
121
+ self.VisitInternet = None
114
122
 
115
123
  def _deserialize(self, params):
116
124
  if params.get("VpcId"):
@@ -137,6 +145,8 @@ class CreateSubnetRequest(AbstractModel):
137
145
  self.SecondaryCidrId = params.get("SecondaryCidrId")
138
146
  if params.get("AvailabilityZone"):
139
147
  self.AvailabilityZone = params.get("AvailabilityZone")
148
+ if params.get("VisitInternet"):
149
+ self.VisitInternet = params.get("VisitInternet")
140
150
 
141
151
 
142
152
  class DeleteSubnetRequest(AbstractModel):
@@ -160,7 +170,7 @@ class DescribeSubnetsRequest(AbstractModel):
160
170
  """
161
171
 
162
172
  def __init__(self):
163
- r"""描述子网
173
+ r"""描述VPC子网
164
174
  :param SubnetId: 多个子网的ID
165
175
  :type PathPrefix: Filter
166
176
  :param Filter: 筛选Filter
@@ -233,10 +243,10 @@ class CreateRouteRequest(AbstractModel):
233
243
  """
234
244
 
235
245
  def __init__(self):
236
- r"""创建路由
246
+ r"""创建vpc路由
237
247
  :param VpcId: Vpc的ID
238
248
  :type PathPrefix: String
239
- :param RouteType: 路由的类型
249
+ :param RouteType: 下一跳类型
240
250
  :type PathPrefix: String
241
251
  :param DestinationCidrBlock: 目标网段
242
252
  :type PathPrefix: String
@@ -248,8 +258,20 @@ class CreateRouteRequest(AbstractModel):
248
258
  :type PathPrefix: String
249
259
  :param VpnTunnelId: VPN通道的ID
250
260
  :type PathPrefix: String
261
+ :param VpnGatewayId: VPN网关的ID
262
+ :type PathPrefix: String
251
263
  :param NetworkInterfaceId: 网卡ID
252
264
  :type PathPrefix: String
265
+ :param HaVipId: 高可用虚拟IP的ID
266
+ :type PathPrefix: String
267
+ :param HaVipMasterNetworkInterfaceId: 高可用虚拟IP的主网卡ID
268
+ :type PathPrefix: String
269
+ :param CenId: 云企业网的ID
270
+ :type PathPrefix: String
271
+ :param Description: 路由描述(部分机房支持,不支持该参数的机房忽略此传值)
272
+ :type PathPrefix: String
273
+ :param RouteTableId: 路由表ID(部分机房支持,不支持该参数的机房忽略此传值)
274
+ :type PathPrefix: String
253
275
  """
254
276
  self.VpcId = None
255
277
  self.RouteType = None
@@ -258,7 +280,13 @@ class CreateRouteRequest(AbstractModel):
258
280
  self.VpcPeeringConnectionId = None
259
281
  self.DirectConnectGatewayId = None
260
282
  self.VpnTunnelId = None
283
+ self.VpnGatewayId = None
261
284
  self.NetworkInterfaceId = None
285
+ self.HaVipId = None
286
+ self.HaVipMasterNetworkInterfaceId = None
287
+ self.CenId = None
288
+ self.Description = None
289
+ self.RouteTableId = None
262
290
 
263
291
  def _deserialize(self, params):
264
292
  if params.get("VpcId"):
@@ -275,8 +303,20 @@ class CreateRouteRequest(AbstractModel):
275
303
  self.DirectConnectGatewayId = params.get("DirectConnectGatewayId")
276
304
  if params.get("VpnTunnelId"):
277
305
  self.VpnTunnelId = params.get("VpnTunnelId")
306
+ if params.get("VpnGatewayId"):
307
+ self.VpnGatewayId = params.get("VpnGatewayId")
278
308
  if params.get("NetworkInterfaceId"):
279
309
  self.NetworkInterfaceId = params.get("NetworkInterfaceId")
310
+ if params.get("HaVipId"):
311
+ self.HaVipId = params.get("HaVipId")
312
+ if params.get("HaVipMasterNetworkInterfaceId"):
313
+ self.HaVipMasterNetworkInterfaceId = params.get("HaVipMasterNetworkInterfaceId")
314
+ if params.get("CenId"):
315
+ self.CenId = params.get("CenId")
316
+ if params.get("Description"):
317
+ self.Description = params.get("Description")
318
+ if params.get("RouteTableId"):
319
+ self.RouteTableId = params.get("RouteTableId")
280
320
 
281
321
 
282
322
  class DeleteRouteRequest(AbstractModel):
@@ -284,7 +324,7 @@ class DeleteRouteRequest(AbstractModel):
284
324
  """
285
325
 
286
326
  def __init__(self):
287
- r"""删除路由
327
+ r"""删除vpc路由
288
328
  :param RouteId: 路由的ID
289
329
  :type PathPrefix: String
290
330
  """
@@ -300,7 +340,7 @@ class DescribeRoutesRequest(AbstractModel):
300
340
  """
301
341
 
302
342
  def __init__(self):
303
- r"""描述路由
343
+ r"""描述vpc路由
304
344
  :param RouteId: 多个路由的ID
305
345
  :type PathPrefix: Filter
306
346
  :param Filter: 筛选Filter
@@ -554,6 +594,10 @@ class AuthorizeSecurityGroupEntryRequest(AbstractModel):
554
594
  :type PathPrefix: Int
555
595
  :param RuleTag: 安全组规则标签
556
596
  :type PathPrefix: String
597
+ :param Priority: 优先级
598
+ :type PathPrefix: Int
599
+ :param Policy: 访问权限
600
+ :type PathPrefix: String
557
601
  """
558
602
  self.Description = None
559
603
  self.SecurityGroupId = None
@@ -565,6 +609,8 @@ class AuthorizeSecurityGroupEntryRequest(AbstractModel):
565
609
  self.PortRangeFrom = None
566
610
  self.PortRangeTo = None
567
611
  self.RuleTag = None
612
+ self.Priority = None
613
+ self.Policy = None
568
614
 
569
615
  def _deserialize(self, params):
570
616
  if params.get("Description"):
@@ -587,6 +633,10 @@ class AuthorizeSecurityGroupEntryRequest(AbstractModel):
587
633
  self.PortRangeTo = params.get("PortRangeTo")
588
634
  if params.get("RuleTag"):
589
635
  self.RuleTag = params.get("RuleTag")
636
+ if params.get("Priority"):
637
+ self.Priority = params.get("Priority")
638
+ if params.get("Policy"):
639
+ self.Policy = params.get("Policy")
590
640
 
591
641
 
592
642
  class RevokeSecurityGroupEntryRequest(AbstractModel):
@@ -730,6 +780,12 @@ class DescribeNatsRequest(AbstractModel):
730
780
  :type PathPrefix: Filter
731
781
  :param Filter: 筛选Filter
732
782
  :type PathPrefix: Filter
783
+ :param IsContainTag: 是否在返回值中包含资源标签信息
784
+ :type PathPrefix: Boolean
785
+ :param TagKey: 多个标签的键
786
+ :type PathPrefix: Filter
787
+ :param TagKV: 多个标签的键
788
+ :type PathPrefix: Filter
733
789
  :param MaxResults: 单次调用可返回的最大条目数量
734
790
  :type PathPrefix: Int
735
791
  :param NextToken: 获取另一页返回结果的 token.
@@ -738,6 +794,9 @@ class DescribeNatsRequest(AbstractModel):
738
794
  self.ProjectId = None
739
795
  self.NatId = None
740
796
  self.Filter = None
797
+ self.IsContainTag = None
798
+ self.TagKey = None
799
+ self.TagKV = None
741
800
  self.MaxResults = None
742
801
  self.NextToken = None
743
802
 
@@ -748,6 +807,12 @@ class DescribeNatsRequest(AbstractModel):
748
807
  self.NatId = params.get("NatId")
749
808
  if params.get("Filter"):
750
809
  self.Filter = params.get("Filter")
810
+ if params.get("IsContainTag"):
811
+ self.IsContainTag = params.get("IsContainTag")
812
+ if params.get("TagKey"):
813
+ self.TagKey = params.get("TagKey")
814
+ if params.get("TagKV"):
815
+ self.TagKV = params.get("TagKV")
751
816
  if params.get("MaxResults"):
752
817
  self.MaxResults = params.get("MaxResults")
753
818
  if params.get("NextToken"):
@@ -764,15 +829,20 @@ class AssociateNatRequest(AbstractModel):
764
829
  :type PathPrefix: String
765
830
  :param SubnetId: 子网的ID
766
831
  :type PathPrefix: String
832
+ :param NatIpId: 要绑定的NatIp的ID值
833
+ :type PathPrefix: Filter
767
834
  """
768
835
  self.NatId = None
769
836
  self.SubnetId = None
837
+ self.NatIpId = None
770
838
 
771
839
  def _deserialize(self, params):
772
840
  if params.get("NatId"):
773
841
  self.NatId = params.get("NatId")
774
842
  if params.get("SubnetId"):
775
843
  self.SubnetId = params.get("SubnetId")
844
+ if params.get("NatIpId"):
845
+ self.NatIpId = params.get("NatIpId")
776
846
 
777
847
 
778
848
  class DisassociateNatRequest(AbstractModel):
@@ -839,14 +909,14 @@ class CreateVpcPeeringConnectionRequest(AbstractModel):
839
909
  :type PathPrefix: String
840
910
  :param PeerVpcId: 接受端Vpc的ID
841
911
  :type PathPrefix: String
842
- :param Region: 发起端region
843
- :type PathPrefix: String
844
912
  :param PeerRegion: 接受端Vpc的region
845
913
  :type PathPrefix: String
846
914
  :param PeerAccountId: 接受端账号ID
847
915
  :type PathPrefix: String
848
916
  :param BandWidth: 对等连接的带宽,同机房时可缺省,带宽值为1000且不可修改,跨机房时不可缺省
849
917
  :type PathPrefix: Int
918
+ :param PurchaseTime: 购买时长,计费类型为包年包月时不可缺省。
919
+ :type PathPrefix: Int
850
920
  :param ProjectId: 项目的ID
851
921
  :type PathPrefix: String
852
922
  :param ChargeType: 对等连接的计费类型,同机房的对端连接此参数缺省
@@ -855,10 +925,10 @@ class CreateVpcPeeringConnectionRequest(AbstractModel):
855
925
  self.VpcId = None
856
926
  self.PeeringName = None
857
927
  self.PeerVpcId = None
858
- self.Region = None
859
928
  self.PeerRegion = None
860
929
  self.PeerAccountId = None
861
930
  self.BandWidth = None
931
+ self.PurchaseTime = None
862
932
  self.ProjectId = None
863
933
  self.ChargeType = None
864
934
 
@@ -869,14 +939,14 @@ class CreateVpcPeeringConnectionRequest(AbstractModel):
869
939
  self.PeeringName = params.get("PeeringName")
870
940
  if params.get("PeerVpcId"):
871
941
  self.PeerVpcId = params.get("PeerVpcId")
872
- if params.get("Region"):
873
- self.Region = params.get("Region")
874
942
  if params.get("PeerRegion"):
875
943
  self.PeerRegion = params.get("PeerRegion")
876
944
  if params.get("PeerAccountId"):
877
945
  self.PeerAccountId = params.get("PeerAccountId")
878
946
  if params.get("BandWidth"):
879
947
  self.BandWidth = params.get("BandWidth")
948
+ if params.get("PurchaseTime"):
949
+ self.PurchaseTime = params.get("PurchaseTime")
880
950
  if params.get("ProjectId"):
881
951
  self.ProjectId = params.get("ProjectId")
882
952
  if params.get("ChargeType"):
@@ -1252,6 +1322,12 @@ class CreateDirectConnectInterfaceRequest(AbstractModel):
1252
1322
  :type PathPrefix: String
1253
1323
  :param BgpClientToken: BGP 秘钥
1254
1324
  :type PathPrefix: String
1325
+ :param EnableIpv6: 是否开启Ipv6
1326
+ :type PathPrefix: Boolean
1327
+ :param CustomerIpv6PeerIp: 客户侧ipv6互联IP
1328
+ :type PathPrefix: String
1329
+ :param LocalIpv6PeerIp: 金山云侧ipv6互联IP
1330
+ :type PathPrefix: String
1255
1331
  """
1256
1332
  self.DirectConnectId = None
1257
1333
  self.VlanId = None
@@ -1267,6 +1343,9 @@ class CreateDirectConnectInterfaceRequest(AbstractModel):
1267
1343
  self.ReliabilityMethod = None
1268
1344
  self.BfdConfigId = None
1269
1345
  self.BgpClientToken = None
1346
+ self.EnableIpv6 = None
1347
+ self.CustomerIpv6PeerIp = None
1348
+ self.LocalIpv6PeerIp = None
1270
1349
 
1271
1350
  def _deserialize(self, params):
1272
1351
  if params.get("DirectConnectId"):
@@ -1297,6 +1376,12 @@ class CreateDirectConnectInterfaceRequest(AbstractModel):
1297
1376
  self.BfdConfigId = params.get("BfdConfigId")
1298
1377
  if params.get("BgpClientToken"):
1299
1378
  self.BgpClientToken = params.get("BgpClientToken")
1379
+ if params.get("EnableIpv6"):
1380
+ self.EnableIpv6 = params.get("EnableIpv6")
1381
+ if params.get("CustomerIpv6PeerIp"):
1382
+ self.CustomerIpv6PeerIp = params.get("CustomerIpv6PeerIp")
1383
+ if params.get("LocalIpv6PeerIp"):
1384
+ self.LocalIpv6PeerIp = params.get("LocalIpv6PeerIp")
1300
1385
 
1301
1386
 
1302
1387
  class DeleteDirectConnectInterfaceRequest(AbstractModel):
@@ -1511,6 +1596,8 @@ class CreateVpnGatewayRequest(AbstractModel):
1511
1596
  :type PathPrefix: String
1512
1597
  :param PurchaseTime: 购买时长,计费类型为包年包月时不可缺省。
1513
1598
  :type PathPrefix: Int
1599
+ :param VpnGatewayVersion: VPN网关的版本,支持1.0/2.0
1600
+ :type PathPrefix: String
1514
1601
  """
1515
1602
  self.VpcId = None
1516
1603
  self.BandWidth = None
@@ -1518,6 +1605,7 @@ class CreateVpnGatewayRequest(AbstractModel):
1518
1605
  self.ProjectId = None
1519
1606
  self.ChargeType = None
1520
1607
  self.PurchaseTime = None
1608
+ self.VpnGatewayVersion = None
1521
1609
 
1522
1610
  def _deserialize(self, params):
1523
1611
  if params.get("VpcId"):
@@ -1532,6 +1620,8 @@ class CreateVpnGatewayRequest(AbstractModel):
1532
1620
  self.ChargeType = params.get("ChargeType")
1533
1621
  if params.get("PurchaseTime"):
1534
1622
  self.PurchaseTime = params.get("PurchaseTime")
1623
+ if params.get("VpnGatewayVersion"):
1624
+ self.VpnGatewayVersion = params.get("VpnGatewayVersion")
1535
1625
 
1536
1626
 
1537
1627
  class ModifyVpnGatewayRequest(AbstractModel):
@@ -1632,8 +1722,10 @@ class CreateVpnTunnelRequest(AbstractModel):
1632
1722
  :type PathPrefix: String
1633
1723
  :param IkeEncryAlgorithm: IKE加密算法
1634
1724
  :type PathPrefix: String
1635
- :param Type: 客户网关的类型(GreOverIpsec|Ipsec)
1725
+ :param Type: 客户网关的类型(GreOverIpsec|Ipsec|route_ipsec|ipsec)
1636
1726
  :type PathPrefix: String
1727
+ :param OpenHealthCheck: 开启健康检查
1728
+ :type PathPrefix: Boolean
1637
1729
  :param PreSharedKey: 预共享密钥。对称加密的KEY,VPN端和客户端统一,用户自行填写
1638
1730
  :type PathPrefix: String
1639
1731
  :param IpsecLifetimeSecond: 生存周期(S)
@@ -1652,6 +1744,14 @@ class CreateVpnTunnelRequest(AbstractModel):
1652
1744
  :type PathPrefix: String
1653
1745
  :param HaCustomerGreIp: GRE模式开启HA模式客户的IP
1654
1746
  :type PathPrefix: String
1747
+ :param HaMode: •高可用模式, active_active (负载) 、active_standby(主备)
1748
+ :type PathPrefix: String
1749
+ :param LocalPeerIp: 金山侧互联IP
1750
+ :type PathPrefix: String
1751
+ :param CustomerPeerIp: •客户侧互联IP
1752
+ :type PathPrefix: String
1753
+ :param IkeVersion: ••IKE版本
1754
+ :type PathPrefix: String
1655
1755
  """
1656
1756
  self.CustomerGatewayId = None
1657
1757
  self.VpnGatewayId = None
@@ -1661,6 +1761,7 @@ class CreateVpnTunnelRequest(AbstractModel):
1661
1761
  self.IkeAuthenAlgorithm = None
1662
1762
  self.IkeEncryAlgorithm = None
1663
1763
  self.Type = None
1764
+ self.OpenHealthCheck = None
1664
1765
  self.PreSharedKey = None
1665
1766
  self.IpsecLifetimeSecond = None
1666
1767
  self.IpsecLifetimeTraffic = None
@@ -1670,6 +1771,10 @@ class CreateVpnTunnelRequest(AbstractModel):
1670
1771
  self.HaVpnGreIp = None
1671
1772
  self.CustomerGreIp = None
1672
1773
  self.HaCustomerGreIp = None
1774
+ self.HaMode = None
1775
+ self.LocalPeerIp = None
1776
+ self.CustomerPeerIp = None
1777
+ self.IkeVersion = None
1673
1778
 
1674
1779
  def _deserialize(self, params):
1675
1780
  if params.get("CustomerGatewayId"):
@@ -1688,6 +1793,8 @@ class CreateVpnTunnelRequest(AbstractModel):
1688
1793
  self.IkeEncryAlgorithm = params.get("IkeEncryAlgorithm")
1689
1794
  if params.get("Type"):
1690
1795
  self.Type = params.get("Type")
1796
+ if params.get("OpenHealthCheck"):
1797
+ self.OpenHealthCheck = params.get("OpenHealthCheck")
1691
1798
  if params.get("PreSharedKey"):
1692
1799
  self.PreSharedKey = params.get("PreSharedKey")
1693
1800
  if params.get("IpsecLifetimeSecond"):
@@ -1706,6 +1813,14 @@ class CreateVpnTunnelRequest(AbstractModel):
1706
1813
  self.CustomerGreIp = params.get("CustomerGreIp")
1707
1814
  if params.get("HaCustomerGreIp"):
1708
1815
  self.HaCustomerGreIp = params.get("HaCustomerGreIp")
1816
+ if params.get("HaMode"):
1817
+ self.HaMode = params.get("HaMode")
1818
+ if params.get("LocalPeerIp"):
1819
+ self.LocalPeerIp = params.get("LocalPeerIp")
1820
+ if params.get("CustomerPeerIp"):
1821
+ self.CustomerPeerIp = params.get("CustomerPeerIp")
1822
+ if params.get("IkeVersion"):
1823
+ self.IkeVersion = params.get("IkeVersion")
1709
1824
 
1710
1825
 
1711
1826
  class ModifyVpnTunnelRequest(AbstractModel):
@@ -1912,208 +2027,259 @@ class DescribeSubnetAllocatedIpAddressesRequest(AbstractModel):
1912
2027
  self.NextToken = params.get("NextToken")
1913
2028
 
1914
2029
 
1915
- class DeleteNetworkInterfaceRequest(AbstractModel):
1916
- """DeleteNetworkInterface请求参数结构体
2030
+ class AddNatIpRequest(AbstractModel):
2031
+ """AddNatIp请求参数结构体
1917
2032
  """
1918
2033
 
1919
2034
  def __init__(self):
1920
- r"""删除弹性网卡
1921
- :param NetworkInterfaceId: 网卡的ID
2035
+ r"""增加NAT IP
2036
+ :param NatId: Nat的ID
1922
2037
  :type PathPrefix: String
2038
+ :param AddNumber: 新增的NAT IP数量,每个NAT的IP数量不得超过20个,否则无法添加
2039
+ :type PathPrefix: Int
1923
2040
  """
1924
- self.NetworkInterfaceId = None
2041
+ self.NatId = None
2042
+ self.AddNumber = None
1925
2043
 
1926
2044
  def _deserialize(self, params):
1927
- if params.get("NetworkInterfaceId"):
1928
- self.NetworkInterfaceId = params.get("NetworkInterfaceId")
2045
+ if params.get("NatId"):
2046
+ self.NatId = params.get("NatId")
2047
+ if params.get("AddNumber"):
2048
+ self.AddNumber = params.get("AddNumber")
1929
2049
 
1930
2050
 
1931
- class CreateNetworkInterfaceRequest(AbstractModel):
1932
- """CreateNetworkInterface请求参数结构体
2051
+ class DeleteNatIpRequest(AbstractModel):
2052
+ """DeleteNatIp请求参数结构体
1933
2053
  """
1934
2054
 
1935
2055
  def __init__(self):
1936
- r"""创建弹性网卡
1937
- :param SubnetId: 子网的ID
1938
- :type PathPrefix: String
1939
- :param NetworkInterfaceName: 网卡的名称
2056
+ r"""删除NATIP
2057
+ :param NatId: Nat的ID
1940
2058
  :type PathPrefix: String
1941
- :param PrivateIpAddress: 网卡的私网IP
2059
+ :param NatIpId: Nat IP的ID
1942
2060
  :type PathPrefix: String
1943
- :param SecurityGroupId: 一个或多个安全组的ID,不能为空
1944
- :type PathPrefix: Filter
1945
2061
  """
1946
- self.SubnetId = None
1947
- self.NetworkInterfaceName = None
1948
- self.PrivateIpAddress = None
1949
- self.SecurityGroupId = None
2062
+ self.NatId = None
2063
+ self.NatIpId = None
1950
2064
 
1951
2065
  def _deserialize(self, params):
1952
- if params.get("SubnetId"):
1953
- self.SubnetId = params.get("SubnetId")
1954
- if params.get("NetworkInterfaceName"):
1955
- self.NetworkInterfaceName = params.get("NetworkInterfaceName")
1956
- if params.get("PrivateIpAddress"):
1957
- self.PrivateIpAddress = params.get("PrivateIpAddress")
1958
- if params.get("SecurityGroupId"):
1959
- self.SecurityGroupId = params.get("SecurityGroupId")
2066
+ if params.get("NatId"):
2067
+ self.NatId = params.get("NatId")
2068
+ if params.get("NatIpId"):
2069
+ self.NatIpId = params.get("NatIpId")
1960
2070
 
1961
2071
 
1962
- class ModifyNetworkInterfaceRequest(AbstractModel):
1963
- """ModifyNetworkInterface请求参数结构体
2072
+ class AssociateVpcCidrBlockRequest(AbstractModel):
2073
+ """AssociateVpcCidrBlock请求参数结构体
1964
2074
  """
1965
2075
 
1966
2076
  def __init__(self):
1967
- r"""修改弹性网卡名称
1968
- :param NetworkInterfaceName: 网卡的名称
1969
- :type PathPrefix: String
1970
- :param NetworkInterfaceId: 网卡ID
2077
+ r"""为VPC添加IPv6网段
2078
+ :param VpcId: Vpc的ID
1971
2079
  :type PathPrefix: String
1972
2080
  """
1973
- self.NetworkInterfaceName = None
1974
- self.NetworkInterfaceId = None
2081
+ self.VpcId = None
1975
2082
 
1976
2083
  def _deserialize(self, params):
1977
- if params.get("NetworkInterfaceName"):
1978
- self.NetworkInterfaceName = params.get("NetworkInterfaceName")
1979
- if params.get("NetworkInterfaceId"):
1980
- self.NetworkInterfaceId = params.get("NetworkInterfaceId")
2084
+ if params.get("VpcId"):
2085
+ self.VpcId = params.get("VpcId")
1981
2086
 
1982
2087
 
1983
- class CreateHaVipRequest(AbstractModel):
1984
- """CreateHaVip请求参数结构体
2088
+ class DescribeIpv6PublicIpAddressesRequest(AbstractModel):
2089
+ """DescribeIpv6PublicIpAddresses请求参数结构体
1985
2090
  """
1986
2091
 
1987
2092
  def __init__(self):
1988
- r"""创建HaVip
1989
- :param SubnetId: 子网的ID
1990
- :type PathPrefix: String
1991
- :param IpAddress: 高可用虚拟IP的IP地址
2093
+ r"""网卡IPV6公网信息查询
2094
+ :param Ipv6PublicIpAddressId: 多个IPV6公网的ID
2095
+ :type PathPrefix: Filter
2096
+ :param Filter: 筛选Filter
2097
+ :type PathPrefix: Filter
2098
+ :param MaxResults: 单次调用可返回的最大条目数量
2099
+ :type PathPrefix: Int
2100
+ :param NextToken: 获取另一页返回结果的 token.
1992
2101
  :type PathPrefix: String
1993
2102
  """
1994
- self.SubnetId = None
1995
- self.IpAddress = None
2103
+ self.Ipv6PublicIpAddressId = None
2104
+ self.Filter = None
2105
+ self.MaxResults = None
2106
+ self.NextToken = None
1996
2107
 
1997
2108
  def _deserialize(self, params):
1998
- if params.get("SubnetId"):
1999
- self.SubnetId = params.get("SubnetId")
2000
- if params.get("IpAddress"):
2001
- self.IpAddress = params.get("IpAddress")
2109
+ if params.get("Ipv6PublicIpAddressId"):
2110
+ self.Ipv6PublicIpAddressId = params.get("Ipv6PublicIpAddressId")
2111
+ if params.get("Filter"):
2112
+ self.Filter = params.get("Filter")
2113
+ if params.get("MaxResults"):
2114
+ self.MaxResults = params.get("MaxResults")
2115
+ if params.get("NextToken"):
2116
+ self.NextToken = params.get("NextToken")
2002
2117
 
2003
2118
 
2004
- class DeleteHaVipRequest(AbstractModel):
2005
- """DeleteHaVip请求参数结构体
2119
+ class DescribeIpv6NetworkInterfacesRequest(AbstractModel):
2120
+ """DescribeIpv6NetworkInterfaces请求参数结构体
2006
2121
  """
2007
2122
 
2008
2123
  def __init__(self):
2009
- r"""删除HaVip
2010
- :param HaVipId: 高可用虚拟IP的ID
2124
+ r"""描述具有IPV6的网卡信息
2125
+ :param NetworkInterfaceId: 多个网卡的ID
2126
+ :type PathPrefix: Filter
2127
+ :param Filter: 筛选Filter
2128
+ :type PathPrefix: Filter
2129
+ :param MaxResults: 单次调用可返回的最大条目数量
2130
+ :type PathPrefix: Int
2131
+ :param NextToken: 获取另一页返回结果的 token.
2011
2132
  :type PathPrefix: String
2012
2133
  """
2013
- self.HaVipId = None
2134
+ self.NetworkInterfaceId = None
2135
+ self.Filter = None
2136
+ self.MaxResults = None
2137
+ self.NextToken = None
2014
2138
 
2015
2139
  def _deserialize(self, params):
2016
- if params.get("HaVipId"):
2017
- self.HaVipId = params.get("HaVipId")
2140
+ if params.get("NetworkInterfaceId"):
2141
+ self.NetworkInterfaceId = params.get("NetworkInterfaceId")
2142
+ if params.get("Filter"):
2143
+ self.Filter = params.get("Filter")
2144
+ if params.get("MaxResults"):
2145
+ self.MaxResults = params.get("MaxResults")
2146
+ if params.get("NextToken"):
2147
+ self.NextToken = params.get("NextToken")
2018
2148
 
2019
2149
 
2020
- class AssociateHaVipRequest(AbstractModel):
2021
- """AssociateHaVip请求参数结构体
2150
+ class CreateIpv6PublicIpRequest(AbstractModel):
2151
+ """CreateIpv6PublicIp请求参数结构体
2022
2152
  """
2023
2153
 
2024
2154
  def __init__(self):
2025
- r"""绑定HaVip
2026
- :param NetworkInterfaceId: 网卡的ID
2155
+ r"""开通IPV6公网能力
2156
+ :param NetworkInterfaceId: 弹性网卡的ID
2027
2157
  :type PathPrefix: String
2028
- :param HaVipId: 高可用虚拟IP的ID
2158
+ :param BandWidth: Ipv6公网的带宽
2159
+ :type PathPrefix: Int
2160
+ :param Ipv6PublicIpAddress: Ipv6公网的地址
2161
+ :type PathPrefix: String
2162
+ :param ChargeType: Nat的计费类型
2029
2163
  :type PathPrefix: String
2164
+ :param PurchaseTime: 购买时长,计费类型为包年包月时不可缺省。
2165
+ :type PathPrefix: Int
2030
2166
  """
2031
2167
  self.NetworkInterfaceId = None
2032
- self.HaVipId = None
2168
+ self.BandWidth = None
2169
+ self.Ipv6PublicIpAddress = None
2170
+ self.ChargeType = None
2171
+ self.PurchaseTime = None
2033
2172
 
2034
2173
  def _deserialize(self, params):
2035
2174
  if params.get("NetworkInterfaceId"):
2036
2175
  self.NetworkInterfaceId = params.get("NetworkInterfaceId")
2037
- if params.get("HaVipId"):
2038
- self.HaVipId = params.get("HaVipId")
2176
+ if params.get("BandWidth"):
2177
+ self.BandWidth = params.get("BandWidth")
2178
+ if params.get("Ipv6PublicIpAddress"):
2179
+ self.Ipv6PublicIpAddress = params.get("Ipv6PublicIpAddress")
2180
+ if params.get("ChargeType"):
2181
+ self.ChargeType = params.get("ChargeType")
2182
+ if params.get("PurchaseTime"):
2183
+ self.PurchaseTime = params.get("PurchaseTime")
2039
2184
 
2040
2185
 
2041
- class UnAssociateHaVipRequest(AbstractModel):
2042
- """UnAssociateHaVip请求参数结构体
2186
+ class ReleaseIpv6PublicIpRequest(AbstractModel):
2187
+ """ReleaseIpv6PublicIp请求参数结构体
2043
2188
  """
2044
2189
 
2045
2190
  def __init__(self):
2046
- r"""解绑HaVip
2047
- :param NetworkInterfaceId: 网卡的ID
2048
- :type PathPrefix: String
2049
- :param HaVipId: 高可用虚拟IP的ID
2191
+ r"""解除IPV6公网能力
2192
+ :param Ipv6PublicIpAddressId: Ipv6公网的ID
2050
2193
  :type PathPrefix: String
2051
2194
  """
2052
- self.NetworkInterfaceId = None
2053
- self.HaVipId = None
2195
+ self.Ipv6PublicIpAddressId = None
2054
2196
 
2055
2197
  def _deserialize(self, params):
2056
- if params.get("NetworkInterfaceId"):
2057
- self.NetworkInterfaceId = params.get("NetworkInterfaceId")
2058
- if params.get("HaVipId"):
2059
- self.HaVipId = params.get("HaVipId")
2198
+ if params.get("Ipv6PublicIpAddressId"):
2199
+ self.Ipv6PublicIpAddressId = params.get("Ipv6PublicIpAddressId")
2060
2200
 
2061
2201
 
2062
- class DescribeHaVipRequest(AbstractModel):
2063
- """DescribeHaVip请求参数结构体
2202
+ class AlterIpv6PublicIpStateRequest(AbstractModel):
2203
+ """AlterIpv6PublicIpState请求参数结构体
2064
2204
  """
2065
2205
 
2066
2206
  def __init__(self):
2067
- r"""查询HaVip
2068
- :param HaVipId: 多个高可用虚拟IP的ID
2069
- :type PathPrefix: Filter
2070
- :param Filter: 筛选Filter
2071
- :type PathPrefix: Filter
2072
- :param MaxResults: 单次调用可返回的最大条目数量
2073
- :type PathPrefix: Int
2074
- :param NextToken: 获取另一页返回结果的 token.
2207
+ r"""挂起IPV6
2208
+ :param Ipv6PublicIpAddressId: Ipv6公网的ID
2209
+ :type PathPrefix: String
2210
+ :param State: 状态(start|stop)
2075
2211
  :type PathPrefix: String
2076
2212
  """
2077
- self.HaVipId = None
2078
- self.Filter = None
2079
- self.MaxResults = None
2080
- self.NextToken = None
2213
+ self.Ipv6PublicIpAddressId = None
2214
+ self.State = None
2081
2215
 
2082
2216
  def _deserialize(self, params):
2083
- if params.get("HaVipId"):
2084
- self.HaVipId = params.get("HaVipId")
2085
- if params.get("Filter"):
2086
- self.Filter = params.get("Filter")
2087
- if params.get("MaxResults"):
2088
- self.MaxResults = params.get("MaxResults")
2089
- if params.get("NextToken"):
2090
- self.NextToken = params.get("NextToken")
2217
+ if params.get("Ipv6PublicIpAddressId"):
2218
+ self.Ipv6PublicIpAddressId = params.get("Ipv6PublicIpAddressId")
2219
+ if params.get("State"):
2220
+ self.State = params.get("State")
2091
2221
 
2092
2222
 
2093
- class DeleteDirectConnectGatewayRouteRequest(AbstractModel):
2094
- """DeleteDirectConnectGatewayRoute请求参数结构体
2223
+ class ModifyIpv6PublicIpRequest(AbstractModel):
2224
+ """ModifyIpv6PublicIp请求参数结构体
2095
2225
  """
2096
2226
 
2097
2227
  def __init__(self):
2098
- r"""删除边界网关路由
2099
- :param DirectConnectGatewayRouteId: 边界网关路由ID
2228
+ r"""修改IPV6公网带宽
2229
+ :param Ipv6PublicIpAddressId: Ipv6公网的ID
2100
2230
  :type PathPrefix: String
2231
+ :param BandWidth: Ipv6公网的带宽
2232
+ :type PathPrefix: Int
2101
2233
  """
2102
- self.DirectConnectGatewayRouteId = None
2234
+ self.Ipv6PublicIpAddressId = None
2235
+ self.BandWidth = None
2103
2236
 
2104
2237
  def _deserialize(self, params):
2105
- if params.get("DirectConnectGatewayRouteId"):
2106
- self.DirectConnectGatewayRouteId = params.get("DirectConnectGatewayRouteId")
2238
+ if params.get("Ipv6PublicIpAddressId"):
2239
+ self.Ipv6PublicIpAddressId = params.get("Ipv6PublicIpAddressId")
2240
+ if params.get("BandWidth"):
2241
+ self.BandWidth = params.get("BandWidth")
2107
2242
 
2108
2243
 
2109
- class DescribeDirectConnectGatewayRouteRequest(AbstractModel):
2110
- """DescribeDirectConnectGatewayRoute请求参数结构体
2244
+ class ModifyPrivateIpAddressAttributeRequest(AbstractModel):
2245
+ """ModifyPrivateIpAddressAttribute请求参数结构体
2111
2246
  """
2112
2247
 
2113
2248
  def __init__(self):
2114
- r"""查询边界网关路由
2115
- :param DirectConnectGatewayId: 边界网关的ID
2249
+ r"""修改内网IP属性
2250
+ :param SubnetId: 子网ID
2116
2251
  :type PathPrefix: String
2252
+ :param PrivateIpAddress: 私网IP地址
2253
+ :type PathPrefix: String
2254
+ :param Status: IP地址状态
2255
+ :type PathPrefix: String
2256
+ :param AllocateStatus: IP预留状态
2257
+ :type PathPrefix: String
2258
+ """
2259
+ self.SubnetId = None
2260
+ self.PrivateIpAddress = None
2261
+ self.Status = None
2262
+ self.AllocateStatus = None
2263
+
2264
+ def _deserialize(self, params):
2265
+ if params.get("SubnetId"):
2266
+ self.SubnetId = params.get("SubnetId")
2267
+ if params.get("PrivateIpAddress"):
2268
+ self.PrivateIpAddress = params.get("PrivateIpAddress")
2269
+ if params.get("Status"):
2270
+ self.Status = params.get("Status")
2271
+ if params.get("AllocateStatus"):
2272
+ self.AllocateStatus = params.get("AllocateStatus")
2273
+
2274
+
2275
+ class DescribeDirectConnectRoutesRequest(AbstractModel):
2276
+ """DescribeDirectConnectRoutes请求参数结构体
2277
+ """
2278
+
2279
+ def __init__(self):
2280
+ r"""查询专线路由
2281
+ :param DirectConnectRouteId: 专线路由的ID
2282
+ :type PathPrefix: Filter
2117
2283
  :param MaxResults: 单次调用可返回的最大条目数量
2118
2284
  :type PathPrefix: Int
2119
2285
  :param Filter: 筛选Filter
@@ -2121,14 +2287,14 @@ class DescribeDirectConnectGatewayRouteRequest(AbstractModel):
2121
2287
  :param NextToken: 获取另一页返回结果的 token.
2122
2288
  :type PathPrefix: String
2123
2289
  """
2124
- self.DirectConnectGatewayId = None
2290
+ self.DirectConnectRouteId = None
2125
2291
  self.MaxResults = None
2126
2292
  self.Filter = None
2127
2293
  self.NextToken = None
2128
2294
 
2129
2295
  def _deserialize(self, params):
2130
- if params.get("DirectConnectGatewayId"):
2131
- self.DirectConnectGatewayId = params.get("DirectConnectGatewayId")
2296
+ if params.get("DirectConnectRouteId"):
2297
+ self.DirectConnectRouteId = params.get("DirectConnectRouteId")
2132
2298
  if params.get("MaxResults"):
2133
2299
  self.MaxResults = params.get("MaxResults")
2134
2300
  if params.get("Filter"):
@@ -2137,29 +2303,795 @@ class DescribeDirectConnectGatewayRouteRequest(AbstractModel):
2137
2303
  self.NextToken = params.get("NextToken")
2138
2304
 
2139
2305
 
2140
- class PublishDirectConnectRouteRequest(AbstractModel):
2141
- """PublishDirectConnectRoute请求参数结构体
2306
+ class PublishDirectConnectRouteToBgpRequest(AbstractModel):
2307
+ """PublishDirectConnectRouteToBgp请求参数结构体
2142
2308
  """
2143
2309
 
2144
2310
  def __init__(self):
2145
- r"""发布边界网关路由到BGP
2146
- :param DirectConnectGatewayRouteId: 边界网关路由ID
2311
+ r"""发布边界网关路由到BGP(1.0/2.0)
2312
+ :param DirectConnectRouteId: 专线路由的ID
2147
2313
  :type PathPrefix: String
2148
2314
  """
2149
- self.DirectConnectGatewayRouteId = None
2315
+ self.DirectConnectRouteId = None
2150
2316
 
2151
2317
  def _deserialize(self, params):
2152
- if params.get("DirectConnectGatewayRouteId"):
2153
- self.DirectConnectGatewayRouteId = params.get("DirectConnectGatewayRouteId")
2318
+ if params.get("DirectConnectRouteId"):
2319
+ self.DirectConnectRouteId = params.get("DirectConnectRouteId")
2154
2320
 
2155
2321
 
2156
- class UnpublishDirectConnectRouteRequest(AbstractModel):
2157
- """UnpublishDirectConnectRoute请求参数结构体
2322
+ class CancelDirectConnectRouteToBgpRequest(AbstractModel):
2323
+ """CancelDirectConnectRouteToBgp请求参数结构体
2158
2324
  """
2159
2325
 
2160
2326
  def __init__(self):
2161
- r"""从BGP取消发布边界网关路由
2162
- :param DirectConnectGatewayRouteId: 边界网关路由ID
2327
+ r"""从BGP取消专线路由(1.0/2.0)
2328
+ :param DirectConnectRouteId: 专线路由的ID
2329
+ :type PathPrefix: String
2330
+ """
2331
+ self.DirectConnectRouteId = None
2332
+
2333
+ def _deserialize(self, params):
2334
+ if params.get("DirectConnectRouteId"):
2335
+ self.DirectConnectRouteId = params.get("DirectConnectRouteId")
2336
+
2337
+
2338
+ class DetachDirectConnectGatewayWithVpcRequest(AbstractModel):
2339
+ """DetachDirectConnectGatewayWithVpc请求参数结构体
2340
+ """
2341
+
2342
+ def __init__(self):
2343
+ r"""边界网关解绑VPC
2344
+ :param DirectConnectGatewayId: 边界网关的ID
2345
+ :type PathPrefix: String
2346
+ :param VpcId: Vpc的ID
2347
+ :type PathPrefix: String
2348
+ """
2349
+ self.DirectConnectGatewayId = None
2350
+ self.VpcId = None
2351
+
2352
+ def _deserialize(self, params):
2353
+ if params.get("DirectConnectGatewayId"):
2354
+ self.DirectConnectGatewayId = params.get("DirectConnectGatewayId")
2355
+ if params.get("VpcId"):
2356
+ self.VpcId = params.get("VpcId")
2357
+
2358
+
2359
+ class AttachDirectConnectGatewayWithVpcRequest(AbstractModel):
2360
+ """AttachDirectConnectGatewayWithVpc请求参数结构体
2361
+ """
2362
+
2363
+ def __init__(self):
2364
+ r"""边界网关关联VPC
2365
+ :param DirectConnectGatewayId: 边界网关的ID
2366
+ :type PathPrefix: String
2367
+ :param VpcId: Vpc的ID
2368
+ :type PathPrefix: String
2369
+ """
2370
+ self.DirectConnectGatewayId = None
2371
+ self.VpcId = None
2372
+
2373
+ def _deserialize(self, params):
2374
+ if params.get("DirectConnectGatewayId"):
2375
+ self.DirectConnectGatewayId = params.get("DirectConnectGatewayId")
2376
+ if params.get("VpcId"):
2377
+ self.VpcId = params.get("VpcId")
2378
+
2379
+
2380
+ class AllocateSubnetIpv6CidrBlockRequest(AbstractModel):
2381
+ """AllocateSubnetIpv6CidrBlock请求参数结构体
2382
+ """
2383
+
2384
+ def __init__(self):
2385
+ r"""为子网添加IPv6网段
2386
+ :param SubnetId: 子网ID
2387
+ :type PathPrefix: String
2388
+ """
2389
+ self.SubnetId = None
2390
+
2391
+ def _deserialize(self, params):
2392
+ if params.get("SubnetId"):
2393
+ self.SubnetId = params.get("SubnetId")
2394
+
2395
+
2396
+ class CreateRouteTableRequest(AbstractModel):
2397
+ """CreateRouteTable请求参数结构体
2398
+ """
2399
+
2400
+ def __init__(self):
2401
+ r"""创建路由表
2402
+ :param VpcId: Vpc的ID
2403
+ :type PathPrefix: String
2404
+ :param RouteTableName: 路由表的名称
2405
+ :type PathPrefix: String
2406
+ :param Description: 路由表的描述信息(部分机房支持,不支持该参数的机房忽略此传值)
2407
+ :type PathPrefix: String
2408
+ """
2409
+ self.VpcId = None
2410
+ self.RouteTableName = None
2411
+ self.Description = None
2412
+
2413
+ def _deserialize(self, params):
2414
+ if params.get("VpcId"):
2415
+ self.VpcId = params.get("VpcId")
2416
+ if params.get("RouteTableName"):
2417
+ self.RouteTableName = params.get("RouteTableName")
2418
+ if params.get("Description"):
2419
+ self.Description = params.get("Description")
2420
+
2421
+
2422
+ class DeleteRouteTableRequest(AbstractModel):
2423
+ """DeleteRouteTable请求参数结构体
2424
+ """
2425
+
2426
+ def __init__(self):
2427
+ r"""删除路由表
2428
+ :param RouteTableId: 路由表的ID
2429
+ :type PathPrefix: String
2430
+ """
2431
+ self.RouteTableId = None
2432
+
2433
+ def _deserialize(self, params):
2434
+ if params.get("RouteTableId"):
2435
+ self.RouteTableId = params.get("RouteTableId")
2436
+
2437
+
2438
+ class ModifyRouteTableRequest(AbstractModel):
2439
+ """ModifyRouteTable请求参数结构体
2440
+ """
2441
+
2442
+ def __init__(self):
2443
+ r"""修改路由表信息
2444
+ :param RouteTableId: 路由表的ID
2445
+ :type PathPrefix: String
2446
+ :param RouteTableName: 路由表的名称
2447
+ :type PathPrefix: String
2448
+ :param Description: 路由表的描述信息(部分机房支持,不支持该参数的机房忽略此传值)
2449
+ :type PathPrefix: String
2450
+ """
2451
+ self.RouteTableId = None
2452
+ self.RouteTableName = None
2453
+ self.Description = None
2454
+
2455
+ def _deserialize(self, params):
2456
+ if params.get("RouteTableId"):
2457
+ self.RouteTableId = params.get("RouteTableId")
2458
+ if params.get("RouteTableName"):
2459
+ self.RouteTableName = params.get("RouteTableName")
2460
+ if params.get("Description"):
2461
+ self.Description = params.get("Description")
2462
+
2463
+
2464
+ class DescribeRouteTablesRequest(AbstractModel):
2465
+ """DescribeRouteTables请求参数结构体
2466
+ """
2467
+
2468
+ def __init__(self):
2469
+ r"""描述路由表的信息
2470
+ :param RouteTableId: 多个路由表的ID
2471
+ :type PathPrefix: Filter
2472
+ :param Filter: 筛选Filter
2473
+ :type PathPrefix: Filter
2474
+ :param MaxResults: 单次调用可返回的最大条目数量
2475
+ :type PathPrefix: Int
2476
+ :param NextToken: 获取另一页返回结果的 token.
2477
+ :type PathPrefix: String
2478
+ """
2479
+ self.RouteTableId = None
2480
+ self.Filter = None
2481
+ self.MaxResults = None
2482
+ self.NextToken = None
2483
+
2484
+ def _deserialize(self, params):
2485
+ if params.get("RouteTableId"):
2486
+ self.RouteTableId = params.get("RouteTableId")
2487
+ if params.get("Filter"):
2488
+ self.Filter = params.get("Filter")
2489
+ if params.get("MaxResults"):
2490
+ self.MaxResults = params.get("MaxResults")
2491
+ if params.get("NextToken"):
2492
+ self.NextToken = params.get("NextToken")
2493
+
2494
+
2495
+ class AssociateRouteTableRequest(AbstractModel):
2496
+ """AssociateRouteTable请求参数结构体
2497
+ """
2498
+
2499
+ def __init__(self):
2500
+ r"""关联路由表
2501
+ :param SubnetId: 子网的ID
2502
+ :type PathPrefix: String
2503
+ :param RouteTableId: 路由表的ID
2504
+ :type PathPrefix: String
2505
+ """
2506
+ self.SubnetId = None
2507
+ self.RouteTableId = None
2508
+
2509
+ def _deserialize(self, params):
2510
+ if params.get("SubnetId"):
2511
+ self.SubnetId = params.get("SubnetId")
2512
+ if params.get("RouteTableId"):
2513
+ self.RouteTableId = params.get("RouteTableId")
2514
+
2515
+
2516
+ class DeleteNetworkInterfaceRequest(AbstractModel):
2517
+ """DeleteNetworkInterface请求参数结构体
2518
+ """
2519
+
2520
+ def __init__(self):
2521
+ r"""删除弹性网卡
2522
+ :param NetworkInterfaceId: 网卡的ID
2523
+ :type PathPrefix: String
2524
+ """
2525
+ self.NetworkInterfaceId = None
2526
+
2527
+ def _deserialize(self, params):
2528
+ if params.get("NetworkInterfaceId"):
2529
+ self.NetworkInterfaceId = params.get("NetworkInterfaceId")
2530
+
2531
+
2532
+ class CreateNetworkInterfaceRequest(AbstractModel):
2533
+ """CreateNetworkInterface请求参数结构体
2534
+ """
2535
+
2536
+ def __init__(self):
2537
+ r"""创建弹性网卡
2538
+ :param SubnetId: 子网的ID
2539
+ :type PathPrefix: String
2540
+ :param NetworkInterfaceName: 网卡的名称
2541
+ :type PathPrefix: String
2542
+ :param PrivateIpAddress: 网卡的私网IP
2543
+ :type PathPrefix: String
2544
+ :param SecurityGroupId: 一个或多个安全组的ID,不能为空
2545
+ :type PathPrefix: Filter
2546
+ """
2547
+ self.SubnetId = None
2548
+ self.NetworkInterfaceName = None
2549
+ self.PrivateIpAddress = None
2550
+ self.SecurityGroupId = None
2551
+
2552
+ def _deserialize(self, params):
2553
+ if params.get("SubnetId"):
2554
+ self.SubnetId = params.get("SubnetId")
2555
+ if params.get("NetworkInterfaceName"):
2556
+ self.NetworkInterfaceName = params.get("NetworkInterfaceName")
2557
+ if params.get("PrivateIpAddress"):
2558
+ self.PrivateIpAddress = params.get("PrivateIpAddress")
2559
+ if params.get("SecurityGroupId"):
2560
+ self.SecurityGroupId = params.get("SecurityGroupId")
2561
+
2562
+
2563
+ class ModifyNetworkInterfaceRequest(AbstractModel):
2564
+ """ModifyNetworkInterface请求参数结构体
2565
+ """
2566
+
2567
+ def __init__(self):
2568
+ r"""修改弹性网卡名称
2569
+ :param NetworkInterfaceName: 网卡的名称
2570
+ :type PathPrefix: String
2571
+ :param NetworkInterfaceId: 网卡ID
2572
+ :type PathPrefix: String
2573
+ """
2574
+ self.NetworkInterfaceName = None
2575
+ self.NetworkInterfaceId = None
2576
+
2577
+ def _deserialize(self, params):
2578
+ if params.get("NetworkInterfaceName"):
2579
+ self.NetworkInterfaceName = params.get("NetworkInterfaceName")
2580
+ if params.get("NetworkInterfaceId"):
2581
+ self.NetworkInterfaceId = params.get("NetworkInterfaceId")
2582
+
2583
+
2584
+ class CreateNatRateLimitRequest(AbstractModel):
2585
+ """CreateNatRateLimit请求参数结构体
2586
+ """
2587
+
2588
+ def __init__(self):
2589
+ r"""CreateNatRateLimit
2590
+ :param NetworkInterfaceId: 网卡ID
2591
+ :type PathPrefix: String
2592
+ :param BandwidthLimit: 出网带宽限速
2593
+ :type PathPrefix: Int
2594
+ :param inBandwidthLimit: 入网带宽限速
2595
+ :type PathPrefix: Int
2596
+ """
2597
+ self.NetworkInterfaceId = None
2598
+ self.BandwidthLimit = None
2599
+ self.inBandwidthLimit = None
2600
+
2601
+ def _deserialize(self, params):
2602
+ if params.get("NetworkInterfaceId"):
2603
+ self.NetworkInterfaceId = params.get("NetworkInterfaceId")
2604
+ if params.get("BandwidthLimit"):
2605
+ self.BandwidthLimit = params.get("BandwidthLimit")
2606
+ if params.get("inBandwidthLimit"):
2607
+ self.inBandwidthLimit = params.get("inBandwidthLimit")
2608
+
2609
+
2610
+ class DescribeNatRateLimitRequest(AbstractModel):
2611
+ """DescribeNatRateLimit请求参数结构体
2612
+ """
2613
+
2614
+ def __init__(self):
2615
+ r"""DescribeNatRateLimit
2616
+ :param NatId: Nat的ID
2617
+ :type PathPrefix: String
2618
+ :param Filter: 筛选Filter
2619
+ :type PathPrefix: Filter
2620
+ """
2621
+ self.NatId = None
2622
+ self.Filter = None
2623
+
2624
+ def _deserialize(self, params):
2625
+ if params.get("NatId"):
2626
+ self.NatId = params.get("NatId")
2627
+ if params.get("Filter"):
2628
+ self.Filter = params.get("Filter")
2629
+
2630
+
2631
+ class ModifyNatRateLimitRequest(AbstractModel):
2632
+ """ModifyNatRateLimit请求参数结构体
2633
+ """
2634
+
2635
+ def __init__(self):
2636
+ r"""ModifyNatRateLimit
2637
+ :param NatRateLimitId: 网关限速规则ID
2638
+ :type PathPrefix: String
2639
+ :param BandwidthLimit: 出网带宽限速
2640
+ :type PathPrefix: Int
2641
+ :param InBandwidthLimit: 入网带宽限速
2642
+ :type PathPrefix: Int
2643
+ """
2644
+ self.NatRateLimitId = None
2645
+ self.BandwidthLimit = None
2646
+ self.InBandwidthLimit = None
2647
+
2648
+ def _deserialize(self, params):
2649
+ if params.get("NatRateLimitId"):
2650
+ self.NatRateLimitId = params.get("NatRateLimitId")
2651
+ if params.get("BandwidthLimit"):
2652
+ self.BandwidthLimit = params.get("BandwidthLimit")
2653
+ if params.get("InBandwidthLimit"):
2654
+ self.InBandwidthLimit = params.get("InBandwidthLimit")
2655
+
2656
+
2657
+ class DeleteNatRateLimitRequest(AbstractModel):
2658
+ """DeleteNatRateLimit请求参数结构体
2659
+ """
2660
+
2661
+ def __init__(self):
2662
+ r"""DeleteNatRateLimit
2663
+ :param NatRateLimitId: 网关限速规则ID
2664
+ :type PathPrefix: String
2665
+ """
2666
+ self.NatRateLimitId = None
2667
+
2668
+ def _deserialize(self, params):
2669
+ if params.get("NatRateLimitId"):
2670
+ self.NatRateLimitId = params.get("NatRateLimitId")
2671
+
2672
+
2673
+ class CreateDnatRequest(AbstractModel):
2674
+ """CreateDnat请求参数结构体
2675
+ """
2676
+
2677
+ def __init__(self):
2678
+ r"""创建DNAT
2679
+ :param NatId: Nat的ID
2680
+ :type PathPrefix: String
2681
+ :param NatIp: Nat的IP
2682
+ :type PathPrefix: String
2683
+ :param DnatName: Dnat规则的名称
2684
+ :type PathPrefix: String
2685
+ :param PublicPort: 公网端口
2686
+ :type PathPrefix: String
2687
+ :param PrivateIpAddress: 服务器的私网IP
2688
+ :type PathPrefix: String
2689
+ :param IpProtocol: 协议类型
2690
+ :type PathPrefix: String
2691
+ :param PrivatePort: 服务器端口
2692
+ :type PathPrefix: String
2693
+ :param Description: 描述信息
2694
+ :type PathPrefix: String
2695
+ """
2696
+ self.NatId = None
2697
+ self.NatIp = None
2698
+ self.DnatName = None
2699
+ self.PublicPort = None
2700
+ self.PrivateIpAddress = None
2701
+ self.IpProtocol = None
2702
+ self.PrivatePort = None
2703
+ self.Description = None
2704
+
2705
+ def _deserialize(self, params):
2706
+ if params.get("NatId"):
2707
+ self.NatId = params.get("NatId")
2708
+ if params.get("NatIp"):
2709
+ self.NatIp = params.get("NatIp")
2710
+ if params.get("DnatName"):
2711
+ self.DnatName = params.get("DnatName")
2712
+ if params.get("PublicPort"):
2713
+ self.PublicPort = params.get("PublicPort")
2714
+ if params.get("PrivateIpAddress"):
2715
+ self.PrivateIpAddress = params.get("PrivateIpAddress")
2716
+ if params.get("IpProtocol"):
2717
+ self.IpProtocol = params.get("IpProtocol")
2718
+ if params.get("PrivatePort"):
2719
+ self.PrivatePort = params.get("PrivatePort")
2720
+ if params.get("Description"):
2721
+ self.Description = params.get("Description")
2722
+
2723
+
2724
+ class DeleteDnatRequest(AbstractModel):
2725
+ """DeleteDnat请求参数结构体
2726
+ """
2727
+
2728
+ def __init__(self):
2729
+ r"""删除DNAT
2730
+ :param DnatId: Dnat的ID
2731
+ :type PathPrefix: String
2732
+ """
2733
+ self.DnatId = None
2734
+
2735
+ def _deserialize(self, params):
2736
+ if params.get("DnatId"):
2737
+ self.DnatId = params.get("DnatId")
2738
+
2739
+
2740
+ class DescribeDnatsRequest(AbstractModel):
2741
+ """DescribeDnats请求参数结构体
2742
+ """
2743
+
2744
+ def __init__(self):
2745
+ r"""查询DNAT
2746
+ :param DnatId: 多个Dnat的ID
2747
+ :type PathPrefix: Filter
2748
+ :param Filter: 筛选Filter
2749
+ :type PathPrefix: Filter
2750
+ :param MaxResults: 单次调用可返回的最大条目数量
2751
+ :type PathPrefix: Int
2752
+ :param NextToken: 获取另一页返回结果的 token.
2753
+ :type PathPrefix: String
2754
+ """
2755
+ self.DnatId = None
2756
+ self.Filter = None
2757
+ self.MaxResults = None
2758
+ self.NextToken = None
2759
+
2760
+ def _deserialize(self, params):
2761
+ if params.get("DnatId"):
2762
+ self.DnatId = params.get("DnatId")
2763
+ if params.get("Filter"):
2764
+ self.Filter = params.get("Filter")
2765
+ if params.get("MaxResults"):
2766
+ self.MaxResults = params.get("MaxResults")
2767
+ if params.get("NextToken"):
2768
+ self.NextToken = params.get("NextToken")
2769
+
2770
+
2771
+ class ModifyDnatRequest(AbstractModel):
2772
+ """ModifyDnat请求参数结构体
2773
+ """
2774
+
2775
+ def __init__(self):
2776
+ r"""修改DNAT
2777
+ :param NatId: Nat的ID
2778
+ :type PathPrefix: String
2779
+ :param DnatId: Dnat规则的ID
2780
+ :type PathPrefix: String
2781
+ :param NatIp: Nat的IP
2782
+ :type PathPrefix: String
2783
+ :param DnatName: Dnat规则的名称
2784
+ :type PathPrefix: String
2785
+ :param PublicPort: 公网端口
2786
+ :type PathPrefix: String
2787
+ :param PrivateIpAddress: 服务器的私网IP
2788
+ :type PathPrefix: String
2789
+ :param IpProtocol: 协议类型
2790
+ :type PathPrefix: String
2791
+ :param PrivatePort: 服务器端口
2792
+ :type PathPrefix: String
2793
+ :param Description: 描述信息
2794
+ :type PathPrefix: String
2795
+ """
2796
+ self.NatId = None
2797
+ self.DnatId = None
2798
+ self.NatIp = None
2799
+ self.DnatName = None
2800
+ self.PublicPort = None
2801
+ self.PrivateIpAddress = None
2802
+ self.IpProtocol = None
2803
+ self.PrivatePort = None
2804
+ self.Description = None
2805
+
2806
+ def _deserialize(self, params):
2807
+ if params.get("NatId"):
2808
+ self.NatId = params.get("NatId")
2809
+ if params.get("DnatId"):
2810
+ self.DnatId = params.get("DnatId")
2811
+ if params.get("NatIp"):
2812
+ self.NatIp = params.get("NatIp")
2813
+ if params.get("DnatName"):
2814
+ self.DnatName = params.get("DnatName")
2815
+ if params.get("PublicPort"):
2816
+ self.PublicPort = params.get("PublicPort")
2817
+ if params.get("PrivateIpAddress"):
2818
+ self.PrivateIpAddress = params.get("PrivateIpAddress")
2819
+ if params.get("IpProtocol"):
2820
+ self.IpProtocol = params.get("IpProtocol")
2821
+ if params.get("PrivatePort"):
2822
+ self.PrivatePort = params.get("PrivatePort")
2823
+ if params.get("Description"):
2824
+ self.Description = params.get("Description")
2825
+
2826
+
2827
+ class AssociateInstanceRequest(AbstractModel):
2828
+ """AssociateInstance请求参数结构体
2829
+ """
2830
+
2831
+ def __init__(self):
2832
+ r"""主机粒度SNAT
2833
+ :param NetworkInterfaceId: 网卡ID
2834
+ :type PathPrefix: String
2835
+ :param NatId: Nat的ID
2836
+ :type PathPrefix: String
2837
+ :param NatIpId: 要绑定的NatIp的ID值
2838
+ :type PathPrefix: Filter
2839
+ """
2840
+ self.NetworkInterfaceId = None
2841
+ self.NatId = None
2842
+ self.NatIpId = None
2843
+
2844
+ def _deserialize(self, params):
2845
+ if params.get("NetworkInterfaceId"):
2846
+ self.NetworkInterfaceId = params.get("NetworkInterfaceId")
2847
+ if params.get("NatId"):
2848
+ self.NatId = params.get("NatId")
2849
+ if params.get("NatIpId"):
2850
+ self.NatIpId = params.get("NatIpId")
2851
+
2852
+
2853
+ class DisassociateInstanceRequest(AbstractModel):
2854
+ """DisassociateInstance请求参数结构体
2855
+ """
2856
+
2857
+ def __init__(self):
2858
+ r"""删除主机粒度SNAT
2859
+ :param NetworkInterfaceId: 网卡ID
2860
+ :type PathPrefix: String
2861
+ :param NatId: Nat的ID
2862
+ :type PathPrefix: String
2863
+ """
2864
+ self.NetworkInterfaceId = None
2865
+ self.NatId = None
2866
+
2867
+ def _deserialize(self, params):
2868
+ if params.get("NetworkInterfaceId"):
2869
+ self.NetworkInterfaceId = params.get("NetworkInterfaceId")
2870
+ if params.get("NatId"):
2871
+ self.NatId = params.get("NatId")
2872
+
2873
+
2874
+ class CreateHaVipRequest(AbstractModel):
2875
+ """CreateHaVip请求参数结构体
2876
+ """
2877
+
2878
+ def __init__(self):
2879
+ r"""创建HaVip
2880
+ :param SubnetId: 子网的ID
2881
+ :type PathPrefix: String
2882
+ :param IpAddress: 高可用虚拟IP的IP地址
2883
+ :type PathPrefix: String
2884
+ """
2885
+ self.SubnetId = None
2886
+ self.IpAddress = None
2887
+
2888
+ def _deserialize(self, params):
2889
+ if params.get("SubnetId"):
2890
+ self.SubnetId = params.get("SubnetId")
2891
+ if params.get("IpAddress"):
2892
+ self.IpAddress = params.get("IpAddress")
2893
+
2894
+
2895
+ class DeleteHaVipRequest(AbstractModel):
2896
+ """DeleteHaVip请求参数结构体
2897
+ """
2898
+
2899
+ def __init__(self):
2900
+ r"""删除HaVip
2901
+ :param HaVipId: 高可用虚拟IP的ID
2902
+ :type PathPrefix: String
2903
+ """
2904
+ self.HaVipId = None
2905
+
2906
+ def _deserialize(self, params):
2907
+ if params.get("HaVipId"):
2908
+ self.HaVipId = params.get("HaVipId")
2909
+
2910
+
2911
+ class AssociateHaVipRequest(AbstractModel):
2912
+ """AssociateHaVip请求参数结构体
2913
+ """
2914
+
2915
+ def __init__(self):
2916
+ r"""绑定HaVip
2917
+ :param NetworkInterfaceId: 网卡的ID
2918
+ :type PathPrefix: String
2919
+ :param HaVipId: 高可用虚拟IP的ID
2920
+ :type PathPrefix: String
2921
+ """
2922
+ self.NetworkInterfaceId = None
2923
+ self.HaVipId = None
2924
+
2925
+ def _deserialize(self, params):
2926
+ if params.get("NetworkInterfaceId"):
2927
+ self.NetworkInterfaceId = params.get("NetworkInterfaceId")
2928
+ if params.get("HaVipId"):
2929
+ self.HaVipId = params.get("HaVipId")
2930
+
2931
+
2932
+ class UnAssociateHaVipRequest(AbstractModel):
2933
+ """UnAssociateHaVip请求参数结构体
2934
+ """
2935
+
2936
+ def __init__(self):
2937
+ r"""解绑HaVip
2938
+ :param NetworkInterfaceId: 网卡的ID
2939
+ :type PathPrefix: String
2940
+ :param HaVipId: 高可用虚拟IP的ID
2941
+ :type PathPrefix: String
2942
+ """
2943
+ self.NetworkInterfaceId = None
2944
+ self.HaVipId = None
2945
+
2946
+ def _deserialize(self, params):
2947
+ if params.get("NetworkInterfaceId"):
2948
+ self.NetworkInterfaceId = params.get("NetworkInterfaceId")
2949
+ if params.get("HaVipId"):
2950
+ self.HaVipId = params.get("HaVipId")
2951
+
2952
+
2953
+ class DescribeHaVipRequest(AbstractModel):
2954
+ """DescribeHaVip请求参数结构体
2955
+ """
2956
+
2957
+ def __init__(self):
2958
+ r"""查询HaVip
2959
+ :param HaVipId: 多个高可用虚拟IP的ID
2960
+ :type PathPrefix: Filter
2961
+ :param Filter: 筛选Filter
2962
+ :type PathPrefix: Filter
2963
+ :param MaxResults: 单次调用可返回的最大条目数量
2964
+ :type PathPrefix: Int
2965
+ :param NextToken: 获取另一页返回结果的 token.
2966
+ :type PathPrefix: String
2967
+ """
2968
+ self.HaVipId = None
2969
+ self.Filter = None
2970
+ self.MaxResults = None
2971
+ self.NextToken = None
2972
+
2973
+ def _deserialize(self, params):
2974
+ if params.get("HaVipId"):
2975
+ self.HaVipId = params.get("HaVipId")
2976
+ if params.get("Filter"):
2977
+ self.Filter = params.get("Filter")
2978
+ if params.get("MaxResults"):
2979
+ self.MaxResults = params.get("MaxResults")
2980
+ if params.get("NextToken"):
2981
+ self.NextToken = params.get("NextToken")
2982
+
2983
+
2984
+ class CreateDirectConnectGatewayRouteRequest(AbstractModel):
2985
+ """CreateDirectConnectGatewayRoute请求参数结构体
2986
+ """
2987
+
2988
+ def __init__(self):
2989
+ r"""创建边界网关路由
2990
+ :param DirectConnectGatewayId: 边界网关的ID
2991
+ :type PathPrefix: String
2992
+ :param DestinationCidrBlock: 目标网段
2993
+ :type PathPrefix: String
2994
+ :param NextHopType: 下一跳类型
2995
+ :type PathPrefix: String
2996
+ :param Priority: 优先级
2997
+ :type PathPrefix: Int
2998
+ :param NextHopInstance: 下一跳实例ID
2999
+ :type PathPrefix: String
3000
+ :param EnableIpv6: 是否开启Ipv6
3001
+ :type PathPrefix: Boolean
3002
+ """
3003
+ self.DirectConnectGatewayId = None
3004
+ self.DestinationCidrBlock = None
3005
+ self.NextHopType = None
3006
+ self.Priority = None
3007
+ self.NextHopInstance = None
3008
+ self.EnableIpv6 = None
3009
+
3010
+ def _deserialize(self, params):
3011
+ if params.get("DirectConnectGatewayId"):
3012
+ self.DirectConnectGatewayId = params.get("DirectConnectGatewayId")
3013
+ if params.get("DestinationCidrBlock"):
3014
+ self.DestinationCidrBlock = params.get("DestinationCidrBlock")
3015
+ if params.get("NextHopType"):
3016
+ self.NextHopType = params.get("NextHopType")
3017
+ if params.get("Priority"):
3018
+ self.Priority = params.get("Priority")
3019
+ if params.get("NextHopInstance"):
3020
+ self.NextHopInstance = params.get("NextHopInstance")
3021
+ if params.get("EnableIpv6"):
3022
+ self.EnableIpv6 = params.get("EnableIpv6")
3023
+
3024
+
3025
+ class DeleteDirectConnectGatewayRouteRequest(AbstractModel):
3026
+ """DeleteDirectConnectGatewayRoute请求参数结构体
3027
+ """
3028
+
3029
+ def __init__(self):
3030
+ r"""删除边界网关路由
3031
+ :param DirectConnectGatewayRouteId: 边界网关路由ID
3032
+ :type PathPrefix: String
3033
+ """
3034
+ self.DirectConnectGatewayRouteId = None
3035
+
3036
+ def _deserialize(self, params):
3037
+ if params.get("DirectConnectGatewayRouteId"):
3038
+ self.DirectConnectGatewayRouteId = params.get("DirectConnectGatewayRouteId")
3039
+
3040
+
3041
+ class DescribeDirectConnectGatewayRouteRequest(AbstractModel):
3042
+ """DescribeDirectConnectGatewayRoute请求参数结构体
3043
+ """
3044
+
3045
+ def __init__(self):
3046
+ r"""查询边界网关路由
3047
+ :param DirectConnectGatewayId: 边界网关的ID
3048
+ :type PathPrefix: String
3049
+ :param MaxResults: 单次调用可返回的最大条目数量
3050
+ :type PathPrefix: Int
3051
+ :param Filter: 筛选Filter
3052
+ :type PathPrefix: Filter
3053
+ :param NextToken: 获取另一页返回结果的 token.
3054
+ :type PathPrefix: String
3055
+ """
3056
+ self.DirectConnectGatewayId = None
3057
+ self.MaxResults = None
3058
+ self.Filter = None
3059
+ self.NextToken = None
3060
+
3061
+ def _deserialize(self, params):
3062
+ if params.get("DirectConnectGatewayId"):
3063
+ self.DirectConnectGatewayId = params.get("DirectConnectGatewayId")
3064
+ if params.get("MaxResults"):
3065
+ self.MaxResults = params.get("MaxResults")
3066
+ if params.get("Filter"):
3067
+ self.Filter = params.get("Filter")
3068
+ if params.get("NextToken"):
3069
+ self.NextToken = params.get("NextToken")
3070
+
3071
+
3072
+ class PublishDirectConnectRouteRequest(AbstractModel):
3073
+ """PublishDirectConnectRoute请求参数结构体
3074
+ """
3075
+
3076
+ def __init__(self):
3077
+ r"""发布边界网关路由到BGP
3078
+ :param DirectConnectGatewayRouteId: 边界网关路由ID
3079
+ :type PathPrefix: String
3080
+ """
3081
+ self.DirectConnectGatewayRouteId = None
3082
+
3083
+ def _deserialize(self, params):
3084
+ if params.get("DirectConnectGatewayRouteId"):
3085
+ self.DirectConnectGatewayRouteId = params.get("DirectConnectGatewayRouteId")
3086
+
3087
+
3088
+ class UnpublishDirectConnectRouteRequest(AbstractModel):
3089
+ """UnpublishDirectConnectRoute请求参数结构体
3090
+ """
3091
+
3092
+ def __init__(self):
3093
+ r"""从BGP取消发布边界网关路由
3094
+ :param DirectConnectGatewayRouteId: 边界网关路由ID
2163
3095
  :type PathPrefix: String
2164
3096
  """
2165
3097
  self.DirectConnectGatewayRouteId = None
@@ -2258,3 +3190,473 @@ class UnassignPrivateIpAddressRequest(AbstractModel):
2258
3190
  self.PrivateIpAddress = params.get("PrivateIpAddress")
2259
3191
 
2260
3192
 
3193
+ class BatchCreateNatRateLimitRequest(AbstractModel):
3194
+ """BatchCreateNatRateLimit请求参数结构体
3195
+ """
3196
+
3197
+ def __init__(self):
3198
+ r"""批量创建Nat限速
3199
+ :param BandwidthLimit: 出带宽限速
3200
+ :type PathPrefix: Int
3201
+ :param InBandwidthLimit: 入带宽限速
3202
+ :type PathPrefix: Int
3203
+ :param NetworkInterfaceId: 弹性网卡ID
3204
+ :type PathPrefix: Filter
3205
+ """
3206
+ self.BandwidthLimit = None
3207
+ self.InBandwidthLimit = None
3208
+ self.NetworkInterfaceId = None
3209
+
3210
+ def _deserialize(self, params):
3211
+ if params.get("BandwidthLimit"):
3212
+ self.BandwidthLimit = params.get("BandwidthLimit")
3213
+ if params.get("InBandwidthLimit"):
3214
+ self.InBandwidthLimit = params.get("InBandwidthLimit")
3215
+ if params.get("NetworkInterfaceId"):
3216
+ self.NetworkInterfaceId = params.get("NetworkInterfaceId")
3217
+
3218
+
3219
+ class BatchModifyNatRateLimitRequest(AbstractModel):
3220
+ """BatchModifyNatRateLimit请求参数结构体
3221
+ """
3222
+
3223
+ def __init__(self):
3224
+ r"""批量修改Nat限速
3225
+ :param BandwidthLimit: 出向带宽限速
3226
+ :type PathPrefix: String
3227
+ :param InBandwidthLimit: 入向带宽限速
3228
+ :type PathPrefix: Int
3229
+ :param NatRateLimitId: Nat网卡限速规则ID
3230
+ :type PathPrefix: Filter
3231
+ """
3232
+ self.BandwidthLimit = None
3233
+ self.InBandwidthLimit = None
3234
+ self.NatRateLimitId = None
3235
+
3236
+ def _deserialize(self, params):
3237
+ if params.get("BandwidthLimit"):
3238
+ self.BandwidthLimit = params.get("BandwidthLimit")
3239
+ if params.get("InBandwidthLimit"):
3240
+ self.InBandwidthLimit = params.get("InBandwidthLimit")
3241
+ if params.get("NatRateLimitId"):
3242
+ self.NatRateLimitId = params.get("NatRateLimitId")
3243
+
3244
+
3245
+ class BatchDeleteNatRateLimitRequest(AbstractModel):
3246
+ """BatchDeleteNatRateLimit请求参数结构体
3247
+ """
3248
+
3249
+ def __init__(self):
3250
+ r"""批量删除Nat限速
3251
+ :param NatRateLimitId: Nat网卡限速规则ID
3252
+ :type PathPrefix: Filter
3253
+ """
3254
+ self.NatRateLimitId = None
3255
+
3256
+ def _deserialize(self, params):
3257
+ if params.get("NatRateLimitId"):
3258
+ self.NatRateLimitId = params.get("NatRateLimitId")
3259
+
3260
+
3261
+ class DescribeVpnGatewayRoutesRequest(AbstractModel):
3262
+ """DescribeVpnGatewayRoutes请求参数结构体
3263
+ """
3264
+
3265
+ def __init__(self):
3266
+ r"""查询VPN网关路由
3267
+ :param VpnGatewayId: Vpn网关Id
3268
+ :type PathPrefix: String
3269
+ :param Filter: 筛选Filter
3270
+ :type PathPrefix: Filter
3271
+ :param MaxResults: 单次调用可返回的最大条目数量
3272
+ :type PathPrefix: Int
3273
+ :param NextToken: 获取另一页返回结果的 token.
3274
+ :type PathPrefix: String
3275
+ """
3276
+ self.VpnGatewayId = None
3277
+ self.Filter = None
3278
+ self.MaxResults = None
3279
+ self.NextToken = None
3280
+
3281
+ def _deserialize(self, params):
3282
+ if params.get("VpnGatewayId"):
3283
+ self.VpnGatewayId = params.get("VpnGatewayId")
3284
+ if params.get("Filter"):
3285
+ self.Filter = params.get("Filter")
3286
+ if params.get("MaxResults"):
3287
+ self.MaxResults = params.get("MaxResults")
3288
+ if params.get("NextToken"):
3289
+ self.NextToken = params.get("NextToken")
3290
+
3291
+
3292
+ class CreateVpnGatewayRouteRequest(AbstractModel):
3293
+ """CreateVpnGatewayRoute请求参数结构体
3294
+ """
3295
+
3296
+ def __init__(self):
3297
+ r"""创建VPN网关下的路由
3298
+ :param VpnGatewayId: VPN网关ID
3299
+ :type PathPrefix: String
3300
+ :param DestinationCidrBlock: 目标网段
3301
+ :type PathPrefix: String
3302
+ :param NextHopInstanceId: 下一跳实例id,下一跳类型为VPC-是;下一跳类型为VPN通道-否
3303
+ :type PathPrefix: String
3304
+ :param NextHopType: 下一跳类型,NextHopType
3305
+ :type PathPrefix: String
3306
+ :param Description: 描述
3307
+ :type PathPrefix: String
3308
+ """
3309
+ self.VpnGatewayId = None
3310
+ self.DestinationCidrBlock = None
3311
+ self.NextHopInstanceId = None
3312
+ self.NextHopType = None
3313
+ self.Description = None
3314
+
3315
+ def _deserialize(self, params):
3316
+ if params.get("VpnGatewayId"):
3317
+ self.VpnGatewayId = params.get("VpnGatewayId")
3318
+ if params.get("DestinationCidrBlock"):
3319
+ self.DestinationCidrBlock = params.get("DestinationCidrBlock")
3320
+ if params.get("NextHopInstanceId"):
3321
+ self.NextHopInstanceId = params.get("NextHopInstanceId")
3322
+ if params.get("NextHopType"):
3323
+ self.NextHopType = params.get("NextHopType")
3324
+ if params.get("Description"):
3325
+ self.Description = params.get("Description")
3326
+
3327
+
3328
+ class DeleteVpnGatewayRouteRequest(AbstractModel):
3329
+ """DeleteVpnGatewayRoute请求参数结构体
3330
+ """
3331
+
3332
+ def __init__(self):
3333
+ r"""删除VPN网关下的路由
3334
+ :param VpnGatewayRouteId: VPN网关的ID
3335
+ :type PathPrefix: String
3336
+ """
3337
+ self.VpnGatewayRouteId = None
3338
+
3339
+ def _deserialize(self, params):
3340
+ if params.get("VpnGatewayRouteId"):
3341
+ self.VpnGatewayRouteId = params.get("VpnGatewayRouteId")
3342
+
3343
+
3344
+ class DescribeVpnTunnelIpsecStatusRequest(AbstractModel):
3345
+ """DescribeVpnTunnelIpsecStatus请求参数结构体
3346
+ """
3347
+
3348
+ def __init__(self):
3349
+ r"""查询VPN通道ipsec status状态
3350
+ :param IsMaster: 是否是主备机状态(1-隧道1的状态,0-隧道2的状态)
3351
+ :type PathPrefix: Int
3352
+ :param VpnTunnelId: 多个Vpn通道的ID
3353
+ :type PathPrefix: Filter
3354
+ """
3355
+ self.IsMaster = None
3356
+ self.VpnTunnelId = None
3357
+
3358
+ def _deserialize(self, params):
3359
+ if params.get("IsMaster"):
3360
+ self.IsMaster = params.get("IsMaster")
3361
+ if params.get("VpnTunnelId"):
3362
+ self.VpnTunnelId = params.get("VpnTunnelId")
3363
+
3364
+
3365
+ class QueryNatTopVifMonitorRequest(AbstractModel):
3366
+ """QueryNatTopVifMonitor请求参数结构体
3367
+ """
3368
+
3369
+ def __init__(self):
3370
+ r"""查询NAT下流量排名的TOP 50的网卡
3371
+ :param NatId: Nat的ID
3372
+ :type PathPrefix: String
3373
+ :param StartTime: 开始时间,开始时间和结束时间相差10分钟,例如:2023-09-14T13:30:01
3374
+ :type PathPrefix: String
3375
+ :param EndTime: 结束时间,开始时间和结束时间相差10分钟,例如:2023-09-14T13:40:01
3376
+ :type PathPrefix: String
3377
+ :param SortType: 排序顺序,默认是BPS_OUT,可选BPS_IN|BPS_OUT|PEAK_IN|PEAK_OUT,区分大小写,填写其他的字符按BPS_OUT排序
3378
+ :type PathPrefix: String
3379
+ :param InstanceType: 查询实例类型,不填默认是kec,epc/kec
3380
+ :type PathPrefix: String
3381
+ :param ip: ip
3382
+ :type PathPrefix: String
3383
+ """
3384
+ self.NatId = None
3385
+ self.StartTime = None
3386
+ self.EndTime = None
3387
+ self.SortType = None
3388
+ self.InstanceType = None
3389
+ self.ip = None
3390
+
3391
+ def _deserialize(self, params):
3392
+ if params.get("NatId"):
3393
+ self.NatId = params.get("NatId")
3394
+ if params.get("StartTime"):
3395
+ self.StartTime = params.get("StartTime")
3396
+ if params.get("EndTime"):
3397
+ self.EndTime = params.get("EndTime")
3398
+ if params.get("SortType"):
3399
+ self.SortType = params.get("SortType")
3400
+ if params.get("InstanceType"):
3401
+ self.InstanceType = params.get("InstanceType")
3402
+ if params.get("ip"):
3403
+ self.ip = params.get("ip")
3404
+
3405
+
3406
+ class ModifyNatIpStatusRequest(AbstractModel):
3407
+ """ModifyNatIpStatus请求参数结构体
3408
+ """
3409
+
3410
+ def __init__(self):
3411
+ r"""修改NatIp的禁用/启用
3412
+ :param NatIpId: NatIp的ID
3413
+ :type PathPrefix: String
3414
+ :param Enabled: NatIp的禁用状态
3415
+ :type PathPrefix: Boolean
3416
+ """
3417
+ self.NatIpId = None
3418
+ self.Enabled = None
3419
+
3420
+ def _deserialize(self, params):
3421
+ if params.get("NatIpId"):
3422
+ self.NatIpId = params.get("NatIpId")
3423
+ if params.get("Enabled"):
3424
+ self.Enabled = params.get("Enabled")
3425
+
3426
+
3427
+ class QueryPeerTopVifMonitorRequest(AbstractModel):
3428
+ """QueryPeerTopVifMonitor请求参数结构体
3429
+ """
3430
+
3431
+ def __init__(self):
3432
+ r"""查询对等连接下流量排名的TOP 50的网卡
3433
+ :param vpcId: 虚拟私有网络id
3434
+ :type PathPrefix: String
3435
+ :param StartTime: 开始时间,开始时间和结束时间相差10分钟。例如:2023-12-21T00:01:00
3436
+ :type PathPrefix: String
3437
+ :param EndTime: 结束时间,开始时间和结束时间相差10分钟。例如:2023-12-21T00:01:00
3438
+ :type PathPrefix: String
3439
+ :param SortType: 排序顺序,默认是OUT,可选OUT|IN,区分大小写,填写其他的字符按OUT排序
3440
+ :type PathPrefix: String
3441
+ :param ip: 筛选IP。
3442
+ :type PathPrefix: String
3443
+ """
3444
+ self.vpcId = None
3445
+ self.StartTime = None
3446
+ self.EndTime = None
3447
+ self.SortType = None
3448
+ self.ip = None
3449
+
3450
+ def _deserialize(self, params):
3451
+ if params.get("vpcId"):
3452
+ self.vpcId = params.get("vpcId")
3453
+ if params.get("StartTime"):
3454
+ self.StartTime = params.get("StartTime")
3455
+ if params.get("EndTime"):
3456
+ self.EndTime = params.get("EndTime")
3457
+ if params.get("SortType"):
3458
+ self.SortType = params.get("SortType")
3459
+ if params.get("ip"):
3460
+ self.ip = params.get("ip")
3461
+
3462
+
3463
+ class ModifyVpnGatewayRouteRequest(AbstractModel):
3464
+ """ModifyVpnGatewayRoute请求参数结构体
3465
+ """
3466
+
3467
+ def __init__(self):
3468
+ r"""修改VPN网关下的路由
3469
+ :param VpnGatewayRouteId: VPN网关路由的ID
3470
+ :type PathPrefix: String
3471
+ :param Description: 描述
3472
+ :type PathPrefix: String
3473
+ """
3474
+ self.VpnGatewayRouteId = None
3475
+ self.Description = None
3476
+
3477
+ def _deserialize(self, params):
3478
+ if params.get("VpnGatewayRouteId"):
3479
+ self.VpnGatewayRouteId = params.get("VpnGatewayRouteId")
3480
+ if params.get("Description"):
3481
+ self.Description = params.get("Description")
3482
+
3483
+
3484
+ class DescribeDirectConnectInterfacesBgpStatusRequest(AbstractModel):
3485
+ """DescribeDirectConnectInterfacesBgpStatus请求参数结构体
3486
+ """
3487
+
3488
+ def __init__(self):
3489
+ r"""查询专线通道 BGP邻居状态
3490
+ :param DirectConnectInterfaceId.N: 专线通道id
3491
+ :type PathPrefix: String
3492
+ """
3493
+ self.DirectConnectInterfaceId_N = None
3494
+
3495
+ def _deserialize(self, params):
3496
+ if params.get("DirectConnectInterfaceId.N"):
3497
+ self.DirectConnectInterfaceId_N = params.get("DirectConnectInterfaceId.N")
3498
+
3499
+
3500
+ class DeactiveFlowLogRequest(AbstractModel):
3501
+ """DeactiveFlowLog请求参数结构体
3502
+ """
3503
+
3504
+ def __init__(self):
3505
+ r"""停止流日志
3506
+ :param FlowLogId: 流日志的ID
3507
+ :type PathPrefix: String
3508
+ """
3509
+ self.FlowLogId = None
3510
+
3511
+ def _deserialize(self, params):
3512
+ if params.get("FlowLogId"):
3513
+ self.FlowLogId = params.get("FlowLogId")
3514
+
3515
+
3516
+ class ActiveFlowLogRequest(AbstractModel):
3517
+ """ActiveFlowLog请求参数结构体
3518
+ """
3519
+
3520
+ def __init__(self):
3521
+ r"""启动流日志
3522
+ :param FlowLogId: 流日志的ID
3523
+ :type PathPrefix: String
3524
+ """
3525
+ self.FlowLogId = None
3526
+
3527
+ def _deserialize(self, params):
3528
+ if params.get("FlowLogId"):
3529
+ self.FlowLogId = params.get("FlowLogId")
3530
+
3531
+
3532
+ class DeleteFlowLogRequest(AbstractModel):
3533
+ """DeleteFlowLog请求参数结构体
3534
+ """
3535
+
3536
+ def __init__(self):
3537
+ r"""删除流日志
3538
+ :param FlowLogId: 流日志的Id
3539
+ :type PathPrefix: String
3540
+ """
3541
+ self.FlowLogId = None
3542
+
3543
+ def _deserialize(self, params):
3544
+ if params.get("FlowLogId"):
3545
+ self.FlowLogId = params.get("FlowLogId")
3546
+
3547
+
3548
+ class ModifyFlowLogRequest(AbstractModel):
3549
+ """ModifyFlowLog请求参数结构体
3550
+ """
3551
+
3552
+ def __init__(self):
3553
+ r"""修改流日志
3554
+ :param FlowLogId: 流日志的ID
3555
+ :type PathPrefix: String
3556
+ :param FlowLogName: 流日志的名称
3557
+ :type PathPrefix: String
3558
+ :param WindowTime: 采集窗口时间(60s~600s)
3559
+ :type PathPrefix: Int
3560
+ :param Description: 流日志描述
3561
+ :type PathPrefix: String
3562
+ """
3563
+ self.FlowLogId = None
3564
+ self.FlowLogName = None
3565
+ self.WindowTime = None
3566
+ self.Description = None
3567
+
3568
+ def _deserialize(self, params):
3569
+ if params.get("FlowLogId"):
3570
+ self.FlowLogId = params.get("FlowLogId")
3571
+ if params.get("FlowLogName"):
3572
+ self.FlowLogName = params.get("FlowLogName")
3573
+ if params.get("WindowTime"):
3574
+ self.WindowTime = params.get("WindowTime")
3575
+ if params.get("Description"):
3576
+ self.Description = params.get("Description")
3577
+
3578
+
3579
+ class DescribeFlowLogsRequest(AbstractModel):
3580
+ """DescribeFlowLogs请求参数结构体
3581
+ """
3582
+
3583
+ def __init__(self):
3584
+ r"""查询流日志
3585
+ :param FlowLogId: 流日志的ID
3586
+ :type PathPrefix: Filter
3587
+ :param Filter: 筛选Filter
3588
+ :type PathPrefix: Filter
3589
+ :param MaxResults: 单次调用可返回的最大条目数量
3590
+ :type PathPrefix: Int
3591
+ :param NextToken: 获取另一页返回结果的 token.
3592
+ :type PathPrefix: String
3593
+ """
3594
+ self.FlowLogId = None
3595
+ self.Filter = None
3596
+ self.MaxResults = None
3597
+ self.NextToken = None
3598
+
3599
+ def _deserialize(self, params):
3600
+ if params.get("FlowLogId"):
3601
+ self.FlowLogId = params.get("FlowLogId")
3602
+ if params.get("Filter"):
3603
+ self.Filter = params.get("Filter")
3604
+ if params.get("MaxResults"):
3605
+ self.MaxResults = params.get("MaxResults")
3606
+ if params.get("NextToken"):
3607
+ self.NextToken = params.get("NextToken")
3608
+
3609
+
3610
+ class CreateFlowLogRequest(AbstractModel):
3611
+ """CreateFlowLog请求参数结构体
3612
+ """
3613
+
3614
+ def __init__(self):
3615
+ r"""创建流日志
3616
+ :param FlowLogName: 流日志名称
3617
+ :type PathPrefix: String
3618
+ :param ResourceType: 要捕获流量的资源类型,可选值
3619
+ -NetworkInterface 弹性网卡
3620
+ :type PathPrefix: String
3621
+ :param ResourceId: 要捕获流量的资源 ID
3622
+ :type PathPrefix: String
3623
+ :param TrafficType: 采集的流量类型,可选值
3624
+ - All 全部流量
3625
+ :type PathPrefix: String
3626
+ :param ProjectName: 管理捕获到的流量的 Project 名称
3627
+ :type PathPrefix: String
3628
+ :param LogPoolName: 存储捕获到的流量的 LogPool 名称
3629
+ :type PathPrefix: String
3630
+ :param WindowTime: 采集窗口时间(60s~600s)
3631
+ :type PathPrefix: Int
3632
+ :param Description: 流日志描述
3633
+ :type PathPrefix: String
3634
+ """
3635
+ self.FlowLogName = None
3636
+ self.ResourceType = None
3637
+ self.ResourceId = None
3638
+ self.TrafficType = None
3639
+ self.ProjectName = None
3640
+ self.LogPoolName = None
3641
+ self.WindowTime = None
3642
+ self.Description = None
3643
+
3644
+ def _deserialize(self, params):
3645
+ if params.get("FlowLogName"):
3646
+ self.FlowLogName = params.get("FlowLogName")
3647
+ if params.get("ResourceType"):
3648
+ self.ResourceType = params.get("ResourceType")
3649
+ if params.get("ResourceId"):
3650
+ self.ResourceId = params.get("ResourceId")
3651
+ if params.get("TrafficType"):
3652
+ self.TrafficType = params.get("TrafficType")
3653
+ if params.get("ProjectName"):
3654
+ self.ProjectName = params.get("ProjectName")
3655
+ if params.get("LogPoolName"):
3656
+ self.LogPoolName = params.get("LogPoolName")
3657
+ if params.get("WindowTime"):
3658
+ self.WindowTime = params.get("WindowTime")
3659
+ if params.get("Description"):
3660
+ self.Description = params.get("Description")
3661
+
3662
+