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
@@ -1267,6 +1267,49 @@ const SharedApiAxiosParamCreator = function (configuration) {
1267
1267
  options: localVarRequestOptions,
1268
1268
  };
1269
1269
  },
1270
+ /**
1271
+ * Create a Milvus native role and grant its initial privileges.
1272
+ * @summary Create Milvus role
1273
+ * @param {string} orgName name of the Org
1274
+ * @param {string} clusterName name of the Cluster
1275
+ * @param {MilvusRoleCreateRequest} body
1276
+ * @param {*} [options] Override http request option.
1277
+ * @throws {RequiredError}
1278
+ */
1279
+ createMilvusRole: async (orgName, clusterName, body, options = {}) => {
1280
+ // verify required parameter 'orgName' is not null or undefined
1281
+ (0, common_1.assertParamExists)('createMilvusRole', 'orgName', orgName);
1282
+ // verify required parameter 'clusterName' is not null or undefined
1283
+ (0, common_1.assertParamExists)('createMilvusRole', 'clusterName', clusterName);
1284
+ // verify required parameter 'body' is not null or undefined
1285
+ (0, common_1.assertParamExists)('createMilvusRole', 'body', body);
1286
+ const localVarPath = `/admin/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles`
1287
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1288
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
1289
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1290
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1291
+ let baseOptions;
1292
+ if (configuration) {
1293
+ baseOptions = configuration.baseOptions;
1294
+ }
1295
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1296
+ const localVarHeaderParameter = {};
1297
+ const localVarQueryParameter = {};
1298
+ // authentication BearerToken required
1299
+ // http bearer authentication required
1300
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1301
+ // authentication DigestAuth required
1302
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1303
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1304
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1305
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1306
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1307
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
1308
+ return {
1309
+ url: (0, common_1.toPathString)(localVarUrlObj),
1310
+ options: localVarRequestOptions,
1311
+ };
1312
+ },
1270
1313
  /**
1271
1314
  * create an account in mongodb
1272
1315
  * @summary Create mongodb account
@@ -3793,45 +3836,6 @@ const SharedApiAxiosParamCreator = function (configuration) {
3793
3836
  options: localVarRequestOptions,
3794
3837
  };
3795
3838
  },
3796
- /**
3797
- *
3798
- * @summary list autohealing job
3799
- * @param {string} orgName name of the Org
3800
- * @param {string} clusterName name of the Cluster
3801
- * @param {*} [options] Override http request option.
3802
- * @deprecated
3803
- * @throws {RequiredError}
3804
- */
3805
- getAutohealing: async (orgName, clusterName, options = {}) => {
3806
- // verify required parameter 'orgName' is not null or undefined
3807
- (0, common_1.assertParamExists)('getAutohealing', 'orgName', orgName);
3808
- // verify required parameter 'clusterName' is not null or undefined
3809
- (0, common_1.assertParamExists)('getAutohealing', 'clusterName', clusterName);
3810
- const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/autohealing`
3811
- .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
3812
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
3813
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
3814
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3815
- let baseOptions;
3816
- if (configuration) {
3817
- baseOptions = configuration.baseOptions;
3818
- }
3819
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
3820
- const localVarHeaderParameter = {};
3821
- const localVarQueryParameter = {};
3822
- // authentication BearerToken required
3823
- // http bearer authentication required
3824
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3825
- // authentication DigestAuth required
3826
- await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
3827
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3828
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3829
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3830
- return {
3831
- url: (0, common_1.toPathString)(localVarUrlObj),
3832
- options: localVarRequestOptions,
3833
- };
3834
- },
3835
3839
  /**
3836
3840
  *
3837
3841
  * @summary Get backup
@@ -9944,53 +9948,6 @@ const SharedApiAxiosParamCreator = function (configuration) {
9944
9948
  options: localVarRequestOptions,
9945
9949
  };
9946
9950
  },
9947
- /**
9948
- * Create or update a Milvus native role and replace its privilege grants.
9949
- * @summary Put Milvus role
9950
- * @param {string} orgName name of the Org
9951
- * @param {string} clusterName name of the Cluster
9952
- * @param {string} roleName name of the Milvus role
9953
- * @param {MilvusRoleRequest} body
9954
- * @param {*} [options] Override http request option.
9955
- * @throws {RequiredError}
9956
- */
9957
- putMilvusRole: async (orgName, clusterName, roleName, body, options = {}) => {
9958
- // verify required parameter 'orgName' is not null or undefined
9959
- (0, common_1.assertParamExists)('putMilvusRole', 'orgName', orgName);
9960
- // verify required parameter 'clusterName' is not null or undefined
9961
- (0, common_1.assertParamExists)('putMilvusRole', 'clusterName', clusterName);
9962
- // verify required parameter 'roleName' is not null or undefined
9963
- (0, common_1.assertParamExists)('putMilvusRole', 'roleName', roleName);
9964
- // verify required parameter 'body' is not null or undefined
9965
- (0, common_1.assertParamExists)('putMilvusRole', 'body', body);
9966
- const localVarPath = `/admin/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
9967
- .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
9968
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
9969
- .replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
9970
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
9971
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9972
- let baseOptions;
9973
- if (configuration) {
9974
- baseOptions = configuration.baseOptions;
9975
- }
9976
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
9977
- const localVarHeaderParameter = {};
9978
- const localVarQueryParameter = {};
9979
- // authentication BearerToken required
9980
- // http bearer authentication required
9981
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
9982
- // authentication DigestAuth required
9983
- await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
9984
- localVarHeaderParameter['Content-Type'] = 'application/json';
9985
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
9986
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9987
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9988
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
9989
- return {
9990
- url: (0, common_1.toPathString)(localVarUrlObj),
9991
- options: localVarRequestOptions,
9992
- };
9993
- },
9994
9951
  /**
9995
9952
  *
9996
9953
  * @summary create a SQL query
@@ -13132,6 +13089,53 @@ const SharedApiAxiosParamCreator = function (configuration) {
13132
13089
  options: localVarRequestOptions,
13133
13090
  };
13134
13091
  },
13092
+ /**
13093
+ * Update an existing Milvus native role by replacing its privilege grants.
13094
+ * @summary Update Milvus role
13095
+ * @param {string} orgName name of the Org
13096
+ * @param {string} clusterName name of the Cluster
13097
+ * @param {string} roleName name of the Milvus role
13098
+ * @param {MilvusRoleRequest} body
13099
+ * @param {*} [options] Override http request option.
13100
+ * @throws {RequiredError}
13101
+ */
13102
+ updateMilvusRole: async (orgName, clusterName, roleName, body, options = {}) => {
13103
+ // verify required parameter 'orgName' is not null or undefined
13104
+ (0, common_1.assertParamExists)('updateMilvusRole', 'orgName', orgName);
13105
+ // verify required parameter 'clusterName' is not null or undefined
13106
+ (0, common_1.assertParamExists)('updateMilvusRole', 'clusterName', clusterName);
13107
+ // verify required parameter 'roleName' is not null or undefined
13108
+ (0, common_1.assertParamExists)('updateMilvusRole', 'roleName', roleName);
13109
+ // verify required parameter 'body' is not null or undefined
13110
+ (0, common_1.assertParamExists)('updateMilvusRole', 'body', body);
13111
+ const localVarPath = `/admin/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
13112
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
13113
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
13114
+ .replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
13115
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13116
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13117
+ let baseOptions;
13118
+ if (configuration) {
13119
+ baseOptions = configuration.baseOptions;
13120
+ }
13121
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
13122
+ const localVarHeaderParameter = {};
13123
+ const localVarQueryParameter = {};
13124
+ // authentication BearerToken required
13125
+ // http bearer authentication required
13126
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
13127
+ // authentication DigestAuth required
13128
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
13129
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13130
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
13131
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13132
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13133
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
13134
+ return {
13135
+ url: (0, common_1.toPathString)(localVarUrlObj),
13136
+ options: localVarRequestOptions,
13137
+ };
13138
+ },
13135
13139
  /**
13136
13140
  *
13137
13141
  * @summary update mssql account compatible with windows account
@@ -13179,19 +13183,19 @@ const SharedApiAxiosParamCreator = function (configuration) {
13179
13183
  * @param {string} orgName name of the Org
13180
13184
  * @param {string} clusterName name of the Cluster
13181
13185
  * @param {string} accountName name of the Account
13182
- * @param {RbmqUser} rbmqUser
13186
+ * @param {RbmqPasswordUpdateRequest} rbmqPasswordUpdateRequest
13183
13187
  * @param {*} [options] Override http request option.
13184
13188
  * @throws {RequiredError}
13185
13189
  */
13186
- updateRabbitAccountPassword: async (orgName, clusterName, accountName, rbmqUser, options = {}) => {
13190
+ updateRabbitAccountPassword: async (orgName, clusterName, accountName, rbmqPasswordUpdateRequest, options = {}) => {
13187
13191
  // verify required parameter 'orgName' is not null or undefined
13188
13192
  (0, common_1.assertParamExists)('updateRabbitAccountPassword', 'orgName', orgName);
13189
13193
  // verify required parameter 'clusterName' is not null or undefined
13190
13194
  (0, common_1.assertParamExists)('updateRabbitAccountPassword', 'clusterName', clusterName);
13191
13195
  // verify required parameter 'accountName' is not null or undefined
13192
13196
  (0, common_1.assertParamExists)('updateRabbitAccountPassword', 'accountName', accountName);
13193
- // verify required parameter 'rbmqUser' is not null or undefined
13194
- (0, common_1.assertParamExists)('updateRabbitAccountPassword', 'rbmqUser', rbmqUser);
13197
+ // verify required parameter 'rbmqPasswordUpdateRequest' is not null or undefined
13198
+ (0, common_1.assertParamExists)('updateRabbitAccountPassword', 'rbmqPasswordUpdateRequest', rbmqPasswordUpdateRequest);
13195
13199
  const localVarPath = `/admin/v1/data/rabbitmq/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
13196
13200
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
13197
13201
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
@@ -13214,7 +13218,7 @@ const SharedApiAxiosParamCreator = function (configuration) {
13214
13218
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
13215
13219
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13216
13220
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13217
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(rbmqUser, localVarRequestOptions, configuration);
13221
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(rbmqPasswordUpdateRequest, localVarRequestOptions, configuration);
13218
13222
  return {
13219
13223
  url: (0, common_1.toPathString)(localVarUrlObj),
13220
13224
  options: localVarRequestOptions,
@@ -14215,6 +14219,22 @@ const SharedApiFp = function (configuration) {
14215
14219
  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;
14216
14220
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14217
14221
  },
14222
+ /**
14223
+ * Create a Milvus native role and grant its initial privileges.
14224
+ * @summary Create Milvus role
14225
+ * @param {string} orgName name of the Org
14226
+ * @param {string} clusterName name of the Cluster
14227
+ * @param {MilvusRoleCreateRequest} body
14228
+ * @param {*} [options] Override http request option.
14229
+ * @throws {RequiredError}
14230
+ */
14231
+ async createMilvusRole(orgName, clusterName, body, options) {
14232
+ var _a, _b, _c;
14233
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createMilvusRole(orgName, clusterName, body, options);
14234
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14235
+ 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;
14236
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14237
+ },
14218
14238
  /**
14219
14239
  * create an account in mongodb
14220
14240
  * @summary Create mongodb account
@@ -15152,22 +15172,6 @@ const SharedApiFp = function (configuration) {
15152
15172
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.generateDemoData']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
15153
15173
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15154
15174
  },
15155
- /**
15156
- *
15157
- * @summary list autohealing job
15158
- * @param {string} orgName name of the Org
15159
- * @param {string} clusterName name of the Cluster
15160
- * @param {*} [options] Override http request option.
15161
- * @deprecated
15162
- * @throws {RequiredError}
15163
- */
15164
- async getAutohealing(orgName, clusterName, options) {
15165
- var _a, _b, _c;
15166
- const localVarAxiosArgs = await localVarAxiosParamCreator.getAutohealing(orgName, clusterName, options);
15167
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
15168
- 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;
15169
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15170
- },
15171
15175
  /**
15172
15176
  *
15173
15177
  * @summary Get backup
@@ -17451,23 +17455,6 @@ const SharedApiFp = function (configuration) {
17451
17455
  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;
17452
17456
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17453
17457
  },
17454
- /**
17455
- * Create or update a Milvus native role and replace its privilege grants.
17456
- * @summary Put Milvus role
17457
- * @param {string} orgName name of the Org
17458
- * @param {string} clusterName name of the Cluster
17459
- * @param {string} roleName name of the Milvus role
17460
- * @param {MilvusRoleRequest} body
17461
- * @param {*} [options] Override http request option.
17462
- * @throws {RequiredError}
17463
- */
17464
- async putMilvusRole(orgName, clusterName, roleName, body, options) {
17465
- var _a, _b, _c;
17466
- const localVarAxiosArgs = await localVarAxiosParamCreator.putMilvusRole(orgName, clusterName, roleName, body, options);
17467
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
17468
- 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;
17469
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17470
- },
17471
17458
  /**
17472
17459
  *
17473
17460
  * @summary create a SQL query
@@ -18550,6 +18537,23 @@ const SharedApiFp = function (configuration) {
18550
18537
  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;
18551
18538
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18552
18539
  },
18540
+ /**
18541
+ * Update an existing Milvus native role by replacing its privilege grants.
18542
+ * @summary Update Milvus role
18543
+ * @param {string} orgName name of the Org
18544
+ * @param {string} clusterName name of the Cluster
18545
+ * @param {string} roleName name of the Milvus role
18546
+ * @param {MilvusRoleRequest} body
18547
+ * @param {*} [options] Override http request option.
18548
+ * @throws {RequiredError}
18549
+ */
18550
+ async updateMilvusRole(orgName, clusterName, roleName, body, options) {
18551
+ var _a, _b, _c;
18552
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateMilvusRole(orgName, clusterName, roleName, body, options);
18553
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18554
+ 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;
18555
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18556
+ },
18553
18557
  /**
18554
18558
  *
18555
18559
  * @summary update mssql account compatible with windows account
@@ -18572,13 +18576,13 @@ const SharedApiFp = function (configuration) {
18572
18576
  * @param {string} orgName name of the Org
18573
18577
  * @param {string} clusterName name of the Cluster
18574
18578
  * @param {string} accountName name of the Account
18575
- * @param {RbmqUser} rbmqUser
18579
+ * @param {RbmqPasswordUpdateRequest} rbmqPasswordUpdateRequest
18576
18580
  * @param {*} [options] Override http request option.
18577
18581
  * @throws {RequiredError}
18578
18582
  */
18579
- async updateRabbitAccountPassword(orgName, clusterName, accountName, rbmqUser, options) {
18583
+ async updateRabbitAccountPassword(orgName, clusterName, accountName, rbmqPasswordUpdateRequest, options) {
18580
18584
  var _a, _b, _c;
18581
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateRabbitAccountPassword(orgName, clusterName, accountName, rbmqUser, options);
18585
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateRabbitAccountPassword(orgName, clusterName, accountName, rbmqPasswordUpdateRequest, options);
18582
18586
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18583
18587
  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;
18584
18588
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -19059,6 +19063,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
19059
19063
  createKafkaTopic(requestParameters, options) {
19060
19064
  return localVarFp.createKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.createTopicRequest, options).then((request) => request(axios, basePath));
19061
19065
  },
19066
+ /**
19067
+ * Create a Milvus native role and grant its initial privileges.
19068
+ * @summary Create Milvus role
19069
+ * @param {SharedApiCreateMilvusRoleRequest} requestParameters Request parameters.
19070
+ * @param {*} [options] Override http request option.
19071
+ * @throws {RequiredError}
19072
+ */
19073
+ createMilvusRole(requestParameters, options) {
19074
+ return localVarFp.createMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
19075
+ },
19062
19076
  /**
19063
19077
  * create an account in mongodb
19064
19078
  * @summary Create mongodb account
@@ -19629,17 +19643,6 @@ const SharedApiFactory = function (configuration, basePath, axios) {
19629
19643
  generateDemoData(requestParameters, options) {
19630
19644
  return localVarFp.generateDemoData(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
19631
19645
  },
19632
- /**
19633
- *
19634
- * @summary list autohealing job
19635
- * @param {SharedApiGetAutohealingRequest} requestParameters Request parameters.
19636
- * @param {*} [options] Override http request option.
19637
- * @deprecated
19638
- * @throws {RequiredError}
19639
- */
19640
- getAutohealing(requestParameters, options) {
19641
- return localVarFp.getAutohealing(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
19642
- },
19643
19646
  /**
19644
19647
  *
19645
19648
  * @summary Get backup
@@ -21035,16 +21038,6 @@ const SharedApiFactory = function (configuration, basePath, axios) {
21035
21038
  putElasticsearchSecurityUser(requestParameters, options) {
21036
21039
  return localVarFp.putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(axios, basePath));
21037
21040
  },
21038
- /**
21039
- * Create or update a Milvus native role and replace its privilege grants.
21040
- * @summary Put Milvus role
21041
- * @param {SharedApiPutMilvusRoleRequest} requestParameters Request parameters.
21042
- * @param {*} [options] Override http request option.
21043
- * @throws {RequiredError}
21044
- */
21045
- putMilvusRole(requestParameters, options) {
21046
- return localVarFp.putMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
21047
- },
21048
21041
  /**
21049
21042
  *
21050
21043
  * @summary create a SQL query
@@ -21624,6 +21617,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
21624
21617
  updateMilvusAccountRoles(requestParameters, options) {
21625
21618
  return localVarFp.updateMilvusAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
21626
21619
  },
21620
+ /**
21621
+ * Update an existing Milvus native role by replacing its privilege grants.
21622
+ * @summary Update Milvus role
21623
+ * @param {SharedApiUpdateMilvusRoleRequest} requestParameters Request parameters.
21624
+ * @param {*} [options] Override http request option.
21625
+ * @throws {RequiredError}
21626
+ */
21627
+ updateMilvusRole(requestParameters, options) {
21628
+ return localVarFp.updateMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
21629
+ },
21627
21630
  /**
21628
21631
  *
21629
21632
  * @summary update mssql account compatible with windows account
@@ -21642,7 +21645,7 @@ const SharedApiFactory = function (configuration, basePath, axios) {
21642
21645
  * @throws {RequiredError}
21643
21646
  */
21644
21647
  updateRabbitAccountPassword(requestParameters, options) {
21645
- return localVarFp.updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqUser, options).then((request) => request(axios, basePath));
21648
+ return localVarFp.updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPasswordUpdateRequest, options).then((request) => request(axios, basePath));
21646
21649
  },
21647
21650
  /**
21648
21651
  * Update a RabbitMQ account privileges
@@ -22070,6 +22073,17 @@ class SharedApi extends base_1.BaseAPI {
22070
22073
  createKafkaTopic(requestParameters, options) {
22071
22074
  return (0, exports.SharedApiFp)(this.configuration).createKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.createTopicRequest, options).then((request) => request(this.axios, this.basePath));
22072
22075
  }
22076
+ /**
22077
+ * Create a Milvus native role and grant its initial privileges.
22078
+ * @summary Create Milvus role
22079
+ * @param {SharedApiCreateMilvusRoleRequest} requestParameters Request parameters.
22080
+ * @param {*} [options] Override http request option.
22081
+ * @throws {RequiredError}
22082
+ * @memberof SharedApi
22083
+ */
22084
+ createMilvusRole(requestParameters, options) {
22085
+ return (0, exports.SharedApiFp)(this.configuration).createMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
22086
+ }
22073
22087
  /**
22074
22088
  * create an account in mongodb
22075
22089
  * @summary Create mongodb account
@@ -22697,18 +22711,6 @@ class SharedApi extends base_1.BaseAPI {
22697
22711
  generateDemoData(requestParameters, options) {
22698
22712
  return (0, exports.SharedApiFp)(this.configuration).generateDemoData(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
22699
22713
  }
22700
- /**
22701
- *
22702
- * @summary list autohealing job
22703
- * @param {SharedApiGetAutohealingRequest} requestParameters Request parameters.
22704
- * @param {*} [options] Override http request option.
22705
- * @deprecated
22706
- * @throws {RequiredError}
22707
- * @memberof SharedApi
22708
- */
22709
- getAutohealing(requestParameters, options) {
22710
- return (0, exports.SharedApiFp)(this.configuration).getAutohealing(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
22711
- }
22712
22714
  /**
22713
22715
  *
22714
22716
  * @summary Get backup
@@ -24244,17 +24246,6 @@ class SharedApi extends base_1.BaseAPI {
24244
24246
  putElasticsearchSecurityUser(requestParameters, options) {
24245
24247
  return (0, exports.SharedApiFp)(this.configuration).putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
24246
24248
  }
24247
- /**
24248
- * Create or update a Milvus native role and replace its privilege grants.
24249
- * @summary Put Milvus role
24250
- * @param {SharedApiPutMilvusRoleRequest} requestParameters Request parameters.
24251
- * @param {*} [options] Override http request option.
24252
- * @throws {RequiredError}
24253
- * @memberof SharedApi
24254
- */
24255
- putMilvusRole(requestParameters, options) {
24256
- return (0, exports.SharedApiFp)(this.configuration).putMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
24257
- }
24258
24249
  /**
24259
24250
  *
24260
24251
  * @summary create a SQL query
@@ -24892,6 +24883,17 @@ class SharedApi extends base_1.BaseAPI {
24892
24883
  updateMilvusAccountRoles(requestParameters, options) {
24893
24884
  return (0, exports.SharedApiFp)(this.configuration).updateMilvusAccountRoles(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
24894
24885
  }
24886
+ /**
24887
+ * Update an existing Milvus native role by replacing its privilege grants.
24888
+ * @summary Update Milvus role
24889
+ * @param {SharedApiUpdateMilvusRoleRequest} requestParameters Request parameters.
24890
+ * @param {*} [options] Override http request option.
24891
+ * @throws {RequiredError}
24892
+ * @memberof SharedApi
24893
+ */
24894
+ updateMilvusRole(requestParameters, options) {
24895
+ return (0, exports.SharedApiFp)(this.configuration).updateMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
24896
+ }
24895
24897
  /**
24896
24898
  *
24897
24899
  * @summary update mssql account compatible with windows account
@@ -24912,7 +24914,7 @@ class SharedApi extends base_1.BaseAPI {
24912
24914
  * @memberof SharedApi
24913
24915
  */
24914
24916
  updateRabbitAccountPassword(requestParameters, options) {
24915
- return (0, exports.SharedApiFp)(this.configuration).updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqUser, options).then((request) => request(this.axios, this.basePath));
24917
+ return (0, exports.SharedApiFp)(this.configuration).updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPasswordUpdateRequest, options).then((request) => request(this.axios, this.basePath));
24916
24918
  }
24917
24919
  /**
24918
24920
  * Update a RabbitMQ account privileges