kb-cloud-client-typescript 2.3.0-alpha.135 → 2.3.0-alpha.136

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 (139) hide show
  1. package/dist/adminapi/apis/diagnostics-api.d.ts +6 -6
  2. package/dist/adminapi/apis/diagnostics-api.js +4 -4
  3. package/dist/adminapi/apis/dms-api.d.ts +120 -0
  4. package/dist/adminapi/apis/dms-api.d.ts.map +1 -1
  5. package/dist/adminapi/apis/dms-api.js +109 -0
  6. package/dist/adminapi/apis/dms-api.js.map +1 -1
  7. package/dist/adminapi/models/index.d.ts +9 -0
  8. package/dist/adminapi/models/index.d.ts.map +1 -1
  9. package/dist/adminapi/models/index.js +9 -0
  10. package/dist/adminapi/models/index.js.map +1 -1
  11. package/dist/adminapi/models/performance-trend-range.d.ts +1 -1
  12. package/dist/adminapi/models/performance-trend-series.d.ts +1 -1
  13. package/dist/adminapi/models/performance-trend-summary.d.ts +1 -1
  14. package/dist/adminapi/models/redis-analysis-expiration-group.d.ts +55 -0
  15. package/dist/adminapi/models/redis-analysis-expiration-group.d.ts.map +1 -0
  16. package/dist/adminapi/models/redis-analysis-expiration-group.js +16 -0
  17. package/dist/adminapi/models/redis-analysis-expiration-group.js.map +1 -0
  18. package/dist/adminapi/models/redis-analysis-filter.d.ts +31 -0
  19. package/dist/adminapi/models/redis-analysis-filter.d.ts.map +1 -0
  20. package/dist/adminapi/models/redis-analysis-filter.js +16 -0
  21. package/dist/adminapi/models/redis-analysis-filter.js.map +1 -0
  22. package/dist/adminapi/models/redis-analysis-key.d.ts +61 -0
  23. package/dist/adminapi/models/redis-analysis-key.d.ts.map +1 -0
  24. package/dist/adminapi/models/redis-analysis-key.js +16 -0
  25. package/dist/adminapi/models/redis-analysis-key.js.map +1 -0
  26. package/dist/adminapi/models/redis-analysis-namespace-summary.d.ts +56 -0
  27. package/dist/adminapi/models/redis-analysis-namespace-summary.d.ts.map +1 -0
  28. package/dist/adminapi/models/redis-analysis-namespace-summary.js +16 -0
  29. package/dist/adminapi/models/redis-analysis-namespace-summary.js.map +1 -0
  30. package/dist/adminapi/models/redis-analysis-namespace-type-summary.d.ts +49 -0
  31. package/dist/adminapi/models/redis-analysis-namespace-type-summary.d.ts.map +1 -0
  32. package/dist/adminapi/models/redis-analysis-namespace-type-summary.js +16 -0
  33. package/dist/adminapi/models/redis-analysis-namespace-type-summary.js.map +1 -0
  34. package/dist/adminapi/models/redis-analysis-progress.d.ts +85 -0
  35. package/dist/adminapi/models/redis-analysis-progress.d.ts.map +1 -0
  36. package/dist/adminapi/models/redis-analysis-progress.js +16 -0
  37. package/dist/adminapi/models/redis-analysis-progress.js.map +1 -0
  38. package/dist/adminapi/models/redis-analysis-response.d.ts +115 -0
  39. package/dist/adminapi/models/redis-analysis-response.d.ts.map +1 -0
  40. package/dist/adminapi/models/redis-analysis-response.js +16 -0
  41. package/dist/adminapi/models/redis-analysis-response.js.map +1 -0
  42. package/dist/adminapi/models/redis-analysis-simple-type-summary.d.ts +37 -0
  43. package/dist/adminapi/models/redis-analysis-simple-type-summary.d.ts.map +1 -0
  44. package/dist/adminapi/models/redis-analysis-simple-type-summary.js +16 -0
  45. package/dist/adminapi/models/redis-analysis-simple-type-summary.js.map +1 -0
  46. package/dist/adminapi/models/redis-analysis-typed-summary.d.ts +32 -0
  47. package/dist/adminapi/models/redis-analysis-typed-summary.d.ts.map +1 -0
  48. package/dist/adminapi/models/redis-analysis-typed-summary.js +16 -0
  49. package/dist/adminapi/models/redis-analysis-typed-summary.js.map +1 -0
  50. package/dist/adminapi/models/redis-data-capabilities.d.ts +6 -0
  51. package/dist/adminapi/models/redis-data-capabilities.d.ts.map +1 -1
  52. package/dist/openapi/apis/diagnostics-api.d.ts +6 -6
  53. package/dist/openapi/apis/diagnostics-api.js +4 -4
  54. package/dist/openapi/apis/dms-api.d.ts +120 -0
  55. package/dist/openapi/apis/dms-api.d.ts.map +1 -1
  56. package/dist/openapi/apis/dms-api.js +109 -0
  57. package/dist/openapi/apis/dms-api.js.map +1 -1
  58. package/dist/openapi/models/index.d.ts +9 -0
  59. package/dist/openapi/models/index.d.ts.map +1 -1
  60. package/dist/openapi/models/index.js +9 -0
  61. package/dist/openapi/models/index.js.map +1 -1
  62. package/dist/openapi/models/performance-trend-range.d.ts +1 -1
  63. package/dist/openapi/models/performance-trend-series.d.ts +1 -1
  64. package/dist/openapi/models/performance-trend-summary.d.ts +1 -1
  65. package/dist/openapi/models/redis-analysis-expiration-group.d.ts +55 -0
  66. package/dist/openapi/models/redis-analysis-expiration-group.d.ts.map +1 -0
  67. package/dist/openapi/models/redis-analysis-expiration-group.js +16 -0
  68. package/dist/openapi/models/redis-analysis-expiration-group.js.map +1 -0
  69. package/dist/openapi/models/redis-analysis-filter.d.ts +31 -0
  70. package/dist/openapi/models/redis-analysis-filter.d.ts.map +1 -0
  71. package/dist/openapi/models/redis-analysis-filter.js +16 -0
  72. package/dist/openapi/models/redis-analysis-filter.js.map +1 -0
  73. package/dist/openapi/models/redis-analysis-key.d.ts +61 -0
  74. package/dist/openapi/models/redis-analysis-key.d.ts.map +1 -0
  75. package/dist/openapi/models/redis-analysis-key.js +16 -0
  76. package/dist/openapi/models/redis-analysis-key.js.map +1 -0
  77. package/dist/openapi/models/redis-analysis-namespace-summary.d.ts +56 -0
  78. package/dist/openapi/models/redis-analysis-namespace-summary.d.ts.map +1 -0
  79. package/dist/openapi/models/redis-analysis-namespace-summary.js +16 -0
  80. package/dist/openapi/models/redis-analysis-namespace-summary.js.map +1 -0
  81. package/dist/openapi/models/redis-analysis-namespace-type-summary.d.ts +49 -0
  82. package/dist/openapi/models/redis-analysis-namespace-type-summary.d.ts.map +1 -0
  83. package/dist/openapi/models/redis-analysis-namespace-type-summary.js +16 -0
  84. package/dist/openapi/models/redis-analysis-namespace-type-summary.js.map +1 -0
  85. package/dist/openapi/models/redis-analysis-progress.d.ts +85 -0
  86. package/dist/openapi/models/redis-analysis-progress.d.ts.map +1 -0
  87. package/dist/openapi/models/redis-analysis-progress.js +16 -0
  88. package/dist/openapi/models/redis-analysis-progress.js.map +1 -0
  89. package/dist/openapi/models/redis-analysis-response.d.ts +115 -0
  90. package/dist/openapi/models/redis-analysis-response.d.ts.map +1 -0
  91. package/dist/openapi/models/redis-analysis-response.js +16 -0
  92. package/dist/openapi/models/redis-analysis-response.js.map +1 -0
  93. package/dist/openapi/models/redis-analysis-simple-type-summary.d.ts +37 -0
  94. package/dist/openapi/models/redis-analysis-simple-type-summary.d.ts.map +1 -0
  95. package/dist/openapi/models/redis-analysis-simple-type-summary.js +16 -0
  96. package/dist/openapi/models/redis-analysis-simple-type-summary.js.map +1 -0
  97. package/dist/openapi/models/redis-analysis-typed-summary.d.ts +32 -0
  98. package/dist/openapi/models/redis-analysis-typed-summary.d.ts.map +1 -0
  99. package/dist/openapi/models/redis-analysis-typed-summary.js +16 -0
  100. package/dist/openapi/models/redis-analysis-typed-summary.js.map +1 -0
  101. package/dist/openapi/models/redis-data-capabilities.d.ts +6 -0
  102. package/dist/openapi/models/redis-data-capabilities.d.ts.map +1 -1
  103. package/package.json +1 -1
  104. package/src/adminapi/.openapi-generator/FILES +9 -0
  105. package/src/adminapi/apis/diagnostics-api.ts +6 -6
  106. package/src/adminapi/apis/dms-api.ts +204 -0
  107. package/src/adminapi/models/index.ts +9 -0
  108. package/src/adminapi/models/performance-trend-range.ts +1 -1
  109. package/src/adminapi/models/performance-trend-series.ts +1 -1
  110. package/src/adminapi/models/performance-trend-summary.ts +1 -1
  111. package/src/adminapi/models/redis-analysis-expiration-group.ts +60 -0
  112. package/src/adminapi/models/redis-analysis-filter.ts +36 -0
  113. package/src/adminapi/models/redis-analysis-key.ts +66 -0
  114. package/src/adminapi/models/redis-analysis-namespace-summary.ts +63 -0
  115. package/src/adminapi/models/redis-analysis-namespace-type-summary.ts +54 -0
  116. package/src/adminapi/models/redis-analysis-progress.ts +90 -0
  117. package/src/adminapi/models/redis-analysis-response.ts +132 -0
  118. package/src/adminapi/models/redis-analysis-simple-type-summary.ts +42 -0
  119. package/src/adminapi/models/redis-analysis-typed-summary.ts +39 -0
  120. package/src/adminapi/models/redis-data-capabilities.ts +6 -0
  121. package/src/adminapi.yaml +304 -5
  122. package/src/openapi/.openapi-generator/FILES +9 -0
  123. package/src/openapi/apis/diagnostics-api.ts +6 -6
  124. package/src/openapi/apis/dms-api.ts +204 -0
  125. package/src/openapi/models/index.ts +9 -0
  126. package/src/openapi/models/performance-trend-range.ts +1 -1
  127. package/src/openapi/models/performance-trend-series.ts +1 -1
  128. package/src/openapi/models/performance-trend-summary.ts +1 -1
  129. package/src/openapi/models/redis-analysis-expiration-group.ts +60 -0
  130. package/src/openapi/models/redis-analysis-filter.ts +36 -0
  131. package/src/openapi/models/redis-analysis-key.ts +66 -0
  132. package/src/openapi/models/redis-analysis-namespace-summary.ts +63 -0
  133. package/src/openapi/models/redis-analysis-namespace-type-summary.ts +54 -0
  134. package/src/openapi/models/redis-analysis-progress.ts +90 -0
  135. package/src/openapi/models/redis-analysis-response.ts +132 -0
  136. package/src/openapi/models/redis-analysis-simple-type-summary.ts +42 -0
  137. package/src/openapi/models/redis-analysis-typed-summary.ts +39 -0
  138. package/src/openapi/models/redis-data-capabilities.ts +6 -0
  139. package/src/openapi.yaml +304 -5
@@ -124,6 +124,8 @@ import type { MongoWriteResult } from '../models';
124
124
  // @ts-ignore
125
125
  import type { ParameterHistoryList } from '../models';
126
126
  // @ts-ignore
127
+ import type { RedisAnalysisResponse } from '../models';
128
+ // @ts-ignore
127
129
  import type { RedisClusterTopology } from '../models';
128
130
  // @ts-ignore
129
131
  import type { RedisDangerousOperationRequest } from '../models';
@@ -220,6 +222,85 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
220
222
  options: localVarRequestOptions,
221
223
  };
222
224
  },
225
+ /**
226
+ * Returns an instant sample analysis for Redis keys. The result is not a persisted or full historical report; callers must use progress.complete, progress.processed, progress.sampleLimit, and generatedAt to present the sampling boundary.
227
+ * @summary analyze Redis keys by bounded SCAN sampling
228
+ * @param {string} orgName
229
+ * @param {string} clusterName
230
+ * @param {string} id
231
+ * @param {number} [database]
232
+ * @param {string} [match] Redis SCAN match pattern.
233
+ * @param {string} [cursor] Cursor returned by a previous analysis scan. Empty starts a new sample scan.
234
+ * @param {number} [sampleLimit] Maximum number of keys to sample in this analysis request.
235
+ * @param {number} [topN] Maximum number of top keys or namespaces to return.
236
+ * @param {string} [namespaceSeparator] Separator used to group key namespaces.
237
+ * @param {*} [options] Override http request option.
238
+ * @throws {RequiredError}
239
+ */
240
+ analyzeRedisKeys: async (orgName: string, clusterName: string, id: string, database?: number, match?: string, cursor?: string, sampleLimit?: number, topN?: number, namespaceSeparator?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
241
+ // verify required parameter 'orgName' is not null or undefined
242
+ assertParamExists('analyzeRedisKeys', 'orgName', orgName)
243
+ // verify required parameter 'clusterName' is not null or undefined
244
+ assertParamExists('analyzeRedisKeys', 'clusterName', clusterName)
245
+ // verify required parameter 'id' is not null or undefined
246
+ assertParamExists('analyzeRedisKeys', 'id', id)
247
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/redis/analysis`
248
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
249
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
250
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
251
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
252
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
253
+ let baseOptions;
254
+ if (configuration) {
255
+ baseOptions = configuration.baseOptions;
256
+ }
257
+
258
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
259
+ const localVarHeaderParameter = {} as any;
260
+ const localVarQueryParameter = {} as any;
261
+
262
+ // authentication BearerToken required
263
+ // http bearer authentication required
264
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
265
+
266
+ // authentication DigestAuth required
267
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
268
+
269
+ if (database !== undefined) {
270
+ localVarQueryParameter['database'] = database;
271
+ }
272
+
273
+ if (match !== undefined) {
274
+ localVarQueryParameter['match'] = match;
275
+ }
276
+
277
+ if (cursor !== undefined) {
278
+ localVarQueryParameter['cursor'] = cursor;
279
+ }
280
+
281
+ if (sampleLimit !== undefined) {
282
+ localVarQueryParameter['sampleLimit'] = sampleLimit;
283
+ }
284
+
285
+ if (topN !== undefined) {
286
+ localVarQueryParameter['topN'] = topN;
287
+ }
288
+
289
+ if (namespaceSeparator !== undefined) {
290
+ localVarQueryParameter['namespaceSeparator'] = namespaceSeparator;
291
+ }
292
+
293
+
294
+
295
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
296
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
297
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
298
+
299
+ return {
300
+ url: toPathString(localVarUrlObj),
301
+ options: localVarRequestOptions,
302
+ };
303
+ },
223
304
  /**
224
305
  *
225
306
  * @summary close a Redis Pub/Sub polling session
@@ -3933,6 +4014,27 @@ export const DmsApiFp = function(configuration?: Configuration) {
3933
4014
  const localVarOperationServerBasePath = operationServerMap['DmsApi.alterParameter']?.[localVarOperationServerIndex]?.url;
3934
4015
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3935
4016
  },
4017
+ /**
4018
+ * Returns an instant sample analysis for Redis keys. The result is not a persisted or full historical report; callers must use progress.complete, progress.processed, progress.sampleLimit, and generatedAt to present the sampling boundary.
4019
+ * @summary analyze Redis keys by bounded SCAN sampling
4020
+ * @param {string} orgName
4021
+ * @param {string} clusterName
4022
+ * @param {string} id
4023
+ * @param {number} [database]
4024
+ * @param {string} [match] Redis SCAN match pattern.
4025
+ * @param {string} [cursor] Cursor returned by a previous analysis scan. Empty starts a new sample scan.
4026
+ * @param {number} [sampleLimit] Maximum number of keys to sample in this analysis request.
4027
+ * @param {number} [topN] Maximum number of top keys or namespaces to return.
4028
+ * @param {string} [namespaceSeparator] Separator used to group key namespaces.
4029
+ * @param {*} [options] Override http request option.
4030
+ * @throws {RequiredError}
4031
+ */
4032
+ async analyzeRedisKeys(orgName: string, clusterName: string, id: string, database?: number, match?: string, cursor?: string, sampleLimit?: number, topN?: number, namespaceSeparator?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisAnalysisResponse>> {
4033
+ const localVarAxiosArgs = await localVarAxiosParamCreator.analyzeRedisKeys(orgName, clusterName, id, database, match, cursor, sampleLimit, topN, namespaceSeparator, options);
4034
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4035
+ const localVarOperationServerBasePath = operationServerMap['DmsApi.analyzeRedisKeys']?.[localVarOperationServerIndex]?.url;
4036
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4037
+ },
3936
4038
  /**
3937
4039
  *
3938
4040
  * @summary close a Redis Pub/Sub polling session
@@ -5039,6 +5141,16 @@ export const DmsApiFactory = function (configuration?: Configuration, basePath?:
5039
5141
  alterParameter(requestParameters: DmsApiAlterParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
5040
5142
  return localVarFp.alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(axios, basePath));
5041
5143
  },
5144
+ /**
5145
+ * Returns an instant sample analysis for Redis keys. The result is not a persisted or full historical report; callers must use progress.complete, progress.processed, progress.sampleLimit, and generatedAt to present the sampling boundary.
5146
+ * @summary analyze Redis keys by bounded SCAN sampling
5147
+ * @param {DmsApiAnalyzeRedisKeysRequest} requestParameters Request parameters.
5148
+ * @param {*} [options] Override http request option.
5149
+ * @throws {RequiredError}
5150
+ */
5151
+ analyzeRedisKeys(requestParameters: DmsApiAnalyzeRedisKeysRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisAnalysisResponse> {
5152
+ return localVarFp.analyzeRedisKeys(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, requestParameters.match, requestParameters.cursor, requestParameters.sampleLimit, requestParameters.topN, requestParameters.namespaceSeparator, options).then((request) => request(axios, basePath));
5153
+ },
5042
5154
  /**
5043
5155
  *
5044
5156
  * @summary close a Redis Pub/Sub polling session
@@ -5720,6 +5832,16 @@ export interface DmsApiInterface {
5720
5832
  */
5721
5833
  alterParameter(requestParameters: DmsApiAlterParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
5722
5834
 
5835
+ /**
5836
+ * Returns an instant sample analysis for Redis keys. The result is not a persisted or full historical report; callers must use progress.complete, progress.processed, progress.sampleLimit, and generatedAt to present the sampling boundary.
5837
+ * @summary analyze Redis keys by bounded SCAN sampling
5838
+ * @param {DmsApiAnalyzeRedisKeysRequest} requestParameters Request parameters.
5839
+ * @param {*} [options] Override http request option.
5840
+ * @throws {RequiredError}
5841
+ * @memberof DmsApiInterface
5842
+ */
5843
+ analyzeRedisKeys(requestParameters: DmsApiAnalyzeRedisKeysRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisAnalysisResponse>;
5844
+
5723
5845
  /**
5724
5846
  *
5725
5847
  * @summary close a Redis Pub/Sub polling session
@@ -6419,6 +6541,76 @@ export interface DmsApiAlterParameterRequest {
6419
6541
  readonly dmsObAlterParameter: DmsObAlterParameter
6420
6542
  }
6421
6543
 
6544
+ /**
6545
+ * Request parameters for analyzeRedisKeys operation in DmsApi.
6546
+ * @export
6547
+ * @interface DmsApiAnalyzeRedisKeysRequest
6548
+ */
6549
+ export interface DmsApiAnalyzeRedisKeysRequest {
6550
+ /**
6551
+ *
6552
+ * @type {string}
6553
+ * @memberof DmsApiAnalyzeRedisKeys
6554
+ */
6555
+ readonly orgName: string
6556
+
6557
+ /**
6558
+ *
6559
+ * @type {string}
6560
+ * @memberof DmsApiAnalyzeRedisKeys
6561
+ */
6562
+ readonly clusterName: string
6563
+
6564
+ /**
6565
+ *
6566
+ * @type {string}
6567
+ * @memberof DmsApiAnalyzeRedisKeys
6568
+ */
6569
+ readonly id: string
6570
+
6571
+ /**
6572
+ *
6573
+ * @type {number}
6574
+ * @memberof DmsApiAnalyzeRedisKeys
6575
+ */
6576
+ readonly database?: number
6577
+
6578
+ /**
6579
+ * Redis SCAN match pattern.
6580
+ * @type {string}
6581
+ * @memberof DmsApiAnalyzeRedisKeys
6582
+ */
6583
+ readonly match?: string
6584
+
6585
+ /**
6586
+ * Cursor returned by a previous analysis scan. Empty starts a new sample scan.
6587
+ * @type {string}
6588
+ * @memberof DmsApiAnalyzeRedisKeys
6589
+ */
6590
+ readonly cursor?: string
6591
+
6592
+ /**
6593
+ * Maximum number of keys to sample in this analysis request.
6594
+ * @type {number}
6595
+ * @memberof DmsApiAnalyzeRedisKeys
6596
+ */
6597
+ readonly sampleLimit?: number
6598
+
6599
+ /**
6600
+ * Maximum number of top keys or namespaces to return.
6601
+ * @type {number}
6602
+ * @memberof DmsApiAnalyzeRedisKeys
6603
+ */
6604
+ readonly topN?: number
6605
+
6606
+ /**
6607
+ * Separator used to group key namespaces.
6608
+ * @type {string}
6609
+ * @memberof DmsApiAnalyzeRedisKeys
6610
+ */
6611
+ readonly namespaceSeparator?: string
6612
+ }
6613
+
6422
6614
  /**
6423
6615
  * Request parameters for closeRedisPubSubSession operation in DmsApi.
6424
6616
  * @export
@@ -8944,6 +9136,18 @@ export class DmsApi extends BaseAPI implements DmsApiInterface {
8944
9136
  return DmsApiFp(this.configuration).alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(this.axios, this.basePath));
8945
9137
  }
8946
9138
 
9139
+ /**
9140
+ * Returns an instant sample analysis for Redis keys. The result is not a persisted or full historical report; callers must use progress.complete, progress.processed, progress.sampleLimit, and generatedAt to present the sampling boundary.
9141
+ * @summary analyze Redis keys by bounded SCAN sampling
9142
+ * @param {DmsApiAnalyzeRedisKeysRequest} requestParameters Request parameters.
9143
+ * @param {*} [options] Override http request option.
9144
+ * @throws {RequiredError}
9145
+ * @memberof DmsApi
9146
+ */
9147
+ public analyzeRedisKeys(requestParameters: DmsApiAnalyzeRedisKeysRequest, options?: RawAxiosRequestConfig) {
9148
+ return DmsApiFp(this.configuration).analyzeRedisKeys(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, requestParameters.match, requestParameters.cursor, requestParameters.sampleLimit, requestParameters.topN, requestParameters.namespaceSeparator, options).then((request) => request(this.axios, this.basePath));
9149
+ }
9150
+
8947
9151
  /**
8948
9152
  *
8949
9153
  * @summary close a Redis Pub/Sub polling session
@@ -688,6 +688,15 @@ export * from './recycle-bin-cluster';
688
688
  export * from './recycle-bin-cluster-list';
689
689
  export * from './recycle-bin-cluster-list-item';
690
690
  export * from './redis-aclcontext';
691
+ export * from './redis-analysis-expiration-group';
692
+ export * from './redis-analysis-filter';
693
+ export * from './redis-analysis-key';
694
+ export * from './redis-analysis-namespace-summary';
695
+ export * from './redis-analysis-namespace-type-summary';
696
+ export * from './redis-analysis-progress';
697
+ export * from './redis-analysis-response';
698
+ export * from './redis-analysis-simple-type-summary';
699
+ export * from './redis-analysis-typed-summary';
691
700
  export * from './redis-capability';
692
701
  export * from './redis-cluster-node';
693
702
  export * from './redis-cluster-slot';
@@ -21,7 +21,7 @@
21
21
  */
22
22
  export interface PerformanceTrendRange {
23
23
  /**
24
- * Controlled query range label. Values are 1h, 6h, or 24h.
24
+ * Controlled query range label. Values are 1h, 6h, 24h, or 7d.
25
25
  * @type {string}
26
26
  * @memberof PerformanceTrendRange
27
27
  */
@@ -39,7 +39,7 @@ export interface PerformanceTrendSeries {
39
39
  */
40
40
  'displayName': LocalizedDescription;
41
41
  /**
42
- * Metric category. Values are connectionsSessions, workload, resourcePressure, storagePVC, availability, maintenance, performance, or capacity.
42
+ * Metric category. Values are availability, performance, connections, resource, capacity, or vacuumWraparound.
43
43
  * @type {string}
44
44
  * @memberof PerformanceTrendSeries
45
45
  */
@@ -36,7 +36,7 @@ export interface PerformanceTrendSummary {
36
36
  */
37
37
  'displayName': LocalizedDescription;
38
38
  /**
39
- * Metric category. Values are connectionsSessions, workload, resourcePressure, storagePVC, availability, maintenance, performance, or capacity.
39
+ * Metric category. Values are availability, performance, connections, resource, capacity, or vacuumWraparound.
40
40
  * @type {string}
41
41
  * @memberof PerformanceTrendSummary
42
42
  */
@@ -0,0 +1,60 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Admin API
5
+ * The Admin API is used to manage the ApeCloud platform.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface RedisAnalysisExpirationGroup
21
+ */
22
+ export interface RedisAnalysisExpirationGroup {
23
+ /**
24
+ *
25
+ * @type {number}
26
+ * @memberof RedisAnalysisExpirationGroup
27
+ */
28
+ 'threshold'?: number;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof RedisAnalysisExpirationGroup
33
+ */
34
+ 'label'?: string;
35
+ /**
36
+ * Memory bytes likely to be freed in this TTL group.
37
+ * @type {number}
38
+ * @memberof RedisAnalysisExpirationGroup
39
+ */
40
+ 'total'?: number;
41
+ /**
42
+ *
43
+ * @type {number}
44
+ * @memberof RedisAnalysisExpirationGroup
45
+ */
46
+ 'keys'?: number;
47
+ /**
48
+ *
49
+ * @type {number}
50
+ * @memberof RedisAnalysisExpirationGroup
51
+ */
52
+ 'keyRatio'?: number;
53
+ /**
54
+ *
55
+ * @type {number}
56
+ * @memberof RedisAnalysisExpirationGroup
57
+ */
58
+ 'memoryRatio'?: number;
59
+ }
60
+
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Admin API
5
+ * The Admin API is used to manage the ApeCloud platform.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface RedisAnalysisFilter
21
+ */
22
+ export interface RedisAnalysisFilter {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof RedisAnalysisFilter
27
+ */
28
+ 'match'?: string;
29
+ /**
30
+ *
31
+ * @type {number}
32
+ * @memberof RedisAnalysisFilter
33
+ */
34
+ 'count'?: number;
35
+ }
36
+
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Admin API
5
+ * The Admin API is used to manage the ApeCloud platform.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface RedisAnalysisKey
21
+ */
22
+ export interface RedisAnalysisKey {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof RedisAnalysisKey
27
+ */
28
+ 'name'?: string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof RedisAnalysisKey
33
+ */
34
+ 'type'?: string;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof RedisAnalysisKey
39
+ */
40
+ 'nsp'?: string;
41
+ /**
42
+ *
43
+ * @type {number}
44
+ * @memberof RedisAnalysisKey
45
+ */
46
+ 'ttl'?: number;
47
+ /**
48
+ *
49
+ * @type {number}
50
+ * @memberof RedisAnalysisKey
51
+ */
52
+ 'memory'?: number;
53
+ /**
54
+ *
55
+ * @type {number}
56
+ * @memberof RedisAnalysisKey
57
+ */
58
+ 'length'?: number;
59
+ /**
60
+ *
61
+ * @type {string}
62
+ * @memberof RedisAnalysisKey
63
+ */
64
+ 'encoding'?: string;
65
+ }
66
+
@@ -0,0 +1,63 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Admin API
5
+ * The Admin API is used to manage the ApeCloud platform.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { RedisAnalysisNamespaceTypeSummary } from './redis-analysis-namespace-type-summary';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface RedisAnalysisNamespaceSummary
24
+ */
25
+ export interface RedisAnalysisNamespaceSummary {
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof RedisAnalysisNamespaceSummary
30
+ */
31
+ 'nsp'?: string;
32
+ /**
33
+ *
34
+ * @type {number}
35
+ * @memberof RedisAnalysisNamespaceSummary
36
+ */
37
+ 'keys'?: number;
38
+ /**
39
+ *
40
+ * @type {number}
41
+ * @memberof RedisAnalysisNamespaceSummary
42
+ */
43
+ 'memory'?: number;
44
+ /**
45
+ *
46
+ * @type {number}
47
+ * @memberof RedisAnalysisNamespaceSummary
48
+ */
49
+ 'keyRatio'?: number;
50
+ /**
51
+ *
52
+ * @type {number}
53
+ * @memberof RedisAnalysisNamespaceSummary
54
+ */
55
+ 'memoryRatio'?: number;
56
+ /**
57
+ *
58
+ * @type {Array<RedisAnalysisNamespaceTypeSummary>}
59
+ * @memberof RedisAnalysisNamespaceSummary
60
+ */
61
+ 'types'?: Array<RedisAnalysisNamespaceTypeSummary>;
62
+ }
63
+
@@ -0,0 +1,54 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Admin API
5
+ * The Admin API is used to manage the ApeCloud platform.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface RedisAnalysisNamespaceTypeSummary
21
+ */
22
+ export interface RedisAnalysisNamespaceTypeSummary {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof RedisAnalysisNamespaceTypeSummary
27
+ */
28
+ 'type'?: string;
29
+ /**
30
+ *
31
+ * @type {number}
32
+ * @memberof RedisAnalysisNamespaceTypeSummary
33
+ */
34
+ 'keys'?: number;
35
+ /**
36
+ *
37
+ * @type {number}
38
+ * @memberof RedisAnalysisNamespaceTypeSummary
39
+ */
40
+ 'memory'?: number;
41
+ /**
42
+ *
43
+ * @type {number}
44
+ * @memberof RedisAnalysisNamespaceTypeSummary
45
+ */
46
+ 'keyRatio'?: number;
47
+ /**
48
+ *
49
+ * @type {number}
50
+ * @memberof RedisAnalysisNamespaceTypeSummary
51
+ */
52
+ 'memoryRatio'?: number;
53
+ }
54
+
@@ -0,0 +1,90 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Admin API
5
+ * The Admin API is used to manage the ApeCloud platform.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface RedisAnalysisProgress
21
+ */
22
+ export interface RedisAnalysisProgress {
23
+ /**
24
+ *
25
+ * @type {number}
26
+ * @memberof RedisAnalysisProgress
27
+ */
28
+ 'total'?: number;
29
+ /**
30
+ *
31
+ * @type {number}
32
+ * @memberof RedisAnalysisProgress
33
+ */
34
+ 'scanned'?: number;
35
+ /**
36
+ *
37
+ * @type {number}
38
+ * @memberof RedisAnalysisProgress
39
+ */
40
+ 'processed'?: number;
41
+ /**
42
+ *
43
+ * @type {number}
44
+ * @memberof RedisAnalysisProgress
45
+ */
46
+ 'sampleLimit'?: number;
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof RedisAnalysisProgress
51
+ */
52
+ 'cursor'?: string;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof RedisAnalysisProgress
57
+ */
58
+ 'nextCursor'?: string;
59
+ /**
60
+ *
61
+ * @type {number}
62
+ * @memberof RedisAnalysisProgress
63
+ */
64
+ 'scannedPercent'?: number;
65
+ /**
66
+ *
67
+ * @type {boolean}
68
+ * @memberof RedisAnalysisProgress
69
+ */
70
+ 'complete'?: boolean;
71
+ /**
72
+ *
73
+ * @type {boolean}
74
+ * @memberof RedisAnalysisProgress
75
+ */
76
+ 'sampled'?: boolean;
77
+ /**
78
+ *
79
+ * @type {number}
80
+ * @memberof RedisAnalysisProgress
81
+ */
82
+ 'extrapolationFactor'?: number;
83
+ /**
84
+ *
85
+ * @type {string}
86
+ * @memberof RedisAnalysisProgress
87
+ */
88
+ 'generatedAt'?: string;
89
+ }
90
+