@alicloud/cloudfw20171207 8.2.1 → 8.4.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 (234) hide show
  1. package/dist/client.d.ts +183 -100
  2. package/dist/client.js +294 -100
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddDnsFirewallPolicyRequest.d.ts +20 -32
  5. package/dist/models/AddDnsFirewallPolicyRequest.js.map +1 -1
  6. package/dist/models/AddDnsFirewallPolicyResponseBody.d.ts +1 -1
  7. package/dist/models/AddInstanceMembersRequest.d.ts +3 -3
  8. package/dist/models/CreateDownloadTaskRequest.d.ts +4 -4
  9. package/dist/models/CreateDownloadTaskResponseBody.d.ts +5 -3
  10. package/dist/models/CreateDownloadTaskResponseBody.js.map +1 -1
  11. package/dist/models/CreateIpsPrivateAssocRequest.d.ts +4 -2
  12. package/dist/models/CreateIpsPrivateAssocRequest.js.map +1 -1
  13. package/dist/models/CreateIpsPrivateAssocResponseBody.d.ts +1 -1
  14. package/dist/models/CreatePrivateDnsEndpointRequest.d.ts +9 -9
  15. package/dist/models/CreatePrivateDnsEndpointResponseBody.d.ts +1 -1
  16. package/dist/models/CreateSecurityProxyRequest.d.ts +7 -6
  17. package/dist/models/CreateSecurityProxyRequest.js.map +1 -1
  18. package/dist/models/CreateTrFirewallV2request.d.ts +16 -15
  19. package/dist/models/CreateTrFirewallV2request.js.map +1 -1
  20. package/dist/models/CreateTrFirewallV2responseBody.d.ts +2 -2
  21. package/dist/models/CreateTrFirewallV2routePolicyRequest.d.ts +13 -12
  22. package/dist/models/CreateTrFirewallV2routePolicyRequest.js.map +1 -1
  23. package/dist/models/CreateTrFirewallV2routePolicyResponseBody.d.ts +2 -2
  24. package/dist/models/CreateTrFirewallV2routePolicyShrinkRequest.d.ts +11 -10
  25. package/dist/models/CreateTrFirewallV2routePolicyShrinkRequest.js.map +1 -1
  26. package/dist/models/CreateVpcFirewallCenConfigureRequest.d.ts +16 -16
  27. package/dist/models/CreateVpcFirewallControlPolicyRequest.d.ts +34 -34
  28. package/dist/models/DeleteVpcFirewallConfigureRequest.d.ts +1 -1
  29. package/dist/models/DescribeAccessInstanceRegionListRequest.d.ts +2 -2
  30. package/dist/models/DescribeAccessInstanceTaskRequest.d.ts +4 -4
  31. package/dist/models/DescribeAccessInstanceTaskResponseBody.d.ts +4 -4
  32. package/dist/models/DescribeAssetRiskListRequest.d.ts +6 -8
  33. package/dist/models/DescribeAssetRiskListRequest.js.map +1 -1
  34. package/dist/models/DescribeAssetRiskListResponseBody.d.ts +4 -7
  35. package/dist/models/DescribeAssetRiskListResponseBody.js.map +1 -1
  36. package/dist/models/DescribeControlPolicyDomainResolveRequest.d.ts +5 -7
  37. package/dist/models/DescribeControlPolicyDomainResolveRequest.js.map +1 -1
  38. package/dist/models/DescribeFirewallDropTrendRequest.d.ts +4 -4
  39. package/dist/models/DescribeFirewallDropTrendResponseBody.d.ts +1 -1
  40. package/dist/models/DescribeFirewallTaskRequest.d.ts +5 -6
  41. package/dist/models/DescribeFirewallTaskRequest.js.map +1 -1
  42. package/dist/models/DescribeFirewallTaskResponseBody.d.ts +10 -10
  43. package/dist/models/DescribeFirewallTrafficTrendRequest.d.ts +3 -3
  44. package/dist/models/DescribeFirewallTrafficTrendResponseBody.d.ts +3 -3
  45. package/dist/models/DescribeNatFirewallDropTrafficTrendRequest.d.ts +3 -3
  46. package/dist/models/DescribeNatFirewallDropTrafficTrendResponseBody.d.ts +5 -5
  47. package/dist/models/DescribeOutgoingDestinationCategoryRequest.d.ts +10 -6
  48. package/dist/models/DescribeOutgoingDestinationCategoryRequest.js.map +1 -1
  49. package/dist/models/DescribeOutgoingDestinationCategoryResponseBody.d.ts +9 -9
  50. package/dist/models/DescribeOutgoingDestinationRequest.d.ts +12 -10
  51. package/dist/models/DescribeOutgoingDestinationRequest.js.map +1 -1
  52. package/dist/models/DescribeOutgoingDestinationResponseBody.d.ts +7 -7
  53. package/dist/models/DescribeOutgoingDomainDetailRequest.d.ts +5 -5
  54. package/dist/models/DescribeOutgoingDomainDetailResponseBody.d.ts +4 -8
  55. package/dist/models/DescribeOutgoingDomainDetailResponseBody.js.map +1 -1
  56. package/dist/models/DescribeOutgoingDomainRequest.d.ts +65 -110
  57. package/dist/models/DescribeOutgoingDomainRequest.js.map +1 -1
  58. package/dist/models/DescribeOutgoingDomainResponseBody.d.ts +72 -72
  59. package/dist/models/DescribeOutgoingDomainResponseBody.js +27 -1
  60. package/dist/models/DescribeOutgoingDomainResponseBody.js.map +1 -1
  61. package/dist/models/DescribePostpayBillRequest.d.ts +6 -6
  62. package/dist/models/DescribePostpayBillResponseBody.d.ts +6 -6
  63. package/dist/models/DescribePrepayBillTotalRequest.d.ts +7 -9
  64. package/dist/models/DescribePrepayBillTotalRequest.js.map +1 -1
  65. package/dist/models/DescribePrepayBillTotalResponseBody.d.ts +6 -6
  66. package/dist/models/DescribeSdlLastPayloadRequest.d.ts +5 -5
  67. package/dist/models/DescribeTaskDispatchStatusRequest.d.ts +21 -0
  68. package/dist/models/DescribeTaskDispatchStatusRequest.js +58 -0
  69. package/dist/models/DescribeTaskDispatchStatusRequest.js.map +1 -0
  70. package/dist/models/DescribeTaskDispatchStatusResponse.d.ts +19 -0
  71. package/dist/models/DescribeTaskDispatchStatusResponse.js +69 -0
  72. package/dist/models/DescribeTaskDispatchStatusResponse.js.map +1 -0
  73. package/dist/models/DescribeTaskDispatchStatusResponseBody.d.ts +34 -0
  74. package/dist/models/DescribeTaskDispatchStatusResponseBody.js +60 -0
  75. package/dist/models/DescribeTaskDispatchStatusResponseBody.js.map +1 -0
  76. package/dist/models/DescribeTrFirewallV2routePolicyListRequest.d.ts +6 -5
  77. package/dist/models/DescribeTrFirewallV2routePolicyListRequest.js.map +1 -1
  78. package/dist/models/DescribeTrFirewallV2routePolicyListResponseBody.d.ts +14 -14
  79. package/dist/models/DescribeTrFirewallsV2detailRequest.d.ts +2 -2
  80. package/dist/models/DescribeTrFirewallsV2detailResponseBody.d.ts +23 -23
  81. package/dist/models/DescribeTrFirewallsV2routeListRequest.d.ts +4 -4
  82. package/dist/models/DescribeTrFirewallsV2routeListResponseBody.d.ts +4 -4
  83. package/dist/models/DescribeTrafficLogRequest.d.ts +13 -5
  84. package/dist/models/DescribeTrafficLogRequest.js +2 -0
  85. package/dist/models/DescribeTrafficLogRequest.js.map +1 -1
  86. package/dist/models/DescribeTrafficLogResponseBody.d.ts +34 -26
  87. package/dist/models/DescribeTrafficLogResponseBody.js +2 -0
  88. package/dist/models/DescribeTrafficLogResponseBody.js.map +1 -1
  89. package/dist/models/DescribeVpcFirewallAccessDetailRequest.d.ts +20 -26
  90. package/dist/models/DescribeVpcFirewallAccessDetailRequest.js.map +1 -1
  91. package/dist/models/DescribeVpcFirewallAccessDetailResponseBody.d.ts +9 -9
  92. package/dist/models/DescribeVpcFirewallManualVswitchListRequest.d.ts +5 -3
  93. package/dist/models/DescribeVpcFirewallManualVswitchListRequest.js.map +1 -1
  94. package/dist/models/DescribeVpcFirewallManualVswitchListResponseBody.d.ts +7 -7
  95. package/dist/models/DescribeVpcFirewallPrecheckDetailRequest.d.ts +8 -8
  96. package/dist/models/DescribeVpcFirewallPrecheckDetailResponseBody.d.ts +17 -17
  97. package/dist/models/DescribeVpcFirewallTrafficAssetListRequest.d.ts +11 -15
  98. package/dist/models/DescribeVpcFirewallTrafficAssetListRequest.js.map +1 -1
  99. package/dist/models/DescribeVpcFirewallTrafficAssetListResponseBody.d.ts +5 -5
  100. package/dist/models/DescribeVpcFirewallTrafficTrendRequest.d.ts +69 -0
  101. package/dist/models/DescribeVpcFirewallTrafficTrendRequest.js +68 -0
  102. package/dist/models/DescribeVpcFirewallTrafficTrendRequest.js.map +1 -0
  103. package/dist/models/DescribeVpcFirewallTrafficTrendResponse.d.ts +19 -0
  104. package/dist/models/DescribeVpcFirewallTrafficTrendResponse.js +69 -0
  105. package/dist/models/DescribeVpcFirewallTrafficTrendResponse.js.map +1 -0
  106. package/dist/models/DescribeVpcFirewallTrafficTrendResponseBody.d.ts +214 -0
  107. package/dist/models/DescribeVpcFirewallTrafficTrendResponseBody.js +124 -0
  108. package/dist/models/DescribeVpcFirewallTrafficTrendResponseBody.js.map +1 -0
  109. package/dist/models/EnableSdlProtectedAssetRequest.d.ts +1 -3
  110. package/dist/models/EnableSdlProtectedAssetRequest.js.map +1 -1
  111. package/dist/models/EnableSdlProtectedAssetResponseBody.d.ts +1 -1
  112. package/dist/models/ModifyDnsFirewallPolicyRequest.d.ts +21 -28
  113. package/dist/models/ModifyDnsFirewallPolicyRequest.js.map +1 -1
  114. package/dist/models/ModifyDnsFirewallPolicyResponseBody.d.ts +1 -1
  115. package/dist/models/ModifyIpsRulesToDefaultRequest.d.ts +7 -11
  116. package/dist/models/ModifyIpsRulesToDefaultRequest.js.map +1 -1
  117. package/dist/models/ModifyIpsRulesToDefaultResponseBody.d.ts +1 -1
  118. package/dist/models/ModifySlsDispatchConfigRequest.d.ts +58 -0
  119. package/dist/models/ModifySlsDispatchConfigRequest.js +62 -0
  120. package/dist/models/ModifySlsDispatchConfigRequest.js.map +1 -0
  121. package/dist/models/ModifySlsDispatchConfigResponse.d.ts +19 -0
  122. package/dist/models/ModifySlsDispatchConfigResponse.js +69 -0
  123. package/dist/models/ModifySlsDispatchConfigResponse.js.map +1 -0
  124. package/dist/models/ModifySlsDispatchConfigResponseBody.d.ts +29 -0
  125. package/dist/models/ModifySlsDispatchConfigResponseBody.js +60 -0
  126. package/dist/models/ModifySlsDispatchConfigResponseBody.js.map +1 -0
  127. package/dist/models/ModifyTrFirewallV2configurationRequest.d.ts +6 -4
  128. package/dist/models/ModifyTrFirewallV2configurationRequest.js.map +1 -1
  129. package/dist/models/ModifyTrFirewallV2configurationResponseBody.d.ts +1 -1
  130. package/dist/models/PutDisableFwSwitchRequest.d.ts +45 -50
  131. package/dist/models/PutDisableFwSwitchRequest.js +4 -0
  132. package/dist/models/PutDisableFwSwitchRequest.js.map +1 -1
  133. package/dist/models/PutDisableFwSwitchResponseBody.d.ts +8 -0
  134. package/dist/models/PutDisableFwSwitchResponseBody.js +2 -0
  135. package/dist/models/PutDisableFwSwitchResponseBody.js.map +1 -1
  136. package/dist/models/PutEnableFwSwitchRequest.d.ts +44 -48
  137. package/dist/models/PutEnableFwSwitchRequest.js +4 -0
  138. package/dist/models/PutEnableFwSwitchRequest.js.map +1 -1
  139. package/dist/models/PutEnableFwSwitchResponseBody.d.ts +14 -8
  140. package/dist/models/PutEnableFwSwitchResponseBody.js +2 -0
  141. package/dist/models/PutEnableFwSwitchResponseBody.js.map +1 -1
  142. package/dist/models/UpdatePostpayUserVpcStatusRequest.d.ts +4 -8
  143. package/dist/models/UpdatePostpayUserVpcStatusRequest.js.map +1 -1
  144. package/dist/models/UpdatePostpayUserVpcStatusResponseBody.d.ts +1 -1
  145. package/dist/models/model.d.ts +11 -0
  146. package/dist/models/model.js +47 -25
  147. package/dist/models/model.js.map +1 -1
  148. package/package.json +2 -2
  149. package/src/client.ts +316 -100
  150. package/src/models/AddDnsFirewallPolicyRequest.ts +20 -32
  151. package/src/models/AddDnsFirewallPolicyResponseBody.ts +1 -1
  152. package/src/models/AddInstanceMembersRequest.ts +3 -3
  153. package/src/models/CreateDownloadTaskRequest.ts +4 -4
  154. package/src/models/CreateDownloadTaskResponseBody.ts +5 -3
  155. package/src/models/CreateIpsPrivateAssocRequest.ts +4 -2
  156. package/src/models/CreateIpsPrivateAssocResponseBody.ts +1 -1
  157. package/src/models/CreatePrivateDnsEndpointRequest.ts +9 -9
  158. package/src/models/CreatePrivateDnsEndpointResponseBody.ts +1 -1
  159. package/src/models/CreateSecurityProxyRequest.ts +7 -6
  160. package/src/models/CreateTrFirewallV2request.ts +16 -15
  161. package/src/models/CreateTrFirewallV2responseBody.ts +2 -2
  162. package/src/models/CreateTrFirewallV2routePolicyRequest.ts +13 -12
  163. package/src/models/CreateTrFirewallV2routePolicyResponseBody.ts +2 -2
  164. package/src/models/CreateTrFirewallV2routePolicyShrinkRequest.ts +11 -10
  165. package/src/models/CreateVpcFirewallCenConfigureRequest.ts +16 -16
  166. package/src/models/CreateVpcFirewallControlPolicyRequest.ts +34 -34
  167. package/src/models/DeleteVpcFirewallConfigureRequest.ts +1 -1
  168. package/src/models/DescribeAccessInstanceRegionListRequest.ts +2 -2
  169. package/src/models/DescribeAccessInstanceTaskRequest.ts +4 -4
  170. package/src/models/DescribeAccessInstanceTaskResponseBody.ts +4 -4
  171. package/src/models/DescribeAssetRiskListRequest.ts +6 -8
  172. package/src/models/DescribeAssetRiskListResponseBody.ts +4 -7
  173. package/src/models/DescribeControlPolicyDomainResolveRequest.ts +5 -7
  174. package/src/models/DescribeFirewallDropTrendRequest.ts +4 -4
  175. package/src/models/DescribeFirewallDropTrendResponseBody.ts +1 -1
  176. package/src/models/DescribeFirewallTaskRequest.ts +5 -6
  177. package/src/models/DescribeFirewallTaskResponseBody.ts +11 -11
  178. package/src/models/DescribeFirewallTrafficTrendRequest.ts +3 -3
  179. package/src/models/DescribeFirewallTrafficTrendResponseBody.ts +3 -3
  180. package/src/models/DescribeNatFirewallDropTrafficTrendRequest.ts +3 -3
  181. package/src/models/DescribeNatFirewallDropTrafficTrendResponseBody.ts +5 -5
  182. package/src/models/DescribeOutgoingDestinationCategoryRequest.ts +10 -6
  183. package/src/models/DescribeOutgoingDestinationCategoryResponseBody.ts +9 -9
  184. package/src/models/DescribeOutgoingDestinationRequest.ts +12 -10
  185. package/src/models/DescribeOutgoingDestinationResponseBody.ts +7 -7
  186. package/src/models/DescribeOutgoingDomainDetailRequest.ts +5 -5
  187. package/src/models/DescribeOutgoingDomainDetailResponseBody.ts +4 -8
  188. package/src/models/DescribeOutgoingDomainRequest.ts +65 -110
  189. package/src/models/DescribeOutgoingDomainResponseBody.ts +89 -72
  190. package/src/models/DescribePostpayBillRequest.ts +6 -6
  191. package/src/models/DescribePostpayBillResponseBody.ts +6 -6
  192. package/src/models/DescribePrepayBillTotalRequest.ts +7 -9
  193. package/src/models/DescribePrepayBillTotalResponseBody.ts +6 -6
  194. package/src/models/DescribeSdlLastPayloadRequest.ts +5 -5
  195. package/src/models/DescribeTaskDispatchStatusRequest.ts +34 -0
  196. package/src/models/DescribeTaskDispatchStatusResponse.ts +40 -0
  197. package/src/models/DescribeTaskDispatchStatusResponseBody.ts +49 -0
  198. package/src/models/DescribeTrFirewallV2routePolicyListRequest.ts +6 -5
  199. package/src/models/DescribeTrFirewallV2routePolicyListResponseBody.ts +14 -14
  200. package/src/models/DescribeTrFirewallsV2detailRequest.ts +2 -2
  201. package/src/models/DescribeTrFirewallsV2detailResponseBody.ts +23 -23
  202. package/src/models/DescribeTrFirewallsV2routeListRequest.ts +4 -4
  203. package/src/models/DescribeTrFirewallsV2routeListResponseBody.ts +4 -4
  204. package/src/models/DescribeTrafficLogRequest.ts +15 -5
  205. package/src/models/DescribeTrafficLogResponseBody.ts +36 -26
  206. package/src/models/DescribeVpcFirewallAccessDetailRequest.ts +20 -26
  207. package/src/models/DescribeVpcFirewallAccessDetailResponseBody.ts +9 -9
  208. package/src/models/DescribeVpcFirewallManualVswitchListRequest.ts +5 -3
  209. package/src/models/DescribeVpcFirewallManualVswitchListResponseBody.ts +7 -7
  210. package/src/models/DescribeVpcFirewallPrecheckDetailRequest.ts +8 -8
  211. package/src/models/DescribeVpcFirewallPrecheckDetailResponseBody.ts +17 -17
  212. package/src/models/DescribeVpcFirewallTrafficAssetListRequest.ts +11 -15
  213. package/src/models/DescribeVpcFirewallTrafficAssetListResponseBody.ts +5 -5
  214. package/src/models/DescribeVpcFirewallTrafficTrendRequest.ts +92 -0
  215. package/src/models/DescribeVpcFirewallTrafficTrendResponse.ts +40 -0
  216. package/src/models/DescribeVpcFirewallTrafficTrendResponseBody.ts +284 -0
  217. package/src/models/EnableSdlProtectedAssetRequest.ts +1 -3
  218. package/src/models/EnableSdlProtectedAssetResponseBody.ts +1 -1
  219. package/src/models/ModifyDnsFirewallPolicyRequest.ts +21 -28
  220. package/src/models/ModifyDnsFirewallPolicyResponseBody.ts +1 -1
  221. package/src/models/ModifyIpsRulesToDefaultRequest.ts +7 -11
  222. package/src/models/ModifyIpsRulesToDefaultResponseBody.ts +1 -1
  223. package/src/models/ModifySlsDispatchConfigRequest.ts +75 -0
  224. package/src/models/ModifySlsDispatchConfigResponse.ts +40 -0
  225. package/src/models/ModifySlsDispatchConfigResponseBody.ts +44 -0
  226. package/src/models/ModifyTrFirewallV2configurationRequest.ts +6 -4
  227. package/src/models/ModifyTrFirewallV2configurationResponseBody.ts +1 -1
  228. package/src/models/PutDisableFwSwitchRequest.ts +49 -50
  229. package/src/models/PutDisableFwSwitchResponseBody.ts +10 -0
  230. package/src/models/PutEnableFwSwitchRequest.ts +48 -48
  231. package/src/models/PutEnableFwSwitchResponseBody.ts +16 -8
  232. package/src/models/UpdatePostpayUserVpcStatusRequest.ts +4 -8
  233. package/src/models/UpdatePostpayUserVpcStatusResponseBody.ts +1 -1
  234. package/src/models/model.ts +11 -0
@@ -5,13 +5,10 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ModifyDnsFirewallPolicyRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The action that is performed on traffic that hits the access control policy. Valid values:
9
- *
10
- * - **accept**: Allow
11
- *
12
- * - **drop**: Deny
13
- *
14
- * - **log**: Monitor
8
+ * The action that Cloud Firewall performs on the traffic in the access control policy. Valid values:
9
+ * - **accept**: Allow.
10
+ * - **drop**: Deny.
11
+ * - **log**: Monitor.
15
12
  *
16
13
  * @example
17
14
  * log
@@ -39,13 +36,10 @@ export class ModifyDnsFirewallPolicyRequest extends $dara.Model {
39
36
  * @remarks
40
37
  * The destination address in the access control policy.
41
38
  *
42
- * - If **DestinationType** is set to net, **Destination** specifies the destination CIDR block. For example: 1.2.3.4/24
43
- *
44
- * - If **DestinationType** is set to group, **Destination** specifies the name of the destination address book. For example: db_group
45
- *
46
- * - If **DestinationType** is set to domain, **Destination** specifies the destination domain name. For example: \\*.aliyuncs.com
47
- *
48
- * - If **DestinationType** is set to location, **Destination** specifies the destination region. For more information about the location codes, see the following description. For example: ["BJ11", "ZB"]
39
+ * - If **DestinationType** is set to net, **Destination** is a destination CIDR block. Example: 1.2.3.4/24.
40
+ * - If **DestinationType** is set to group, **Destination** is a destination address book name. Example: db_group.
41
+ * - If **DestinationType** is set to domain, **Destination** is a destination domain name. Example: *.aliyuncs.com.
42
+ * - If **DestinationType** is set to location, **Destination** is a destination area. For specific area positional encoding values, see the subsequent sections. Example: ["BJ11", "ZB"\\].
49
43
  *
50
44
  * @example
51
45
  * db_group
@@ -57,11 +51,9 @@ export class ModifyDnsFirewallPolicyRequest extends $dara.Model {
57
51
  *
58
52
  * Valid values:
59
53
  *
60
- * - **net**: destination CIDR block (CIDR address)
61
- *
62
- * - **group**: destination address book
63
- *
64
- * - **domain**: destination domain name
54
+ * - **net**: destination CIDR block.
55
+ * - **group**: destination address book.
56
+ * - **domain**: destination domain name.
65
57
  *
66
58
  * @example
67
59
  * net
@@ -69,7 +61,9 @@ export class ModifyDnsFirewallPolicyRequest extends $dara.Model {
69
61
  destinationType?: string;
70
62
  /**
71
63
  * @remarks
72
- * The language of the content within the request and response. Valid values:-**zh**: Chinese-**en**: English
64
+ * The language of the request and response. Valid values:
65
+ * - **zh**: Chinese
66
+ * - **en**: English
73
67
  *
74
68
  * @example
75
69
  * zh
@@ -77,7 +71,7 @@ export class ModifyDnsFirewallPolicyRequest extends $dara.Model {
77
71
  lang?: string;
78
72
  /**
79
73
  * @remarks
80
- * The priority of the access control policy before the modification.
74
+ * The policy priority of the access control policy before the modification.
81
75
  *
82
76
  * @example
83
77
  * 1
@@ -85,11 +79,10 @@ export class ModifyDnsFirewallPolicyRequest extends $dara.Model {
85
79
  priority?: string;
86
80
  /**
87
81
  * @remarks
88
- * The status of the access control policy. By default, the policy is enabled after it is created. Valid values:
89
- *
90
- * - **true**: enables the access control policy.
82
+ * The enabled status of the access control policy. The policy is enabled by default after it is created. Valid values:
91
83
  *
92
- * - **false**: disables the access control policy.
84
+ * - **true**: Enable the access control policy.
85
+ * - **false**: Disable the access control policy.
93
86
  *
94
87
  * @example
95
88
  * true
@@ -98,7 +91,7 @@ export class ModifyDnsFirewallPolicyRequest extends $dara.Model {
98
91
  source?: string;
99
92
  /**
100
93
  * @remarks
101
- * The source IP address of the visitor.
94
+ * The source IP address of the request.
102
95
  *
103
96
  * @example
104
97
  * 192.0.XX.XX
@@ -108,9 +101,9 @@ export class ModifyDnsFirewallPolicyRequest extends $dara.Model {
108
101
  * @remarks
109
102
  * The type of the source address in the access control policy. Valid values:
110
103
  *
111
- * - **net**: source CIDR block (CIDR)
104
+ * - **net**: source CIDR block.
112
105
  *
113
- * - **group**: source address book
106
+ * - **group**: source address book.
114
107
  *
115
108
  * @example
116
109
  * net
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ModifyDnsFirewallPolicyResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The ID of the request.
8
+ * The request ID.
9
9
  *
10
10
  * @example
11
11
  * 9C50C2A9-4BBB-5504-8ADA-C41A79****
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ModifyIpsRulesToDefaultRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The application that is affected by the attack.
8
+ * The attack application.
9
9
  *
10
10
  * @example
11
11
  * PHP
@@ -13,11 +13,9 @@ export class ModifyIpsRulesToDefaultRequest extends $dara.Model {
13
13
  attackApp?: string;
14
14
  /**
15
15
  * @remarks
16
- * The type of the Cloud Firewall. Valid values:
17
- *
18
- * - **VpcFirewall**: VPC firewall.
19
- *
20
- * - **InternetFirewall** (default): Internet firewall.
16
+ * The type of the cloud firewall. Valid values:
17
+ * - **VpcFirewall**: virtual private cloud (VPC) firewalls.
18
+ * - **InternetFirewall** (default): the Internet border firewall.
21
19
  *
22
20
  * @example
23
21
  * InternetFirewall
@@ -37,10 +35,8 @@ export class ModifyIpsRulesToDefaultRequest extends $dara.Model {
37
35
  lang?: string;
38
36
  /**
39
37
  * @remarks
40
- * The type of the rule. Valid values:
41
- *
38
+ * The rule type. Valid values:
42
39
  * - **basicRule**
43
- *
44
40
  * - **customize**
45
41
  *
46
42
  * This parameter is required.
@@ -51,7 +47,7 @@ export class ModifyIpsRulesToDefaultRequest extends $dara.Model {
51
47
  ruleType?: string;
52
48
  /**
53
49
  * @remarks
54
- * The list of rules.
50
+ * The rule list. Conditional requirement: when RuleType is set to customize, you must specify at least one of this parameter or AttackApp. If you specify only RuleType without Rules or AttackApp, the API returns ErrorParameters.
55
51
  *
56
52
  * @example
57
53
  * [
@@ -62,7 +58,7 @@ export class ModifyIpsRulesToDefaultRequest extends $dara.Model {
62
58
  rules?: string;
63
59
  /**
64
60
  * @remarks
65
- * The source IP address of the visitor.
61
+ * The source IP address of the request.
66
62
  *
67
63
  * @example
68
64
  * 140.205.118.XXX
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ModifyIpsRulesToDefaultResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The ID of the request.
8
+ * The request ID.
9
9
  *
10
10
  * @example
11
11
  * B713361D-62E2-5FF0-9D29-BBFAAF40****
@@ -0,0 +1,75 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ModifySlsDispatchConfigRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The detailed configuration to modify.
9
+ * <details>
10
+ * <summary>Format for version 1</summary>
11
+ * {"global":{"slsRegionId":"ap-southeast-1","logTime":180,"logStorage":1000}}
12
+ * </details>
13
+ *
14
+ * <details>
15
+ * <summary>Format for version 2</summary>
16
+ * {"cn":{"slsRegionId":"ap-southeast-1","logTime":180,"logStorage":3000},"intl":{"slsRegionId":"ap-southeast-1","logTime":180,"logStorage":2000}}
17
+ * </details>
18
+ * The fields are described as follows:
19
+ *
20
+ * - slsRegionId: The region ID to which logs are delivered.
21
+ * - logTime: The storage duration of logs. Unit: days.
22
+ * - logStorage: The log storage capacity. Unit: GB. The total capacity specified must not exceed the total capacity purchased by the user.
23
+ *
24
+ * @example
25
+ * {"global":{"slsRegionId":"cn-hangzhou","logTime":180,"logStorage":1000}}
26
+ */
27
+ detailConfig?: string;
28
+ /**
29
+ * @remarks
30
+ * The log version. A value of 1 indicates one Logstore. A value of 2 indicates two Logstores.
31
+ *
32
+ *
33
+ * >Notice: If ModifyType is set to version, set LogVersion to the target version. If ModifyType is set to config, set LogVersion to the current version of the user.
34
+ *
35
+ * @example
36
+ * 1
37
+ */
38
+ logVersion?: number;
39
+ /**
40
+ * @remarks
41
+ * The modification type. Valid values:
42
+ *
43
+ * - version: The version is changed. For example, the version is changed from 1 (logs are delivered to one Logstore) to 2 (logs are delivered to two Logstores).
44
+ *
45
+ * - config: The configuration is changed. For example, the log delivery region or the storage duration of logs is modified.
46
+ *
47
+ * @example
48
+ * version
49
+ */
50
+ modifyType?: string;
51
+ static names(): { [key: string]: string } {
52
+ return {
53
+ detailConfig: 'DetailConfig',
54
+ logVersion: 'LogVersion',
55
+ modifyType: 'ModifyType',
56
+ };
57
+ }
58
+
59
+ static types(): { [key: string]: any } {
60
+ return {
61
+ detailConfig: 'string',
62
+ logVersion: 'number',
63
+ modifyType: 'string',
64
+ };
65
+ }
66
+
67
+ validate() {
68
+ super.validate();
69
+ }
70
+
71
+ constructor(map?: { [key: string]: any }) {
72
+ super(map);
73
+ }
74
+ }
75
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ModifySlsDispatchConfigResponseBody } from "./ModifySlsDispatchConfigResponseBody";
4
+
5
+
6
+ export class ModifySlsDispatchConfigResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ModifySlsDispatchConfigResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: ModifySlsDispatchConfigResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,44 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ModifySlsDispatchConfigResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The request ID.
9
+ *
10
+ * @example
11
+ * 4CD646BA-490F-5584-9272-B6FFE3BB****
12
+ */
13
+ requestId?: string;
14
+ /**
15
+ * @remarks
16
+ * The task ID. Modifying log configurations is an asynchronous task. This field indicates the unique identifier of the task. You can use this ID to query the status of the task.
17
+ *
18
+ * @example
19
+ * d8c995ec-40a5-4382-a3f3-57713096****
20
+ */
21
+ taskId?: string;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ requestId: 'RequestId',
25
+ taskId: 'TaskId',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ requestId: 'string',
32
+ taskId: 'string',
33
+ };
34
+ }
35
+
36
+ validate() {
37
+ super.validate();
38
+ }
39
+
40
+ constructor(map?: { [key: string]: any }) {
41
+ super(map);
42
+ }
43
+ }
44
+
@@ -5,7 +5,9 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ModifyTrFirewallV2ConfigurationRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The ID of the VPC firewall instance.
8
+ * The instance ID of the virtual private cloud (VPC) firewall.
9
+ *
10
+ * > FirewallId and FirewallName are jointly required. If both are not provided, an ErrorParameters(400) error is returned. You can call DescribeTrFirewallsV2List to obtain the FirewallId.
9
11
  *
10
12
  * @example
11
13
  * vfw-tr-bcdf89d405ce4bd2****
@@ -13,7 +15,8 @@ export class ModifyTrFirewallV2ConfigurationRequest extends $dara.Model {
13
15
  firewallId?: string;
14
16
  /**
15
17
  * @remarks
16
- * The name of the VPC firewall instance.
18
+ * The instance name of the virtual private cloud (VPC) firewall.
19
+ * > FirewallId and FirewallName are jointly required. If both are not provided, an ErrorParameters(400) error is returned.
17
20
  *
18
21
  * @example
19
22
  * vpc-firewall
@@ -21,10 +24,9 @@ export class ModifyTrFirewallV2ConfigurationRequest extends $dara.Model {
21
24
  firewallName?: string;
22
25
  /**
23
26
  * @remarks
24
- * The language of the response. Valid values:
27
+ * The language of the content within the response. Valid values:
25
28
  *
26
29
  * - **zh** (default): Chinese
27
- *
28
30
  * - **en**: English
29
31
  *
30
32
  * @example
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ModifyTrFirewallV2ConfigurationResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The ID of the request.
8
+ * The request ID.
9
9
  *
10
10
  * @example
11
11
  * A74C8FDD-2BEF-52D5-8B01-EB6FD94606F9
@@ -3,6 +3,22 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class PutDisableFwSwitchRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The client token that ensures the idempotency of the request. Generated by the client, the token must be unique across different requests. The value is a case-sensitive string in the format of [0-9a-zA-Z-_]{1,64}. We recommend that you use a UUID. The server guarantees idempotency within the validity period (600 seconds): repeated requests with the same ClientToken and the same business parameters return the same result as the first request. If the same ClientToken is used with different business parameters, an HTTP 400 error with the IdempotentParameterMismatch error code is returned.
9
+ *
10
+ * @example
11
+ * defefedxexxxx
12
+ */
13
+ clientToken?: string;
14
+ /**
15
+ * @remarks
16
+ * Specifies whether to perform only a dry run. If you set this parameter to true, the system performs pre-checks such as parameter validity, identity permissions, resource existence, quota limits, and dependency relationships without creating, updating, or deleting actual resources, triggering asynchronous traffic diversion tasks, or generating downstream side effects such as billing, notifications, or callbacks. If the dry run succeeds, DryRun=true is returned in the response, which can be distinguished from an actual call response. If the dry run fails, a machine-readable error code is returned (such as ErrorParamsInvalid for parameter errors, ErrorAuthentication for insufficient permissions, or ErrorInstanceOpenIpNumExceed for insufficient quota). Set this parameter to false (default) to initiate the request and perform the disable operation.
17
+ *
18
+ * @example
19
+ * true
20
+ */
21
+ dryRun?: boolean;
6
22
  /**
7
23
  * @remarks
8
24
  * The IP version.
@@ -13,9 +29,8 @@ export class PutDisableFwSwitchRequest extends $dara.Model {
13
29
  ipVersion?: string;
14
30
  /**
15
31
  * @remarks
16
- * The IP addresses.
17
- *
18
- * > You must specify a value for at least one of the following parameters: `IpaddrList`, `RegionList`, and `ResourceTypeList`.
32
+ * The IP address list.
33
+ * > The IpaddrList, RegionList, and ResourceTypeList parameters cannot all be empty. You must specify a value for at least one of these parameters.
19
34
  *
20
35
  * @example
21
36
  * ["192.0.XX.XX","192.0.XX.XX"]
@@ -23,10 +38,9 @@ export class PutDisableFwSwitchRequest extends $dara.Model {
23
38
  ipaddrList?: string[];
24
39
  /**
25
40
  * @remarks
26
- * The language of the response. Valid values:
41
+ * The language type of the received message. Valid values:
27
42
  *
28
43
  * - **zh** (default): Chinese
29
- *
30
44
  * - **en**: English
31
45
  *
32
46
  * @example
@@ -35,7 +49,7 @@ export class PutDisableFwSwitchRequest extends $dara.Model {
35
49
  lang?: string;
36
50
  /**
37
51
  * @remarks
38
- * The unique identifier of the member.
52
+ * The unique identifier of the member account.
39
53
  *
40
54
  * @example
41
55
  * 1234
@@ -43,9 +57,8 @@ export class PutDisableFwSwitchRequest extends $dara.Model {
43
57
  memberUid?: string;
44
58
  /**
45
59
  * @remarks
46
- * The regions.
47
- *
48
- * > You must specify a value for at least one of the following parameters: `IpaddrList`, `RegionList`, and `ResourceTypeList`.
60
+ * The region list.
61
+ * > The IpaddrList, RegionList, and ResourceTypeList parameters cannot all be empty. You must specify a value for at least one of these parameters.
49
62
  *
50
63
  * @example
51
64
  * ["cn-hangzhou","cn-shanghai"]
@@ -53,47 +66,29 @@ export class PutDisableFwSwitchRequest extends $dara.Model {
53
66
  regionList?: string[];
54
67
  /**
55
68
  * @remarks
56
- * The asset types. Valid values:
57
- *
58
- * - **BastionHostEgressIP**: The egress IP address of a bastion host.
59
- *
60
- * - **BastionHostIngressIP**: The ingress IP address of a bastion host.
61
- *
62
- * - **EcsEIP**: The Elastic IP Address (EIP) of an ECS instance.
63
- *
64
- * - **EcsPublicIP**: The public IP address of an ECS instance.
65
- *
66
- * - **EIP**: An Elastic IP Address (EIP).
67
- *
68
- * - **EniEIP**: The EIP of an elastic network interface (ENI).
69
- *
70
- * - **NatEIP**: The EIP of a NAT Gateway instance.
71
- *
72
- * - **SlbEIP**: The EIP of a Server Load Balancer (SLB) or Classic Load Balancer (CLB) instance.
73
- *
74
- * - **SlbPublicIP**: The public IP address of an SLB or CLB instance.
75
- *
76
- * - **NatPublicIP**: The public IP address of a NAT Gateway instance.
77
- *
78
- * - **HAVIP**: A High-availability Virtual IP (HAVIP).
79
- *
80
- * - **NlbEIP**: The EIP of a Network Load Balancer (NLB) instance.
81
- *
82
- * - **ApiGatewayEIP**: The public IP address of an API Gateway instance.
83
- *
84
- * - **AlbEIP**: The EIP of an Application Load Balancer (ALB) instance.
85
- *
86
- * - **AiGatewayEIP**: The public IP address of an AI Gateway instance.
87
- *
88
- * - **GaEIP**: The EIP of a Global Accelerator (GA) instance.
89
- *
90
- * - **SwasEIP**: The public IP address of a Simple Application Server instance.
91
- *
92
- * - **EcdEIP**: The public IP address of an Elastic Desktop Service (ECD) instance.
93
- *
94
- * - **BastionHostIP**: The IP address of a bastion host.
95
- *
96
- * > You must specify a value for at least one of the following parameters: `IpaddrList`, `RegionList`, and `ResourceTypeList`.
69
+ * The asset type list. Valid values:
70
+ *
71
+ * - **BastionHostEgressIP**: bastion host egress IP address.
72
+ * - **BastionHostIngressIP**: bastion host ingress IP address.
73
+ * - **EcsEIP**: ECS EIP.
74
+ * - **EcsPublicIP**: public IP addresses of Elastic Compute Service (ECS) instances.
75
+ * - **EIP**: Elastic IP Address.
76
+ * - **EniEIP**: network interface controller (NIC) EIP.
77
+ * - **NatEIP**: NAT EIP.
78
+ * - **SlbEIP**: SLB EIP (CLB EIP).
79
+ * - **SlbPublicIP**: SLB public IP address (CLB public IP address).
80
+ * - **NatPublicIP**: NAT public IP address.
81
+ * - **HAVIP**: active virtual IP address.
82
+ * - **NlbEIP**: NLB EIP.
83
+ * - **ApiGatewayEIP**: API Gateway public IP address.
84
+ * - **AlbEIP**: ALB EIP.
85
+ * - **AiGatewayEIP**: AI Gateway public IP address.
86
+ * - **GaEIP**: GA EIP.
87
+ * - **SwasEIP**: simple application server public IP address.
88
+ * - **EcdEIP**: Elastic Desktop Service public IP address.
89
+ * - **BastionHostIP**: bastion host IP address.
90
+ *
91
+ * > The IpaddrList, RegionList, and ResourceTypeList parameters cannot all be empty. You must specify a value in Settings for at least one of these parameters.
97
92
  *
98
93
  * @example
99
94
  * ["EcsPublicIp","NatEip"]
@@ -111,6 +106,8 @@ export class PutDisableFwSwitchRequest extends $dara.Model {
111
106
  sourceIp?: string;
112
107
  static names(): { [key: string]: string } {
113
108
  return {
109
+ clientToken: 'ClientToken',
110
+ dryRun: 'DryRun',
114
111
  ipVersion: 'IpVersion',
115
112
  ipaddrList: 'IpaddrList',
116
113
  lang: 'Lang',
@@ -123,6 +120,8 @@ export class PutDisableFwSwitchRequest extends $dara.Model {
123
120
 
124
121
  static types(): { [key: string]: any } {
125
122
  return {
123
+ clientToken: 'string',
124
+ dryRun: 'boolean',
126
125
  ipVersion: 'string',
127
126
  ipaddrList: { 'type': 'array', 'itemType': 'string' },
128
127
  lang: 'string',
@@ -3,6 +3,14 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class PutDisableFwSwitchResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Indicates whether only a dry run was performed. If this parameter is true, the system performed pre-checks such as parameter validity, identity permissions, resource existence, quota limits, and dependency relationships without creating, updating, or deleting actual resources, triggering asynchronous traffic diversion tasks, or generating downstream side effects such as billing, notifications, or callbacks. If the dry run succeeded, DryRun=true is returned in the response, which can be distinguished from an actual call response. If the dry run failed, a machine-readable error code is returned (such as ErrorParamsInvalid for parameter errors, ErrorAuthentication for insufficient permissions, or ErrorInstanceOpenIpNumExceed for insufficient quota). A value of false (default) indicates that the request was initiated and the enable operation was performed.
9
+ *
10
+ * @example
11
+ * true
12
+ */
13
+ dryRun?: boolean;
6
14
  /**
7
15
  * @remarks
8
16
  * The request ID.
@@ -13,12 +21,14 @@ export class PutDisableFwSwitchResponseBody extends $dara.Model {
13
21
  requestId?: string;
14
22
  static names(): { [key: string]: string } {
15
23
  return {
24
+ dryRun: 'DryRun',
16
25
  requestId: 'RequestId',
17
26
  };
18
27
  }
19
28
 
20
29
  static types(): { [key: string]: any } {
21
30
  return {
31
+ dryRun: 'boolean',
22
32
  requestId: 'string',
23
33
  };
24
34
  }