@alicloud/vpc20160428 7.2.4 → 7.3.0

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 (329) hide show
  1. package/dist/client.d.ts +413 -318
  2. package/dist/client.js +479 -341
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/ActivateRouterInterfaceRequest.d.ts +2 -1
  5. package/dist/models/ActivateRouterInterfaceRequest.js.map +1 -1
  6. package/dist/models/AllocateEipAddressRequest.d.ts +14 -14
  7. package/dist/models/AssociateMacSecKeyRequest.d.ts +3 -3
  8. package/dist/models/AssociatePhysicalConnectionToVirtualBorderRouterRequest.d.ts +5 -7
  9. package/dist/models/AssociatePhysicalConnectionToVirtualBorderRouterRequest.js.map +1 -1
  10. package/dist/models/AssociateVpcCidrBlockRequest.d.ts +5 -5
  11. package/dist/models/AssociateVpcCidrBlockResponseBody.d.ts +1 -1
  12. package/dist/models/AssociateVpnGatewayWithCertificateRequest.d.ts +3 -3
  13. package/dist/models/AttachDhcpOptionsSetToVpcRequest.d.ts +2 -2
  14. package/dist/models/AttachVbrToVpconnRequest.d.ts +8 -6
  15. package/dist/models/AttachVbrToVpconnRequest.js.map +1 -1
  16. package/dist/models/AttachVbrToVpconnResponseBody.d.ts +1 -1
  17. package/dist/models/CancelPhysicalConnectionRequest.d.ts +1 -1
  18. package/dist/models/CheckVpnBgpEnabledRequest.d.ts +1 -1
  19. package/dist/models/CompletePhysicalConnectionLoarequest.d.ts +10 -10
  20. package/dist/models/ConnectRouterInterfaceRequest.d.ts +1 -1
  21. package/dist/models/CreateCustomerGatewayRequest.d.ts +4 -4
  22. package/dist/models/CreateCustomerGatewayResponseBody.d.ts +1 -1
  23. package/dist/models/CreateEnhancedVpnGatewayRequest.d.ts +3 -3
  24. package/dist/models/CreateFailoverTestJobRequest.d.ts +11 -11
  25. package/dist/models/CreateFailoverTestJobResponseBody.d.ts +1 -1
  26. package/dist/models/CreateIpsecServerRequest.d.ts +2 -2
  27. package/dist/models/CreatePhysicalConnectionRequest.d.ts +13 -11
  28. package/dist/models/CreatePhysicalConnectionRequest.js.map +1 -1
  29. package/dist/models/CreatePhysicalConnectionSetupOrderRequest.d.ts +10 -8
  30. package/dist/models/CreatePhysicalConnectionSetupOrderRequest.js.map +1 -1
  31. package/dist/models/CreateRouteTargetGroupRequest.d.ts +3 -3
  32. package/dist/models/CreateSslVpnServerRequest.d.ts +11 -11
  33. package/dist/models/CreateVbrHaRequest.d.ts +5 -5
  34. package/dist/models/CreateVbrHaResponseBody.d.ts +1 -1
  35. package/dist/models/CreateVcoRouteEntryRequest.d.ts +2 -2
  36. package/dist/models/CreateVcoRouteEntryResponseBody.d.ts +1 -1
  37. package/dist/models/CreateVirtualPhysicalConnectionRequest.d.ts +9 -9
  38. package/dist/models/CreateVpconnFromVbrRequest.d.ts +2 -2
  39. package/dist/models/CreateVpnAttachmentRequest.d.ts +73 -133
  40. package/dist/models/CreateVpnAttachmentRequest.js.map +1 -1
  41. package/dist/models/CreateVpnAttachmentResponseBody.d.ts +3 -3
  42. package/dist/models/CreateVpnConnectionRequest.d.ts +95 -131
  43. package/dist/models/CreateVpnConnectionRequest.js.map +1 -1
  44. package/dist/models/CreateVpnConnectionResponseBody.d.ts +1 -1
  45. package/dist/models/CreateVpnGatewayRequest.d.ts +17 -17
  46. package/dist/models/CreateVpnGatewayResponseBody.d.ts +2 -2
  47. package/dist/models/CreateVpnPbrRouteEntryRequest.d.ts +13 -13
  48. package/dist/models/CreateVpnPbrRouteEntryResponseBody.d.ts +6 -6
  49. package/dist/models/CreateVswitchCidrReservationRequest.d.ts +15 -7
  50. package/dist/models/CreateVswitchCidrReservationRequest.js +2 -0
  51. package/dist/models/CreateVswitchCidrReservationRequest.js.map +1 -1
  52. package/dist/models/CreateVswitchRequest.d.ts +9 -9
  53. package/dist/models/DeleteBgpGroupRequest.d.ts +2 -2
  54. package/dist/models/DeleteBgpNetworkRequest.d.ts +4 -4
  55. package/dist/models/DeleteFailoverTestJobRequest.d.ts +4 -4
  56. package/dist/models/DeleteIpsecServerRequest.d.ts +4 -4
  57. package/dist/models/DeleteNatGatewayRequest.d.ts +4 -4
  58. package/dist/models/DeletePublicIpAddressPoolCidrBlockRequest.d.ts +3 -3
  59. package/dist/models/DeleteRouteEntriesRequest.d.ts +2 -2
  60. package/dist/models/DeleteRouteEntriesResponseBody.d.ts +2 -2
  61. package/dist/models/DeleteVbrHaRequest.d.ts +3 -3
  62. package/dist/models/DeleteVpnGatewayRequest.d.ts +3 -3
  63. package/dist/models/DeleteVpnRouteEntryRequest.d.ts +2 -2
  64. package/dist/models/DescribeCustomerGatewayRequest.d.ts +1 -1
  65. package/dist/models/DescribeCustomerGatewayResponseBody.d.ts +2 -2
  66. package/dist/models/DescribeCustomerGatewaysRequest.d.ts +1 -1
  67. package/dist/models/DescribeEipAddressesRequest.d.ts +7 -75
  68. package/dist/models/DescribeEipAddressesRequest.js.map +1 -1
  69. package/dist/models/DescribeExpressConnectTrafficQosQueueRequest.d.ts +5 -3
  70. package/dist/models/DescribeExpressConnectTrafficQosQueueRequest.js.map +1 -1
  71. package/dist/models/DescribeExpressConnectTrafficQosQueueResponseBody.d.ts +12 -12
  72. package/dist/models/DescribeExpressConnectTrafficQosRuleRequest.d.ts +10 -6
  73. package/dist/models/DescribeExpressConnectTrafficQosRuleRequest.js.map +1 -1
  74. package/dist/models/DescribeExpressConnectTrafficQosRuleResponseBody.d.ts +16 -16
  75. package/dist/models/DescribeFailoverTestJobRequest.d.ts +2 -2
  76. package/dist/models/DescribeFailoverTestJobResponseBody.d.ts +6 -6
  77. package/dist/models/DescribeFailoverTestJobsRequest.d.ts +8 -8
  78. package/dist/models/DescribeFailoverTestJobsResponseBody.d.ts +14 -14
  79. package/dist/models/DescribePhysicalConnectionLoarequest.d.ts +3 -2
  80. package/dist/models/DescribePhysicalConnectionLoarequest.js.map +1 -1
  81. package/dist/models/DescribePhysicalConnectionLoaresponseBody.d.ts +14 -7
  82. package/dist/models/DescribePhysicalConnectionLoaresponseBody.js.map +1 -1
  83. package/dist/models/DescribePhysicalConnectionsRequest.d.ts +55 -0
  84. package/dist/models/DescribePhysicalConnectionsRequest.js.map +1 -1
  85. package/dist/models/DescribeRouterInterfaceAttributeResponseBody.d.ts +22 -22
  86. package/dist/models/DescribeRouterInterfacesRequest.d.ts +7 -7
  87. package/dist/models/DescribeRouterInterfacesResponseBody.d.ts +1 -1
  88. package/dist/models/DescribeSslVpnClientCertRequest.d.ts +1 -1
  89. package/dist/models/DescribeSslVpnClientCertResponseBody.d.ts +3 -3
  90. package/dist/models/DescribeSslVpnServersRequest.d.ts +1 -1
  91. package/dist/models/DescribeSslVpnServersResponseBody.d.ts +1 -1
  92. package/dist/models/DescribeTagKeysForExpressConnectRequest.d.ts +2 -0
  93. package/dist/models/DescribeTagKeysForExpressConnectRequest.js.map +1 -1
  94. package/dist/models/DescribeVbrHaRequest.d.ts +6 -6
  95. package/dist/models/DescribeVbrHaResponseBody.d.ts +2 -2
  96. package/dist/models/DescribeVcoRouteEntriesResponseBody.d.ts +10 -10
  97. package/dist/models/DescribeVirtualBorderRoutersForPhysicalConnectionRequest.d.ts +3 -3
  98. package/dist/models/DescribeVirtualBorderRoutersRequest.d.ts +6 -26
  99. package/dist/models/DescribeVirtualBorderRoutersRequest.js.map +1 -1
  100. package/dist/models/DescribeVirtualBorderRoutersResponseBody.d.ts +2 -2
  101. package/dist/models/DescribeVpcGrantRulesToEcrRequest.d.ts +7 -7
  102. package/dist/models/DescribeVpcGrantRulesToEcrResponseBody.d.ts +8 -8
  103. package/dist/models/DescribeVpcsRequest.d.ts +7 -7
  104. package/dist/models/DescribeVpnAttachmentsRequest.d.ts +4 -4
  105. package/dist/models/DescribeVpnAttachmentsResponseBody.d.ts +9 -9
  106. package/dist/models/DescribeVpnConnectionLogsRequest.d.ts +2 -2
  107. package/dist/models/DescribeVpnConnectionLogsResponseBody.d.ts +1 -1
  108. package/dist/models/DescribeVpnConnectionRequest.d.ts +1 -1
  109. package/dist/models/DescribeVpnConnectionResponseBody.d.ts +21 -72
  110. package/dist/models/DescribeVpnConnectionResponseBody.js.map +1 -1
  111. package/dist/models/DescribeVpnConnectionsRequest.d.ts +6 -8
  112. package/dist/models/DescribeVpnConnectionsRequest.js.map +1 -1
  113. package/dist/models/DescribeVpnCrossAccountAuthorizationsRequest.d.ts +2 -2
  114. package/dist/models/DescribeVpnCrossAccountAuthorizationsResponseBody.d.ts +5 -5
  115. package/dist/models/DescribeVpnGatewayResponseBody.d.ts +8 -8
  116. package/dist/models/DescribeVpnGatewaysRequest.d.ts +2 -2
  117. package/dist/models/DescribeVpnGatewaysResponseBody.d.ts +1 -1
  118. package/dist/models/DescribeVpnPbrRouteEntriesRequest.d.ts +1 -1
  119. package/dist/models/DescribeVpnPbrRouteEntriesResponseBody.d.ts +1 -1
  120. package/dist/models/DescribeVpnSslServerLogsRequest.d.ts +2 -2
  121. package/dist/models/DescribeVswitchesRequest.d.ts +7 -7
  122. package/dist/models/DescribeVswitchesResponseBody.d.ts +1 -1
  123. package/dist/models/DiagnoseVpnGatewayRequest.d.ts +1 -1
  124. package/dist/models/DiagnoseVpnGatewayResponseBody.d.ts +2 -2
  125. package/dist/models/DisassociateMacSecKeyRequest.d.ts +2 -2
  126. package/dist/models/DissociateVpnGatewayWithCertificateRequest.d.ts +2 -2
  127. package/dist/models/DownloadVpnConnectionConfigResponseBody.d.ts +11 -11
  128. package/dist/models/EnablePhysicalConnectionRequest.d.ts +5 -7
  129. package/dist/models/EnablePhysicalConnectionRequest.js.map +1 -1
  130. package/dist/models/GetNatGatewayAttributeRequest.d.ts +1 -1
  131. package/dist/models/GetNatGatewayAttributeResponseBody.d.ts +20 -20
  132. package/dist/models/GetVpnGatewayDiagnoseResultRequest.d.ts +3 -3
  133. package/dist/models/GetVpnGatewayDiagnoseResultResponseBody.d.ts +12 -12
  134. package/dist/models/GrantInstanceToVbrRequest.d.ts +6 -6
  135. package/dist/models/GrantInstanceToVbrShrinkRequest.d.ts +6 -6
  136. package/dist/models/ListBusinessAccessPointsResponseBody.d.ts +40 -2
  137. package/dist/models/ListBusinessAccessPointsResponseBody.js.map +1 -1
  138. package/dist/models/ListIpsecServerLogsRequest.d.ts +2 -2
  139. package/dist/models/ListIpsecServerLogsResponseBody.d.ts +1 -1
  140. package/dist/models/ListIpsecServersRequest.d.ts +3 -3
  141. package/dist/models/ListIpsecServersResponseBody.d.ts +7 -7
  142. package/dist/models/ListVirtualPhysicalConnectionsRequest.d.ts +7 -7
  143. package/dist/models/ListVirtualPhysicalConnectionsResponseBody.d.ts +20 -20
  144. package/dist/models/ListVpnCertificateAssociationsRequest.d.ts +3 -3
  145. package/dist/models/ListVpnCertificateAssociationsResponseBody.d.ts +2 -2
  146. package/dist/models/ModifyCustomerGatewayAttributeRequest.d.ts +1 -1
  147. package/dist/models/ModifyPhysicalConnectionAttributeRequest.d.ts +10 -3
  148. package/dist/models/ModifyPhysicalConnectionAttributeRequest.js.map +1 -1
  149. package/dist/models/ModifySslVpnServerRequest.d.ts +11 -11
  150. package/dist/models/ModifySslVpnServerResponseBody.d.ts +1 -1
  151. package/dist/models/ModifyVcoRouteEntryWeightRequest.d.ts +4 -4
  152. package/dist/models/ModifyVpcAttributeRequest.d.ts +4 -4
  153. package/dist/models/ModifyVpcCidrBlockRequest.d.ts +78 -0
  154. package/dist/models/ModifyVpcCidrBlockRequest.js +68 -0
  155. package/dist/models/ModifyVpcCidrBlockRequest.js.map +1 -0
  156. package/dist/models/ModifyVpcCidrBlockResponse.d.ts +19 -0
  157. package/dist/models/ModifyVpcCidrBlockResponse.js +69 -0
  158. package/dist/models/ModifyVpcCidrBlockResponse.js.map +1 -0
  159. package/dist/models/ModifyVpcCidrBlockResponseBody.d.ts +21 -0
  160. package/dist/models/ModifyVpcCidrBlockResponseBody.js +58 -0
  161. package/dist/models/ModifyVpcCidrBlockResponseBody.js.map +1 -0
  162. package/dist/models/ModifyVpnAttachmentAttributeRequest.d.ts +57 -133
  163. package/dist/models/ModifyVpnAttachmentAttributeRequest.js.map +1 -1
  164. package/dist/models/ModifyVpnAttachmentAttributeResponseBody.d.ts +54 -96
  165. package/dist/models/ModifyVpnAttachmentAttributeResponseBody.js.map +1 -1
  166. package/dist/models/ModifyVpnConnectionAttributeRequest.d.ts +77 -148
  167. package/dist/models/ModifyVpnConnectionAttributeRequest.js.map +1 -1
  168. package/dist/models/ModifyVpnConnectionAttributeResponseBody.d.ts +25 -52
  169. package/dist/models/ModifyVpnConnectionAttributeResponseBody.js.map +1 -1
  170. package/dist/models/ModifyVpnGatewayAttributeRequest.d.ts +5 -5
  171. package/dist/models/ModifyVpnPbrRouteEntryPriorityRequest.d.ts +5 -5
  172. package/dist/models/ModifyVpnRouteEntryWeightRequest.d.ts +2 -2
  173. package/dist/models/MoveResourceGroupRequest.d.ts +1 -1
  174. package/dist/models/MoveVpnResourceGroupRequest.d.ts +2 -2
  175. package/dist/models/ReleaseEipAddressRequest.d.ts +2 -2
  176. package/dist/models/UnassociateVpcCidrBlockRequest.d.ts +3 -3
  177. package/dist/models/UpdateDhcpOptionsSetAttributeRequest.d.ts +8 -8
  178. package/dist/models/UpdateIpsecServerRequest.d.ts +1 -1
  179. package/dist/models/UpdateIpv4gatewayAttributeRequest.d.ts +6 -6
  180. package/dist/models/model.d.ts +3 -0
  181. package/dist/models/model.js +11 -5
  182. package/dist/models/model.js.map +1 -1
  183. package/package.json +1 -1
  184. package/src/client.ts +488 -341
  185. package/src/models/ActivateRouterInterfaceRequest.ts +3 -2
  186. package/src/models/AllocateEipAddressRequest.ts +14 -14
  187. package/src/models/AssociateMacSecKeyRequest.ts +3 -3
  188. package/src/models/AssociatePhysicalConnectionToVirtualBorderRouterRequest.ts +5 -7
  189. package/src/models/AssociateVpcCidrBlockRequest.ts +5 -5
  190. package/src/models/AssociateVpcCidrBlockResponseBody.ts +1 -1
  191. package/src/models/AssociateVpnGatewayWithCertificateRequest.ts +3 -3
  192. package/src/models/AttachDhcpOptionsSetToVpcRequest.ts +2 -2
  193. package/src/models/AttachVbrToVpconnRequest.ts +8 -6
  194. package/src/models/AttachVbrToVpconnResponseBody.ts +1 -1
  195. package/src/models/CancelPhysicalConnectionRequest.ts +1 -1
  196. package/src/models/CheckVpnBgpEnabledRequest.ts +1 -1
  197. package/src/models/CompletePhysicalConnectionLoarequest.ts +10 -10
  198. package/src/models/ConnectRouterInterfaceRequest.ts +1 -1
  199. package/src/models/CreateCustomerGatewayRequest.ts +4 -4
  200. package/src/models/CreateCustomerGatewayResponseBody.ts +1 -1
  201. package/src/models/CreateEnhancedVpnGatewayRequest.ts +3 -3
  202. package/src/models/CreateFailoverTestJobRequest.ts +11 -11
  203. package/src/models/CreateFailoverTestJobResponseBody.ts +1 -1
  204. package/src/models/CreateIpsecServerRequest.ts +2 -2
  205. package/src/models/CreatePhysicalConnectionRequest.ts +13 -11
  206. package/src/models/CreatePhysicalConnectionSetupOrderRequest.ts +10 -8
  207. package/src/models/CreateRouteTargetGroupRequest.ts +3 -3
  208. package/src/models/CreateSslVpnServerRequest.ts +11 -11
  209. package/src/models/CreateVbrHaRequest.ts +5 -5
  210. package/src/models/CreateVbrHaResponseBody.ts +1 -1
  211. package/src/models/CreateVcoRouteEntryRequest.ts +2 -2
  212. package/src/models/CreateVcoRouteEntryResponseBody.ts +1 -1
  213. package/src/models/CreateVirtualPhysicalConnectionRequest.ts +9 -9
  214. package/src/models/CreateVpconnFromVbrRequest.ts +2 -2
  215. package/src/models/CreateVpnAttachmentRequest.ts +75 -135
  216. package/src/models/CreateVpnAttachmentResponseBody.ts +3 -3
  217. package/src/models/CreateVpnConnectionRequest.ts +99 -135
  218. package/src/models/CreateVpnConnectionResponseBody.ts +1 -1
  219. package/src/models/CreateVpnGatewayRequest.ts +17 -17
  220. package/src/models/CreateVpnGatewayResponseBody.ts +2 -2
  221. package/src/models/CreateVpnPbrRouteEntryRequest.ts +13 -13
  222. package/src/models/CreateVpnPbrRouteEntryResponseBody.ts +6 -6
  223. package/src/models/CreateVswitchCidrReservationRequest.ts +17 -7
  224. package/src/models/CreateVswitchRequest.ts +9 -9
  225. package/src/models/DeleteBgpGroupRequest.ts +2 -2
  226. package/src/models/DeleteBgpNetworkRequest.ts +4 -4
  227. package/src/models/DeleteFailoverTestJobRequest.ts +4 -4
  228. package/src/models/DeleteIpsecServerRequest.ts +4 -4
  229. package/src/models/DeleteNatGatewayRequest.ts +4 -4
  230. package/src/models/DeletePublicIpAddressPoolCidrBlockRequest.ts +3 -3
  231. package/src/models/DeleteRouteEntriesRequest.ts +2 -2
  232. package/src/models/DeleteRouteEntriesResponseBody.ts +2 -2
  233. package/src/models/DeleteVbrHaRequest.ts +3 -3
  234. package/src/models/DeleteVpnGatewayRequest.ts +3 -3
  235. package/src/models/DeleteVpnRouteEntryRequest.ts +2 -2
  236. package/src/models/DescribeCustomerGatewayRequest.ts +1 -1
  237. package/src/models/DescribeCustomerGatewayResponseBody.ts +2 -2
  238. package/src/models/DescribeCustomerGatewaysRequest.ts +1 -1
  239. package/src/models/DescribeEipAddressesRequest.ts +8 -76
  240. package/src/models/DescribeExpressConnectTrafficQosQueueRequest.ts +5 -3
  241. package/src/models/DescribeExpressConnectTrafficQosQueueResponseBody.ts +12 -12
  242. package/src/models/DescribeExpressConnectTrafficQosRuleRequest.ts +10 -6
  243. package/src/models/DescribeExpressConnectTrafficQosRuleResponseBody.ts +16 -16
  244. package/src/models/DescribeFailoverTestJobRequest.ts +2 -2
  245. package/src/models/DescribeFailoverTestJobResponseBody.ts +6 -6
  246. package/src/models/DescribeFailoverTestJobsRequest.ts +8 -8
  247. package/src/models/DescribeFailoverTestJobsResponseBody.ts +14 -14
  248. package/src/models/DescribePhysicalConnectionLoarequest.ts +3 -2
  249. package/src/models/DescribePhysicalConnectionLoaresponseBody.ts +14 -7
  250. package/src/models/DescribePhysicalConnectionsRequest.ts +56 -1
  251. package/src/models/DescribeRouterInterfaceAttributeResponseBody.ts +22 -22
  252. package/src/models/DescribeRouterInterfacesRequest.ts +7 -7
  253. package/src/models/DescribeRouterInterfacesResponseBody.ts +1 -1
  254. package/src/models/DescribeSslVpnClientCertRequest.ts +1 -1
  255. package/src/models/DescribeSslVpnClientCertResponseBody.ts +3 -3
  256. package/src/models/DescribeSslVpnServersRequest.ts +1 -1
  257. package/src/models/DescribeSslVpnServersResponseBody.ts +1 -1
  258. package/src/models/DescribeTagKeysForExpressConnectRequest.ts +2 -0
  259. package/src/models/DescribeVbrHaRequest.ts +6 -6
  260. package/src/models/DescribeVbrHaResponseBody.ts +2 -2
  261. package/src/models/DescribeVcoRouteEntriesResponseBody.ts +10 -10
  262. package/src/models/DescribeVirtualBorderRoutersForPhysicalConnectionRequest.ts +3 -3
  263. package/src/models/DescribeVirtualBorderRoutersRequest.ts +6 -26
  264. package/src/models/DescribeVirtualBorderRoutersResponseBody.ts +2 -2
  265. package/src/models/DescribeVpcGrantRulesToEcrRequest.ts +7 -7
  266. package/src/models/DescribeVpcGrantRulesToEcrResponseBody.ts +8 -8
  267. package/src/models/DescribeVpcsRequest.ts +7 -7
  268. package/src/models/DescribeVpnAttachmentsRequest.ts +4 -4
  269. package/src/models/DescribeVpnAttachmentsResponseBody.ts +9 -9
  270. package/src/models/DescribeVpnConnectionLogsRequest.ts +2 -2
  271. package/src/models/DescribeVpnConnectionLogsResponseBody.ts +1 -1
  272. package/src/models/DescribeVpnConnectionRequest.ts +2 -2
  273. package/src/models/DescribeVpnConnectionResponseBody.ts +21 -72
  274. package/src/models/DescribeVpnConnectionsRequest.ts +7 -9
  275. package/src/models/DescribeVpnCrossAccountAuthorizationsRequest.ts +2 -2
  276. package/src/models/DescribeVpnCrossAccountAuthorizationsResponseBody.ts +5 -5
  277. package/src/models/DescribeVpnGatewayResponseBody.ts +8 -8
  278. package/src/models/DescribeVpnGatewaysRequest.ts +2 -2
  279. package/src/models/DescribeVpnGatewaysResponseBody.ts +1 -1
  280. package/src/models/DescribeVpnPbrRouteEntriesRequest.ts +1 -1
  281. package/src/models/DescribeVpnPbrRouteEntriesResponseBody.ts +1 -1
  282. package/src/models/DescribeVpnSslServerLogsRequest.ts +2 -2
  283. package/src/models/DescribeVswitchesRequest.ts +7 -7
  284. package/src/models/DescribeVswitchesResponseBody.ts +1 -1
  285. package/src/models/DiagnoseVpnGatewayRequest.ts +1 -1
  286. package/src/models/DiagnoseVpnGatewayResponseBody.ts +2 -2
  287. package/src/models/DisassociateMacSecKeyRequest.ts +2 -2
  288. package/src/models/DissociateVpnGatewayWithCertificateRequest.ts +2 -2
  289. package/src/models/DownloadVpnConnectionConfigResponseBody.ts +11 -11
  290. package/src/models/EnablePhysicalConnectionRequest.ts +5 -7
  291. package/src/models/GetNatGatewayAttributeRequest.ts +1 -1
  292. package/src/models/GetNatGatewayAttributeResponseBody.ts +20 -20
  293. package/src/models/GetVpnGatewayDiagnoseResultRequest.ts +3 -3
  294. package/src/models/GetVpnGatewayDiagnoseResultResponseBody.ts +12 -12
  295. package/src/models/GrantInstanceToVbrRequest.ts +6 -6
  296. package/src/models/GrantInstanceToVbrShrinkRequest.ts +6 -6
  297. package/src/models/ListBusinessAccessPointsResponseBody.ts +40 -2
  298. package/src/models/ListIpsecServerLogsRequest.ts +2 -2
  299. package/src/models/ListIpsecServerLogsResponseBody.ts +1 -1
  300. package/src/models/ListIpsecServersRequest.ts +3 -3
  301. package/src/models/ListIpsecServersResponseBody.ts +7 -7
  302. package/src/models/ListVirtualPhysicalConnectionsRequest.ts +7 -7
  303. package/src/models/ListVirtualPhysicalConnectionsResponseBody.ts +20 -20
  304. package/src/models/ListVpnCertificateAssociationsRequest.ts +3 -3
  305. package/src/models/ListVpnCertificateAssociationsResponseBody.ts +2 -2
  306. package/src/models/ModifyCustomerGatewayAttributeRequest.ts +1 -1
  307. package/src/models/ModifyPhysicalConnectionAttributeRequest.ts +10 -3
  308. package/src/models/ModifySslVpnServerRequest.ts +11 -11
  309. package/src/models/ModifySslVpnServerResponseBody.ts +1 -1
  310. package/src/models/ModifyVcoRouteEntryWeightRequest.ts +4 -4
  311. package/src/models/ModifyVpcAttributeRequest.ts +4 -4
  312. package/src/models/ModifyVpcCidrBlockRequest.ts +101 -0
  313. package/src/models/ModifyVpcCidrBlockResponse.ts +40 -0
  314. package/src/models/ModifyVpcCidrBlockResponseBody.ts +34 -0
  315. package/src/models/ModifyVpnAttachmentAttributeRequest.ts +57 -133
  316. package/src/models/ModifyVpnAttachmentAttributeResponseBody.ts +55 -97
  317. package/src/models/ModifyVpnConnectionAttributeRequest.ts +84 -155
  318. package/src/models/ModifyVpnConnectionAttributeResponseBody.ts +26 -53
  319. package/src/models/ModifyVpnGatewayAttributeRequest.ts +5 -5
  320. package/src/models/ModifyVpnPbrRouteEntryPriorityRequest.ts +5 -5
  321. package/src/models/ModifyVpnRouteEntryWeightRequest.ts +2 -2
  322. package/src/models/MoveResourceGroupRequest.ts +1 -1
  323. package/src/models/MoveVpnResourceGroupRequest.ts +2 -2
  324. package/src/models/ReleaseEipAddressRequest.ts +2 -2
  325. package/src/models/UnassociateVpcCidrBlockRequest.ts +3 -3
  326. package/src/models/UpdateDhcpOptionsSetAttributeRequest.ts +8 -8
  327. package/src/models/UpdateIpsecServerRequest.ts +1 -1
  328. package/src/models/UpdateIpv4gatewayAttributeRequest.ts +6 -6
  329. package/src/models/model.ts +3 -0
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { ModifyVpcCidrBlockResponseBody } from "./ModifyVpcCidrBlockResponseBody";
3
+ export declare class ModifyVpcCidrBlockResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: ModifyVpcCidrBlockResponseBody;
9
+ static names(): {
10
+ [key: string]: string;
11
+ };
12
+ static types(): {
13
+ [key: string]: any;
14
+ };
15
+ validate(): void;
16
+ constructor(map?: {
17
+ [key: string]: any;
18
+ });
19
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.ModifyVpcCidrBlockResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const ModifyVpcCidrBlockResponseBody_1 = require("./ModifyVpcCidrBlockResponseBody");
40
+ class ModifyVpcCidrBlockResponse extends $dara.Model {
41
+ static names() {
42
+ return {
43
+ headers: 'headers',
44
+ statusCode: 'statusCode',
45
+ body: 'body',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
51
+ statusCode: 'number',
52
+ body: ModifyVpcCidrBlockResponseBody_1.ModifyVpcCidrBlockResponseBody,
53
+ };
54
+ }
55
+ validate() {
56
+ if (this.headers) {
57
+ $dara.Model.validateMap(this.headers);
58
+ }
59
+ if (this.body && typeof this.body.validate === 'function') {
60
+ this.body.validate();
61
+ }
62
+ super.validate();
63
+ }
64
+ constructor(map) {
65
+ super(map);
66
+ }
67
+ }
68
+ exports.ModifyVpcCidrBlockResponse = ModifyVpcCidrBlockResponse;
69
+ //# sourceMappingURL=ModifyVpcCidrBlockResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModifyVpcCidrBlockResponse.js","sourceRoot":"","sources":["../../src/models/ModifyVpcCidrBlockResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,qFAAkF;AAGlF,MAAa,0BAA2B,SAAQ,KAAK,CAAC,KAAK;IAIzD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,+DAA8B;SACrC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,gEAiCC"}
@@ -0,0 +1,21 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class ModifyVpcCidrBlockResponseBody extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * Id of the request
6
+ *
7
+ * @example
8
+ * 6608E72F-F276-440F-ABEF-419971CEC4D1
9
+ */
10
+ requestId?: string;
11
+ static names(): {
12
+ [key: string]: string;
13
+ };
14
+ static types(): {
15
+ [key: string]: any;
16
+ };
17
+ validate(): void;
18
+ constructor(map?: {
19
+ [key: string]: any;
20
+ });
21
+ }
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.ModifyVpcCidrBlockResponseBody = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class ModifyVpcCidrBlockResponseBody extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ requestId: 'RequestId',
43
+ };
44
+ }
45
+ static types() {
46
+ return {
47
+ requestId: 'string',
48
+ };
49
+ }
50
+ validate() {
51
+ super.validate();
52
+ }
53
+ constructor(map) {
54
+ super(map);
55
+ }
56
+ }
57
+ exports.ModifyVpcCidrBlockResponseBody = ModifyVpcCidrBlockResponseBody;
58
+ //# sourceMappingURL=ModifyVpcCidrBlockResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModifyVpcCidrBlockResponseBody.js","sourceRoot":"","sources":["../../src/models/ModifyVpcCidrBlockResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAS7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5BD,wEA4BC"}
@@ -2,9 +2,9 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The autonomous system number on the local end (Alibaba Cloud side) of the tunnel. Valid values: **1** to **4294967295**. Default value: **45104**.
5
+ * The autonomous system number (ASN) on the Alibaba Cloud side of the tunnel. Valid values: **1** to **4294967295**. Default value: **45104**.
6
6
  *
7
- * > We recommend that you use a private autonomous system number to establish a BGP connection with Alibaba Cloud. Refer to the relevant documentation for the range of private autonomous system numbers.
7
+ * > Use a private ASN to establish a BGP connection with Alibaba Cloud. For the range of private ASNs, refer to the relevant documentation.
8
8
  *
9
9
  * @example
10
10
  * 65530
@@ -12,7 +12,7 @@ export declare class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificati
12
12
  localAsn?: number;
13
13
  /**
14
14
  * @remarks
15
- * The BGP IP address on the local end (Alibaba Cloud side) of the tunnel. This address is an IP address within the BGP CIDR block.
15
+ * The BGP address on the Alibaba Cloud side. This address is an IP address within the BGP CIDR block.
16
16
  *
17
17
  * @example
18
18
  * 169.254.10.1
@@ -20,9 +20,7 @@ export declare class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificati
20
20
  localBgpIp?: string;
21
21
  /**
22
22
  * @remarks
23
- * The BGP CIDR block of the tunnel. The CIDR block must fall within 169.254.0.0/16 and have a mask length of 30. The CIDR block cannot be 169.254.0.0/30, 169.254.1.0/30, 169.254.2.0/30, 169.254.3.0/30, 169.254.4.0/30, 169.254.5.0/30, 169.254.6.0/30, or 169.254.169.252/30.
24
- *
25
- * > The BGP CIDR blocks of the two tunnels under the same IPsec-VPN connection must be different.
23
+ * The BGP CIDR block of the tunnel. The CIDR block must be a CIDR block with a mask length of 30 within 169.254.0.0/16 and cannot be 169.254.0.0/30, 169.254.1.0/30, 169.254.2.0/30, 169.254.3.0/30, 169.254.4.0/30, 169.254.5.0/30, 169.254.6.0/30, or 169.254.169.252/30.
26
24
  *
27
25
  * @example
28
26
  * 169.254.10.0/30
@@ -42,7 +40,7 @@ export declare class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificati
42
40
  export declare class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig extends $dara.Model {
43
41
  /**
44
42
  * @remarks
45
- * The authentication algorithm for Phase 1 negotiation. Valid values: **md5**, **sha1**, **sha256**, **sha384**, **sha512**.
43
+ * The authentication algorithm for Phase 1 negotiation. Valid values: **md5**, **sha1**, **sha256**, **sha384**, and **sha512**.
46
44
  *
47
45
  * @example
48
46
  * sha1
@@ -50,7 +48,7 @@ export declare class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificati
50
48
  ikeAuthAlg?: string;
51
49
  /**
52
50
  * @remarks
53
- * The encryption algorithm for Phase 1 negotiation. Valid values: **aes**, **aes192**, **aes256**, **des**, or **3des**.
51
+ * The encryption algorithm for Phase 1 negotiation. Valid values: **aes**, **aes192**, **aes256**, **des**, and **3des**.
54
52
  *
55
53
  * @example
56
54
  * aes
@@ -58,9 +56,7 @@ export declare class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificati
58
56
  ikeEncAlg?: string;
59
57
  /**
60
58
  * @remarks
61
- * The lifetime of the SA negotiated in Phase 1. Unit: seconds.
62
- *
63
- * Valid values: **0** to **86400**.
59
+ * The lifetime of the SA generated by Phase 1 negotiation. Unit: seconds.
64
60
  *
65
61
  * @example
66
62
  * 86400
@@ -68,10 +64,10 @@ export declare class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificati
68
64
  ikeLifetime?: number;
69
65
  /**
70
66
  * @remarks
71
- * The negotiation mode of the IKE version. Valid values: **main** or **aggressive**.
67
+ * The negotiation mode of the IKE version. Valid values: **main** and **aggressive**.
72
68
  *
73
- * - **main**: main mode. The negotiation process is highly secure.
74
- * - **aggressive**: aggressive mode. The negotiation is fast and has a high success rate.
69
+ * - **main**: Main mode. The negotiation process is highly secure.
70
+ * - **aggressive**: Aggressive mode. The negotiation is fast and has a high success rate.
75
71
  *
76
72
  * @example
77
73
  * main
@@ -79,7 +75,8 @@ export declare class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificati
79
75
  ikeMode?: string;
80
76
  /**
81
77
  * @remarks
82
- * The Diffie-Hellman key exchange algorithm used in Phase 1 negotiation.
78
+ * The Diffie-Hellman key exchange algorithm used in the first-phase negotiation.
79
+ *
83
80
  * Valid values: **group1**, **group2**, **group5**, **group14**.
84
81
  *
85
82
  * @example
@@ -88,9 +85,7 @@ export declare class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificati
88
85
  ikePfs?: string;
89
86
  /**
90
87
  * @remarks
91
- * The version of the IKE protocol. Valid values: **ikev1** or **ikev2**.
92
- *
93
- * Compared with IKEv1, IKEv2 simplifies the SA negotiation process and provides better support for multi-CIDR-block scenarios.
88
+ * The version of the IKE protocol. Valid values: **ikev1** and **ikev2**.
94
89
  *
95
90
  * @example
96
91
  * ikev2
@@ -98,9 +93,7 @@ export declare class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificati
98
93
  ikeVersion?: string;
99
94
  /**
100
95
  * @remarks
101
- * The identifier on the local end (Alibaba Cloud side) of the tunnel, which is used for Phase 1 negotiation. The value is limited to 100 characters and cannot contain spaces.
102
- *
103
- * **LocalId** supports the FQDN format. If you use the FQDN format, we recommend that you set the negotiation mode to **aggressive**.
96
+ * The identifier on the Alibaba Cloud side for the tunnel, used for Phase 1 negotiation. The value can be up to 100 characters in length and cannot contain spaces.
104
97
  *
105
98
  * @example
106
99
  * 47.XX.XX.1
@@ -108,13 +101,13 @@ export declare class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificati
108
101
  localId?: string;
109
102
  /**
110
103
  * @remarks
111
- * The pre-shared key used for identity authentication between the tunnel and the tunnel peer.
104
+ * The pre-shared key, which is used for identity authentication between the tunnel and the tunnel peer.
112
105
  *
113
106
  * - The key must be 1 to 100 characters in length and can contain digits, uppercase letters, lowercase letters, and the following characters. It cannot contain spaces. ```~!\\`@#$%^&*()_-+={}[]|;:\\",.<>/?```
114
107
  *
115
- * - If you do not specify a pre-shared key, the system randomly generates a 16-character string as the pre-shared key. You can call [DescribeVpnAttachments](https://help.aliyun.com/document_detail/2526939.html) to query the pre-shared key that is automatically generated by the system.
108
+ * - If you do not specify a pre-shared key, the system randomly generates a 16-character string as the pre-shared key. You can call the [DescribeVpnAttachments](https://help.aliyun.com/document_detail/2526939.html) operation to query the pre-shared key automatically generated by the system.
116
109
  *
117
- * > The pre-shared key of the tunnel must be the same as that of the tunnel peer. Otherwise, the tunnel cannot be established.
110
+ * > The pre-shared keys of the tunnel and the tunnel peer must be the same. Otherwise, the tunnel cannot be established.
118
111
  *
119
112
  * @example
120
113
  * 123456****
@@ -122,9 +115,7 @@ export declare class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificati
122
115
  psk?: string;
123
116
  /**
124
117
  * @remarks
125
- * The identifier of the tunnel peer, which is used for Phase 1 negotiation. The value is limited to 100 characters and cannot contain spaces.
126
- *
127
- * **RemoteId** supports the FQDN format. If you use the FQDN format, we recommend that you set the negotiation mode to **aggressive**.
118
+ * The identifier of the tunnel peer, used for Phase 1 negotiation. The value can be up to 100 characters in length and cannot contain spaces.
128
119
  *
129
120
  * @example
130
121
  * 47.XX.XX.2
@@ -144,7 +135,7 @@ export declare class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificati
144
135
  export declare class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig extends $dara.Model {
145
136
  /**
146
137
  * @remarks
147
- * The authentication algorithm for Phase 2 negotiation.
138
+ * The authentication algorithm used in Phase 2 negotiations.
148
139
  *
149
140
  * Valid values: **md5**, **sha1**, **sha256**, **sha384**, **sha512**.
150
141
  *
@@ -154,7 +145,7 @@ export declare class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificati
154
145
  ipsecAuthAlg?: string;
155
146
  /**
156
147
  * @remarks
157
- * The encryption algorithm for Phase 2 negotiation. Valid values: **aes**, **aes192**, **aes256**, **des**, or **3des**.
148
+ * The encryption algorithm for Phase 2 negotiation. Valid values: **aes**, **aes192**, **aes256**, **des**, and **3des**.
158
149
  *
159
150
  * @example
160
151
  * aes
@@ -162,9 +153,7 @@ export declare class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificati
162
153
  ipsecEncAlg?: string;
163
154
  /**
164
155
  * @remarks
165
- * The lifetime of the SA negotiated in Phase 2. Unit: seconds.
166
- *
167
- * Valid values: **0** to **86400**.
156
+ * The lifetime of the SA generated by Phase 2 negotiation. Unit: seconds.
168
157
  *
169
158
  * @example
170
159
  * 86400
@@ -172,7 +161,7 @@ export declare class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificati
172
161
  ipsecLifetime?: number;
173
162
  /**
174
163
  * @remarks
175
- * The Diffie-Hellman key exchange algorithm used in Phase 2 negotiation.
164
+ * The Diffie-Hellman key exchange algorithm used in the second phase of negotiation.
176
165
  *
177
166
  * Valid values: **disabled**, **group1**, **group2**, **group5**, **group14**.
178
167
  *
@@ -194,9 +183,7 @@ export declare class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificati
194
183
  export declare class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecification extends $dara.Model {
195
184
  /**
196
185
  * @remarks
197
- * The customer gateway ID associated with the tunnel.
198
- *
199
- * > Only dual-tunnel IPsec-VPN connections support this parameter.
186
+ * The ID of the customer gateway associated with the tunnel.
200
187
  *
201
188
  * @example
202
189
  * cgw-p0w2jemrcj5u61un8****
@@ -204,11 +191,7 @@ export declare class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificati
204
191
  customerGatewayId?: string;
205
192
  /**
206
193
  * @remarks
207
- * Specifies whether to enable DPD for the tunnel. Valid values:
208
- *
209
- * - **true**: enables DPD. The IPsec initiator sends DPD packets to check whether the peer is alive. If no correct response is received within the specified time, the peer is considered disconnected. Then, the ISAKMP SA, IPsec SA, and IPsec tunnel are deleted.
210
- *
211
- * - **false**: disables DPD. The IPsec initiator does not send DPD packets.
194
+ * Specifies whether to enable the Dead Peer Detection (DPD) feature for the tunnel. Valid values:
212
195
  *
213
196
  * @example
214
197
  * true
@@ -218,9 +201,9 @@ export declare class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificati
218
201
  * @remarks
219
202
  * Specifies whether to enable NAT traversal for the tunnel. Valid values:
220
203
  *
221
- * - **true**: enables NAT traversal. After NAT traversal is enabled, the verification of the UDP port number is removed during IKE negotiation, and the NAT gateway device in the tunnel can be discovered.
204
+ * - **true**: Enables NAT traversal. After NAT traversal is enabled, the IKE negotiation process skips UDP port number verification and can discover NAT gateway devices along the tunnel.
222
205
  *
223
- * - **false**: disables NAT traversal.
206
+ * - **false**: Disables NAT traversal.
224
207
  *
225
208
  * @example
226
209
  * true
@@ -228,9 +211,9 @@ export declare class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificati
228
211
  enableNatTraversal?: boolean;
229
212
  /**
230
213
  * @remarks
231
- * The BGP configuration for the tunnel.
214
+ * Adds BGP configurations for the tunnel.
232
215
  *
233
- * > Configure this parameter after you enable BGP for the IPsec-VPN connection (set **EnableTunnelsBgp** to **true**).
216
+ * > Configure this parameter after you enable BGP for the IPsec-VPN connection (that is, set **EnableTunnelsBgp** to **true**).
234
217
  */
235
218
  tunnelBgpConfig?: ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig;
236
219
  /**
@@ -250,9 +233,6 @@ export declare class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificati
250
233
  * @remarks
251
234
  * The creation order of the tunnel.
252
235
  *
253
- * - **1**: the first tunnel.
254
- * - **2**: the second tunnel.
255
- *
256
236
  * @example
257
237
  * 1
258
238
  */
@@ -288,26 +268,26 @@ export declare class ModifyVpnAttachmentAttributeRequest extends $dara.Model {
288
268
  autoConfigRoute?: boolean;
289
269
  /**
290
270
  * @remarks
291
- * This parameter is supported when you modify a single-tunnel IPsec-VPN connection.
271
+ * This parameter is supported when you modify an IPsec-VPN connection in single-tunnel mode.
292
272
  *
293
273
  * BGP configuration:
294
274
  *
295
- * - **BgpConfig.EnableBgp**: Specifies whether to enable the BGP feature. Valid values:
296
- * - **true**: enables the BGP feature.
297
- * - **false**: disables the BGP feature.
275
+ * - **BgpConfig.EnableBgp**: specifies whether to enable BGP. Valid values:
276
+ * - **true**: Enable BGP.
277
+ * - **false**: Disable BGP.
298
278
  *
299
- * - **BgpConfig.LocalAsn**: The autonomous system number on the Alibaba Cloud side. Valid values: **1** to **4294967295**.
279
+ * - **BgpConfig.LocalAsn**: the autonomous system number (ASN) on the Alibaba Cloud side. Valid values: **1** to **4294967295**.
300
280
  *
301
- * The value can be entered in the two-segment format: the first 16 bits.the last 16 bits. Each segment is entered in decimal format.
281
+ * You can enter the ASN in the two-segment notation: the first 16 bits.the last 16 bits. Each segment is entered in decimal format.
302
282
  *
303
- * For example, if you enter 123.456, the autonomous system number is 123 × 65536 + 456 = 8061384.
283
+ * For example, if you enter 123.456, the ASN is 123 × 65536 + 456 = 8061384.
304
284
  *
305
- * - **BgpConfig.TunnelCidr**: The IPsec tunnel CIDR block. The CIDR block must fall within 169.254.0.0/16 and have a mask length of 30. The CIDR block cannot be 169.254.0.0/30, 169.254.1.0/30, 169.254.2.0/30, 169.254.3.0/30, 169.254.4.0/30, 169.254.5.0/30, 169.254.6.0/30, or 169.254.169.252/30.
285
+ * - **BgpConfig.TunnelCidr**: the CIDR block of the IPsec tunnel. The CIDR block must be a /30 CIDR block within 169.254.0.0/16 and cannot be 169.254.0.0/30, 169.254.1.0/30, 169.254.2.0/30, 169.254.3.0/30, 169.254.4.0/30, 169.254.5.0/30, 169.254.6.0/30, or 169.254.169.252/30.
306
286
  *
307
- * - **LocalBgpIp**: The BGP IP address on the Alibaba Cloud side. This address is an IP address within the IPsec tunnel CIDR block.
287
+ * - **LocalBgpIp**: the BGP IP address on the Alibaba Cloud side. This address must be an IP address within the CIDR block of the IPsec tunnel.
308
288
  *
309
- * >- Before you configure BGP, learn about how the BGP dynamic routing feature works and its limits. For more information, see [Configure BGP dynamic routing](https://help.aliyun.com/document_detail/445767.html).
310
- * >- Use a private autonomous system number to establish a BGP connection with Alibaba Cloud. Refer to the relevant documentation for the range of private autonomous system numbers.
289
+ * >- Before you configure BGP, we recommend that you learn about how BGP dynamic routing works and its limits. For more information, see [Configure BGP dynamic routing](https://help.aliyun.com/document_detail/445767.html).
290
+ * >- We recommend that you use a private ASN to establish a BGP connection with Alibaba Cloud. For the range of private ASNs, refer to the relevant documentation.
311
291
  *
312
292
  * @example
313
293
  * {"EnableBgp":"true","LocalAsn":"45104","TunnelCidr":"169.254.11.0/30","LocalBgpIp":"169.254.11.1"}
@@ -319,7 +299,7 @@ export declare class ModifyVpnAttachmentAttributeRequest extends $dara.Model {
319
299
  *
320
300
  * You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
321
301
  *
322
- * > If you do not specify this parameter, the system automatically uses the **RequestId** value as the **ClientToken** value. The **RequestId** value is different for each API request.
302
+ * > If you do not specify this parameter, the system automatically uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** of each API request is different.
323
303
  *
324
304
  * @example
325
305
  * 123e4567-e89b-12d3-a456-4266****
@@ -329,18 +309,13 @@ export declare class ModifyVpnAttachmentAttributeRequest extends $dara.Model {
329
309
  * @remarks
330
310
  * The customer gateway instance associated with the IPsec-VPN connection.
331
311
  *
332
- * > Only single-tunnel IPsec-VPN connections support this parameter.
333
- *
334
312
  * @example
335
313
  * cgw-p0w2jemrcj5u61un8****
336
314
  */
337
315
  customerGatewayId?: string;
338
316
  /**
339
317
  * @remarks
340
- * Specifies whether the IPsec-VPN connection configuration takes effect immediately. Valid values:
341
- *
342
- * - **true**: The system immediately initiates IPsec protocol negotiation after the configuration is complete.
343
- * - **false**: The system initiates IPsec protocol negotiation only when traffic enters.
318
+ * Specifies whether the configuration of the IPsec-VPN connection takes effect immediately. Valid values:
344
319
  *
345
320
  * @example
346
321
  * false
@@ -352,9 +327,9 @@ export declare class ModifyVpnAttachmentAttributeRequest extends $dara.Model {
352
327
  *
353
328
  * Specifies whether to enable the Dead Peer Detection (DPD) feature. Valid values:
354
329
  *
355
- * - **true**: enables DPD. The IPsec initiator sends DPD packets to check whether the peer is alive. If no correct response is received within the specified time, the peer is considered disconnected. Then, the ISAKMP SA, IPsec SA, and IPsec tunnel are deleted.
330
+ * - **true**: Enables the DPD feature. The IPsec initiator sends DPD packets to check whether the peer device is alive. If no correct response is received within the specified period of time, the peer is considered disconnected. The ISAKMP SA and the corresponding IPsec SA are deleted, and the security tunnel is also deleted.
356
331
  *
357
- * - **false**: disables DPD. The IPsec initiator does not send DPD packets.
332
+ * - **false**: Disables the DPD feature. The IPsec initiator does not send DPD probe packets.
358
333
  *
359
334
  * @example
360
335
  * true
@@ -362,13 +337,13 @@ export declare class ModifyVpnAttachmentAttributeRequest extends $dara.Model {
362
337
  enableDpd?: boolean;
363
338
  /**
364
339
  * @remarks
365
- * This parameter is supported when you modify a single-tunnel IPsec-VPN connection.
340
+ * This parameter is supported when you modify an IPsec-VPN connection in single-tunnel mode.
366
341
  *
367
342
  * Specifies whether to enable NAT traversal. Valid values:
368
343
  *
369
- * - **true**: enables NAT traversal. After NAT traversal is enabled, the verification of the UDP port number is removed during IKE negotiation, and the NAT gateway device in the VPN tunnel can be discovered.
344
+ * - **true**: Enable NAT traversal. After NAT traversal is enabled, the IKE negotiation process skips UDP port number verification and can discover NAT gateway devices in the VPN tunnel.
370
345
  *
371
- * - **false**: disables NAT traversal.
346
+ * - **false**: Disable NAT traversal.
372
347
  *
373
348
  * @example
374
349
  * true
@@ -376,11 +351,11 @@ export declare class ModifyVpnAttachmentAttributeRequest extends $dara.Model {
376
351
  enableNatTraversal?: boolean;
377
352
  /**
378
353
  * @remarks
379
- * This parameter is supported when you modify a dual-tunnel IPsec-VPN connection.
354
+ * This parameter is supported when you modify an IPsec-VPN connection in dual-tunnel mode.
380
355
  *
381
- * Specifies whether to enable the BGP dynamic routing feature for the tunnels. Valid values: **true** or **false**.
356
+ * Specifies whether to enable BGP for the tunnel. Valid values: **true** or **false**.
382
357
  *
383
- * > Before you configure BGP, learn about how the BGP dynamic routing feature works and its limits. For more information, see [Configure BGP dynamic routing](https://help.aliyun.com/document_detail/445767.html).
358
+ * > Before you add BGP configurations, we recommend that you understand the working mechanism and limits of BGP dynamic routing. For more information, see [Configure BGP dynamic routing](https://help.aliyun.com/document_detail/445767.html).
384
359
  *
385
360
  * @example
386
361
  * false
@@ -393,25 +368,6 @@ export declare class ModifyVpnAttachmentAttributeRequest extends $dara.Model {
393
368
  * @remarks
394
369
  * This parameter is supported when you modify a single-tunnel IPsec-VPN connection.
395
370
  *
396
- * Health check configuration:
397
- *
398
- * - **HealthCheckConfig.enable**: Specifies whether to enable health checks. Valid values:
399
- * - **true**: enables health checks.
400
- * - **false**: disables health checks.
401
- *
402
- * - **HealthCheckConfig.dip**: The destination IP address of the health check. Enter an IP address of the on-premises data center that can be accessed from the VPC side through the IPsec-VPN connection.
403
- *
404
- * - **HealthCheckConfig.sip**: The source IP address of the health check. Enter an IP address on the VPC side that can be accessed from the on-premises data center through the IPsec-VPN connection.
405
- *
406
- * - **HealthCheckConfig.interval**: The retry interval of the health check. Unit: seconds.
407
- *
408
- * - **HealthCheckConfig.retry**: The number of health check retries.
409
- *
410
- * - **HealthCheckConfig.Policy**: Specifies whether to withdraw published routes when the health check fails. Valid values:
411
- *
412
- * - **revoke_route**: withdraws published routes.
413
- * - **reserve_route**: does not withdraw published routes.
414
- *
415
371
  * @example
416
372
  * {"enable":"true","dip":"192.168.1.1","sip":"10.1.1.1","interval":"3","retry":"3","Policy": "revoke_route"}
417
373
  */
@@ -420,42 +376,19 @@ export declare class ModifyVpnAttachmentAttributeRequest extends $dara.Model {
420
376
  * @remarks
421
377
  * This parameter is supported when you modify a single-tunnel IPsec-VPN connection.
422
378
  *
423
- * Phase 1 negotiation configuration:
424
- *
425
- * - **IkeConfig.Psk**: The pre-shared key used for identity authentication between the Alibaba Cloud IPsec-VPN connection and the on-premises data center.
426
- * - The key must be 1 to 100 characters in length and can contain digits, uppercase letters, lowercase letters, and the following characters. It cannot contain spaces. ```~!`@#$%^&*()_-+={}[]|;:\\",.<>/?```
427
- * - If you do not specify a pre-shared key, the system randomly generates a 16-character string as the pre-shared key. You can call [DescribeVpnConnection](https://help.aliyun.com/document_detail/120374.html) to query the pre-shared key that is automatically generated by the system.
428
- * > The pre-shared key on the IPsec-VPN connection side must be the same as the authentication key on the on-premises data center side. Otherwise, a connection cannot be established between the on-premises data center and the VPN gateway.
429
- *
430
- * - **IkeConfig.IkeVersion**: The version of the IKE protocol. Valid values: **ikev1** or **ikev2**.
431
- *
432
- * - **IkeConfig.IkeMode**: The negotiation mode. Valid values: **main** or **aggressive**.
433
- *
434
- * - **IkeConfig.IkeEncAlg**: The encryption algorithm for Phase 1 negotiation. Valid values: **aes**, **aes192**, **aes256**, **des**, or **3des**.
435
- *
436
- * - **IkeConfig.IkeAuthAlg**: The authentication algorithm for Phase 1 negotiation. Valid values: **md5**, **sha1**, **sha256**, **sha384**, or **sha512**.
437
- *
438
- * - **IkeConfig.IkePfs**: The Diffie-Hellman key exchange algorithm used in Phase 1 negotiation. Valid values: **group1**, **group2**, **group5**, or **group14**.
439
- *
440
- * - **IkeConfig.IkeLifetime**: The lifetime of the SA negotiated in Phase 1. Unit: seconds. Valid values: **0** to **86400**.
441
- *
442
- * - **IkeConfig.LocalId**: The identifier on the Alibaba Cloud side of the IPsec-VPN connection. The value is limited to 100 characters and cannot contain spaces.
443
- *
444
- * - **IkeConfig.RemoteId**: The identifier on the on-premises data center side of the IPsec-VPN connection. The value is limited to 100 characters and cannot contain spaces.
445
- *
446
379
  * @example
447
380
  * {"Psk":"1234****","IkeVersion":"ikev1","IkeMode":"main","IkeEncAlg":"aes","IkeAuthAlg":"sha1","IkePfs":"group2","IkeLifetime":86400,"LocalId":"47.XX.XX.1","RemoteId":"47.XX.XX.2"}
448
381
  */
449
382
  ikeConfig?: string;
450
383
  /**
451
384
  * @remarks
452
- * This parameter is supported when you modify a single-tunnel IPsec-VPN connection.
385
+ * This parameter is supported when you modify an IPsec-VPN connection in single-tunnel mode.
453
386
  *
454
- * Phase 2 negotiation configuration:
387
+ * The configuration of Phase 2 negotiation:
455
388
  *
456
- * - **IpsecConfig.IpsecEncAlg**: The encryption algorithm for Phase 2 negotiation. Valid values: **aes**, **aes192**, **aes256**, **des**, or **3des**.
389
+ * - **IpsecConfig.IpsecEncAlg**: The encryption algorithm used in Phase 2 negotiation. Valid values: **aes**, **aes192**, **aes256**, **des**, or **3des**.
457
390
  *
458
- * - **IpsecConfig.IpsecAuthAlg**: The authentication algorithm for Phase 2 negotiation. Valid values: **md5**, **sha1**, **sha256**, **sha384**, or **sha512**.
391
+ * - **IpsecConfig.IpsecAuthAlg**: The authentication algorithm used in Phase 2 negotiation. Valid values: **md5**, **sha1**, **sha256**, **sha384**, or **sha512**.
459
392
  *
460
393
  * - **IpsecConfig.IpsecPfs**: The Diffie-Hellman key exchange algorithm used in Phase 2 negotiation. Valid values: **disabled**, **group1**, **group2**, **group5**, or **group14**.
461
394
  * - **IpsecConfig.IpsecLifetime**: The lifetime of the SA negotiated in Phase 2. Unit: seconds. Valid values: **0** to **86400**.
@@ -466,11 +399,11 @@ export declare class ModifyVpnAttachmentAttributeRequest extends $dara.Model {
466
399
  ipsecConfig?: string;
467
400
  /**
468
401
  * @remarks
469
- * The CIDR block on the VPC side that needs to communicate with the on-premises data center. This parameter is used for Phase 2 negotiation.
402
+ * The CIDR block on the VPC side that needs to communicate with the on-premises data center. This is used for Phase 2 negotiation.
470
403
  *
471
404
  * Separate multiple CIDR blocks with commas (,). Example: 192.168.1.0/24,192.168.2.0/24.
472
405
  *
473
- * The following descriptions provide information about the routing mode of the IPsec-VPN connection:
406
+ * Description of the IPsec-VPN connection routing mode:
474
407
  *
475
408
  * - If both **LocalSubnet** and **RemoteSubnet** are set to 0.0.0.0/0, the destination routing mode is used.
476
409
  * - If both **LocalSubnet** and **RemoteSubnet** are set to specific CIDR blocks, the protected data flow mode is used.
@@ -504,7 +437,7 @@ export declare class ModifyVpnAttachmentAttributeRequest extends $dara.Model {
504
437
  * @remarks
505
438
  * The region ID of the IPsec-VPN connection.
506
439
  *
507
- * You can call [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) to query the most recent region list.
440
+ * You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query region IDs.
508
441
  *
509
442
  * This parameter is required.
510
443
  *
@@ -516,8 +449,6 @@ export declare class ModifyVpnAttachmentAttributeRequest extends $dara.Model {
516
449
  * @remarks
517
450
  * The CA certificate of the peer.
518
451
  *
519
- * > This parameter does not take effect.
520
- *
521
452
  * @example
522
453
  * -----BEGIN CERTIFICATE----- MIIB7zCCAZW**** -----END CERTIFICATE-----
523
454
  */
@@ -526,13 +457,6 @@ export declare class ModifyVpnAttachmentAttributeRequest extends $dara.Model {
526
457
  * @remarks
527
458
  * The CIDR block on the on-premises data center side that needs to communicate with the VPC. This parameter is used for Phase 2 negotiation.
528
459
  *
529
- * Separate multiple CIDR blocks with commas (,). Example: 192.168.3.0/24,192.168.4.0/24.
530
- *
531
- * The following descriptions provide information about the routing mode of the IPsec-VPN connection:
532
- *
533
- * - If both **LocalSubnet** and **RemoteSubnet** are set to 0.0.0.0/0, the destination routing mode is used.
534
- * - If both **LocalSubnet** and **RemoteSubnet** are set to specific CIDR blocks, the protected data flow mode is used.
535
- *
536
460
  * @example
537
461
  * 10.1.3.0/24,10.1.4.0/24
538
462
  */
@@ -543,7 +467,7 @@ export declare class ModifyVpnAttachmentAttributeRequest extends $dara.Model {
543
467
  * @remarks
544
468
  * The tunnel configurations.
545
469
  *
546
- * The parameters in the **TunnelOptionsSpecification** array are supported only when you modify a dual-tunnel IPsec-VPN connection. You can modify the configurations of both tunnels of the IPsec-VPN connection at the same time.
470
+ * The parameters in the **TunnelOptionsSpecification** array are supported only when you modify an IPsec-VPN connection in dual-tunnel mode. You can modify the configurations of both tunnels of the IPsec-VPN connection at the same time.
547
471
  *
548
472
  * **if can be null:**
549
473
  * true