@alicloud/cloudfw20171207 8.4.1 → 8.4.2

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 (232) hide show
  1. package/dist/client.d.ts +148 -122
  2. package/dist/client.js +204 -139
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddControlPolicyRequest.d.ts +44 -31
  5. package/dist/models/AddControlPolicyRequest.js +4 -0
  6. package/dist/models/AddControlPolicyRequest.js.map +1 -1
  7. package/dist/models/AddDnsFirewallPolicyRequest.d.ts +17 -22
  8. package/dist/models/AddDnsFirewallPolicyRequest.js.map +1 -1
  9. package/dist/models/AddInstanceMembersRequest.d.ts +5 -2
  10. package/dist/models/AddInstanceMembersRequest.js.map +1 -1
  11. package/dist/models/CreateAckClusterConnectorRequest.d.ts +5 -5
  12. package/dist/models/CreateAckClusterConnectorResponseBody.d.ts +16 -11
  13. package/dist/models/CreateAckClusterConnectorResponseBody.js.map +1 -1
  14. package/dist/models/CreateIpsPrivateAssocRequest.d.ts +4 -4
  15. package/dist/models/CreatePrivateDnsEndpointRequest.d.ts +5 -2
  16. package/dist/models/CreatePrivateDnsEndpointRequest.js.map +1 -1
  17. package/dist/models/CreateSecurityProxyRequest.d.ts +20 -4
  18. package/dist/models/CreateSecurityProxyRequest.js +7 -0
  19. package/dist/models/CreateSecurityProxyRequest.js.map +1 -1
  20. package/dist/models/CreateSecurityProxyResponseBody.d.ts +1 -1
  21. package/dist/models/CreateTrFirewallV2request.d.ts +44 -13
  22. package/dist/models/CreateTrFirewallV2request.js +14 -0
  23. package/dist/models/CreateTrFirewallV2request.js.map +1 -1
  24. package/dist/models/CreateTrFirewallV2responseBody.d.ts +1 -1
  25. package/dist/models/CreateTrFirewallV2routePolicyRequest.d.ts +10 -7
  26. package/dist/models/CreateTrFirewallV2routePolicyRequest.js.map +1 -1
  27. package/dist/models/CreateTrFirewallV2routePolicyShrinkRequest.d.ts +10 -7
  28. package/dist/models/CreateTrFirewallV2routePolicyShrinkRequest.js.map +1 -1
  29. package/dist/models/CreateVpcFirewallCenConfigureRequest.d.ts +32 -17
  30. package/dist/models/CreateVpcFirewallCenConfigureRequest.js +2 -0
  31. package/dist/models/CreateVpcFirewallCenConfigureRequest.js.map +1 -1
  32. package/dist/models/DeleteSecurityProxyRequest.d.ts +0 -2
  33. package/dist/models/DeleteSecurityProxyRequest.js.map +1 -1
  34. package/dist/models/DeleteSecurityProxyResponseBody.d.ts +1 -1
  35. package/dist/models/DeleteTrFirewallV2request.d.ts +2 -3
  36. package/dist/models/DeleteTrFirewallV2request.js.map +1 -1
  37. package/dist/models/DeleteTrFirewallV2responseBody.d.ts +1 -1
  38. package/dist/models/DeleteVpcFirewallCenConfigureRequest.d.ts +3 -3
  39. package/dist/models/DescribeAccessInstanceRegionListRequest.d.ts +6 -4
  40. package/dist/models/DescribeAccessInstanceRegionListRequest.js.map +1 -1
  41. package/dist/models/DescribeAccessInstanceRegionListResponseBody.d.ts +1 -1
  42. package/dist/models/DescribeAccessInstanceTaskRequest.d.ts +2 -2
  43. package/dist/models/DescribeAccessInstanceTaskResponseBody.d.ts +2 -2
  44. package/dist/models/DescribeAclAppsResponseBody.d.ts +1 -1
  45. package/dist/models/DescribeAssetRiskListRequest.d.ts +2 -2
  46. package/dist/models/DescribeAssetRiskListResponseBody.d.ts +6 -6
  47. package/dist/models/DescribeControlPolicyDomainResolveRequest.d.ts +5 -3
  48. package/dist/models/DescribeControlPolicyDomainResolveRequest.js.map +1 -1
  49. package/dist/models/DescribeControlPolicyRequest.d.ts +12 -78
  50. package/dist/models/DescribeControlPolicyRequest.js.map +1 -1
  51. package/dist/models/DescribeControlPolicyResponseBody.d.ts +29 -179
  52. package/dist/models/DescribeControlPolicyResponseBody.js.map +1 -1
  53. package/dist/models/DescribeFirewallTaskRequest.d.ts +2 -2
  54. package/dist/models/DescribeFirewallTaskResponseBody.d.ts +1 -1
  55. package/dist/models/DescribeFirewallTrafficTrendRequest.d.ts +6 -2
  56. package/dist/models/DescribeFirewallTrafficTrendRequest.js.map +1 -1
  57. package/dist/models/DescribeInternetOpenDetailResponseBody.d.ts +2 -2
  58. package/dist/models/DescribeInternetOpenPortResponseBody.d.ts +2 -2
  59. package/dist/models/DescribeInternetOpenServiceResponseBody.d.ts +1 -1
  60. package/dist/models/DescribeInvadeEventListRequest.d.ts +15 -27
  61. package/dist/models/DescribeInvadeEventListRequest.js.map +1 -1
  62. package/dist/models/DescribeInvadeEventListResponseBody.d.ts +18 -80
  63. package/dist/models/DescribeInvadeEventListResponseBody.js.map +1 -1
  64. package/dist/models/DescribeNatFirewallListRequest.d.ts +18 -25
  65. package/dist/models/DescribeNatFirewallListRequest.js.map +1 -1
  66. package/dist/models/DescribeNatFirewallListResponseBody.d.ts +39 -34
  67. package/dist/models/DescribeNatFirewallListResponseBody.js +7 -0
  68. package/dist/models/DescribeNatFirewallListResponseBody.js.map +1 -1
  69. package/dist/models/DescribeOutgoingAssetListResponseBody.d.ts +1 -1
  70. package/dist/models/DescribeOutgoingDestinationCategoryRequest.d.ts +6 -6
  71. package/dist/models/DescribeOutgoingDestinationIpdetailResponseBody.d.ts +2 -2
  72. package/dist/models/DescribeOutgoingDestinationRequest.d.ts +8 -4
  73. package/dist/models/DescribeOutgoingDestinationRequest.js.map +1 -1
  74. package/dist/models/DescribeOutgoingDestinationResponseBody.d.ts +5 -5
  75. package/dist/models/DescribeOutgoingDomainDetailRequest.d.ts +5 -5
  76. package/dist/models/DescribeOutgoingDomainDetailResponseBody.d.ts +6 -6
  77. package/dist/models/DescribeOutgoingDomainRequest.d.ts +6 -69
  78. package/dist/models/DescribeOutgoingDomainRequest.js.map +1 -1
  79. package/dist/models/DescribeOutgoingDomainResponseBody.d.ts +33 -52
  80. package/dist/models/DescribeOutgoingDomainResponseBody.js.map +1 -1
  81. package/dist/models/DescribePrepayBillTotalRequest.d.ts +8 -5
  82. package/dist/models/DescribePrepayBillTotalRequest.js.map +1 -1
  83. package/dist/models/DescribePrepayBillTotalResponseBody.d.ts +5 -5
  84. package/dist/models/DescribeTrFirewallsV2detailRequest.d.ts +3 -2
  85. package/dist/models/DescribeTrFirewallsV2detailRequest.js.map +1 -1
  86. package/dist/models/DescribeTrFirewallsV2detailResponseBody.d.ts +84 -21
  87. package/dist/models/DescribeTrFirewallsV2detailResponseBody.js +36 -1
  88. package/dist/models/DescribeTrFirewallsV2detailResponseBody.js.map +1 -1
  89. package/dist/models/DescribeUserBuyVersionRequest.d.ts +1 -1
  90. package/dist/models/DescribeUserBuyVersionResponseBody.d.ts +37 -50
  91. package/dist/models/DescribeUserBuyVersionResponseBody.js.map +1 -1
  92. package/dist/models/DescribeVpcFirewallAccessDetailRequest.d.ts +3 -3
  93. package/dist/models/DescribeVpcFirewallAccessDetailResponseBody.d.ts +1 -1
  94. package/dist/models/DescribeVpcFirewallAssetListRequest.d.ts +1 -1
  95. package/dist/models/DescribeVpcFirewallAssetListResponseBody.d.ts +3 -3
  96. package/dist/models/DescribeVpcFirewallCenDetailRequest.d.ts +3 -3
  97. package/dist/models/DescribeVpcFirewallCenDetailResponseBody.d.ts +62 -40
  98. package/dist/models/DescribeVpcFirewallCenDetailResponseBody.js +9 -0
  99. package/dist/models/DescribeVpcFirewallCenDetailResponseBody.js.map +1 -1
  100. package/dist/models/DescribeVpcFirewallControlPolicyRequest.d.ts +13 -63
  101. package/dist/models/DescribeVpcFirewallControlPolicyRequest.js.map +1 -1
  102. package/dist/models/DescribeVpcFirewallControlPolicyResponseBody.d.ts +35 -143
  103. package/dist/models/DescribeVpcFirewallControlPolicyResponseBody.js.map +1 -1
  104. package/dist/models/DescribeVpcFirewallPrecheckDetailResponseBody.d.ts +1 -1
  105. package/dist/models/DescribeVpcFirewallSummaryInfoRequest.d.ts +4 -4
  106. package/dist/models/DescribeVpcFirewallSummaryInfoResponseBody.d.ts +31 -31
  107. package/dist/models/DescribeVpcFirewallZoneRequest.d.ts +4 -4
  108. package/dist/models/DescribeVpcFirewallZoneResponseBody.d.ts +13 -2
  109. package/dist/models/DescribeVpcFirewallZoneResponseBody.js +2 -0
  110. package/dist/models/DescribeVpcFirewallZoneResponseBody.js.map +1 -1
  111. package/dist/models/ModifyAddressBookRequest.d.ts +24 -29
  112. package/dist/models/ModifyAddressBookRequest.js +4 -0
  113. package/dist/models/ModifyAddressBookRequest.js.map +1 -1
  114. package/dist/models/ModifyAddressBookResponseBody.d.ts +6 -1
  115. package/dist/models/ModifyAddressBookResponseBody.js +2 -0
  116. package/dist/models/ModifyAddressBookResponseBody.js.map +1 -1
  117. package/dist/models/ModifyAddressBookShrinkRequest.d.ts +23 -28
  118. package/dist/models/ModifyAddressBookShrinkRequest.js +4 -0
  119. package/dist/models/ModifyAddressBookShrinkRequest.js.map +1 -1
  120. package/dist/models/ModifyControlPolicyRequest.d.ts +60 -97
  121. package/dist/models/ModifyControlPolicyRequest.js +4 -0
  122. package/dist/models/ModifyControlPolicyRequest.js.map +1 -1
  123. package/dist/models/ModifyControlPolicyResponseBody.d.ts +6 -1
  124. package/dist/models/ModifyControlPolicyResponseBody.js +2 -0
  125. package/dist/models/ModifyControlPolicyResponseBody.js.map +1 -1
  126. package/dist/models/ModifyDefaultIpsconfigRequest.d.ts +8 -8
  127. package/dist/models/ModifyDefaultIpsconfigResponseBody.d.ts +1 -1
  128. package/dist/models/ModifyDnsFirewallPolicyRequest.d.ts +14 -14
  129. package/dist/models/ModifyPrivateDnsEndpointRequest.d.ts +4 -6
  130. package/dist/models/ModifyPrivateDnsEndpointRequest.js.map +1 -1
  131. package/dist/models/ModifyPrivateDnsEndpointResponseBody.d.ts +1 -1
  132. package/dist/models/ModifyTrFirewallV2configurationRequest.d.ts +2 -2
  133. package/dist/models/ModifyTrFirewallV2routePolicyScopeRequest.d.ts +11 -12
  134. package/dist/models/ModifyTrFirewallV2routePolicyScopeRequest.js.map +1 -1
  135. package/dist/models/ModifyTrFirewallV2routePolicyScopeResponseBody.d.ts +2 -2
  136. package/dist/models/ModifyTrFirewallV2routePolicyScopeShrinkRequest.d.ts +7 -8
  137. package/dist/models/ModifyTrFirewallV2routePolicyScopeShrinkRequest.js.map +1 -1
  138. package/dist/models/ModifyVpcFirewallConfigureRequest.d.ts +13 -13
  139. package/dist/models/ModifyVpcFirewallConfigureResponseBody.d.ts +1 -1
  140. package/dist/models/ModifyVpcFirewallSwitchStatusRequest.d.ts +5 -5
  141. package/dist/models/ModifyVpcFirewallSwitchStatusResponseBody.d.ts +1 -1
  142. package/dist/models/model.d.ts +1 -0
  143. package/dist/models/model.js +24 -22
  144. package/dist/models/model.js.map +1 -1
  145. package/package.json +1 -1
  146. package/src/client.ts +217 -139
  147. package/src/models/AddControlPolicyRequest.ts +48 -31
  148. package/src/models/AddDnsFirewallPolicyRequest.ts +17 -22
  149. package/src/models/AddInstanceMembersRequest.ts +5 -2
  150. package/src/models/CreateAckClusterConnectorRequest.ts +5 -5
  151. package/src/models/CreateAckClusterConnectorResponseBody.ts +16 -11
  152. package/src/models/CreateIpsPrivateAssocRequest.ts +4 -4
  153. package/src/models/CreatePrivateDnsEndpointRequest.ts +5 -2
  154. package/src/models/CreateSecurityProxyRequest.ts +27 -4
  155. package/src/models/CreateSecurityProxyResponseBody.ts +1 -1
  156. package/src/models/CreateTrFirewallV2request.ts +58 -13
  157. package/src/models/CreateTrFirewallV2responseBody.ts +1 -1
  158. package/src/models/CreateTrFirewallV2routePolicyRequest.ts +10 -7
  159. package/src/models/CreateTrFirewallV2routePolicyShrinkRequest.ts +10 -7
  160. package/src/models/CreateVpcFirewallCenConfigureRequest.ts +34 -17
  161. package/src/models/DeleteSecurityProxyRequest.ts +0 -2
  162. package/src/models/DeleteSecurityProxyResponseBody.ts +1 -1
  163. package/src/models/DeleteTrFirewallV2request.ts +2 -3
  164. package/src/models/DeleteTrFirewallV2responseBody.ts +1 -1
  165. package/src/models/DeleteVpcFirewallCenConfigureRequest.ts +3 -3
  166. package/src/models/DescribeAccessInstanceRegionListRequest.ts +6 -4
  167. package/src/models/DescribeAccessInstanceRegionListResponseBody.ts +1 -1
  168. package/src/models/DescribeAccessInstanceTaskRequest.ts +2 -2
  169. package/src/models/DescribeAccessInstanceTaskResponseBody.ts +2 -2
  170. package/src/models/DescribeAclAppsResponseBody.ts +1 -1
  171. package/src/models/DescribeAssetRiskListRequest.ts +2 -2
  172. package/src/models/DescribeAssetRiskListResponseBody.ts +6 -6
  173. package/src/models/DescribeControlPolicyDomainResolveRequest.ts +5 -3
  174. package/src/models/DescribeControlPolicyRequest.ts +12 -78
  175. package/src/models/DescribeControlPolicyResponseBody.ts +29 -179
  176. package/src/models/DescribeFirewallTaskRequest.ts +2 -2
  177. package/src/models/DescribeFirewallTaskResponseBody.ts +1 -1
  178. package/src/models/DescribeFirewallTrafficTrendRequest.ts +6 -2
  179. package/src/models/DescribeInternetOpenDetailResponseBody.ts +2 -2
  180. package/src/models/DescribeInternetOpenPortResponseBody.ts +2 -2
  181. package/src/models/DescribeInternetOpenServiceResponseBody.ts +1 -1
  182. package/src/models/DescribeInvadeEventListRequest.ts +15 -27
  183. package/src/models/DescribeInvadeEventListResponseBody.ts +18 -80
  184. package/src/models/DescribeNatFirewallListRequest.ts +18 -25
  185. package/src/models/DescribeNatFirewallListResponseBody.ts +47 -35
  186. package/src/models/DescribeOutgoingAssetListResponseBody.ts +1 -1
  187. package/src/models/DescribeOutgoingDestinationCategoryRequest.ts +6 -6
  188. package/src/models/DescribeOutgoingDestinationIpdetailResponseBody.ts +2 -2
  189. package/src/models/DescribeOutgoingDestinationRequest.ts +8 -4
  190. package/src/models/DescribeOutgoingDestinationResponseBody.ts +5 -5
  191. package/src/models/DescribeOutgoingDomainDetailRequest.ts +5 -5
  192. package/src/models/DescribeOutgoingDomainDetailResponseBody.ts +6 -6
  193. package/src/models/DescribeOutgoingDomainRequest.ts +6 -69
  194. package/src/models/DescribeOutgoingDomainResponseBody.ts +33 -52
  195. package/src/models/DescribePrepayBillTotalRequest.ts +8 -5
  196. package/src/models/DescribePrepayBillTotalResponseBody.ts +5 -5
  197. package/src/models/DescribeTrFirewallsV2detailRequest.ts +3 -2
  198. package/src/models/DescribeTrFirewallsV2detailResponseBody.ts +110 -21
  199. package/src/models/DescribeUserBuyVersionRequest.ts +1 -1
  200. package/src/models/DescribeUserBuyVersionResponseBody.ts +38 -51
  201. package/src/models/DescribeVpcFirewallAccessDetailRequest.ts +3 -3
  202. package/src/models/DescribeVpcFirewallAccessDetailResponseBody.ts +1 -1
  203. package/src/models/DescribeVpcFirewallAssetListRequest.ts +1 -1
  204. package/src/models/DescribeVpcFirewallAssetListResponseBody.ts +3 -3
  205. package/src/models/DescribeVpcFirewallCenDetailRequest.ts +3 -3
  206. package/src/models/DescribeVpcFirewallCenDetailResponseBody.ts +71 -40
  207. package/src/models/DescribeVpcFirewallControlPolicyRequest.ts +13 -63
  208. package/src/models/DescribeVpcFirewallControlPolicyResponseBody.ts +35 -143
  209. package/src/models/DescribeVpcFirewallPrecheckDetailResponseBody.ts +1 -1
  210. package/src/models/DescribeVpcFirewallSummaryInfoRequest.ts +4 -4
  211. package/src/models/DescribeVpcFirewallSummaryInfoResponseBody.ts +31 -31
  212. package/src/models/DescribeVpcFirewallZoneRequest.ts +4 -4
  213. package/src/models/DescribeVpcFirewallZoneResponseBody.ts +15 -2
  214. package/src/models/ModifyAddressBookRequest.ts +28 -29
  215. package/src/models/ModifyAddressBookResponseBody.ts +8 -1
  216. package/src/models/ModifyAddressBookShrinkRequest.ts +27 -28
  217. package/src/models/ModifyControlPolicyRequest.ts +64 -97
  218. package/src/models/ModifyControlPolicyResponseBody.ts +8 -1
  219. package/src/models/ModifyDefaultIpsconfigRequest.ts +8 -8
  220. package/src/models/ModifyDefaultIpsconfigResponseBody.ts +1 -1
  221. package/src/models/ModifyDnsFirewallPolicyRequest.ts +14 -14
  222. package/src/models/ModifyPrivateDnsEndpointRequest.ts +4 -6
  223. package/src/models/ModifyPrivateDnsEndpointResponseBody.ts +1 -1
  224. package/src/models/ModifyTrFirewallV2configurationRequest.ts +2 -2
  225. package/src/models/ModifyTrFirewallV2routePolicyScopeRequest.ts +11 -12
  226. package/src/models/ModifyTrFirewallV2routePolicyScopeResponseBody.ts +2 -2
  227. package/src/models/ModifyTrFirewallV2routePolicyScopeShrinkRequest.ts +7 -8
  228. package/src/models/ModifyVpcFirewallConfigureRequest.ts +13 -13
  229. package/src/models/ModifyVpcFirewallConfigureResponseBody.ts +1 -1
  230. package/src/models/ModifyVpcFirewallSwitchStatusRequest.ts +5 -5
  231. package/src/models/ModifyVpcFirewallSwitchStatusResponseBody.ts +1 -1
  232. package/src/models/model.ts +1 -0
@@ -5,10 +5,10 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class AddControlPolicyRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The action that is set in the access control policy. Settings the method in which traffic passes through Cloud Firewall. Valid values:
8
+ * The action configured in the access control policy for the traffic that passes through Cloud Firewall. Valid values:
9
9
  *
10
- * - **accept**: allows the access.
11
- * - **drop**: deny the access.
10
+ * - **accept**: allows the traffic.
11
+ * - **drop**: denies the traffic.
12
12
  * - **log**: monitors the traffic.
13
13
  *
14
14
  * This parameter is required.
@@ -35,9 +35,9 @@ export class AddControlPolicyRequest extends $dara.Model {
35
35
  * - **SSL_No_Cert**
36
36
  * - **SSL**
37
37
  * - **VNC**
38
- * - **ANY**: all application types
38
+ * - **ANY** (all application types)
39
39
  *
40
- * > The valid values of ApplicationName depend on the value of the protocol type (Proto). If Proto is set to TCP, ApplicationName can be set to any of the preceding application types. If Proto is set to UDP, ICMP, or ANY, ApplicationName can be set only to ANY. You must specify either ApplicationNameList or ApplicationName. You cannot leave both of them empty.
40
+ * > The supported application types depend on the value of the protocol type (Proto). If Proto is set to TCP, ApplicationName can be set to any of the preceding application types. If Proto is set to UDP, ICMP, or ANY, ApplicationName can be set only to ANY. You must specify either ApplicationNameList or ApplicationName. You cannot leave both of them empty.
41
41
  *
42
42
  * @example
43
43
  * ANY
@@ -47,9 +47,17 @@ export class AddControlPolicyRequest extends $dara.Model {
47
47
  applicationName?: string;
48
48
  /**
49
49
  * @remarks
50
- * The application types supported by the access control policy.
50
+ * The list of application types supported by the access control policy.
51
51
  */
52
52
  applicationNameList?: string[];
53
+ /**
54
+ * @remarks
55
+ * The idempotence token.
56
+ *
57
+ * @example
58
+ * ddadxefexxxx
59
+ */
60
+ clientToken?: string;
53
61
  /**
54
62
  * @remarks
55
63
  * The description of the access control policy.
@@ -96,7 +104,7 @@ export class AddControlPolicyRequest extends $dara.Model {
96
104
  * Valid values:
97
105
  *
98
106
  * - **port**: port
99
- * - **group**: port address book.
107
+ * - **group**: port address book
100
108
  *
101
109
  * @example
102
110
  * port
@@ -138,7 +146,7 @@ export class AddControlPolicyRequest extends $dara.Model {
138
146
  * - **net**: destination CIDR block
139
147
  * - **group**: destination address book
140
148
  * - **domain**: destination domain name
141
- * - **location**: destination region.
149
+ * - **location**: destination region
142
150
  *
143
151
  * This parameter is required.
144
152
  *
@@ -150,8 +158,8 @@ export class AddControlPolicyRequest extends $dara.Model {
150
158
  * @remarks
151
159
  * The traffic direction of the access control policy. Valid values:
152
160
  *
153
- * - **in**: inbound traffic
154
- * - **out**: outbound traffic.
161
+ * - **in**: inbound traffic access control
162
+ * - **out**: outbound traffic access control
155
163
  *
156
164
  * This parameter is required.
157
165
  *
@@ -163,9 +171,9 @@ export class AddControlPolicyRequest extends $dara.Model {
163
171
  * @remarks
164
172
  * The domain name resolution method of the access control policy. Valid values:
165
173
  *
166
- * * **FQDN**: FQDN-based resolution
174
+ * * **FQDN**: FQDN-based
167
175
  * * **DNS**: DNS-based dynamic resolution
168
- * * **FQDN_AND_DNS**: FQDN-based and DNS-based dynamic resolution.
176
+ * * **FQDN_AND_DNS**: FQDN and DNS-based dynamic resolution
169
177
  *
170
178
  * @example
171
179
  * FQDN
@@ -173,8 +181,13 @@ export class AddControlPolicyRequest extends $dara.Model {
173
181
  domainResolveType?: string;
174
182
  /**
175
183
  * @remarks
176
- * The end time of the policy validity period for the access control policy. The value is a UNIX timestamp in seconds. The value must be on the hour or on the half hour, and at least 30 minutes later than the start time.
177
- * > If RepeatType is set to Permanent, this parameter is left empty. If RepeatType is set to None, Daily, Weekly, or Monthly, this parameter is required.
184
+ * Specifies whether to perform a dry run.
185
+ */
186
+ dryRun?: boolean;
187
+ /**
188
+ * @remarks
189
+ * The end time of the policy validity period for the access control policy. The value is a UNIX timestamp in seconds. The value must be on the hour or half hour and must be at least 30 minutes later than the start time.
190
+ * > If RepeatType is set to Permanent, EndTime is empty. If RepeatType is set to None, Daily, Weekly, or Monthly, EndTime must have a value.
178
191
  *
179
192
  * @example
180
193
  * 1694764800
@@ -188,7 +201,7 @@ export class AddControlPolicyRequest extends $dara.Model {
188
201
  *
189
202
  * - **4**: IPv4
190
203
  *
191
- * - **6**: IPv6.
204
+ * - **6**: IPv6
192
205
  *
193
206
  * @example
194
207
  * 6
@@ -199,7 +212,7 @@ export class AddControlPolicyRequest extends $dara.Model {
199
212
  * The language of the request and response. Valid values:
200
213
  *
201
214
  * - **zh** (default): Chinese
202
- * - **en**: English.
215
+ * - **en**: English
203
216
  *
204
217
  * @example
205
218
  * zh
@@ -207,7 +220,7 @@ export class AddControlPolicyRequest extends $dara.Model {
207
220
  lang?: string;
208
221
  /**
209
222
  * @remarks
210
- * The priority of the access control policy. The priority value starts from 1. A smaller value indicates a higher priority.
223
+ * The priority of the access control policy. The priority value starts from 1. A smaller priority value indicates a higher priority.
211
224
  *
212
225
  * This parameter is required.
213
226
  *
@@ -219,12 +232,12 @@ export class AddControlPolicyRequest extends $dara.Model {
219
232
  * @remarks
220
233
  * The protocol type in the access control policy. Valid values:
221
234
  *
222
- * - **ANY**: any protocol
235
+ * - **ANY**
223
236
  * - **TCP**
224
237
  * - **UDP**
225
238
  * - **ICMP**
226
239
  *
227
- * > If the traffic direction is outbound and the destination address is a threat intelligence address book or cloud service address book of the domain name type, only TCP is supported. The application type can be set to HTTP, HTTPS, SMTP, SMTPS, or SSL.
240
+ * > If the traffic direction is outbound and the destination address is a threat intelligence address book or cloud service address book of the domain type, only TCP is supported. The application type can be set to HTTP, HTTPS, SMTP, SMTPS, or SSL.
228
241
  *
229
242
  * This parameter is required.
230
243
  *
@@ -246,20 +259,20 @@ export class AddControlPolicyRequest extends $dara.Model {
246
259
  /**
247
260
  * @remarks
248
261
  * The days of the recurrence for the policy validity period of the access control policy.
249
- * - If RepeatType is set to `Permanent`, `None`, or `Daily`, the value of RepeatDays is an empty array.
262
+ * - If RepeatType is set to `Permanent`, `None`, or `Daily`, RepeatDays is an empty collection.
250
263
  * Example: []
251
- * - If RepeatType is set to Weekly, the value of RepeatDays must not be empty.
264
+ * - If RepeatType is set to Weekly, RepeatDays cannot be empty.
252
265
  * Example: [0, 6]
253
- * > If RepeatType is set to Weekly, the values in RepeatDays cannot be repeated.
254
- * - If RepeatType is set to `Monthly`, the value of RepeatDays must not be empty.
266
+ * > If RepeatType is set to Weekly, values in RepeatDays cannot be repeated.
267
+ * - If RepeatType is set to `Monthly`, RepeatDays cannot be empty.
255
268
  * Example: [1, 31]
256
- * > If RepeatType is set to Monthly, the values in RepeatDays cannot be repeated.
269
+ * > If RepeatType is set to Monthly, values in RepeatDays cannot be repeated.
257
270
  */
258
271
  repeatDays?: number[];
259
272
  /**
260
273
  * @remarks
261
- * The recurrence end time of the policy validity period for the access control policy. Example: 23:30. The value must be on the hour or on the half hour, and at least 30 minutes later than the recurrence start time.
262
- * > If RepeatType is set to Permanent or None, this parameter is left empty. If RepeatType is set to Daily, Weekly, or Monthly, this parameter is required.
274
+ * The recurrence end time of the policy validity period for the access control policy. Example: 23:30. The value must be on the hour or half hour and must be at least 30 minutes later than the recurrence start time.
275
+ * > If RepeatType is set to Permanent or None, RepeatEndTime is empty. If RepeatType is set to Daily, Weekly, or Monthly, RepeatEndTime must have a value.
263
276
  * > The time is in the HH:mm format (24-hour clock). Example: 08:00 or 23:30.
264
277
  *
265
278
  * @example
@@ -268,8 +281,8 @@ export class AddControlPolicyRequest extends $dara.Model {
268
281
  repeatEndTime?: string;
269
282
  /**
270
283
  * @remarks
271
- * The recurrence start time of the policy validity period for the access control policy. Example: 08:00. The value must be on the hour or on the half hour, and at least 30 minutes earlier than the recurrence end time.
272
- * > If RepeatType is set to Permanent or None, this parameter is left empty. If RepeatType is set to Daily, Weekly, or Monthly, this parameter is required.
284
+ * The recurrence start time of the policy validity period for the access control policy. Example: 08:00. The value must be on the hour or half hour and must be at least 30 minutes earlier than the recurrence end time.
285
+ * > If RepeatType is set to Permanent or None, RepeatStartTime is empty. If RepeatType is set to Daily, Weekly, or Monthly, RepeatStartTime must have a value.
273
286
  * > The time is in the HH:mm format (24-hour clock). Example: 08:00 or 23:30.
274
287
  *
275
288
  * @example
@@ -328,7 +341,7 @@ export class AddControlPolicyRequest extends $dara.Model {
328
341
  * The type of the source address in the access control policy. Valid values:
329
342
  * - **net**: source CIDR block
330
343
  * - **group**: source address book
331
- * - **location**: source region.
344
+ * - **location**: source region
332
345
  *
333
346
  * This parameter is required.
334
347
  *
@@ -338,8 +351,8 @@ export class AddControlPolicyRequest extends $dara.Model {
338
351
  sourceType?: string;
339
352
  /**
340
353
  * @remarks
341
- * The start time of the policy validity period for the access control policy. The value is a UNIX timestamp in seconds. The value must be on the hour or on the half hour, and at least 30 minutes earlier than the end time.
342
- * > If RepeatType is set to Permanent, this parameter is left empty. If RepeatType is set to None, Daily, Weekly, or Monthly, this parameter is required.
354
+ * The start time of the policy validity period for the access control policy. The value is a UNIX timestamp in seconds. The value must be on the hour or half hour and must be at least 30 minutes earlier than the end time.
355
+ * > If RepeatType is set to Permanent, StartTime is empty. If RepeatType is set to None, Daily, Weekly, or Monthly, StartTime must have a value.
343
356
  *
344
357
  * @example
345
358
  * 1694761200
@@ -350,6 +363,7 @@ export class AddControlPolicyRequest extends $dara.Model {
350
363
  aclAction: 'AclAction',
351
364
  applicationName: 'ApplicationName',
352
365
  applicationNameList: 'ApplicationNameList',
366
+ clientToken: 'ClientToken',
353
367
  description: 'Description',
354
368
  destPort: 'DestPort',
355
369
  destPortGroup: 'DestPortGroup',
@@ -358,6 +372,7 @@ export class AddControlPolicyRequest extends $dara.Model {
358
372
  destinationType: 'DestinationType',
359
373
  direction: 'Direction',
360
374
  domainResolveType: 'DomainResolveType',
375
+ dryRun: 'DryRun',
361
376
  endTime: 'EndTime',
362
377
  ipVersion: 'IpVersion',
363
378
  lang: 'Lang',
@@ -380,6 +395,7 @@ export class AddControlPolicyRequest extends $dara.Model {
380
395
  aclAction: 'string',
381
396
  applicationName: 'string',
382
397
  applicationNameList: { 'type': 'array', 'itemType': 'string' },
398
+ clientToken: 'string',
383
399
  description: 'string',
384
400
  destPort: 'string',
385
401
  destPortGroup: 'string',
@@ -388,6 +404,7 @@ export class AddControlPolicyRequest extends $dara.Model {
388
404
  destinationType: 'string',
389
405
  direction: 'string',
390
406
  domainResolveType: 'string',
407
+ dryRun: 'boolean',
391
408
  endTime: 'number',
392
409
  ipVersion: 'string',
393
410
  lang: 'string',
@@ -5,10 +5,10 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class AddDnsFirewallPolicyRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The method that is used by the access control policy to control traffic that passes through Cloud Firewall. Valid values:
9
- * - **accept**: allows the traffic.
10
- * - **drop**: deny the traffic.
11
- * - **log**: monitors the traffic.
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.
12
12
  *
13
13
  * This parameter is required.
14
14
  *
@@ -23,7 +23,7 @@ export class AddDnsFirewallPolicyRequest extends $dara.Model {
23
23
  * This parameter is required.
24
24
  *
25
25
  * @example
26
- * test
26
+ * Allow specified domain names
27
27
  */
28
28
  description?: string;
29
29
  /**
@@ -31,9 +31,9 @@ export class AddDnsFirewallPolicyRequest extends $dara.Model {
31
31
  * The destination address in the access control policy.
32
32
  *
33
33
  * - If **DestinationType** is set to net, **Destination** is a destination CIDR block. Example: 1.2.3.4/24.
34
- * - If **DestinationType** is set to group, **Destination** is the name of a destination address book. Example: db_group.
34
+ * - If **DestinationType** is set to group, **Destination** is a destination address book name. Example: db_group.
35
35
  * - If **DestinationType** is set to domain, **Destination** is a destination domain name. Example: *.aliyuncs.com.
36
- * - If **DestinationType** is set to location, **Destination** is a destination area (for specific area positional encoding, see the following sections). Example: ["BJ11", "ZB"\\].
36
+ * - If **DestinationType** is set to location, **Destination** is a destination area (see the area positional encoding below). Example: ["BJ11", "ZB"\\].
37
37
  *
38
38
  * This parameter is required.
39
39
  *
@@ -43,12 +43,7 @@ export class AddDnsFirewallPolicyRequest extends $dara.Model {
43
43
  destination?: string;
44
44
  /**
45
45
  * @remarks
46
- * The type of the destination address in the access control policy.
47
- *
48
- * Valid values:
49
- *
50
- * - **group**: destination address book
51
- * - **domain**: destination domain name
46
+ * The type of the destination address in the DNS firewall access control policy. Only group (destination address book) and domain (destination domain name) are supported. net and CIDR addresses are not applicable to this operation.
52
47
  *
53
48
  * This parameter is required.
54
49
  *
@@ -58,7 +53,9 @@ export class AddDnsFirewallPolicyRequest extends $dara.Model {
58
53
  destinationType?: string;
59
54
  /**
60
55
  * @remarks
61
- * The direction of the DNS firewall policy. The backend fixes this value to out (internal-to-external). Set Direction to out.
56
+ * The traffic direction of the DNS firewall access control policy.
57
+ *
58
+ * > This parameter is not validated on the backend. When you create or modify a DNS firewall policy, the direction is always stored as **out** (outbound). Passing **in** does not cause an error or take effect. The DNS firewall supports only outbound policies.
62
59
  *
63
60
  * @example
64
61
  * out
@@ -66,9 +63,7 @@ export class AddDnsFirewallPolicyRequest extends $dara.Model {
66
63
  direction?: string;
67
64
  /**
68
65
  * @remarks
69
- * The IP address version supported.
70
- *
71
- * Valid values:
66
+ * The IP address version. Valid values:
72
67
  *
73
68
  * - **4**: IPv4
74
69
  *
@@ -92,7 +87,7 @@ export class AddDnsFirewallPolicyRequest extends $dara.Model {
92
87
  lang?: string;
93
88
  /**
94
89
  * @remarks
95
- * The priority of the policy. A smaller value indicates a higher priority. Valid values: 1 to 20000.
90
+ * The policy priority of the DNS firewall policy. Valid values: 1 to 20000. A smaller value indicates a higher policy priority.
96
91
  *
97
92
  * This parameter is required.
98
93
  *
@@ -102,10 +97,10 @@ export class AddDnsFirewallPolicyRequest extends $dara.Model {
102
97
  priority?: string;
103
98
  /**
104
99
  * @remarks
105
- * Specifies whether to enable the access control policy. The policy is enabled by default after it is created. Valid values:
100
+ * The enabled status of the access control policy. The policy is enabled by default after creation. Valid values:
106
101
  *
107
- * - **true**: enables the access control policy.
108
- * - **false**: does not enable the access control policy.
102
+ * - **true**: Enable the access control policy.
103
+ * - **false**: Disable the access control policy.
109
104
  *
110
105
  * This parameter is required.
111
106
  *
@@ -119,7 +114,7 @@ export class AddDnsFirewallPolicyRequest extends $dara.Model {
119
114
  *
120
115
  * - If **SourceType** is set to `net`, Source is a source CIDR block. Example: 10.2.XX.XX/24.
121
116
  *
122
- * - If **SourceType** is set to `group`, Source is the name of a source address book. Example: db_group.
117
+ * - If **SourceType** is set to `group`, Source is a source address book name. Example: db_group.
123
118
  *
124
119
  * This parameter is required.
125
120
  *
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class AddInstanceMembersRequestMembers extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The remarks for the Cloud Firewall member account. The value must be 1 to 256 characters in length. You can add up to 20 member accounts.
8
+ * The description of the Cloud Firewall member account. The description must be 1 to 256 characters in length. You can add up to 20 member accounts.
9
9
  *
10
10
  * @example
11
11
  * renewal
@@ -47,9 +47,12 @@ export class AddInstanceMembersRequestMembers extends $dara.Model {
47
47
  export class AddInstanceMembersRequest extends $dara.Model {
48
48
  /**
49
49
  * @remarks
50
- * The Cloud Firewall member accounts. Call DescribeInstanceRdAccounts to obtain valid MemberUid values. You can add up to 20 members at a time, subject to the maximum member count of the instance.
50
+ * The list of Cloud Firewall member accounts to add. Call DescribeInstanceRdAccounts to obtain the available MemberUid values. You can add up to 20 members at a time, subject to the instance member quota.
51
51
  *
52
52
  * This parameter is required.
53
+ *
54
+ * @example
55
+ * AddInstanceMembers
53
56
  */
54
57
  members?: AddInstanceMembersRequestMembers[];
55
58
  static names(): { [key: string]: string } {
@@ -6,7 +6,7 @@ export class CreateAckClusterConnectorRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
8
  * The ACK cluster ID. You can call the following operation to obtain the value:
9
- * - [DescribeAckClusters](~~DescribeAckClusters~~): Lists ACK clusters.
9
+ * - [DescribeAckClusters](~~DescribeAckClusters~~): Queries the list of ACK clusters.
10
10
  *
11
11
  * This parameter is required.
12
12
  *
@@ -16,7 +16,7 @@ export class CreateAckClusterConnectorRequest extends $dara.Model {
16
16
  clusterId?: string;
17
17
  /**
18
18
  * @remarks
19
- * The name of the ACK cluster connector. The name must be 1 to 64 characters in length and can contain letters, digits, Chinese characters, periods (.), underscores (_), and hyphens (-).
19
+ * The name of the ACK cluster connector. The name must be 1 to 64 characters in length and can contain Chinese characters, uppercase and lowercase letters, digits, periods (.), underscores (_), and hyphens (-).
20
20
  *
21
21
  * This parameter is required.
22
22
  *
@@ -35,7 +35,7 @@ export class CreateAckClusterConnectorRequest extends $dara.Model {
35
35
  /**
36
36
  * @remarks
37
37
  * The primary vSwitch of the ACK cluster connector. You can call the following operation to obtain the value:
38
- * - [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~): Lists the vSwitches of synchronization nodes.
38
+ * - [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~): Queries the list of synchronization node vSwitches.
39
39
  *
40
40
  * This parameter is required.
41
41
  *
@@ -54,7 +54,7 @@ export class CreateAckClusterConnectorRequest extends $dara.Model {
54
54
  /**
55
55
  * @remarks
56
56
  * The region ID of the ACK cluster connector. You can call the following operation to obtain the value:
57
- * - [DescribeAccessInstanceRegionList](~~DescribeAccessInstanceRegionList~~): Lists the regions of synchronization nodes.
57
+ * - [DescribeAccessInstanceRegionList](~~DescribeAccessInstanceRegionList~~): Queries the list of synchronization node regions.
58
58
  *
59
59
  * > For more information about the regions supported by ACK cluster connectors in Cloud Firewall, see [ACK cluster synchronization nodes](https://help.aliyun.com/document_detail/2865120.html).
60
60
  *
@@ -67,7 +67,7 @@ export class CreateAckClusterConnectorRequest extends $dara.Model {
67
67
  /**
68
68
  * @remarks
69
69
  * The standby vSwitch of the ACK cluster connector. You can call the following operation to obtain the value:
70
- * - [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~): Lists the vSwitches of synchronization nodes.
70
+ * - [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~): Queries the list of synchronization node vSwitches.
71
71
  *
72
72
  * @example
73
73
  * vsw-2ze2gtlfozrab01cfo****
@@ -14,7 +14,7 @@ export class CreateAckClusterConnectorResponseBodyAckClusterConnector extends $d
14
14
  /**
15
15
  * @remarks
16
16
  * The ACK cluster ID. You can call the following operation to obtain the value:
17
- * - [DescribeAckClusters](~~DescribeAckClusters~~): Lists ACK clusters.
17
+ * - [DescribeAckClusters](~~DescribeAckClusters~~): Queries the list of ACK clusters.
18
18
  *
19
19
  * @example
20
20
  * cb0f5640b1b2d404cad6ba21509d7847b
@@ -30,7 +30,9 @@ export class CreateAckClusterConnectorResponseBodyAckClusterConnector extends $d
30
30
  clusterName?: string;
31
31
  /**
32
32
  * @remarks
33
- * The health check status of the ACK cluster connector.
33
+ * The health check status of the ACK cluster connector. Valid values:
34
+ * - healthy: Healthy.
35
+ * - unhealthy: Unhealthy.
34
36
  *
35
37
  * @example
36
38
  * healthy
@@ -46,7 +48,7 @@ export class CreateAckClusterConnectorResponseBodyAckClusterConnector extends $d
46
48
  connectorId?: string;
47
49
  /**
48
50
  * @remarks
49
- * The name of the ACK cluster connector. The name must be 1 to 64 characters in length and can contain letters, digits, Chinese characters, periods (.), underscores (_), and hyphens (-).
51
+ * The name of the ACK cluster connector. The name must be 1 to 64 characters in length and can contain Chinese characters, uppercase and lowercase letters, digits, periods (.), underscores (_), and hyphens (-).
50
52
  *
51
53
  * @example
52
54
  * ack-cluster-connector-name
@@ -54,7 +56,10 @@ export class CreateAckClusterConnectorResponseBodyAckClusterConnector extends $d
54
56
  connectorName?: string;
55
57
  /**
56
58
  * @remarks
57
- * The instance status of the ACK cluster connector.
59
+ * The instance status of the ACK cluster connector. Valid values:
60
+ * - init: Initializing.
61
+ * - deleting: Deleting.
62
+ * - ready: Normal.
58
63
  *
59
64
  * @example
60
65
  * ready
@@ -79,7 +84,7 @@ export class CreateAckClusterConnectorResponseBodyAckClusterConnector extends $d
79
84
  /**
80
85
  * @remarks
81
86
  * The primary vSwitch of the ACK cluster connector. You can call the following operation to obtain the value:
82
- * - [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~): Lists the vSwitches of synchronization nodes.
87
+ * - [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~): Queries the list of synchronization node vSwitches.
83
88
  *
84
89
  * @example
85
90
  * vsw-2zerfbbje7dvnbii2****
@@ -96,7 +101,7 @@ export class CreateAckClusterConnectorResponseBodyAckClusterConnector extends $d
96
101
  /**
97
102
  * @remarks
98
103
  * The zone of the primary vSwitch of the ACK cluster connector. You can call the following operation to obtain the value:
99
- * - [DescribeAccessInstanceZoneList](~~DescribeAccessInstanceZoneList~~): Lists the zones of vSwitches for synchronization nodes.
104
+ * - [DescribeAccessInstanceZoneList](~~DescribeAccessInstanceZoneList~~): Queries the list of synchronization node vSwitch zones.
100
105
  *
101
106
  * @example
102
107
  * cn-hangzhou-g
@@ -105,7 +110,7 @@ export class CreateAckClusterConnectorResponseBodyAckClusterConnector extends $d
105
110
  /**
106
111
  * @remarks
107
112
  * The region ID of the ACK cluster connector. You can call the following operation to obtain the value:
108
- * - [DescribeAccessInstanceRegionList](~~DescribeAccessInstanceRegionList~~): Lists the regions of synchronization nodes.
113
+ * - [DescribeAccessInstanceRegionList](~~DescribeAccessInstanceRegionList~~): Queries the list of synchronization node regions.
109
114
  *
110
115
  * > For more information about the regions supported by ACK cluster connectors in Cloud Firewall, see [ACK cluster synchronization nodes](https://help.aliyun.com/document_detail/2865120.html).
111
116
  *
@@ -116,7 +121,7 @@ export class CreateAckClusterConnectorResponseBodyAckClusterConnector extends $d
116
121
  /**
117
122
  * @remarks
118
123
  * The standby vSwitch of the ACK cluster connector. You can call the following operation to obtain the value:
119
- * - [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~): Lists the vSwitches of synchronization nodes.
124
+ * - [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~): Queries the list of synchronization node vSwitches.
120
125
  *
121
126
  * @example
122
127
  * vsw-2ze2gtlfozrab01cfo****
@@ -133,7 +138,7 @@ export class CreateAckClusterConnectorResponseBodyAckClusterConnector extends $d
133
138
  /**
134
139
  * @remarks
135
140
  * The zone of the standby vSwitch of the ACK cluster connector. You can call the following operation to obtain the value:
136
- * - [DescribeAccessInstanceZoneList](~~DescribeAccessInstanceZoneList~~): Lists the zones of vSwitches for synchronization nodes.
141
+ * - [DescribeAccessInstanceZoneList](~~DescribeAccessInstanceZoneList~~): Queries the list of synchronization node vSwitch zones.
137
142
  *
138
143
  * @example
139
144
  * cn-hangzhou-h
@@ -141,7 +146,7 @@ export class CreateAckClusterConnectorResponseBodyAckClusterConnector extends $d
141
146
  standbyVswitchZoneId?: string;
142
147
  /**
143
148
  * @remarks
144
- * The unique ID of the task for creating the ACK cluster connector.
149
+ * The unique task ID for creating the ACK cluster connector.
145
150
  *
146
151
  * @example
147
152
  * task-c92d4544ef7b6a42
@@ -223,7 +228,7 @@ export class CreateAckClusterConnectorResponseBodyAckClusterConnector extends $d
223
228
  export class CreateAckClusterConnectorResponseBody extends $dara.Model {
224
229
  /**
225
230
  * @remarks
226
- * The ACK cluster connector information.
231
+ * The response body of the ACK cluster connector.
227
232
  */
228
233
  ackClusterConnector?: CreateAckClusterConnectorResponseBodyAckClusterConnector;
229
234
  /**
@@ -5,9 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreateIpsPrivateAssocRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The language type for the request and response messages. Valid values:
9
- * - en: English.
10
- * - zh: Chinese.
8
+ * The language of the request and response messages.
11
9
  *
12
10
  * @example
13
11
  * zh
@@ -15,7 +13,9 @@ export class CreateIpsPrivateAssocRequest extends $dara.Model {
15
13
  lang?: string;
16
14
  /**
17
15
  * @remarks
18
- * The instance ID. This parameter is required. If this parameter is not specified, the API returns error code -103201. Only NAT gateway instance IDs (in the format ngw-*) that are protected by Cloud Firewall are accepted. Other resource types such as vpc-* or eip-* are rejected.
16
+ * The ID of the Internet NAT gateway instance to associate. This parameter is required. If this parameter is not specified, ErrorParamsNotEnough is returned (HTTP 400, Parameters are insufficient.).
17
+ *
18
+ * > The backend does not validate the ID format. Instead, it queries the instance in the Cloud Firewall private network asset table for the current account. If the instance is not found, ErrorParamsInvalid is returned (HTTP 400, Invalid Params). Common scenarios include the resource type not being a NAT gateway, the resource not being managed by Cloud Firewall, or a newly created NAT gateway for which asynchronous asset synchronization has not yet completed.
19
19
  *
20
20
  * @example
21
21
  * ngw-c5vhmjdfp5t****
@@ -35,7 +35,7 @@ export class CreatePrivateDnsEndpointRequest extends $dara.Model {
35
35
  ipProtocol?: string;
36
36
  /**
37
37
  * @remarks
38
- * The UID of the Alibaba Cloud member account. This parameter is required when you use Cloud Firewall to manage member accounts.
38
+ * The UID of the Alibaba Cloud member accounts.
39
39
  *
40
40
  * @example
41
41
  * 258039427902****
@@ -52,6 +52,7 @@ export class CreatePrivateDnsEndpointRequest extends $dara.Model {
52
52
  /**
53
53
  * @remarks
54
54
  * The primary DNS server.
55
+ * > When PrivateDnsType is set to Custom, you must specify PrimaryDns and StandbyDns.
55
56
  *
56
57
  * @example
57
58
  * 1.1.1.1
@@ -75,7 +76,7 @@ export class CreatePrivateDnsEndpointRequest extends $dara.Model {
75
76
  primaryVSwitchIp?: string;
76
77
  /**
77
78
  * @remarks
78
- * The private DNS type. When PrivateDnsType is set to Custom, Port and IpProtocol are required. When PrivateDnsType is set to PrivateZone, the backend automatically sets the port to 53 and uses the default protocol. Valid values:
79
+ * The type of private DNS. When PrivateDnsType is set to Custom, Port and IpProtocol are required. When PrivateDnsType is set to PrivateZone, the backend automatically sets the port to 53 and uses the default protocol. Valid values:
79
80
  * - **PrivateZone**
80
81
  * - **Custom** (default)
81
82
  *
@@ -99,6 +100,8 @@ export class CreatePrivateDnsEndpointRequest extends $dara.Model {
99
100
  * @remarks
100
101
  * The secondary DNS server.
101
102
  *
103
+ * > When PrivateDnsType is set to Custom, you must specify PrimaryDns and StandbyDns.
104
+ *
102
105
  * @example
103
106
  * 1.1.1.2
104
107
  */
@@ -71,11 +71,27 @@ export class CreateSecurityProxyRequestNatRouteEntryList extends $dara.Model {
71
71
  }
72
72
 
73
73
  export class CreateSecurityProxyRequest extends $dara.Model {
74
+ /**
75
+ * @remarks
76
+ * The deployment mode of the firewall service. Valid values:
77
+ *
78
+ * - PrimaryStandby: active/standby mode
79
+ * - MultiPrimary: active-active mode
80
+ *
81
+ * @example
82
+ * PrimaryStandby
83
+ */
84
+ firewallServiceMode?: string;
85
+ /**
86
+ * @remarks
87
+ * The list of zone IDs used by the firewall service.
88
+ */
89
+ firewallServiceZones?: string[];
74
90
  /**
75
91
  * @remarks
76
92
  * The security protection switch. Valid values:
77
- * - **open**: Enabled.
78
- * - **close**: Disabled.
93
+ * - **open**: enabled
94
+ * - **close**: disabled
79
95
  *
80
96
  * @example
81
97
  * close
@@ -163,8 +179,8 @@ export class CreateSecurityProxyRequest extends $dara.Model {
163
179
  /**
164
180
  * @remarks
165
181
  * Specifies whether to use the automatic vSwitch mode. Valid values:
166
- * - **true**: Automatic mode.
167
- * - **false**: Manual mode.
182
+ * - **true**: automatic mode
183
+ * - **false**: manual mode
168
184
  * > The default value of VswitchAuto is true. If VswitchAuto is set to true, VswitchCidr is required and must be a valid CIDR block. If VswitchAuto is set to false, VswitchId is required.
169
185
  *
170
186
  * @example
@@ -189,6 +205,8 @@ export class CreateSecurityProxyRequest extends $dara.Model {
189
205
  vswitchId?: string;
190
206
  static names(): { [key: string]: string } {
191
207
  return {
208
+ firewallServiceMode: 'FirewallServiceMode',
209
+ firewallServiceZones: 'FirewallServiceZones',
192
210
  firewallSwitch: 'FirewallSwitch',
193
211
  fwVswitchZoneId: 'FwVswitchZoneId',
194
212
  lang: 'Lang',
@@ -206,6 +224,8 @@ export class CreateSecurityProxyRequest extends $dara.Model {
206
224
 
207
225
  static types(): { [key: string]: any } {
208
226
  return {
227
+ firewallServiceMode: 'string',
228
+ firewallServiceZones: { 'type': 'array', 'itemType': 'string' },
209
229
  firewallSwitch: 'string',
210
230
  fwVswitchZoneId: 'string',
211
231
  lang: 'string',
@@ -222,6 +242,9 @@ export class CreateSecurityProxyRequest extends $dara.Model {
222
242
  }
223
243
 
224
244
  validate() {
245
+ if(Array.isArray(this.firewallServiceZones)) {
246
+ $dara.Model.validateArray(this.firewallServiceZones);
247
+ }
225
248
  if(Array.isArray(this.natRouteEntryList)) {
226
249
  $dara.Model.validateArray(this.natRouteEntryList);
227
250
  }
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreateSecurityProxyResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The NAT firewall ID.
8
+ * The ID of the NAT firewall.
9
9
  *
10
10
  * @example
11
11
  * proxy-nat97a******