@alicloud/bdrc20230808 1.0.0 → 2.0.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 (381) hide show
  1. package/dist/client.d.ts +355 -1663
  2. package/dist/client.js +980 -1475
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CheckRulesRequest.d.ts +31 -0
  5. package/dist/models/CheckRulesRequest.js +60 -0
  6. package/dist/models/CheckRulesRequest.js.map +1 -0
  7. package/dist/models/CheckRulesResponse.d.ts +19 -0
  8. package/dist/models/CheckRulesResponse.js +69 -0
  9. package/dist/models/CheckRulesResponse.js.map +1 -0
  10. package/dist/models/CheckRulesResponseBody.d.ts +48 -0
  11. package/dist/models/CheckRulesResponseBody.js +84 -0
  12. package/dist/models/CheckRulesResponseBody.js.map +1 -0
  13. package/dist/models/CloseBdrcServiceResponse.d.ts +19 -0
  14. package/dist/models/CloseBdrcServiceResponse.js +69 -0
  15. package/dist/models/CloseBdrcServiceResponse.js.map +1 -0
  16. package/dist/models/CloseBdrcServiceResponseBody.d.ts +21 -0
  17. package/dist/models/CloseBdrcServiceResponseBody.js +58 -0
  18. package/dist/models/CloseBdrcServiceResponseBody.js.map +1 -0
  19. package/dist/models/CreateProtectionPolicyRequest.d.ts +87 -0
  20. package/dist/models/CreateProtectionPolicyRequest.js +93 -0
  21. package/dist/models/CreateProtectionPolicyRequest.js.map +1 -0
  22. package/dist/models/CreateProtectionPolicyResponse.d.ts +19 -0
  23. package/dist/models/CreateProtectionPolicyResponse.js +69 -0
  24. package/dist/models/CreateProtectionPolicyResponse.js.map +1 -0
  25. package/dist/models/CreateProtectionPolicyResponseBody.d.ts +46 -0
  26. package/dist/models/CreateProtectionPolicyResponseBody.js +82 -0
  27. package/dist/models/CreateProtectionPolicyResponseBody.js.map +1 -0
  28. package/dist/models/CreateProtectionPolicyShrinkRequest.d.ts +57 -0
  29. package/dist/models/CreateProtectionPolicyShrinkRequest.js +66 -0
  30. package/dist/models/CreateProtectionPolicyShrinkRequest.js.map +1 -0
  31. package/dist/models/CreateResourceCategoryRequest.d.ts +70 -0
  32. package/dist/models/CreateResourceCategoryRequest.js +62 -0
  33. package/dist/models/CreateResourceCategoryRequest.js.map +1 -0
  34. package/dist/models/CreateResourceCategoryResponse.d.ts +19 -0
  35. package/dist/models/CreateResourceCategoryResponse.js +69 -0
  36. package/dist/models/CreateResourceCategoryResponse.js.map +1 -0
  37. package/dist/models/CreateResourceCategoryResponseBody.d.ts +46 -0
  38. package/dist/models/CreateResourceCategoryResponseBody.js +82 -0
  39. package/dist/models/CreateResourceCategoryResponseBody.js.map +1 -0
  40. package/dist/models/DeleteProtectionPolicyRequest.d.ts +13 -0
  41. package/dist/models/DeleteProtectionPolicyRequest.js +54 -0
  42. package/dist/models/DeleteProtectionPolicyRequest.js.map +1 -0
  43. package/dist/models/DeleteProtectionPolicyResponse.d.ts +19 -0
  44. package/dist/models/DeleteProtectionPolicyResponse.js +69 -0
  45. package/dist/models/DeleteProtectionPolicyResponse.js.map +1 -0
  46. package/dist/models/DeleteProtectionPolicyResponseBody.d.ts +21 -0
  47. package/dist/models/DeleteProtectionPolicyResponseBody.js +58 -0
  48. package/dist/models/DeleteProtectionPolicyResponseBody.js.map +1 -0
  49. package/dist/models/DeleteResourceCategoryRequest.d.ts +23 -0
  50. package/dist/models/DeleteResourceCategoryRequest.js +58 -0
  51. package/dist/models/DeleteResourceCategoryRequest.js.map +1 -0
  52. package/dist/models/DeleteResourceCategoryResponse.d.ts +19 -0
  53. package/dist/models/DeleteResourceCategoryResponse.js +69 -0
  54. package/dist/models/DeleteResourceCategoryResponse.js.map +1 -0
  55. package/dist/models/DeleteResourceCategoryResponseBody.d.ts +21 -0
  56. package/dist/models/DeleteResourceCategoryResponseBody.js +58 -0
  57. package/dist/models/DeleteResourceCategoryResponseBody.js.map +1 -0
  58. package/dist/models/DescribeCheckDetailsRequest.d.ts +47 -0
  59. package/dist/models/DescribeCheckDetailsRequest.js +64 -0
  60. package/dist/models/DescribeCheckDetailsRequest.js.map +1 -0
  61. package/dist/models/DescribeCheckDetailsResponse.d.ts +19 -0
  62. package/dist/models/DescribeCheckDetailsResponse.js +69 -0
  63. package/dist/models/DescribeCheckDetailsResponse.js.map +1 -0
  64. package/dist/models/DescribeCheckDetailsResponseBody.d.ts +167 -0
  65. package/dist/models/DescribeCheckDetailsResponseBody.js +130 -0
  66. package/dist/models/DescribeCheckDetailsResponseBody.js.map +1 -0
  67. package/dist/models/DescribeProductDataRedundancyTypeStatRequest.d.ts +32 -0
  68. package/dist/models/DescribeProductDataRedundancyTypeStatRequest.js +65 -0
  69. package/dist/models/DescribeProductDataRedundancyTypeStatRequest.js.map +1 -0
  70. package/dist/models/DescribeProductDataRedundancyTypeStatResponse.d.ts +19 -0
  71. package/dist/models/DescribeProductDataRedundancyTypeStatResponse.js +69 -0
  72. package/dist/models/DescribeProductDataRedundancyTypeStatResponse.js.map +1 -0
  73. package/dist/models/DescribeProductDataRedundancyTypeStatResponseBody.d.ts +79 -0
  74. package/dist/models/DescribeProductDataRedundancyTypeStatResponseBody.js +108 -0
  75. package/dist/models/DescribeProductDataRedundancyTypeStatResponseBody.js.map +1 -0
  76. package/dist/models/DescribeProductDataRedundancyTypeStatShrinkRequest.d.ts +32 -0
  77. package/dist/models/DescribeProductDataRedundancyTypeStatShrinkRequest.js +62 -0
  78. package/dist/models/DescribeProductDataRedundancyTypeStatShrinkRequest.js.map +1 -0
  79. package/dist/models/DescribeProductsRequest.d.ts +45 -0
  80. package/dist/models/DescribeProductsRequest.js +67 -0
  81. package/dist/models/DescribeProductsRequest.js.map +1 -0
  82. package/dist/models/DescribeProductsResponse.d.ts +19 -0
  83. package/dist/models/DescribeProductsResponse.js +69 -0
  84. package/dist/models/DescribeProductsResponse.js.map +1 -0
  85. package/dist/models/DescribeProductsResponseBody.d.ts +225 -0
  86. package/dist/models/DescribeProductsResponseBody.js +180 -0
  87. package/dist/models/DescribeProductsResponseBody.js.map +1 -0
  88. package/dist/models/DescribeProductsShrinkRequest.d.ts +45 -0
  89. package/dist/models/DescribeProductsShrinkRequest.js +64 -0
  90. package/dist/models/DescribeProductsShrinkRequest.js.map +1 -0
  91. package/dist/models/DescribeResourcesRequest.d.ts +117 -0
  92. package/dist/models/DescribeResourcesRequest.js +85 -0
  93. package/dist/models/DescribeResourcesRequest.js.map +1 -0
  94. package/dist/models/DescribeResourcesResponse.d.ts +19 -0
  95. package/dist/models/DescribeResourcesResponse.js +69 -0
  96. package/dist/models/DescribeResourcesResponse.js.map +1 -0
  97. package/dist/models/DescribeResourcesResponseBody.d.ts +271 -0
  98. package/dist/models/DescribeResourcesResponseBody.js +156 -0
  99. package/dist/models/DescribeResourcesResponseBody.js.map +1 -0
  100. package/dist/models/DescribeResourcesShrinkRequest.d.ts +117 -0
  101. package/dist/models/DescribeResourcesShrinkRequest.js +82 -0
  102. package/dist/models/DescribeResourcesShrinkRequest.js.map +1 -0
  103. package/dist/models/DescribeRulesRequest.d.ts +54 -0
  104. package/dist/models/DescribeRulesRequest.js +71 -0
  105. package/dist/models/DescribeRulesRequest.js.map +1 -0
  106. package/dist/models/DescribeRulesResponse.d.ts +19 -0
  107. package/dist/models/DescribeRulesResponse.js +69 -0
  108. package/dist/models/DescribeRulesResponse.js.map +1 -0
  109. package/dist/models/DescribeRulesResponseBody.d.ts +151 -0
  110. package/dist/models/DescribeRulesResponseBody.js +126 -0
  111. package/dist/models/DescribeRulesResponseBody.js.map +1 -0
  112. package/dist/models/DescribeRulesShrinkRequest.d.ts +54 -0
  113. package/dist/models/DescribeRulesShrinkRequest.js +68 -0
  114. package/dist/models/DescribeRulesShrinkRequest.js.map +1 -0
  115. package/dist/models/DescribeTaskResponse.d.ts +19 -0
  116. package/dist/models/DescribeTaskResponse.js +69 -0
  117. package/dist/models/DescribeTaskResponse.js.map +1 -0
  118. package/dist/models/DescribeTaskResponseBody.d.ts +158 -0
  119. package/dist/models/DescribeTaskResponseBody.js +110 -0
  120. package/dist/models/DescribeTaskResponseBody.js.map +1 -0
  121. package/dist/models/DescribeTasksRequest.d.ts +42 -0
  122. package/dist/models/DescribeTasksRequest.js +64 -0
  123. package/dist/models/DescribeTasksRequest.js.map +1 -0
  124. package/dist/models/DescribeTasksResponse.d.ts +19 -0
  125. package/dist/models/DescribeTasksResponse.js +69 -0
  126. package/dist/models/DescribeTasksResponse.js.map +1 -0
  127. package/dist/models/DescribeTasksResponseBody.d.ts +199 -0
  128. package/dist/models/DescribeTasksResponseBody.js +138 -0
  129. package/dist/models/DescribeTasksResponseBody.js.map +1 -0
  130. package/dist/models/DescribeTopRiskyResourcesRequest.d.ts +30 -0
  131. package/dist/models/DescribeTopRiskyResourcesRequest.js +65 -0
  132. package/dist/models/DescribeTopRiskyResourcesRequest.js.map +1 -0
  133. package/dist/models/DescribeTopRiskyResourcesResponse.d.ts +19 -0
  134. package/dist/models/DescribeTopRiskyResourcesResponse.js +69 -0
  135. package/dist/models/DescribeTopRiskyResourcesResponse.js.map +1 -0
  136. package/dist/models/DescribeTopRiskyResourcesResponseBody.d.ts +271 -0
  137. package/dist/models/DescribeTopRiskyResourcesResponseBody.js +156 -0
  138. package/dist/models/DescribeTopRiskyResourcesResponseBody.js.map +1 -0
  139. package/dist/models/DescribeTopRiskyResourcesShrinkRequest.d.ts +30 -0
  140. package/dist/models/DescribeTopRiskyResourcesShrinkRequest.js +62 -0
  141. package/dist/models/DescribeTopRiskyResourcesShrinkRequest.js.map +1 -0
  142. package/dist/models/DisableCheckProductRequest.d.ts +23 -0
  143. package/dist/models/DisableCheckProductRequest.js +58 -0
  144. package/dist/models/DisableCheckProductRequest.js.map +1 -0
  145. package/dist/models/DisableCheckProductResponse.d.ts +19 -0
  146. package/dist/models/DisableCheckProductResponse.js +69 -0
  147. package/dist/models/DisableCheckProductResponse.js.map +1 -0
  148. package/dist/models/DisableCheckProductResponseBody.d.ts +21 -0
  149. package/dist/models/DisableCheckProductResponseBody.js +58 -0
  150. package/dist/models/DisableCheckProductResponseBody.js.map +1 -0
  151. package/dist/models/DisableCheckResourceRequest.d.ts +23 -0
  152. package/dist/models/DisableCheckResourceRequest.js +58 -0
  153. package/dist/models/DisableCheckResourceRequest.js.map +1 -0
  154. package/dist/models/DisableCheckResourceResponse.d.ts +19 -0
  155. package/dist/models/DisableCheckResourceResponse.js +69 -0
  156. package/dist/models/DisableCheckResourceResponse.js.map +1 -0
  157. package/dist/models/DisableCheckResourceResponseBody.d.ts +21 -0
  158. package/dist/models/DisableCheckResourceResponseBody.js +58 -0
  159. package/dist/models/DisableCheckResourceResponseBody.js.map +1 -0
  160. package/dist/models/EnableCheckProductRequest.d.ts +23 -0
  161. package/dist/models/EnableCheckProductRequest.js +58 -0
  162. package/dist/models/EnableCheckProductRequest.js.map +1 -0
  163. package/dist/models/EnableCheckProductResponse.d.ts +19 -0
  164. package/dist/models/EnableCheckProductResponse.js +69 -0
  165. package/dist/models/EnableCheckProductResponse.js.map +1 -0
  166. package/dist/models/EnableCheckProductResponseBody.d.ts +21 -0
  167. package/dist/models/EnableCheckProductResponseBody.js +58 -0
  168. package/dist/models/EnableCheckProductResponseBody.js.map +1 -0
  169. package/dist/models/EnableCheckResourceRequest.d.ts +23 -0
  170. package/dist/models/EnableCheckResourceRequest.js +58 -0
  171. package/dist/models/EnableCheckResourceRequest.js.map +1 -0
  172. package/dist/models/EnableCheckResourceResponse.d.ts +19 -0
  173. package/dist/models/EnableCheckResourceResponse.js +69 -0
  174. package/dist/models/EnableCheckResourceResponse.js.map +1 -0
  175. package/dist/models/EnableCheckResourceResponseBody.d.ts +21 -0
  176. package/dist/models/EnableCheckResourceResponseBody.js +58 -0
  177. package/dist/models/EnableCheckResourceResponseBody.js.map +1 -0
  178. package/dist/models/GetBdrcServiceResponse.d.ts +19 -0
  179. package/dist/models/GetBdrcServiceResponse.js +69 -0
  180. package/dist/models/GetBdrcServiceResponse.js.map +1 -0
  181. package/dist/models/GetBdrcServiceResponseBody.d.ts +70 -0
  182. package/dist/models/GetBdrcServiceResponseBody.js +88 -0
  183. package/dist/models/GetBdrcServiceResponseBody.js.map +1 -0
  184. package/dist/models/GetMessageRequest.d.ts +13 -0
  185. package/dist/models/GetMessageRequest.js +54 -0
  186. package/dist/models/GetMessageRequest.js.map +1 -0
  187. package/dist/models/GetMessageResponse.d.ts +19 -0
  188. package/dist/models/GetMessageResponse.js +69 -0
  189. package/dist/models/GetMessageResponse.js.map +1 -0
  190. package/dist/models/GetMessageResponseBody.d.ts +110 -0
  191. package/dist/models/GetMessageResponseBody.js +98 -0
  192. package/dist/models/GetMessageResponseBody.js.map +1 -0
  193. package/dist/models/GetProtectionPolicyRequest.d.ts +13 -0
  194. package/dist/models/GetProtectionPolicyRequest.js +54 -0
  195. package/dist/models/GetProtectionPolicyRequest.js.map +1 -0
  196. package/dist/models/GetProtectionPolicyResponse.d.ts +19 -0
  197. package/dist/models/GetProtectionPolicyResponse.js +69 -0
  198. package/dist/models/GetProtectionPolicyResponse.js.map +1 -0
  199. package/dist/models/GetProtectionPolicyResponseBody.d.ts +116 -0
  200. package/dist/models/GetProtectionPolicyResponseBody.js +121 -0
  201. package/dist/models/GetProtectionPolicyResponseBody.js.map +1 -0
  202. package/dist/models/GetResourceCategoryRequest.d.ts +23 -0
  203. package/dist/models/GetResourceCategoryRequest.js +58 -0
  204. package/dist/models/GetResourceCategoryRequest.js.map +1 -0
  205. package/dist/models/GetResourceCategoryResponse.d.ts +19 -0
  206. package/dist/models/GetResourceCategoryResponse.js +69 -0
  207. package/dist/models/GetResourceCategoryResponse.js.map +1 -0
  208. package/dist/models/GetResourceCategoryResponseBody.d.ts +123 -0
  209. package/dist/models/GetResourceCategoryResponseBody.js +118 -0
  210. package/dist/models/GetResourceCategoryResponseBody.js.map +1 -0
  211. package/dist/models/ListMessagesRequest.d.ts +63 -0
  212. package/dist/models/ListMessagesRequest.js +68 -0
  213. package/dist/models/ListMessagesRequest.js.map +1 -0
  214. package/dist/models/ListMessagesResponse.d.ts +19 -0
  215. package/dist/models/ListMessagesResponse.js +69 -0
  216. package/dist/models/ListMessagesResponse.js.map +1 -0
  217. package/dist/models/ListMessagesResponseBody.d.ts +143 -0
  218. package/dist/models/ListMessagesResponseBody.js +124 -0
  219. package/dist/models/ListMessagesResponseBody.js.map +1 -0
  220. package/dist/models/ListProtectionPoliciesRequest.d.ts +45 -0
  221. package/dist/models/ListProtectionPoliciesRequest.js +64 -0
  222. package/dist/models/ListProtectionPoliciesRequest.js.map +1 -0
  223. package/dist/models/ListProtectionPoliciesResponse.d.ts +19 -0
  224. package/dist/models/ListProtectionPoliciesResponse.js +69 -0
  225. package/dist/models/ListProtectionPoliciesResponse.js.map +1 -0
  226. package/dist/models/ListProtectionPoliciesResponseBody.d.ts +248 -0
  227. package/dist/models/ListProtectionPoliciesResponseBody.js +225 -0
  228. package/dist/models/ListProtectionPoliciesResponseBody.js.map +1 -0
  229. package/dist/models/ListProtectionPolicyApplicationsRequest.d.ts +63 -0
  230. package/dist/models/ListProtectionPolicyApplicationsRequest.js +68 -0
  231. package/dist/models/ListProtectionPolicyApplicationsRequest.js.map +1 -0
  232. package/dist/models/ListProtectionPolicyApplicationsResponse.d.ts +19 -0
  233. package/dist/models/ListProtectionPolicyApplicationsResponse.js +69 -0
  234. package/dist/models/ListProtectionPolicyApplicationsResponse.js.map +1 -0
  235. package/dist/models/ListProtectionPolicyApplicationsResponseBody.d.ts +164 -0
  236. package/dist/models/ListProtectionPolicyApplicationsResponseBody.js +130 -0
  237. package/dist/models/ListProtectionPolicyApplicationsResponseBody.js.map +1 -0
  238. package/dist/models/ListResourceCategoriesRequest.d.ts +34 -0
  239. package/dist/models/ListResourceCategoriesRequest.js +62 -0
  240. package/dist/models/ListResourceCategoriesRequest.js.map +1 -0
  241. package/dist/models/ListResourceCategoriesResponse.d.ts +19 -0
  242. package/dist/models/ListResourceCategoriesResponse.js +69 -0
  243. package/dist/models/ListResourceCategoriesResponse.js.map +1 -0
  244. package/dist/models/ListResourceCategoriesResponseBody.d.ts +164 -0
  245. package/dist/models/ListResourceCategoriesResponseBody.js +146 -0
  246. package/dist/models/ListResourceCategoriesResponseBody.js.map +1 -0
  247. package/dist/models/OpenBdrcServiceResponse.d.ts +19 -0
  248. package/dist/models/OpenBdrcServiceResponse.js +69 -0
  249. package/dist/models/OpenBdrcServiceResponse.js.map +1 -0
  250. package/dist/models/OpenBdrcServiceResponseBody.d.ts +21 -0
  251. package/dist/models/OpenBdrcServiceResponseBody.js +58 -0
  252. package/dist/models/OpenBdrcServiceResponseBody.js.map +1 -0
  253. package/dist/models/UpdateProtectionPolicyRequest.d.ts +67 -0
  254. package/dist/models/UpdateProtectionPolicyRequest.js +91 -0
  255. package/dist/models/UpdateProtectionPolicyRequest.js.map +1 -0
  256. package/dist/models/UpdateProtectionPolicyResponse.d.ts +19 -0
  257. package/dist/models/UpdateProtectionPolicyResponse.js +69 -0
  258. package/dist/models/UpdateProtectionPolicyResponse.js.map +1 -0
  259. package/dist/models/UpdateProtectionPolicyResponseBody.d.ts +21 -0
  260. package/dist/models/UpdateProtectionPolicyResponseBody.js +58 -0
  261. package/dist/models/UpdateProtectionPolicyResponseBody.js.map +1 -0
  262. package/dist/models/UpdateProtectionPolicyShrinkRequest.d.ts +39 -0
  263. package/dist/models/UpdateProtectionPolicyShrinkRequest.js +64 -0
  264. package/dist/models/UpdateProtectionPolicyShrinkRequest.js.map +1 -0
  265. package/dist/models/UpdateResourceCategoryRequest.d.ts +65 -0
  266. package/dist/models/UpdateResourceCategoryRequest.js +62 -0
  267. package/dist/models/UpdateResourceCategoryRequest.js.map +1 -0
  268. package/dist/models/UpdateResourceCategoryResponse.d.ts +19 -0
  269. package/dist/models/UpdateResourceCategoryResponse.js +69 -0
  270. package/dist/models/UpdateResourceCategoryResponse.js.map +1 -0
  271. package/dist/models/UpdateResourceCategoryResponseBody.d.ts +21 -0
  272. package/dist/models/UpdateResourceCategoryResponseBody.js +58 -0
  273. package/dist/models/UpdateResourceCategoryResponseBody.js.map +1 -0
  274. package/dist/models/UpdateResourcesRequest.d.ts +21 -0
  275. package/dist/models/UpdateResourcesRequest.js +58 -0
  276. package/dist/models/UpdateResourcesRequest.js.map +1 -0
  277. package/dist/models/UpdateResourcesResponse.d.ts +19 -0
  278. package/dist/models/UpdateResourcesResponse.js +69 -0
  279. package/dist/models/UpdateResourcesResponse.js.map +1 -0
  280. package/dist/models/UpdateResourcesResponseBody.d.ts +46 -0
  281. package/dist/models/UpdateResourcesResponseBody.js +82 -0
  282. package/dist/models/UpdateResourcesResponseBody.js.map +1 -0
  283. package/dist/models/model.d.ts +135 -0
  284. package/dist/models/model.js +276 -0
  285. package/dist/models/model.js.map +1 -0
  286. package/package.json +3 -6
  287. package/src/client.ts +1103 -2557
  288. package/src/models/CheckRulesRequest.ts +46 -0
  289. package/src/models/CheckRulesResponse.ts +40 -0
  290. package/src/models/CheckRulesResponseBody.ts +76 -0
  291. package/src/models/CloseBdrcServiceResponse.ts +40 -0
  292. package/src/models/CloseBdrcServiceResponseBody.ts +34 -0
  293. package/src/models/CreateProtectionPolicyRequest.ts +126 -0
  294. package/src/models/CreateProtectionPolicyResponse.ts +40 -0
  295. package/src/models/CreateProtectionPolicyResponseBody.ts +74 -0
  296. package/src/models/CreateProtectionPolicyShrinkRequest.ts +78 -0
  297. package/src/models/CreateResourceCategoryRequest.ts +87 -0
  298. package/src/models/CreateResourceCategoryResponse.ts +40 -0
  299. package/src/models/CreateResourceCategoryResponseBody.ts +74 -0
  300. package/src/models/DeleteProtectionPolicyRequest.ts +24 -0
  301. package/src/models/DeleteProtectionPolicyResponse.ts +40 -0
  302. package/src/models/DeleteProtectionPolicyResponseBody.ts +34 -0
  303. package/src/models/DeleteResourceCategoryRequest.ts +36 -0
  304. package/src/models/DeleteResourceCategoryResponse.ts +40 -0
  305. package/src/models/DeleteResourceCategoryResponseBody.ts +34 -0
  306. package/src/models/DescribeCheckDetailsRequest.ts +66 -0
  307. package/src/models/DescribeCheckDetailsResponse.ts +40 -0
  308. package/src/models/DescribeCheckDetailsResponseBody.ts +234 -0
  309. package/src/models/DescribeProductDataRedundancyTypeStatRequest.ts +52 -0
  310. package/src/models/DescribeProductDataRedundancyTypeStatResponse.ts +40 -0
  311. package/src/models/DescribeProductDataRedundancyTypeStatResponseBody.ts +124 -0
  312. package/src/models/DescribeProductDataRedundancyTypeStatShrinkRequest.ts +49 -0
  313. package/src/models/DescribeProductsRequest.ts +67 -0
  314. package/src/models/DescribeProductsResponse.ts +40 -0
  315. package/src/models/DescribeProductsResponseBody.ts +324 -0
  316. package/src/models/DescribeProductsShrinkRequest.ts +64 -0
  317. package/src/models/DescribeResourcesRequest.ts +157 -0
  318. package/src/models/DescribeResourcesResponse.ts +40 -0
  319. package/src/models/DescribeResourcesResponseBody.ts +364 -0
  320. package/src/models/DescribeResourcesShrinkRequest.ts +154 -0
  321. package/src/models/DescribeRulesRequest.ts +80 -0
  322. package/src/models/DescribeRulesResponse.ts +40 -0
  323. package/src/models/DescribeRulesResponseBody.ts +214 -0
  324. package/src/models/DescribeRulesShrinkRequest.ts +77 -0
  325. package/src/models/DescribeTaskResponse.ts +40 -0
  326. package/src/models/DescribeTaskResponseBody.ts +214 -0
  327. package/src/models/DescribeTasksRequest.ts +61 -0
  328. package/src/models/DescribeTasksResponse.ts +40 -0
  329. package/src/models/DescribeTasksResponseBody.ts +274 -0
  330. package/src/models/DescribeTopRiskyResourcesRequest.ts +50 -0
  331. package/src/models/DescribeTopRiskyResourcesResponse.ts +40 -0
  332. package/src/models/DescribeTopRiskyResourcesResponseBody.ts +364 -0
  333. package/src/models/DescribeTopRiskyResourcesShrinkRequest.ts +47 -0
  334. package/src/models/DisableCheckProductRequest.ts +36 -0
  335. package/src/models/DisableCheckProductResponse.ts +40 -0
  336. package/src/models/DisableCheckProductResponseBody.ts +34 -0
  337. package/src/models/DisableCheckResourceRequest.ts +36 -0
  338. package/src/models/DisableCheckResourceResponse.ts +40 -0
  339. package/src/models/DisableCheckResourceResponseBody.ts +34 -0
  340. package/src/models/EnableCheckProductRequest.ts +36 -0
  341. package/src/models/EnableCheckProductResponse.ts +40 -0
  342. package/src/models/EnableCheckProductResponseBody.ts +34 -0
  343. package/src/models/EnableCheckResourceRequest.ts +36 -0
  344. package/src/models/EnableCheckResourceResponse.ts +40 -0
  345. package/src/models/EnableCheckResourceResponseBody.ts +34 -0
  346. package/src/models/GetBdrcServiceResponse.ts +40 -0
  347. package/src/models/GetBdrcServiceResponseBody.ts +104 -0
  348. package/src/models/GetMessageRequest.ts +24 -0
  349. package/src/models/GetMessageResponse.ts +40 -0
  350. package/src/models/GetMessageResponseBody.ts +154 -0
  351. package/src/models/GetProtectionPolicyRequest.ts +24 -0
  352. package/src/models/GetProtectionPolicyResponse.ts +40 -0
  353. package/src/models/GetProtectionPolicyResponseBody.ts +174 -0
  354. package/src/models/GetResourceCategoryRequest.ts +36 -0
  355. package/src/models/GetResourceCategoryResponse.ts +40 -0
  356. package/src/models/GetResourceCategoryResponseBody.ts +178 -0
  357. package/src/models/ListMessagesRequest.ts +86 -0
  358. package/src/models/ListMessagesResponse.ts +40 -0
  359. package/src/models/ListMessagesResponseBody.ts +204 -0
  360. package/src/models/ListProtectionPoliciesRequest.ts +64 -0
  361. package/src/models/ListProtectionPoliciesResponse.ts +40 -0
  362. package/src/models/ListProtectionPoliciesResponseBody.ts +374 -0
  363. package/src/models/ListProtectionPolicyApplicationsRequest.ts +86 -0
  364. package/src/models/ListProtectionPolicyApplicationsResponse.ts +40 -0
  365. package/src/models/ListProtectionPolicyApplicationsResponseBody.ts +231 -0
  366. package/src/models/ListResourceCategoriesRequest.ts +51 -0
  367. package/src/models/ListResourceCategoriesResponse.ts +40 -0
  368. package/src/models/ListResourceCategoriesResponseBody.ts +238 -0
  369. package/src/models/OpenBdrcServiceResponse.ts +40 -0
  370. package/src/models/OpenBdrcServiceResponseBody.ts +34 -0
  371. package/src/models/UpdateProtectionPolicyRequest.ts +104 -0
  372. package/src/models/UpdateProtectionPolicyResponse.ts +40 -0
  373. package/src/models/UpdateProtectionPolicyResponseBody.ts +34 -0
  374. package/src/models/UpdateProtectionPolicyShrinkRequest.ts +58 -0
  375. package/src/models/UpdateResourceCategoryRequest.ts +82 -0
  376. package/src/models/UpdateResourceCategoryResponse.ts +40 -0
  377. package/src/models/UpdateResourceCategoryResponseBody.ts +34 -0
  378. package/src/models/UpdateResourcesRequest.ts +34 -0
  379. package/src/models/UpdateResourcesResponse.ts +40 -0
  380. package/src/models/UpdateResourcesResponseBody.ts +74 -0
  381. package/src/models/model.ts +135 -0
@@ -0,0 +1,174 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetProtectionPolicyResponseBodyDataSubProtectionPolicies extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The sub-protection policy configuration.
9
+ *
10
+ * @example
11
+ * {\\"autoSnapshotPolicyId\\":\\"sp-123***7890\\"}
12
+ */
13
+ config?: string;
14
+ /**
15
+ * @remarks
16
+ * The sub-protection policy type.
17
+ *
18
+ * @example
19
+ * ECS_AUTO_SNAPSHOT_POLICY
20
+ */
21
+ subProtectionPolicyType?: string;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ config: 'Config',
25
+ subProtectionPolicyType: 'SubProtectionPolicyType',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ config: 'string',
32
+ subProtectionPolicyType: 'string',
33
+ };
34
+ }
35
+
36
+ validate() {
37
+ super.validate();
38
+ }
39
+
40
+ constructor(map?: { [key: string]: any }) {
41
+ super(map);
42
+ }
43
+ }
44
+
45
+ export class GetProtectionPolicyResponseBodyData extends $dara.Model {
46
+ /**
47
+ * @remarks
48
+ * The list of associated resource category IDs.
49
+ */
50
+ boundResourceCategoryIds?: string[];
51
+ /**
52
+ * @remarks
53
+ * The time when the policy was last applied.
54
+ *
55
+ * @example
56
+ * 1742167218
57
+ */
58
+ latestApplyTime?: number;
59
+ /**
60
+ * @remarks
61
+ * The ID of the latest application task.
62
+ *
63
+ * @example
64
+ * t-123***7890
65
+ */
66
+ latestTaskId?: string;
67
+ /**
68
+ * @remarks
69
+ * The protection policy ID.
70
+ *
71
+ * @example
72
+ * p-123***7890
73
+ */
74
+ protectionPolicyId?: string;
75
+ /**
76
+ * @remarks
77
+ * The protection policy name.
78
+ *
79
+ * @example
80
+ * MyProtectionPolicy
81
+ */
82
+ protectionPolicyName?: string;
83
+ /**
84
+ * @remarks
85
+ * The region ID of the protection policy.
86
+ *
87
+ * @example
88
+ * cn-hangzhou
89
+ */
90
+ protectionPolicyRegionId?: string;
91
+ /**
92
+ * @remarks
93
+ * The list of configured sub-protection policies.
94
+ */
95
+ subProtectionPolicies?: GetProtectionPolicyResponseBodyDataSubProtectionPolicies[];
96
+ static names(): { [key: string]: string } {
97
+ return {
98
+ boundResourceCategoryIds: 'BoundResourceCategoryIds',
99
+ latestApplyTime: 'LatestApplyTime',
100
+ latestTaskId: 'LatestTaskId',
101
+ protectionPolicyId: 'ProtectionPolicyId',
102
+ protectionPolicyName: 'ProtectionPolicyName',
103
+ protectionPolicyRegionId: 'ProtectionPolicyRegionId',
104
+ subProtectionPolicies: 'SubProtectionPolicies',
105
+ };
106
+ }
107
+
108
+ static types(): { [key: string]: any } {
109
+ return {
110
+ boundResourceCategoryIds: { 'type': 'array', 'itemType': 'string' },
111
+ latestApplyTime: 'number',
112
+ latestTaskId: 'string',
113
+ protectionPolicyId: 'string',
114
+ protectionPolicyName: 'string',
115
+ protectionPolicyRegionId: 'string',
116
+ subProtectionPolicies: { 'type': 'array', 'itemType': GetProtectionPolicyResponseBodyDataSubProtectionPolicies },
117
+ };
118
+ }
119
+
120
+ validate() {
121
+ if(Array.isArray(this.boundResourceCategoryIds)) {
122
+ $dara.Model.validateArray(this.boundResourceCategoryIds);
123
+ }
124
+ if(Array.isArray(this.subProtectionPolicies)) {
125
+ $dara.Model.validateArray(this.subProtectionPolicies);
126
+ }
127
+ super.validate();
128
+ }
129
+
130
+ constructor(map?: { [key: string]: any }) {
131
+ super(map);
132
+ }
133
+ }
134
+
135
+ export class GetProtectionPolicyResponseBody extends $dara.Model {
136
+ /**
137
+ * @remarks
138
+ * The data returned.
139
+ */
140
+ data?: GetProtectionPolicyResponseBodyData;
141
+ /**
142
+ * @remarks
143
+ * The unique ID of the request.
144
+ *
145
+ * @example
146
+ * AE43C4CB-8074-5EBD-9806-8CA6D12800B1
147
+ */
148
+ requestId?: string;
149
+ static names(): { [key: string]: string } {
150
+ return {
151
+ data: 'Data',
152
+ requestId: 'RequestId',
153
+ };
154
+ }
155
+
156
+ static types(): { [key: string]: any } {
157
+ return {
158
+ data: GetProtectionPolicyResponseBodyData,
159
+ requestId: 'string',
160
+ };
161
+ }
162
+
163
+ validate() {
164
+ if(this.data && typeof (this.data as any).validate === 'function') {
165
+ (this.data as any).validate();
166
+ }
167
+ super.validate();
168
+ }
169
+
170
+ constructor(map?: { [key: string]: any }) {
171
+ super(map);
172
+ }
173
+ }
174
+
@@ -0,0 +1,36 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetResourceCategoryRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Resource category ID.
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * rc-123****7890
14
+ */
15
+ resourceCategoryId?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ resourceCategoryId: 'ResourceCategoryId',
19
+ };
20
+ }
21
+
22
+ static types(): { [key: string]: any } {
23
+ return {
24
+ resourceCategoryId: 'string',
25
+ };
26
+ }
27
+
28
+ validate() {
29
+ super.validate();
30
+ }
31
+
32
+ constructor(map?: { [key: string]: any }) {
33
+ super(map);
34
+ }
35
+ }
36
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { GetResourceCategoryResponseBody } from "./GetResourceCategoryResponseBody";
4
+
5
+
6
+ export class GetResourceCategoryResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetResourceCategoryResponseBody;
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: GetResourceCategoryResponseBody,
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,178 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetResourceCategoryResponseBodyDataResourceCount extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Number of resources by type.
9
+ *
10
+ * @example
11
+ * 1
12
+ */
13
+ count?: number;
14
+ /**
15
+ * @remarks
16
+ * Resource type.
17
+ *
18
+ * @example
19
+ * ACS::ECS::Instance
20
+ */
21
+ resourceType?: string;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ count: 'Count',
25
+ resourceType: 'ResourceType',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ count: 'number',
32
+ resourceType: 'string',
33
+ };
34
+ }
35
+
36
+ validate() {
37
+ super.validate();
38
+ }
39
+
40
+ constructor(map?: { [key: string]: any }) {
41
+ super(map);
42
+ }
43
+ }
44
+
45
+ export class GetResourceCategoryResponseBodyData extends $dara.Model {
46
+ /**
47
+ * @remarks
48
+ * Applicable product type. If empty, matches all products.
49
+ *
50
+ * @example
51
+ * ecs
52
+ */
53
+ productType?: string;
54
+ /**
55
+ * @remarks
56
+ * Resource category ID, globally unique.
57
+ *
58
+ * @example
59
+ * rc-123***7890
60
+ */
61
+ resourceCategoryId?: string;
62
+ /**
63
+ * @remarks
64
+ * Resource name, unique within the namespace.
65
+ *
66
+ * @example
67
+ * My***ResourceCategory
68
+ */
69
+ resourceCategoryName?: string;
70
+ /**
71
+ * @remarks
72
+ * Resource category type. Valid values:
73
+ *
74
+ * - DEFAULT: default group, created by the system, cannot be deleted.
75
+ *
76
+ * - CUSTOM: custom group, can be deleted.
77
+ *
78
+ * @example
79
+ * CUSTOM
80
+ */
81
+ resourceCategoryType?: string;
82
+ /**
83
+ * @remarks
84
+ * Number of resources by type.
85
+ */
86
+ resourceCount?: GetResourceCategoryResponseBodyDataResourceCount[];
87
+ /**
88
+ * @remarks
89
+ * Resource matcher. If empty, no resources are matched.
90
+ *
91
+ * @example
92
+ * {\\"type\\":\\"BOOL\\",\\"operator\\":\\"AND\\",\\"values\\":[{\\"type\\":\\"TAG\\",\\"key\\":\\"createdBy\\",\\"operator\\":\\"EQUAL\\",\\"values\\":[\\"me\\"]}]}
93
+ */
94
+ resourceMatcher?: string;
95
+ /**
96
+ * @remarks
97
+ * Applicable resource type. If empty, matches all resources.
98
+ *
99
+ * @example
100
+ * ACS::ECS::Instance
101
+ */
102
+ resourceType?: string;
103
+ static names(): { [key: string]: string } {
104
+ return {
105
+ productType: 'ProductType',
106
+ resourceCategoryId: 'ResourceCategoryId',
107
+ resourceCategoryName: 'ResourceCategoryName',
108
+ resourceCategoryType: 'ResourceCategoryType',
109
+ resourceCount: 'ResourceCount',
110
+ resourceMatcher: 'ResourceMatcher',
111
+ resourceType: 'ResourceType',
112
+ };
113
+ }
114
+
115
+ static types(): { [key: string]: any } {
116
+ return {
117
+ productType: 'string',
118
+ resourceCategoryId: 'string',
119
+ resourceCategoryName: 'string',
120
+ resourceCategoryType: 'string',
121
+ resourceCount: { 'type': 'array', 'itemType': GetResourceCategoryResponseBodyDataResourceCount },
122
+ resourceMatcher: 'string',
123
+ resourceType: 'string',
124
+ };
125
+ }
126
+
127
+ validate() {
128
+ if(Array.isArray(this.resourceCount)) {
129
+ $dara.Model.validateArray(this.resourceCount);
130
+ }
131
+ super.validate();
132
+ }
133
+
134
+ constructor(map?: { [key: string]: any }) {
135
+ super(map);
136
+ }
137
+ }
138
+
139
+ export class GetResourceCategoryResponseBody extends $dara.Model {
140
+ /**
141
+ * @remarks
142
+ * The returned data.
143
+ */
144
+ data?: GetResourceCategoryResponseBodyData;
145
+ /**
146
+ * @remarks
147
+ * The unique ID of the request.
148
+ *
149
+ * @example
150
+ * AE43C4CB-8074-5EBD-9806-8CA6D12800B1
151
+ */
152
+ requestId?: string;
153
+ static names(): { [key: string]: string } {
154
+ return {
155
+ data: 'Data',
156
+ requestId: 'RequestId',
157
+ };
158
+ }
159
+
160
+ static types(): { [key: string]: any } {
161
+ return {
162
+ data: GetResourceCategoryResponseBodyData,
163
+ requestId: 'string',
164
+ };
165
+ }
166
+
167
+ validate() {
168
+ if(this.data && typeof (this.data as any).validate === 'function') {
169
+ (this.data as any).validate();
170
+ }
171
+ super.validate();
172
+ }
173
+
174
+ constructor(map?: { [key: string]: any }) {
175
+ super(map);
176
+ }
177
+ }
178
+
@@ -0,0 +1,86 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListMessagesRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The maximum number of records to return in this request.
9
+ *
10
+ * @example
11
+ * 100
12
+ */
13
+ maxResults?: number;
14
+ /**
15
+ * @remarks
16
+ * Message level.
17
+ *
18
+ * @example
19
+ * WARNING
20
+ */
21
+ messageLevel?: string;
22
+ /**
23
+ * @remarks
24
+ * Messages with time earlier than this value.
25
+ *
26
+ * @example
27
+ * 1740019610
28
+ */
29
+ messageTimeEarlierThan?: number;
30
+ /**
31
+ * @remarks
32
+ * Messages with time later than this value.
33
+ *
34
+ * @example
35
+ * 1740019609
36
+ */
37
+ messageTimeLaterThan?: number;
38
+ /**
39
+ * @remarks
40
+ * Message type.
41
+ *
42
+ * @example
43
+ * SUB_PROTECTION_POLICY_MODIFIED
44
+ */
45
+ messageType?: string;
46
+ /**
47
+ * @remarks
48
+ * The pagination token. If more entries are to be returned on the next page, a pagination token is returned.
49
+ *
50
+ * > If this parameter returns data, it indicates that there are more pages. You can use the returned NextToken as a request parameter to obtain the next page of data until it returns Null, indicating that all data has been obtained.
51
+ *
52
+ * @example
53
+ * cae***********99
54
+ */
55
+ nextToken?: string;
56
+ static names(): { [key: string]: string } {
57
+ return {
58
+ maxResults: 'MaxResults',
59
+ messageLevel: 'MessageLevel',
60
+ messageTimeEarlierThan: 'MessageTimeEarlierThan',
61
+ messageTimeLaterThan: 'MessageTimeLaterThan',
62
+ messageType: 'MessageType',
63
+ nextToken: 'NextToken',
64
+ };
65
+ }
66
+
67
+ static types(): { [key: string]: any } {
68
+ return {
69
+ maxResults: 'number',
70
+ messageLevel: 'string',
71
+ messageTimeEarlierThan: 'number',
72
+ messageTimeLaterThan: 'number',
73
+ messageType: 'string',
74
+ nextToken: 'string',
75
+ };
76
+ }
77
+
78
+ validate() {
79
+ super.validate();
80
+ }
81
+
82
+ constructor(map?: { [key: string]: any }) {
83
+ super(map);
84
+ }
85
+ }
86
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListMessagesResponseBody } from "./ListMessagesResponseBody";
4
+
5
+
6
+ export class ListMessagesResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListMessagesResponseBody;
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: ListMessagesResponseBody,
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
+