kb-cloud-client-typescript 2.3.0-alpha.121 → 2.3.0-alpha.123
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/diagnostics-api.d.ts +10 -2
- package/dist/adminapi/apis/diagnostics-api.d.ts.map +1 -1
- package/dist/adminapi/apis/diagnostics-api.js +10 -5
- package/dist/adminapi/apis/diagnostics-api.js.map +1 -1
- package/dist/adminapi/models/account-option.d.ts +6 -0
- package/dist/adminapi/models/account-option.d.ts.map +1 -1
- package/dist/adminapi/models/cluster-storage-usage-history-instance.d.ts +56 -0
- package/dist/adminapi/models/cluster-storage-usage-history-instance.d.ts.map +1 -0
- package/dist/adminapi/models/cluster-storage-usage-history-instance.js +16 -0
- package/dist/adminapi/models/cluster-storage-usage-history-instance.js.map +1 -0
- package/dist/adminapi/models/cluster-storage-usage-history-point.d.ts +6 -0
- package/dist/adminapi/models/cluster-storage-usage-history-point.d.ts.map +1 -1
- package/dist/adminapi/models/cluster-storage-usage-history.d.ts +4 -4
- package/dist/adminapi/models/cluster-storage-usage-history.d.ts.map +1 -1
- package/dist/adminapi/models/index.d.ts +2 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +2 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/postgresql-space-analysis.d.ts +10 -4
- package/dist/adminapi/models/postgresql-space-analysis.d.ts.map +1 -1
- package/dist/adminapi/models/postgresql-storage-instance-usage.d.ts +79 -0
- package/dist/adminapi/models/postgresql-storage-instance-usage.d.ts.map +1 -0
- package/dist/adminapi/models/postgresql-storage-instance-usage.js +16 -0
- package/dist/adminapi/models/postgresql-storage-instance-usage.js.map +1 -0
- package/dist/adminapi/models/postgresql-storage-overview.d.ts +6 -29
- package/dist/adminapi/models/postgresql-storage-overview.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.d.ts +406 -0
- package/dist/openapi/apis/account-api.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.js +427 -0
- package/dist/openapi/apis/account-api.js.map +1 -1
- package/dist/openapi/apis/diagnostics-api.d.ts +10 -2
- package/dist/openapi/apis/diagnostics-api.d.ts.map +1 -1
- package/dist/openapi/apis/diagnostics-api.js +10 -5
- package/dist/openapi/apis/diagnostics-api.js.map +1 -1
- package/dist/openapi/apis/rdbms-api.d.ts +406 -0
- package/dist/openapi/apis/rdbms-api.d.ts.map +1 -1
- package/dist/openapi/apis/rdbms-api.js +427 -0
- package/dist/openapi/apis/rdbms-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +406 -0
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +427 -0
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/account-option.d.ts +6 -0
- package/dist/openapi/models/account-option.d.ts.map +1 -1
- package/dist/openapi/models/cluster-storage-usage-history-instance.d.ts +56 -0
- package/dist/openapi/models/cluster-storage-usage-history-instance.d.ts.map +1 -0
- package/dist/openapi/models/cluster-storage-usage-history-instance.js +16 -0
- package/dist/openapi/models/cluster-storage-usage-history-instance.js.map +1 -0
- package/dist/openapi/models/cluster-storage-usage-history-point.d.ts +6 -0
- package/dist/openapi/models/cluster-storage-usage-history-point.d.ts.map +1 -1
- package/dist/openapi/models/cluster-storage-usage-history.d.ts +4 -4
- package/dist/openapi/models/cluster-storage-usage-history.d.ts.map +1 -1
- package/dist/openapi/models/dms-service-account-create-request.d.ts +55 -0
- package/dist/openapi/models/dms-service-account-create-request.d.ts.map +1 -0
- package/dist/openapi/models/dms-service-account-create-request.js +16 -0
- package/dist/openapi/models/dms-service-account-create-request.js.map +1 -0
- package/dist/openapi/models/dms-service-account-status.d.ts +22 -0
- package/dist/openapi/models/dms-service-account-status.d.ts.map +1 -0
- package/dist/openapi/models/dms-service-account-status.js +26 -0
- package/dist/openapi/models/dms-service-account-status.js.map +1 -0
- package/dist/openapi/models/dms-service-account-update-request.d.ts +32 -0
- package/dist/openapi/models/dms-service-account-update-request.d.ts.map +1 -0
- package/dist/openapi/models/dms-service-account-update-request.js +16 -0
- package/dist/openapi/models/dms-service-account-update-request.js.map +1 -0
- package/dist/openapi/models/dms-service-account.d.ts +73 -0
- package/dist/openapi/models/dms-service-account.d.ts.map +1 -0
- package/dist/openapi/models/dms-service-account.js +16 -0
- package/dist/openapi/models/dms-service-account.js.map +1 -0
- package/dist/openapi/models/index.d.ts +6 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +6 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/postgresql-space-analysis.d.ts +10 -4
- package/dist/openapi/models/postgresql-space-analysis.d.ts.map +1 -1
- package/dist/openapi/models/postgresql-storage-instance-usage.d.ts +79 -0
- package/dist/openapi/models/postgresql-storage-instance-usage.d.ts.map +1 -0
- package/dist/openapi/models/postgresql-storage-instance-usage.js +16 -0
- package/dist/openapi/models/postgresql-storage-instance-usage.js.map +1 -0
- package/dist/openapi/models/postgresql-storage-overview.d.ts +6 -29
- package/dist/openapi/models/postgresql-storage-overview.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +2 -0
- package/src/adminapi/apis/diagnostics-api.ts +18 -5
- package/src/adminapi/models/account-option.ts +6 -0
- package/src/adminapi/models/cluster-storage-usage-history-instance.ts +63 -0
- package/src/adminapi/models/cluster-storage-usage-history-point.ts +6 -0
- package/src/adminapi/models/cluster-storage-usage-history.ts +4 -4
- package/src/adminapi/models/index.ts +2 -0
- package/src/adminapi/models/postgresql-space-analysis.ts +10 -4
- package/src/adminapi/models/postgresql-storage-instance-usage.ts +84 -0
- package/src/adminapi/models/postgresql-storage-overview.ts +8 -29
- package/src/adminapi.yaml +81 -11
- package/src/openapi/.openapi-generator/FILES +6 -0
- package/src/openapi/apis/account-api.ts +703 -0
- package/src/openapi/apis/diagnostics-api.ts +18 -5
- package/src/openapi/apis/rdbms-api.ts +703 -0
- package/src/openapi/apis/shared-api.ts +703 -0
- package/src/openapi/models/account-option.ts +6 -0
- package/src/openapi/models/cluster-storage-usage-history-instance.ts +63 -0
- package/src/openapi/models/cluster-storage-usage-history-point.ts +6 -0
- package/src/openapi/models/cluster-storage-usage-history.ts +4 -4
- package/src/openapi/models/dms-service-account-create-request.ts +60 -0
- package/src/openapi/models/dms-service-account-status.ts +31 -0
- package/src/openapi/models/dms-service-account-update-request.ts +41 -0
- package/src/openapi/models/dms-service-account.ts +78 -0
- package/src/openapi/models/index.ts +6 -0
- package/src/openapi/models/postgresql-space-analysis.ts +10 -4
- package/src/openapi/models/postgresql-storage-instance-usage.ts +84 -0
- package/src/openapi/models/postgresql-storage-overview.ts +8 -29
- package/src/openapi.yaml +411 -11
|
@@ -162,6 +162,12 @@ import type { DmsQueryResponse } from '../models';
|
|
|
162
162
|
// @ts-ignore
|
|
163
163
|
import type { DmsResult } from '../models';
|
|
164
164
|
// @ts-ignore
|
|
165
|
+
import type { DmsServiceAccount } from '../models';
|
|
166
|
+
// @ts-ignore
|
|
167
|
+
import type { DmsServiceAccountCreateRequest } from '../models';
|
|
168
|
+
// @ts-ignore
|
|
169
|
+
import type { DmsServiceAccountUpdateRequest } from '../models';
|
|
170
|
+
// @ts-ignore
|
|
165
171
|
import type { DmsSession } from '../models';
|
|
166
172
|
// @ts-ignore
|
|
167
173
|
import type { DmsTaskInfo } from '../models';
|
|
@@ -1876,6 +1882,61 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
1876
1882
|
options: localVarRequestOptions,
|
|
1877
1883
|
};
|
|
1878
1884
|
},
|
|
1885
|
+
/**
|
|
1886
|
+
* create a MinIO service account access key
|
|
1887
|
+
* @summary Create MinIO access key
|
|
1888
|
+
* @param {string} engineName name of the engine
|
|
1889
|
+
* @param {string} orgName name of the organization
|
|
1890
|
+
* @param {string} clusterName name of the cluster
|
|
1891
|
+
* @param {DmsServiceAccountCreateRequest} body
|
|
1892
|
+
* @param {*} [options] Override http request option.
|
|
1893
|
+
* @throws {RequiredError}
|
|
1894
|
+
*/
|
|
1895
|
+
createServiceAccount: async (engineName: string, orgName: string, clusterName: string, body: DmsServiceAccountCreateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1896
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
1897
|
+
assertParamExists('createServiceAccount', 'engineName', engineName)
|
|
1898
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1899
|
+
assertParamExists('createServiceAccount', 'orgName', orgName)
|
|
1900
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1901
|
+
assertParamExists('createServiceAccount', 'clusterName', clusterName)
|
|
1902
|
+
// verify required parameter 'body' is not null or undefined
|
|
1903
|
+
assertParamExists('createServiceAccount', 'body', body)
|
|
1904
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys`
|
|
1905
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
1906
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1907
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1908
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1909
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1910
|
+
let baseOptions;
|
|
1911
|
+
if (configuration) {
|
|
1912
|
+
baseOptions = configuration.baseOptions;
|
|
1913
|
+
}
|
|
1914
|
+
|
|
1915
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1916
|
+
const localVarHeaderParameter = {} as any;
|
|
1917
|
+
const localVarQueryParameter = {} as any;
|
|
1918
|
+
|
|
1919
|
+
// authentication BearerToken required
|
|
1920
|
+
// http bearer authentication required
|
|
1921
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1922
|
+
|
|
1923
|
+
// authentication DigestAuth required
|
|
1924
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1925
|
+
|
|
1926
|
+
|
|
1927
|
+
|
|
1928
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1929
|
+
|
|
1930
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1931
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1932
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1933
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
1934
|
+
|
|
1935
|
+
return {
|
|
1936
|
+
url: toPathString(localVarUrlObj),
|
|
1937
|
+
options: localVarRequestOptions,
|
|
1938
|
+
};
|
|
1939
|
+
},
|
|
1879
1940
|
/**
|
|
1880
1941
|
* create tag
|
|
1881
1942
|
* @summary Create cluster tags
|
|
@@ -3373,6 +3434,59 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
3373
3434
|
|
|
3374
3435
|
|
|
3375
3436
|
|
|
3437
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3438
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3439
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3440
|
+
|
|
3441
|
+
return {
|
|
3442
|
+
url: toPathString(localVarUrlObj),
|
|
3443
|
+
options: localVarRequestOptions,
|
|
3444
|
+
};
|
|
3445
|
+
},
|
|
3446
|
+
/**
|
|
3447
|
+
* delete a MinIO service account access key
|
|
3448
|
+
* @summary Delete MinIO access key
|
|
3449
|
+
* @param {string} engineName name of the engine
|
|
3450
|
+
* @param {string} orgName name of the organization
|
|
3451
|
+
* @param {string} clusterName name of the cluster
|
|
3452
|
+
* @param {string} accessKey MinIO access key
|
|
3453
|
+
* @param {*} [options] Override http request option.
|
|
3454
|
+
* @throws {RequiredError}
|
|
3455
|
+
*/
|
|
3456
|
+
deleteServiceAccount: async (engineName: string, orgName: string, clusterName: string, accessKey: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3457
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
3458
|
+
assertParamExists('deleteServiceAccount', 'engineName', engineName)
|
|
3459
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
3460
|
+
assertParamExists('deleteServiceAccount', 'orgName', orgName)
|
|
3461
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
3462
|
+
assertParamExists('deleteServiceAccount', 'clusterName', clusterName)
|
|
3463
|
+
// verify required parameter 'accessKey' is not null or undefined
|
|
3464
|
+
assertParamExists('deleteServiceAccount', 'accessKey', accessKey)
|
|
3465
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys/{accessKey}`
|
|
3466
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
3467
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
3468
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
3469
|
+
.replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
|
|
3470
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3471
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3472
|
+
let baseOptions;
|
|
3473
|
+
if (configuration) {
|
|
3474
|
+
baseOptions = configuration.baseOptions;
|
|
3475
|
+
}
|
|
3476
|
+
|
|
3477
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
3478
|
+
const localVarHeaderParameter = {} as any;
|
|
3479
|
+
const localVarQueryParameter = {} as any;
|
|
3480
|
+
|
|
3481
|
+
// authentication BearerToken required
|
|
3482
|
+
// http bearer authentication required
|
|
3483
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3484
|
+
|
|
3485
|
+
// authentication DigestAuth required
|
|
3486
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
3487
|
+
|
|
3488
|
+
|
|
3489
|
+
|
|
3376
3490
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3377
3491
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3378
3492
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -6424,6 +6538,59 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
6424
6538
|
|
|
6425
6539
|
|
|
6426
6540
|
|
|
6541
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6542
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6543
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6544
|
+
|
|
6545
|
+
return {
|
|
6546
|
+
url: toPathString(localVarUrlObj),
|
|
6547
|
+
options: localVarRequestOptions,
|
|
6548
|
+
};
|
|
6549
|
+
},
|
|
6550
|
+
/**
|
|
6551
|
+
* get a MinIO service account access key
|
|
6552
|
+
* @summary Get MinIO access key
|
|
6553
|
+
* @param {string} engineName name of the engine
|
|
6554
|
+
* @param {string} orgName name of the organization
|
|
6555
|
+
* @param {string} clusterName name of the cluster
|
|
6556
|
+
* @param {string} accessKey MinIO access key
|
|
6557
|
+
* @param {*} [options] Override http request option.
|
|
6558
|
+
* @throws {RequiredError}
|
|
6559
|
+
*/
|
|
6560
|
+
getServiceAccount: async (engineName: string, orgName: string, clusterName: string, accessKey: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6561
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
6562
|
+
assertParamExists('getServiceAccount', 'engineName', engineName)
|
|
6563
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
6564
|
+
assertParamExists('getServiceAccount', 'orgName', orgName)
|
|
6565
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
6566
|
+
assertParamExists('getServiceAccount', 'clusterName', clusterName)
|
|
6567
|
+
// verify required parameter 'accessKey' is not null or undefined
|
|
6568
|
+
assertParamExists('getServiceAccount', 'accessKey', accessKey)
|
|
6569
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys/{accessKey}`
|
|
6570
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
6571
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
6572
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
6573
|
+
.replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
|
|
6574
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6575
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6576
|
+
let baseOptions;
|
|
6577
|
+
if (configuration) {
|
|
6578
|
+
baseOptions = configuration.baseOptions;
|
|
6579
|
+
}
|
|
6580
|
+
|
|
6581
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
6582
|
+
const localVarHeaderParameter = {} as any;
|
|
6583
|
+
const localVarQueryParameter = {} as any;
|
|
6584
|
+
|
|
6585
|
+
// authentication BearerToken required
|
|
6586
|
+
// http bearer authentication required
|
|
6587
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
6588
|
+
|
|
6589
|
+
// authentication DigestAuth required
|
|
6590
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
6591
|
+
|
|
6592
|
+
|
|
6593
|
+
|
|
6427
6594
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6428
6595
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6429
6596
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -9488,6 +9655,60 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9488
9655
|
|
|
9489
9656
|
|
|
9490
9657
|
|
|
9658
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9659
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9660
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9661
|
+
|
|
9662
|
+
return {
|
|
9663
|
+
url: toPathString(localVarUrlObj),
|
|
9664
|
+
options: localVarRequestOptions,
|
|
9665
|
+
};
|
|
9666
|
+
},
|
|
9667
|
+
/**
|
|
9668
|
+
* list MinIO service account access keys
|
|
9669
|
+
* @summary List MinIO access keys
|
|
9670
|
+
* @param {string} engineName name of the engine
|
|
9671
|
+
* @param {string} orgName name of the organization
|
|
9672
|
+
* @param {string} clusterName name of the cluster
|
|
9673
|
+
* @param {string} [userName] MinIO user that owns the service accounts
|
|
9674
|
+
* @param {*} [options] Override http request option.
|
|
9675
|
+
* @throws {RequiredError}
|
|
9676
|
+
*/
|
|
9677
|
+
listServiceAccounts: async (engineName: string, orgName: string, clusterName: string, userName?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9678
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
9679
|
+
assertParamExists('listServiceAccounts', 'engineName', engineName)
|
|
9680
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
9681
|
+
assertParamExists('listServiceAccounts', 'orgName', orgName)
|
|
9682
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
9683
|
+
assertParamExists('listServiceAccounts', 'clusterName', clusterName)
|
|
9684
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys`
|
|
9685
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
9686
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
9687
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
9688
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9689
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9690
|
+
let baseOptions;
|
|
9691
|
+
if (configuration) {
|
|
9692
|
+
baseOptions = configuration.baseOptions;
|
|
9693
|
+
}
|
|
9694
|
+
|
|
9695
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9696
|
+
const localVarHeaderParameter = {} as any;
|
|
9697
|
+
const localVarQueryParameter = {} as any;
|
|
9698
|
+
|
|
9699
|
+
// authentication BearerToken required
|
|
9700
|
+
// http bearer authentication required
|
|
9701
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9702
|
+
|
|
9703
|
+
// authentication DigestAuth required
|
|
9704
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
9705
|
+
|
|
9706
|
+
if (userName !== undefined) {
|
|
9707
|
+
localVarQueryParameter['userName'] = userName;
|
|
9708
|
+
}
|
|
9709
|
+
|
|
9710
|
+
|
|
9711
|
+
|
|
9491
9712
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9492
9713
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9493
9714
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -13702,6 +13923,65 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
13702
13923
|
options: localVarRequestOptions,
|
|
13703
13924
|
};
|
|
13704
13925
|
},
|
|
13926
|
+
/**
|
|
13927
|
+
* update a MinIO service account access key
|
|
13928
|
+
* @summary Update MinIO access key
|
|
13929
|
+
* @param {string} engineName name of the engine
|
|
13930
|
+
* @param {string} orgName name of the organization
|
|
13931
|
+
* @param {string} clusterName name of the cluster
|
|
13932
|
+
* @param {string} accessKey MinIO access key
|
|
13933
|
+
* @param {DmsServiceAccountUpdateRequest} body
|
|
13934
|
+
* @param {*} [options] Override http request option.
|
|
13935
|
+
* @throws {RequiredError}
|
|
13936
|
+
*/
|
|
13937
|
+
updateServiceAccount: async (engineName: string, orgName: string, clusterName: string, accessKey: string, body: DmsServiceAccountUpdateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13938
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
13939
|
+
assertParamExists('updateServiceAccount', 'engineName', engineName)
|
|
13940
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
13941
|
+
assertParamExists('updateServiceAccount', 'orgName', orgName)
|
|
13942
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
13943
|
+
assertParamExists('updateServiceAccount', 'clusterName', clusterName)
|
|
13944
|
+
// verify required parameter 'accessKey' is not null or undefined
|
|
13945
|
+
assertParamExists('updateServiceAccount', 'accessKey', accessKey)
|
|
13946
|
+
// verify required parameter 'body' is not null or undefined
|
|
13947
|
+
assertParamExists('updateServiceAccount', 'body', body)
|
|
13948
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys/{accessKey}`
|
|
13949
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
13950
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
13951
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
13952
|
+
.replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
|
|
13953
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13954
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13955
|
+
let baseOptions;
|
|
13956
|
+
if (configuration) {
|
|
13957
|
+
baseOptions = configuration.baseOptions;
|
|
13958
|
+
}
|
|
13959
|
+
|
|
13960
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
13961
|
+
const localVarHeaderParameter = {} as any;
|
|
13962
|
+
const localVarQueryParameter = {} as any;
|
|
13963
|
+
|
|
13964
|
+
// authentication BearerToken required
|
|
13965
|
+
// http bearer authentication required
|
|
13966
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
13967
|
+
|
|
13968
|
+
// authentication DigestAuth required
|
|
13969
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
13970
|
+
|
|
13971
|
+
|
|
13972
|
+
|
|
13973
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13974
|
+
|
|
13975
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13976
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13977
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13978
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
13979
|
+
|
|
13980
|
+
return {
|
|
13981
|
+
url: toPathString(localVarUrlObj),
|
|
13982
|
+
options: localVarRequestOptions,
|
|
13983
|
+
};
|
|
13984
|
+
},
|
|
13705
13985
|
/**
|
|
13706
13986
|
* Enable or disable SQL audit log for a cluster component
|
|
13707
13987
|
* @summary Update SQL audit log status
|
|
@@ -14486,6 +14766,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
14486
14766
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.createRole']?.[localVarOperationServerIndex]?.url;
|
|
14487
14767
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14488
14768
|
},
|
|
14769
|
+
/**
|
|
14770
|
+
* create a MinIO service account access key
|
|
14771
|
+
* @summary Create MinIO access key
|
|
14772
|
+
* @param {string} engineName name of the engine
|
|
14773
|
+
* @param {string} orgName name of the organization
|
|
14774
|
+
* @param {string} clusterName name of the cluster
|
|
14775
|
+
* @param {DmsServiceAccountCreateRequest} body
|
|
14776
|
+
* @param {*} [options] Override http request option.
|
|
14777
|
+
* @throws {RequiredError}
|
|
14778
|
+
*/
|
|
14779
|
+
async createServiceAccount(engineName: string, orgName: string, clusterName: string, body: DmsServiceAccountCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsServiceAccount>> {
|
|
14780
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createServiceAccount(engineName, orgName, clusterName, body, options);
|
|
14781
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14782
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.createServiceAccount']?.[localVarOperationServerIndex]?.url;
|
|
14783
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14784
|
+
},
|
|
14489
14785
|
/**
|
|
14490
14786
|
* create tag
|
|
14491
14787
|
* @summary Create cluster tags
|
|
@@ -14943,6 +15239,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
14943
15239
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteRoleByName']?.[localVarOperationServerIndex]?.url;
|
|
14944
15240
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14945
15241
|
},
|
|
15242
|
+
/**
|
|
15243
|
+
* delete a MinIO service account access key
|
|
15244
|
+
* @summary Delete MinIO access key
|
|
15245
|
+
* @param {string} engineName name of the engine
|
|
15246
|
+
* @param {string} orgName name of the organization
|
|
15247
|
+
* @param {string} clusterName name of the cluster
|
|
15248
|
+
* @param {string} accessKey MinIO access key
|
|
15249
|
+
* @param {*} [options] Override http request option.
|
|
15250
|
+
* @throws {RequiredError}
|
|
15251
|
+
*/
|
|
15252
|
+
async deleteServiceAccount(engineName: string, orgName: string, clusterName: string, accessKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
15253
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteServiceAccount(engineName, orgName, clusterName, accessKey, options);
|
|
15254
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15255
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteServiceAccount']?.[localVarOperationServerIndex]?.url;
|
|
15256
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15257
|
+
},
|
|
14946
15258
|
/**
|
|
14947
15259
|
* delete cluster tag
|
|
14948
15260
|
* @summary Delete tag
|
|
@@ -15833,6 +16145,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
15833
16145
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.getSchemaList']?.[localVarOperationServerIndex]?.url;
|
|
15834
16146
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15835
16147
|
},
|
|
16148
|
+
/**
|
|
16149
|
+
* get a MinIO service account access key
|
|
16150
|
+
* @summary Get MinIO access key
|
|
16151
|
+
* @param {string} engineName name of the engine
|
|
16152
|
+
* @param {string} orgName name of the organization
|
|
16153
|
+
* @param {string} clusterName name of the cluster
|
|
16154
|
+
* @param {string} accessKey MinIO access key
|
|
16155
|
+
* @param {*} [options] Override http request option.
|
|
16156
|
+
* @throws {RequiredError}
|
|
16157
|
+
*/
|
|
16158
|
+
async getServiceAccount(engineName: string, orgName: string, clusterName: string, accessKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsServiceAccount>> {
|
|
16159
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getServiceAccount(engineName, orgName, clusterName, accessKey, options);
|
|
16160
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16161
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.getServiceAccount']?.[localVarOperationServerIndex]?.url;
|
|
16162
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16163
|
+
},
|
|
15836
16164
|
/**
|
|
15837
16165
|
* Get statistics summary for slow logs of a cluster. When the same slow log filters are supplied, totalSlowLogs can be used as the filtered list preview count.
|
|
15838
16166
|
* @summary Get cluster slow log statistics
|
|
@@ -16725,6 +17053,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
16725
17053
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.listRoles']?.[localVarOperationServerIndex]?.url;
|
|
16726
17054
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16727
17055
|
},
|
|
17056
|
+
/**
|
|
17057
|
+
* list MinIO service account access keys
|
|
17058
|
+
* @summary List MinIO access keys
|
|
17059
|
+
* @param {string} engineName name of the engine
|
|
17060
|
+
* @param {string} orgName name of the organization
|
|
17061
|
+
* @param {string} clusterName name of the cluster
|
|
17062
|
+
* @param {string} [userName] MinIO user that owns the service accounts
|
|
17063
|
+
* @param {*} [options] Override http request option.
|
|
17064
|
+
* @throws {RequiredError}
|
|
17065
|
+
*/
|
|
17066
|
+
async listServiceAccounts(engineName: string, orgName: string, clusterName: string, userName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DmsServiceAccount>>> {
|
|
17067
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listServiceAccounts(engineName, orgName, clusterName, userName, options);
|
|
17068
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17069
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listServiceAccounts']?.[localVarOperationServerIndex]?.url;
|
|
17070
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17071
|
+
},
|
|
16728
17072
|
/**
|
|
16729
17073
|
* list the service version of the engine
|
|
16730
17074
|
* @summary list the service version of the engine
|
|
@@ -17910,6 +18254,23 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
17910
18254
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateRoleByName']?.[localVarOperationServerIndex]?.url;
|
|
17911
18255
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17912
18256
|
},
|
|
18257
|
+
/**
|
|
18258
|
+
* update a MinIO service account access key
|
|
18259
|
+
* @summary Update MinIO access key
|
|
18260
|
+
* @param {string} engineName name of the engine
|
|
18261
|
+
* @param {string} orgName name of the organization
|
|
18262
|
+
* @param {string} clusterName name of the cluster
|
|
18263
|
+
* @param {string} accessKey MinIO access key
|
|
18264
|
+
* @param {DmsServiceAccountUpdateRequest} body
|
|
18265
|
+
* @param {*} [options] Override http request option.
|
|
18266
|
+
* @throws {RequiredError}
|
|
18267
|
+
*/
|
|
18268
|
+
async updateServiceAccount(engineName: string, orgName: string, clusterName: string, accessKey: string, body: DmsServiceAccountUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsServiceAccount>> {
|
|
18269
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateServiceAccount(engineName, orgName, clusterName, accessKey, body, options);
|
|
18270
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18271
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateServiceAccount']?.[localVarOperationServerIndex]?.url;
|
|
18272
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18273
|
+
},
|
|
17913
18274
|
/**
|
|
17914
18275
|
* Enable or disable SQL audit log for a cluster component
|
|
17915
18276
|
* @summary Update SQL audit log status
|
|
@@ -18284,6 +18645,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
18284
18645
|
createRole(requestParameters: SharedApiCreateRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role> {
|
|
18285
18646
|
return localVarFp.createRole(requestParameters.orgName, requestParameters.roleCreate, options).then((request) => request(axios, basePath));
|
|
18286
18647
|
},
|
|
18648
|
+
/**
|
|
18649
|
+
* create a MinIO service account access key
|
|
18650
|
+
* @summary Create MinIO access key
|
|
18651
|
+
* @param {SharedApiCreateServiceAccountRequest} requestParameters Request parameters.
|
|
18652
|
+
* @param {*} [options] Override http request option.
|
|
18653
|
+
* @throws {RequiredError}
|
|
18654
|
+
*/
|
|
18655
|
+
createServiceAccount(requestParameters: SharedApiCreateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount> {
|
|
18656
|
+
return localVarFp.createServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
18657
|
+
},
|
|
18287
18658
|
/**
|
|
18288
18659
|
* create tag
|
|
18289
18660
|
* @summary Create cluster tags
|
|
@@ -18594,6 +18965,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
18594
18965
|
deleteRoleByName(requestParameters: SharedApiDeleteRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
18595
18966
|
return localVarFp.deleteRoleByName(requestParameters.orgName, requestParameters.roleName, options).then((request) => request(axios, basePath));
|
|
18596
18967
|
},
|
|
18968
|
+
/**
|
|
18969
|
+
* delete a MinIO service account access key
|
|
18970
|
+
* @summary Delete MinIO access key
|
|
18971
|
+
* @param {SharedApiDeleteServiceAccountRequest} requestParameters Request parameters.
|
|
18972
|
+
* @param {*} [options] Override http request option.
|
|
18973
|
+
* @throws {RequiredError}
|
|
18974
|
+
*/
|
|
18975
|
+
deleteServiceAccount(requestParameters: SharedApiDeleteServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
18976
|
+
return localVarFp.deleteServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(axios, basePath));
|
|
18977
|
+
},
|
|
18597
18978
|
/**
|
|
18598
18979
|
* delete cluster tag
|
|
18599
18980
|
* @summary Delete tag
|
|
@@ -19153,6 +19534,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
19153
19534
|
getSchemaList(requestParameters: SharedApiGetSchemaListRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>> {
|
|
19154
19535
|
return localVarFp.getSchemaList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, options).then((request) => request(axios, basePath));
|
|
19155
19536
|
},
|
|
19537
|
+
/**
|
|
19538
|
+
* get a MinIO service account access key
|
|
19539
|
+
* @summary Get MinIO access key
|
|
19540
|
+
* @param {SharedApiGetServiceAccountRequest} requestParameters Request parameters.
|
|
19541
|
+
* @param {*} [options] Override http request option.
|
|
19542
|
+
* @throws {RequiredError}
|
|
19543
|
+
*/
|
|
19544
|
+
getServiceAccount(requestParameters: SharedApiGetServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount> {
|
|
19545
|
+
return localVarFp.getServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(axios, basePath));
|
|
19546
|
+
},
|
|
19156
19547
|
/**
|
|
19157
19548
|
* Get statistics summary for slow logs of a cluster. When the same slow log filters are supplied, totalSlowLogs can be used as the filtered list preview count.
|
|
19158
19549
|
* @summary Get cluster slow log statistics
|
|
@@ -19721,6 +20112,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
19721
20112
|
listRoles(requestParameters: SharedApiListRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<RoleList> {
|
|
19722
20113
|
return localVarFp.listRoles(requestParameters.orgName, options).then((request) => request(axios, basePath));
|
|
19723
20114
|
},
|
|
20115
|
+
/**
|
|
20116
|
+
* list MinIO service account access keys
|
|
20117
|
+
* @summary List MinIO access keys
|
|
20118
|
+
* @param {SharedApiListServiceAccountsRequest} requestParameters Request parameters.
|
|
20119
|
+
* @param {*} [options] Override http request option.
|
|
20120
|
+
* @throws {RequiredError}
|
|
20121
|
+
*/
|
|
20122
|
+
listServiceAccounts(requestParameters: SharedApiListServiceAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DmsServiceAccount>> {
|
|
20123
|
+
return localVarFp.listServiceAccounts(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.userName, options).then((request) => request(axios, basePath));
|
|
20124
|
+
},
|
|
19724
20125
|
/**
|
|
19725
20126
|
* list the service version of the engine
|
|
19726
20127
|
* @summary list the service version of the engine
|
|
@@ -20430,6 +20831,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
20430
20831
|
updateRoleByName(requestParameters: SharedApiUpdateRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role> {
|
|
20431
20832
|
return localVarFp.updateRoleByName(requestParameters.orgName, requestParameters.roleName, requestParameters.roleUpdate, options).then((request) => request(axios, basePath));
|
|
20432
20833
|
},
|
|
20834
|
+
/**
|
|
20835
|
+
* update a MinIO service account access key
|
|
20836
|
+
* @summary Update MinIO access key
|
|
20837
|
+
* @param {SharedApiUpdateServiceAccountRequest} requestParameters Request parameters.
|
|
20838
|
+
* @param {*} [options] Override http request option.
|
|
20839
|
+
* @throws {RequiredError}
|
|
20840
|
+
*/
|
|
20841
|
+
updateServiceAccount(requestParameters: SharedApiUpdateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount> {
|
|
20842
|
+
return localVarFp.updateServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
20843
|
+
},
|
|
20433
20844
|
/**
|
|
20434
20845
|
* Enable or disable SQL audit log for a cluster component
|
|
20435
20846
|
* @summary Update SQL audit log status
|
|
@@ -20769,6 +21180,16 @@ export interface SharedApiInterface {
|
|
|
20769
21180
|
*/
|
|
20770
21181
|
createRole(requestParameters: SharedApiCreateRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role>;
|
|
20771
21182
|
|
|
21183
|
+
/**
|
|
21184
|
+
* create a MinIO service account access key
|
|
21185
|
+
* @summary Create MinIO access key
|
|
21186
|
+
* @param {SharedApiCreateServiceAccountRequest} requestParameters Request parameters.
|
|
21187
|
+
* @param {*} [options] Override http request option.
|
|
21188
|
+
* @throws {RequiredError}
|
|
21189
|
+
* @memberof SharedApiInterface
|
|
21190
|
+
*/
|
|
21191
|
+
createServiceAccount(requestParameters: SharedApiCreateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
|
|
21192
|
+
|
|
20772
21193
|
/**
|
|
20773
21194
|
* create tag
|
|
20774
21195
|
* @summary Create cluster tags
|
|
@@ -21079,6 +21500,16 @@ export interface SharedApiInterface {
|
|
|
21079
21500
|
*/
|
|
21080
21501
|
deleteRoleByName(requestParameters: SharedApiDeleteRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
21081
21502
|
|
|
21503
|
+
/**
|
|
21504
|
+
* delete a MinIO service account access key
|
|
21505
|
+
* @summary Delete MinIO access key
|
|
21506
|
+
* @param {SharedApiDeleteServiceAccountRequest} requestParameters Request parameters.
|
|
21507
|
+
* @param {*} [options] Override http request option.
|
|
21508
|
+
* @throws {RequiredError}
|
|
21509
|
+
* @memberof SharedApiInterface
|
|
21510
|
+
*/
|
|
21511
|
+
deleteServiceAccount(requestParameters: SharedApiDeleteServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
21512
|
+
|
|
21082
21513
|
/**
|
|
21083
21514
|
* delete cluster tag
|
|
21084
21515
|
* @summary Delete tag
|
|
@@ -21638,6 +22069,16 @@ export interface SharedApiInterface {
|
|
|
21638
22069
|
*/
|
|
21639
22070
|
getSchemaList(requestParameters: SharedApiGetSchemaListRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
|
|
21640
22071
|
|
|
22072
|
+
/**
|
|
22073
|
+
* get a MinIO service account access key
|
|
22074
|
+
* @summary Get MinIO access key
|
|
22075
|
+
* @param {SharedApiGetServiceAccountRequest} requestParameters Request parameters.
|
|
22076
|
+
* @param {*} [options] Override http request option.
|
|
22077
|
+
* @throws {RequiredError}
|
|
22078
|
+
* @memberof SharedApiInterface
|
|
22079
|
+
*/
|
|
22080
|
+
getServiceAccount(requestParameters: SharedApiGetServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
|
|
22081
|
+
|
|
21641
22082
|
/**
|
|
21642
22083
|
* Get statistics summary for slow logs of a cluster. When the same slow log filters are supplied, totalSlowLogs can be used as the filtered list preview count.
|
|
21643
22084
|
* @summary Get cluster slow log statistics
|
|
@@ -22206,6 +22647,16 @@ export interface SharedApiInterface {
|
|
|
22206
22647
|
*/
|
|
22207
22648
|
listRoles(requestParameters: SharedApiListRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<RoleList>;
|
|
22208
22649
|
|
|
22650
|
+
/**
|
|
22651
|
+
* list MinIO service account access keys
|
|
22652
|
+
* @summary List MinIO access keys
|
|
22653
|
+
* @param {SharedApiListServiceAccountsRequest} requestParameters Request parameters.
|
|
22654
|
+
* @param {*} [options] Override http request option.
|
|
22655
|
+
* @throws {RequiredError}
|
|
22656
|
+
* @memberof SharedApiInterface
|
|
22657
|
+
*/
|
|
22658
|
+
listServiceAccounts(requestParameters: SharedApiListServiceAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DmsServiceAccount>>;
|
|
22659
|
+
|
|
22209
22660
|
/**
|
|
22210
22661
|
* list the service version of the engine
|
|
22211
22662
|
* @summary list the service version of the engine
|
|
@@ -22915,6 +23366,16 @@ export interface SharedApiInterface {
|
|
|
22915
23366
|
*/
|
|
22916
23367
|
updateRoleByName(requestParameters: SharedApiUpdateRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role>;
|
|
22917
23368
|
|
|
23369
|
+
/**
|
|
23370
|
+
* update a MinIO service account access key
|
|
23371
|
+
* @summary Update MinIO access key
|
|
23372
|
+
* @param {SharedApiUpdateServiceAccountRequest} requestParameters Request parameters.
|
|
23373
|
+
* @param {*} [options] Override http request option.
|
|
23374
|
+
* @throws {RequiredError}
|
|
23375
|
+
* @memberof SharedApiInterface
|
|
23376
|
+
*/
|
|
23377
|
+
updateServiceAccount(requestParameters: SharedApiUpdateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
|
|
23378
|
+
|
|
22918
23379
|
/**
|
|
22919
23380
|
* Enable or disable SQL audit log for a cluster component
|
|
22920
23381
|
* @summary Update SQL audit log status
|
|
@@ -23945,6 +24406,41 @@ export interface SharedApiCreateRoleRequest {
|
|
|
23945
24406
|
readonly roleCreate: RoleCreate
|
|
23946
24407
|
}
|
|
23947
24408
|
|
|
24409
|
+
/**
|
|
24410
|
+
* Request parameters for createServiceAccount operation in SharedApi.
|
|
24411
|
+
* @export
|
|
24412
|
+
* @interface SharedApiCreateServiceAccountRequest
|
|
24413
|
+
*/
|
|
24414
|
+
export interface SharedApiCreateServiceAccountRequest {
|
|
24415
|
+
/**
|
|
24416
|
+
* name of the engine
|
|
24417
|
+
* @type {string}
|
|
24418
|
+
* @memberof SharedApiCreateServiceAccount
|
|
24419
|
+
*/
|
|
24420
|
+
readonly engineName: string
|
|
24421
|
+
|
|
24422
|
+
/**
|
|
24423
|
+
* name of the organization
|
|
24424
|
+
* @type {string}
|
|
24425
|
+
* @memberof SharedApiCreateServiceAccount
|
|
24426
|
+
*/
|
|
24427
|
+
readonly orgName: string
|
|
24428
|
+
|
|
24429
|
+
/**
|
|
24430
|
+
* name of the cluster
|
|
24431
|
+
* @type {string}
|
|
24432
|
+
* @memberof SharedApiCreateServiceAccount
|
|
24433
|
+
*/
|
|
24434
|
+
readonly clusterName: string
|
|
24435
|
+
|
|
24436
|
+
/**
|
|
24437
|
+
*
|
|
24438
|
+
* @type {DmsServiceAccountCreateRequest}
|
|
24439
|
+
* @memberof SharedApiCreateServiceAccount
|
|
24440
|
+
*/
|
|
24441
|
+
readonly body: DmsServiceAccountCreateRequest
|
|
24442
|
+
}
|
|
24443
|
+
|
|
23948
24444
|
/**
|
|
23949
24445
|
* Request parameters for createTag operation in SharedApi.
|
|
23950
24446
|
* @export
|
|
@@ -24757,6 +25253,41 @@ export interface SharedApiDeleteRoleByNameRequest {
|
|
|
24757
25253
|
readonly roleName: string
|
|
24758
25254
|
}
|
|
24759
25255
|
|
|
25256
|
+
/**
|
|
25257
|
+
* Request parameters for deleteServiceAccount operation in SharedApi.
|
|
25258
|
+
* @export
|
|
25259
|
+
* @interface SharedApiDeleteServiceAccountRequest
|
|
25260
|
+
*/
|
|
25261
|
+
export interface SharedApiDeleteServiceAccountRequest {
|
|
25262
|
+
/**
|
|
25263
|
+
* name of the engine
|
|
25264
|
+
* @type {string}
|
|
25265
|
+
* @memberof SharedApiDeleteServiceAccount
|
|
25266
|
+
*/
|
|
25267
|
+
readonly engineName: string
|
|
25268
|
+
|
|
25269
|
+
/**
|
|
25270
|
+
* name of the organization
|
|
25271
|
+
* @type {string}
|
|
25272
|
+
* @memberof SharedApiDeleteServiceAccount
|
|
25273
|
+
*/
|
|
25274
|
+
readonly orgName: string
|
|
25275
|
+
|
|
25276
|
+
/**
|
|
25277
|
+
* name of the cluster
|
|
25278
|
+
* @type {string}
|
|
25279
|
+
* @memberof SharedApiDeleteServiceAccount
|
|
25280
|
+
*/
|
|
25281
|
+
readonly clusterName: string
|
|
25282
|
+
|
|
25283
|
+
/**
|
|
25284
|
+
* MinIO access key
|
|
25285
|
+
* @type {string}
|
|
25286
|
+
* @memberof SharedApiDeleteServiceAccount
|
|
25287
|
+
*/
|
|
25288
|
+
readonly accessKey: string
|
|
25289
|
+
}
|
|
25290
|
+
|
|
24760
25291
|
/**
|
|
24761
25292
|
* Request parameters for deleteTag operation in SharedApi.
|
|
24762
25293
|
* @export
|
|
@@ -26682,6 +27213,41 @@ export interface SharedApiGetSchemaListRequest {
|
|
|
26682
27213
|
readonly database?: string
|
|
26683
27214
|
}
|
|
26684
27215
|
|
|
27216
|
+
/**
|
|
27217
|
+
* Request parameters for getServiceAccount operation in SharedApi.
|
|
27218
|
+
* @export
|
|
27219
|
+
* @interface SharedApiGetServiceAccountRequest
|
|
27220
|
+
*/
|
|
27221
|
+
export interface SharedApiGetServiceAccountRequest {
|
|
27222
|
+
/**
|
|
27223
|
+
* name of the engine
|
|
27224
|
+
* @type {string}
|
|
27225
|
+
* @memberof SharedApiGetServiceAccount
|
|
27226
|
+
*/
|
|
27227
|
+
readonly engineName: string
|
|
27228
|
+
|
|
27229
|
+
/**
|
|
27230
|
+
* name of the organization
|
|
27231
|
+
* @type {string}
|
|
27232
|
+
* @memberof SharedApiGetServiceAccount
|
|
27233
|
+
*/
|
|
27234
|
+
readonly orgName: string
|
|
27235
|
+
|
|
27236
|
+
/**
|
|
27237
|
+
* name of the cluster
|
|
27238
|
+
* @type {string}
|
|
27239
|
+
* @memberof SharedApiGetServiceAccount
|
|
27240
|
+
*/
|
|
27241
|
+
readonly clusterName: string
|
|
27242
|
+
|
|
27243
|
+
/**
|
|
27244
|
+
* MinIO access key
|
|
27245
|
+
* @type {string}
|
|
27246
|
+
* @memberof SharedApiGetServiceAccount
|
|
27247
|
+
*/
|
|
27248
|
+
readonly accessKey: string
|
|
27249
|
+
}
|
|
27250
|
+
|
|
26685
27251
|
/**
|
|
26686
27252
|
* Request parameters for getSlowLogStats operation in SharedApi.
|
|
26687
27253
|
* @export
|
|
@@ -28523,6 +29089,41 @@ export interface SharedApiListRolesRequest {
|
|
|
28523
29089
|
readonly orgName: string
|
|
28524
29090
|
}
|
|
28525
29091
|
|
|
29092
|
+
/**
|
|
29093
|
+
* Request parameters for listServiceAccounts operation in SharedApi.
|
|
29094
|
+
* @export
|
|
29095
|
+
* @interface SharedApiListServiceAccountsRequest
|
|
29096
|
+
*/
|
|
29097
|
+
export interface SharedApiListServiceAccountsRequest {
|
|
29098
|
+
/**
|
|
29099
|
+
* name of the engine
|
|
29100
|
+
* @type {string}
|
|
29101
|
+
* @memberof SharedApiListServiceAccounts
|
|
29102
|
+
*/
|
|
29103
|
+
readonly engineName: string
|
|
29104
|
+
|
|
29105
|
+
/**
|
|
29106
|
+
* name of the organization
|
|
29107
|
+
* @type {string}
|
|
29108
|
+
* @memberof SharedApiListServiceAccounts
|
|
29109
|
+
*/
|
|
29110
|
+
readonly orgName: string
|
|
29111
|
+
|
|
29112
|
+
/**
|
|
29113
|
+
* name of the cluster
|
|
29114
|
+
* @type {string}
|
|
29115
|
+
* @memberof SharedApiListServiceAccounts
|
|
29116
|
+
*/
|
|
29117
|
+
readonly clusterName: string
|
|
29118
|
+
|
|
29119
|
+
/**
|
|
29120
|
+
* MinIO user that owns the service accounts
|
|
29121
|
+
* @type {string}
|
|
29122
|
+
* @memberof SharedApiListServiceAccounts
|
|
29123
|
+
*/
|
|
29124
|
+
readonly userName?: string
|
|
29125
|
+
}
|
|
29126
|
+
|
|
28526
29127
|
/**
|
|
28527
29128
|
* Request parameters for listServiceVersion operation in SharedApi.
|
|
28528
29129
|
* @export
|
|
@@ -31330,6 +31931,48 @@ export interface SharedApiUpdateRoleByNameRequest {
|
|
|
31330
31931
|
readonly roleUpdate: RoleUpdate
|
|
31331
31932
|
}
|
|
31332
31933
|
|
|
31934
|
+
/**
|
|
31935
|
+
* Request parameters for updateServiceAccount operation in SharedApi.
|
|
31936
|
+
* @export
|
|
31937
|
+
* @interface SharedApiUpdateServiceAccountRequest
|
|
31938
|
+
*/
|
|
31939
|
+
export interface SharedApiUpdateServiceAccountRequest {
|
|
31940
|
+
/**
|
|
31941
|
+
* name of the engine
|
|
31942
|
+
* @type {string}
|
|
31943
|
+
* @memberof SharedApiUpdateServiceAccount
|
|
31944
|
+
*/
|
|
31945
|
+
readonly engineName: string
|
|
31946
|
+
|
|
31947
|
+
/**
|
|
31948
|
+
* name of the organization
|
|
31949
|
+
* @type {string}
|
|
31950
|
+
* @memberof SharedApiUpdateServiceAccount
|
|
31951
|
+
*/
|
|
31952
|
+
readonly orgName: string
|
|
31953
|
+
|
|
31954
|
+
/**
|
|
31955
|
+
* name of the cluster
|
|
31956
|
+
* @type {string}
|
|
31957
|
+
* @memberof SharedApiUpdateServiceAccount
|
|
31958
|
+
*/
|
|
31959
|
+
readonly clusterName: string
|
|
31960
|
+
|
|
31961
|
+
/**
|
|
31962
|
+
* MinIO access key
|
|
31963
|
+
* @type {string}
|
|
31964
|
+
* @memberof SharedApiUpdateServiceAccount
|
|
31965
|
+
*/
|
|
31966
|
+
readonly accessKey: string
|
|
31967
|
+
|
|
31968
|
+
/**
|
|
31969
|
+
*
|
|
31970
|
+
* @type {DmsServiceAccountUpdateRequest}
|
|
31971
|
+
* @memberof SharedApiUpdateServiceAccount
|
|
31972
|
+
*/
|
|
31973
|
+
readonly body: DmsServiceAccountUpdateRequest
|
|
31974
|
+
}
|
|
31975
|
+
|
|
31333
31976
|
/**
|
|
31334
31977
|
* Request parameters for updateSqlAudit operation in SharedApi.
|
|
31335
31978
|
* @export
|
|
@@ -31839,6 +32482,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
31839
32482
|
return SharedApiFp(this.configuration).createRole(requestParameters.orgName, requestParameters.roleCreate, options).then((request) => request(this.axios, this.basePath));
|
|
31840
32483
|
}
|
|
31841
32484
|
|
|
32485
|
+
/**
|
|
32486
|
+
* create a MinIO service account access key
|
|
32487
|
+
* @summary Create MinIO access key
|
|
32488
|
+
* @param {SharedApiCreateServiceAccountRequest} requestParameters Request parameters.
|
|
32489
|
+
* @param {*} [options] Override http request option.
|
|
32490
|
+
* @throws {RequiredError}
|
|
32491
|
+
* @memberof SharedApi
|
|
32492
|
+
*/
|
|
32493
|
+
public createServiceAccount(requestParameters: SharedApiCreateServiceAccountRequest, options?: RawAxiosRequestConfig) {
|
|
32494
|
+
return SharedApiFp(this.configuration).createServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
32495
|
+
}
|
|
32496
|
+
|
|
31842
32497
|
/**
|
|
31843
32498
|
* create tag
|
|
31844
32499
|
* @summary Create cluster tags
|
|
@@ -32211,6 +32866,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
32211
32866
|
return SharedApiFp(this.configuration).deleteRoleByName(requestParameters.orgName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
|
|
32212
32867
|
}
|
|
32213
32868
|
|
|
32869
|
+
/**
|
|
32870
|
+
* delete a MinIO service account access key
|
|
32871
|
+
* @summary Delete MinIO access key
|
|
32872
|
+
* @param {SharedApiDeleteServiceAccountRequest} requestParameters Request parameters.
|
|
32873
|
+
* @param {*} [options] Override http request option.
|
|
32874
|
+
* @throws {RequiredError}
|
|
32875
|
+
* @memberof SharedApi
|
|
32876
|
+
*/
|
|
32877
|
+
public deleteServiceAccount(requestParameters: SharedApiDeleteServiceAccountRequest, options?: RawAxiosRequestConfig) {
|
|
32878
|
+
return SharedApiFp(this.configuration).deleteServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(this.axios, this.basePath));
|
|
32879
|
+
}
|
|
32880
|
+
|
|
32214
32881
|
/**
|
|
32215
32882
|
* delete cluster tag
|
|
32216
32883
|
* @summary Delete tag
|
|
@@ -32882,6 +33549,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
32882
33549
|
return SharedApiFp(this.configuration).getSchemaList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, options).then((request) => request(this.axios, this.basePath));
|
|
32883
33550
|
}
|
|
32884
33551
|
|
|
33552
|
+
/**
|
|
33553
|
+
* get a MinIO service account access key
|
|
33554
|
+
* @summary Get MinIO access key
|
|
33555
|
+
* @param {SharedApiGetServiceAccountRequest} requestParameters Request parameters.
|
|
33556
|
+
* @param {*} [options] Override http request option.
|
|
33557
|
+
* @throws {RequiredError}
|
|
33558
|
+
* @memberof SharedApi
|
|
33559
|
+
*/
|
|
33560
|
+
public getServiceAccount(requestParameters: SharedApiGetServiceAccountRequest, options?: RawAxiosRequestConfig) {
|
|
33561
|
+
return SharedApiFp(this.configuration).getServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(this.axios, this.basePath));
|
|
33562
|
+
}
|
|
33563
|
+
|
|
32885
33564
|
/**
|
|
32886
33565
|
* Get statistics summary for slow logs of a cluster. When the same slow log filters are supplied, totalSlowLogs can be used as the filtered list preview count.
|
|
32887
33566
|
* @summary Get cluster slow log statistics
|
|
@@ -33564,6 +34243,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
33564
34243
|
return SharedApiFp(this.configuration).listRoles(requestParameters.orgName, options).then((request) => request(this.axios, this.basePath));
|
|
33565
34244
|
}
|
|
33566
34245
|
|
|
34246
|
+
/**
|
|
34247
|
+
* list MinIO service account access keys
|
|
34248
|
+
* @summary List MinIO access keys
|
|
34249
|
+
* @param {SharedApiListServiceAccountsRequest} requestParameters Request parameters.
|
|
34250
|
+
* @param {*} [options] Override http request option.
|
|
34251
|
+
* @throws {RequiredError}
|
|
34252
|
+
* @memberof SharedApi
|
|
34253
|
+
*/
|
|
34254
|
+
public listServiceAccounts(requestParameters: SharedApiListServiceAccountsRequest, options?: RawAxiosRequestConfig) {
|
|
34255
|
+
return SharedApiFp(this.configuration).listServiceAccounts(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.userName, options).then((request) => request(this.axios, this.basePath));
|
|
34256
|
+
}
|
|
34257
|
+
|
|
33567
34258
|
/**
|
|
33568
34259
|
* list the service version of the engine
|
|
33569
34260
|
* @summary list the service version of the engine
|
|
@@ -34415,6 +35106,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
34415
35106
|
return SharedApiFp(this.configuration).updateRoleByName(requestParameters.orgName, requestParameters.roleName, requestParameters.roleUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
34416
35107
|
}
|
|
34417
35108
|
|
|
35109
|
+
/**
|
|
35110
|
+
* update a MinIO service account access key
|
|
35111
|
+
* @summary Update MinIO access key
|
|
35112
|
+
* @param {SharedApiUpdateServiceAccountRequest} requestParameters Request parameters.
|
|
35113
|
+
* @param {*} [options] Override http request option.
|
|
35114
|
+
* @throws {RequiredError}
|
|
35115
|
+
* @memberof SharedApi
|
|
35116
|
+
*/
|
|
35117
|
+
public updateServiceAccount(requestParameters: SharedApiUpdateServiceAccountRequest, options?: RawAxiosRequestConfig) {
|
|
35118
|
+
return SharedApiFp(this.configuration).updateServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
35119
|
+
}
|
|
35120
|
+
|
|
34418
35121
|
/**
|
|
34419
35122
|
* Enable or disable SQL audit log for a cluster component
|
|
34420
35123
|
* @summary Update SQL audit log status
|