@alicloud/bdrc20230808 1.0.1 → 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 -1677
  2. package/dist/client.js +977 -1490
  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 -2591
  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
package/dist/client.d.ts CHANGED
@@ -1,1861 +1,539 @@
1
- /**
2
- */
3
- import * as $Util from '@alicloud/tea-util';
4
- import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
5
- import * as $tea from '@alicloud/tea-typescript';
6
- export declare class CheckRulesRequest extends $tea.Model {
7
- /**
8
- * @remarks
9
- * This parameter is required.
10
- *
11
- * @example
12
- * acs:ecs:123***890:cn-shanghai:instance/i-001***90
13
- */
14
- resourceArn?: string;
15
- /**
16
- * @example
17
- * rule-000***dav
18
- */
19
- ruleId?: string;
20
- static names(): {
21
- [key: string]: string;
22
- };
23
- static types(): {
24
- [key: string]: any;
25
- };
26
- constructor(map?: {
27
- [key: string]: any;
28
- });
29
- }
30
- export declare class CheckRulesResponseBody extends $tea.Model {
31
- data?: CheckRulesResponseBodyData;
32
- /**
33
- * @example
34
- * 700683DE-0154-56D4-8D76-3B7A2C2C7DF9
35
- */
36
- requestId?: string;
37
- static names(): {
38
- [key: string]: string;
39
- };
40
- static types(): {
41
- [key: string]: any;
42
- };
43
- constructor(map?: {
44
- [key: string]: any;
45
- });
46
- }
47
- export declare class CheckRulesResponse extends $tea.Model {
48
- headers?: {
49
- [key: string]: string;
50
- };
51
- statusCode?: number;
52
- body?: CheckRulesResponseBody;
53
- static names(): {
54
- [key: string]: string;
55
- };
56
- static types(): {
57
- [key: string]: any;
58
- };
59
- constructor(map?: {
60
- [key: string]: any;
61
- });
62
- }
63
- export declare class CloseBdrcServiceResponseBody extends $tea.Model {
64
- /**
65
- * @example
66
- * 663D8898-E0B5-5964-BF28-A191CE6A1825
67
- */
68
- requestId?: string;
69
- static names(): {
70
- [key: string]: string;
71
- };
72
- static types(): {
73
- [key: string]: any;
74
- };
75
- constructor(map?: {
76
- [key: string]: any;
77
- });
78
- }
79
- export declare class CloseBdrcServiceResponse extends $tea.Model {
80
- headers?: {
81
- [key: string]: string;
82
- };
83
- statusCode?: number;
84
- body?: CloseBdrcServiceResponseBody;
85
- static names(): {
86
- [key: string]: string;
87
- };
88
- static types(): {
89
- [key: string]: any;
90
- };
91
- constructor(map?: {
92
- [key: string]: any;
93
- });
94
- }
95
- export declare class DescribeCheckDetailsRequest extends $tea.Model {
96
- /**
97
- * @example
98
- * 10
99
- */
100
- maxResults?: number;
101
- /**
102
- * @example
103
- * cae**********699
104
- */
105
- nextToken?: string;
106
- /**
107
- * @remarks
108
- * This parameter is required.
109
- *
110
- * @example
111
- * acs:ecs:123***890:cn-shanghai:instance/i-001***90
112
- */
113
- resourceArn?: string;
114
- /**
115
- * @example
116
- * rule-000***dav
117
- */
118
- ruleId?: string;
119
- static names(): {
120
- [key: string]: string;
121
- };
122
- static types(): {
123
- [key: string]: any;
124
- };
125
- constructor(map?: {
126
- [key: string]: any;
127
- });
128
- }
129
- export declare class DescribeCheckDetailsResponseBody extends $tea.Model {
130
- data?: DescribeCheckDetailsResponseBodyData;
131
- /**
132
- * @example
133
- * 92793A50-0B97-59F1-BAEA-EAED83BA1998
134
- */
135
- requestId?: string;
136
- static names(): {
137
- [key: string]: string;
138
- };
139
- static types(): {
140
- [key: string]: any;
141
- };
142
- constructor(map?: {
143
- [key: string]: any;
144
- });
145
- }
146
- export declare class DescribeCheckDetailsResponse extends $tea.Model {
147
- headers?: {
148
- [key: string]: string;
149
- };
150
- statusCode?: number;
151
- body?: DescribeCheckDetailsResponseBody;
152
- static names(): {
153
- [key: string]: string;
154
- };
155
- static types(): {
156
- [key: string]: any;
157
- };
158
- constructor(map?: {
159
- [key: string]: any;
160
- });
161
- }
162
- export declare class DescribeProductsResponseBody extends $tea.Model {
163
- data?: DescribeProductsResponseBodyData;
164
- /**
165
- * @example
166
- * 30FB202A-1D22-5394-AB02-4477CDFCF51F
167
- */
168
- requestId?: string;
169
- static names(): {
170
- [key: string]: string;
171
- };
172
- static types(): {
173
- [key: string]: any;
174
- };
175
- constructor(map?: {
176
- [key: string]: any;
177
- });
178
- }
179
- export declare class DescribeProductsResponse extends $tea.Model {
180
- headers?: {
181
- [key: string]: string;
182
- };
183
- statusCode?: number;
184
- body?: DescribeProductsResponseBody;
185
- static names(): {
186
- [key: string]: string;
187
- };
188
- static types(): {
189
- [key: string]: any;
190
- };
191
- constructor(map?: {
192
- [key: string]: any;
193
- });
194
- }
195
- export declare class DescribeResourcesRequest extends $tea.Model {
196
- /**
197
- * @example
198
- * LRS
199
- */
200
- dataRedundancyType?: string;
201
- /**
202
- * @example
203
- * rule-000c***yc9
204
- */
205
- failedRuleTemplate?: string;
206
- /**
207
- * @example
208
- * 10
209
- */
210
- maxResults?: number;
211
- /**
212
- * @example
213
- * cae**********699
214
- */
215
- nextToken?: string;
216
- /**
217
- * @example
218
- * i-0003***110
219
- */
220
- resourceId?: string;
221
- /**
222
- * @example
223
- * ACS::ECS::Instance
224
- */
225
- resourceType?: string;
226
- /**
227
- * @example
228
- * protectionScore
229
- */
230
- sortBy?: string;
231
- /**
232
- * @example
233
- * ASC
234
- */
235
- sortOrder?: string;
236
- /**
237
- * @example
238
- * ARCHIVE
239
- */
240
- storageClass?: string;
241
- static names(): {
242
- [key: string]: string;
243
- };
244
- static types(): {
245
- [key: string]: any;
246
- };
247
- constructor(map?: {
248
- [key: string]: any;
249
- });
250
- }
251
- export declare class DescribeResourcesResponseBody extends $tea.Model {
252
- data?: DescribeResourcesResponseBodyData;
253
- /**
254
- * @example
255
- * 700683DE-0154-56D4-8D76-3B7A2C2C7DF9
256
- */
257
- requestId?: string;
258
- static names(): {
259
- [key: string]: string;
260
- };
261
- static types(): {
262
- [key: string]: any;
263
- };
264
- constructor(map?: {
265
- [key: string]: any;
266
- });
267
- }
268
- export declare class DescribeResourcesResponse extends $tea.Model {
269
- headers?: {
270
- [key: string]: string;
271
- };
272
- statusCode?: number;
273
- body?: DescribeResourcesResponseBody;
274
- static names(): {
275
- [key: string]: string;
276
- };
277
- static types(): {
278
- [key: string]: any;
279
- };
280
- constructor(map?: {
281
- [key: string]: any;
282
- });
283
- }
284
- export declare class DescribeRulesRequest extends $tea.Model {
285
- /**
286
- * @example
287
- * 10
288
- */
289
- maxResults?: number;
290
- /**
291
- * @example
292
- * cae**********699
293
- */
294
- nextToken?: string;
295
- /**
296
- * @example
297
- * ACS::ECS::Instance
298
- */
299
- resourceType?: string;
300
- static names(): {
301
- [key: string]: string;
302
- };
303
- static types(): {
304
- [key: string]: any;
305
- };
306
- constructor(map?: {
307
- [key: string]: any;
308
- });
309
- }
310
- export declare class DescribeRulesResponseBody extends $tea.Model {
311
- data?: DescribeRulesResponseBodyData;
312
- /**
313
- * @example
314
- * 86DEBAC9-AB6A-59AB-9E5C-A540E579ECC9
315
- */
316
- requestId?: string;
317
- static names(): {
318
- [key: string]: string;
319
- };
320
- static types(): {
321
- [key: string]: any;
322
- };
323
- constructor(map?: {
324
- [key: string]: any;
325
- });
326
- }
327
- export declare class DescribeRulesResponse extends $tea.Model {
328
- headers?: {
329
- [key: string]: string;
330
- };
331
- statusCode?: number;
332
- body?: DescribeRulesResponseBody;
333
- static names(): {
334
- [key: string]: string;
335
- };
336
- static types(): {
337
- [key: string]: any;
338
- };
339
- constructor(map?: {
340
- [key: string]: any;
341
- });
342
- }
343
- export declare class DescribeTaskResponseBody extends $tea.Model {
344
- data?: DescribeTaskResponseBodyData;
345
- /**
346
- * @example
347
- * 14DFF801-A4E3-5136-AAB8-7D246012CD7A
348
- */
349
- requestId?: string;
350
- static names(): {
351
- [key: string]: string;
352
- };
353
- static types(): {
354
- [key: string]: any;
355
- };
356
- constructor(map?: {
357
- [key: string]: any;
358
- });
359
- }
360
- export declare class DescribeTaskResponse extends $tea.Model {
361
- headers?: {
362
- [key: string]: string;
363
- };
364
- statusCode?: number;
365
- body?: DescribeTaskResponseBody;
366
- static names(): {
367
- [key: string]: string;
368
- };
369
- static types(): {
370
- [key: string]: any;
371
- };
372
- constructor(map?: {
373
- [key: string]: any;
374
- });
375
- }
376
- export declare class DescribeTasksRequest extends $tea.Model {
377
- /**
378
- * @example
379
- * 10
380
- */
381
- maxResults?: number;
382
- /**
383
- * @example
384
- * cae**********699
385
- */
386
- nextToken?: string;
387
- /**
388
- * @example
389
- * RUNNING
390
- */
391
- taskStatus?: string;
392
- static names(): {
393
- [key: string]: string;
394
- };
395
- static types(): {
396
- [key: string]: any;
397
- };
398
- constructor(map?: {
399
- [key: string]: any;
400
- });
401
- }
402
- export declare class DescribeTasksResponseBody extends $tea.Model {
403
- data?: DescribeTasksResponseBodyData;
404
- /**
405
- * @example
406
- * AE43C4CB-8074-5EBD-9806-8CA6D12800B1
407
- */
408
- requestId?: string;
409
- static names(): {
410
- [key: string]: string;
411
- };
412
- static types(): {
413
- [key: string]: any;
414
- };
415
- constructor(map?: {
416
- [key: string]: any;
417
- });
418
- }
419
- export declare class DescribeTasksResponse extends $tea.Model {
420
- headers?: {
421
- [key: string]: string;
422
- };
423
- statusCode?: number;
424
- body?: DescribeTasksResponseBody;
425
- static names(): {
426
- [key: string]: string;
427
- };
428
- static types(): {
429
- [key: string]: any;
430
- };
431
- constructor(map?: {
432
- [key: string]: any;
433
- });
434
- }
435
- export declare class DescribeTopRiskyResourcesRequest extends $tea.Model {
436
- /**
437
- * @example
438
- * ACS::ECS::Instance
439
- */
440
- resourceType?: string;
441
- static names(): {
442
- [key: string]: string;
443
- };
444
- static types(): {
445
- [key: string]: any;
446
- };
447
- constructor(map?: {
448
- [key: string]: any;
449
- });
450
- }
451
- export declare class DescribeTopRiskyResourcesResponseBody extends $tea.Model {
452
- data?: DescribeTopRiskyResourcesResponseBodyData;
453
- /**
454
- * @example
455
- * 34081B20-C4C0-514F-93F6-8EEC3D1A587E
456
- */
457
- requestId?: string;
458
- static names(): {
459
- [key: string]: string;
460
- };
461
- static types(): {
462
- [key: string]: any;
463
- };
464
- constructor(map?: {
465
- [key: string]: any;
466
- });
467
- }
468
- export declare class DescribeTopRiskyResourcesResponse extends $tea.Model {
469
- headers?: {
470
- [key: string]: string;
471
- };
472
- statusCode?: number;
473
- body?: DescribeTopRiskyResourcesResponseBody;
474
- static names(): {
475
- [key: string]: string;
476
- };
477
- static types(): {
478
- [key: string]: any;
479
- };
480
- constructor(map?: {
481
- [key: string]: any;
482
- });
483
- }
484
- export declare class DisableCheckProductRequest extends $tea.Model {
485
- /**
486
- * @remarks
487
- * This parameter is required.
488
- *
489
- * @example
490
- * ecs
491
- */
492
- productType?: string;
493
- static names(): {
494
- [key: string]: string;
495
- };
496
- static types(): {
497
- [key: string]: any;
498
- };
499
- constructor(map?: {
500
- [key: string]: any;
501
- });
502
- }
503
- export declare class DisableCheckProductResponseBody extends $tea.Model {
504
- /**
505
- * @example
506
- * 89E3CBB7-16F3-52AE-BD32-31A43A2A807F
507
- */
508
- requestId?: string;
509
- static names(): {
510
- [key: string]: string;
511
- };
512
- static types(): {
513
- [key: string]: any;
514
- };
515
- constructor(map?: {
516
- [key: string]: any;
517
- });
518
- }
519
- export declare class DisableCheckProductResponse extends $tea.Model {
520
- headers?: {
521
- [key: string]: string;
522
- };
523
- statusCode?: number;
524
- body?: DisableCheckProductResponseBody;
525
- static names(): {
526
- [key: string]: string;
527
- };
528
- static types(): {
529
- [key: string]: any;
530
- };
531
- constructor(map?: {
532
- [key: string]: any;
533
- });
534
- }
535
- export declare class DisableCheckResourceRequest extends $tea.Model {
536
- /**
537
- * @remarks
538
- * This parameter is required.
539
- *
540
- * @example
541
- * acs:ecs:123***890:cn-shanghai:instance/i-001***90
542
- */
543
- resourceArn?: string;
544
- static names(): {
545
- [key: string]: string;
546
- };
547
- static types(): {
548
- [key: string]: any;
549
- };
550
- constructor(map?: {
551
- [key: string]: any;
552
- });
553
- }
554
- export declare class DisableCheckResourceResponseBody extends $tea.Model {
555
- /**
556
- * @example
557
- * 86DEBAC9-AB6A-59AB-9E5C-A540E579ECC9
558
- */
559
- requestId?: string;
560
- static names(): {
561
- [key: string]: string;
562
- };
563
- static types(): {
564
- [key: string]: any;
565
- };
566
- constructor(map?: {
567
- [key: string]: any;
568
- });
569
- }
570
- export declare class DisableCheckResourceResponse extends $tea.Model {
571
- headers?: {
572
- [key: string]: string;
573
- };
574
- statusCode?: number;
575
- body?: DisableCheckResourceResponseBody;
576
- static names(): {
577
- [key: string]: string;
578
- };
579
- static types(): {
580
- [key: string]: any;
581
- };
582
- constructor(map?: {
583
- [key: string]: any;
584
- });
585
- }
586
- export declare class EnableCheckProductRequest extends $tea.Model {
587
- /**
588
- * @remarks
589
- * This parameter is required.
590
- *
591
- * @example
592
- * ecs
593
- */
594
- productType?: string;
595
- static names(): {
596
- [key: string]: string;
597
- };
598
- static types(): {
599
- [key: string]: any;
600
- };
601
- constructor(map?: {
602
- [key: string]: any;
603
- });
604
- }
605
- export declare class EnableCheckProductResponseBody extends $tea.Model {
606
- /**
607
- * @example
608
- * 8724BC18-904D-5A0D-BFF4-F0554F0037E7
609
- */
610
- requestId?: string;
611
- static names(): {
612
- [key: string]: string;
613
- };
614
- static types(): {
615
- [key: string]: any;
616
- };
617
- constructor(map?: {
618
- [key: string]: any;
619
- });
620
- }
621
- export declare class EnableCheckProductResponse extends $tea.Model {
622
- headers?: {
623
- [key: string]: string;
624
- };
625
- statusCode?: number;
626
- body?: EnableCheckProductResponseBody;
627
- static names(): {
628
- [key: string]: string;
629
- };
630
- static types(): {
631
- [key: string]: any;
632
- };
633
- constructor(map?: {
634
- [key: string]: any;
635
- });
636
- }
637
- export declare class EnableCheckResourceRequest extends $tea.Model {
638
- /**
639
- * @remarks
640
- * This parameter is required.
641
- *
642
- * @example
643
- * acs:ecs:123***890:cn-shanghai:instance/i-001***90
644
- */
645
- resourceArn?: string;
646
- static names(): {
647
- [key: string]: string;
648
- };
649
- static types(): {
650
- [key: string]: any;
651
- };
652
- constructor(map?: {
653
- [key: string]: any;
654
- });
655
- }
656
- export declare class EnableCheckResourceResponseBody extends $tea.Model {
657
- /**
658
- * @example
659
- * E583A0FF-803C-51C4-9AC9-E029471ACD6A
660
- */
661
- requestId?: string;
662
- static names(): {
663
- [key: string]: string;
664
- };
665
- static types(): {
666
- [key: string]: any;
667
- };
668
- constructor(map?: {
669
- [key: string]: any;
670
- });
671
- }
672
- export declare class EnableCheckResourceResponse extends $tea.Model {
673
- headers?: {
674
- [key: string]: string;
675
- };
676
- statusCode?: number;
677
- body?: EnableCheckResourceResponseBody;
678
- static names(): {
679
- [key: string]: string;
680
- };
681
- static types(): {
682
- [key: string]: any;
683
- };
684
- constructor(map?: {
685
- [key: string]: any;
686
- });
687
- }
688
- export declare class GetBdrcServiceResponseBody extends $tea.Model {
689
- data?: GetBdrcServiceResponseBodyData;
690
- /**
691
- * @example
692
- * 5748C531-80B1-5C31-8421-63A1830B9E48
693
- */
694
- requestId?: string;
695
- static names(): {
696
- [key: string]: string;
697
- };
698
- static types(): {
699
- [key: string]: any;
700
- };
701
- constructor(map?: {
702
- [key: string]: any;
703
- });
704
- }
705
- export declare class GetBdrcServiceResponse extends $tea.Model {
706
- headers?: {
707
- [key: string]: string;
708
- };
709
- statusCode?: number;
710
- body?: GetBdrcServiceResponseBody;
711
- static names(): {
712
- [key: string]: string;
713
- };
714
- static types(): {
715
- [key: string]: any;
716
- };
717
- constructor(map?: {
718
- [key: string]: any;
719
- });
720
- }
721
- export declare class OpenBdrcServiceResponseBody extends $tea.Model {
722
- /**
723
- * @example
724
- * 86DEBAC9-AB6A-59AB-9E5C-A540E579ECC9
725
- */
726
- requestId?: string;
727
- static names(): {
728
- [key: string]: string;
729
- };
730
- static types(): {
731
- [key: string]: any;
732
- };
733
- constructor(map?: {
734
- [key: string]: any;
735
- });
736
- }
737
- export declare class OpenBdrcServiceResponse extends $tea.Model {
738
- headers?: {
739
- [key: string]: string;
740
- };
741
- statusCode?: number;
742
- body?: OpenBdrcServiceResponseBody;
743
- static names(): {
744
- [key: string]: string;
745
- };
746
- static types(): {
747
- [key: string]: any;
748
- };
749
- constructor(map?: {
750
- [key: string]: any;
751
- });
752
- }
753
- export declare class UpdateResourcesRequest extends $tea.Model {
754
- /**
755
- * @example
756
- * ACS::ECS::Instance
757
- */
758
- resourceType?: string;
759
- static names(): {
760
- [key: string]: string;
761
- };
762
- static types(): {
763
- [key: string]: any;
764
- };
765
- constructor(map?: {
766
- [key: string]: any;
767
- });
768
- }
769
- export declare class UpdateResourcesResponseBody extends $tea.Model {
770
- data?: UpdateResourcesResponseBodyData;
771
- /**
772
- * @example
773
- * 5B2F09BF-CEBD-5A7E-AC01-E7F86169A5E5
774
- */
775
- requestId?: string;
776
- static names(): {
777
- [key: string]: string;
778
- };
779
- static types(): {
780
- [key: string]: any;
781
- };
782
- constructor(map?: {
783
- [key: string]: any;
784
- });
785
- }
786
- export declare class UpdateResourcesResponse extends $tea.Model {
787
- headers?: {
788
- [key: string]: string;
789
- };
790
- statusCode?: number;
791
- body?: UpdateResourcesResponseBody;
792
- static names(): {
793
- [key: string]: string;
794
- };
795
- static types(): {
796
- [key: string]: any;
797
- };
798
- constructor(map?: {
799
- [key: string]: any;
800
- });
801
- }
802
- export declare class CheckRulesResponseBodyData extends $tea.Model {
803
- /**
804
- * @example
805
- * t-0000e4w0u1v592zdf6s7
806
- */
807
- taskId?: string;
808
- static names(): {
809
- [key: string]: string;
810
- };
811
- static types(): {
812
- [key: string]: any;
813
- };
814
- constructor(map?: {
815
- [key: string]: any;
816
- });
817
- }
818
- export declare class DescribeCheckDetailsResponseBodyDataContent extends $tea.Model {
819
- /**
820
- * @example
821
- * PASSED
822
- */
823
- checkStatus?: string;
824
- /**
825
- * @example
826
- * 1701725715
827
- */
828
- checkTime?: number;
829
- /**
830
- * @example
831
- * {"ecsAutoSnapshotPolicyIds":[],"hbrBackupPlans":[{"planId":"po-xxxxxxxx","sourceType":"UDM_ECS"}]}
832
- */
833
- detail?: string;
834
- /**
835
- * @example
836
- * ecs
837
- */
838
- productType?: string;
839
- /**
840
- * @example
841
- * acs:ecs:123***890:cn-shanghai:instance/i-001***90
842
- */
843
- resourceArn?: string;
844
- /**
845
- * @example
846
- * i-xxxxxxxx
847
- */
848
- resourceId?: string;
849
- /**
850
- * @example
851
- * test server
852
- */
853
- resourceName?: string;
854
- /**
855
- * @example
856
- * ACS::ECS::Instance
857
- */
858
- resourceType?: string;
859
- /**
860
- * @example
861
- * rule-xxxxxxxx
862
- */
863
- ruleId?: string;
864
- /**
865
- * @example
866
- * ecs-backup
867
- */
868
- ruleTemplate?: string;
869
- static names(): {
870
- [key: string]: string;
871
- };
872
- static types(): {
873
- [key: string]: any;
874
- };
875
- constructor(map?: {
876
- [key: string]: any;
877
- });
878
- }
879
- export declare class DescribeCheckDetailsResponseBodyData extends $tea.Model {
880
- content?: DescribeCheckDetailsResponseBodyDataContent[];
881
- /**
882
- * @example
883
- * 10
884
- */
885
- maxResults?: number;
886
- /**
887
- * @example
888
- * CAESGgoSChAKDGNvbXBsZXRlVGltZRABCgQiAggAGAAiQAoJAOTzWWYAAAAACjMDLgAAADFTNzMyZDMwMzAzMDM4NzA3NTcwMzY2MjMwNzY2ODcyMzAzMTY2Nzg3ODY5MzY=
889
- */
890
- nextToken?: string;
891
- /**
892
- * @example
893
- * 100
894
- */
895
- totalCount?: number;
896
- static names(): {
897
- [key: string]: string;
898
- };
899
- static types(): {
900
- [key: string]: any;
901
- };
902
- constructor(map?: {
903
- [key: string]: any;
904
- });
905
- }
906
- export declare class DescribeProductsResponseBodyDataContentProtectionScoreDistributionRange extends $tea.Model {
907
- /**
908
- * @example
909
- * 0
910
- */
911
- from?: number;
912
- /**
913
- * @example
914
- * 60
915
- */
916
- to?: number;
917
- static names(): {
918
- [key: string]: string;
919
- };
920
- static types(): {
921
- [key: string]: any;
922
- };
923
- constructor(map?: {
924
- [key: string]: any;
925
- });
926
- }
927
- export declare class DescribeProductsResponseBodyDataContentProtectionScoreDistribution extends $tea.Model {
928
- /**
929
- * @example
930
- * 5
931
- */
932
- count?: number;
933
- range?: DescribeProductsResponseBodyDataContentProtectionScoreDistributionRange;
934
- static names(): {
935
- [key: string]: string;
936
- };
937
- static types(): {
938
- [key: string]: any;
939
- };
940
- constructor(map?: {
941
- [key: string]: any;
942
- });
943
- }
944
- export declare class DescribeProductsResponseBodyDataContent extends $tea.Model {
945
- /**
946
- * @example
947
- * 1
948
- */
949
- checkFailedCount?: number;
950
- /**
951
- * @example
952
- * 1
953
- */
954
- checkFailedResourceCount?: number;
955
- /**
956
- * @example
957
- * 1
958
- */
959
- disableCheckResourceCount?: number;
960
- /**
961
- * @example
962
- * true
963
- */
964
- enableCheck?: boolean;
965
- /**
966
- * @example
967
- * oss
968
- */
969
- productType?: string;
970
- /**
971
- * @example
972
- * 90
973
- */
974
- protectionScore?: number;
975
- protectionScoreDistribution?: DescribeProductsResponseBodyDataContentProtectionScoreDistribution[];
976
- /**
977
- * @example
978
- * 1726036498
979
- */
980
- protectionScoreUpdatedTime?: number;
981
- /**
982
- * @example
983
- * 1
984
- */
985
- riskCount?: number;
986
- /**
987
- * @example
988
- * 1
989
- */
990
- riskyResourceCount?: number;
991
- /**
992
- * @example
993
- * 100
994
- */
995
- totalResourceCount?: number;
996
- static names(): {
997
- [key: string]: string;
998
- };
999
- static types(): {
1000
- [key: string]: any;
1001
- };
1002
- constructor(map?: {
1003
- [key: string]: any;
1004
- });
1005
- }
1006
- export declare class DescribeProductsResponseBodyData extends $tea.Model {
1007
- content?: DescribeProductsResponseBodyDataContent[];
1008
- /**
1009
- * @example
1010
- * 10
1011
- */
1012
- maxResults?: number;
1013
- /**
1014
- * @example
1015
- * b4fd3cffcacafd65e3818a0b9b2ff9a2
1016
- */
1017
- nextToken?: string;
1018
- /**
1019
- * @example
1020
- * 50
1021
- */
1022
- totalCount?: number;
1023
- static names(): {
1024
- [key: string]: string;
1025
- };
1026
- static types(): {
1027
- [key: string]: any;
1028
- };
1029
- constructor(map?: {
1030
- [key: string]: any;
1031
- });
1032
- }
1033
- export declare class DescribeResourcesResponseBodyDataContent extends $tea.Model {
1034
- /**
1035
- * @example
1036
- * 0
1037
- */
1038
- archiveDataSize?: number;
1039
- /**
1040
- * @example
1041
- * 0
1042
- */
1043
- checkFailedCount?: number;
1044
- /**
1045
- * @example
1046
- * 0
1047
- */
1048
- coldArchiveDataSize?: number;
1049
- /**
1050
- * @example
1051
- * 1697798340
1052
- */
1053
- createTime?: number;
1054
- dataRedundancyType?: string;
1055
- /**
1056
- * @example
1057
- * 0
1058
- */
1059
- enableCheck?: boolean;
1060
- /**
1061
- * @example
1062
- * 0
1063
- */
1064
- iaDataSize?: number;
1065
- /**
1066
- * @example
1067
- * ecs
1068
- */
1069
- productType?: string;
1070
- /**
1071
- * @example
1072
- * 0
1073
- */
1074
- protectionScore?: number;
1075
- /**
1076
- * @example
1077
- * 0
1078
- */
1079
- protectionScoreUpdatedTime?: number;
1080
- /**
1081
- * @example
1082
- * cn-hangzhou
1083
- */
1084
- regionId?: string;
1085
- /**
1086
- * @example
1087
- * acs:ecs:cn-hangzhou:xxxxxxxx:instance/xxxxx
1088
- */
1089
- resourceArn?: string;
1090
- /**
1091
- * @example
1092
- * i-xxxxxxxx
1093
- */
1094
- resourceId?: string;
1095
- /**
1096
- * @example
1097
- * test server
1098
- */
1099
- resourceName?: string;
1100
- /**
1101
- * @example
1102
- * ACS::ECS::Instance
1103
- */
1104
- resourceType?: string;
1105
- /**
1106
- * @example
1107
- * 0
1108
- */
1109
- riskCount?: number;
1110
- /**
1111
- * @example
1112
- * 0
1113
- */
1114
- standardDataSize?: number;
1115
- /**
1116
- * @example
1117
- * Running
1118
- */
1119
- status?: string;
1120
- storageClass?: string;
1121
- /**
1122
- * @example
1123
- * 0
1124
- */
1125
- totalDataSize?: number;
1126
- /**
1127
- * @remarks
1128
- * vSwitch ID
1129
- *
1130
- * @example
1131
- * vsw-xxxxxxxx
1132
- */
1133
- vSwitchId?: string;
1134
- /**
1135
- * @remarks
1136
- * vpc ID
1137
- *
1138
- * @example
1139
- * vpc-xxxxxxxx
1140
- */
1141
- vpcId?: string;
1142
- /**
1143
- * @example
1144
- * cn-hangzhou-i
1145
- */
1146
- zoneId?: string;
1147
- static names(): {
1148
- [key: string]: string;
1149
- };
1150
- static types(): {
1151
- [key: string]: any;
1152
- };
1153
- constructor(map?: {
1154
- [key: string]: any;
1155
- });
1156
- }
1157
- export declare class DescribeResourcesResponseBodyData extends $tea.Model {
1158
- content?: DescribeResourcesResponseBodyDataContent[];
1159
- /**
1160
- * @example
1161
- * 100
1162
- */
1163
- maxResults?: number;
1164
- /**
1165
- * @example
1166
- * fb836242f4225fa0f0e0257362dfc6dd
1167
- */
1168
- nextToken?: string;
1169
- /**
1170
- * @example
1171
- * 149
1172
- */
1173
- totalCount?: number;
1174
- static names(): {
1175
- [key: string]: string;
1176
- };
1177
- static types(): {
1178
- [key: string]: any;
1179
- };
1180
- constructor(map?: {
1181
- [key: string]: any;
1182
- });
1183
- }
1184
- export declare class DescribeRulesResponseBodyDataContent extends $tea.Model {
1185
- /**
1186
- * @example
1187
- * 0
1188
- */
1189
- checkFailedResourceCount?: number;
1190
- /**
1191
- * @example
1192
- * PASSED
1193
- */
1194
- checkStatus?: string;
1195
- /**
1196
- * @example
1197
- * 1704157635
1198
- */
1199
- checkTime?: number;
1200
- /**
1201
- * @example
1202
- * ecs
1203
- */
1204
- productType?: string;
1205
- /**
1206
- * @example
1207
- * ACS::ECS::Instance
1208
- */
1209
- resourceType?: string;
1210
- /**
1211
- * @example
1212
- * 0
1213
- */
1214
- riskyResourceCount?: number;
1215
- /**
1216
- * @example
1217
- * rule-bp11ggd8wr762
1218
- */
1219
- ruleId?: string;
1220
- /**
1221
- * @example
1222
- * ecs-backup
1223
- */
1224
- ruleTemplate?: string;
1225
- /**
1226
- * @example
1227
- * 1
1228
- */
1229
- totalResourceCount?: number;
1230
- static names(): {
1231
- [key: string]: string;
1232
- };
1233
- static types(): {
1234
- [key: string]: any;
1235
- };
1236
- constructor(map?: {
1237
- [key: string]: any;
1238
- });
1239
- }
1240
- export declare class DescribeRulesResponseBodyData extends $tea.Model {
1241
- content?: DescribeRulesResponseBodyDataContent[];
1242
- /**
1243
- * @example
1244
- * 10
1245
- */
1246
- maxResults?: number;
1247
- /**
1248
- * @example
1249
- * 0975951c75d7b41464c8d08ae17043ca
1250
- */
1251
- nextToken?: string;
1252
- /**
1253
- * @example
1254
- * 42
1255
- */
1256
- totalCount?: number;
1257
- static names(): {
1258
- [key: string]: string;
1259
- };
1260
- static types(): {
1261
- [key: string]: any;
1262
- };
1263
- constructor(map?: {
1264
- [key: string]: any;
1265
- });
1266
- }
1267
- export declare class DescribeTaskResponseBodyData extends $tea.Model {
1268
- /**
1269
- * @example
1270
- * 1724983927
1271
- */
1272
- completeTime?: number;
1273
- /**
1274
- * @example
1275
- * too many requests.
1276
- */
1277
- errorMessage?: string;
1278
- executionId?: string;
1279
- /**
1280
- * @example
1281
- * 1719026680
1282
- */
1283
- expireTime?: number;
1284
- /**
1285
- * @example
1286
- * 100
1287
- */
1288
- progress?: number;
1289
- /**
1290
- * @example
1291
- * 784076D6-BD6D-5564-9CEA-834EB11F0C62
1292
- */
1293
- requestId?: string;
1294
- /**
1295
- * @example
1296
- * 1724983927
1297
- */
1298
- startTime?: number;
1299
- taskDescription?: string;
1300
- /**
1301
- * @example
1302
- * {"resourceTypes":["ACS::ECS::Instance","ACS::OSS::Bucket","ACS::OTS::Instance","ACS::NAS::FileSystem"]}
1303
- */
1304
- taskDetail?: string;
1305
- /**
1306
- * @example
1307
- * t-xxxxxxxx
1308
- */
1309
- taskId?: string;
1310
- /**
1311
- * @example
1312
- * test5566
1313
- */
1314
- taskName?: string;
1315
- taskPriority?: string;
1316
- /**
1317
- * @example
1318
- * RUNNING
1319
- */
1320
- taskStatus?: string;
1321
- /**
1322
- * @example
1323
- * UPDATE_RESOURCES
1324
- */
1325
- taskType?: string;
1326
- static names(): {
1327
- [key: string]: string;
1328
- };
1329
- static types(): {
1330
- [key: string]: any;
1331
- };
1332
- constructor(map?: {
1333
- [key: string]: any;
1334
- });
1335
- }
1336
- export declare class DescribeTasksResponseBodyDataContent extends $tea.Model {
1337
- /**
1338
- * @example
1339
- * 1724983927
1340
- */
1341
- completeTime?: number;
1342
- /**
1343
- * @example
1344
- * device not online
1345
- */
1346
- errorMessage?: string;
1347
- /**
1348
- * @example
1349
- * empty
1350
- */
1351
- executionId?: string;
1352
- /**
1353
- * @example
1354
- * 1724983927
1355
- */
1356
- expireTime?: number;
1357
- /**
1358
- * @example
1359
- * 100
1360
- */
1361
- progress?: number;
1362
- /**
1363
- * @example
1364
- * AE43C4CB-8074-5EBD-9806-8CA6D12800B1
1365
- */
1366
- requestId?: string;
1367
- /**
1368
- * @example
1369
- * 1724983927
1370
- */
1371
- startTime?: number;
1372
- /**
1373
- * @example
1374
- * empty
1375
- */
1376
- taskDescription?: string;
1377
- /**
1378
- * @example
1379
- * {"resourceTypes":["ACS::ECS::Instance","ACS::OSS::Bucket","ACS::OTS::Instance","ACS::NAS::FileSystem"]}
1380
- */
1381
- taskDetail?: string;
1382
- /**
1383
- * @example
1384
- * t-0000e4w0u1v592zdf6s7
1385
- */
1386
- taskId?: string;
1387
- /**
1388
- * @example
1389
- * empty
1390
- */
1391
- taskName?: string;
1392
- /**
1393
- * @example
1394
- * HIGH
1395
- */
1396
- taskPriority?: string;
1397
- /**
1398
- * @example
1399
- * RUNNING
1400
- */
1401
- taskStatus?: string;
1402
- /**
1403
- * @example
1404
- * UPDATE_RESOURCES
1405
- */
1406
- taskType?: string;
1407
- static names(): {
1
+ import * as $dara from '@darabonba/typescript';
2
+ import OpenApi from '@alicloud/openapi-core';
3
+ import { $OpenApiUtil } from '@alicloud/openapi-core';
4
+ import * as $_model from './models/model';
5
+ export * from './models/model';
6
+ export default class Client extends OpenApi {
7
+ constructor(config: $OpenApiUtil.Config);
8
+ getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
1408
9
  [key: string]: string;
1409
- };
1410
- static types(): {
1411
- [key: string]: any;
1412
- };
1413
- constructor(map?: {
1414
- [key: string]: any;
1415
- });
1416
- }
1417
- export declare class DescribeTasksResponseBodyData extends $tea.Model {
1418
- content?: DescribeTasksResponseBodyDataContent[];
1419
- /**
1420
- * @example
1421
- * 10
1422
- */
1423
- maxResults?: number;
1424
- /**
1425
- * @example
1426
- * f4b8c2504545a3b41af5e75147d17d12e3818a0b9b2ff9a2
1427
- */
1428
- nextToken?: string;
10
+ }, endpoint: string): string;
1429
11
  /**
1430
- * @example
1431
- * 100
12
+ * Checks data protection scoring rules. Calling this operation triggers an asynchronous task to check whether your resources meet the data protection scoring requirements.
13
+ *
14
+ * @param request - CheckRulesRequest
15
+ * @param headers - map
16
+ * @param runtime - runtime options for this request RuntimeOptions
17
+ * @returns CheckRulesResponse
1432
18
  */
1433
- totalCount?: number;
1434
- static names(): {
19
+ checkRulesWithOptions(request: $_model.CheckRulesRequest, headers: {
1435
20
  [key: string]: string;
1436
- };
1437
- static types(): {
1438
- [key: string]: any;
1439
- };
1440
- constructor(map?: {
1441
- [key: string]: any;
1442
- });
1443
- }
1444
- export declare class DescribeTopRiskyResourcesResponseBodyDataContent extends $tea.Model {
1445
- /**
1446
- * @example
1447
- * 0
1448
- */
1449
- archiveDataSize?: number;
1450
- /**
1451
- * @example
1452
- * 0
1453
- */
1454
- checkFailedCount?: number;
1455
- /**
1456
- * @example
1457
- * 0
1458
- */
1459
- coldArchiveDataSize?: number;
1460
- /**
1461
- * @example
1462
- * 1697798340
1463
- */
1464
- createTime?: number;
1465
- dataRedundancyType?: string;
1466
- /**
1467
- * @example
1468
- * true
1469
- */
1470
- enableCheck?: boolean;
1471
- /**
1472
- * @example
1473
- * 0
1474
- */
1475
- iaDataSize?: number;
1476
- /**
1477
- * @example
1478
- * ecs
1479
- */
1480
- productType?: string;
1481
- /**
1482
- * @example
1483
- * 90
1484
- */
1485
- protectionScore?: number;
1486
- /**
1487
- * @example
1488
- * 1726036498
1489
- */
1490
- protectionScoreUpdatedTime?: number;
1491
- /**
1492
- * @example
1493
- * cn-hangzhou
1494
- */
1495
- regionId?: string;
1496
- /**
1497
- * @example
1498
- * acs:ecs:cn-hangzhou:xxxxxxxx:instance/xxxxx
1499
- */
1500
- resourceArn?: string;
1501
- /**
1502
- * @example
1503
- * i-xxxxxxxx
1504
- */
1505
- resourceId?: string;
1506
- /**
1507
- * @example
1508
- * test-server
1509
- */
1510
- resourceName?: string;
1511
- /**
1512
- * @example
1513
- * ACS::ECS::Instance
1514
- */
1515
- resourceType?: string;
1516
- /**
1517
- * @example
1518
- * 0
1519
- */
1520
- riskCount?: number;
1521
- /**
1522
- * @example
1523
- * 0
1524
- */
1525
- standardDataSize?: number;
1526
- /**
1527
- * @example
1528
- * Running
1529
- */
1530
- status?: string;
1531
- storageClass?: string;
1532
- /**
1533
- * @example
1534
- * 0
1535
- */
1536
- totalDataSize?: number;
21
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.CheckRulesResponse>;
1537
22
  /**
1538
- * @remarks
1539
- * vSwitch ID
23
+ * Checks data protection scoring rules. Calling this operation triggers an asynchronous task to check whether your resources meet the data protection scoring requirements.
1540
24
  *
1541
- * @example
1542
- * vsw-xxxxxxxx
25
+ * @param request - CheckRulesRequest
26
+ * @returns CheckRulesResponse
1543
27
  */
1544
- vSwitchId?: string;
28
+ checkRules(request: $_model.CheckRulesRequest): Promise<$_model.CheckRulesResponse>;
1545
29
  /**
1546
- * @remarks
1547
- * vpc ID
30
+ * Shuts down the Backup and Disaster Recovery Center.
1548
31
  *
1549
- * @example
1550
- * vpc-xxxxxxxx
1551
- */
1552
- vpcId?: string;
1553
- /**
1554
- * @example
1555
- * cn-hangzhou-j
32
+ * @param headers - map
33
+ * @param runtime - runtime options for this request RuntimeOptions
34
+ * @returns CloseBdrcServiceResponse
1556
35
  */
1557
- zoneId?: string;
1558
- static names(): {
36
+ closeBdrcServiceWithOptions(headers: {
1559
37
  [key: string]: string;
1560
- };
1561
- static types(): {
1562
- [key: string]: any;
1563
- };
1564
- constructor(map?: {
1565
- [key: string]: any;
1566
- });
1567
- }
1568
- export declare class DescribeTopRiskyResourcesResponseBodyData extends $tea.Model {
1569
- content?: DescribeTopRiskyResourcesResponseBodyDataContent[];
38
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.CloseBdrcServiceResponse>;
1570
39
  /**
1571
- * @example
1572
- * 10
1573
- */
1574
- maxResults?: number;
1575
- /**
1576
- * @example
1577
- * e557bc9a65fe22cb5e2a3b240f06b0de
40
+ * Shuts down the Backup and Disaster Recovery Center.
41
+ * @returns CloseBdrcServiceResponse
1578
42
  */
1579
- nextToken?: string;
43
+ closeBdrcService(): Promise<$_model.CloseBdrcServiceResponse>;
1580
44
  /**
1581
- * @example
1582
- * 10
45
+ * Creates a protection policy.
46
+ *
47
+ * @param tmpReq - CreateProtectionPolicyRequest
48
+ * @param headers - map
49
+ * @param runtime - runtime options for this request RuntimeOptions
50
+ * @returns CreateProtectionPolicyResponse
1583
51
  */
1584
- totalCount?: number;
1585
- static names(): {
52
+ createProtectionPolicyWithOptions(tmpReq: $_model.CreateProtectionPolicyRequest, headers: {
1586
53
  [key: string]: string;
1587
- };
1588
- static types(): {
1589
- [key: string]: any;
1590
- };
1591
- constructor(map?: {
1592
- [key: string]: any;
1593
- });
1594
- }
1595
- export declare class GetBdrcServiceResponseBodyData extends $tea.Model {
1596
- /**
1597
- * @example
1598
- * 1726169608
1599
- */
1600
- openTime?: number;
1601
- /**
1602
- * @example
1603
- * 1726169608
1604
- */
1605
- protectionScoreUpdatedTime?: number;
54
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateProtectionPolicyResponse>;
1606
55
  /**
1607
- * @example
1608
- * SUCCESS
56
+ * Creates a protection policy.
57
+ *
58
+ * @param request - CreateProtectionPolicyRequest
59
+ * @returns CreateProtectionPolicyResponse
1609
60
  */
1610
- serviceInitializeStatus?: string;
61
+ createProtectionPolicy(request: $_model.CreateProtectionPolicyRequest): Promise<$_model.CreateProtectionPolicyResponse>;
1611
62
  /**
1612
- * @example
1613
- * OPENED
63
+ * Creates a resource category.
64
+ *
65
+ * @param request - CreateResourceCategoryRequest
66
+ * @param headers - map
67
+ * @param runtime - runtime options for this request RuntimeOptions
68
+ * @returns CreateResourceCategoryResponse
1614
69
  */
1615
- serviceStatus?: string;
1616
- static names(): {
70
+ createResourceCategoryWithOptions(request: $_model.CreateResourceCategoryRequest, headers: {
1617
71
  [key: string]: string;
1618
- };
1619
- static types(): {
1620
- [key: string]: any;
1621
- };
1622
- constructor(map?: {
1623
- [key: string]: any;
1624
- });
1625
- }
1626
- export declare class UpdateResourcesResponseBodyData extends $tea.Model {
72
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateResourceCategoryResponse>;
1627
73
  /**
1628
- * @example
1629
- * t-bp1ewftyzmeg3bl4dtd2
74
+ * Creates a resource category.
75
+ *
76
+ * @param request - CreateResourceCategoryRequest
77
+ * @returns CreateResourceCategoryResponse
1630
78
  */
1631
- taskId?: string;
1632
- static names(): {
1633
- [key: string]: string;
1634
- };
1635
- static types(): {
1636
- [key: string]: any;
1637
- };
1638
- constructor(map?: {
1639
- [key: string]: any;
1640
- });
1641
- }
1642
- export default class Client extends OpenApi {
1643
- constructor(config: $OpenApi.Config);
1644
- getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
1645
- [key: string]: string;
1646
- }, endpoint: string): string;
79
+ createResourceCategory(request: $_model.CreateResourceCategoryRequest): Promise<$_model.CreateResourceCategoryResponse>;
1647
80
  /**
1648
- * @param request - CheckRulesRequest
81
+ * Deletes a protection policy.
82
+ *
83
+ * @param request - DeleteProtectionPolicyRequest
1649
84
  * @param headers - map
1650
85
  * @param runtime - runtime options for this request RuntimeOptions
1651
- * @returns CheckRulesResponse
86
+ * @returns DeleteProtectionPolicyResponse
1652
87
  */
1653
- checkRulesWithOptions(request: CheckRulesRequest, headers: {
88
+ deleteProtectionPolicyWithOptions(ProtectionPolicyId: string, request: $_model.DeleteProtectionPolicyRequest, headers: {
1654
89
  [key: string]: string;
1655
- }, runtime: $Util.RuntimeOptions): Promise<CheckRulesResponse>;
90
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteProtectionPolicyResponse>;
1656
91
  /**
1657
- * @param request - CheckRulesRequest
1658
- * @returns CheckRulesResponse
92
+ * Deletes a protection policy.
93
+ *
94
+ * @param request - DeleteProtectionPolicyRequest
95
+ * @returns DeleteProtectionPolicyResponse
1659
96
  */
1660
- checkRules(request: CheckRulesRequest): Promise<CheckRulesResponse>;
97
+ deleteProtectionPolicy(ProtectionPolicyId: string, request: $_model.DeleteProtectionPolicyRequest): Promise<$_model.DeleteProtectionPolicyResponse>;
1661
98
  /**
99
+ * Deletes a resource category.
100
+ *
101
+ * @param request - DeleteResourceCategoryRequest
1662
102
  * @param headers - map
1663
103
  * @param runtime - runtime options for this request RuntimeOptions
1664
- * @returns CloseBdrcServiceResponse
104
+ * @returns DeleteResourceCategoryResponse
1665
105
  */
1666
- closeBdrcServiceWithOptions(headers: {
106
+ deleteResourceCategoryWithOptions(request: $_model.DeleteResourceCategoryRequest, headers: {
1667
107
  [key: string]: string;
1668
- }, runtime: $Util.RuntimeOptions): Promise<CloseBdrcServiceResponse>;
108
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteResourceCategoryResponse>;
1669
109
  /**
1670
- * @returns CloseBdrcServiceResponse
110
+ * Deletes a resource category.
111
+ *
112
+ * @param request - DeleteResourceCategoryRequest
113
+ * @returns DeleteResourceCategoryResponse
1671
114
  */
1672
- closeBdrcService(): Promise<CloseBdrcServiceResponse>;
115
+ deleteResourceCategory(request: $_model.DeleteResourceCategoryRequest): Promise<$_model.DeleteResourceCategoryResponse>;
1673
116
  /**
117
+ * Retrieves the check results for data protection rules.
118
+ *
1674
119
  * @param request - DescribeCheckDetailsRequest
1675
120
  * @param headers - map
1676
121
  * @param runtime - runtime options for this request RuntimeOptions
1677
122
  * @returns DescribeCheckDetailsResponse
1678
123
  */
1679
- describeCheckDetailsWithOptions(request: DescribeCheckDetailsRequest, headers: {
124
+ describeCheckDetailsWithOptions(request: $_model.DescribeCheckDetailsRequest, headers: {
1680
125
  [key: string]: string;
1681
- }, runtime: $Util.RuntimeOptions): Promise<DescribeCheckDetailsResponse>;
126
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeCheckDetailsResponse>;
1682
127
  /**
128
+ * Retrieves the check results for data protection rules.
129
+ *
1683
130
  * @param request - DescribeCheckDetailsRequest
1684
131
  * @returns DescribeCheckDetailsResponse
1685
132
  */
1686
- describeCheckDetails(request: DescribeCheckDetailsRequest): Promise<DescribeCheckDetailsResponse>;
133
+ describeCheckDetails(request: $_model.DescribeCheckDetailsRequest): Promise<$_model.DescribeCheckDetailsResponse>;
134
+ /**
135
+ * Queries statistics on data redundancy types for a cloud service.
136
+ *
137
+ * @param tmpReq - DescribeProductDataRedundancyTypeStatRequest
138
+ * @param headers - map
139
+ * @param runtime - runtime options for this request RuntimeOptions
140
+ * @returns DescribeProductDataRedundancyTypeStatResponse
141
+ */
142
+ describeProductDataRedundancyTypeStatWithOptions(tmpReq: $_model.DescribeProductDataRedundancyTypeStatRequest, headers: {
143
+ [key: string]: string;
144
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeProductDataRedundancyTypeStatResponse>;
145
+ /**
146
+ * Queries statistics on data redundancy types for a cloud service.
147
+ *
148
+ * @param request - DescribeProductDataRedundancyTypeStatRequest
149
+ * @returns DescribeProductDataRedundancyTypeStatResponse
150
+ */
151
+ describeProductDataRedundancyTypeStat(request: $_model.DescribeProductDataRedundancyTypeStatRequest): Promise<$_model.DescribeProductDataRedundancyTypeStatResponse>;
1687
152
  /**
153
+ * Queries the data protection score status for cloud products.
154
+ *
155
+ * @param tmpReq - DescribeProductsRequest
1688
156
  * @param headers - map
1689
157
  * @param runtime - runtime options for this request RuntimeOptions
1690
158
  * @returns DescribeProductsResponse
1691
159
  */
1692
- describeProductsWithOptions(headers: {
160
+ describeProductsWithOptions(tmpReq: $_model.DescribeProductsRequest, headers: {
1693
161
  [key: string]: string;
1694
- }, runtime: $Util.RuntimeOptions): Promise<DescribeProductsResponse>;
162
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeProductsResponse>;
1695
163
  /**
164
+ * Queries the data protection score status for cloud products.
165
+ *
166
+ * @param request - DescribeProductsRequest
1696
167
  * @returns DescribeProductsResponse
1697
168
  */
1698
- describeProducts(): Promise<DescribeProductsResponse>;
169
+ describeProducts(request: $_model.DescribeProductsRequest): Promise<$_model.DescribeProductsResponse>;
1699
170
  /**
1700
- * @param request - DescribeResourcesRequest
171
+ * Query resources
172
+ *
173
+ * @param tmpReq - DescribeResourcesRequest
1701
174
  * @param headers - map
1702
175
  * @param runtime - runtime options for this request RuntimeOptions
1703
176
  * @returns DescribeResourcesResponse
1704
177
  */
1705
- describeResourcesWithOptions(request: DescribeResourcesRequest, headers: {
178
+ describeResourcesWithOptions(tmpReq: $_model.DescribeResourcesRequest, headers: {
1706
179
  [key: string]: string;
1707
- }, runtime: $Util.RuntimeOptions): Promise<DescribeResourcesResponse>;
180
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeResourcesResponse>;
1708
181
  /**
182
+ * Query resources
183
+ *
1709
184
  * @param request - DescribeResourcesRequest
1710
185
  * @returns DescribeResourcesResponse
1711
186
  */
1712
- describeResources(request: DescribeResourcesRequest): Promise<DescribeResourcesResponse>;
187
+ describeResources(request: $_model.DescribeResourcesRequest): Promise<$_model.DescribeResourcesResponse>;
1713
188
  /**
1714
- * @param request - DescribeRulesRequest
189
+ * Lists all data protection rules.
190
+ *
191
+ * @param tmpReq - DescribeRulesRequest
1715
192
  * @param headers - map
1716
193
  * @param runtime - runtime options for this request RuntimeOptions
1717
194
  * @returns DescribeRulesResponse
1718
195
  */
1719
- describeRulesWithOptions(request: DescribeRulesRequest, headers: {
196
+ describeRulesWithOptions(tmpReq: $_model.DescribeRulesRequest, headers: {
1720
197
  [key: string]: string;
1721
- }, runtime: $Util.RuntimeOptions): Promise<DescribeRulesResponse>;
198
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeRulesResponse>;
1722
199
  /**
200
+ * Lists all data protection rules.
201
+ *
1723
202
  * @param request - DescribeRulesRequest
1724
203
  * @returns DescribeRulesResponse
1725
204
  */
1726
- describeRules(request: DescribeRulesRequest): Promise<DescribeRulesResponse>;
205
+ describeRules(request: $_model.DescribeRulesRequest): Promise<$_model.DescribeRulesResponse>;
1727
206
  /**
207
+ * Retrieves the details of an asynchronous task.
208
+ *
1728
209
  * @param headers - map
1729
210
  * @param runtime - runtime options for this request RuntimeOptions
1730
211
  * @returns DescribeTaskResponse
1731
212
  */
1732
213
  describeTaskWithOptions(TaskId: string, headers: {
1733
214
  [key: string]: string;
1734
- }, runtime: $Util.RuntimeOptions): Promise<DescribeTaskResponse>;
215
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeTaskResponse>;
1735
216
  /**
217
+ * Retrieves the details of an asynchronous task.
1736
218
  * @returns DescribeTaskResponse
1737
219
  */
1738
- describeTask(TaskId: string): Promise<DescribeTaskResponse>;
220
+ describeTask(TaskId: string): Promise<$_model.DescribeTaskResponse>;
1739
221
  /**
222
+ * Retrieves asynchronous tasks.
223
+ *
1740
224
  * @param request - DescribeTasksRequest
1741
225
  * @param headers - map
1742
226
  * @param runtime - runtime options for this request RuntimeOptions
1743
227
  * @returns DescribeTasksResponse
1744
228
  */
1745
- describeTasksWithOptions(request: DescribeTasksRequest, headers: {
229
+ describeTasksWithOptions(request: $_model.DescribeTasksRequest, headers: {
1746
230
  [key: string]: string;
1747
- }, runtime: $Util.RuntimeOptions): Promise<DescribeTasksResponse>;
231
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeTasksResponse>;
1748
232
  /**
233
+ * Retrieves asynchronous tasks.
234
+ *
1749
235
  * @param request - DescribeTasksRequest
1750
236
  * @returns DescribeTasksResponse
1751
237
  */
1752
- describeTasks(request: DescribeTasksRequest): Promise<DescribeTasksResponse>;
238
+ describeTasks(request: $_model.DescribeTasksRequest): Promise<$_model.DescribeTasksResponse>;
1753
239
  /**
1754
- * @param request - DescribeTopRiskyResourcesRequest
240
+ * Lists the most threatened resources.
241
+ *
242
+ * @param tmpReq - DescribeTopRiskyResourcesRequest
1755
243
  * @param headers - map
1756
244
  * @param runtime - runtime options for this request RuntimeOptions
1757
245
  * @returns DescribeTopRiskyResourcesResponse
1758
246
  */
1759
- describeTopRiskyResourcesWithOptions(request: DescribeTopRiskyResourcesRequest, headers: {
247
+ describeTopRiskyResourcesWithOptions(tmpReq: $_model.DescribeTopRiskyResourcesRequest, headers: {
1760
248
  [key: string]: string;
1761
- }, runtime: $Util.RuntimeOptions): Promise<DescribeTopRiskyResourcesResponse>;
249
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeTopRiskyResourcesResponse>;
1762
250
  /**
251
+ * Lists the most threatened resources.
252
+ *
1763
253
  * @param request - DescribeTopRiskyResourcesRequest
1764
254
  * @returns DescribeTopRiskyResourcesResponse
1765
255
  */
1766
- describeTopRiskyResources(request: DescribeTopRiskyResourcesRequest): Promise<DescribeTopRiskyResourcesResponse>;
256
+ describeTopRiskyResources(request: $_model.DescribeTopRiskyResourcesRequest): Promise<$_model.DescribeTopRiskyResourcesResponse>;
1767
257
  /**
258
+ * Disables the data protection score for a cloud product.
259
+ *
1768
260
  * @param request - DisableCheckProductRequest
1769
261
  * @param headers - map
1770
262
  * @param runtime - runtime options for this request RuntimeOptions
1771
263
  * @returns DisableCheckProductResponse
1772
264
  */
1773
- disableCheckProductWithOptions(request: DisableCheckProductRequest, headers: {
265
+ disableCheckProductWithOptions(request: $_model.DisableCheckProductRequest, headers: {
1774
266
  [key: string]: string;
1775
- }, runtime: $Util.RuntimeOptions): Promise<DisableCheckProductResponse>;
267
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.DisableCheckProductResponse>;
1776
268
  /**
269
+ * Disables the data protection score for a cloud product.
270
+ *
1777
271
  * @param request - DisableCheckProductRequest
1778
272
  * @returns DisableCheckProductResponse
1779
273
  */
1780
- disableCheckProduct(request: DisableCheckProductRequest): Promise<DisableCheckProductResponse>;
274
+ disableCheckProduct(request: $_model.DisableCheckProductRequest): Promise<$_model.DisableCheckProductResponse>;
1781
275
  /**
276
+ * Disables the data protection score for a resource.
277
+ *
1782
278
  * @param request - DisableCheckResourceRequest
1783
279
  * @param headers - map
1784
280
  * @param runtime - runtime options for this request RuntimeOptions
1785
281
  * @returns DisableCheckResourceResponse
1786
282
  */
1787
- disableCheckResourceWithOptions(request: DisableCheckResourceRequest, headers: {
283
+ disableCheckResourceWithOptions(request: $_model.DisableCheckResourceRequest, headers: {
1788
284
  [key: string]: string;
1789
- }, runtime: $Util.RuntimeOptions): Promise<DisableCheckResourceResponse>;
285
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.DisableCheckResourceResponse>;
1790
286
  /**
287
+ * Disables the data protection score for a resource.
288
+ *
1791
289
  * @param request - DisableCheckResourceRequest
1792
290
  * @returns DisableCheckResourceResponse
1793
291
  */
1794
- disableCheckResource(request: DisableCheckResourceRequest): Promise<DisableCheckResourceResponse>;
292
+ disableCheckResource(request: $_model.DisableCheckResourceRequest): Promise<$_model.DisableCheckResourceResponse>;
1795
293
  /**
294
+ * Enables data protection scoring for a cloud product.
295
+ *
1796
296
  * @param request - EnableCheckProductRequest
1797
297
  * @param headers - map
1798
298
  * @param runtime - runtime options for this request RuntimeOptions
1799
299
  * @returns EnableCheckProductResponse
1800
300
  */
1801
- enableCheckProductWithOptions(request: EnableCheckProductRequest, headers: {
301
+ enableCheckProductWithOptions(request: $_model.EnableCheckProductRequest, headers: {
1802
302
  [key: string]: string;
1803
- }, runtime: $Util.RuntimeOptions): Promise<EnableCheckProductResponse>;
303
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.EnableCheckProductResponse>;
1804
304
  /**
305
+ * Enables data protection scoring for a cloud product.
306
+ *
1805
307
  * @param request - EnableCheckProductRequest
1806
308
  * @returns EnableCheckProductResponse
1807
309
  */
1808
- enableCheckProduct(request: EnableCheckProductRequest): Promise<EnableCheckProductResponse>;
310
+ enableCheckProduct(request: $_model.EnableCheckProductRequest): Promise<$_model.EnableCheckProductResponse>;
1809
311
  /**
312
+ * Enables data protection scoring for a single resource.
313
+ *
1810
314
  * @param request - EnableCheckResourceRequest
1811
315
  * @param headers - map
1812
316
  * @param runtime - runtime options for this request RuntimeOptions
1813
317
  * @returns EnableCheckResourceResponse
1814
318
  */
1815
- enableCheckResourceWithOptions(request: EnableCheckResourceRequest, headers: {
319
+ enableCheckResourceWithOptions(request: $_model.EnableCheckResourceRequest, headers: {
1816
320
  [key: string]: string;
1817
- }, runtime: $Util.RuntimeOptions): Promise<EnableCheckResourceResponse>;
321
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.EnableCheckResourceResponse>;
1818
322
  /**
323
+ * Enables data protection scoring for a single resource.
324
+ *
1819
325
  * @param request - EnableCheckResourceRequest
1820
326
  * @returns EnableCheckResourceResponse
1821
327
  */
1822
- enableCheckResource(request: EnableCheckResourceRequest): Promise<EnableCheckResourceResponse>;
328
+ enableCheckResource(request: $_model.EnableCheckResourceRequest): Promise<$_model.EnableCheckResourceResponse>;
1823
329
  /**
330
+ * Queries the status of the Backup and Disaster Recovery Center.
331
+ *
1824
332
  * @param headers - map
1825
333
  * @param runtime - runtime options for this request RuntimeOptions
1826
334
  * @returns GetBdrcServiceResponse
1827
335
  */
1828
336
  getBdrcServiceWithOptions(headers: {
1829
337
  [key: string]: string;
1830
- }, runtime: $Util.RuntimeOptions): Promise<GetBdrcServiceResponse>;
338
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GetBdrcServiceResponse>;
1831
339
  /**
340
+ * Queries the status of the Backup and Disaster Recovery Center.
1832
341
  * @returns GetBdrcServiceResponse
1833
342
  */
1834
- getBdrcService(): Promise<GetBdrcServiceResponse>;
343
+ getBdrcService(): Promise<$_model.GetBdrcServiceResponse>;
344
+ /**
345
+ * Retrieves a single message.
346
+ *
347
+ * @param request - GetMessageRequest
348
+ * @param headers - map
349
+ * @param runtime - runtime options for this request RuntimeOptions
350
+ * @returns GetMessageResponse
351
+ */
352
+ getMessageWithOptions(MessageId: string, request: $_model.GetMessageRequest, headers: {
353
+ [key: string]: string;
354
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GetMessageResponse>;
355
+ /**
356
+ * Retrieves a single message.
357
+ *
358
+ * @param request - GetMessageRequest
359
+ * @returns GetMessageResponse
360
+ */
361
+ getMessage(MessageId: string, request: $_model.GetMessageRequest): Promise<$_model.GetMessageResponse>;
362
+ /**
363
+ * Retrieves a protection policy.
364
+ *
365
+ * @param request - GetProtectionPolicyRequest
366
+ * @param headers - map
367
+ * @param runtime - runtime options for this request RuntimeOptions
368
+ * @returns GetProtectionPolicyResponse
369
+ */
370
+ getProtectionPolicyWithOptions(ProtectionPolicyId: string, request: $_model.GetProtectionPolicyRequest, headers: {
371
+ [key: string]: string;
372
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GetProtectionPolicyResponse>;
373
+ /**
374
+ * Retrieves a protection policy.
375
+ *
376
+ * @param request - GetProtectionPolicyRequest
377
+ * @returns GetProtectionPolicyResponse
378
+ */
379
+ getProtectionPolicy(ProtectionPolicyId: string, request: $_model.GetProtectionPolicyRequest): Promise<$_model.GetProtectionPolicyResponse>;
380
+ /**
381
+ * Retrieves a single resource category.
382
+ *
383
+ * @param request - GetResourceCategoryRequest
384
+ * @param headers - map
385
+ * @param runtime - runtime options for this request RuntimeOptions
386
+ * @returns GetResourceCategoryResponse
387
+ */
388
+ getResourceCategoryWithOptions(request: $_model.GetResourceCategoryRequest, headers: {
389
+ [key: string]: string;
390
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GetResourceCategoryResponse>;
391
+ /**
392
+ * Retrieves a single resource category.
393
+ *
394
+ * @param request - GetResourceCategoryRequest
395
+ * @returns GetResourceCategoryResponse
396
+ */
397
+ getResourceCategory(request: $_model.GetResourceCategoryRequest): Promise<$_model.GetResourceCategoryResponse>;
398
+ /**
399
+ * Queries messages in batches.
400
+ *
401
+ * @param request - ListMessagesRequest
402
+ * @param headers - map
403
+ * @param runtime - runtime options for this request RuntimeOptions
404
+ * @returns ListMessagesResponse
405
+ */
406
+ listMessagesWithOptions(request: $_model.ListMessagesRequest, headers: {
407
+ [key: string]: string;
408
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ListMessagesResponse>;
409
+ /**
410
+ * Queries messages in batches.
411
+ *
412
+ * @param request - ListMessagesRequest
413
+ * @returns ListMessagesResponse
414
+ */
415
+ listMessages(request: $_model.ListMessagesRequest): Promise<$_model.ListMessagesResponse>;
416
+ /**
417
+ * Retrieves a list of protection policies.
418
+ *
419
+ * @param request - ListProtectionPoliciesRequest
420
+ * @param headers - map
421
+ * @param runtime - runtime options for this request RuntimeOptions
422
+ * @returns ListProtectionPoliciesResponse
423
+ */
424
+ listProtectionPoliciesWithOptions(request: $_model.ListProtectionPoliciesRequest, headers: {
425
+ [key: string]: string;
426
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ListProtectionPoliciesResponse>;
427
+ /**
428
+ * Retrieves a list of protection policies.
429
+ *
430
+ * @param request - ListProtectionPoliciesRequest
431
+ * @returns ListProtectionPoliciesResponse
432
+ */
433
+ listProtectionPolicies(request: $_model.ListProtectionPoliciesRequest): Promise<$_model.ListProtectionPoliciesResponse>;
434
+ /**
435
+ * Retrieves the application history of the protection policy.
436
+ *
437
+ * @param request - ListProtectionPolicyApplicationsRequest
438
+ * @param headers - map
439
+ * @param runtime - runtime options for this request RuntimeOptions
440
+ * @returns ListProtectionPolicyApplicationsResponse
441
+ */
442
+ listProtectionPolicyApplicationsWithOptions(ProtectionPolicyId: string, request: $_model.ListProtectionPolicyApplicationsRequest, headers: {
443
+ [key: string]: string;
444
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ListProtectionPolicyApplicationsResponse>;
445
+ /**
446
+ * Retrieves the application history of the protection policy.
447
+ *
448
+ * @param request - ListProtectionPolicyApplicationsRequest
449
+ * @returns ListProtectionPolicyApplicationsResponse
450
+ */
451
+ listProtectionPolicyApplications(ProtectionPolicyId: string, request: $_model.ListProtectionPolicyApplicationsRequest): Promise<$_model.ListProtectionPolicyApplicationsResponse>;
452
+ /**
453
+ * Retrieves a list of resource categories.
454
+ *
455
+ * @param request - ListResourceCategoriesRequest
456
+ * @param headers - map
457
+ * @param runtime - runtime options for this request RuntimeOptions
458
+ * @returns ListResourceCategoriesResponse
459
+ */
460
+ listResourceCategoriesWithOptions(request: $_model.ListResourceCategoriesRequest, headers: {
461
+ [key: string]: string;
462
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ListResourceCategoriesResponse>;
463
+ /**
464
+ * Retrieves a list of resource categories.
465
+ *
466
+ * @param request - ListResourceCategoriesRequest
467
+ * @returns ListResourceCategoriesResponse
468
+ */
469
+ listResourceCategories(request: $_model.ListResourceCategoriesRequest): Promise<$_model.ListResourceCategoriesResponse>;
1835
470
  /**
471
+ * Enables the Backup and Disaster Recovery Center.
472
+ *
1836
473
  * @param headers - map
1837
474
  * @param runtime - runtime options for this request RuntimeOptions
1838
475
  * @returns OpenBdrcServiceResponse
1839
476
  */
1840
477
  openBdrcServiceWithOptions(headers: {
1841
478
  [key: string]: string;
1842
- }, runtime: $Util.RuntimeOptions): Promise<OpenBdrcServiceResponse>;
479
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.OpenBdrcServiceResponse>;
1843
480
  /**
481
+ * Enables the Backup and Disaster Recovery Center.
1844
482
  * @returns OpenBdrcServiceResponse
1845
483
  */
1846
- openBdrcService(): Promise<OpenBdrcServiceResponse>;
484
+ openBdrcService(): Promise<$_model.OpenBdrcServiceResponse>;
485
+ /**
486
+ * Updates a protection policy.
487
+ *
488
+ * @param tmpReq - UpdateProtectionPolicyRequest
489
+ * @param headers - map
490
+ * @param runtime - runtime options for this request RuntimeOptions
491
+ * @returns UpdateProtectionPolicyResponse
492
+ */
493
+ updateProtectionPolicyWithOptions(ProtectionPolicyId: string, tmpReq: $_model.UpdateProtectionPolicyRequest, headers: {
494
+ [key: string]: string;
495
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateProtectionPolicyResponse>;
496
+ /**
497
+ * Updates a protection policy.
498
+ *
499
+ * @param request - UpdateProtectionPolicyRequest
500
+ * @returns UpdateProtectionPolicyResponse
501
+ */
502
+ updateProtectionPolicy(ProtectionPolicyId: string, request: $_model.UpdateProtectionPolicyRequest): Promise<$_model.UpdateProtectionPolicyResponse>;
503
+ /**
504
+ * Updates a resource category.
505
+ *
506
+ * @param request - UpdateResourceCategoryRequest
507
+ * @param headers - map
508
+ * @param runtime - runtime options for this request RuntimeOptions
509
+ * @returns UpdateResourceCategoryResponse
510
+ */
511
+ updateResourceCategoryWithOptions(request: $_model.UpdateResourceCategoryRequest, headers: {
512
+ [key: string]: string;
513
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateResourceCategoryResponse>;
514
+ /**
515
+ * Updates a resource category.
516
+ *
517
+ * @param request - UpdateResourceCategoryRequest
518
+ * @returns UpdateResourceCategoryResponse
519
+ */
520
+ updateResourceCategory(request: $_model.UpdateResourceCategoryRequest): Promise<$_model.UpdateResourceCategoryResponse>;
1847
521
  /**
522
+ * Updates the resource list. When you call this operation, an asynchronous task is triggered to update your resource list and data protection score.
523
+ *
1848
524
  * @param request - UpdateResourcesRequest
1849
525
  * @param headers - map
1850
526
  * @param runtime - runtime options for this request RuntimeOptions
1851
527
  * @returns UpdateResourcesResponse
1852
528
  */
1853
- updateResourcesWithOptions(request: UpdateResourcesRequest, headers: {
529
+ updateResourcesWithOptions(request: $_model.UpdateResourcesRequest, headers: {
1854
530
  [key: string]: string;
1855
- }, runtime: $Util.RuntimeOptions): Promise<UpdateResourcesResponse>;
531
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateResourcesResponse>;
1856
532
  /**
533
+ * Updates the resource list. When you call this operation, an asynchronous task is triggered to update your resource list and data protection score.
534
+ *
1857
535
  * @param request - UpdateResourcesRequest
1858
536
  * @returns UpdateResourcesResponse
1859
537
  */
1860
- updateResources(request: UpdateResourcesRequest): Promise<UpdateResourcesResponse>;
538
+ updateResources(request: $_model.UpdateResourcesRequest): Promise<$_model.UpdateResourcesResponse>;
1861
539
  }