kb-cloud-client-typescript 2.3.0-alpha.122 → 2.3.0-alpha.124
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/account-api.d.ts +406 -0
- package/dist/adminapi/apis/account-api.d.ts.map +1 -1
- package/dist/adminapi/apis/account-api.js +427 -0
- package/dist/adminapi/apis/account-api.js.map +1 -1
- 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/apis/rdbms-api.d.ts +406 -0
- package/dist/adminapi/apis/rdbms-api.d.ts.map +1 -1
- package/dist/adminapi/apis/rdbms-api.js +427 -0
- package/dist/adminapi/apis/rdbms-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +406 -0
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +427 -0
- package/dist/adminapi/apis/shared-api.js.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/dms-service-account-create-request.d.ts +55 -0
- package/dist/adminapi/models/dms-service-account-create-request.d.ts.map +1 -0
- package/dist/adminapi/models/dms-service-account-create-request.js +16 -0
- package/dist/adminapi/models/dms-service-account-create-request.js.map +1 -0
- package/dist/adminapi/models/dms-service-account-status.d.ts +22 -0
- package/dist/adminapi/models/dms-service-account-status.d.ts.map +1 -0
- package/dist/adminapi/models/dms-service-account-status.js +26 -0
- package/dist/adminapi/models/dms-service-account-status.js.map +1 -0
- package/dist/adminapi/models/dms-service-account-update-request.d.ts +32 -0
- package/dist/adminapi/models/dms-service-account-update-request.d.ts.map +1 -0
- package/dist/adminapi/models/dms-service-account-update-request.js +16 -0
- package/dist/adminapi/models/dms-service-account-update-request.js.map +1 -0
- package/dist/adminapi/models/dms-service-account.d.ts +73 -0
- package/dist/adminapi/models/dms-service-account.d.ts.map +1 -0
- package/dist/adminapi/models/dms-service-account.js +16 -0
- package/dist/adminapi/models/dms-service-account.js.map +1 -0
- package/dist/adminapi/models/index.d.ts +6 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +6 -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/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/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/index.d.ts +2 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +2 -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 +6 -0
- package/src/adminapi/apis/account-api.ts +703 -0
- package/src/adminapi/apis/diagnostics-api.ts +18 -5
- package/src/adminapi/apis/rdbms-api.ts +703 -0
- package/src/adminapi/apis/shared-api.ts +703 -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/dms-service-account-create-request.ts +60 -0
- package/src/adminapi/models/dms-service-account-status.ts +31 -0
- package/src/adminapi/models/dms-service-account-update-request.ts +41 -0
- package/src/adminapi/models/dms-service-account.ts +78 -0
- package/src/adminapi/models/index.ts +6 -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 +408 -11
- package/src/openapi/.openapi-generator/FILES +2 -0
- package/src/openapi/apis/diagnostics-api.ts +18 -5
- 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/index.ts +2 -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 +78 -11
|
@@ -160,6 +160,12 @@ import type { DmsQueryResponse } from '../models';
|
|
|
160
160
|
// @ts-ignore
|
|
161
161
|
import type { DmsResult } from '../models';
|
|
162
162
|
// @ts-ignore
|
|
163
|
+
import type { DmsServiceAccount } from '../models';
|
|
164
|
+
// @ts-ignore
|
|
165
|
+
import type { DmsServiceAccountCreateRequest } from '../models';
|
|
166
|
+
// @ts-ignore
|
|
167
|
+
import type { DmsServiceAccountUpdateRequest } from '../models';
|
|
168
|
+
// @ts-ignore
|
|
163
169
|
import type { DmsSession } from '../models';
|
|
164
170
|
// @ts-ignore
|
|
165
171
|
import type { DmsTaskInfo } from '../models';
|
|
@@ -1867,6 +1873,61 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
1867
1873
|
options: localVarRequestOptions,
|
|
1868
1874
|
};
|
|
1869
1875
|
},
|
|
1876
|
+
/**
|
|
1877
|
+
* create a MinIO service account access key
|
|
1878
|
+
* @summary Create MinIO access key
|
|
1879
|
+
* @param {string} engineName name of the engine
|
|
1880
|
+
* @param {string} orgName name of the organization
|
|
1881
|
+
* @param {string} clusterName name of the cluster
|
|
1882
|
+
* @param {DmsServiceAccountCreateRequest} body
|
|
1883
|
+
* @param {*} [options] Override http request option.
|
|
1884
|
+
* @throws {RequiredError}
|
|
1885
|
+
*/
|
|
1886
|
+
createServiceAccount: async (engineName: string, orgName: string, clusterName: string, body: DmsServiceAccountCreateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1887
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
1888
|
+
assertParamExists('createServiceAccount', 'engineName', engineName)
|
|
1889
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1890
|
+
assertParamExists('createServiceAccount', 'orgName', orgName)
|
|
1891
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1892
|
+
assertParamExists('createServiceAccount', 'clusterName', clusterName)
|
|
1893
|
+
// verify required parameter 'body' is not null or undefined
|
|
1894
|
+
assertParamExists('createServiceAccount', 'body', body)
|
|
1895
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys`
|
|
1896
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
1897
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1898
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1899
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1900
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1901
|
+
let baseOptions;
|
|
1902
|
+
if (configuration) {
|
|
1903
|
+
baseOptions = configuration.baseOptions;
|
|
1904
|
+
}
|
|
1905
|
+
|
|
1906
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1907
|
+
const localVarHeaderParameter = {} as any;
|
|
1908
|
+
const localVarQueryParameter = {} as any;
|
|
1909
|
+
|
|
1910
|
+
// authentication BearerToken required
|
|
1911
|
+
// http bearer authentication required
|
|
1912
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1913
|
+
|
|
1914
|
+
// authentication DigestAuth required
|
|
1915
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1916
|
+
|
|
1917
|
+
|
|
1918
|
+
|
|
1919
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1920
|
+
|
|
1921
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1922
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1923
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1924
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
1925
|
+
|
|
1926
|
+
return {
|
|
1927
|
+
url: toPathString(localVarUrlObj),
|
|
1928
|
+
options: localVarRequestOptions,
|
|
1929
|
+
};
|
|
1930
|
+
},
|
|
1870
1931
|
/**
|
|
1871
1932
|
* create tag
|
|
1872
1933
|
* @summary Create cluster tags
|
|
@@ -3131,6 +3192,59 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
3131
3192
|
|
|
3132
3193
|
|
|
3133
3194
|
|
|
3195
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3196
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3197
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3198
|
+
|
|
3199
|
+
return {
|
|
3200
|
+
url: toPathString(localVarUrlObj),
|
|
3201
|
+
options: localVarRequestOptions,
|
|
3202
|
+
};
|
|
3203
|
+
},
|
|
3204
|
+
/**
|
|
3205
|
+
* delete a MinIO service account access key
|
|
3206
|
+
* @summary Delete MinIO access key
|
|
3207
|
+
* @param {string} engineName name of the engine
|
|
3208
|
+
* @param {string} orgName name of the organization
|
|
3209
|
+
* @param {string} clusterName name of the cluster
|
|
3210
|
+
* @param {string} accessKey MinIO access key
|
|
3211
|
+
* @param {*} [options] Override http request option.
|
|
3212
|
+
* @throws {RequiredError}
|
|
3213
|
+
*/
|
|
3214
|
+
deleteServiceAccount: async (engineName: string, orgName: string, clusterName: string, accessKey: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3215
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
3216
|
+
assertParamExists('deleteServiceAccount', 'engineName', engineName)
|
|
3217
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
3218
|
+
assertParamExists('deleteServiceAccount', 'orgName', orgName)
|
|
3219
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
3220
|
+
assertParamExists('deleteServiceAccount', 'clusterName', clusterName)
|
|
3221
|
+
// verify required parameter 'accessKey' is not null or undefined
|
|
3222
|
+
assertParamExists('deleteServiceAccount', 'accessKey', accessKey)
|
|
3223
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys/{accessKey}`
|
|
3224
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
3225
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
3226
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
3227
|
+
.replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
|
|
3228
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3229
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3230
|
+
let baseOptions;
|
|
3231
|
+
if (configuration) {
|
|
3232
|
+
baseOptions = configuration.baseOptions;
|
|
3233
|
+
}
|
|
3234
|
+
|
|
3235
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
3236
|
+
const localVarHeaderParameter = {} as any;
|
|
3237
|
+
const localVarQueryParameter = {} as any;
|
|
3238
|
+
|
|
3239
|
+
// authentication BearerToken required
|
|
3240
|
+
// http bearer authentication required
|
|
3241
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3242
|
+
|
|
3243
|
+
// authentication DigestAuth required
|
|
3244
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
3245
|
+
|
|
3246
|
+
|
|
3247
|
+
|
|
3134
3248
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3135
3249
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3136
3250
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -5941,6 +6055,59 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
5941
6055
|
|
|
5942
6056
|
|
|
5943
6057
|
|
|
6058
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6059
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6060
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6061
|
+
|
|
6062
|
+
return {
|
|
6063
|
+
url: toPathString(localVarUrlObj),
|
|
6064
|
+
options: localVarRequestOptions,
|
|
6065
|
+
};
|
|
6066
|
+
},
|
|
6067
|
+
/**
|
|
6068
|
+
* get a MinIO service account access key
|
|
6069
|
+
* @summary Get MinIO access key
|
|
6070
|
+
* @param {string} engineName name of the engine
|
|
6071
|
+
* @param {string} orgName name of the organization
|
|
6072
|
+
* @param {string} clusterName name of the cluster
|
|
6073
|
+
* @param {string} accessKey MinIO access key
|
|
6074
|
+
* @param {*} [options] Override http request option.
|
|
6075
|
+
* @throws {RequiredError}
|
|
6076
|
+
*/
|
|
6077
|
+
getServiceAccount: async (engineName: string, orgName: string, clusterName: string, accessKey: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6078
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
6079
|
+
assertParamExists('getServiceAccount', 'engineName', engineName)
|
|
6080
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
6081
|
+
assertParamExists('getServiceAccount', 'orgName', orgName)
|
|
6082
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
6083
|
+
assertParamExists('getServiceAccount', 'clusterName', clusterName)
|
|
6084
|
+
// verify required parameter 'accessKey' is not null or undefined
|
|
6085
|
+
assertParamExists('getServiceAccount', 'accessKey', accessKey)
|
|
6086
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys/{accessKey}`
|
|
6087
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
6088
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
6089
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
6090
|
+
.replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
|
|
6091
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6092
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6093
|
+
let baseOptions;
|
|
6094
|
+
if (configuration) {
|
|
6095
|
+
baseOptions = configuration.baseOptions;
|
|
6096
|
+
}
|
|
6097
|
+
|
|
6098
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
6099
|
+
const localVarHeaderParameter = {} as any;
|
|
6100
|
+
const localVarQueryParameter = {} as any;
|
|
6101
|
+
|
|
6102
|
+
// authentication BearerToken required
|
|
6103
|
+
// http bearer authentication required
|
|
6104
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
6105
|
+
|
|
6106
|
+
// authentication DigestAuth required
|
|
6107
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
6108
|
+
|
|
6109
|
+
|
|
6110
|
+
|
|
5944
6111
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5945
6112
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5946
6113
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -9269,6 +9436,60 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9269
9436
|
|
|
9270
9437
|
|
|
9271
9438
|
|
|
9439
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9440
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9441
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9442
|
+
|
|
9443
|
+
return {
|
|
9444
|
+
url: toPathString(localVarUrlObj),
|
|
9445
|
+
options: localVarRequestOptions,
|
|
9446
|
+
};
|
|
9447
|
+
},
|
|
9448
|
+
/**
|
|
9449
|
+
* list MinIO service account access keys
|
|
9450
|
+
* @summary List MinIO access keys
|
|
9451
|
+
* @param {string} engineName name of the engine
|
|
9452
|
+
* @param {string} orgName name of the organization
|
|
9453
|
+
* @param {string} clusterName name of the cluster
|
|
9454
|
+
* @param {string} [userName] MinIO user that owns the service accounts
|
|
9455
|
+
* @param {*} [options] Override http request option.
|
|
9456
|
+
* @throws {RequiredError}
|
|
9457
|
+
*/
|
|
9458
|
+
listServiceAccounts: async (engineName: string, orgName: string, clusterName: string, userName?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9459
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
9460
|
+
assertParamExists('listServiceAccounts', 'engineName', engineName)
|
|
9461
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
9462
|
+
assertParamExists('listServiceAccounts', 'orgName', orgName)
|
|
9463
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
9464
|
+
assertParamExists('listServiceAccounts', 'clusterName', clusterName)
|
|
9465
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys`
|
|
9466
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
9467
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
9468
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
9469
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9470
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9471
|
+
let baseOptions;
|
|
9472
|
+
if (configuration) {
|
|
9473
|
+
baseOptions = configuration.baseOptions;
|
|
9474
|
+
}
|
|
9475
|
+
|
|
9476
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9477
|
+
const localVarHeaderParameter = {} as any;
|
|
9478
|
+
const localVarQueryParameter = {} as any;
|
|
9479
|
+
|
|
9480
|
+
// authentication BearerToken required
|
|
9481
|
+
// http bearer authentication required
|
|
9482
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9483
|
+
|
|
9484
|
+
// authentication DigestAuth required
|
|
9485
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
9486
|
+
|
|
9487
|
+
if (userName !== undefined) {
|
|
9488
|
+
localVarQueryParameter['userName'] = userName;
|
|
9489
|
+
}
|
|
9490
|
+
|
|
9491
|
+
|
|
9492
|
+
|
|
9272
9493
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9273
9494
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9274
9495
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -13174,6 +13395,65 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
13174
13395
|
options: localVarRequestOptions,
|
|
13175
13396
|
};
|
|
13176
13397
|
},
|
|
13398
|
+
/**
|
|
13399
|
+
* update a MinIO service account access key
|
|
13400
|
+
* @summary Update MinIO access key
|
|
13401
|
+
* @param {string} engineName name of the engine
|
|
13402
|
+
* @param {string} orgName name of the organization
|
|
13403
|
+
* @param {string} clusterName name of the cluster
|
|
13404
|
+
* @param {string} accessKey MinIO access key
|
|
13405
|
+
* @param {DmsServiceAccountUpdateRequest} body
|
|
13406
|
+
* @param {*} [options] Override http request option.
|
|
13407
|
+
* @throws {RequiredError}
|
|
13408
|
+
*/
|
|
13409
|
+
updateServiceAccount: async (engineName: string, orgName: string, clusterName: string, accessKey: string, body: DmsServiceAccountUpdateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13410
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
13411
|
+
assertParamExists('updateServiceAccount', 'engineName', engineName)
|
|
13412
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
13413
|
+
assertParamExists('updateServiceAccount', 'orgName', orgName)
|
|
13414
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
13415
|
+
assertParamExists('updateServiceAccount', 'clusterName', clusterName)
|
|
13416
|
+
// verify required parameter 'accessKey' is not null or undefined
|
|
13417
|
+
assertParamExists('updateServiceAccount', 'accessKey', accessKey)
|
|
13418
|
+
// verify required parameter 'body' is not null or undefined
|
|
13419
|
+
assertParamExists('updateServiceAccount', 'body', body)
|
|
13420
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys/{accessKey}`
|
|
13421
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
13422
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
13423
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
13424
|
+
.replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
|
|
13425
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13426
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13427
|
+
let baseOptions;
|
|
13428
|
+
if (configuration) {
|
|
13429
|
+
baseOptions = configuration.baseOptions;
|
|
13430
|
+
}
|
|
13431
|
+
|
|
13432
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
13433
|
+
const localVarHeaderParameter = {} as any;
|
|
13434
|
+
const localVarQueryParameter = {} as any;
|
|
13435
|
+
|
|
13436
|
+
// authentication BearerToken required
|
|
13437
|
+
// http bearer authentication required
|
|
13438
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
13439
|
+
|
|
13440
|
+
// authentication DigestAuth required
|
|
13441
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
13442
|
+
|
|
13443
|
+
|
|
13444
|
+
|
|
13445
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13446
|
+
|
|
13447
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13448
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13449
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13450
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
13451
|
+
|
|
13452
|
+
return {
|
|
13453
|
+
url: toPathString(localVarUrlObj),
|
|
13454
|
+
options: localVarRequestOptions,
|
|
13455
|
+
};
|
|
13456
|
+
},
|
|
13177
13457
|
/**
|
|
13178
13458
|
* Enable or disable SQL audit log for a cluster component
|
|
13179
13459
|
* @summary Update SQL audit log status
|
|
@@ -13958,6 +14238,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
13958
14238
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.createRole']?.[localVarOperationServerIndex]?.url;
|
|
13959
14239
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13960
14240
|
},
|
|
14241
|
+
/**
|
|
14242
|
+
* create a MinIO service account access key
|
|
14243
|
+
* @summary Create MinIO access key
|
|
14244
|
+
* @param {string} engineName name of the engine
|
|
14245
|
+
* @param {string} orgName name of the organization
|
|
14246
|
+
* @param {string} clusterName name of the cluster
|
|
14247
|
+
* @param {DmsServiceAccountCreateRequest} body
|
|
14248
|
+
* @param {*} [options] Override http request option.
|
|
14249
|
+
* @throws {RequiredError}
|
|
14250
|
+
*/
|
|
14251
|
+
async createServiceAccount(engineName: string, orgName: string, clusterName: string, body: DmsServiceAccountCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsServiceAccount>> {
|
|
14252
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createServiceAccount(engineName, orgName, clusterName, body, options);
|
|
14253
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14254
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.createServiceAccount']?.[localVarOperationServerIndex]?.url;
|
|
14255
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14256
|
+
},
|
|
13961
14257
|
/**
|
|
13962
14258
|
* create tag
|
|
13963
14259
|
* @summary Create cluster tags
|
|
@@ -14343,6 +14639,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
14343
14639
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteRoleByName']?.[localVarOperationServerIndex]?.url;
|
|
14344
14640
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14345
14641
|
},
|
|
14642
|
+
/**
|
|
14643
|
+
* delete a MinIO service account access key
|
|
14644
|
+
* @summary Delete MinIO access key
|
|
14645
|
+
* @param {string} engineName name of the engine
|
|
14646
|
+
* @param {string} orgName name of the organization
|
|
14647
|
+
* @param {string} clusterName name of the cluster
|
|
14648
|
+
* @param {string} accessKey MinIO access key
|
|
14649
|
+
* @param {*} [options] Override http request option.
|
|
14650
|
+
* @throws {RequiredError}
|
|
14651
|
+
*/
|
|
14652
|
+
async deleteServiceAccount(engineName: string, orgName: string, clusterName: string, accessKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
14653
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteServiceAccount(engineName, orgName, clusterName, accessKey, options);
|
|
14654
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14655
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteServiceAccount']?.[localVarOperationServerIndex]?.url;
|
|
14656
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14657
|
+
},
|
|
14346
14658
|
/**
|
|
14347
14659
|
* delete cluster tag
|
|
14348
14660
|
* @summary Delete tag
|
|
@@ -15171,6 +15483,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
15171
15483
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.getSchemaList']?.[localVarOperationServerIndex]?.url;
|
|
15172
15484
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15173
15485
|
},
|
|
15486
|
+
/**
|
|
15487
|
+
* get a MinIO service account access key
|
|
15488
|
+
* @summary Get MinIO access key
|
|
15489
|
+
* @param {string} engineName name of the engine
|
|
15490
|
+
* @param {string} orgName name of the organization
|
|
15491
|
+
* @param {string} clusterName name of the cluster
|
|
15492
|
+
* @param {string} accessKey MinIO access key
|
|
15493
|
+
* @param {*} [options] Override http request option.
|
|
15494
|
+
* @throws {RequiredError}
|
|
15495
|
+
*/
|
|
15496
|
+
async getServiceAccount(engineName: string, orgName: string, clusterName: string, accessKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsServiceAccount>> {
|
|
15497
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getServiceAccount(engineName, orgName, clusterName, accessKey, options);
|
|
15498
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15499
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.getServiceAccount']?.[localVarOperationServerIndex]?.url;
|
|
15500
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15501
|
+
},
|
|
15174
15502
|
/**
|
|
15175
15503
|
* 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.
|
|
15176
15504
|
* @summary Get cluster slow log statistics
|
|
@@ -16143,6 +16471,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
16143
16471
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.listRoles']?.[localVarOperationServerIndex]?.url;
|
|
16144
16472
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16145
16473
|
},
|
|
16474
|
+
/**
|
|
16475
|
+
* list MinIO service account access keys
|
|
16476
|
+
* @summary List MinIO access keys
|
|
16477
|
+
* @param {string} engineName name of the engine
|
|
16478
|
+
* @param {string} orgName name of the organization
|
|
16479
|
+
* @param {string} clusterName name of the cluster
|
|
16480
|
+
* @param {string} [userName] MinIO user that owns the service accounts
|
|
16481
|
+
* @param {*} [options] Override http request option.
|
|
16482
|
+
* @throws {RequiredError}
|
|
16483
|
+
*/
|
|
16484
|
+
async listServiceAccounts(engineName: string, orgName: string, clusterName: string, userName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DmsServiceAccount>>> {
|
|
16485
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listServiceAccounts(engineName, orgName, clusterName, userName, options);
|
|
16486
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16487
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listServiceAccounts']?.[localVarOperationServerIndex]?.url;
|
|
16488
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16489
|
+
},
|
|
16146
16490
|
/**
|
|
16147
16491
|
* list the service version of the engine
|
|
16148
16492
|
* @summary list the service version of the engine
|
|
@@ -17237,6 +17581,23 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
17237
17581
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateRoleByName']?.[localVarOperationServerIndex]?.url;
|
|
17238
17582
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17239
17583
|
},
|
|
17584
|
+
/**
|
|
17585
|
+
* update a MinIO service account access key
|
|
17586
|
+
* @summary Update MinIO access key
|
|
17587
|
+
* @param {string} engineName name of the engine
|
|
17588
|
+
* @param {string} orgName name of the organization
|
|
17589
|
+
* @param {string} clusterName name of the cluster
|
|
17590
|
+
* @param {string} accessKey MinIO access key
|
|
17591
|
+
* @param {DmsServiceAccountUpdateRequest} body
|
|
17592
|
+
* @param {*} [options] Override http request option.
|
|
17593
|
+
* @throws {RequiredError}
|
|
17594
|
+
*/
|
|
17595
|
+
async updateServiceAccount(engineName: string, orgName: string, clusterName: string, accessKey: string, body: DmsServiceAccountUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsServiceAccount>> {
|
|
17596
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateServiceAccount(engineName, orgName, clusterName, accessKey, body, options);
|
|
17597
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17598
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateServiceAccount']?.[localVarOperationServerIndex]?.url;
|
|
17599
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17600
|
+
},
|
|
17240
17601
|
/**
|
|
17241
17602
|
* Enable or disable SQL audit log for a cluster component
|
|
17242
17603
|
* @summary Update SQL audit log status
|
|
@@ -17620,6 +17981,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
17620
17981
|
createRole(requestParameters: SharedApiCreateRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role> {
|
|
17621
17982
|
return localVarFp.createRole(requestParameters.orgName, requestParameters.roleCreate, options).then((request) => request(axios, basePath));
|
|
17622
17983
|
},
|
|
17984
|
+
/**
|
|
17985
|
+
* create a MinIO service account access key
|
|
17986
|
+
* @summary Create MinIO access key
|
|
17987
|
+
* @param {SharedApiCreateServiceAccountRequest} requestParameters Request parameters.
|
|
17988
|
+
* @param {*} [options] Override http request option.
|
|
17989
|
+
* @throws {RequiredError}
|
|
17990
|
+
*/
|
|
17991
|
+
createServiceAccount(requestParameters: SharedApiCreateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount> {
|
|
17992
|
+
return localVarFp.createServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
17993
|
+
},
|
|
17623
17994
|
/**
|
|
17624
17995
|
* create tag
|
|
17625
17996
|
* @summary Create cluster tags
|
|
@@ -17880,6 +18251,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
17880
18251
|
deleteRoleByName(requestParameters: SharedApiDeleteRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
17881
18252
|
return localVarFp.deleteRoleByName(requestParameters.orgName, requestParameters.roleName, options).then((request) => request(axios, basePath));
|
|
17882
18253
|
},
|
|
18254
|
+
/**
|
|
18255
|
+
* delete a MinIO service account access key
|
|
18256
|
+
* @summary Delete MinIO access key
|
|
18257
|
+
* @param {SharedApiDeleteServiceAccountRequest} requestParameters Request parameters.
|
|
18258
|
+
* @param {*} [options] Override http request option.
|
|
18259
|
+
* @throws {RequiredError}
|
|
18260
|
+
*/
|
|
18261
|
+
deleteServiceAccount(requestParameters: SharedApiDeleteServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
18262
|
+
return localVarFp.deleteServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(axios, basePath));
|
|
18263
|
+
},
|
|
17883
18264
|
/**
|
|
17884
18265
|
* delete cluster tag
|
|
17885
18266
|
* @summary Delete tag
|
|
@@ -18410,6 +18791,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
18410
18791
|
getSchemaList(requestParameters: SharedApiGetSchemaListRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>> {
|
|
18411
18792
|
return localVarFp.getSchemaList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, options).then((request) => request(axios, basePath));
|
|
18412
18793
|
},
|
|
18794
|
+
/**
|
|
18795
|
+
* get a MinIO service account access key
|
|
18796
|
+
* @summary Get MinIO access key
|
|
18797
|
+
* @param {SharedApiGetServiceAccountRequest} requestParameters Request parameters.
|
|
18798
|
+
* @param {*} [options] Override http request option.
|
|
18799
|
+
* @throws {RequiredError}
|
|
18800
|
+
*/
|
|
18801
|
+
getServiceAccount(requestParameters: SharedApiGetServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount> {
|
|
18802
|
+
return localVarFp.getServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(axios, basePath));
|
|
18803
|
+
},
|
|
18413
18804
|
/**
|
|
18414
18805
|
* 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.
|
|
18415
18806
|
* @summary Get cluster slow log statistics
|
|
@@ -19036,6 +19427,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
19036
19427
|
listRoles(requestParameters: SharedApiListRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<RoleList> {
|
|
19037
19428
|
return localVarFp.listRoles(requestParameters.orgName, options).then((request) => request(axios, basePath));
|
|
19038
19429
|
},
|
|
19430
|
+
/**
|
|
19431
|
+
* list MinIO service account access keys
|
|
19432
|
+
* @summary List MinIO access keys
|
|
19433
|
+
* @param {SharedApiListServiceAccountsRequest} requestParameters Request parameters.
|
|
19434
|
+
* @param {*} [options] Override http request option.
|
|
19435
|
+
* @throws {RequiredError}
|
|
19436
|
+
*/
|
|
19437
|
+
listServiceAccounts(requestParameters: SharedApiListServiceAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DmsServiceAccount>> {
|
|
19438
|
+
return localVarFp.listServiceAccounts(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.userName, options).then((request) => request(axios, basePath));
|
|
19439
|
+
},
|
|
19039
19440
|
/**
|
|
19040
19441
|
* list the service version of the engine
|
|
19041
19442
|
* @summary list the service version of the engine
|
|
@@ -19685,6 +20086,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
19685
20086
|
updateRoleByName(requestParameters: SharedApiUpdateRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role> {
|
|
19686
20087
|
return localVarFp.updateRoleByName(requestParameters.orgName, requestParameters.roleName, requestParameters.roleUpdate, options).then((request) => request(axios, basePath));
|
|
19687
20088
|
},
|
|
20089
|
+
/**
|
|
20090
|
+
* update a MinIO service account access key
|
|
20091
|
+
* @summary Update MinIO access key
|
|
20092
|
+
* @param {SharedApiUpdateServiceAccountRequest} requestParameters Request parameters.
|
|
20093
|
+
* @param {*} [options] Override http request option.
|
|
20094
|
+
* @throws {RequiredError}
|
|
20095
|
+
*/
|
|
20096
|
+
updateServiceAccount(requestParameters: SharedApiUpdateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount> {
|
|
20097
|
+
return localVarFp.updateServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
20098
|
+
},
|
|
19688
20099
|
/**
|
|
19689
20100
|
* Enable or disable SQL audit log for a cluster component
|
|
19690
20101
|
* @summary Update SQL audit log status
|
|
@@ -20033,6 +20444,16 @@ export interface SharedApiInterface {
|
|
|
20033
20444
|
*/
|
|
20034
20445
|
createRole(requestParameters: SharedApiCreateRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role>;
|
|
20035
20446
|
|
|
20447
|
+
/**
|
|
20448
|
+
* create a MinIO service account access key
|
|
20449
|
+
* @summary Create MinIO access key
|
|
20450
|
+
* @param {SharedApiCreateServiceAccountRequest} requestParameters Request parameters.
|
|
20451
|
+
* @param {*} [options] Override http request option.
|
|
20452
|
+
* @throws {RequiredError}
|
|
20453
|
+
* @memberof SharedApiInterface
|
|
20454
|
+
*/
|
|
20455
|
+
createServiceAccount(requestParameters: SharedApiCreateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
|
|
20456
|
+
|
|
20036
20457
|
/**
|
|
20037
20458
|
* create tag
|
|
20038
20459
|
* @summary Create cluster tags
|
|
@@ -20293,6 +20714,16 @@ export interface SharedApiInterface {
|
|
|
20293
20714
|
*/
|
|
20294
20715
|
deleteRoleByName(requestParameters: SharedApiDeleteRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
20295
20716
|
|
|
20717
|
+
/**
|
|
20718
|
+
* delete a MinIO service account access key
|
|
20719
|
+
* @summary Delete MinIO access key
|
|
20720
|
+
* @param {SharedApiDeleteServiceAccountRequest} requestParameters Request parameters.
|
|
20721
|
+
* @param {*} [options] Override http request option.
|
|
20722
|
+
* @throws {RequiredError}
|
|
20723
|
+
* @memberof SharedApiInterface
|
|
20724
|
+
*/
|
|
20725
|
+
deleteServiceAccount(requestParameters: SharedApiDeleteServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
20726
|
+
|
|
20296
20727
|
/**
|
|
20297
20728
|
* delete cluster tag
|
|
20298
20729
|
* @summary Delete tag
|
|
@@ -20823,6 +21254,16 @@ export interface SharedApiInterface {
|
|
|
20823
21254
|
*/
|
|
20824
21255
|
getSchemaList(requestParameters: SharedApiGetSchemaListRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
|
|
20825
21256
|
|
|
21257
|
+
/**
|
|
21258
|
+
* get a MinIO service account access key
|
|
21259
|
+
* @summary Get MinIO access key
|
|
21260
|
+
* @param {SharedApiGetServiceAccountRequest} requestParameters Request parameters.
|
|
21261
|
+
* @param {*} [options] Override http request option.
|
|
21262
|
+
* @throws {RequiredError}
|
|
21263
|
+
* @memberof SharedApiInterface
|
|
21264
|
+
*/
|
|
21265
|
+
getServiceAccount(requestParameters: SharedApiGetServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
|
|
21266
|
+
|
|
20826
21267
|
/**
|
|
20827
21268
|
* 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.
|
|
20828
21269
|
* @summary Get cluster slow log statistics
|
|
@@ -21449,6 +21890,16 @@ export interface SharedApiInterface {
|
|
|
21449
21890
|
*/
|
|
21450
21891
|
listRoles(requestParameters: SharedApiListRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<RoleList>;
|
|
21451
21892
|
|
|
21893
|
+
/**
|
|
21894
|
+
* list MinIO service account access keys
|
|
21895
|
+
* @summary List MinIO access keys
|
|
21896
|
+
* @param {SharedApiListServiceAccountsRequest} requestParameters Request parameters.
|
|
21897
|
+
* @param {*} [options] Override http request option.
|
|
21898
|
+
* @throws {RequiredError}
|
|
21899
|
+
* @memberof SharedApiInterface
|
|
21900
|
+
*/
|
|
21901
|
+
listServiceAccounts(requestParameters: SharedApiListServiceAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DmsServiceAccount>>;
|
|
21902
|
+
|
|
21452
21903
|
/**
|
|
21453
21904
|
* list the service version of the engine
|
|
21454
21905
|
* @summary list the service version of the engine
|
|
@@ -22098,6 +22549,16 @@ export interface SharedApiInterface {
|
|
|
22098
22549
|
*/
|
|
22099
22550
|
updateRoleByName(requestParameters: SharedApiUpdateRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role>;
|
|
22100
22551
|
|
|
22552
|
+
/**
|
|
22553
|
+
* update a MinIO service account access key
|
|
22554
|
+
* @summary Update MinIO access key
|
|
22555
|
+
* @param {SharedApiUpdateServiceAccountRequest} requestParameters Request parameters.
|
|
22556
|
+
* @param {*} [options] Override http request option.
|
|
22557
|
+
* @throws {RequiredError}
|
|
22558
|
+
* @memberof SharedApiInterface
|
|
22559
|
+
*/
|
|
22560
|
+
updateServiceAccount(requestParameters: SharedApiUpdateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
|
|
22561
|
+
|
|
22101
22562
|
/**
|
|
22102
22563
|
* Enable or disable SQL audit log for a cluster component
|
|
22103
22564
|
* @summary Update SQL audit log status
|
|
@@ -23044,6 +23505,41 @@ export interface SharedApiCreateRoleRequest {
|
|
|
23044
23505
|
readonly roleCreate: RoleCreate
|
|
23045
23506
|
}
|
|
23046
23507
|
|
|
23508
|
+
/**
|
|
23509
|
+
* Request parameters for createServiceAccount operation in SharedApi.
|
|
23510
|
+
* @export
|
|
23511
|
+
* @interface SharedApiCreateServiceAccountRequest
|
|
23512
|
+
*/
|
|
23513
|
+
export interface SharedApiCreateServiceAccountRequest {
|
|
23514
|
+
/**
|
|
23515
|
+
* name of the engine
|
|
23516
|
+
* @type {string}
|
|
23517
|
+
* @memberof SharedApiCreateServiceAccount
|
|
23518
|
+
*/
|
|
23519
|
+
readonly engineName: string
|
|
23520
|
+
|
|
23521
|
+
/**
|
|
23522
|
+
* name of the organization
|
|
23523
|
+
* @type {string}
|
|
23524
|
+
* @memberof SharedApiCreateServiceAccount
|
|
23525
|
+
*/
|
|
23526
|
+
readonly orgName: string
|
|
23527
|
+
|
|
23528
|
+
/**
|
|
23529
|
+
* name of the cluster
|
|
23530
|
+
* @type {string}
|
|
23531
|
+
* @memberof SharedApiCreateServiceAccount
|
|
23532
|
+
*/
|
|
23533
|
+
readonly clusterName: string
|
|
23534
|
+
|
|
23535
|
+
/**
|
|
23536
|
+
*
|
|
23537
|
+
* @type {DmsServiceAccountCreateRequest}
|
|
23538
|
+
* @memberof SharedApiCreateServiceAccount
|
|
23539
|
+
*/
|
|
23540
|
+
readonly body: DmsServiceAccountCreateRequest
|
|
23541
|
+
}
|
|
23542
|
+
|
|
23047
23543
|
/**
|
|
23048
23544
|
* Request parameters for createTag operation in SharedApi.
|
|
23049
23545
|
* @export
|
|
@@ -23737,6 +24233,41 @@ export interface SharedApiDeleteRoleByNameRequest {
|
|
|
23737
24233
|
readonly roleName: string
|
|
23738
24234
|
}
|
|
23739
24235
|
|
|
24236
|
+
/**
|
|
24237
|
+
* Request parameters for deleteServiceAccount operation in SharedApi.
|
|
24238
|
+
* @export
|
|
24239
|
+
* @interface SharedApiDeleteServiceAccountRequest
|
|
24240
|
+
*/
|
|
24241
|
+
export interface SharedApiDeleteServiceAccountRequest {
|
|
24242
|
+
/**
|
|
24243
|
+
* name of the engine
|
|
24244
|
+
* @type {string}
|
|
24245
|
+
* @memberof SharedApiDeleteServiceAccount
|
|
24246
|
+
*/
|
|
24247
|
+
readonly engineName: string
|
|
24248
|
+
|
|
24249
|
+
/**
|
|
24250
|
+
* name of the organization
|
|
24251
|
+
* @type {string}
|
|
24252
|
+
* @memberof SharedApiDeleteServiceAccount
|
|
24253
|
+
*/
|
|
24254
|
+
readonly orgName: string
|
|
24255
|
+
|
|
24256
|
+
/**
|
|
24257
|
+
* name of the cluster
|
|
24258
|
+
* @type {string}
|
|
24259
|
+
* @memberof SharedApiDeleteServiceAccount
|
|
24260
|
+
*/
|
|
24261
|
+
readonly clusterName: string
|
|
24262
|
+
|
|
24263
|
+
/**
|
|
24264
|
+
* MinIO access key
|
|
24265
|
+
* @type {string}
|
|
24266
|
+
* @memberof SharedApiDeleteServiceAccount
|
|
24267
|
+
*/
|
|
24268
|
+
readonly accessKey: string
|
|
24269
|
+
}
|
|
24270
|
+
|
|
23740
24271
|
/**
|
|
23741
24272
|
* Request parameters for deleteTag operation in SharedApi.
|
|
23742
24273
|
* @export
|
|
@@ -25452,6 +25983,41 @@ export interface SharedApiGetSchemaListRequest {
|
|
|
25452
25983
|
readonly database?: string
|
|
25453
25984
|
}
|
|
25454
25985
|
|
|
25986
|
+
/**
|
|
25987
|
+
* Request parameters for getServiceAccount operation in SharedApi.
|
|
25988
|
+
* @export
|
|
25989
|
+
* @interface SharedApiGetServiceAccountRequest
|
|
25990
|
+
*/
|
|
25991
|
+
export interface SharedApiGetServiceAccountRequest {
|
|
25992
|
+
/**
|
|
25993
|
+
* name of the engine
|
|
25994
|
+
* @type {string}
|
|
25995
|
+
* @memberof SharedApiGetServiceAccount
|
|
25996
|
+
*/
|
|
25997
|
+
readonly engineName: string
|
|
25998
|
+
|
|
25999
|
+
/**
|
|
26000
|
+
* name of the organization
|
|
26001
|
+
* @type {string}
|
|
26002
|
+
* @memberof SharedApiGetServiceAccount
|
|
26003
|
+
*/
|
|
26004
|
+
readonly orgName: string
|
|
26005
|
+
|
|
26006
|
+
/**
|
|
26007
|
+
* name of the cluster
|
|
26008
|
+
* @type {string}
|
|
26009
|
+
* @memberof SharedApiGetServiceAccount
|
|
26010
|
+
*/
|
|
26011
|
+
readonly clusterName: string
|
|
26012
|
+
|
|
26013
|
+
/**
|
|
26014
|
+
* MinIO access key
|
|
26015
|
+
* @type {string}
|
|
26016
|
+
* @memberof SharedApiGetServiceAccount
|
|
26017
|
+
*/
|
|
26018
|
+
readonly accessKey: string
|
|
26019
|
+
}
|
|
26020
|
+
|
|
25455
26021
|
/**
|
|
25456
26022
|
* Request parameters for getSlowLogStats operation in SharedApi.
|
|
25457
26023
|
* @export
|
|
@@ -27377,6 +27943,41 @@ export interface SharedApiListRolesRequest {
|
|
|
27377
27943
|
readonly orgName: string
|
|
27378
27944
|
}
|
|
27379
27945
|
|
|
27946
|
+
/**
|
|
27947
|
+
* Request parameters for listServiceAccounts operation in SharedApi.
|
|
27948
|
+
* @export
|
|
27949
|
+
* @interface SharedApiListServiceAccountsRequest
|
|
27950
|
+
*/
|
|
27951
|
+
export interface SharedApiListServiceAccountsRequest {
|
|
27952
|
+
/**
|
|
27953
|
+
* name of the engine
|
|
27954
|
+
* @type {string}
|
|
27955
|
+
* @memberof SharedApiListServiceAccounts
|
|
27956
|
+
*/
|
|
27957
|
+
readonly engineName: string
|
|
27958
|
+
|
|
27959
|
+
/**
|
|
27960
|
+
* name of the organization
|
|
27961
|
+
* @type {string}
|
|
27962
|
+
* @memberof SharedApiListServiceAccounts
|
|
27963
|
+
*/
|
|
27964
|
+
readonly orgName: string
|
|
27965
|
+
|
|
27966
|
+
/**
|
|
27967
|
+
* name of the cluster
|
|
27968
|
+
* @type {string}
|
|
27969
|
+
* @memberof SharedApiListServiceAccounts
|
|
27970
|
+
*/
|
|
27971
|
+
readonly clusterName: string
|
|
27972
|
+
|
|
27973
|
+
/**
|
|
27974
|
+
* MinIO user that owns the service accounts
|
|
27975
|
+
* @type {string}
|
|
27976
|
+
* @memberof SharedApiListServiceAccounts
|
|
27977
|
+
*/
|
|
27978
|
+
readonly userName?: string
|
|
27979
|
+
}
|
|
27980
|
+
|
|
27380
27981
|
/**
|
|
27381
27982
|
* Request parameters for listServiceVersion operation in SharedApi.
|
|
27382
27983
|
* @export
|
|
@@ -30009,6 +30610,48 @@ export interface SharedApiUpdateRoleByNameRequest {
|
|
|
30009
30610
|
readonly roleUpdate: RoleUpdate
|
|
30010
30611
|
}
|
|
30011
30612
|
|
|
30613
|
+
/**
|
|
30614
|
+
* Request parameters for updateServiceAccount operation in SharedApi.
|
|
30615
|
+
* @export
|
|
30616
|
+
* @interface SharedApiUpdateServiceAccountRequest
|
|
30617
|
+
*/
|
|
30618
|
+
export interface SharedApiUpdateServiceAccountRequest {
|
|
30619
|
+
/**
|
|
30620
|
+
* name of the engine
|
|
30621
|
+
* @type {string}
|
|
30622
|
+
* @memberof SharedApiUpdateServiceAccount
|
|
30623
|
+
*/
|
|
30624
|
+
readonly engineName: string
|
|
30625
|
+
|
|
30626
|
+
/**
|
|
30627
|
+
* name of the organization
|
|
30628
|
+
* @type {string}
|
|
30629
|
+
* @memberof SharedApiUpdateServiceAccount
|
|
30630
|
+
*/
|
|
30631
|
+
readonly orgName: string
|
|
30632
|
+
|
|
30633
|
+
/**
|
|
30634
|
+
* name of the cluster
|
|
30635
|
+
* @type {string}
|
|
30636
|
+
* @memberof SharedApiUpdateServiceAccount
|
|
30637
|
+
*/
|
|
30638
|
+
readonly clusterName: string
|
|
30639
|
+
|
|
30640
|
+
/**
|
|
30641
|
+
* MinIO access key
|
|
30642
|
+
* @type {string}
|
|
30643
|
+
* @memberof SharedApiUpdateServiceAccount
|
|
30644
|
+
*/
|
|
30645
|
+
readonly accessKey: string
|
|
30646
|
+
|
|
30647
|
+
/**
|
|
30648
|
+
*
|
|
30649
|
+
* @type {DmsServiceAccountUpdateRequest}
|
|
30650
|
+
* @memberof SharedApiUpdateServiceAccount
|
|
30651
|
+
*/
|
|
30652
|
+
readonly body: DmsServiceAccountUpdateRequest
|
|
30653
|
+
}
|
|
30654
|
+
|
|
30012
30655
|
/**
|
|
30013
30656
|
* Request parameters for updateSqlAudit operation in SharedApi.
|
|
30014
30657
|
* @export
|
|
@@ -30529,6 +31172,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
30529
31172
|
return SharedApiFp(this.configuration).createRole(requestParameters.orgName, requestParameters.roleCreate, options).then((request) => request(this.axios, this.basePath));
|
|
30530
31173
|
}
|
|
30531
31174
|
|
|
31175
|
+
/**
|
|
31176
|
+
* create a MinIO service account access key
|
|
31177
|
+
* @summary Create MinIO access key
|
|
31178
|
+
* @param {SharedApiCreateServiceAccountRequest} requestParameters Request parameters.
|
|
31179
|
+
* @param {*} [options] Override http request option.
|
|
31180
|
+
* @throws {RequiredError}
|
|
31181
|
+
* @memberof SharedApi
|
|
31182
|
+
*/
|
|
31183
|
+
public createServiceAccount(requestParameters: SharedApiCreateServiceAccountRequest, options?: RawAxiosRequestConfig) {
|
|
31184
|
+
return SharedApiFp(this.configuration).createServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
31185
|
+
}
|
|
31186
|
+
|
|
30532
31187
|
/**
|
|
30533
31188
|
* create tag
|
|
30534
31189
|
* @summary Create cluster tags
|
|
@@ -30841,6 +31496,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
30841
31496
|
return SharedApiFp(this.configuration).deleteRoleByName(requestParameters.orgName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
|
|
30842
31497
|
}
|
|
30843
31498
|
|
|
31499
|
+
/**
|
|
31500
|
+
* delete a MinIO service account access key
|
|
31501
|
+
* @summary Delete MinIO access key
|
|
31502
|
+
* @param {SharedApiDeleteServiceAccountRequest} requestParameters Request parameters.
|
|
31503
|
+
* @param {*} [options] Override http request option.
|
|
31504
|
+
* @throws {RequiredError}
|
|
31505
|
+
* @memberof SharedApi
|
|
31506
|
+
*/
|
|
31507
|
+
public deleteServiceAccount(requestParameters: SharedApiDeleteServiceAccountRequest, options?: RawAxiosRequestConfig) {
|
|
31508
|
+
return SharedApiFp(this.configuration).deleteServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(this.axios, this.basePath));
|
|
31509
|
+
}
|
|
31510
|
+
|
|
30844
31511
|
/**
|
|
30845
31512
|
* delete cluster tag
|
|
30846
31513
|
* @summary Delete tag
|
|
@@ -31477,6 +32144,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
31477
32144
|
return SharedApiFp(this.configuration).getSchemaList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, options).then((request) => request(this.axios, this.basePath));
|
|
31478
32145
|
}
|
|
31479
32146
|
|
|
32147
|
+
/**
|
|
32148
|
+
* get a MinIO service account access key
|
|
32149
|
+
* @summary Get MinIO access key
|
|
32150
|
+
* @param {SharedApiGetServiceAccountRequest} requestParameters Request parameters.
|
|
32151
|
+
* @param {*} [options] Override http request option.
|
|
32152
|
+
* @throws {RequiredError}
|
|
32153
|
+
* @memberof SharedApi
|
|
32154
|
+
*/
|
|
32155
|
+
public getServiceAccount(requestParameters: SharedApiGetServiceAccountRequest, options?: RawAxiosRequestConfig) {
|
|
32156
|
+
return SharedApiFp(this.configuration).getServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(this.axios, this.basePath));
|
|
32157
|
+
}
|
|
32158
|
+
|
|
31480
32159
|
/**
|
|
31481
32160
|
* 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.
|
|
31482
32161
|
* @summary Get cluster slow log statistics
|
|
@@ -32229,6 +32908,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
32229
32908
|
return SharedApiFp(this.configuration).listRoles(requestParameters.orgName, options).then((request) => request(this.axios, this.basePath));
|
|
32230
32909
|
}
|
|
32231
32910
|
|
|
32911
|
+
/**
|
|
32912
|
+
* list MinIO service account access keys
|
|
32913
|
+
* @summary List MinIO access keys
|
|
32914
|
+
* @param {SharedApiListServiceAccountsRequest} requestParameters Request parameters.
|
|
32915
|
+
* @param {*} [options] Override http request option.
|
|
32916
|
+
* @throws {RequiredError}
|
|
32917
|
+
* @memberof SharedApi
|
|
32918
|
+
*/
|
|
32919
|
+
public listServiceAccounts(requestParameters: SharedApiListServiceAccountsRequest, options?: RawAxiosRequestConfig) {
|
|
32920
|
+
return SharedApiFp(this.configuration).listServiceAccounts(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.userName, options).then((request) => request(this.axios, this.basePath));
|
|
32921
|
+
}
|
|
32922
|
+
|
|
32232
32923
|
/**
|
|
32233
32924
|
* list the service version of the engine
|
|
32234
32925
|
* @summary list the service version of the engine
|
|
@@ -33008,6 +33699,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
33008
33699
|
return SharedApiFp(this.configuration).updateRoleByName(requestParameters.orgName, requestParameters.roleName, requestParameters.roleUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
33009
33700
|
}
|
|
33010
33701
|
|
|
33702
|
+
/**
|
|
33703
|
+
* update a MinIO service account access key
|
|
33704
|
+
* @summary Update MinIO access key
|
|
33705
|
+
* @param {SharedApiUpdateServiceAccountRequest} requestParameters Request parameters.
|
|
33706
|
+
* @param {*} [options] Override http request option.
|
|
33707
|
+
* @throws {RequiredError}
|
|
33708
|
+
* @memberof SharedApi
|
|
33709
|
+
*/
|
|
33710
|
+
public updateServiceAccount(requestParameters: SharedApiUpdateServiceAccountRequest, options?: RawAxiosRequestConfig) {
|
|
33711
|
+
return SharedApiFp(this.configuration).updateServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
33712
|
+
}
|
|
33713
|
+
|
|
33011
33714
|
/**
|
|
33012
33715
|
* Enable or disable SQL audit log for a cluster component
|
|
33013
33716
|
* @summary Update SQL audit log status
|