kb-cloud-client-typescript 2.4.0-alpha.144 → 2.4.0-alpha.146
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.
- package/dist/adminapi/apis/dms-api.d.ts +113 -0
- package/dist/adminapi/apis/dms-api.d.ts.map +1 -1
- package/dist/adminapi/apis/dms-api.js +108 -0
- package/dist/adminapi/apis/dms-api.js.map +1 -1
- package/dist/adminapi/apis/environment-api.d.ts +5 -5
- package/dist/adminapi/apis/environment-api.js +4 -4
- package/dist/adminapi/apis/shared-api.d.ts +113 -0
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +108 -0
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/apis/vip-pool-api.d.ts +65 -0
- package/dist/adminapi/apis/vip-pool-api.d.ts.map +1 -1
- package/dist/adminapi/apis/vip-pool-api.js +75 -0
- package/dist/adminapi/apis/vip-pool-api.js.map +1 -1
- package/dist/adminapi/models/dms-audit-list.d.ts +32 -0
- package/dist/adminapi/models/dms-audit-list.d.ts.map +1 -0
- package/dist/adminapi/models/dms-audit-list.js +16 -0
- package/dist/adminapi/models/dms-audit-list.js.map +1 -0
- package/dist/adminapi/models/dms-audit-risk.d.ts +25 -0
- package/dist/adminapi/models/dms-audit-risk.d.ts.map +1 -0
- package/dist/adminapi/models/dms-audit-risk.js +29 -0
- package/dist/adminapi/models/dms-audit-risk.js.map +1 -0
- package/dist/adminapi/models/dms-audit-statement.d.ts +93 -0
- package/dist/adminapi/models/dms-audit-statement.d.ts.map +1 -0
- package/dist/adminapi/models/dms-audit-statement.js +16 -0
- package/dist/adminapi/models/dms-audit-statement.js.map +1 -0
- package/dist/adminapi/models/dms-audit-status.d.ts +23 -0
- package/dist/adminapi/models/dms-audit-status.d.ts.map +1 -0
- package/dist/adminapi/models/dms-audit-status.js +27 -0
- package/dist/adminapi/models/dms-audit-status.js.map +1 -0
- package/dist/adminapi/models/dms-audit.d.ts +154 -0
- package/dist/adminapi/models/dms-audit.d.ts.map +1 -0
- package/dist/adminapi/models/dms-audit.js +16 -0
- package/dist/adminapi/models/dms-audit.js.map +1 -0
- package/dist/adminapi/models/dms-option.d.ts +1 -1
- package/dist/adminapi/models/environment-module-action.d.ts +2 -1
- package/dist/adminapi/models/environment-module-action.d.ts.map +1 -1
- package/dist/adminapi/models/environment-module-action.js +3 -2
- package/dist/adminapi/models/environment-module-action.js.map +1 -1
- package/dist/adminapi/models/environment-module-status.d.ts +2 -0
- package/dist/adminapi/models/environment-module-status.d.ts.map +1 -1
- package/dist/adminapi/models/environment-module-status.js +2 -0
- package/dist/adminapi/models/environment-module-status.js.map +1 -1
- package/dist/adminapi/models/environment-module-update.d.ts +1 -1
- package/dist/adminapi/models/environment-module.d.ts +12 -0
- package/dist/adminapi/models/environment-module.d.ts.map +1 -1
- package/dist/adminapi/models/index.d.ts +8 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +8 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/vip-port-check-request.d.ts +31 -0
- package/dist/adminapi/models/vip-port-check-request.d.ts.map +1 -0
- package/dist/adminapi/models/vip-port-check-request.js +16 -0
- package/dist/adminapi/models/vip-port-check-request.js.map +1 -0
- package/dist/adminapi/models/vip-port-check-result-occupied-ports-inner.d.ts +31 -0
- package/dist/adminapi/models/vip-port-check-result-occupied-ports-inner.d.ts.map +1 -0
- package/dist/adminapi/models/vip-port-check-result-occupied-ports-inner.js +16 -0
- package/dist/adminapi/models/vip-port-check-result-occupied-ports-inner.js.map +1 -0
- package/dist/adminapi/models/vip-port-check-result.d.ts +38 -0
- package/dist/adminapi/models/vip-port-check-result.d.ts.map +1 -0
- package/dist/adminapi/models/vip-port-check-result.js +16 -0
- package/dist/adminapi/models/vip-port-check-result.js.map +1 -0
- package/dist/internalapi/apis/environment-api.d.ts +101 -0
- package/dist/internalapi/apis/environment-api.d.ts.map +1 -1
- package/dist/internalapi/apis/environment-api.js +98 -1
- package/dist/internalapi/apis/environment-api.js.map +1 -1
- package/dist/openapi/apis/dms-api.d.ts +113 -0
- package/dist/openapi/apis/dms-api.d.ts.map +1 -1
- package/dist/openapi/apis/dms-api.js +108 -0
- package/dist/openapi/apis/dms-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +113 -0
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +108 -0
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/apis/vip-pool-api.d.ts +65 -0
- package/dist/openapi/apis/vip-pool-api.d.ts.map +1 -1
- package/dist/openapi/apis/vip-pool-api.js +75 -0
- package/dist/openapi/apis/vip-pool-api.js.map +1 -1
- package/dist/openapi/models/dms-audit-list.d.ts +32 -0
- package/dist/openapi/models/dms-audit-list.d.ts.map +1 -0
- package/dist/openapi/models/dms-audit-list.js +16 -0
- package/dist/openapi/models/dms-audit-list.js.map +1 -0
- package/dist/openapi/models/dms-audit-risk.d.ts +25 -0
- package/dist/openapi/models/dms-audit-risk.d.ts.map +1 -0
- package/dist/openapi/models/dms-audit-risk.js +29 -0
- package/dist/openapi/models/dms-audit-risk.js.map +1 -0
- package/dist/openapi/models/dms-audit-statement.d.ts +93 -0
- package/dist/openapi/models/dms-audit-statement.d.ts.map +1 -0
- package/dist/openapi/models/dms-audit-statement.js +16 -0
- package/dist/openapi/models/dms-audit-statement.js.map +1 -0
- package/dist/openapi/models/dms-audit-status.d.ts +23 -0
- package/dist/openapi/models/dms-audit-status.d.ts.map +1 -0
- package/dist/openapi/models/dms-audit-status.js +27 -0
- package/dist/openapi/models/dms-audit-status.js.map +1 -0
- package/dist/openapi/models/dms-audit.d.ts +154 -0
- package/dist/openapi/models/dms-audit.d.ts.map +1 -0
- package/dist/openapi/models/dms-audit.js +16 -0
- package/dist/openapi/models/dms-audit.js.map +1 -0
- package/dist/openapi/models/dms-option.d.ts +1 -1
- package/dist/openapi/models/environment-module-status.d.ts +2 -0
- package/dist/openapi/models/environment-module-status.d.ts.map +1 -1
- package/dist/openapi/models/environment-module-status.js +2 -0
- package/dist/openapi/models/environment-module-status.js.map +1 -1
- package/dist/openapi/models/environment-module.d.ts +12 -0
- package/dist/openapi/models/environment-module.d.ts.map +1 -1
- package/dist/openapi/models/index.d.ts +8 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +8 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/vip-port-check-request.d.ts +31 -0
- package/dist/openapi/models/vip-port-check-request.d.ts.map +1 -0
- package/dist/openapi/models/vip-port-check-request.js +16 -0
- package/dist/openapi/models/vip-port-check-request.js.map +1 -0
- package/dist/openapi/models/vip-port-check-result-occupied-ports-inner.d.ts +31 -0
- package/dist/openapi/models/vip-port-check-result-occupied-ports-inner.d.ts.map +1 -0
- package/dist/openapi/models/vip-port-check-result-occupied-ports-inner.js +16 -0
- package/dist/openapi/models/vip-port-check-result-occupied-ports-inner.js.map +1 -0
- package/dist/openapi/models/vip-port-check-result.d.ts +38 -0
- package/dist/openapi/models/vip-port-check-result.d.ts.map +1 -0
- package/dist/openapi/models/vip-port-check-result.js +16 -0
- package/dist/openapi/models/vip-port-check-result.js.map +1 -0
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +8 -0
- package/src/adminapi/apis/dms-api.ts +198 -0
- package/src/adminapi/apis/environment-api.ts +5 -5
- package/src/adminapi/apis/shared-api.ts +198 -0
- package/src/adminapi/apis/vip-pool-api.ts +118 -0
- package/src/adminapi/models/dms-audit-list.ts +39 -0
- package/src/adminapi/models/dms-audit-risk.ts +34 -0
- package/src/adminapi/models/dms-audit-statement.ts +104 -0
- package/src/adminapi/models/dms-audit-status.ts +32 -0
- package/src/adminapi/models/dms-audit.ts +167 -0
- package/src/adminapi/models/dms-option.ts +1 -1
- package/src/adminapi/models/environment-module-action.ts +3 -2
- package/src/adminapi/models/environment-module-status.ts +2 -0
- package/src/adminapi/models/environment-module-update.ts +1 -1
- package/src/adminapi/models/environment-module.ts +12 -0
- package/src/adminapi/models/index.ts +8 -0
- package/src/adminapi/models/vip-port-check-request.ts +36 -0
- package/src/adminapi/models/vip-port-check-result-occupied-ports-inner.ts +36 -0
- package/src/adminapi/models/vip-port-check-result.ts +45 -0
- package/src/adminapi.yaml +290 -2
- package/src/internalapi/apis/environment-api.ts +159 -0
- package/src/internalapi.yaml +64 -18
- package/src/openapi/.openapi-generator/FILES +8 -0
- package/src/openapi/apis/dms-api.ts +198 -0
- package/src/openapi/apis/shared-api.ts +198 -0
- package/src/openapi/apis/vip-pool-api.ts +118 -0
- package/src/openapi/models/dms-audit-list.ts +39 -0
- package/src/openapi/models/dms-audit-risk.ts +34 -0
- package/src/openapi/models/dms-audit-statement.ts +104 -0
- package/src/openapi/models/dms-audit-status.ts +32 -0
- package/src/openapi/models/dms-audit.ts +167 -0
- package/src/openapi/models/dms-option.ts +1 -1
- package/src/openapi/models/environment-module-status.ts +2 -0
- package/src/openapi/models/environment-module.ts +12 -0
- package/src/openapi/models/index.ts +8 -0
- package/src/openapi/models/vip-port-check-request.ts +36 -0
- package/src/openapi/models/vip-port-check-result-occupied-ports-inner.ts +36 -0
- package/src/openapi/models/vip-port-check-result.ts +45 -0
- package/src/openapi.yaml +285 -0
package/src/internalapi.yaml
CHANGED
|
@@ -13,6 +13,52 @@ servers:
|
|
|
13
13
|
security:
|
|
14
14
|
- BasicAuth: []
|
|
15
15
|
paths:
|
|
16
|
+
/internal/v1/environments/{environmentName}/modules/{moduleName}/uninstall:
|
|
17
|
+
post:
|
|
18
|
+
tags:
|
|
19
|
+
- environment
|
|
20
|
+
operationId: executeEnvironmentModuleUninstall
|
|
21
|
+
summary: Execute a persisted module uninstall step
|
|
22
|
+
parameters:
|
|
23
|
+
- name: environmentName
|
|
24
|
+
in: path
|
|
25
|
+
required: true
|
|
26
|
+
schema:
|
|
27
|
+
type: string
|
|
28
|
+
- name: moduleName
|
|
29
|
+
in: path
|
|
30
|
+
required: true
|
|
31
|
+
schema:
|
|
32
|
+
type: string
|
|
33
|
+
- name: stage
|
|
34
|
+
in: query
|
|
35
|
+
required: true
|
|
36
|
+
schema:
|
|
37
|
+
type: string
|
|
38
|
+
enum:
|
|
39
|
+
- detach
|
|
40
|
+
- delete
|
|
41
|
+
- name: uid
|
|
42
|
+
in: query
|
|
43
|
+
schema:
|
|
44
|
+
type: string
|
|
45
|
+
requestBody:
|
|
46
|
+
required: true
|
|
47
|
+
content:
|
|
48
|
+
application/json:
|
|
49
|
+
schema:
|
|
50
|
+
type: object
|
|
51
|
+
description: Component-specific resource identities saved by the uninstall task.
|
|
52
|
+
additionalProperties: true
|
|
53
|
+
responses:
|
|
54
|
+
'200':
|
|
55
|
+
description: Step completed
|
|
56
|
+
'202':
|
|
57
|
+
description: Waiting for resource deletion; repeat the same step with the same payload
|
|
58
|
+
'400':
|
|
59
|
+
$ref: '#/components/responses/400'
|
|
60
|
+
'500':
|
|
61
|
+
$ref: '#/components/responses/500'
|
|
16
62
|
/internal/v1/environments/{environmentName}/alertConfigs/sync:
|
|
17
63
|
post:
|
|
18
64
|
tags:
|
|
@@ -1184,6 +1230,24 @@ components:
|
|
|
1184
1230
|
type: http
|
|
1185
1231
|
scheme: basic
|
|
1186
1232
|
schemas:
|
|
1233
|
+
APIErrorResponse:
|
|
1234
|
+
description: API error response.
|
|
1235
|
+
properties:
|
|
1236
|
+
code:
|
|
1237
|
+
description: The HTTP status code.
|
|
1238
|
+
type: integer
|
|
1239
|
+
reason:
|
|
1240
|
+
description: The reason for the error.
|
|
1241
|
+
type: string
|
|
1242
|
+
message:
|
|
1243
|
+
description: The message for the error.
|
|
1244
|
+
type: string
|
|
1245
|
+
errorCode:
|
|
1246
|
+
description: Stable business error code for programmatic handling.
|
|
1247
|
+
type: string
|
|
1248
|
+
required:
|
|
1249
|
+
- code
|
|
1250
|
+
type: object
|
|
1187
1251
|
alertStatus:
|
|
1188
1252
|
enum:
|
|
1189
1253
|
- resolved
|
|
@@ -1251,24 +1315,6 @@ components:
|
|
|
1251
1315
|
version:
|
|
1252
1316
|
type: string
|
|
1253
1317
|
type: object
|
|
1254
|
-
APIErrorResponse:
|
|
1255
|
-
description: API error response.
|
|
1256
|
-
properties:
|
|
1257
|
-
code:
|
|
1258
|
-
description: The HTTP status code.
|
|
1259
|
-
type: integer
|
|
1260
|
-
reason:
|
|
1261
|
-
description: The reason for the error.
|
|
1262
|
-
type: string
|
|
1263
|
-
message:
|
|
1264
|
-
description: The message for the error.
|
|
1265
|
-
type: string
|
|
1266
|
-
errorCode:
|
|
1267
|
-
description: Stable business error code for programmatic handling.
|
|
1268
|
-
type: string
|
|
1269
|
-
required:
|
|
1270
|
-
- code
|
|
1271
|
-
type: object
|
|
1272
1318
|
httpBody:
|
|
1273
1319
|
description: Represents an HTTP request or response body.
|
|
1274
1320
|
properties:
|
|
@@ -435,6 +435,11 @@ models/disaster-recovery-status.ts
|
|
|
435
435
|
models/disaster-recovery-task.ts
|
|
436
436
|
models/dm-file.ts
|
|
437
437
|
models/dm-tablespace.ts
|
|
438
|
+
models/dms-audit-list.ts
|
|
439
|
+
models/dms-audit-risk.ts
|
|
440
|
+
models/dms-audit-statement.ts
|
|
441
|
+
models/dms-audit-status.ts
|
|
442
|
+
models/dms-audit.ts
|
|
438
443
|
models/dms-check-constraint.ts
|
|
439
444
|
models/dms-exclude-constraint-exclude-inner.ts
|
|
440
445
|
models/dms-exclude-constraint.ts
|
|
@@ -1146,6 +1151,9 @@ models/user-update.ts
|
|
|
1146
1151
|
models/user.ts
|
|
1147
1152
|
models/vip-pool-list.ts
|
|
1148
1153
|
models/vip-pool.ts
|
|
1154
|
+
models/vip-port-check-request.ts
|
|
1155
|
+
models/vip-port-check-result-occupied-ports-inner.ts
|
|
1156
|
+
models/vip-port-check-result.ts
|
|
1149
1157
|
models/volume-restore-policy.ts
|
|
1150
1158
|
models/webhook-config.ts
|
|
1151
1159
|
models/ycsb-redis-mode.ts
|
|
@@ -32,6 +32,10 @@ import type { DataImport200Response } from '../models';
|
|
|
32
32
|
// @ts-ignore
|
|
33
33
|
import type { Datasource } from '../models';
|
|
34
34
|
// @ts-ignore
|
|
35
|
+
import type { DmsAuditList } from '../models';
|
|
36
|
+
// @ts-ignore
|
|
37
|
+
import type { DmsAuditStatus } from '../models';
|
|
38
|
+
// @ts-ignore
|
|
35
39
|
import type { DmsExecutionPlanResult } from '../models';
|
|
36
40
|
// @ts-ignore
|
|
37
41
|
import type { DmsExplainRequest } from '../models';
|
|
@@ -1449,6 +1453,85 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1449
1453
|
|
|
1450
1454
|
|
|
1451
1455
|
|
|
1456
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1457
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1458
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1459
|
+
|
|
1460
|
+
return {
|
|
1461
|
+
url: toPathString(localVarUrlObj),
|
|
1462
|
+
options: localVarRequestOptions,
|
|
1463
|
+
};
|
|
1464
|
+
},
|
|
1465
|
+
/**
|
|
1466
|
+
* Only organization administrators and authorized admin-portal users can read these records.
|
|
1467
|
+
* @summary List independent DMS audit records
|
|
1468
|
+
* @param {string} orgName
|
|
1469
|
+
* @param {string} clusterName
|
|
1470
|
+
* @param {number} [offset]
|
|
1471
|
+
* @param {number} [limit]
|
|
1472
|
+
* @param {string} [userName]
|
|
1473
|
+
* @param {DmsAuditStatus} [status]
|
|
1474
|
+
* @param {string} [from]
|
|
1475
|
+
* @param {string} [to]
|
|
1476
|
+
* @param {*} [options] Override http request option.
|
|
1477
|
+
* @throws {RequiredError}
|
|
1478
|
+
*/
|
|
1479
|
+
listDMSAudit: async (orgName: string, clusterName: string, offset?: number, limit?: number, userName?: string, status?: DmsAuditStatus, from?: string, to?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1480
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1481
|
+
assertParamExists('listDMSAudit', 'orgName', orgName)
|
|
1482
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1483
|
+
assertParamExists('listDMSAudit', 'clusterName', clusterName)
|
|
1484
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/dms/audits`
|
|
1485
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1486
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1487
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1488
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1489
|
+
let baseOptions;
|
|
1490
|
+
if (configuration) {
|
|
1491
|
+
baseOptions = configuration.baseOptions;
|
|
1492
|
+
}
|
|
1493
|
+
|
|
1494
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1495
|
+
const localVarHeaderParameter = {} as any;
|
|
1496
|
+
const localVarQueryParameter = {} as any;
|
|
1497
|
+
|
|
1498
|
+
// authentication BearerToken required
|
|
1499
|
+
// http bearer authentication required
|
|
1500
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1501
|
+
|
|
1502
|
+
// authentication DigestAuth required
|
|
1503
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1504
|
+
|
|
1505
|
+
if (offset !== undefined) {
|
|
1506
|
+
localVarQueryParameter['offset'] = offset;
|
|
1507
|
+
}
|
|
1508
|
+
|
|
1509
|
+
if (limit !== undefined) {
|
|
1510
|
+
localVarQueryParameter['limit'] = limit;
|
|
1511
|
+
}
|
|
1512
|
+
|
|
1513
|
+
if (userName !== undefined) {
|
|
1514
|
+
localVarQueryParameter['userName'] = userName;
|
|
1515
|
+
}
|
|
1516
|
+
|
|
1517
|
+
if (status !== undefined) {
|
|
1518
|
+
localVarQueryParameter['status'] = status;
|
|
1519
|
+
}
|
|
1520
|
+
|
|
1521
|
+
if (from !== undefined) {
|
|
1522
|
+
localVarQueryParameter['from'] = (from as any instanceof Date) ?
|
|
1523
|
+
(from as any).toISOString() :
|
|
1524
|
+
from;
|
|
1525
|
+
}
|
|
1526
|
+
|
|
1527
|
+
if (to !== undefined) {
|
|
1528
|
+
localVarQueryParameter['to'] = (to as any instanceof Date) ?
|
|
1529
|
+
(to as any).toISOString() :
|
|
1530
|
+
to;
|
|
1531
|
+
}
|
|
1532
|
+
|
|
1533
|
+
|
|
1534
|
+
|
|
1452
1535
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1453
1536
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1454
1537
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -4384,6 +4467,26 @@ export const DmsApiFp = function(configuration?: Configuration) {
|
|
|
4384
4467
|
const localVarOperationServerBasePath = operationServerMap['DmsApi.getSchemaList']?.[localVarOperationServerIndex]?.url;
|
|
4385
4468
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4386
4469
|
},
|
|
4470
|
+
/**
|
|
4471
|
+
* Only organization administrators and authorized admin-portal users can read these records.
|
|
4472
|
+
* @summary List independent DMS audit records
|
|
4473
|
+
* @param {string} orgName
|
|
4474
|
+
* @param {string} clusterName
|
|
4475
|
+
* @param {number} [offset]
|
|
4476
|
+
* @param {number} [limit]
|
|
4477
|
+
* @param {string} [userName]
|
|
4478
|
+
* @param {DmsAuditStatus} [status]
|
|
4479
|
+
* @param {string} [from]
|
|
4480
|
+
* @param {string} [to]
|
|
4481
|
+
* @param {*} [options] Override http request option.
|
|
4482
|
+
* @throws {RequiredError}
|
|
4483
|
+
*/
|
|
4484
|
+
async listDMSAudit(orgName: string, clusterName: string, offset?: number, limit?: number, userName?: string, status?: DmsAuditStatus, from?: string, to?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsAuditList>> {
|
|
4485
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listDMSAudit(orgName, clusterName, offset, limit, userName, status, from, to, options);
|
|
4486
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4487
|
+
const localVarOperationServerBasePath = operationServerMap['DmsApi.listDMSAudit']?.[localVarOperationServerIndex]?.url;
|
|
4488
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4489
|
+
},
|
|
4387
4490
|
/**
|
|
4388
4491
|
*
|
|
4389
4492
|
* @summary list the datasource of a cluster
|
|
@@ -5365,6 +5468,16 @@ export const DmsApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
5365
5468
|
getSchemaList(requestParameters: DmsApiGetSchemaListRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>> {
|
|
5366
5469
|
return localVarFp.getSchemaList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, options).then((request) => request(axios, basePath));
|
|
5367
5470
|
},
|
|
5471
|
+
/**
|
|
5472
|
+
* Only organization administrators and authorized admin-portal users can read these records.
|
|
5473
|
+
* @summary List independent DMS audit records
|
|
5474
|
+
* @param {DmsApiListDMSAuditRequest} requestParameters Request parameters.
|
|
5475
|
+
* @param {*} [options] Override http request option.
|
|
5476
|
+
* @throws {RequiredError}
|
|
5477
|
+
*/
|
|
5478
|
+
listDMSAudit(requestParameters: DmsApiListDMSAuditRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsAuditList> {
|
|
5479
|
+
return localVarFp.listDMSAudit(requestParameters.orgName, requestParameters.clusterName, requestParameters.offset, requestParameters.limit, requestParameters.userName, requestParameters.status, requestParameters.from, requestParameters.to, options).then((request) => request(axios, basePath));
|
|
5480
|
+
},
|
|
5368
5481
|
/**
|
|
5369
5482
|
*
|
|
5370
5483
|
* @summary list the datasource of a cluster
|
|
@@ -6046,6 +6159,16 @@ export interface DmsApiInterface {
|
|
|
6046
6159
|
*/
|
|
6047
6160
|
getSchemaList(requestParameters: DmsApiGetSchemaListRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
|
|
6048
6161
|
|
|
6162
|
+
/**
|
|
6163
|
+
* Only organization administrators and authorized admin-portal users can read these records.
|
|
6164
|
+
* @summary List independent DMS audit records
|
|
6165
|
+
* @param {DmsApiListDMSAuditRequest} requestParameters Request parameters.
|
|
6166
|
+
* @param {*} [options] Override http request option.
|
|
6167
|
+
* @throws {RequiredError}
|
|
6168
|
+
* @memberof DmsApiInterface
|
|
6169
|
+
*/
|
|
6170
|
+
listDMSAudit(requestParameters: DmsApiListDMSAuditRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsAuditList>;
|
|
6171
|
+
|
|
6049
6172
|
/**
|
|
6050
6173
|
*
|
|
6051
6174
|
* @summary list the datasource of a cluster
|
|
@@ -7364,6 +7487,69 @@ export interface DmsApiGetSchemaListRequest {
|
|
|
7364
7487
|
readonly database?: string
|
|
7365
7488
|
}
|
|
7366
7489
|
|
|
7490
|
+
/**
|
|
7491
|
+
* Request parameters for listDMSAudit operation in DmsApi.
|
|
7492
|
+
* @export
|
|
7493
|
+
* @interface DmsApiListDMSAuditRequest
|
|
7494
|
+
*/
|
|
7495
|
+
export interface DmsApiListDMSAuditRequest {
|
|
7496
|
+
/**
|
|
7497
|
+
*
|
|
7498
|
+
* @type {string}
|
|
7499
|
+
* @memberof DmsApiListDMSAudit
|
|
7500
|
+
*/
|
|
7501
|
+
readonly orgName: string
|
|
7502
|
+
|
|
7503
|
+
/**
|
|
7504
|
+
*
|
|
7505
|
+
* @type {string}
|
|
7506
|
+
* @memberof DmsApiListDMSAudit
|
|
7507
|
+
*/
|
|
7508
|
+
readonly clusterName: string
|
|
7509
|
+
|
|
7510
|
+
/**
|
|
7511
|
+
*
|
|
7512
|
+
* @type {number}
|
|
7513
|
+
* @memberof DmsApiListDMSAudit
|
|
7514
|
+
*/
|
|
7515
|
+
readonly offset?: number
|
|
7516
|
+
|
|
7517
|
+
/**
|
|
7518
|
+
*
|
|
7519
|
+
* @type {number}
|
|
7520
|
+
* @memberof DmsApiListDMSAudit
|
|
7521
|
+
*/
|
|
7522
|
+
readonly limit?: number
|
|
7523
|
+
|
|
7524
|
+
/**
|
|
7525
|
+
*
|
|
7526
|
+
* @type {string}
|
|
7527
|
+
* @memberof DmsApiListDMSAudit
|
|
7528
|
+
*/
|
|
7529
|
+
readonly userName?: string
|
|
7530
|
+
|
|
7531
|
+
/**
|
|
7532
|
+
*
|
|
7533
|
+
* @type {DmsAuditStatus}
|
|
7534
|
+
* @memberof DmsApiListDMSAudit
|
|
7535
|
+
*/
|
|
7536
|
+
readonly status?: DmsAuditStatus
|
|
7537
|
+
|
|
7538
|
+
/**
|
|
7539
|
+
*
|
|
7540
|
+
* @type {string}
|
|
7541
|
+
* @memberof DmsApiListDMSAudit
|
|
7542
|
+
*/
|
|
7543
|
+
readonly from?: string
|
|
7544
|
+
|
|
7545
|
+
/**
|
|
7546
|
+
*
|
|
7547
|
+
* @type {string}
|
|
7548
|
+
* @memberof DmsApiListDMSAudit
|
|
7549
|
+
*/
|
|
7550
|
+
readonly to?: string
|
|
7551
|
+
}
|
|
7552
|
+
|
|
7367
7553
|
/**
|
|
7368
7554
|
* Request parameters for listDataSourceV2 operation in DmsApi.
|
|
7369
7555
|
* @export
|
|
@@ -9433,6 +9619,18 @@ export class DmsApi extends BaseAPI implements DmsApiInterface {
|
|
|
9433
9619
|
return DmsApiFp(this.configuration).getSchemaList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, options).then((request) => request(this.axios, this.basePath));
|
|
9434
9620
|
}
|
|
9435
9621
|
|
|
9622
|
+
/**
|
|
9623
|
+
* Only organization administrators and authorized admin-portal users can read these records.
|
|
9624
|
+
* @summary List independent DMS audit records
|
|
9625
|
+
* @param {DmsApiListDMSAuditRequest} requestParameters Request parameters.
|
|
9626
|
+
* @param {*} [options] Override http request option.
|
|
9627
|
+
* @throws {RequiredError}
|
|
9628
|
+
* @memberof DmsApi
|
|
9629
|
+
*/
|
|
9630
|
+
public listDMSAudit(requestParameters: DmsApiListDMSAuditRequest, options?: RawAxiosRequestConfig) {
|
|
9631
|
+
return DmsApiFp(this.configuration).listDMSAudit(requestParameters.orgName, requestParameters.clusterName, requestParameters.offset, requestParameters.limit, requestParameters.userName, requestParameters.status, requestParameters.from, requestParameters.to, options).then((request) => request(this.axios, this.basePath));
|
|
9632
|
+
}
|
|
9633
|
+
|
|
9436
9634
|
/**
|
|
9437
9635
|
*
|
|
9438
9636
|
* @summary list the datasource of a cluster
|
|
@@ -156,6 +156,10 @@ import type { Datasource } from '../models';
|
|
|
156
156
|
// @ts-ignore
|
|
157
157
|
import type { DbTDERequest } from '../models';
|
|
158
158
|
// @ts-ignore
|
|
159
|
+
import type { DmsAuditList } from '../models';
|
|
160
|
+
// @ts-ignore
|
|
161
|
+
import type { DmsAuditStatus } from '../models';
|
|
162
|
+
// @ts-ignore
|
|
159
163
|
import type { DmsExecutionPlanResult } from '../models';
|
|
160
164
|
// @ts-ignore
|
|
161
165
|
import type { DmsExplainRequest } from '../models';
|
|
@@ -11629,6 +11633,85 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
11629
11633
|
|
|
11630
11634
|
|
|
11631
11635
|
|
|
11636
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11637
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11638
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11639
|
+
|
|
11640
|
+
return {
|
|
11641
|
+
url: toPathString(localVarUrlObj),
|
|
11642
|
+
options: localVarRequestOptions,
|
|
11643
|
+
};
|
|
11644
|
+
},
|
|
11645
|
+
/**
|
|
11646
|
+
* Only organization administrators and authorized admin-portal users can read these records.
|
|
11647
|
+
* @summary List independent DMS audit records
|
|
11648
|
+
* @param {string} orgName
|
|
11649
|
+
* @param {string} clusterName
|
|
11650
|
+
* @param {number} [offset]
|
|
11651
|
+
* @param {number} [limit]
|
|
11652
|
+
* @param {string} [userName]
|
|
11653
|
+
* @param {DmsAuditStatus} [status]
|
|
11654
|
+
* @param {string} [from]
|
|
11655
|
+
* @param {string} [to]
|
|
11656
|
+
* @param {*} [options] Override http request option.
|
|
11657
|
+
* @throws {RequiredError}
|
|
11658
|
+
*/
|
|
11659
|
+
listDMSAudit: async (orgName: string, clusterName: string, offset?: number, limit?: number, userName?: string, status?: DmsAuditStatus, from?: string, to?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11660
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
11661
|
+
assertParamExists('listDMSAudit', 'orgName', orgName)
|
|
11662
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
11663
|
+
assertParamExists('listDMSAudit', 'clusterName', clusterName)
|
|
11664
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/dms/audits`
|
|
11665
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
11666
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
11667
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11668
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11669
|
+
let baseOptions;
|
|
11670
|
+
if (configuration) {
|
|
11671
|
+
baseOptions = configuration.baseOptions;
|
|
11672
|
+
}
|
|
11673
|
+
|
|
11674
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
11675
|
+
const localVarHeaderParameter = {} as any;
|
|
11676
|
+
const localVarQueryParameter = {} as any;
|
|
11677
|
+
|
|
11678
|
+
// authentication BearerToken required
|
|
11679
|
+
// http bearer authentication required
|
|
11680
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11681
|
+
|
|
11682
|
+
// authentication DigestAuth required
|
|
11683
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
11684
|
+
|
|
11685
|
+
if (offset !== undefined) {
|
|
11686
|
+
localVarQueryParameter['offset'] = offset;
|
|
11687
|
+
}
|
|
11688
|
+
|
|
11689
|
+
if (limit !== undefined) {
|
|
11690
|
+
localVarQueryParameter['limit'] = limit;
|
|
11691
|
+
}
|
|
11692
|
+
|
|
11693
|
+
if (userName !== undefined) {
|
|
11694
|
+
localVarQueryParameter['userName'] = userName;
|
|
11695
|
+
}
|
|
11696
|
+
|
|
11697
|
+
if (status !== undefined) {
|
|
11698
|
+
localVarQueryParameter['status'] = status;
|
|
11699
|
+
}
|
|
11700
|
+
|
|
11701
|
+
if (from !== undefined) {
|
|
11702
|
+
localVarQueryParameter['from'] = (from as any instanceof Date) ?
|
|
11703
|
+
(from as any).toISOString() :
|
|
11704
|
+
from;
|
|
11705
|
+
}
|
|
11706
|
+
|
|
11707
|
+
if (to !== undefined) {
|
|
11708
|
+
localVarQueryParameter['to'] = (to as any instanceof Date) ?
|
|
11709
|
+
(to as any).toISOString() :
|
|
11710
|
+
to;
|
|
11711
|
+
}
|
|
11712
|
+
|
|
11713
|
+
|
|
11714
|
+
|
|
11632
11715
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11633
11716
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11634
11717
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -24293,6 +24376,26 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
24293
24376
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.listClusterRestore']?.[localVarOperationServerIndex]?.url;
|
|
24294
24377
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24295
24378
|
},
|
|
24379
|
+
/**
|
|
24380
|
+
* Only organization administrators and authorized admin-portal users can read these records.
|
|
24381
|
+
* @summary List independent DMS audit records
|
|
24382
|
+
* @param {string} orgName
|
|
24383
|
+
* @param {string} clusterName
|
|
24384
|
+
* @param {number} [offset]
|
|
24385
|
+
* @param {number} [limit]
|
|
24386
|
+
* @param {string} [userName]
|
|
24387
|
+
* @param {DmsAuditStatus} [status]
|
|
24388
|
+
* @param {string} [from]
|
|
24389
|
+
* @param {string} [to]
|
|
24390
|
+
* @param {*} [options] Override http request option.
|
|
24391
|
+
* @throws {RequiredError}
|
|
24392
|
+
*/
|
|
24393
|
+
async listDMSAudit(orgName: string, clusterName: string, offset?: number, limit?: number, userName?: string, status?: DmsAuditStatus, from?: string, to?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsAuditList>> {
|
|
24394
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listDMSAudit(orgName, clusterName, offset, limit, userName, status, from, to, options);
|
|
24395
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
24396
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listDMSAudit']?.[localVarOperationServerIndex]?.url;
|
|
24397
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24398
|
+
},
|
|
24296
24399
|
/**
|
|
24297
24400
|
*
|
|
24298
24401
|
* @summary list the datasource of a cluster
|
|
@@ -29036,6 +29139,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
29036
29139
|
listClusterRestore(requestParameters: SharedApiListClusterRestoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<RestoreList> {
|
|
29037
29140
|
return localVarFp.listClusterRestore(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
29038
29141
|
},
|
|
29142
|
+
/**
|
|
29143
|
+
* Only organization administrators and authorized admin-portal users can read these records.
|
|
29144
|
+
* @summary List independent DMS audit records
|
|
29145
|
+
* @param {SharedApiListDMSAuditRequest} requestParameters Request parameters.
|
|
29146
|
+
* @param {*} [options] Override http request option.
|
|
29147
|
+
* @throws {RequiredError}
|
|
29148
|
+
*/
|
|
29149
|
+
listDMSAudit(requestParameters: SharedApiListDMSAuditRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsAuditList> {
|
|
29150
|
+
return localVarFp.listDMSAudit(requestParameters.orgName, requestParameters.clusterName, requestParameters.offset, requestParameters.limit, requestParameters.userName, requestParameters.status, requestParameters.from, requestParameters.to, options).then((request) => request(axios, basePath));
|
|
29151
|
+
},
|
|
29039
29152
|
/**
|
|
29040
29153
|
*
|
|
29041
29154
|
* @summary list the datasource of a cluster
|
|
@@ -32750,6 +32863,16 @@ export interface SharedApiInterface {
|
|
|
32750
32863
|
*/
|
|
32751
32864
|
listClusterRestore(requestParameters: SharedApiListClusterRestoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<RestoreList>;
|
|
32752
32865
|
|
|
32866
|
+
/**
|
|
32867
|
+
* Only organization administrators and authorized admin-portal users can read these records.
|
|
32868
|
+
* @summary List independent DMS audit records
|
|
32869
|
+
* @param {SharedApiListDMSAuditRequest} requestParameters Request parameters.
|
|
32870
|
+
* @param {*} [options] Override http request option.
|
|
32871
|
+
* @throws {RequiredError}
|
|
32872
|
+
* @memberof SharedApiInterface
|
|
32873
|
+
*/
|
|
32874
|
+
listDMSAudit(requestParameters: SharedApiListDMSAuditRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsAuditList>;
|
|
32875
|
+
|
|
32753
32876
|
/**
|
|
32754
32877
|
*
|
|
32755
32878
|
* @summary list the datasource of a cluster
|
|
@@ -41414,6 +41537,69 @@ export interface SharedApiListClusterRestoreRequest {
|
|
|
41414
41537
|
readonly clusterName: string
|
|
41415
41538
|
}
|
|
41416
41539
|
|
|
41540
|
+
/**
|
|
41541
|
+
* Request parameters for listDMSAudit operation in SharedApi.
|
|
41542
|
+
* @export
|
|
41543
|
+
* @interface SharedApiListDMSAuditRequest
|
|
41544
|
+
*/
|
|
41545
|
+
export interface SharedApiListDMSAuditRequest {
|
|
41546
|
+
/**
|
|
41547
|
+
*
|
|
41548
|
+
* @type {string}
|
|
41549
|
+
* @memberof SharedApiListDMSAudit
|
|
41550
|
+
*/
|
|
41551
|
+
readonly orgName: string
|
|
41552
|
+
|
|
41553
|
+
/**
|
|
41554
|
+
*
|
|
41555
|
+
* @type {string}
|
|
41556
|
+
* @memberof SharedApiListDMSAudit
|
|
41557
|
+
*/
|
|
41558
|
+
readonly clusterName: string
|
|
41559
|
+
|
|
41560
|
+
/**
|
|
41561
|
+
*
|
|
41562
|
+
* @type {number}
|
|
41563
|
+
* @memberof SharedApiListDMSAudit
|
|
41564
|
+
*/
|
|
41565
|
+
readonly offset?: number
|
|
41566
|
+
|
|
41567
|
+
/**
|
|
41568
|
+
*
|
|
41569
|
+
* @type {number}
|
|
41570
|
+
* @memberof SharedApiListDMSAudit
|
|
41571
|
+
*/
|
|
41572
|
+
readonly limit?: number
|
|
41573
|
+
|
|
41574
|
+
/**
|
|
41575
|
+
*
|
|
41576
|
+
* @type {string}
|
|
41577
|
+
* @memberof SharedApiListDMSAudit
|
|
41578
|
+
*/
|
|
41579
|
+
readonly userName?: string
|
|
41580
|
+
|
|
41581
|
+
/**
|
|
41582
|
+
*
|
|
41583
|
+
* @type {DmsAuditStatus}
|
|
41584
|
+
* @memberof SharedApiListDMSAudit
|
|
41585
|
+
*/
|
|
41586
|
+
readonly status?: DmsAuditStatus
|
|
41587
|
+
|
|
41588
|
+
/**
|
|
41589
|
+
*
|
|
41590
|
+
* @type {string}
|
|
41591
|
+
* @memberof SharedApiListDMSAudit
|
|
41592
|
+
*/
|
|
41593
|
+
readonly from?: string
|
|
41594
|
+
|
|
41595
|
+
/**
|
|
41596
|
+
*
|
|
41597
|
+
* @type {string}
|
|
41598
|
+
* @memberof SharedApiListDMSAudit
|
|
41599
|
+
*/
|
|
41600
|
+
readonly to?: string
|
|
41601
|
+
}
|
|
41602
|
+
|
|
41417
41603
|
/**
|
|
41418
41604
|
* Request parameters for listDataSourceV2 operation in SharedApi.
|
|
41419
41605
|
* @export
|
|
@@ -49820,6 +50006,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
49820
50006
|
return SharedApiFp(this.configuration).listClusterRestore(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
49821
50007
|
}
|
|
49822
50008
|
|
|
50009
|
+
/**
|
|
50010
|
+
* Only organization administrators and authorized admin-portal users can read these records.
|
|
50011
|
+
* @summary List independent DMS audit records
|
|
50012
|
+
* @param {SharedApiListDMSAuditRequest} requestParameters Request parameters.
|
|
50013
|
+
* @param {*} [options] Override http request option.
|
|
50014
|
+
* @throws {RequiredError}
|
|
50015
|
+
* @memberof SharedApi
|
|
50016
|
+
*/
|
|
50017
|
+
public listDMSAudit(requestParameters: SharedApiListDMSAuditRequest, options?: RawAxiosRequestConfig) {
|
|
50018
|
+
return SharedApiFp(this.configuration).listDMSAudit(requestParameters.orgName, requestParameters.clusterName, requestParameters.offset, requestParameters.limit, requestParameters.userName, requestParameters.status, requestParameters.from, requestParameters.to, options).then((request) => request(this.axios, this.basePath));
|
|
50019
|
+
}
|
|
50020
|
+
|
|
49823
50021
|
/**
|
|
49824
50022
|
*
|
|
49825
50023
|
* @summary list the datasource of a cluster
|