@huaweicloud/huaweicloud-sdk-rds 3.1.176 → 3.1.178

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 (249) hide show
  1. package/package.json +2 -2
  2. package/v3/RdsClient.d.ts +542 -2
  3. package/v3/RdsClient.d.ts.map +1 -1
  4. package/v3/RdsClient.js +1224 -27
  5. package/v3/RdsClient.js.map +1 -1
  6. package/v3/model/AutoCesAlarmInfo.d.ts +58 -0
  7. package/v3/model/AutoCesAlarmInfo.d.ts.map +1 -0
  8. package/v3/model/AutoCesAlarmInfo.js +143 -0
  9. package/v3/model/AutoCesAlarmInfo.js.map +1 -0
  10. package/v3/model/BatchDeleteInstanceRequest.d.ts +11 -0
  11. package/v3/model/BatchDeleteInstanceRequest.d.ts.map +1 -0
  12. package/v3/model/BatchDeleteInstanceRequest.js +23 -0
  13. package/v3/model/BatchDeleteInstanceRequest.js.map +1 -0
  14. package/v3/model/BatchDeleteInstanceResponse.d.ts +8 -0
  15. package/v3/model/BatchDeleteInstanceResponse.d.ts.map +1 -0
  16. package/v3/model/BatchDeleteInstanceResponse.js +15 -0
  17. package/v3/model/BatchDeleteInstanceResponse.js.map +1 -0
  18. package/v3/model/BatchExecuteEventsRequest.d.ts +11 -0
  19. package/v3/model/BatchExecuteEventsRequest.d.ts.map +1 -0
  20. package/v3/model/BatchExecuteEventsRequest.js +23 -0
  21. package/v3/model/BatchExecuteEventsRequest.js.map +1 -0
  22. package/v3/model/BatchExecuteEventsResponse.d.ts +8 -0
  23. package/v3/model/BatchExecuteEventsResponse.d.ts.map +1 -0
  24. package/v3/model/BatchExecuteEventsResponse.js +15 -0
  25. package/v3/model/BatchExecuteEventsResponse.js.map +1 -0
  26. package/v3/model/BatchModifyPublicationRequest.d.ts +11 -0
  27. package/v3/model/BatchModifyPublicationRequest.d.ts.map +1 -0
  28. package/v3/model/BatchModifyPublicationRequest.js +24 -0
  29. package/v3/model/BatchModifyPublicationRequest.js.map +1 -0
  30. package/v3/model/BatchModifyPublicationResponse.d.ts +8 -0
  31. package/v3/model/BatchModifyPublicationResponse.d.ts.map +1 -0
  32. package/v3/model/BatchModifyPublicationResponse.js +15 -0
  33. package/v3/model/BatchModifyPublicationResponse.js.map +1 -0
  34. package/v3/model/BatchModifyPublicationsRequestBody.d.ts +13 -0
  35. package/v3/model/BatchModifyPublicationsRequestBody.d.ts.map +1 -0
  36. package/v3/model/BatchModifyPublicationsRequestBody.js +31 -0
  37. package/v3/model/BatchModifyPublicationsRequestBody.js.map +1 -0
  38. package/v3/model/CompareConfigurationRequest.d.ts +15 -0
  39. package/v3/model/CompareConfigurationRequest.d.ts.map +1 -0
  40. package/v3/model/CompareConfigurationRequest.js +34 -0
  41. package/v3/model/CompareConfigurationRequest.js.map +1 -0
  42. package/v3/model/CompareConfigurationRequestBody.d.ts +12 -0
  43. package/v3/model/CompareConfigurationRequestBody.d.ts.map +1 -0
  44. package/v3/model/CompareConfigurationRequestBody.js +31 -0
  45. package/v3/model/CompareConfigurationRequestBody.js.map +1 -0
  46. package/v3/model/CompareConfigurationResponse.d.ts +24 -0
  47. package/v3/model/CompareConfigurationResponse.d.ts.map +1 -0
  48. package/v3/model/CompareConfigurationResponse.js +55 -0
  49. package/v3/model/CompareConfigurationResponse.js.map +1 -0
  50. package/v3/model/CreateDistributionRequest.d.ts +11 -0
  51. package/v3/model/CreateDistributionRequest.d.ts.map +1 -0
  52. package/v3/model/CreateDistributionRequest.js +24 -0
  53. package/v3/model/CreateDistributionRequest.js.map +1 -0
  54. package/v3/model/CreateDistributionRequestBody.d.ts +8 -0
  55. package/v3/model/CreateDistributionRequestBody.d.ts.map +1 -0
  56. package/v3/model/CreateDistributionRequestBody.js +20 -0
  57. package/v3/model/CreateDistributionRequestBody.js.map +1 -0
  58. package/v3/model/CreateDistributionResponse.d.ts +9 -0
  59. package/v3/model/CreateDistributionResponse.d.ts.map +1 -0
  60. package/v3/model/CreateDistributionResponse.js +21 -0
  61. package/v3/model/CreateDistributionResponse.js.map +1 -0
  62. package/v3/model/CreatePublicationRequest.d.ts +11 -0
  63. package/v3/model/CreatePublicationRequest.d.ts.map +1 -0
  64. package/v3/model/CreatePublicationRequest.js +24 -0
  65. package/v3/model/CreatePublicationRequest.js.map +1 -0
  66. package/v3/model/CreatePublicationResponse.d.ts +9 -0
  67. package/v3/model/CreatePublicationResponse.d.ts.map +1 -0
  68. package/v3/model/CreatePublicationResponse.js +21 -0
  69. package/v3/model/CreatePublicationResponse.js.map +1 -0
  70. package/v3/model/CreatePublicationsRequestBody.d.ts +37 -0
  71. package/v3/model/CreatePublicationsRequestBody.d.ts.map +1 -0
  72. package/v3/model/CreatePublicationsRequestBody.js +88 -0
  73. package/v3/model/CreatePublicationsRequestBody.js.map +1 -0
  74. package/v3/model/CreateRebuildSlaveRequest.d.ts +8 -0
  75. package/v3/model/CreateRebuildSlaveRequest.d.ts.map +1 -0
  76. package/v3/model/CreateRebuildSlaveRequest.js +20 -0
  77. package/v3/model/CreateRebuildSlaveRequest.js.map +1 -0
  78. package/v3/model/CreateRebuildSlaveResponse.d.ts +13 -0
  79. package/v3/model/CreateRebuildSlaveResponse.d.ts.map +1 -0
  80. package/v3/model/CreateRebuildSlaveResponse.js +31 -0
  81. package/v3/model/CreateRebuildSlaveResponse.js.map +1 -0
  82. package/v3/model/CustomerBatchDeleteInstanceRecord.d.ts +12 -0
  83. package/v3/model/CustomerBatchDeleteInstanceRecord.d.ts.map +1 -0
  84. package/v3/model/CustomerBatchDeleteInstanceRecord.js +29 -0
  85. package/v3/model/CustomerBatchDeleteInstanceRecord.js.map +1 -0
  86. package/v3/model/EventInstance.d.ts +12 -0
  87. package/v3/model/EventInstance.d.ts.map +1 -0
  88. package/v3/model/EventInstance.js +31 -0
  89. package/v3/model/EventInstance.js.map +1 -0
  90. package/v3/model/EventJobResult.d.ts +24 -0
  91. package/v3/model/EventJobResult.d.ts.map +1 -0
  92. package/v3/model/EventJobResult.js +57 -0
  93. package/v3/model/EventJobResult.js.map +1 -0
  94. package/v3/model/EventScheduleWindow.d.ts +16 -0
  95. package/v3/model/EventScheduleWindow.d.ts.map +1 -0
  96. package/v3/model/EventScheduleWindow.js +40 -0
  97. package/v3/model/EventScheduleWindow.js.map +1 -0
  98. package/v3/model/GetInstancesNoIndexTablesRequest.d.ts +4 -0
  99. package/v3/model/GetInstancesNoIndexTablesRequest.d.ts.map +1 -1
  100. package/v3/model/GetInstancesNoIndexTablesRequest.js +8 -0
  101. package/v3/model/GetInstancesNoIndexTablesRequest.js.map +1 -1
  102. package/v3/model/GetInstancesNoIndexTablesResponse.d.ts +3 -0
  103. package/v3/model/GetInstancesNoIndexTablesResponse.d.ts.map +1 -1
  104. package/v3/model/GetInstancesNoIndexTablesResponse.js +4 -0
  105. package/v3/model/GetInstancesNoIndexTablesResponse.js.map +1 -1
  106. package/v3/model/IntelligentKillSessionStatistic.d.ts +34 -0
  107. package/v3/model/IntelligentKillSessionStatistic.d.ts.map +1 -0
  108. package/v3/model/IntelligentKillSessionStatistic.js +79 -0
  109. package/v3/model/IntelligentKillSessionStatistic.js.map +1 -0
  110. package/v3/model/ListPackLogInfosRequest.d.ts +16 -0
  111. package/v3/model/ListPackLogInfosRequest.d.ts.map +1 -0
  112. package/v3/model/ListPackLogInfosRequest.js +38 -0
  113. package/v3/model/ListPackLogInfosRequest.js.map +1 -0
  114. package/v3/model/ListPackLogInfosResponse.d.ts +14 -0
  115. package/v3/model/ListPackLogInfosResponse.d.ts.map +1 -0
  116. package/v3/model/ListPackLogInfosResponse.js +31 -0
  117. package/v3/model/ListPackLogInfosResponse.js.map +1 -0
  118. package/v3/model/ListRemoteDbRequest.d.ts +11 -0
  119. package/v3/model/ListRemoteDbRequest.d.ts.map +1 -0
  120. package/v3/model/ListRemoteDbRequest.js +24 -0
  121. package/v3/model/ListRemoteDbRequest.js.map +1 -0
  122. package/v3/model/ListRemoteDbRequestBody.d.ts +24 -0
  123. package/v3/model/ListRemoteDbRequestBody.d.ts.map +1 -0
  124. package/v3/model/ListRemoteDbRequestBody.js +61 -0
  125. package/v3/model/ListRemoteDbRequestBody.js.map +1 -0
  126. package/v3/model/ListRemoteDbResponse.d.ts +12 -0
  127. package/v3/model/ListRemoteDbResponse.d.ts.map +1 -0
  128. package/v3/model/ListRemoteDbResponse.js +25 -0
  129. package/v3/model/ListRemoteDbResponse.js.map +1 -0
  130. package/v3/model/ListReplicationErrorsRequest.d.ts +16 -0
  131. package/v3/model/ListReplicationErrorsRequest.d.ts.map +1 -0
  132. package/v3/model/ListReplicationErrorsRequest.js +38 -0
  133. package/v3/model/ListReplicationErrorsRequest.js.map +1 -0
  134. package/v3/model/ListReplicationErrorsResponse.d.ts +12 -0
  135. package/v3/model/ListReplicationErrorsResponse.d.ts.map +1 -0
  136. package/v3/model/ListReplicationErrorsResponse.js +25 -0
  137. package/v3/model/ListReplicationErrorsResponse.js.map +1 -0
  138. package/v3/model/ListReplicationErrorsResult.d.ts +24 -0
  139. package/v3/model/ListReplicationErrorsResult.d.ts.map +1 -0
  140. package/v3/model/ListReplicationErrorsResult.js +59 -0
  141. package/v3/model/ListReplicationErrorsResult.js.map +1 -0
  142. package/v3/model/ListScheduleEventsRequest.d.ts +26 -0
  143. package/v3/model/ListScheduleEventsRequest.d.ts.map +1 -0
  144. package/v3/model/ListScheduleEventsRequest.js +57 -0
  145. package/v3/model/ListScheduleEventsRequest.js.map +1 -0
  146. package/v3/model/ListScheduleEventsResponse.d.ts +28 -0
  147. package/v3/model/ListScheduleEventsResponse.d.ts.map +1 -0
  148. package/v3/model/ListScheduleEventsResponse.js +65 -0
  149. package/v3/model/ListScheduleEventsResponse.js.map +1 -0
  150. package/v3/model/ModifyDbAgentJobRequest.d.ts +19 -0
  151. package/v3/model/ModifyDbAgentJobRequest.d.ts.map +1 -0
  152. package/v3/model/ModifyDbAgentJobRequest.js +45 -0
  153. package/v3/model/ModifyDbAgentJobRequest.js.map +1 -0
  154. package/v3/model/ModifyDbAgentJobRequestBody.d.ts +8 -0
  155. package/v3/model/ModifyDbAgentJobRequestBody.d.ts.map +1 -0
  156. package/v3/model/ModifyDbAgentJobRequestBody.js +20 -0
  157. package/v3/model/ModifyDbAgentJobRequestBody.js.map +1 -0
  158. package/v3/model/ModifyDbAgentJobResponse.d.ts +45 -0
  159. package/v3/model/ModifyDbAgentJobResponse.d.ts.map +1 -0
  160. package/v3/model/ModifyDbAgentJobResponse.js +111 -0
  161. package/v3/model/ModifyDbAgentJobResponse.js.map +1 -0
  162. package/v3/model/MultipleDeleteInsReq.d.ts +8 -0
  163. package/v3/model/MultipleDeleteInsReq.d.ts.map +1 -0
  164. package/v3/model/MultipleDeleteInsReq.js +20 -0
  165. package/v3/model/MultipleDeleteInsReq.js.map +1 -0
  166. package/v3/model/OperateEventReq.d.ts +18 -0
  167. package/v3/model/OperateEventReq.d.ts.map +1 -0
  168. package/v3/model/OperateEventReq.js +41 -0
  169. package/v3/model/OperateEventReq.js.map +1 -0
  170. package/v3/model/PackLogInfo.d.ts +30 -0
  171. package/v3/model/PackLogInfo.d.ts.map +1 -0
  172. package/v3/model/PackLogInfo.js +71 -0
  173. package/v3/model/PackLogInfo.js.map +1 -0
  174. package/v3/model/ParamGroupParameterDiff.d.ts +14 -0
  175. package/v3/model/ParamGroupParameterDiff.d.ts.map +1 -0
  176. package/v3/model/ParamGroupParameterDiff.js +33 -0
  177. package/v3/model/ParamGroupParameterDiff.js.map +1 -0
  178. package/v3/model/ResetConfigurationRequest.d.ts +12 -0
  179. package/v3/model/ResetConfigurationRequest.d.ts.map +1 -0
  180. package/v3/model/ResetConfigurationRequest.js +30 -0
  181. package/v3/model/ResetConfigurationRequest.js.map +1 -0
  182. package/v3/model/ResetConfigurationResponse.d.ts +13 -0
  183. package/v3/model/ResetConfigurationResponse.d.ts.map +1 -0
  184. package/v3/model/ResetConfigurationResponse.js +31 -0
  185. package/v3/model/ResetConfigurationResponse.js.map +1 -0
  186. package/v3/model/RestartDbAgentJobRequest.d.ts +16 -0
  187. package/v3/model/RestartDbAgentJobRequest.d.ts.map +1 -0
  188. package/v3/model/RestartDbAgentJobRequest.js +41 -0
  189. package/v3/model/RestartDbAgentJobRequest.js.map +1 -0
  190. package/v3/model/RestartDbAgentJobResponse.d.ts +5 -0
  191. package/v3/model/RestartDbAgentJobResponse.d.ts.map +1 -0
  192. package/v3/model/RestartDbAgentJobResponse.js +11 -0
  193. package/v3/model/RestartDbAgentJobResponse.js.map +1 -0
  194. package/v3/model/ScheduleEventInfo.d.ts +44 -0
  195. package/v3/model/ScheduleEventInfo.d.ts.map +1 -0
  196. package/v3/model/ScheduleEventInfo.js +114 -0
  197. package/v3/model/ScheduleEventInfo.js.map +1 -0
  198. package/v3/model/ShowAutoCesAlarmRequest.d.ts +10 -0
  199. package/v3/model/ShowAutoCesAlarmRequest.d.ts.map +1 -0
  200. package/v3/model/ShowAutoCesAlarmRequest.js +23 -0
  201. package/v3/model/ShowAutoCesAlarmRequest.js.map +1 -0
  202. package/v3/model/ShowAutoCesAlarmResponse.d.ts +10 -0
  203. package/v3/model/ShowAutoCesAlarmResponse.d.ts.map +1 -0
  204. package/v3/model/ShowAutoCesAlarmResponse.js +19 -0
  205. package/v3/model/ShowAutoCesAlarmResponse.js.map +1 -0
  206. package/v3/model/ShowIntelligentKillSessionStatisticRequest.d.ts +16 -0
  207. package/v3/model/ShowIntelligentKillSessionStatisticRequest.d.ts.map +1 -0
  208. package/v3/model/ShowIntelligentKillSessionStatisticRequest.js +40 -0
  209. package/v3/model/ShowIntelligentKillSessionStatisticRequest.js.map +1 -0
  210. package/v3/model/ShowIntelligentKillSessionStatisticResponse.d.ts +8 -0
  211. package/v3/model/ShowIntelligentKillSessionStatisticResponse.d.ts.map +1 -0
  212. package/v3/model/ShowIntelligentKillSessionStatisticResponse.js +15 -0
  213. package/v3/model/ShowIntelligentKillSessionStatisticResponse.js.map +1 -0
  214. package/v3/model/ShowRebuildSlaveStatusRequest.d.ts +8 -0
  215. package/v3/model/ShowRebuildSlaveStatusRequest.d.ts.map +1 -0
  216. package/v3/model/ShowRebuildSlaveStatusRequest.js +20 -0
  217. package/v3/model/ShowRebuildSlaveStatusRequest.js.map +1 -0
  218. package/v3/model/ShowRebuildSlaveStatusResponse.d.ts +21 -0
  219. package/v3/model/ShowRebuildSlaveStatusResponse.d.ts.map +1 -0
  220. package/v3/model/ShowRebuildSlaveStatusResponse.js +51 -0
  221. package/v3/model/ShowRebuildSlaveStatusResponse.js.map +1 -0
  222. package/v3/model/SwitchDbAgentJobRequest.d.ts +16 -0
  223. package/v3/model/SwitchDbAgentJobRequest.d.ts.map +1 -0
  224. package/v3/model/SwitchDbAgentJobRequest.js +41 -0
  225. package/v3/model/SwitchDbAgentJobRequest.js.map +1 -0
  226. package/v3/model/SwitchDbAgentJobResponse.d.ts +5 -0
  227. package/v3/model/SwitchDbAgentJobResponse.d.ts.map +1 -0
  228. package/v3/model/SwitchDbAgentJobResponse.js +11 -0
  229. package/v3/model/SwitchDbAgentJobResponse.js.map +1 -0
  230. package/v3/model/Table.d.ts +16 -0
  231. package/v3/model/Table.d.ts.map +1 -0
  232. package/v3/model/Table.js +39 -0
  233. package/v3/model/Table.js.map +1 -0
  234. package/v3/model/UpdateStatisticsRequest.d.ts +15 -0
  235. package/v3/model/UpdateStatisticsRequest.d.ts.map +1 -0
  236. package/v3/model/UpdateStatisticsRequest.js +34 -0
  237. package/v3/model/UpdateStatisticsRequest.js.map +1 -0
  238. package/v3/model/UpdateStatisticsRequestBody.d.ts +8 -0
  239. package/v3/model/UpdateStatisticsRequestBody.d.ts.map +1 -0
  240. package/v3/model/UpdateStatisticsRequestBody.js +19 -0
  241. package/v3/model/UpdateStatisticsRequestBody.js.map +1 -0
  242. package/v3/model/UpdateStatisticsResponse.d.ts +7 -0
  243. package/v3/model/UpdateStatisticsResponse.d.ts.map +1 -0
  244. package/v3/model/UpdateStatisticsResponse.js +15 -0
  245. package/v3/model/UpdateStatisticsResponse.js.map +1 -0
  246. package/v3/public-api.d.ts +58 -0
  247. package/v3/public-api.d.ts.map +1 -1
  248. package/v3/public-api.js +58 -0
  249. package/v3/public-api.js.map +1 -1
package/v3/RdsClient.js CHANGED
@@ -9,7 +9,10 @@ const AllowSqlserverDbUserPrivilegeRequest_1 = require("./model/AllowSqlserverDb
9
9
  const ApplyConfigurationAsyncRequest_1 = require("./model/ApplyConfigurationAsyncRequest");
10
10
  const AttachEipRequest_1 = require("./model/AttachEipRequest");
11
11
  const BatchAddMsdtcsRequest_1 = require("./model/BatchAddMsdtcsRequest");
12
+ const BatchDeleteInstanceRequest_1 = require("./model/BatchDeleteInstanceRequest");
12
13
  const BatchDeleteManualBackupRequest_1 = require("./model/BatchDeleteManualBackupRequest");
14
+ const BatchExecuteEventsRequest_1 = require("./model/BatchExecuteEventsRequest");
15
+ const BatchModifyPublicationRequest_1 = require("./model/BatchModifyPublicationRequest");
13
16
  const BatchModifySubscriptionRequest_1 = require("./model/BatchModifySubscriptionRequest");
14
17
  const BatchRestoreDatabaseRequest_1 = require("./model/BatchRestoreDatabaseRequest");
15
18
  const BatchRestorePostgreSqlTablesRequest_1 = require("./model/BatchRestorePostgreSqlTablesRequest");
@@ -25,11 +28,13 @@ const CheckInstanceForUpgradeRequest_1 = require("./model/CheckInstanceForUpgrad
25
28
  const CheckWeakpwdRequest_1 = require("./model/CheckWeakpwdRequest");
26
29
  const CollectPublicationMonitorRequest_1 = require("./model/CollectPublicationMonitorRequest");
27
30
  const CollectSubscriptionMonitorRequest_1 = require("./model/CollectSubscriptionMonitorRequest");
31
+ const CompareConfigurationRequest_1 = require("./model/CompareConfigurationRequest");
28
32
  const CopyConfigurationRequest_1 = require("./model/CopyConfigurationRequest");
29
33
  const CopyDatabaseRequest_1 = require("./model/CopyDatabaseRequest");
30
34
  const CreateConfigurationRequest_1 = require("./model/CreateConfigurationRequest");
31
35
  const CreateDatabaseRequest_1 = require("./model/CreateDatabaseRequest");
32
36
  const CreateDbUserRequest_1 = require("./model/CreateDbUserRequest");
37
+ const CreateDistributionRequest_1 = require("./model/CreateDistributionRequest");
33
38
  const CreateDnsNameRequest_1 = require("./model/CreateDnsNameRequest");
34
39
  const CreateInstanceIam5Request_1 = require("./model/CreateInstanceIam5Request");
35
40
  const CreateInstanceRequest_1 = require("./model/CreateInstanceRequest");
@@ -39,7 +44,9 @@ const CreatePostgresqlDatabaseRequest_1 = require("./model/CreatePostgresqlDatab
39
44
  const CreatePostgresqlDatabaseSchemaRequest_1 = require("./model/CreatePostgresqlDatabaseSchemaRequest");
40
45
  const CreatePostgresqlDbUserRequest_1 = require("./model/CreatePostgresqlDbUserRequest");
41
46
  const CreatePostgresqlExtensionRequest_1 = require("./model/CreatePostgresqlExtensionRequest");
47
+ const CreatePublicationRequest_1 = require("./model/CreatePublicationRequest");
42
48
  const CreateRdSforMySqlProxyRequest_1 = require("./model/CreateRdSforMySqlProxyRequest");
49
+ const CreateRebuildSlaveRequest_1 = require("./model/CreateRebuildSlaveRequest");
43
50
  const CreateRestoreInstanceRequest_1 = require("./model/CreateRestoreInstanceRequest");
44
51
  const CreateSqlLimitRequest_1 = require("./model/CreateSqlLimitRequest");
45
52
  const CreateSqlserverDatabaseRequest_1 = require("./model/CreateSqlserverDatabaseRequest");
@@ -119,6 +126,7 @@ const ListMsdtcHostsRequest_1 = require("./model/ListMsdtcHostsRequest");
119
126
  const ListOffSiteBackupsRequest_1 = require("./model/ListOffSiteBackupsRequest");
120
127
  const ListOffSiteInstancesRequest_1 = require("./model/ListOffSiteInstancesRequest");
121
128
  const ListOffSiteRestoreTimesRequest_1 = require("./model/ListOffSiteRestoreTimesRequest");
129
+ const ListPackLogInfosRequest_1 = require("./model/ListPackLogInfosRequest");
122
130
  const ListPostgresqlDatabaseSchemasRequest_1 = require("./model/ListPostgresqlDatabaseSchemasRequest");
123
131
  const ListPostgresqlDatabasesRequest_1 = require("./model/ListPostgresqlDatabasesRequest");
124
132
  const ListPostgresqlDbUserPaginatedRequest_1 = require("./model/ListPostgresqlDbUserPaginatedRequest");
@@ -134,8 +142,11 @@ const ListRdSforMySqlProxyRequest_1 = require("./model/ListRdSforMySqlProxyReque
134
142
  const ListRdSforMysqlProxyFlavorsRequest_1 = require("./model/ListRdSforMysqlProxyFlavorsRequest");
135
143
  const ListReadOnlyReplayDatabaseRequest_1 = require("./model/ListReadOnlyReplayDatabaseRequest");
136
144
  const ListRecycleInstancesRequest_1 = require("./model/ListRecycleInstancesRequest");
145
+ const ListRemoteDbRequest_1 = require("./model/ListRemoteDbRequest");
146
+ const ListReplicationErrorsRequest_1 = require("./model/ListReplicationErrorsRequest");
137
147
  const ListReplicationProfilesRequest_1 = require("./model/ListReplicationProfilesRequest");
138
148
  const ListRestoreTimesRequest_1 = require("./model/ListRestoreTimesRequest");
149
+ const ListScheduleEventsRequest_1 = require("./model/ListScheduleEventsRequest");
139
150
  const ListScheduleTasksRequest_1 = require("./model/ListScheduleTasksRequest");
140
151
  const ListShareBackupsRequest_1 = require("./model/ListShareBackupsRequest");
141
152
  const ListSimplifiedInstancesRequest_1 = require("./model/ListSimplifiedInstancesRequest");
@@ -162,14 +173,17 @@ const ListVolumeInfoRequest_1 = require("./model/ListVolumeInfoRequest");
162
173
  const ListXellogFilesRequest_1 = require("./model/ListXellogFilesRequest");
163
174
  const MigrateFollowerRequest_1 = require("./model/MigrateFollowerRequest");
164
175
  const ModifyCollationRequest_1 = require("./model/ModifyCollationRequest");
176
+ const ModifyDbAgentJobRequest_1 = require("./model/ModifyDbAgentJobRequest");
165
177
  const ModifyPostgresqlHbaConfRequest_1 = require("./model/ModifyPostgresqlHbaConfRequest");
166
178
  const ModifyPublicationRequest_1 = require("./model/ModifyPublicationRequest");
167
179
  const ModifyRdSforMySqlProxyRouteModeRequest_1 = require("./model/ModifyRdSforMySqlProxyRouteModeRequest");
168
180
  const NotifyReplaceNodeRequest_1 = require("./model/NotifyReplaceNodeRequest");
169
181
  const RefreshPublicationSnapshotRequest_1 = require("./model/RefreshPublicationSnapshotRequest");
170
182
  const RefreshSubscriptionRequest_1 = require("./model/RefreshSubscriptionRequest");
183
+ const ResetConfigurationRequest_1 = require("./model/ResetConfigurationRequest");
171
184
  const ResetPwdRequest_1 = require("./model/ResetPwdRequest");
172
185
  const ResetViewSqlStatisticsRequest_1 = require("./model/ResetViewSqlStatisticsRequest");
186
+ const RestartDbAgentJobRequest_1 = require("./model/RestartDbAgentJobRequest");
173
187
  const RestoreExistInstanceRequest_1 = require("./model/RestoreExistInstanceRequest");
174
188
  const RestoreLogReplayDatabaseRequest_1 = require("./model/RestoreLogReplayDatabaseRequest");
175
189
  const RestoreTablesNewRequest_1 = require("./model/RestoreTablesNewRequest");
@@ -201,6 +215,7 @@ const SetTransferPolicyRequest_1 = require("./model/SetTransferPolicyRequest");
201
215
  const ShowApiVersionRequest_1 = require("./model/ShowApiVersionRequest");
202
216
  const ShowAuditlogDownloadLinkRequest_1 = require("./model/ShowAuditlogDownloadLinkRequest");
203
217
  const ShowAuditlogPolicyRequest_1 = require("./model/ShowAuditlogPolicyRequest");
218
+ const ShowAutoCesAlarmRequest_1 = require("./model/ShowAutoCesAlarmRequest");
204
219
  const ShowAutoEnlargePolicyRequest_1 = require("./model/ShowAutoEnlargePolicyRequest");
205
220
  const ShowAutoUpgradePolicyRequest_1 = require("./model/ShowAutoUpgradePolicyRequest");
206
221
  const ShowAvailableVersionRequest_1 = require("./model/ShowAvailableVersionRequest");
@@ -216,10 +231,12 @@ const ShowIncreBackupPolicy1Request_1 = require("./model/ShowIncreBackupPolicy1R
216
231
  const ShowInformationAboutDatabaseProxyRequest_1 = require("./model/ShowInformationAboutDatabaseProxyRequest");
217
232
  const ShowInstanceConfigurationRequest_1 = require("./model/ShowInstanceConfigurationRequest");
218
233
  const ShowIntelligentKillSessionHistoryRequest_1 = require("./model/ShowIntelligentKillSessionHistoryRequest");
234
+ const ShowIntelligentKillSessionStatisticRequest_1 = require("./model/ShowIntelligentKillSessionStatisticRequest");
219
235
  const ShowOffSiteBackupPolicyRequest_1 = require("./model/ShowOffSiteBackupPolicyRequest");
220
236
  const ShowPostgresqlParamValueRequest_1 = require("./model/ShowPostgresqlParamValueRequest");
221
237
  const ShowPrecheckResultRequest_1 = require("./model/ShowPrecheckResultRequest");
222
238
  const ShowQuotasRequest_1 = require("./model/ShowQuotasRequest");
239
+ const ShowRebuildSlaveStatusRequest_1 = require("./model/ShowRebuildSlaveStatusRequest");
223
240
  const ShowRecoveryTimeWindowRequest_1 = require("./model/ShowRecoveryTimeWindowRequest");
224
241
  const ShowRecyclePolicyRequest_1 = require("./model/ShowRecyclePolicyRequest");
225
242
  const ShowReplayDelayStatusRequest_1 = require("./model/ShowReplayDelayStatusRequest");
@@ -243,6 +260,7 @@ const StartupInstanceRequest_1 = require("./model/StartupInstanceRequest");
243
260
  const StopBackupRequest_1 = require("./model/StopBackupRequest");
244
261
  const StopDatabaseProxyRequest_1 = require("./model/StopDatabaseProxyRequest");
245
262
  const StopInstanceRequest_1 = require("./model/StopInstanceRequest");
263
+ const SwitchDbAgentJobRequest_1 = require("./model/SwitchDbAgentJobRequest");
246
264
  const SwitchLogReplayRequest_1 = require("./model/SwitchLogReplayRequest");
247
265
  const SwitchSqlLimitRequest_1 = require("./model/SwitchSqlLimitRequest");
248
266
  const SwitchSslRequest_1 = require("./model/SwitchSslRequest");
@@ -269,6 +287,7 @@ const UpdatePostgresqlInstanceAliasRequest_1 = require("./model/UpdatePostgresql
269
287
  const UpdatePostgresqlParameterValueRequest_1 = require("./model/UpdatePostgresqlParameterValueRequest");
270
288
  const UpdateReadWeightRequest_1 = require("./model/UpdateReadWeightRequest");
271
289
  const UpdateSqlLimitRequest_1 = require("./model/UpdateSqlLimitRequest");
290
+ const UpdateStatisticsRequest_1 = require("./model/UpdateStatisticsRequest");
272
291
  const UpdateTdeStatusRequest_1 = require("./model/UpdateTdeStatusRequest");
273
292
  const UpdateToPeriodRequest_1 = require("./model/UpdateToPeriodRequest");
274
293
  const UpgradeDbMajorVersionPreCheckRequest_1 = require("./model/UpgradeDbMajorVersionPreCheckRequest");
@@ -341,6 +360,23 @@ class RdsClient {
341
360
  options['responseHeaders'] = [''];
342
361
  return this.hcClient.sendRequest(options);
343
362
  }
363
+ /**
364
+ * 批量删除数据库实例
365
+ *
366
+ * Please refer to HUAWEI cloud API Explorer for details.
367
+ *
368
+ * @summary 批量删除实例
369
+ * @param {MultipleDeleteInsReq} requestBody 批量删除实例请求参数
370
+ * @param {string} [xLanguage] **参数解释**: 请求语言类型。 **约束限制**: 不涉及。 **取值范围**: - en-us - zh-cn **默认取值**: en-us。
371
+ * @param {*} [options] Override http request option.
372
+ * @throws {RequiredError}
373
+ */
374
+ batchDeleteInstance(batchDeleteInstanceRequest) {
375
+ const options = (0, exports.ParamCreater)().batchDeleteInstance(batchDeleteInstanceRequest);
376
+ // @ts-ignore
377
+ options['responseHeaders'] = [''];
378
+ return this.hcClient.sendRequest(options);
379
+ }
344
380
  /**
345
381
  * 批量删除手动备份。
346
382
  *
@@ -358,6 +394,23 @@ class RdsClient {
358
394
  options['responseHeaders'] = [''];
359
395
  return this.hcClient.sendRequest(options);
360
396
  }
397
+ /**
398
+ * 操作EG事件中心通知的事件
399
+ *
400
+ * Please refer to HUAWEI cloud API Explorer for details.
401
+ *
402
+ * @summary 操作EG事件中心通知的事件
403
+ * @param {OperateEventReq} batchExecuteEventsRequestBody 操作事件请求体
404
+ * @param {string} [xLanguage] **参数解释**: 请求语言类型。 **约束限制**: 不涉及。 **取值范围**: - en-us - zh-cn **默认取值**: en-us。
405
+ * @param {*} [options] Override http request option.
406
+ * @throws {RequiredError}
407
+ */
408
+ batchExecuteEvents(batchExecuteEventsRequest) {
409
+ const options = (0, exports.ParamCreater)().batchExecuteEvents(batchExecuteEventsRequest);
410
+ // @ts-ignore
411
+ options['responseHeaders'] = [''];
412
+ return this.hcClient.sendRequest(options);
413
+ }
361
414
  /**
362
415
  * 库级时间点恢复
363
416
  *
@@ -531,6 +584,24 @@ class RdsClient {
531
584
  options['responseHeaders'] = [''];
532
585
  return this.hcClient.sendRequest(options);
533
586
  }
587
+ /**
588
+ * 比较参数模板
589
+ *
590
+ * Please refer to HUAWEI cloud API Explorer for details.
591
+ *
592
+ * @summary 比较参数模板
593
+ * @param {string} contentType **参数解释**: 内容类型。 **约束限制**: 不涉及。 **取值范围**: application/json。 **默认取值**: application/json。
594
+ * @param {string} [xLanguage] **参数解释**: 请求语言类型。 **约束限制**: 不涉及。 **取值范围**: - en-us - zh-cn **默认取值**: en-us。
595
+ * @param {CompareConfigurationRequestBody} [compareConfigurationRequestBody] 比较参数模板请求体。
596
+ * @param {*} [options] Override http request option.
597
+ * @throws {RequiredError}
598
+ */
599
+ compareConfiguration(compareConfigurationRequest) {
600
+ const options = (0, exports.ParamCreater)().compareConfiguration(compareConfigurationRequest);
601
+ // @ts-ignore
602
+ options['responseHeaders'] = [''];
603
+ return this.hcClient.sendRequest(options);
604
+ }
534
605
  /**
535
606
  * 复制参数模板
536
607
  *
@@ -655,6 +726,22 @@ class RdsClient {
655
726
  options['responseHeaders'] = [''];
656
727
  return this.hcClient.sendRequest(options);
657
728
  }
729
+ /**
730
+ * 重建从机,消除复制延迟
731
+ *
732
+ * Please refer to HUAWEI cloud API Explorer for details.
733
+ *
734
+ * @summary 重建从机
735
+ * @param {string} instanceId **参数解释**: 实例ID **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
736
+ * @param {*} [options] Override http request option.
737
+ * @throws {RequiredError}
738
+ */
739
+ createRebuildSlave(createRebuildSlaveRequest) {
740
+ const options = (0, exports.ParamCreater)().createRebuildSlave(createRebuildSlaveRequest);
741
+ // @ts-ignore
742
+ options['responseHeaders'] = [''];
743
+ return this.hcClient.sendRequest(options);
744
+ }
658
745
  /**
659
746
  * 恢复到新实例。
660
747
  *
@@ -1544,6 +1631,25 @@ class RdsClient {
1544
1631
  options['responseHeaders'] = [''];
1545
1632
  return this.hcClient.sendRequest(options);
1546
1633
  }
1634
+ /**
1635
+ * 查询binlog合并下载文件
1636
+ *
1637
+ * Please refer to HUAWEI cloud API Explorer for details.
1638
+ *
1639
+ * @summary 查询binlog合并下载文件
1640
+ * @param {string} instanceId **参数解释**: 实例ID,此参数是实例的唯一标识。 **约束限制**: 不涉及。 **取值范围**: 只能由英文字母、数字组成,长度为36个字符。 **默认取值**: 不涉及。
1641
+ * @param {string} [xLanguage] **参数解释**: 请求语言类型。 **约束限制**: 不涉及。 **取值范围**: - en-us - zh-cn **默认取值**: en-us。
1642
+ * @param {number} [offset] **参数解释**: 索引位置,偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。 **约束限制**: 不涉及。 **取值范围**: 不涉及 **默认取值**: 0
1643
+ * @param {number} [limit] **参数解释**: 查询记录数。默认为10,不能为负数,最小值为1,最大值为100。 **约束限制**: 不涉及。 **取值范围**: 不涉及 **默认取值**: 10
1644
+ * @param {*} [options] Override http request option.
1645
+ * @throws {RequiredError}
1646
+ */
1647
+ listPackLogInfos(listPackLogInfosRequest) {
1648
+ const options = (0, exports.ParamCreater)().listPackLogInfos(listPackLogInfosRequest);
1649
+ // @ts-ignore
1650
+ options['responseHeaders'] = [''];
1651
+ return this.hcClient.sendRequest(options);
1652
+ }
1547
1653
  /**
1548
1654
  * 查询实例的pg_hba.conf文件配置
1549
1655
  *
@@ -1719,6 +1825,30 @@ class RdsClient {
1719
1825
  options['responseHeaders'] = [''];
1720
1826
  return this.hcClient.sendRequest(options);
1721
1827
  }
1828
+ /**
1829
+ * 查询事件列表
1830
+ *
1831
+ * Please refer to HUAWEI cloud API Explorer for details.
1832
+ *
1833
+ * @summary 查询事件列表
1834
+ * @param {string} [id] **参数解释**: 事件ID。 **约束限制**: 不涉及。
1835
+ * @param {string} [instanceId] **参数解释**: 实例ID。 **约束限制**: 不涉及。
1836
+ * @param {string} [status] **参数解释**: 事件状态 **约束限制**: 不涉及。 **取值范围**: 枚举值:WAITING 等待中;INQUIRING 待授权; SCHEDULED 待执行; EXECUTING 执行中; COMPLETED 已完成; FAILED 失败; CANCELED 已取消。
1837
+ * @param {string} [type] **参数解释**: 事件类型 **约束限制**: 不涉及。 **取值范围**: 枚举值:RESTAT_NODE 重启实例节点。
1838
+ * @param {string} [level] **参数解释**: 事件级别 **约束限制**: 不涉及。 **取值范围**: CRITICAL 紧急;MAJOR 重要;MINOR 一般;INFO 提示。
1839
+ * @param {string} [sortField] **参数解释**: 排序字段,支持planned_execution_time、created_time、latest_execution_time。 **约束限制**: 不涉及。
1840
+ * @param {string} [order] **参数解释**: 排序顺序 **约束限制**: 不涉及。 **取值范围**: DESC 降序;ASC升序 **默认取值**: DESC 降序
1841
+ * @param {number} [offset] **参数解释**: 索引位置,偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。 **约束限制**: 不涉及。 **取值范围**: 不涉及 **默认取值**: 0
1842
+ * @param {number} [limit] **参数解释**: 查询记录数。默认为10,不能为负数,最小值为1,最大值为100。 **约束限制**: 不涉及。 **取值范围**: 不涉及 **默认取值**: 10
1843
+ * @param {*} [options] Override http request option.
1844
+ * @throws {RequiredError}
1845
+ */
1846
+ listScheduleEvents(listScheduleEventsRequest) {
1847
+ const options = (0, exports.ParamCreater)().listScheduleEvents(listScheduleEventsRequest);
1848
+ // @ts-ignore
1849
+ options['responseHeaders'] = [''];
1850
+ return this.hcClient.sendRequest(options);
1851
+ }
1722
1852
  /**
1723
1853
  * 查询定时任务列表
1724
1854
  *
@@ -2168,6 +2298,23 @@ class RdsClient {
2168
2298
  options['responseHeaders'] = [''];
2169
2299
  return this.hcClient.sendRequest(options);
2170
2300
  }
2301
+ /**
2302
+ * 重置自定义参数模板
2303
+ *
2304
+ * Please refer to HUAWEI cloud API Explorer for details.
2305
+ *
2306
+ * @summary 重置自定义参数模板
2307
+ * @param {string} configId **参数解释**: 参数模板id。 **约束限制**: 只允许填写自定义参数模板。
2308
+ * @param {string} [xLanguage] **参数解释**: 请求语言类型。 **约束限制**: 不涉及。 **取值范围**: - en-us - zh-cn **默认取值**: en-us。
2309
+ * @param {*} [options] Override http request option.
2310
+ * @throws {RequiredError}
2311
+ */
2312
+ resetConfiguration(resetConfigurationRequest) {
2313
+ const options = (0, exports.ParamCreater)().resetConfiguration(resetConfigurationRequest);
2314
+ // @ts-ignore
2315
+ options['responseHeaders'] = [''];
2316
+ return this.hcClient.sendRequest(options);
2317
+ }
2171
2318
  /**
2172
2319
  * 恢复到已有实例。
2173
2320
  *
@@ -2784,6 +2931,22 @@ class RdsClient {
2784
2931
  options['responseHeaders'] = [''];
2785
2932
  return this.hcClient.sendRequest(options);
2786
2933
  }
2934
+ /**
2935
+ * 查询重建从机的状态
2936
+ *
2937
+ * Please refer to HUAWEI cloud API Explorer for details.
2938
+ *
2939
+ * @summary 查询重建从机状态
2940
+ * @param {string} instanceId **参数解释**: 实例ID **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
2941
+ * @param {*} [options] Override http request option.
2942
+ * @throws {RequiredError}
2943
+ */
2944
+ showRebuildSlaveStatus(showRebuildSlaveStatusRequest) {
2945
+ const options = (0, exports.ParamCreater)().showRebuildSlaveStatus(showRebuildSlaveStatusRequest);
2946
+ // @ts-ignore
2947
+ options['responseHeaders'] = [''];
2948
+ return this.hcClient.sendRequest(options);
2949
+ }
2787
2950
  /**
2788
2951
  * 查询回收站的回收策略。
2789
2952
  *
@@ -4500,6 +4663,8 @@ class RdsClient {
4500
4663
  * @param {string} instanceId 实例ID
4501
4664
  * @param {boolean} newest 指定查询是否应侧重于检索最新或最新的特殊表。
4502
4665
  * @param {string} tableType 表格类型。
4666
+ * @param {string} [offset] 索引位置,偏移量。
4667
+ * @param {string} [limit] 查询记录数。
4503
4668
  * @param {*} [options] Override http request option.
4504
4669
  * @throws {RequiredError}
4505
4670
  */
@@ -4509,6 +4674,23 @@ class RdsClient {
4509
4674
  options['responseHeaders'] = [''];
4510
4675
  return this.hcClient.sendRequest(options);
4511
4676
  }
4677
+ /**
4678
+ * 查询当前用户自动告警配置
4679
+ *
4680
+ * Please refer to HUAWEI cloud API Explorer for details.
4681
+ *
4682
+ * @summary 查询当前用户自动告警配置
4683
+ * @param {string} [engine] **参数解释**: 数据库引擎。 **约束限制**: 不涉及。
4684
+ * @param {string} [xLanguage] **参数解释**: 请求语言类型。 **约束限制**: 不涉及。 **取值范围**: - en-us - zh-cn **默认取值**: en-us。
4685
+ * @param {*} [options] Override http request option.
4686
+ * @throws {RequiredError}
4687
+ */
4688
+ showAutoCesAlarm(showAutoCesAlarmRequest) {
4689
+ const options = (0, exports.ParamCreater)().showAutoCesAlarm(showAutoCesAlarmRequest);
4690
+ // @ts-ignore
4691
+ options['responseHeaders'] = [''];
4692
+ return this.hcClient.sendRequest(options);
4693
+ }
4512
4694
  /**
4513
4695
  * 查询一键kill会话历史
4514
4696
  *
@@ -4529,6 +4711,24 @@ class RdsClient {
4529
4711
  options['responseHeaders'] = [''];
4530
4712
  return this.hcClient.sendRequest(options);
4531
4713
  }
4714
+ /**
4715
+ * 查询一键kill会话实时统计信息
4716
+ *
4717
+ * Please refer to HUAWEI cloud API Explorer for details.
4718
+ *
4719
+ * @summary 查询一键kill会话实时统计信息
4720
+ * @param {string} instanceId **参数解释**: 实例ID,此参数是实例的唯一标识。 **约束限制**: 不涉及。
4721
+ * @param {string} [xLanguage] **参数解释**: 请求语言类型。 **约束限制**: 不涉及。 **取值范围**: - en-us - zh-cn **默认取值**: en-us。
4722
+ * @param {string} [nodeId] **参数解释**: 节点ID。 **约束限制**: 只有当实例为集群版时该参数有效。
4723
+ * @param {*} [options] Override http request option.
4724
+ * @throws {RequiredError}
4725
+ */
4726
+ showIntelligentKillSessionStatistic(showIntelligentKillSessionStatisticRequest) {
4727
+ const options = (0, exports.ParamCreater)().showIntelligentKillSessionStatistic(showIntelligentKillSessionStatisticRequest);
4728
+ // @ts-ignore
4729
+ options['responseHeaders'] = [''];
4730
+ return this.hcClient.sendRequest(options);
4731
+ }
4532
4732
  /**
4533
4733
  * 授权数据库帐号。
4534
4734
  *
@@ -4564,6 +4764,23 @@ class RdsClient {
4564
4764
  options['responseHeaders'] = [''];
4565
4765
  return this.hcClient.sendRequest(options);
4566
4766
  }
4767
+ /**
4768
+ * 批量修改发布。只支持批量修改快照策略
4769
+ *
4770
+ * Please refer to HUAWEI cloud API Explorer for details.
4771
+ *
4772
+ * @summary 批量修改发布
4773
+ * @param {string} instanceId 实例ID
4774
+ * @param {BatchModifyPublicationsRequestBody} batchModifyPublicationRequestBody 批量修改发布请求体。
4775
+ * @param {*} [options] Override http request option.
4776
+ * @throws {RequiredError}
4777
+ */
4778
+ batchModifyPublication(batchModifyPublicationRequest) {
4779
+ const options = (0, exports.ParamCreater)().batchModifyPublication(batchModifyPublicationRequest);
4780
+ // @ts-ignore
4781
+ options['responseHeaders'] = [''];
4782
+ return this.hcClient.sendRequest(options);
4783
+ }
4567
4784
  /**
4568
4785
  * 批量修改订阅
4569
4786
  *
@@ -4635,6 +4852,40 @@ class RdsClient {
4635
4852
  options['responseHeaders'] = [''];
4636
4853
  return this.hcClient.sendRequest(options);
4637
4854
  }
4855
+ /**
4856
+ * 给当前实例配置分发服务器
4857
+ *
4858
+ * Please refer to HUAWEI cloud API Explorer for details.
4859
+ *
4860
+ * @summary 给当前实例配置分发服务器
4861
+ * @param {string} instanceId 实例ID
4862
+ * @param {CreateDistributionRequestBody} createDistributionRequestBody 给当前实例配置分发服务器请求体。
4863
+ * @param {*} [options] Override http request option.
4864
+ * @throws {RequiredError}
4865
+ */
4866
+ createDistribution(createDistributionRequest) {
4867
+ const options = (0, exports.ParamCreater)().createDistribution(createDistributionRequest);
4868
+ // @ts-ignore
4869
+ options['responseHeaders'] = [''];
4870
+ return this.hcClient.sendRequest(options);
4871
+ }
4872
+ /**
4873
+ * 创建发布
4874
+ *
4875
+ * Please refer to HUAWEI cloud API Explorer for details.
4876
+ *
4877
+ * @summary 创建发布
4878
+ * @param {string} instanceId 实例ID
4879
+ * @param {CreatePublicationsRequestBody} createPublicationRequestBody 创建发布请求体。
4880
+ * @param {*} [options] Override http request option.
4881
+ * @throws {RequiredError}
4882
+ */
4883
+ createPublication(createPublicationRequest) {
4884
+ const options = (0, exports.ParamCreater)().createPublication(createPublicationRequest);
4885
+ // @ts-ignore
4886
+ options['responseHeaders'] = [''];
4887
+ return this.hcClient.sendRequest(options);
4888
+ }
4638
4889
  /**
4639
4890
  * 创建数据库。
4640
4891
  *
@@ -5028,6 +5279,42 @@ class RdsClient {
5028
5279
  options['responseHeaders'] = [''];
5029
5280
  return this.hcClient.sendRequest(options);
5030
5281
  }
5282
+ /**
5283
+ * 查询远程SQL Server数据库列表
5284
+ *
5285
+ * Please refer to HUAWEI cloud API Explorer for details.
5286
+ *
5287
+ * @summary 查询远程SQL Server数据库列表
5288
+ * @param {string} instanceId 实例ID
5289
+ * @param {ListRemoteDbRequestBody} [listRemoteDbRequestBody] 实例ID
5290
+ * @param {*} [options] Override http request option.
5291
+ * @throws {RequiredError}
5292
+ */
5293
+ listRemoteDb(listRemoteDbRequest) {
5294
+ const options = (0, exports.ParamCreater)().listRemoteDb(listRemoteDbRequest);
5295
+ // @ts-ignore
5296
+ options['responseHeaders'] = [''];
5297
+ return this.hcClient.sendRequest(options);
5298
+ }
5299
+ /**
5300
+ * 查询发布订阅报错列表
5301
+ *
5302
+ * Please refer to HUAWEI cloud API Explorer for details.
5303
+ *
5304
+ * @summary 查询发布订阅报错列表
5305
+ * @param {string} instanceId 实例ID。
5306
+ * @param {string} [subscriptionId] 订阅id。 若该参数为空,则查询当前实例作为分发服务器时,分发下的所有报错信息。 若该参数不为空,则查询该订阅的所有报错信息。
5307
+ * @param {number} [offset] 索引位置,偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。
5308
+ * @param {number} [limit] 查询记录数。默认为10,不能为负数,最小值为1,最大值为100。
5309
+ * @param {*} [options] Override http request option.
5310
+ * @throws {RequiredError}
5311
+ */
5312
+ listReplicationErrors(listReplicationErrorsRequest) {
5313
+ const options = (0, exports.ParamCreater)().listReplicationErrors(listReplicationErrorsRequest);
5314
+ // @ts-ignore
5315
+ options['responseHeaders'] = [''];
5316
+ return this.hcClient.sendRequest(options);
5317
+ }
5031
5318
  /**
5032
5319
  * 查询发布订阅配置文件列表。
5033
5320
  *
@@ -5096,8 +5383,8 @@ class RdsClient {
5096
5383
  * @summary 查询可配置为当前实例订阅服务器的实例列表
5097
5384
  * @param {string} instanceId 实例ID
5098
5385
  * @param {string} [xLanguage] 语言。默认en-us。
5099
- * @param {string} [subscriberInstanceId] 实例ID
5100
- * @param {string} [subscriberInstanceName] 实例名
5386
+ * @param {string} [subscriberInstanceId] 订阅实例ID
5387
+ * @param {string} [subscriberInstanceName] 订阅实例名
5101
5388
  * @param {number} [offset] 索引位置,偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。
5102
5389
  * @param {number} [limit] 查询记录数。默认为10,不能为负数,最小值为1,最大值为100。
5103
5390
  * @param {*} [options] Override http request option.
@@ -5150,6 +5437,25 @@ class RdsClient {
5150
5437
  options['responseHeaders'] = [''];
5151
5438
  return this.hcClient.sendRequest(options);
5152
5439
  }
5440
+ /**
5441
+ * 修改数据库代理作业。
5442
+ *
5443
+ * Please refer to HUAWEI cloud API Explorer for details.
5444
+ *
5445
+ * @summary 修改数据库代理作业
5446
+ * @param {string} instanceId 实例ID
5447
+ * @param {string} jobId 作业ID
5448
+ * @param {ModifyDbAgentJobRequestBody} modifyDbAgentJobRequestBody 修改数据库代理作业请求体。
5449
+ * @param {string} [xLanguage] 语言。默认en-us。
5450
+ * @param {*} [options] Override http request option.
5451
+ * @throws {RequiredError}
5452
+ */
5453
+ modifyDbAgentJob(modifyDbAgentJobRequest) {
5454
+ const options = (0, exports.ParamCreater)().modifyDbAgentJob(modifyDbAgentJobRequest);
5455
+ // @ts-ignore
5456
+ options['responseHeaders'] = [''];
5457
+ return this.hcClient.sendRequest(options);
5458
+ }
5153
5459
  /**
5154
5460
  * 修改发布
5155
5461
  *
@@ -5205,6 +5511,24 @@ class RdsClient {
5205
5511
  options['responseHeaders'] = [''];
5206
5512
  return this.hcClient.sendRequest(options);
5207
5513
  }
5514
+ /**
5515
+ * 重启数据库代理作业。
5516
+ *
5517
+ * Please refer to HUAWEI cloud API Explorer for details.
5518
+ *
5519
+ * @summary 重启数据库代理作业
5520
+ * @param {string} instanceId 实例ID
5521
+ * @param {string} jobId 作业ID
5522
+ * @param {string} [xLanguage] 语言。
5523
+ * @param {*} [options] Override http request option.
5524
+ * @throws {RequiredError}
5525
+ */
5526
+ restartDbAgentJob(restartDbAgentJobRequest) {
5527
+ const options = (0, exports.ParamCreater)().restartDbAgentJob(restartDbAgentJobRequest);
5528
+ // @ts-ignore
5529
+ options['responseHeaders'] = [''];
5530
+ return this.hcClient.sendRequest(options);
5531
+ }
5208
5532
  /**
5209
5533
  * 解除数据库帐号权限。
5210
5534
  *
@@ -5257,6 +5581,24 @@ class RdsClient {
5257
5581
  options['responseHeaders'] = [''];
5258
5582
  return this.hcClient.sendRequest(options);
5259
5583
  }
5584
+ /**
5585
+ * 禁用启动切换数据库代理作业。
5586
+ *
5587
+ * Please refer to HUAWEI cloud API Explorer for details.
5588
+ *
5589
+ * @summary 禁用启动切换数据库代理作业
5590
+ * @param {string} instanceId 实例ID
5591
+ * @param {string} jobId 作业ID
5592
+ * @param {string} [xLanguage] 语言。默认en-us。
5593
+ * @param {*} [options] Override http request option.
5594
+ * @throws {RequiredError}
5595
+ */
5596
+ switchDbAgentJob(switchDbAgentJobRequest) {
5597
+ const options = (0, exports.ParamCreater)().switchDbAgentJob(switchDbAgentJobRequest);
5598
+ // @ts-ignore
5599
+ options['responseHeaders'] = [''];
5600
+ return this.hcClient.sendRequest(options);
5601
+ }
5260
5602
  /**
5261
5603
  * 同步发布订阅元数据。
5262
5604
  *
@@ -5274,6 +5616,24 @@ class RdsClient {
5274
5616
  options['responseHeaders'] = [''];
5275
5617
  return this.hcClient.sendRequest(options);
5276
5618
  }
5619
+ /**
5620
+ * 更新统计信息
5621
+ *
5622
+ * Please refer to HUAWEI cloud API Explorer for details.
5623
+ *
5624
+ * @summary 更新统计信息
5625
+ * @param {string} instanceId 实例ID
5626
+ * @param {UpdateStatisticsRequestBody} updateStatisticsRequestBody 更新统计信息
5627
+ * @param {string} [xLanguage] 语言
5628
+ * @param {*} [options] Override http request option.
5629
+ * @throws {RequiredError}
5630
+ */
5631
+ updateStatistics(updateStatisticsRequest) {
5632
+ const options = (0, exports.ParamCreater)().updateStatistics(updateStatisticsRequest);
5633
+ // @ts-ignore
5634
+ options['responseHeaders'] = [''];
5635
+ return this.hcClient.sendRequest(options);
5636
+ }
5277
5637
  /**
5278
5638
  * RDS for SQL Server实例间或与远程SQL Server数据库的连通性测试
5279
5639
  *
@@ -5460,14 +5820,14 @@ const ParamCreater = function () {
5460
5820
  return options;
5461
5821
  },
5462
5822
  /**
5463
- * 批量删除手动备份。
5823
+ * 批量删除数据库实例
5464
5824
  *
5465
5825
  * Please refer to HUAWEI cloud API Explorer for details.
5466
5826
  */
5467
- batchDeleteManualBackup(batchDeleteManualBackupRequest) {
5827
+ batchDeleteInstance(batchDeleteInstanceRequest) {
5468
5828
  const options = {
5469
5829
  method: "POST",
5470
- url: "/v3/{project_id}/backups/batch-delete",
5830
+ url: "/v3/{project_id}/instances/batch-delete",
5471
5831
  contentType: "application/json",
5472
5832
  queryParams: {},
5473
5833
  pathParams: {},
@@ -5477,14 +5837,14 @@ const ParamCreater = function () {
5477
5837
  const localVarHeaderParameter = {};
5478
5838
  let body;
5479
5839
  let xLanguage;
5480
- if (batchDeleteManualBackupRequest !== null && batchDeleteManualBackupRequest !== undefined) {
5481
- if (batchDeleteManualBackupRequest instanceof BatchDeleteManualBackupRequest_1.BatchDeleteManualBackupRequest) {
5482
- body = batchDeleteManualBackupRequest.body;
5483
- xLanguage = batchDeleteManualBackupRequest.xLanguage;
5840
+ if (batchDeleteInstanceRequest !== null && batchDeleteInstanceRequest !== undefined) {
5841
+ if (batchDeleteInstanceRequest instanceof BatchDeleteInstanceRequest_1.BatchDeleteInstanceRequest) {
5842
+ body = batchDeleteInstanceRequest.body;
5843
+ xLanguage = batchDeleteInstanceRequest.xLanguage;
5484
5844
  }
5485
5845
  else {
5486
- body = batchDeleteManualBackupRequest['body'];
5487
- xLanguage = batchDeleteManualBackupRequest['X-Language'];
5846
+ body = batchDeleteInstanceRequest['body'];
5847
+ xLanguage = batchDeleteInstanceRequest['X-Language'];
5488
5848
  }
5489
5849
  }
5490
5850
  if (body === null || body === undefined) {
@@ -5499,14 +5859,14 @@ const ParamCreater = function () {
5499
5859
  return options;
5500
5860
  },
5501
5861
  /**
5502
- * 库级时间点恢复
5862
+ * 批量删除手动备份。
5503
5863
  *
5504
5864
  * Please refer to HUAWEI cloud API Explorer for details.
5505
5865
  */
5506
- batchRestoreDatabase(batchRestoreDatabaseRequest) {
5866
+ batchDeleteManualBackup(batchDeleteManualBackupRequest) {
5507
5867
  const options = {
5508
5868
  method: "POST",
5509
- url: "/v3/{project_id}/instances/batch/restore/databases",
5869
+ url: "/v3/{project_id}/backups/batch-delete",
5510
5870
  contentType: "application/json",
5511
5871
  queryParams: {},
5512
5872
  pathParams: {},
@@ -5515,12 +5875,90 @@ const ParamCreater = function () {
5515
5875
  };
5516
5876
  const localVarHeaderParameter = {};
5517
5877
  let body;
5518
- if (batchRestoreDatabaseRequest !== null && batchRestoreDatabaseRequest !== undefined) {
5519
- if (batchRestoreDatabaseRequest instanceof BatchRestoreDatabaseRequest_1.BatchRestoreDatabaseRequest) {
5520
- body = batchRestoreDatabaseRequest.body;
5521
- }
5522
- else {
5523
- body = batchRestoreDatabaseRequest['body'];
5878
+ let xLanguage;
5879
+ if (batchDeleteManualBackupRequest !== null && batchDeleteManualBackupRequest !== undefined) {
5880
+ if (batchDeleteManualBackupRequest instanceof BatchDeleteManualBackupRequest_1.BatchDeleteManualBackupRequest) {
5881
+ body = batchDeleteManualBackupRequest.body;
5882
+ xLanguage = batchDeleteManualBackupRequest.xLanguage;
5883
+ }
5884
+ else {
5885
+ body = batchDeleteManualBackupRequest['body'];
5886
+ xLanguage = batchDeleteManualBackupRequest['X-Language'];
5887
+ }
5888
+ }
5889
+ if (body === null || body === undefined) {
5890
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
5891
+ }
5892
+ if (xLanguage !== undefined && xLanguage !== null) {
5893
+ localVarHeaderParameter['X-Language'] = String(xLanguage);
5894
+ }
5895
+ localVarHeaderParameter['Content-Type'] = 'application/json';
5896
+ options.data = body !== undefined ? body : {};
5897
+ options.headers = localVarHeaderParameter;
5898
+ return options;
5899
+ },
5900
+ /**
5901
+ * 操作EG事件中心通知的事件
5902
+ *
5903
+ * Please refer to HUAWEI cloud API Explorer for details.
5904
+ */
5905
+ batchExecuteEvents(batchExecuteEventsRequest) {
5906
+ const options = {
5907
+ method: "POST",
5908
+ url: "/v3/{project_id}/schedule-events",
5909
+ contentType: "application/json",
5910
+ queryParams: {},
5911
+ pathParams: {},
5912
+ headers: {},
5913
+ data: {}
5914
+ };
5915
+ const localVarHeaderParameter = {};
5916
+ let body;
5917
+ let xLanguage;
5918
+ if (batchExecuteEventsRequest !== null && batchExecuteEventsRequest !== undefined) {
5919
+ if (batchExecuteEventsRequest instanceof BatchExecuteEventsRequest_1.BatchExecuteEventsRequest) {
5920
+ body = batchExecuteEventsRequest.body;
5921
+ xLanguage = batchExecuteEventsRequest.xLanguage;
5922
+ }
5923
+ else {
5924
+ body = batchExecuteEventsRequest['body'];
5925
+ xLanguage = batchExecuteEventsRequest['X-Language'];
5926
+ }
5927
+ }
5928
+ if (body === null || body === undefined) {
5929
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
5930
+ }
5931
+ if (xLanguage !== undefined && xLanguage !== null) {
5932
+ localVarHeaderParameter['X-Language'] = String(xLanguage);
5933
+ }
5934
+ localVarHeaderParameter['Content-Type'] = 'application/json';
5935
+ options.data = body !== undefined ? body : {};
5936
+ options.headers = localVarHeaderParameter;
5937
+ return options;
5938
+ },
5939
+ /**
5940
+ * 库级时间点恢复
5941
+ *
5942
+ * Please refer to HUAWEI cloud API Explorer for details.
5943
+ */
5944
+ batchRestoreDatabase(batchRestoreDatabaseRequest) {
5945
+ const options = {
5946
+ method: "POST",
5947
+ url: "/v3/{project_id}/instances/batch/restore/databases",
5948
+ contentType: "application/json",
5949
+ queryParams: {},
5950
+ pathParams: {},
5951
+ headers: {},
5952
+ data: {}
5953
+ };
5954
+ const localVarHeaderParameter = {};
5955
+ let body;
5956
+ if (batchRestoreDatabaseRequest !== null && batchRestoreDatabaseRequest !== undefined) {
5957
+ if (batchRestoreDatabaseRequest instanceof BatchRestoreDatabaseRequest_1.BatchRestoreDatabaseRequest) {
5958
+ body = batchRestoreDatabaseRequest.body;
5959
+ }
5960
+ else {
5961
+ body = batchRestoreDatabaseRequest['body'];
5524
5962
  }
5525
5963
  }
5526
5964
  if (body === null || body === undefined) {
@@ -5906,6 +6344,48 @@ const ParamCreater = function () {
5906
6344
  options.headers = localVarHeaderParameter;
5907
6345
  return options;
5908
6346
  },
6347
+ /**
6348
+ * 比较参数模板
6349
+ *
6350
+ * Please refer to HUAWEI cloud API Explorer for details.
6351
+ */
6352
+ compareConfiguration(compareConfigurationRequest) {
6353
+ const options = {
6354
+ method: "PUT",
6355
+ url: "/v3/{project_id}/configurations/difference",
6356
+ contentType: "application/json",
6357
+ queryParams: {},
6358
+ pathParams: {},
6359
+ headers: {},
6360
+ data: {}
6361
+ };
6362
+ const localVarHeaderParameter = {};
6363
+ let body;
6364
+ let contentType;
6365
+ let xLanguage;
6366
+ if (compareConfigurationRequest !== null && compareConfigurationRequest !== undefined) {
6367
+ if (compareConfigurationRequest instanceof CompareConfigurationRequest_1.CompareConfigurationRequest) {
6368
+ contentType = compareConfigurationRequest.contentType;
6369
+ xLanguage = compareConfigurationRequest.xLanguage;
6370
+ body = compareConfigurationRequest.body;
6371
+ }
6372
+ else {
6373
+ contentType = compareConfigurationRequest['Content-Type'];
6374
+ xLanguage = compareConfigurationRequest['X-Language'];
6375
+ body = compareConfigurationRequest['body'];
6376
+ }
6377
+ }
6378
+ if (contentType !== undefined && contentType !== null) {
6379
+ localVarHeaderParameter['Content-Type'] = String(contentType);
6380
+ }
6381
+ if (xLanguage !== undefined && xLanguage !== null) {
6382
+ localVarHeaderParameter['X-Language'] = String(xLanguage);
6383
+ }
6384
+ localVarHeaderParameter['Content-Type'] = 'application/json';
6385
+ options.data = body !== undefined ? body : {};
6386
+ options.headers = localVarHeaderParameter;
6387
+ return options;
6388
+ },
5909
6389
  /**
5910
6390
  * 复制参数模板
5911
6391
  *
@@ -6209,6 +6689,37 @@ const ParamCreater = function () {
6209
6689
  options.headers = localVarHeaderParameter;
6210
6690
  return options;
6211
6691
  },
6692
+ /**
6693
+ * 重建从机,消除复制延迟
6694
+ *
6695
+ * Please refer to HUAWEI cloud API Explorer for details.
6696
+ */
6697
+ createRebuildSlave(createRebuildSlaveRequest) {
6698
+ const options = {
6699
+ method: "PUT",
6700
+ url: "/v3/{project_id}/instances/{instance_id}/rebuild",
6701
+ contentType: "application/json",
6702
+ queryParams: {},
6703
+ pathParams: {},
6704
+ headers: {}
6705
+ };
6706
+ const localVarHeaderParameter = {};
6707
+ let instanceId;
6708
+ if (createRebuildSlaveRequest !== null && createRebuildSlaveRequest !== undefined) {
6709
+ if (createRebuildSlaveRequest instanceof CreateRebuildSlaveRequest_1.CreateRebuildSlaveRequest) {
6710
+ instanceId = createRebuildSlaveRequest.instanceId;
6711
+ }
6712
+ else {
6713
+ instanceId = createRebuildSlaveRequest['instance_id'];
6714
+ }
6715
+ }
6716
+ if (instanceId === null || instanceId === undefined) {
6717
+ throw new RequiredError('instanceId', 'Required parameter instanceId was null or undefined when calling createRebuildSlave.');
6718
+ }
6719
+ options.pathParams = { 'instance_id': instanceId, };
6720
+ options.headers = localVarHeaderParameter;
6721
+ return options;
6722
+ },
6212
6723
  /**
6213
6724
  * 恢复到新实例。
6214
6725
  *
@@ -8599,6 +9110,57 @@ const ParamCreater = function () {
8599
9110
  options.headers = localVarHeaderParameter;
8600
9111
  return options;
8601
9112
  },
9113
+ /**
9114
+ * 查询binlog合并下载文件
9115
+ *
9116
+ * Please refer to HUAWEI cloud API Explorer for details.
9117
+ */
9118
+ listPackLogInfos(listPackLogInfosRequest) {
9119
+ const options = {
9120
+ method: "GET",
9121
+ url: "/v3/{project_id}/instances/{instance_id}/packlog/infos",
9122
+ contentType: "application/json",
9123
+ queryParams: {},
9124
+ pathParams: {},
9125
+ headers: {}
9126
+ };
9127
+ const localVarHeaderParameter = {};
9128
+ const localVarQueryParameter = {};
9129
+ let instanceId;
9130
+ let xLanguage;
9131
+ let offset;
9132
+ let limit;
9133
+ if (listPackLogInfosRequest !== null && listPackLogInfosRequest !== undefined) {
9134
+ if (listPackLogInfosRequest instanceof ListPackLogInfosRequest_1.ListPackLogInfosRequest) {
9135
+ instanceId = listPackLogInfosRequest.instanceId;
9136
+ xLanguage = listPackLogInfosRequest.xLanguage;
9137
+ offset = listPackLogInfosRequest.offset;
9138
+ limit = listPackLogInfosRequest.limit;
9139
+ }
9140
+ else {
9141
+ instanceId = listPackLogInfosRequest['instance_id'];
9142
+ xLanguage = listPackLogInfosRequest['X-Language'];
9143
+ offset = listPackLogInfosRequest['offset'];
9144
+ limit = listPackLogInfosRequest['limit'];
9145
+ }
9146
+ }
9147
+ if (instanceId === null || instanceId === undefined) {
9148
+ throw new RequiredError('instanceId', 'Required parameter instanceId was null or undefined when calling listPackLogInfos.');
9149
+ }
9150
+ if (offset !== null && offset !== undefined) {
9151
+ localVarQueryParameter['offset'] = offset;
9152
+ }
9153
+ if (limit !== null && limit !== undefined) {
9154
+ localVarQueryParameter['limit'] = limit;
9155
+ }
9156
+ if (xLanguage !== undefined && xLanguage !== null) {
9157
+ localVarHeaderParameter['X-Language'] = String(xLanguage);
9158
+ }
9159
+ options.queryParams = localVarQueryParameter;
9160
+ options.pathParams = { 'instance_id': instanceId, };
9161
+ options.headers = localVarHeaderParameter;
9162
+ return options;
9163
+ },
8602
9164
  /**
8603
9165
  * 查询实例的pg_hba.conf文件配置
8604
9166
  *
@@ -9008,6 +9570,86 @@ const ParamCreater = function () {
9008
9570
  options.headers = localVarHeaderParameter;
9009
9571
  return options;
9010
9572
  },
9573
+ /**
9574
+ * 查询事件列表
9575
+ *
9576
+ * Please refer to HUAWEI cloud API Explorer for details.
9577
+ */
9578
+ listScheduleEvents(listScheduleEventsRequest) {
9579
+ const options = {
9580
+ method: "GET",
9581
+ url: "/v3/{project_id}/schedule-events",
9582
+ contentType: "application/json",
9583
+ queryParams: {},
9584
+ pathParams: {},
9585
+ headers: {}
9586
+ };
9587
+ const localVarHeaderParameter = {};
9588
+ const localVarQueryParameter = {};
9589
+ let id;
9590
+ let instanceId;
9591
+ let status;
9592
+ let type;
9593
+ let level;
9594
+ let sortField;
9595
+ let order;
9596
+ let offset;
9597
+ let limit;
9598
+ if (listScheduleEventsRequest !== null && listScheduleEventsRequest !== undefined) {
9599
+ if (listScheduleEventsRequest instanceof ListScheduleEventsRequest_1.ListScheduleEventsRequest) {
9600
+ id = listScheduleEventsRequest.id;
9601
+ instanceId = listScheduleEventsRequest.instanceId;
9602
+ status = listScheduleEventsRequest.status;
9603
+ type = listScheduleEventsRequest.type;
9604
+ level = listScheduleEventsRequest.level;
9605
+ sortField = listScheduleEventsRequest.sortField;
9606
+ order = listScheduleEventsRequest.order;
9607
+ offset = listScheduleEventsRequest.offset;
9608
+ limit = listScheduleEventsRequest.limit;
9609
+ }
9610
+ else {
9611
+ id = listScheduleEventsRequest['id'];
9612
+ instanceId = listScheduleEventsRequest['instance_id'];
9613
+ status = listScheduleEventsRequest['status'];
9614
+ type = listScheduleEventsRequest['type'];
9615
+ level = listScheduleEventsRequest['level'];
9616
+ sortField = listScheduleEventsRequest['sort_field'];
9617
+ order = listScheduleEventsRequest['order'];
9618
+ offset = listScheduleEventsRequest['offset'];
9619
+ limit = listScheduleEventsRequest['limit'];
9620
+ }
9621
+ }
9622
+ if (id !== null && id !== undefined) {
9623
+ localVarQueryParameter['id'] = id;
9624
+ }
9625
+ if (instanceId !== null && instanceId !== undefined) {
9626
+ localVarQueryParameter['instance_id'] = instanceId;
9627
+ }
9628
+ if (status !== null && status !== undefined) {
9629
+ localVarQueryParameter['status'] = status;
9630
+ }
9631
+ if (type !== null && type !== undefined) {
9632
+ localVarQueryParameter['type'] = type;
9633
+ }
9634
+ if (level !== null && level !== undefined) {
9635
+ localVarQueryParameter['level'] = level;
9636
+ }
9637
+ if (sortField !== null && sortField !== undefined) {
9638
+ localVarQueryParameter['sort_field'] = sortField;
9639
+ }
9640
+ if (order !== null && order !== undefined) {
9641
+ localVarQueryParameter['order'] = order;
9642
+ }
9643
+ if (offset !== null && offset !== undefined) {
9644
+ localVarQueryParameter['offset'] = offset;
9645
+ }
9646
+ if (limit !== null && limit !== undefined) {
9647
+ localVarQueryParameter['limit'] = limit;
9648
+ }
9649
+ options.queryParams = localVarQueryParameter;
9650
+ options.headers = localVarHeaderParameter;
9651
+ return options;
9652
+ },
9011
9653
  /**
9012
9654
  * 查询定时任务列表
9013
9655
  *
@@ -10275,6 +10917,43 @@ const ParamCreater = function () {
10275
10917
  options.headers = localVarHeaderParameter;
10276
10918
  return options;
10277
10919
  },
10920
+ /**
10921
+ * 重置自定义参数模板
10922
+ *
10923
+ * Please refer to HUAWEI cloud API Explorer for details.
10924
+ */
10925
+ resetConfiguration(resetConfigurationRequest) {
10926
+ const options = {
10927
+ method: "PUT",
10928
+ url: "/v3/{project_id}/configurations/{config_id}/reset",
10929
+ contentType: "application/json",
10930
+ queryParams: {},
10931
+ pathParams: {},
10932
+ headers: {}
10933
+ };
10934
+ const localVarHeaderParameter = {};
10935
+ let configId;
10936
+ let xLanguage;
10937
+ if (resetConfigurationRequest !== null && resetConfigurationRequest !== undefined) {
10938
+ if (resetConfigurationRequest instanceof ResetConfigurationRequest_1.ResetConfigurationRequest) {
10939
+ configId = resetConfigurationRequest.configId;
10940
+ xLanguage = resetConfigurationRequest.xLanguage;
10941
+ }
10942
+ else {
10943
+ configId = resetConfigurationRequest['config_id'];
10944
+ xLanguage = resetConfigurationRequest['X-Language'];
10945
+ }
10946
+ }
10947
+ if (configId === null || configId === undefined) {
10948
+ throw new RequiredError('configId', 'Required parameter configId was null or undefined when calling resetConfiguration.');
10949
+ }
10950
+ if (xLanguage !== undefined && xLanguage !== null) {
10951
+ localVarHeaderParameter['X-Language'] = String(xLanguage);
10952
+ }
10953
+ options.pathParams = { 'config_id': configId, };
10954
+ options.headers = localVarHeaderParameter;
10955
+ return options;
10956
+ },
10278
10957
  /**
10279
10958
  * 恢复到已有实例。
10280
10959
  *
@@ -11738,24 +12417,55 @@ const ParamCreater = function () {
11738
12417
  return options;
11739
12418
  },
11740
12419
  /**
11741
- * 查询回收站的回收策略。
12420
+ * 查询重建从机的状态
11742
12421
  *
11743
12422
  * Please refer to HUAWEI cloud API Explorer for details.
11744
12423
  */
11745
- showRecyclePolicy(showRecyclePolicyRequest) {
12424
+ showRebuildSlaveStatus(showRebuildSlaveStatusRequest) {
11746
12425
  const options = {
11747
12426
  method: "GET",
11748
- url: "/v3/{project_id}/instances/recycle-policy",
12427
+ url: "/v3/{project_id}/instances/{instance_id}/rebuild",
11749
12428
  contentType: "application/json",
11750
12429
  queryParams: {},
11751
12430
  pathParams: {},
11752
12431
  headers: {}
11753
12432
  };
11754
12433
  const localVarHeaderParameter = {};
11755
- let xLanguage;
11756
- if (showRecyclePolicyRequest !== null && showRecyclePolicyRequest !== undefined) {
11757
- if (showRecyclePolicyRequest instanceof ShowRecyclePolicyRequest_1.ShowRecyclePolicyRequest) {
11758
- xLanguage = showRecyclePolicyRequest.xLanguage;
12434
+ let instanceId;
12435
+ if (showRebuildSlaveStatusRequest !== null && showRebuildSlaveStatusRequest !== undefined) {
12436
+ if (showRebuildSlaveStatusRequest instanceof ShowRebuildSlaveStatusRequest_1.ShowRebuildSlaveStatusRequest) {
12437
+ instanceId = showRebuildSlaveStatusRequest.instanceId;
12438
+ }
12439
+ else {
12440
+ instanceId = showRebuildSlaveStatusRequest['instance_id'];
12441
+ }
12442
+ }
12443
+ if (instanceId === null || instanceId === undefined) {
12444
+ throw new RequiredError('instanceId', 'Required parameter instanceId was null or undefined when calling showRebuildSlaveStatus.');
12445
+ }
12446
+ options.pathParams = { 'instance_id': instanceId, };
12447
+ options.headers = localVarHeaderParameter;
12448
+ return options;
12449
+ },
12450
+ /**
12451
+ * 查询回收站的回收策略。
12452
+ *
12453
+ * Please refer to HUAWEI cloud API Explorer for details.
12454
+ */
12455
+ showRecyclePolicy(showRecyclePolicyRequest) {
12456
+ const options = {
12457
+ method: "GET",
12458
+ url: "/v3/{project_id}/instances/recycle-policy",
12459
+ contentType: "application/json",
12460
+ queryParams: {},
12461
+ pathParams: {},
12462
+ headers: {}
12463
+ };
12464
+ const localVarHeaderParameter = {};
12465
+ let xLanguage;
12466
+ if (showRecyclePolicyRequest !== null && showRecyclePolicyRequest !== undefined) {
12467
+ if (showRecyclePolicyRequest instanceof ShowRecyclePolicyRequest_1.ShowRecyclePolicyRequest) {
12468
+ xLanguage = showRecyclePolicyRequest.xLanguage;
11759
12469
  }
11760
12470
  else {
11761
12471
  xLanguage = showRecyclePolicyRequest['X-Language'];
@@ -15953,16 +16663,22 @@ const ParamCreater = function () {
15953
16663
  let instanceId;
15954
16664
  let newest;
15955
16665
  let tableType;
16666
+ let offset;
16667
+ let limit;
15956
16668
  if (getInstancesNoIndexTablesRequest !== null && getInstancesNoIndexTablesRequest !== undefined) {
15957
16669
  if (getInstancesNoIndexTablesRequest instanceof GetInstancesNoIndexTablesRequest_1.GetInstancesNoIndexTablesRequest) {
15958
16670
  instanceId = getInstancesNoIndexTablesRequest.instanceId;
15959
16671
  newest = getInstancesNoIndexTablesRequest.newest;
15960
16672
  tableType = getInstancesNoIndexTablesRequest.tableType;
16673
+ offset = getInstancesNoIndexTablesRequest.offset;
16674
+ limit = getInstancesNoIndexTablesRequest.limit;
15961
16675
  }
15962
16676
  else {
15963
16677
  instanceId = getInstancesNoIndexTablesRequest['instance_id'];
15964
16678
  newest = getInstancesNoIndexTablesRequest['newest'];
15965
16679
  tableType = getInstancesNoIndexTablesRequest['table_type'];
16680
+ offset = getInstancesNoIndexTablesRequest['offset'];
16681
+ limit = getInstancesNoIndexTablesRequest['limit'];
15966
16682
  }
15967
16683
  }
15968
16684
  if (instanceId === null || instanceId === undefined) {
@@ -15980,11 +16696,55 @@ const ParamCreater = function () {
15980
16696
  if (tableType !== null && tableType !== undefined) {
15981
16697
  localVarQueryParameter['table_type'] = tableType;
15982
16698
  }
16699
+ if (offset !== null && offset !== undefined) {
16700
+ localVarQueryParameter['offset'] = offset;
16701
+ }
16702
+ if (limit !== null && limit !== undefined) {
16703
+ localVarQueryParameter['limit'] = limit;
16704
+ }
15983
16705
  options.queryParams = localVarQueryParameter;
15984
16706
  options.pathParams = { 'instance_id': instanceId, };
15985
16707
  options.headers = localVarHeaderParameter;
15986
16708
  return options;
15987
16709
  },
16710
+ /**
16711
+ * 查询当前用户自动告警配置
16712
+ *
16713
+ * Please refer to HUAWEI cloud API Explorer for details.
16714
+ */
16715
+ showAutoCesAlarm(showAutoCesAlarmRequest) {
16716
+ const options = {
16717
+ method: "GET",
16718
+ url: "/v3/{project_id}/auto-ces-alarm",
16719
+ contentType: "application/json",
16720
+ queryParams: {},
16721
+ pathParams: {},
16722
+ headers: {}
16723
+ };
16724
+ const localVarHeaderParameter = {};
16725
+ const localVarQueryParameter = {};
16726
+ let engine;
16727
+ let xLanguage;
16728
+ if (showAutoCesAlarmRequest !== null && showAutoCesAlarmRequest !== undefined) {
16729
+ if (showAutoCesAlarmRequest instanceof ShowAutoCesAlarmRequest_1.ShowAutoCesAlarmRequest) {
16730
+ engine = showAutoCesAlarmRequest.engine;
16731
+ xLanguage = showAutoCesAlarmRequest.xLanguage;
16732
+ }
16733
+ else {
16734
+ engine = showAutoCesAlarmRequest['engine'];
16735
+ xLanguage = showAutoCesAlarmRequest['X-Language'];
16736
+ }
16737
+ }
16738
+ if (engine !== null && engine !== undefined) {
16739
+ localVarQueryParameter['engine'] = engine;
16740
+ }
16741
+ if (xLanguage !== undefined && xLanguage !== null) {
16742
+ localVarHeaderParameter['X-Language'] = String(xLanguage);
16743
+ }
16744
+ options.queryParams = localVarQueryParameter;
16745
+ options.headers = localVarHeaderParameter;
16746
+ return options;
16747
+ },
15988
16748
  /**
15989
16749
  * 查询一键kill会话历史
15990
16750
  *
@@ -16042,6 +16802,51 @@ const ParamCreater = function () {
16042
16802
  options.headers = localVarHeaderParameter;
16043
16803
  return options;
16044
16804
  },
16805
+ /**
16806
+ * 查询一键kill会话实时统计信息
16807
+ *
16808
+ * Please refer to HUAWEI cloud API Explorer for details.
16809
+ */
16810
+ showIntelligentKillSessionStatistic(showIntelligentKillSessionStatisticRequest) {
16811
+ const options = {
16812
+ method: "GET",
16813
+ url: "/v3/{project_id}/instances/{instance_id}/ops/intelligent-kill-session/statistic",
16814
+ contentType: "application/json",
16815
+ queryParams: {},
16816
+ pathParams: {},
16817
+ headers: {}
16818
+ };
16819
+ const localVarHeaderParameter = {};
16820
+ const localVarQueryParameter = {};
16821
+ let instanceId;
16822
+ let xLanguage;
16823
+ let nodeId;
16824
+ if (showIntelligentKillSessionStatisticRequest !== null && showIntelligentKillSessionStatisticRequest !== undefined) {
16825
+ if (showIntelligentKillSessionStatisticRequest instanceof ShowIntelligentKillSessionStatisticRequest_1.ShowIntelligentKillSessionStatisticRequest) {
16826
+ instanceId = showIntelligentKillSessionStatisticRequest.instanceId;
16827
+ xLanguage = showIntelligentKillSessionStatisticRequest.xLanguage;
16828
+ nodeId = showIntelligentKillSessionStatisticRequest.nodeId;
16829
+ }
16830
+ else {
16831
+ instanceId = showIntelligentKillSessionStatisticRequest['instance_id'];
16832
+ xLanguage = showIntelligentKillSessionStatisticRequest['X-Language'];
16833
+ nodeId = showIntelligentKillSessionStatisticRequest['node_id'];
16834
+ }
16835
+ }
16836
+ if (instanceId === null || instanceId === undefined) {
16837
+ throw new RequiredError('instanceId', 'Required parameter instanceId was null or undefined when calling showIntelligentKillSessionStatistic.');
16838
+ }
16839
+ if (nodeId !== null && nodeId !== undefined) {
16840
+ localVarQueryParameter['node_id'] = nodeId;
16841
+ }
16842
+ if (xLanguage !== undefined && xLanguage !== null) {
16843
+ localVarHeaderParameter['X-Language'] = String(xLanguage);
16844
+ }
16845
+ options.queryParams = localVarQueryParameter;
16846
+ options.pathParams = { 'instance_id': instanceId, };
16847
+ options.headers = localVarHeaderParameter;
16848
+ return options;
16849
+ },
16045
16850
  /**
16046
16851
  * 授权数据库帐号。
16047
16852
  *
@@ -16128,6 +16933,46 @@ const ParamCreater = function () {
16128
16933
  options.headers = localVarHeaderParameter;
16129
16934
  return options;
16130
16935
  },
16936
+ /**
16937
+ * 批量修改发布。只支持批量修改快照策略
16938
+ *
16939
+ * Please refer to HUAWEI cloud API Explorer for details.
16940
+ */
16941
+ batchModifyPublication(batchModifyPublicationRequest) {
16942
+ const options = {
16943
+ method: "PUT",
16944
+ url: "/v3/{project_id}/instances/{instance_id}/replication/publications",
16945
+ contentType: "application/json",
16946
+ queryParams: {},
16947
+ pathParams: {},
16948
+ headers: {},
16949
+ data: {}
16950
+ };
16951
+ const localVarHeaderParameter = {};
16952
+ let body;
16953
+ let instanceId;
16954
+ if (batchModifyPublicationRequest !== null && batchModifyPublicationRequest !== undefined) {
16955
+ if (batchModifyPublicationRequest instanceof BatchModifyPublicationRequest_1.BatchModifyPublicationRequest) {
16956
+ instanceId = batchModifyPublicationRequest.instanceId;
16957
+ body = batchModifyPublicationRequest.body;
16958
+ }
16959
+ else {
16960
+ instanceId = batchModifyPublicationRequest['instance_id'];
16961
+ body = batchModifyPublicationRequest['body'];
16962
+ }
16963
+ }
16964
+ if (instanceId === null || instanceId === undefined) {
16965
+ throw new RequiredError('instanceId', 'Required parameter instanceId was null or undefined when calling batchModifyPublication.');
16966
+ }
16967
+ if (body === null || body === undefined) {
16968
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
16969
+ }
16970
+ localVarHeaderParameter['Content-Type'] = 'application/json';
16971
+ options.data = body !== undefined ? body : {};
16972
+ options.pathParams = { 'instance_id': instanceId, };
16973
+ options.headers = localVarHeaderParameter;
16974
+ return options;
16975
+ },
16131
16976
  /**
16132
16977
  * 批量修改订阅
16133
16978
  *
@@ -16300,6 +17145,86 @@ const ParamCreater = function () {
16300
17145
  options.headers = localVarHeaderParameter;
16301
17146
  return options;
16302
17147
  },
17148
+ /**
17149
+ * 给当前实例配置分发服务器
17150
+ *
17151
+ * Please refer to HUAWEI cloud API Explorer for details.
17152
+ */
17153
+ createDistribution(createDistributionRequest) {
17154
+ const options = {
17155
+ method: "POST",
17156
+ url: "/v3/{project_id}/instances/{instance_id}/replication/distribution",
17157
+ contentType: "application/json",
17158
+ queryParams: {},
17159
+ pathParams: {},
17160
+ headers: {},
17161
+ data: {}
17162
+ };
17163
+ const localVarHeaderParameter = {};
17164
+ let body;
17165
+ let instanceId;
17166
+ if (createDistributionRequest !== null && createDistributionRequest !== undefined) {
17167
+ if (createDistributionRequest instanceof CreateDistributionRequest_1.CreateDistributionRequest) {
17168
+ instanceId = createDistributionRequest.instanceId;
17169
+ body = createDistributionRequest.body;
17170
+ }
17171
+ else {
17172
+ instanceId = createDistributionRequest['instance_id'];
17173
+ body = createDistributionRequest['body'];
17174
+ }
17175
+ }
17176
+ if (instanceId === null || instanceId === undefined) {
17177
+ throw new RequiredError('instanceId', 'Required parameter instanceId was null or undefined when calling createDistribution.');
17178
+ }
17179
+ if (body === null || body === undefined) {
17180
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
17181
+ }
17182
+ localVarHeaderParameter['Content-Type'] = 'application/json';
17183
+ options.data = body !== undefined ? body : {};
17184
+ options.pathParams = { 'instance_id': instanceId, };
17185
+ options.headers = localVarHeaderParameter;
17186
+ return options;
17187
+ },
17188
+ /**
17189
+ * 创建发布
17190
+ *
17191
+ * Please refer to HUAWEI cloud API Explorer for details.
17192
+ */
17193
+ createPublication(createPublicationRequest) {
17194
+ const options = {
17195
+ method: "POST",
17196
+ url: "/v3/{project_id}/instances/{instance_id}/replication/publications",
17197
+ contentType: "application/json",
17198
+ queryParams: {},
17199
+ pathParams: {},
17200
+ headers: {},
17201
+ data: {}
17202
+ };
17203
+ const localVarHeaderParameter = {};
17204
+ let body;
17205
+ let instanceId;
17206
+ if (createPublicationRequest !== null && createPublicationRequest !== undefined) {
17207
+ if (createPublicationRequest instanceof CreatePublicationRequest_1.CreatePublicationRequest) {
17208
+ instanceId = createPublicationRequest.instanceId;
17209
+ body = createPublicationRequest.body;
17210
+ }
17211
+ else {
17212
+ instanceId = createPublicationRequest['instance_id'];
17213
+ body = createPublicationRequest['body'];
17214
+ }
17215
+ }
17216
+ if (instanceId === null || instanceId === undefined) {
17217
+ throw new RequiredError('instanceId', 'Required parameter instanceId was null or undefined when calling createPublication.');
17218
+ }
17219
+ if (body === null || body === undefined) {
17220
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
17221
+ }
17222
+ localVarHeaderParameter['Content-Type'] = 'application/json';
17223
+ options.data = body !== undefined ? body : {};
17224
+ options.pathParams = { 'instance_id': instanceId, };
17225
+ options.headers = localVarHeaderParameter;
17226
+ return options;
17227
+ },
16303
17228
  /**
16304
17229
  * 创建数据库。
16305
17230
  *
@@ -17337,6 +18262,94 @@ const ParamCreater = function () {
17337
18262
  options.headers = localVarHeaderParameter;
17338
18263
  return options;
17339
18264
  },
18265
+ /**
18266
+ * 查询远程SQL Server数据库列表
18267
+ *
18268
+ * Please refer to HUAWEI cloud API Explorer for details.
18269
+ */
18270
+ listRemoteDb(listRemoteDbRequest) {
18271
+ const options = {
18272
+ method: "POST",
18273
+ url: "/v3/{project_id}/instances/{instance_id}/replication/remote-databases",
18274
+ contentType: "application/json",
18275
+ queryParams: {},
18276
+ pathParams: {},
18277
+ headers: {},
18278
+ data: {}
18279
+ };
18280
+ const localVarHeaderParameter = {};
18281
+ let body;
18282
+ let instanceId;
18283
+ if (listRemoteDbRequest !== null && listRemoteDbRequest !== undefined) {
18284
+ if (listRemoteDbRequest instanceof ListRemoteDbRequest_1.ListRemoteDbRequest) {
18285
+ instanceId = listRemoteDbRequest.instanceId;
18286
+ body = listRemoteDbRequest.body;
18287
+ }
18288
+ else {
18289
+ instanceId = listRemoteDbRequest['instance_id'];
18290
+ body = listRemoteDbRequest['body'];
18291
+ }
18292
+ }
18293
+ if (instanceId === null || instanceId === undefined) {
18294
+ throw new RequiredError('instanceId', 'Required parameter instanceId was null or undefined when calling listRemoteDb.');
18295
+ }
18296
+ localVarHeaderParameter['Content-Type'] = 'application/json';
18297
+ options.data = body !== undefined ? body : {};
18298
+ options.pathParams = { 'instance_id': instanceId, };
18299
+ options.headers = localVarHeaderParameter;
18300
+ return options;
18301
+ },
18302
+ /**
18303
+ * 查询发布订阅报错列表
18304
+ *
18305
+ * Please refer to HUAWEI cloud API Explorer for details.
18306
+ */
18307
+ listReplicationErrors(listReplicationErrorsRequest) {
18308
+ const options = {
18309
+ method: "GET",
18310
+ url: "/v3/{project_id}/instances/{instance_id}/replication/errors",
18311
+ contentType: "application/json",
18312
+ queryParams: {},
18313
+ pathParams: {},
18314
+ headers: {}
18315
+ };
18316
+ const localVarHeaderParameter = {};
18317
+ const localVarQueryParameter = {};
18318
+ let instanceId;
18319
+ let subscriptionId;
18320
+ let offset;
18321
+ let limit;
18322
+ if (listReplicationErrorsRequest !== null && listReplicationErrorsRequest !== undefined) {
18323
+ if (listReplicationErrorsRequest instanceof ListReplicationErrorsRequest_1.ListReplicationErrorsRequest) {
18324
+ instanceId = listReplicationErrorsRequest.instanceId;
18325
+ subscriptionId = listReplicationErrorsRequest.subscriptionId;
18326
+ offset = listReplicationErrorsRequest.offset;
18327
+ limit = listReplicationErrorsRequest.limit;
18328
+ }
18329
+ else {
18330
+ instanceId = listReplicationErrorsRequest['instance_id'];
18331
+ subscriptionId = listReplicationErrorsRequest['subscription_id'];
18332
+ offset = listReplicationErrorsRequest['offset'];
18333
+ limit = listReplicationErrorsRequest['limit'];
18334
+ }
18335
+ }
18336
+ if (instanceId === null || instanceId === undefined) {
18337
+ throw new RequiredError('instanceId', 'Required parameter instanceId was null or undefined when calling listReplicationErrors.');
18338
+ }
18339
+ if (subscriptionId !== null && subscriptionId !== undefined) {
18340
+ localVarQueryParameter['subscription_id'] = subscriptionId;
18341
+ }
18342
+ if (offset !== null && offset !== undefined) {
18343
+ localVarQueryParameter['offset'] = offset;
18344
+ }
18345
+ if (limit !== null && limit !== undefined) {
18346
+ localVarQueryParameter['limit'] = limit;
18347
+ }
18348
+ options.queryParams = localVarQueryParameter;
18349
+ options.pathParams = { 'instance_id': instanceId, };
18350
+ options.headers = localVarHeaderParameter;
18351
+ return options;
18352
+ },
17340
18353
  /**
17341
18354
  * 查询发布订阅配置文件列表。
17342
18355
  *
@@ -17704,6 +18717,58 @@ const ParamCreater = function () {
17704
18717
  options.headers = localVarHeaderParameter;
17705
18718
  return options;
17706
18719
  },
18720
+ /**
18721
+ * 修改数据库代理作业。
18722
+ *
18723
+ * Please refer to HUAWEI cloud API Explorer for details.
18724
+ */
18725
+ modifyDbAgentJob(modifyDbAgentJobRequest) {
18726
+ const options = {
18727
+ method: "PUT",
18728
+ url: "/v3/{project_id}/instances/{instance_id}/db-jobs/{job_id}",
18729
+ contentType: "application/json",
18730
+ queryParams: {},
18731
+ pathParams: {},
18732
+ headers: {},
18733
+ data: {}
18734
+ };
18735
+ const localVarHeaderParameter = {};
18736
+ let body;
18737
+ let instanceId;
18738
+ let jobId;
18739
+ let xLanguage;
18740
+ if (modifyDbAgentJobRequest !== null && modifyDbAgentJobRequest !== undefined) {
18741
+ if (modifyDbAgentJobRequest instanceof ModifyDbAgentJobRequest_1.ModifyDbAgentJobRequest) {
18742
+ instanceId = modifyDbAgentJobRequest.instanceId;
18743
+ jobId = modifyDbAgentJobRequest.jobId;
18744
+ body = modifyDbAgentJobRequest.body;
18745
+ xLanguage = modifyDbAgentJobRequest.xLanguage;
18746
+ }
18747
+ else {
18748
+ instanceId = modifyDbAgentJobRequest['instance_id'];
18749
+ jobId = modifyDbAgentJobRequest['job_id'];
18750
+ body = modifyDbAgentJobRequest['body'];
18751
+ xLanguage = modifyDbAgentJobRequest['X-Language'];
18752
+ }
18753
+ }
18754
+ if (instanceId === null || instanceId === undefined) {
18755
+ throw new RequiredError('instanceId', 'Required parameter instanceId was null or undefined when calling modifyDbAgentJob.');
18756
+ }
18757
+ if (jobId === null || jobId === undefined) {
18758
+ throw new RequiredError('jobId', 'Required parameter jobId was null or undefined when calling modifyDbAgentJob.');
18759
+ }
18760
+ if (body === null || body === undefined) {
18761
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
18762
+ }
18763
+ if (xLanguage !== undefined && xLanguage !== null) {
18764
+ localVarHeaderParameter['X-Language'] = String(xLanguage);
18765
+ }
18766
+ localVarHeaderParameter['Content-Type'] = 'application/json';
18767
+ options.data = body !== undefined ? body : {};
18768
+ options.pathParams = { 'instance_id': instanceId, 'job_id': jobId, };
18769
+ options.headers = localVarHeaderParameter;
18770
+ return options;
18771
+ },
17707
18772
  /**
17708
18773
  * 修改发布
17709
18774
  *
@@ -17842,6 +18907,49 @@ const ParamCreater = function () {
17842
18907
  options.headers = localVarHeaderParameter;
17843
18908
  return options;
17844
18909
  },
18910
+ /**
18911
+ * 重启数据库代理作业。
18912
+ *
18913
+ * Please refer to HUAWEI cloud API Explorer for details.
18914
+ */
18915
+ restartDbAgentJob(restartDbAgentJobRequest) {
18916
+ const options = {
18917
+ method: "POST",
18918
+ url: "/v3/{project_id}/instances/{instance_id}/db-jobs/{job_id}/restart",
18919
+ contentType: "application/json",
18920
+ queryParams: {},
18921
+ pathParams: {},
18922
+ headers: {}
18923
+ };
18924
+ const localVarHeaderParameter = {};
18925
+ let instanceId;
18926
+ let jobId;
18927
+ let xLanguage;
18928
+ if (restartDbAgentJobRequest !== null && restartDbAgentJobRequest !== undefined) {
18929
+ if (restartDbAgentJobRequest instanceof RestartDbAgentJobRequest_1.RestartDbAgentJobRequest) {
18930
+ instanceId = restartDbAgentJobRequest.instanceId;
18931
+ jobId = restartDbAgentJobRequest.jobId;
18932
+ xLanguage = restartDbAgentJobRequest.xLanguage;
18933
+ }
18934
+ else {
18935
+ instanceId = restartDbAgentJobRequest['instance_id'];
18936
+ jobId = restartDbAgentJobRequest['job_id'];
18937
+ xLanguage = restartDbAgentJobRequest['X-Language'];
18938
+ }
18939
+ }
18940
+ if (instanceId === null || instanceId === undefined) {
18941
+ throw new RequiredError('instanceId', 'Required parameter instanceId was null or undefined when calling restartDbAgentJob.');
18942
+ }
18943
+ if (jobId === null || jobId === undefined) {
18944
+ throw new RequiredError('jobId', 'Required parameter jobId was null or undefined when calling restartDbAgentJob.');
18945
+ }
18946
+ if (xLanguage !== undefined && xLanguage !== null) {
18947
+ localVarHeaderParameter['X-Language'] = String(xLanguage);
18948
+ }
18949
+ options.pathParams = { 'instance_id': instanceId, 'job_id': jobId, };
18950
+ options.headers = localVarHeaderParameter;
18951
+ return options;
18952
+ },
17845
18953
  /**
17846
18954
  * 解除数据库帐号权限。
17847
18955
  *
@@ -17968,6 +19076,49 @@ const ParamCreater = function () {
17968
19076
  options.headers = localVarHeaderParameter;
17969
19077
  return options;
17970
19078
  },
19079
+ /**
19080
+ * 禁用启动切换数据库代理作业。
19081
+ *
19082
+ * Please refer to HUAWEI cloud API Explorer for details.
19083
+ */
19084
+ switchDbAgentJob(switchDbAgentJobRequest) {
19085
+ const options = {
19086
+ method: "POST",
19087
+ url: "/v3/{project_id}/instances/{instance_id}/db-jobs/{job_id}/switch",
19088
+ contentType: "application/json",
19089
+ queryParams: {},
19090
+ pathParams: {},
19091
+ headers: {}
19092
+ };
19093
+ const localVarHeaderParameter = {};
19094
+ let instanceId;
19095
+ let jobId;
19096
+ let xLanguage;
19097
+ if (switchDbAgentJobRequest !== null && switchDbAgentJobRequest !== undefined) {
19098
+ if (switchDbAgentJobRequest instanceof SwitchDbAgentJobRequest_1.SwitchDbAgentJobRequest) {
19099
+ instanceId = switchDbAgentJobRequest.instanceId;
19100
+ jobId = switchDbAgentJobRequest.jobId;
19101
+ xLanguage = switchDbAgentJobRequest.xLanguage;
19102
+ }
19103
+ else {
19104
+ instanceId = switchDbAgentJobRequest['instance_id'];
19105
+ jobId = switchDbAgentJobRequest['job_id'];
19106
+ xLanguage = switchDbAgentJobRequest['X-Language'];
19107
+ }
19108
+ }
19109
+ if (instanceId === null || instanceId === undefined) {
19110
+ throw new RequiredError('instanceId', 'Required parameter instanceId was null or undefined when calling switchDbAgentJob.');
19111
+ }
19112
+ if (jobId === null || jobId === undefined) {
19113
+ throw new RequiredError('jobId', 'Required parameter jobId was null or undefined when calling switchDbAgentJob.');
19114
+ }
19115
+ if (xLanguage !== undefined && xLanguage !== null) {
19116
+ localVarHeaderParameter['X-Language'] = String(xLanguage);
19117
+ }
19118
+ options.pathParams = { 'instance_id': instanceId, 'job_id': jobId, };
19119
+ options.headers = localVarHeaderParameter;
19120
+ return options;
19121
+ },
17971
19122
  /**
17972
19123
  * 同步发布订阅元数据。
17973
19124
  *
@@ -18005,6 +19156,52 @@ const ParamCreater = function () {
18005
19156
  options.headers = localVarHeaderParameter;
18006
19157
  return options;
18007
19158
  },
19159
+ /**
19160
+ * 更新统计信息
19161
+ *
19162
+ * Please refer to HUAWEI cloud API Explorer for details.
19163
+ */
19164
+ updateStatistics(updateStatisticsRequest) {
19165
+ const options = {
19166
+ method: "POST",
19167
+ url: "/v3/{project_id}/instances/{instance_id}/db-statistics",
19168
+ contentType: "application/json",
19169
+ queryParams: {},
19170
+ pathParams: {},
19171
+ headers: {},
19172
+ data: {}
19173
+ };
19174
+ const localVarHeaderParameter = {};
19175
+ let body;
19176
+ let instanceId;
19177
+ let xLanguage;
19178
+ if (updateStatisticsRequest !== null && updateStatisticsRequest !== undefined) {
19179
+ if (updateStatisticsRequest instanceof UpdateStatisticsRequest_1.UpdateStatisticsRequest) {
19180
+ instanceId = updateStatisticsRequest.instanceId;
19181
+ body = updateStatisticsRequest.body;
19182
+ xLanguage = updateStatisticsRequest.xLanguage;
19183
+ }
19184
+ else {
19185
+ instanceId = updateStatisticsRequest['instance_id'];
19186
+ body = updateStatisticsRequest['body'];
19187
+ xLanguage = updateStatisticsRequest['X-Language'];
19188
+ }
19189
+ }
19190
+ if (instanceId === null || instanceId === undefined) {
19191
+ throw new RequiredError('instanceId', 'Required parameter instanceId was null or undefined when calling updateStatistics.');
19192
+ }
19193
+ if (body === null || body === undefined) {
19194
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
19195
+ }
19196
+ if (xLanguage !== undefined && xLanguage !== null) {
19197
+ localVarHeaderParameter['X-Language'] = String(xLanguage);
19198
+ }
19199
+ localVarHeaderParameter['Content-Type'] = 'application/json';
19200
+ options.data = body !== undefined ? body : {};
19201
+ options.pathParams = { 'instance_id': instanceId, };
19202
+ options.headers = localVarHeaderParameter;
19203
+ return options;
19204
+ },
18008
19205
  /**
18009
19206
  * RDS for SQL Server实例间或与远程SQL Server数据库的连通性测试
18010
19207
  *