@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,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeProductDataRedundancyTypeStatResponseBody } from "./DescribeProductDataRedundancyTypeStatResponseBody";
4
+
5
+
6
+ export class DescribeProductDataRedundancyTypeStatResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeProductDataRedundancyTypeStatResponseBody;
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: DescribeProductDataRedundancyTypeStatResponseBody,
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,124 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeProductDataRedundancyTypeStatResponseBodyDataContent extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The data redundancy type.
9
+ *
10
+ * @example
11
+ * LRS
12
+ */
13
+ dataRedundancyType?: string;
14
+ /**
15
+ * @remarks
16
+ * The resource count.
17
+ *
18
+ * @example
19
+ * 1
20
+ */
21
+ resourceCount?: number;
22
+ /**
23
+ * @remarks
24
+ * The storage class.
25
+ *
26
+ * @example
27
+ * STANDARD
28
+ */
29
+ storageClass?: string;
30
+ static names(): { [key: string]: string } {
31
+ return {
32
+ dataRedundancyType: 'DataRedundancyType',
33
+ resourceCount: 'ResourceCount',
34
+ storageClass: 'StorageClass',
35
+ };
36
+ }
37
+
38
+ static types(): { [key: string]: any } {
39
+ return {
40
+ dataRedundancyType: 'string',
41
+ resourceCount: 'number',
42
+ storageClass: 'string',
43
+ };
44
+ }
45
+
46
+ validate() {
47
+ super.validate();
48
+ }
49
+
50
+ constructor(map?: { [key: string]: any }) {
51
+ super(map);
52
+ }
53
+ }
54
+
55
+ export class DescribeProductDataRedundancyTypeStatResponseBodyData extends $dara.Model {
56
+ /**
57
+ * @remarks
58
+ * The list of records returned by the request.
59
+ */
60
+ content?: DescribeProductDataRedundancyTypeStatResponseBodyDataContent[];
61
+ static names(): { [key: string]: string } {
62
+ return {
63
+ content: 'Content',
64
+ };
65
+ }
66
+
67
+ static types(): { [key: string]: any } {
68
+ return {
69
+ content: { 'type': 'array', 'itemType': DescribeProductDataRedundancyTypeStatResponseBodyDataContent },
70
+ };
71
+ }
72
+
73
+ validate() {
74
+ if(Array.isArray(this.content)) {
75
+ $dara.Model.validateArray(this.content);
76
+ }
77
+ super.validate();
78
+ }
79
+
80
+ constructor(map?: { [key: string]: any }) {
81
+ super(map);
82
+ }
83
+ }
84
+
85
+ export class DescribeProductDataRedundancyTypeStatResponseBody extends $dara.Model {
86
+ /**
87
+ * @remarks
88
+ * The response data.
89
+ */
90
+ data?: DescribeProductDataRedundancyTypeStatResponseBodyData;
91
+ /**
92
+ * @remarks
93
+ * The unique request ID.
94
+ *
95
+ * @example
96
+ * 5748C531-80B1-5C31-8421-63A1830B9E48
97
+ */
98
+ requestId?: string;
99
+ static names(): { [key: string]: string } {
100
+ return {
101
+ data: 'Data',
102
+ requestId: 'RequestId',
103
+ };
104
+ }
105
+
106
+ static types(): { [key: string]: any } {
107
+ return {
108
+ data: DescribeProductDataRedundancyTypeStatResponseBodyData,
109
+ requestId: 'string',
110
+ };
111
+ }
112
+
113
+ validate() {
114
+ if(this.data && typeof (this.data as any).validate === 'function') {
115
+ (this.data as any).validate();
116
+ }
117
+ super.validate();
118
+ }
119
+
120
+ constructor(map?: { [key: string]: any }) {
121
+ super(map);
122
+ }
123
+ }
124
+
@@ -0,0 +1,49 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeProductDataRedundancyTypeStatShrinkRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The type of the cloud service.
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * oss
14
+ */
15
+ productType?: string;
16
+ /**
17
+ * @remarks
18
+ * The resource category ID.
19
+ *
20
+ * @example
21
+ * rc-000***123
22
+ */
23
+ resourceCategoryId?: string;
24
+ resourceOwnerIdsShrink?: string;
25
+ static names(): { [key: string]: string } {
26
+ return {
27
+ productType: 'ProductType',
28
+ resourceCategoryId: 'ResourceCategoryId',
29
+ resourceOwnerIdsShrink: 'ResourceOwnerIds',
30
+ };
31
+ }
32
+
33
+ static types(): { [key: string]: any } {
34
+ return {
35
+ productType: 'string',
36
+ resourceCategoryId: 'string',
37
+ resourceOwnerIdsShrink: 'string',
38
+ };
39
+ }
40
+
41
+ validate() {
42
+ super.validate();
43
+ }
44
+
45
+ constructor(map?: { [key: string]: any }) {
46
+ super(map);
47
+ }
48
+ }
49
+
@@ -0,0 +1,67 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeProductsRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The product type of the resource. If you omit this parameter, the API returns resources of all product types. For example, specify `oss` to query resources from Object Storage Service.
9
+ *
10
+ * @example
11
+ * oss
12
+ */
13
+ productType?: string;
14
+ /**
15
+ * @remarks
16
+ * The resource category ID.
17
+ *
18
+ * @example
19
+ * rc-000***123
20
+ */
21
+ resourceCategoryId?: string;
22
+ /**
23
+ * @remarks
24
+ * A list of resource owner IDs for cross-account resource queries. If you omit this parameter, the API returns resources from the current account.
25
+ *
26
+ * @example
27
+ * [123***7890]
28
+ */
29
+ resourceOwnerIds?: number[];
30
+ /**
31
+ * @remarks
32
+ * The ID of the resource\\"s region. If you omit this parameter, the API returns resources from all regions.
33
+ *
34
+ * @example
35
+ * cn-shanghai
36
+ */
37
+ resourceRegionId?: string;
38
+ static names(): { [key: string]: string } {
39
+ return {
40
+ productType: 'ProductType',
41
+ resourceCategoryId: 'ResourceCategoryId',
42
+ resourceOwnerIds: 'ResourceOwnerIds',
43
+ resourceRegionId: 'ResourceRegionId',
44
+ };
45
+ }
46
+
47
+ static types(): { [key: string]: any } {
48
+ return {
49
+ productType: 'string',
50
+ resourceCategoryId: 'string',
51
+ resourceOwnerIds: { 'type': 'array', 'itemType': 'number' },
52
+ resourceRegionId: 'string',
53
+ };
54
+ }
55
+
56
+ validate() {
57
+ if(Array.isArray(this.resourceOwnerIds)) {
58
+ $dara.Model.validateArray(this.resourceOwnerIds);
59
+ }
60
+ super.validate();
61
+ }
62
+
63
+ constructor(map?: { [key: string]: any }) {
64
+ super(map);
65
+ }
66
+ }
67
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeProductsResponseBody } from "./DescribeProductsResponseBody";
4
+
5
+
6
+ export class DescribeProductsResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeProductsResponseBody;
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: DescribeProductsResponseBody,
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,324 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeProductsResponseBodyDataContentProtectionScoreDistributionRange extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The lower bound of the score range, inclusive.
9
+ *
10
+ * @example
11
+ * 0
12
+ */
13
+ from?: number;
14
+ /**
15
+ * @remarks
16
+ * The upper bound of the score range, inclusive.
17
+ *
18
+ * @example
19
+ * 60
20
+ */
21
+ to?: number;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ from: 'From',
25
+ to: 'To',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ from: 'number',
32
+ to: 'number',
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 DescribeProductsResponseBodyDataContentProtectionScoreDistribution extends $dara.Model {
46
+ /**
47
+ * @remarks
48
+ * The count of resources within this score range.
49
+ *
50
+ * @example
51
+ * 5
52
+ */
53
+ count?: number;
54
+ /**
55
+ * @remarks
56
+ * The score range.
57
+ */
58
+ range?: DescribeProductsResponseBodyDataContentProtectionScoreDistributionRange;
59
+ static names(): { [key: string]: string } {
60
+ return {
61
+ count: 'Count',
62
+ range: 'Range',
63
+ };
64
+ }
65
+
66
+ static types(): { [key: string]: any } {
67
+ return {
68
+ count: 'number',
69
+ range: DescribeProductsResponseBodyDataContentProtectionScoreDistributionRange,
70
+ };
71
+ }
72
+
73
+ validate() {
74
+ if(this.range && typeof (this.range as any).validate === 'function') {
75
+ (this.range as any).validate();
76
+ }
77
+ super.validate();
78
+ }
79
+
80
+ constructor(map?: { [key: string]: any }) {
81
+ super(map);
82
+ }
83
+ }
84
+
85
+ export class DescribeProductsResponseBodyDataContent extends $dara.Model {
86
+ /**
87
+ * @remarks
88
+ * The count of failed check items.
89
+ *
90
+ * @example
91
+ * 1
92
+ */
93
+ checkFailedCount?: number;
94
+ /**
95
+ * @remarks
96
+ * The count of resources that failed the check.
97
+ *
98
+ * @example
99
+ * 1
100
+ */
101
+ checkFailedResourceCount?: number;
102
+ /**
103
+ * @remarks
104
+ * The count of resources for which the check is disabled.
105
+ *
106
+ * @example
107
+ * 1
108
+ */
109
+ disableCheckResourceCount?: number;
110
+ /**
111
+ * @remarks
112
+ * Indicates whether the data protection score is enabled for the cloud product.
113
+ *
114
+ * @example
115
+ * true
116
+ */
117
+ enableCheck?: boolean;
118
+ /**
119
+ * @remarks
120
+ * The cloud product type, such as `ECS` and `OSS`.
121
+ *
122
+ * @example
123
+ * oss
124
+ */
125
+ productType?: string;
126
+ /**
127
+ * @remarks
128
+ * The data protection score, ranging from 0 to 100.
129
+ *
130
+ * @example
131
+ * 90
132
+ */
133
+ protectionScore?: number;
134
+ /**
135
+ * @remarks
136
+ * The distribution of resources across different score ranges.
137
+ */
138
+ protectionScoreDistribution?: DescribeProductsResponseBodyDataContentProtectionScoreDistribution[];
139
+ /**
140
+ * @remarks
141
+ * The UNIX timestamp of the last data protection score update.
142
+ *
143
+ * @example
144
+ * 1726036498
145
+ */
146
+ protectionScoreUpdatedTime?: number;
147
+ /**
148
+ * @remarks
149
+ * The count of risky check items.
150
+ *
151
+ * @example
152
+ * 1
153
+ */
154
+ riskCount?: number;
155
+ /**
156
+ * @remarks
157
+ * The count of risky resources.
158
+ *
159
+ * @example
160
+ * 1
161
+ */
162
+ riskyResourceCount?: number;
163
+ /**
164
+ * @remarks
165
+ * The total count of resources for the cloud product.
166
+ *
167
+ * @example
168
+ * 100
169
+ */
170
+ totalResourceCount?: number;
171
+ /**
172
+ * @remarks
173
+ * The count of resources pending a check.
174
+ *
175
+ * @example
176
+ * 1
177
+ */
178
+ waitForCheckResourceCount?: number;
179
+ static names(): { [key: string]: string } {
180
+ return {
181
+ checkFailedCount: 'CheckFailedCount',
182
+ checkFailedResourceCount: 'CheckFailedResourceCount',
183
+ disableCheckResourceCount: 'DisableCheckResourceCount',
184
+ enableCheck: 'EnableCheck',
185
+ productType: 'ProductType',
186
+ protectionScore: 'ProtectionScore',
187
+ protectionScoreDistribution: 'ProtectionScoreDistribution',
188
+ protectionScoreUpdatedTime: 'ProtectionScoreUpdatedTime',
189
+ riskCount: 'RiskCount',
190
+ riskyResourceCount: 'RiskyResourceCount',
191
+ totalResourceCount: 'TotalResourceCount',
192
+ waitForCheckResourceCount: 'WaitForCheckResourceCount',
193
+ };
194
+ }
195
+
196
+ static types(): { [key: string]: any } {
197
+ return {
198
+ checkFailedCount: 'number',
199
+ checkFailedResourceCount: 'number',
200
+ disableCheckResourceCount: 'number',
201
+ enableCheck: 'boolean',
202
+ productType: 'string',
203
+ protectionScore: 'number',
204
+ protectionScoreDistribution: { 'type': 'array', 'itemType': DescribeProductsResponseBodyDataContentProtectionScoreDistribution },
205
+ protectionScoreUpdatedTime: 'number',
206
+ riskCount: 'number',
207
+ riskyResourceCount: 'number',
208
+ totalResourceCount: 'number',
209
+ waitForCheckResourceCount: 'number',
210
+ };
211
+ }
212
+
213
+ validate() {
214
+ if(Array.isArray(this.protectionScoreDistribution)) {
215
+ $dara.Model.validateArray(this.protectionScoreDistribution);
216
+ }
217
+ super.validate();
218
+ }
219
+
220
+ constructor(map?: { [key: string]: any }) {
221
+ super(map);
222
+ }
223
+ }
224
+
225
+ export class DescribeProductsResponseBodyData extends $dara.Model {
226
+ /**
227
+ * @remarks
228
+ * A list of cloud products and their data protection status.
229
+ */
230
+ content?: DescribeProductsResponseBodyDataContent[];
231
+ /**
232
+ * @remarks
233
+ * The maximum number of entries returned per page.
234
+ *
235
+ * @example
236
+ * 10
237
+ */
238
+ maxResults?: number;
239
+ /**
240
+ * @remarks
241
+ * The token for the next page of results. If this parameter is absent from the response, all results have been retrieved.
242
+ *
243
+ * @example
244
+ * b4fd3cffcacafd65e3818a0b9b2ff9a2
245
+ */
246
+ nextToken?: string;
247
+ /**
248
+ * @remarks
249
+ * The total number of entries that match the query. This parameter is not returned by default.
250
+ *
251
+ * @example
252
+ * 50
253
+ */
254
+ totalCount?: number;
255
+ static names(): { [key: string]: string } {
256
+ return {
257
+ content: 'Content',
258
+ maxResults: 'MaxResults',
259
+ nextToken: 'NextToken',
260
+ totalCount: 'TotalCount',
261
+ };
262
+ }
263
+
264
+ static types(): { [key: string]: any } {
265
+ return {
266
+ content: { 'type': 'array', 'itemType': DescribeProductsResponseBodyDataContent },
267
+ maxResults: 'number',
268
+ nextToken: 'string',
269
+ totalCount: 'number',
270
+ };
271
+ }
272
+
273
+ validate() {
274
+ if(Array.isArray(this.content)) {
275
+ $dara.Model.validateArray(this.content);
276
+ }
277
+ super.validate();
278
+ }
279
+
280
+ constructor(map?: { [key: string]: any }) {
281
+ super(map);
282
+ }
283
+ }
284
+
285
+ export class DescribeProductsResponseBody extends $dara.Model {
286
+ /**
287
+ * @remarks
288
+ * The returned data.
289
+ */
290
+ data?: DescribeProductsResponseBodyData;
291
+ /**
292
+ * @remarks
293
+ * The request ID.
294
+ *
295
+ * @example
296
+ * 30FB202A-1D22-5394-AB02-4477CDFCF51F
297
+ */
298
+ requestId?: string;
299
+ static names(): { [key: string]: string } {
300
+ return {
301
+ data: 'Data',
302
+ requestId: 'RequestId',
303
+ };
304
+ }
305
+
306
+ static types(): { [key: string]: any } {
307
+ return {
308
+ data: DescribeProductsResponseBodyData,
309
+ requestId: 'string',
310
+ };
311
+ }
312
+
313
+ validate() {
314
+ if(this.data && typeof (this.data as any).validate === 'function') {
315
+ (this.data as any).validate();
316
+ }
317
+ super.validate();
318
+ }
319
+
320
+ constructor(map?: { [key: string]: any }) {
321
+ super(map);
322
+ }
323
+ }
324
+
@@ -0,0 +1,64 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeProductsShrinkRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The product type of the resource. If you omit this parameter, the API returns resources of all product types. For example, specify `oss` to query resources from Object Storage Service.
9
+ *
10
+ * @example
11
+ * oss
12
+ */
13
+ productType?: string;
14
+ /**
15
+ * @remarks
16
+ * The resource category ID.
17
+ *
18
+ * @example
19
+ * rc-000***123
20
+ */
21
+ resourceCategoryId?: string;
22
+ /**
23
+ * @remarks
24
+ * A list of resource owner IDs for cross-account resource queries. If you omit this parameter, the API returns resources from the current account.
25
+ *
26
+ * @example
27
+ * [123***7890]
28
+ */
29
+ resourceOwnerIdsShrink?: string;
30
+ /**
31
+ * @remarks
32
+ * The ID of the resource\\"s region. If you omit this parameter, the API returns resources from all regions.
33
+ *
34
+ * @example
35
+ * cn-shanghai
36
+ */
37
+ resourceRegionId?: string;
38
+ static names(): { [key: string]: string } {
39
+ return {
40
+ productType: 'ProductType',
41
+ resourceCategoryId: 'ResourceCategoryId',
42
+ resourceOwnerIdsShrink: 'ResourceOwnerIds',
43
+ resourceRegionId: 'ResourceRegionId',
44
+ };
45
+ }
46
+
47
+ static types(): { [key: string]: any } {
48
+ return {
49
+ productType: 'string',
50
+ resourceCategoryId: 'string',
51
+ resourceOwnerIdsShrink: 'string',
52
+ resourceRegionId: 'string',
53
+ };
54
+ }
55
+
56
+ validate() {
57
+ super.validate();
58
+ }
59
+
60
+ constructor(map?: { [key: string]: any }) {
61
+ super(map);
62
+ }
63
+ }
64
+