kb-cloud-client-typescript 0.0.0-support-postgresql-diagnostics-p0.20260827.928 → 0.0.0-support-sqlserver-inspection-implementation.20260904.242

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 (227) hide show
  1. package/dist/adminapi/api.d.ts +0 -1
  2. package/dist/adminapi/api.d.ts.map +1 -1
  3. package/dist/adminapi/api.js +0 -1
  4. package/dist/adminapi/api.js.map +1 -1
  5. package/dist/adminapi/apis/account-api.d.ts +158 -86
  6. package/dist/adminapi/apis/account-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/account-api.js +175 -95
  8. package/dist/adminapi/apis/account-api.js.map +1 -1
  9. package/dist/adminapi/apis/alert-object-api.d.ts +10 -2
  10. package/dist/adminapi/apis/alert-object-api.d.ts.map +1 -1
  11. package/dist/adminapi/apis/alert-object-api.js +10 -5
  12. package/dist/adminapi/apis/alert-object-api.js.map +1 -1
  13. package/dist/adminapi/apis/milvus-api.d.ts +151 -79
  14. package/dist/adminapi/apis/milvus-api.d.ts.map +1 -1
  15. package/dist/adminapi/apis/milvus-api.js +153 -73
  16. package/dist/adminapi/apis/milvus-api.js.map +1 -1
  17. package/dist/adminapi/apis/rabbit-mqapi.d.ts +7 -7
  18. package/dist/adminapi/apis/rabbit-mqapi.d.ts.map +1 -1
  19. package/dist/adminapi/apis/rabbit-mqapi.js +10 -10
  20. package/dist/adminapi/apis/rabbit-mqapi.js.map +1 -1
  21. package/dist/adminapi/apis/shared-api.d.ts +158 -155
  22. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  23. package/dist/adminapi/apis/shared-api.js +175 -173
  24. package/dist/adminapi/apis/shared-api.js.map +1 -1
  25. package/dist/adminapi/models/cluster-reference.d.ts +31 -0
  26. package/dist/adminapi/models/cluster-reference.d.ts.map +1 -0
  27. package/dist/adminapi/models/{autohealing-list-inner.js → cluster-reference.js} +1 -1
  28. package/dist/adminapi/models/cluster-reference.js.map +1 -0
  29. package/dist/adminapi/models/cluster-update.d.ts +6 -0
  30. package/dist/adminapi/models/cluster-update.d.ts.map +1 -1
  31. package/dist/adminapi/models/cluster.d.ts +3 -2
  32. package/dist/adminapi/models/cluster.d.ts.map +1 -1
  33. package/dist/adminapi/models/disaster-recovery-task.d.ts +0 -6
  34. package/dist/adminapi/models/disaster-recovery-task.d.ts.map +1 -1
  35. package/dist/adminapi/models/dms-ob-parameter.d.ts +2 -4
  36. package/dist/adminapi/models/dms-ob-parameter.d.ts.map +1 -1
  37. package/dist/adminapi/models/index.d.ts +4 -1
  38. package/dist/adminapi/models/index.d.ts.map +1 -1
  39. package/dist/adminapi/models/index.js +4 -1
  40. package/dist/adminapi/models/index.js.map +1 -1
  41. package/dist/adminapi/models/milvus-role-create-request.d.ts +32 -0
  42. package/dist/adminapi/models/milvus-role-create-request.d.ts.map +1 -0
  43. package/dist/adminapi/models/milvus-role-create-request.js +16 -0
  44. package/dist/adminapi/models/milvus-role-create-request.js.map +1 -0
  45. package/dist/adminapi/models/milvus-role-request.d.ts +1 -1
  46. package/dist/adminapi/models/mode-object-storage-additional-helm-value-path.d.ts +18 -0
  47. package/dist/adminapi/models/mode-object-storage-additional-helm-value-path.d.ts.map +1 -1
  48. package/dist/adminapi/models/mode-service-ref-helm-value-path.d.ts +6 -0
  49. package/dist/adminapi/models/mode-service-ref-helm-value-path.d.ts.map +1 -1
  50. package/dist/adminapi/models/mode-service-ref.d.ts +26 -0
  51. package/dist/adminapi/models/mode-service-ref.d.ts.map +1 -1
  52. package/dist/adminapi/models/ops-request-name.d.ts +0 -6
  53. package/dist/adminapi/models/ops-request-name.d.ts.map +1 -1
  54. package/dist/adminapi/models/rbmq-password-update-request.d.ts +25 -0
  55. package/dist/adminapi/models/rbmq-password-update-request.d.ts.map +1 -0
  56. package/dist/adminapi/models/rbmq-password-update-request.js +16 -0
  57. package/dist/adminapi/models/rbmq-password-update-request.js.map +1 -0
  58. package/dist/adminapi/models/redis-info-response.d.ts +6 -0
  59. package/dist/adminapi/models/redis-info-response.d.ts.map +1 -1
  60. package/dist/adminapi/models/redis-key-scan-progress.d.ts +49 -0
  61. package/dist/adminapi/models/redis-key-scan-progress.d.ts.map +1 -0
  62. package/dist/adminapi/models/redis-key-scan-progress.js +16 -0
  63. package/dist/adminapi/models/redis-key-scan-progress.js.map +1 -0
  64. package/dist/adminapi/models/redis-key-summary-list.d.ts +7 -0
  65. package/dist/adminapi/models/redis-key-summary-list.d.ts.map +1 -1
  66. package/dist/adminapi/models/redis-key-value-item.d.ts +3 -5
  67. package/dist/adminapi/models/redis-key-value-item.d.ts.map +1 -1
  68. package/dist/adminapi/models/service-ref.d.ts +8 -0
  69. package/dist/adminapi/models/service-ref.d.ts.map +1 -1
  70. package/dist/internalapi/models/cluster-reference.d.ts +31 -0
  71. package/dist/internalapi/models/cluster-reference.d.ts.map +1 -0
  72. package/dist/internalapi/models/cluster-reference.js +16 -0
  73. package/dist/internalapi/models/cluster-reference.js.map +1 -0
  74. package/dist/internalapi/models/cluster-update.d.ts +6 -0
  75. package/dist/internalapi/models/cluster-update.d.ts.map +1 -1
  76. package/dist/internalapi/models/cluster.d.ts +3 -2
  77. package/dist/internalapi/models/cluster.d.ts.map +1 -1
  78. package/dist/internalapi/models/index.d.ts +1 -0
  79. package/dist/internalapi/models/index.d.ts.map +1 -1
  80. package/dist/internalapi/models/index.js +1 -0
  81. package/dist/internalapi/models/index.js.map +1 -1
  82. package/dist/internalapi/models/service-ref.d.ts +8 -0
  83. package/dist/internalapi/models/service-ref.d.ts.map +1 -1
  84. package/dist/openapi/api.d.ts +0 -1
  85. package/dist/openapi/api.d.ts.map +1 -1
  86. package/dist/openapi/api.js +0 -1
  87. package/dist/openapi/api.js.map +1 -1
  88. package/dist/openapi/apis/account-api.d.ts +158 -86
  89. package/dist/openapi/apis/account-api.d.ts.map +1 -1
  90. package/dist/openapi/apis/account-api.js +175 -95
  91. package/dist/openapi/apis/account-api.js.map +1 -1
  92. package/dist/openapi/apis/milvus-api.d.ts +151 -79
  93. package/dist/openapi/apis/milvus-api.d.ts.map +1 -1
  94. package/dist/openapi/apis/milvus-api.js +153 -73
  95. package/dist/openapi/apis/milvus-api.js.map +1 -1
  96. package/dist/openapi/apis/rabbit-mqapi.d.ts +7 -7
  97. package/dist/openapi/apis/rabbit-mqapi.d.ts.map +1 -1
  98. package/dist/openapi/apis/rabbit-mqapi.js +10 -10
  99. package/dist/openapi/apis/rabbit-mqapi.js.map +1 -1
  100. package/dist/openapi/apis/shared-api.d.ts +158 -155
  101. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  102. package/dist/openapi/apis/shared-api.js +175 -173
  103. package/dist/openapi/apis/shared-api.js.map +1 -1
  104. package/dist/openapi/models/cluster-reference.d.ts +31 -0
  105. package/dist/openapi/models/cluster-reference.d.ts.map +1 -0
  106. package/dist/openapi/models/{autohealing-list-inner.js → cluster-reference.js} +1 -1
  107. package/dist/openapi/models/cluster-reference.js.map +1 -0
  108. package/dist/openapi/models/cluster-update.d.ts +6 -0
  109. package/dist/openapi/models/cluster-update.d.ts.map +1 -1
  110. package/dist/openapi/models/cluster.d.ts +3 -2
  111. package/dist/openapi/models/cluster.d.ts.map +1 -1
  112. package/dist/openapi/models/data-check-detail-item.d.ts +2 -2
  113. package/dist/openapi/models/disaster-recovery-task.d.ts +0 -6
  114. package/dist/openapi/models/disaster-recovery-task.d.ts.map +1 -1
  115. package/dist/openapi/models/dms-ob-parameter.d.ts +2 -4
  116. package/dist/openapi/models/dms-ob-parameter.d.ts.map +1 -1
  117. package/dist/openapi/models/index.d.ts +4 -1
  118. package/dist/openapi/models/index.d.ts.map +1 -1
  119. package/dist/openapi/models/index.js +4 -1
  120. package/dist/openapi/models/index.js.map +1 -1
  121. package/dist/openapi/models/milvus-role-create-request.d.ts +32 -0
  122. package/dist/openapi/models/milvus-role-create-request.d.ts.map +1 -0
  123. package/dist/openapi/models/milvus-role-create-request.js +16 -0
  124. package/dist/openapi/models/milvus-role-create-request.js.map +1 -0
  125. package/dist/openapi/models/milvus-role-request.d.ts +1 -1
  126. package/dist/openapi/models/mode-object-storage-additional-helm-value-path.d.ts +18 -0
  127. package/dist/openapi/models/mode-object-storage-additional-helm-value-path.d.ts.map +1 -1
  128. package/dist/openapi/models/mode-service-ref-helm-value-path.d.ts +6 -0
  129. package/dist/openapi/models/mode-service-ref-helm-value-path.d.ts.map +1 -1
  130. package/dist/openapi/models/mode-service-ref.d.ts +26 -0
  131. package/dist/openapi/models/mode-service-ref.d.ts.map +1 -1
  132. package/dist/openapi/models/ops-request-name.d.ts +0 -6
  133. package/dist/openapi/models/ops-request-name.d.ts.map +1 -1
  134. package/dist/openapi/models/rbmq-password-update-request.d.ts +25 -0
  135. package/dist/openapi/models/rbmq-password-update-request.d.ts.map +1 -0
  136. package/dist/openapi/models/rbmq-password-update-request.js +16 -0
  137. package/dist/openapi/models/rbmq-password-update-request.js.map +1 -0
  138. package/dist/openapi/models/redis-info-response.d.ts +6 -0
  139. package/dist/openapi/models/redis-info-response.d.ts.map +1 -1
  140. package/dist/openapi/models/redis-key-scan-progress.d.ts +49 -0
  141. package/dist/openapi/models/redis-key-scan-progress.d.ts.map +1 -0
  142. package/dist/openapi/models/redis-key-scan-progress.js +16 -0
  143. package/dist/openapi/models/redis-key-scan-progress.js.map +1 -0
  144. package/dist/openapi/models/redis-key-summary-list.d.ts +7 -0
  145. package/dist/openapi/models/redis-key-summary-list.d.ts.map +1 -1
  146. package/dist/openapi/models/redis-key-value-item.d.ts +3 -5
  147. package/dist/openapi/models/redis-key-value-item.d.ts.map +1 -1
  148. package/dist/openapi/models/service-ref.d.ts +8 -0
  149. package/dist/openapi/models/service-ref.d.ts.map +1 -1
  150. package/package.json +1 -1
  151. package/src/adminapi/.openapi-generator/FILES +4 -2
  152. package/src/adminapi/api.ts +0 -1
  153. package/src/adminapi/apis/account-api.ts +280 -152
  154. package/src/adminapi/apis/alert-object-api.ts +18 -5
  155. package/src/adminapi/apis/milvus-api.ts +242 -114
  156. package/src/adminapi/apis/rabbit-mqapi.ts +14 -14
  157. package/src/adminapi/apis/shared-api.ts +280 -271
  158. package/src/adminapi/models/cluster-reference.ts +36 -0
  159. package/src/adminapi/models/cluster-update.ts +6 -0
  160. package/src/adminapi/models/cluster.ts +5 -2
  161. package/src/adminapi/models/disaster-recovery-task.ts +0 -6
  162. package/src/adminapi/models/dms-ob-parameter.ts +2 -2
  163. package/src/adminapi/models/index.ts +4 -1
  164. package/src/adminapi/models/milvus-role-create-request.ts +39 -0
  165. package/src/adminapi/models/milvus-role-request.ts +1 -1
  166. package/src/adminapi/models/mode-object-storage-additional-helm-value-path.ts +18 -0
  167. package/src/adminapi/models/mode-service-ref-helm-value-path.ts +6 -0
  168. package/src/adminapi/models/mode-service-ref.ts +24 -0
  169. package/src/adminapi/models/ops-request-name.ts +0 -6
  170. package/src/adminapi/models/rbmq-password-update-request.ts +30 -0
  171. package/src/adminapi/models/redis-info-response.ts +6 -0
  172. package/src/adminapi/models/redis-key-scan-progress.ts +54 -0
  173. package/src/adminapi/models/redis-key-summary-list.ts +9 -0
  174. package/src/adminapi/models/redis-key-value-item.ts +3 -3
  175. package/src/adminapi/models/service-ref.ts +6 -0
  176. package/src/adminapi.yaml +206 -101
  177. package/src/internalapi/.openapi-generator/FILES +1 -0
  178. package/src/internalapi/models/cluster-reference.ts +36 -0
  179. package/src/internalapi/models/cluster-update.ts +6 -0
  180. package/src/internalapi/models/cluster.ts +5 -2
  181. package/src/internalapi/models/index.ts +1 -0
  182. package/src/internalapi/models/service-ref.ts +6 -0
  183. package/src/internalapi.yaml +30 -1
  184. package/src/openapi/.openapi-generator/FILES +4 -2
  185. package/src/openapi/api.ts +0 -1
  186. package/src/openapi/apis/account-api.ts +280 -152
  187. package/src/openapi/apis/milvus-api.ts +242 -114
  188. package/src/openapi/apis/rabbit-mqapi.ts +14 -14
  189. package/src/openapi/apis/shared-api.ts +280 -271
  190. package/src/openapi/models/cluster-reference.ts +36 -0
  191. package/src/openapi/models/cluster-update.ts +6 -0
  192. package/src/openapi/models/cluster.ts +5 -2
  193. package/src/openapi/models/data-check-detail-item.ts +2 -2
  194. package/src/openapi/models/disaster-recovery-task.ts +0 -6
  195. package/src/openapi/models/dms-ob-parameter.ts +2 -2
  196. package/src/openapi/models/index.ts +4 -1
  197. package/src/openapi/models/milvus-role-create-request.ts +39 -0
  198. package/src/openapi/models/milvus-role-request.ts +1 -1
  199. package/src/openapi/models/mode-object-storage-additional-helm-value-path.ts +18 -0
  200. package/src/openapi/models/mode-service-ref-helm-value-path.ts +6 -0
  201. package/src/openapi/models/mode-service-ref.ts +24 -0
  202. package/src/openapi/models/ops-request-name.ts +0 -6
  203. package/src/openapi/models/rbmq-password-update-request.ts +30 -0
  204. package/src/openapi/models/redis-info-response.ts +6 -0
  205. package/src/openapi/models/redis-key-scan-progress.ts +54 -0
  206. package/src/openapi/models/redis-key-summary-list.ts +9 -0
  207. package/src/openapi/models/redis-key-value-item.ts +3 -3
  208. package/src/openapi/models/service-ref.ts +6 -0
  209. package/src/openapi.yaml +202 -103
  210. package/dist/adminapi/apis/autohealing-api.d.ts +0 -117
  211. package/dist/adminapi/apis/autohealing-api.d.ts.map +0 -1
  212. package/dist/adminapi/apis/autohealing-api.js +0 -142
  213. package/dist/adminapi/apis/autohealing-api.js.map +0 -1
  214. package/dist/adminapi/models/autohealing-list-inner.d.ts +0 -97
  215. package/dist/adminapi/models/autohealing-list-inner.d.ts.map +0 -1
  216. package/dist/adminapi/models/autohealing-list-inner.js.map +0 -1
  217. package/dist/openapi/apis/autohealing-api.d.ts +0 -117
  218. package/dist/openapi/apis/autohealing-api.d.ts.map +0 -1
  219. package/dist/openapi/apis/autohealing-api.js +0 -142
  220. package/dist/openapi/apis/autohealing-api.js.map +0 -1
  221. package/dist/openapi/models/autohealing-list-inner.d.ts +0 -97
  222. package/dist/openapi/models/autohealing-list-inner.d.ts.map +0 -1
  223. package/dist/openapi/models/autohealing-list-inner.js.map +0 -1
  224. package/src/adminapi/apis/autohealing-api.ts +0 -187
  225. package/src/adminapi/models/autohealing-list-inner.ts +0 -102
  226. package/src/openapi/apis/autohealing-api.ts +0 -187
  227. package/src/openapi/models/autohealing-list-inner.ts +0 -102
@@ -1203,6 +1203,49 @@ const SharedApiAxiosParamCreator = function (configuration) {
1203
1203
  options: localVarRequestOptions,
1204
1204
  };
1205
1205
  },
1206
+ /**
1207
+ * Create a Milvus native role and grant its initial privileges.
1208
+ * @summary Create Milvus role
1209
+ * @param {string} orgName name of the Org
1210
+ * @param {string} clusterName name of the Cluster
1211
+ * @param {MilvusRoleCreateRequest} body
1212
+ * @param {*} [options] Override http request option.
1213
+ * @throws {RequiredError}
1214
+ */
1215
+ createMilvusRole: async (orgName, clusterName, body, options = {}) => {
1216
+ // verify required parameter 'orgName' is not null or undefined
1217
+ (0, common_1.assertParamExists)('createMilvusRole', 'orgName', orgName);
1218
+ // verify required parameter 'clusterName' is not null or undefined
1219
+ (0, common_1.assertParamExists)('createMilvusRole', 'clusterName', clusterName);
1220
+ // verify required parameter 'body' is not null or undefined
1221
+ (0, common_1.assertParamExists)('createMilvusRole', 'body', body);
1222
+ const localVarPath = `/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles`
1223
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1224
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
1225
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1226
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1227
+ let baseOptions;
1228
+ if (configuration) {
1229
+ baseOptions = configuration.baseOptions;
1230
+ }
1231
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1232
+ const localVarHeaderParameter = {};
1233
+ const localVarQueryParameter = {};
1234
+ // authentication BearerToken required
1235
+ // http bearer authentication required
1236
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1237
+ // authentication DigestAuth required
1238
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1239
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1240
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1241
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1242
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1243
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
1244
+ return {
1245
+ url: (0, common_1.toPathString)(localVarUrlObj),
1246
+ options: localVarRequestOptions,
1247
+ };
1248
+ },
1206
1249
  /**
1207
1250
  * create an account in mongodb
1208
1251
  * @summary Create mongodb account
@@ -4084,45 +4127,6 @@ const SharedApiAxiosParamCreator = function (configuration) {
4084
4127
  options: localVarRequestOptions,
4085
4128
  };
4086
4129
  },
4087
- /**
4088
- *
4089
- * @summary list autohealing job
4090
- * @param {string} orgName name of the Org
4091
- * @param {string} clusterName name of the Cluster
4092
- * @param {*} [options] Override http request option.
4093
- * @deprecated
4094
- * @throws {RequiredError}
4095
- */
4096
- getAutohealing: async (orgName, clusterName, options = {}) => {
4097
- // verify required parameter 'orgName' is not null or undefined
4098
- (0, common_1.assertParamExists)('getAutohealing', 'orgName', orgName);
4099
- // verify required parameter 'clusterName' is not null or undefined
4100
- (0, common_1.assertParamExists)('getAutohealing', 'clusterName', clusterName);
4101
- const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/autohealing`
4102
- .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
4103
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
4104
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
4105
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4106
- let baseOptions;
4107
- if (configuration) {
4108
- baseOptions = configuration.baseOptions;
4109
- }
4110
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
4111
- const localVarHeaderParameter = {};
4112
- const localVarQueryParameter = {};
4113
- // authentication BearerToken required
4114
- // http bearer authentication required
4115
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
4116
- // authentication DigestAuth required
4117
- await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
4118
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4119
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4120
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4121
- return {
4122
- url: (0, common_1.toPathString)(localVarUrlObj),
4123
- options: localVarRequestOptions,
4124
- };
4125
- },
4126
4130
  /**
4127
4131
  *
4128
4132
  * @summary Get backup
@@ -9897,53 +9901,6 @@ const SharedApiAxiosParamCreator = function (configuration) {
9897
9901
  options: localVarRequestOptions,
9898
9902
  };
9899
9903
  },
9900
- /**
9901
- * Create or update a Milvus native role and replace its privilege grants.
9902
- * @summary Put Milvus role
9903
- * @param {string} orgName name of the Org
9904
- * @param {string} clusterName name of the Cluster
9905
- * @param {string} roleName name of the Milvus role
9906
- * @param {MilvusRoleRequest} body
9907
- * @param {*} [options] Override http request option.
9908
- * @throws {RequiredError}
9909
- */
9910
- putMilvusRole: async (orgName, clusterName, roleName, body, options = {}) => {
9911
- // verify required parameter 'orgName' is not null or undefined
9912
- (0, common_1.assertParamExists)('putMilvusRole', 'orgName', orgName);
9913
- // verify required parameter 'clusterName' is not null or undefined
9914
- (0, common_1.assertParamExists)('putMilvusRole', 'clusterName', clusterName);
9915
- // verify required parameter 'roleName' is not null or undefined
9916
- (0, common_1.assertParamExists)('putMilvusRole', 'roleName', roleName);
9917
- // verify required parameter 'body' is not null or undefined
9918
- (0, common_1.assertParamExists)('putMilvusRole', 'body', body);
9919
- const localVarPath = `/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
9920
- .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
9921
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
9922
- .replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
9923
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
9924
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9925
- let baseOptions;
9926
- if (configuration) {
9927
- baseOptions = configuration.baseOptions;
9928
- }
9929
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
9930
- const localVarHeaderParameter = {};
9931
- const localVarQueryParameter = {};
9932
- // authentication BearerToken required
9933
- // http bearer authentication required
9934
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
9935
- // authentication DigestAuth required
9936
- await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
9937
- localVarHeaderParameter['Content-Type'] = 'application/json';
9938
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
9939
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9940
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9941
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
9942
- return {
9943
- url: (0, common_1.toPathString)(localVarUrlObj),
9944
- options: localVarRequestOptions,
9945
- };
9946
- },
9947
9904
  /**
9948
9905
  *
9949
9906
  * @summary create a SQL query
@@ -13209,6 +13166,53 @@ const SharedApiAxiosParamCreator = function (configuration) {
13209
13166
  options: localVarRequestOptions,
13210
13167
  };
13211
13168
  },
13169
+ /**
13170
+ * Update an existing Milvus native role by replacing its privilege grants.
13171
+ * @summary Update Milvus role
13172
+ * @param {string} orgName name of the Org
13173
+ * @param {string} clusterName name of the Cluster
13174
+ * @param {string} roleName name of the Milvus role
13175
+ * @param {MilvusRoleRequest} body
13176
+ * @param {*} [options] Override http request option.
13177
+ * @throws {RequiredError}
13178
+ */
13179
+ updateMilvusRole: async (orgName, clusterName, roleName, body, options = {}) => {
13180
+ // verify required parameter 'orgName' is not null or undefined
13181
+ (0, common_1.assertParamExists)('updateMilvusRole', 'orgName', orgName);
13182
+ // verify required parameter 'clusterName' is not null or undefined
13183
+ (0, common_1.assertParamExists)('updateMilvusRole', 'clusterName', clusterName);
13184
+ // verify required parameter 'roleName' is not null or undefined
13185
+ (0, common_1.assertParamExists)('updateMilvusRole', 'roleName', roleName);
13186
+ // verify required parameter 'body' is not null or undefined
13187
+ (0, common_1.assertParamExists)('updateMilvusRole', 'body', body);
13188
+ const localVarPath = `/api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
13189
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
13190
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
13191
+ .replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
13192
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13193
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13194
+ let baseOptions;
13195
+ if (configuration) {
13196
+ baseOptions = configuration.baseOptions;
13197
+ }
13198
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
13199
+ const localVarHeaderParameter = {};
13200
+ const localVarQueryParameter = {};
13201
+ // authentication BearerToken required
13202
+ // http bearer authentication required
13203
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
13204
+ // authentication DigestAuth required
13205
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
13206
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13207
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
13208
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13209
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13210
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
13211
+ return {
13212
+ url: (0, common_1.toPathString)(localVarUrlObj),
13213
+ options: localVarRequestOptions,
13214
+ };
13215
+ },
13212
13216
  /**
13213
13217
  *
13214
13218
  * @summary update mssql account compatible with windows account
@@ -13256,19 +13260,19 @@ const SharedApiAxiosParamCreator = function (configuration) {
13256
13260
  * @param {string} orgName name of the Org
13257
13261
  * @param {string} clusterName name of the Cluster
13258
13262
  * @param {string} accountName name of the Account
13259
- * @param {RbmqUser} rbmqUser
13263
+ * @param {RbmqPasswordUpdateRequest} rbmqPasswordUpdateRequest
13260
13264
  * @param {*} [options] Override http request option.
13261
13265
  * @throws {RequiredError}
13262
13266
  */
13263
- updateRabbitAccountPassword: async (orgName, clusterName, accountName, rbmqUser, options = {}) => {
13267
+ updateRabbitAccountPassword: async (orgName, clusterName, accountName, rbmqPasswordUpdateRequest, options = {}) => {
13264
13268
  // verify required parameter 'orgName' is not null or undefined
13265
13269
  (0, common_1.assertParamExists)('updateRabbitAccountPassword', 'orgName', orgName);
13266
13270
  // verify required parameter 'clusterName' is not null or undefined
13267
13271
  (0, common_1.assertParamExists)('updateRabbitAccountPassword', 'clusterName', clusterName);
13268
13272
  // verify required parameter 'accountName' is not null or undefined
13269
13273
  (0, common_1.assertParamExists)('updateRabbitAccountPassword', 'accountName', accountName);
13270
- // verify required parameter 'rbmqUser' is not null or undefined
13271
- (0, common_1.assertParamExists)('updateRabbitAccountPassword', 'rbmqUser', rbmqUser);
13274
+ // verify required parameter 'rbmqPasswordUpdateRequest' is not null or undefined
13275
+ (0, common_1.assertParamExists)('updateRabbitAccountPassword', 'rbmqPasswordUpdateRequest', rbmqPasswordUpdateRequest);
13272
13276
  const localVarPath = `/api/v1/data/rabbitmq/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
13273
13277
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
13274
13278
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
@@ -13291,7 +13295,7 @@ const SharedApiAxiosParamCreator = function (configuration) {
13291
13295
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
13292
13296
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13293
13297
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13294
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(rbmqUser, localVarRequestOptions, configuration);
13298
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(rbmqPasswordUpdateRequest, localVarRequestOptions, configuration);
13295
13299
  return {
13296
13300
  url: (0, common_1.toPathString)(localVarUrlObj),
13297
13301
  options: localVarRequestOptions,
@@ -14259,6 +14263,22 @@ const SharedApiFp = function (configuration) {
14259
14263
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.createKafkaTopic']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14260
14264
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14261
14265
  },
14266
+ /**
14267
+ * Create a Milvus native role and grant its initial privileges.
14268
+ * @summary Create Milvus role
14269
+ * @param {string} orgName name of the Org
14270
+ * @param {string} clusterName name of the Cluster
14271
+ * @param {MilvusRoleCreateRequest} body
14272
+ * @param {*} [options] Override http request option.
14273
+ * @throws {RequiredError}
14274
+ */
14275
+ async createMilvusRole(orgName, clusterName, body, options) {
14276
+ var _a, _b, _c;
14277
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createMilvusRole(orgName, clusterName, body, options);
14278
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14279
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.createMilvusRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14280
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14281
+ },
14262
14282
  /**
14263
14283
  * create an account in mongodb
14264
14284
  * @summary Create mongodb account
@@ -15322,22 +15342,6 @@ const SharedApiFp = function (configuration) {
15322
15342
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getAlertRule']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
15323
15343
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15324
15344
  },
15325
- /**
15326
- *
15327
- * @summary list autohealing job
15328
- * @param {string} orgName name of the Org
15329
- * @param {string} clusterName name of the Cluster
15330
- * @param {*} [options] Override http request option.
15331
- * @deprecated
15332
- * @throws {RequiredError}
15333
- */
15334
- async getAutohealing(orgName, clusterName, options) {
15335
- var _a, _b, _c;
15336
- const localVarAxiosArgs = await localVarAxiosParamCreator.getAutohealing(orgName, clusterName, options);
15337
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
15338
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getAutohealing']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
15339
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15340
- },
15341
15345
  /**
15342
15346
  *
15343
15347
  * @summary Get backup
@@ -17487,23 +17491,6 @@ const SharedApiFp = function (configuration) {
17487
17491
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.putElasticsearchSecurityUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
17488
17492
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17489
17493
  },
17490
- /**
17491
- * Create or update a Milvus native role and replace its privilege grants.
17492
- * @summary Put Milvus role
17493
- * @param {string} orgName name of the Org
17494
- * @param {string} clusterName name of the Cluster
17495
- * @param {string} roleName name of the Milvus role
17496
- * @param {MilvusRoleRequest} body
17497
- * @param {*} [options] Override http request option.
17498
- * @throws {RequiredError}
17499
- */
17500
- async putMilvusRole(orgName, clusterName, roleName, body, options) {
17501
- var _a, _b, _c;
17502
- const localVarAxiosArgs = await localVarAxiosParamCreator.putMilvusRole(orgName, clusterName, roleName, body, options);
17503
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
17504
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.putMilvusRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
17505
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17506
- },
17507
17494
  /**
17508
17495
  *
17509
17496
  * @summary create a SQL query
@@ -18633,6 +18620,23 @@ const SharedApiFp = function (configuration) {
18633
18620
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.updateMilvusAccountRoles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18634
18621
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18635
18622
  },
18623
+ /**
18624
+ * Update an existing Milvus native role by replacing its privilege grants.
18625
+ * @summary Update Milvus role
18626
+ * @param {string} orgName name of the Org
18627
+ * @param {string} clusterName name of the Cluster
18628
+ * @param {string} roleName name of the Milvus role
18629
+ * @param {MilvusRoleRequest} body
18630
+ * @param {*} [options] Override http request option.
18631
+ * @throws {RequiredError}
18632
+ */
18633
+ async updateMilvusRole(orgName, clusterName, roleName, body, options) {
18634
+ var _a, _b, _c;
18635
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateMilvusRole(orgName, clusterName, roleName, body, options);
18636
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18637
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.updateMilvusRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18638
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18639
+ },
18636
18640
  /**
18637
18641
  *
18638
18642
  * @summary update mssql account compatible with windows account
@@ -18655,13 +18659,13 @@ const SharedApiFp = function (configuration) {
18655
18659
  * @param {string} orgName name of the Org
18656
18660
  * @param {string} clusterName name of the Cluster
18657
18661
  * @param {string} accountName name of the Account
18658
- * @param {RbmqUser} rbmqUser
18662
+ * @param {RbmqPasswordUpdateRequest} rbmqPasswordUpdateRequest
18659
18663
  * @param {*} [options] Override http request option.
18660
18664
  * @throws {RequiredError}
18661
18665
  */
18662
- async updateRabbitAccountPassword(orgName, clusterName, accountName, rbmqUser, options) {
18666
+ async updateRabbitAccountPassword(orgName, clusterName, accountName, rbmqPasswordUpdateRequest, options) {
18663
18667
  var _a, _b, _c;
18664
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateRabbitAccountPassword(orgName, clusterName, accountName, rbmqUser, options);
18668
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateRabbitAccountPassword(orgName, clusterName, accountName, rbmqPasswordUpdateRequest, options);
18665
18669
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18666
18670
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.updateRabbitAccountPassword']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18667
18671
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -19113,6 +19117,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
19113
19117
  createKafkaTopic(requestParameters, options) {
19114
19118
  return localVarFp.createKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.createTopicRequest, options).then((request) => request(axios, basePath));
19115
19119
  },
19120
+ /**
19121
+ * Create a Milvus native role and grant its initial privileges.
19122
+ * @summary Create Milvus role
19123
+ * @param {SharedApiCreateMilvusRoleRequest} requestParameters Request parameters.
19124
+ * @param {*} [options] Override http request option.
19125
+ * @throws {RequiredError}
19126
+ */
19127
+ createMilvusRole(requestParameters, options) {
19128
+ return localVarFp.createMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
19129
+ },
19116
19130
  /**
19117
19131
  * create an account in mongodb
19118
19132
  * @summary Create mongodb account
@@ -19752,17 +19766,6 @@ const SharedApiFactory = function (configuration, basePath, axios) {
19752
19766
  getAlertRule(requestParameters, options) {
19753
19767
  return localVarFp.getAlertRule(requestParameters.orgName, requestParameters.alertName, options).then((request) => request(axios, basePath));
19754
19768
  },
19755
- /**
19756
- *
19757
- * @summary list autohealing job
19758
- * @param {SharedApiGetAutohealingRequest} requestParameters Request parameters.
19759
- * @param {*} [options] Override http request option.
19760
- * @deprecated
19761
- * @throws {RequiredError}
19762
- */
19763
- getAutohealing(requestParameters, options) {
19764
- return localVarFp.getAutohealing(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
19765
- },
19766
19769
  /**
19767
19770
  *
19768
19771
  * @summary Get backup
@@ -21070,16 +21073,6 @@ const SharedApiFactory = function (configuration, basePath, axios) {
21070
21073
  putElasticsearchSecurityUser(requestParameters, options) {
21071
21074
  return localVarFp.putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(axios, basePath));
21072
21075
  },
21073
- /**
21074
- * Create or update a Milvus native role and replace its privilege grants.
21075
- * @summary Put Milvus role
21076
- * @param {SharedApiPutMilvusRoleRequest} requestParameters Request parameters.
21077
- * @param {*} [options] Override http request option.
21078
- * @throws {RequiredError}
21079
- */
21080
- putMilvusRole(requestParameters, options) {
21081
- return localVarFp.putMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
21082
- },
21083
21076
  /**
21084
21077
  *
21085
21078
  * @summary create a SQL query
@@ -21689,6 +21682,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
21689
21682
  updateMilvusAccountRoles(requestParameters, options) {
21690
21683
  return localVarFp.updateMilvusAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
21691
21684
  },
21685
+ /**
21686
+ * Update an existing Milvus native role by replacing its privilege grants.
21687
+ * @summary Update Milvus role
21688
+ * @param {SharedApiUpdateMilvusRoleRequest} requestParameters Request parameters.
21689
+ * @param {*} [options] Override http request option.
21690
+ * @throws {RequiredError}
21691
+ */
21692
+ updateMilvusRole(requestParameters, options) {
21693
+ return localVarFp.updateMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
21694
+ },
21692
21695
  /**
21693
21696
  *
21694
21697
  * @summary update mssql account compatible with windows account
@@ -21707,7 +21710,7 @@ const SharedApiFactory = function (configuration, basePath, axios) {
21707
21710
  * @throws {RequiredError}
21708
21711
  */
21709
21712
  updateRabbitAccountPassword(requestParameters, options) {
21710
- return localVarFp.updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqUser, options).then((request) => request(axios, basePath));
21713
+ return localVarFp.updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPasswordUpdateRequest, options).then((request) => request(axios, basePath));
21711
21714
  },
21712
21715
  /**
21713
21716
  * Update a RabbitMQ account privileges
@@ -22103,6 +22106,17 @@ class SharedApi extends base_1.BaseAPI {
22103
22106
  createKafkaTopic(requestParameters, options) {
22104
22107
  return (0, exports.SharedApiFp)(this.configuration).createKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.createTopicRequest, options).then((request) => request(this.axios, this.basePath));
22105
22108
  }
22109
+ /**
22110
+ * Create a Milvus native role and grant its initial privileges.
22111
+ * @summary Create Milvus role
22112
+ * @param {SharedApiCreateMilvusRoleRequest} requestParameters Request parameters.
22113
+ * @param {*} [options] Override http request option.
22114
+ * @throws {RequiredError}
22115
+ * @memberof SharedApi
22116
+ */
22117
+ createMilvusRole(requestParameters, options) {
22118
+ return (0, exports.SharedApiFp)(this.configuration).createMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
22119
+ }
22106
22120
  /**
22107
22121
  * create an account in mongodb
22108
22122
  * @summary Create mongodb account
@@ -22806,18 +22820,6 @@ class SharedApi extends base_1.BaseAPI {
22806
22820
  getAlertRule(requestParameters, options) {
22807
22821
  return (0, exports.SharedApiFp)(this.configuration).getAlertRule(requestParameters.orgName, requestParameters.alertName, options).then((request) => request(this.axios, this.basePath));
22808
22822
  }
22809
- /**
22810
- *
22811
- * @summary list autohealing job
22812
- * @param {SharedApiGetAutohealingRequest} requestParameters Request parameters.
22813
- * @param {*} [options] Override http request option.
22814
- * @deprecated
22815
- * @throws {RequiredError}
22816
- * @memberof SharedApi
22817
- */
22818
- getAutohealing(requestParameters, options) {
22819
- return (0, exports.SharedApiFp)(this.configuration).getAutohealing(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
22820
- }
22821
22823
  /**
22822
22824
  *
22823
22825
  * @summary Get backup
@@ -24256,17 +24258,6 @@ class SharedApi extends base_1.BaseAPI {
24256
24258
  putElasticsearchSecurityUser(requestParameters, options) {
24257
24259
  return (0, exports.SharedApiFp)(this.configuration).putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
24258
24260
  }
24259
- /**
24260
- * Create or update a Milvus native role and replace its privilege grants.
24261
- * @summary Put Milvus role
24262
- * @param {SharedApiPutMilvusRoleRequest} requestParameters Request parameters.
24263
- * @param {*} [options] Override http request option.
24264
- * @throws {RequiredError}
24265
- * @memberof SharedApi
24266
- */
24267
- putMilvusRole(requestParameters, options) {
24268
- return (0, exports.SharedApiFp)(this.configuration).putMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
24269
- }
24270
24261
  /**
24271
24262
  *
24272
24263
  * @summary create a SQL query
@@ -24937,6 +24928,17 @@ class SharedApi extends base_1.BaseAPI {
24937
24928
  updateMilvusAccountRoles(requestParameters, options) {
24938
24929
  return (0, exports.SharedApiFp)(this.configuration).updateMilvusAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
24939
24930
  }
24931
+ /**
24932
+ * Update an existing Milvus native role by replacing its privilege grants.
24933
+ * @summary Update Milvus role
24934
+ * @param {SharedApiUpdateMilvusRoleRequest} requestParameters Request parameters.
24935
+ * @param {*} [options] Override http request option.
24936
+ * @throws {RequiredError}
24937
+ * @memberof SharedApi
24938
+ */
24939
+ updateMilvusRole(requestParameters, options) {
24940
+ return (0, exports.SharedApiFp)(this.configuration).updateMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
24941
+ }
24940
24942
  /**
24941
24943
  *
24942
24944
  * @summary update mssql account compatible with windows account
@@ -24957,7 +24959,7 @@ class SharedApi extends base_1.BaseAPI {
24957
24959
  * @memberof SharedApi
24958
24960
  */
24959
24961
  updateRabbitAccountPassword(requestParameters, options) {
24960
- return (0, exports.SharedApiFp)(this.configuration).updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqUser, options).then((request) => request(this.axios, this.basePath));
24962
+ return (0, exports.SharedApiFp)(this.configuration).updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPasswordUpdateRequest, options).then((request) => request(this.axios, this.basePath));
24961
24963
  }
24962
24964
  /**
24963
24965
  * Update a RabbitMQ account privileges