kb-cloud-client-typescript 2.4.0-alpha.35 → 2.4.0-alpha.37
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/cluster-log-api.d.ts +5 -5
- package/dist/adminapi/apis/cluster-log-api.js +4 -4
- package/dist/adminapi/apis/engine-license-api.d.ts +3 -3
- package/dist/adminapi/apis/engine-license-api.js +2 -2
- package/dist/adminapi/apis/shared-api.d.ts +5 -5
- package/dist/adminapi/apis/shared-api.js +4 -4
- package/dist/adminapi/models/engine-option-license-file.d.ts +38 -0
- package/dist/adminapi/models/engine-option-license-file.d.ts.map +1 -0
- package/dist/adminapi/models/engine-option-license-file.js +16 -0
- package/dist/adminapi/models/engine-option-license-file.js.map +1 -0
- package/dist/adminapi/models/engine-option-license.d.ts +8 -1
- package/dist/adminapi/models/engine-option-license.d.ts.map +1 -1
- package/dist/adminapi/models/index.d.ts +1 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +1 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/openapi/apis/cluster-log-api.d.ts +5 -5
- package/dist/openapi/apis/cluster-log-api.js +4 -4
- package/dist/openapi/apis/shared-api.d.ts +5 -5
- package/dist/openapi/apis/shared-api.js +4 -4
- package/dist/openapi/models/engine-option-license-file.d.ts +38 -0
- package/dist/openapi/models/engine-option-license-file.d.ts.map +1 -0
- package/dist/openapi/models/engine-option-license-file.js +16 -0
- package/dist/openapi/models/engine-option-license-file.js.map +1 -0
- package/dist/openapi/models/engine-option-license.d.ts +8 -1
- package/dist/openapi/models/engine-option-license.d.ts.map +1 -1
- package/dist/openapi/models/index.d.ts +1 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +1 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +1 -0
- package/src/adminapi/apis/cluster-log-api.ts +5 -5
- package/src/adminapi/apis/engine-license-api.ts +3 -3
- package/src/adminapi/apis/shared-api.ts +5 -5
- package/src/adminapi/models/engine-option-license-file.ts +45 -0
- package/src/adminapi/models/engine-option-license.ts +10 -1
- package/src/adminapi/models/index.ts +1 -0
- package/src/adminapi.yaml +20 -3
- package/src/openapi/.openapi-generator/FILES +1 -0
- package/src/openapi/apis/cluster-log-api.ts +5 -5
- package/src/openapi/apis/shared-api.ts +5 -5
- package/src/openapi/models/engine-option-license-file.ts +45 -0
- package/src/openapi/models/engine-option-license.ts +10 -1
- package/src/openapi/models/index.ts +1 -0
- package/src/openapi.yaml +19 -2
package/src/adminapi.yaml
CHANGED
|
@@ -7900,7 +7900,7 @@ paths:
|
|
|
7900
7900
|
- shared
|
|
7901
7901
|
/admin/v1/organizations/{orgName}/clusters/{clusterName}/logs/slow/templates/{templateId}/explain:
|
|
7902
7902
|
post:
|
|
7903
|
-
description: Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible and
|
|
7903
|
+
description: Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible, PostgreSQL, and SQL Server SELECT samples are supported.
|
|
7904
7904
|
summary: Explain cluster slow log template
|
|
7905
7905
|
operationId: explainSlowLogTemplate
|
|
7906
7906
|
parameters:
|
|
@@ -36792,6 +36792,19 @@ components:
|
|
|
36792
36792
|
In rebuildinstance ops, only `ops` object is available.
|
|
36793
36793
|
type: object
|
|
36794
36794
|
type: array
|
|
36795
|
+
engineOptionLicenseFile:
|
|
36796
|
+
type: object
|
|
36797
|
+
additionalProperties: false
|
|
36798
|
+
required:
|
|
36799
|
+
- name
|
|
36800
|
+
properties:
|
|
36801
|
+
name:
|
|
36802
|
+
type: string
|
|
36803
|
+
description: Target license file name written into the engine license Secret.
|
|
36804
|
+
title:
|
|
36805
|
+
$ref: '#/components/schemas/localizedDescription'
|
|
36806
|
+
description:
|
|
36807
|
+
$ref: '#/components/schemas/localizedDescription'
|
|
36795
36808
|
licenseOption:
|
|
36796
36809
|
type: object
|
|
36797
36810
|
required:
|
|
@@ -37968,7 +37981,6 @@ components:
|
|
|
37968
37981
|
type: object
|
|
37969
37982
|
required:
|
|
37970
37983
|
- secretName
|
|
37971
|
-
- fileName
|
|
37972
37984
|
properties:
|
|
37973
37985
|
required:
|
|
37974
37986
|
type: boolean
|
|
@@ -37979,6 +37991,11 @@ components:
|
|
|
37979
37991
|
fileName:
|
|
37980
37992
|
type: string
|
|
37981
37993
|
description: the license file name
|
|
37994
|
+
files:
|
|
37995
|
+
type: array
|
|
37996
|
+
description: Explicit license file upload slots. Each item maps one UI upload field to the file name written into the license Secret.
|
|
37997
|
+
items:
|
|
37998
|
+
$ref: '#/components/schemas/engineOptionLicenseFile'
|
|
37982
37999
|
components:
|
|
37983
38000
|
type: array
|
|
37984
38001
|
description: set the custom ops to update license for different components
|
|
@@ -38149,7 +38166,7 @@ components:
|
|
|
38149
38166
|
licenseFile:
|
|
38150
38167
|
type: string
|
|
38151
38168
|
format: binary
|
|
38152
|
-
description: The license file to upload. Required when type is not NodeScope; optional when type is NodeScope.
|
|
38169
|
+
description: The license file to upload. Required when type is not NodeScope; optional when type is NodeScope. For engines with engineOption.license.files, generated SDKs can still upload an engine-defined JSON license bundle through this field. Direct multipart callers should upload each file using the configured license.files[].name as the form field name.
|
|
38153
38170
|
required:
|
|
38154
38171
|
- name
|
|
38155
38172
|
- engineName
|
|
@@ -453,6 +453,7 @@ models/engine-license.ts
|
|
|
453
453
|
models/engine-mapping.ts
|
|
454
454
|
models/engine-mode-transition.ts
|
|
455
455
|
models/engine-network-mode-supported.ts
|
|
456
|
+
models/engine-option-license-file.ts
|
|
456
457
|
models/engine-option-license.ts
|
|
457
458
|
models/engine-option-list.ts
|
|
458
459
|
models/engine-option-status.ts
|
|
@@ -359,7 +359,7 @@ export const ClusterLogApiAxiosParamCreator = function (configuration?: Configur
|
|
|
359
359
|
};
|
|
360
360
|
},
|
|
361
361
|
/**
|
|
362
|
-
* Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible and
|
|
362
|
+
* Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible, PostgreSQL, and SQL Server SELECT samples are supported.
|
|
363
363
|
* @summary Explain cluster slow log template
|
|
364
364
|
* @param {string} orgName
|
|
365
365
|
* @param {string} clusterName
|
|
@@ -1981,7 +1981,7 @@ export const ClusterLogApiFp = function(configuration?: Configuration) {
|
|
|
1981
1981
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1982
1982
|
},
|
|
1983
1983
|
/**
|
|
1984
|
-
* Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible and
|
|
1984
|
+
* Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible, PostgreSQL, and SQL Server SELECT samples are supported.
|
|
1985
1985
|
* @summary Explain cluster slow log template
|
|
1986
1986
|
* @param {string} orgName
|
|
1987
1987
|
* @param {string} clusterName
|
|
@@ -2379,7 +2379,7 @@ export const ClusterLogApiFactory = function (configuration?: Configuration, bas
|
|
|
2379
2379
|
return localVarFp.explainSlowLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.dmsExplainRequest, options).then((request) => request(axios, basePath));
|
|
2380
2380
|
},
|
|
2381
2381
|
/**
|
|
2382
|
-
* Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible and
|
|
2382
|
+
* Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible, PostgreSQL, and SQL Server SELECT samples are supported.
|
|
2383
2383
|
* @summary Explain cluster slow log template
|
|
2384
2384
|
* @param {ClusterLogApiExplainSlowLogTemplateRequest} requestParameters Request parameters.
|
|
2385
2385
|
* @param {*} [options] Override http request option.
|
|
@@ -2538,7 +2538,7 @@ export interface ClusterLogApiInterface {
|
|
|
2538
2538
|
explainSlowLog(requestParameters: ClusterLogApiExplainSlowLogRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogExplainResponse>;
|
|
2539
2539
|
|
|
2540
2540
|
/**
|
|
2541
|
-
* Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible and
|
|
2541
|
+
* Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible, PostgreSQL, and SQL Server SELECT samples are supported.
|
|
2542
2542
|
* @summary Explain cluster slow log template
|
|
2543
2543
|
* @param {ClusterLogApiExplainSlowLogTemplateRequest} requestParameters Request parameters.
|
|
2544
2544
|
* @param {*} [options] Override http request option.
|
|
@@ -4579,7 +4579,7 @@ export class ClusterLogApi extends BaseAPI implements ClusterLogApiInterface {
|
|
|
4579
4579
|
}
|
|
4580
4580
|
|
|
4581
4581
|
/**
|
|
4582
|
-
* Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible and
|
|
4582
|
+
* Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible, PostgreSQL, and SQL Server SELECT samples are supported.
|
|
4583
4583
|
* @summary Explain cluster slow log template
|
|
4584
4584
|
* @param {ClusterLogApiExplainSlowLogTemplateRequest} requestParameters Request parameters.
|
|
4585
4585
|
* @param {*} [options] Override http request option.
|
|
@@ -4505,7 +4505,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
4505
4505
|
};
|
|
4506
4506
|
},
|
|
4507
4507
|
/**
|
|
4508
|
-
* Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible and
|
|
4508
|
+
* Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible, PostgreSQL, and SQL Server SELECT samples are supported.
|
|
4509
4509
|
* @summary Explain cluster slow log template
|
|
4510
4510
|
* @param {string} orgName
|
|
4511
4511
|
* @param {string} clusterName
|
|
@@ -18000,7 +18000,7 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
18000
18000
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18001
18001
|
},
|
|
18002
18002
|
/**
|
|
18003
|
-
* Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible and
|
|
18003
|
+
* Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible, PostgreSQL, and SQL Server SELECT samples are supported.
|
|
18004
18004
|
* @summary Explain cluster slow log template
|
|
18005
18005
|
* @param {string} orgName
|
|
18006
18006
|
* @param {string} clusterName
|
|
@@ -22316,7 +22316,7 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
22316
22316
|
return localVarFp.explainSlowLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.dmsExplainRequest, options).then((request) => request(axios, basePath));
|
|
22317
22317
|
},
|
|
22318
22318
|
/**
|
|
22319
|
-
* Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible and
|
|
22319
|
+
* Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible, PostgreSQL, and SQL Server SELECT samples are supported.
|
|
22320
22320
|
* @summary Explain cluster slow log template
|
|
22321
22321
|
* @param {SharedApiExplainSlowLogTemplateRequest} requestParameters Request parameters.
|
|
22322
22322
|
* @param {*} [options] Override http request option.
|
|
@@ -25280,7 +25280,7 @@ export interface SharedApiInterface {
|
|
|
25280
25280
|
explainSlowLog(requestParameters: SharedApiExplainSlowLogRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterSlowLogExplainResponse>;
|
|
25281
25281
|
|
|
25282
25282
|
/**
|
|
25283
|
-
* Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible and
|
|
25283
|
+
* Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible, PostgreSQL, and SQL Server SELECT samples are supported.
|
|
25284
25284
|
* @summary Explain cluster slow log template
|
|
25285
25285
|
* @param {SharedApiExplainSlowLogTemplateRequest} requestParameters Request parameters.
|
|
25286
25286
|
* @param {*} [options] Override http request option.
|
|
@@ -38669,7 +38669,7 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
38669
38669
|
}
|
|
38670
38670
|
|
|
38671
38671
|
/**
|
|
38672
|
-
* Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible and
|
|
38672
|
+
* Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible, PostgreSQL, and SQL Server SELECT samples are supported.
|
|
38673
38673
|
* @summary Explain cluster slow log template
|
|
38674
38674
|
* @param {SharedApiExplainSlowLogTemplateRequest} requestParameters Request parameters.
|
|
38675
38675
|
* @param {*} [options] Override http request option.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* KubeBlocks Cloud API
|
|
5
|
+
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { LocalizedDescription } from './localized-description';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface EngineOptionLicenseFile
|
|
24
|
+
*/
|
|
25
|
+
export interface EngineOptionLicenseFile {
|
|
26
|
+
/**
|
|
27
|
+
* Target license file name written into the engine license Secret.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof EngineOptionLicenseFile
|
|
30
|
+
*/
|
|
31
|
+
'name': string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {LocalizedDescription}
|
|
35
|
+
* @memberof EngineOptionLicenseFile
|
|
36
|
+
*/
|
|
37
|
+
'title'?: LocalizedDescription;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {LocalizedDescription}
|
|
41
|
+
* @memberof EngineOptionLicenseFile
|
|
42
|
+
*/
|
|
43
|
+
'description'?: LocalizedDescription;
|
|
44
|
+
}
|
|
45
|
+
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { EngineOptionLicenseFile } from './engine-option-license-file';
|
|
16
19
|
// May contain unused imports in some cases
|
|
17
20
|
// @ts-ignore
|
|
18
21
|
import type { LicenseOption } from './license-option';
|
|
@@ -40,7 +43,13 @@ export interface EngineOptionLicense {
|
|
|
40
43
|
* @type {string}
|
|
41
44
|
* @memberof EngineOptionLicense
|
|
42
45
|
*/
|
|
43
|
-
'fileName'
|
|
46
|
+
'fileName'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Explicit license file upload slots. Each item maps one UI upload field to the file name written into the license Secret.
|
|
49
|
+
* @type {Array<EngineOptionLicenseFile>}
|
|
50
|
+
* @memberof EngineOptionLicense
|
|
51
|
+
*/
|
|
52
|
+
'files'?: Array<EngineOptionLicenseFile>;
|
|
44
53
|
/**
|
|
45
54
|
* set the custom ops to update license for different components
|
|
46
55
|
* @type {Array<LicenseOption>}
|
|
@@ -379,6 +379,7 @@ export * from './engine-mode-transition';
|
|
|
379
379
|
export * from './engine-network-mode-supported';
|
|
380
380
|
export * from './engine-option';
|
|
381
381
|
export * from './engine-option-license';
|
|
382
|
+
export * from './engine-option-license-file';
|
|
382
383
|
export * from './engine-option-list';
|
|
383
384
|
export * from './engine-option-status';
|
|
384
385
|
export * from './engine-option-version';
|
package/src/openapi.yaml
CHANGED
|
@@ -2758,7 +2758,7 @@ paths:
|
|
|
2758
2758
|
- shared
|
|
2759
2759
|
/api/v1/organizations/{orgName}/clusters/{clusterName}/logs/slow/templates/{templateId}/explain:
|
|
2760
2760
|
post:
|
|
2761
|
-
description: Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible and
|
|
2761
|
+
description: Explain a slow log template sample using DMS. The SQL is selected by templateId and time range; request body does not accept raw SQL. Only MySQL-compatible, PostgreSQL, and SQL Server SELECT samples are supported.
|
|
2762
2762
|
summary: Explain cluster slow log template
|
|
2763
2763
|
operationId: explainSlowLogTemplate
|
|
2764
2764
|
parameters:
|
|
@@ -30105,6 +30105,19 @@ components:
|
|
|
30105
30105
|
In rebuildinstance ops, only `ops` object is available.
|
|
30106
30106
|
type: object
|
|
30107
30107
|
type: array
|
|
30108
|
+
engineOptionLicenseFile:
|
|
30109
|
+
type: object
|
|
30110
|
+
additionalProperties: false
|
|
30111
|
+
required:
|
|
30112
|
+
- name
|
|
30113
|
+
properties:
|
|
30114
|
+
name:
|
|
30115
|
+
type: string
|
|
30116
|
+
description: Target license file name written into the engine license Secret.
|
|
30117
|
+
title:
|
|
30118
|
+
$ref: '#/components/schemas/localizedDescription'
|
|
30119
|
+
description:
|
|
30120
|
+
$ref: '#/components/schemas/localizedDescription'
|
|
30108
30121
|
licenseOption:
|
|
30109
30122
|
type: object
|
|
30110
30123
|
required:
|
|
@@ -31281,7 +31294,6 @@ components:
|
|
|
31281
31294
|
type: object
|
|
31282
31295
|
required:
|
|
31283
31296
|
- secretName
|
|
31284
|
-
- fileName
|
|
31285
31297
|
properties:
|
|
31286
31298
|
required:
|
|
31287
31299
|
type: boolean
|
|
@@ -31292,6 +31304,11 @@ components:
|
|
|
31292
31304
|
fileName:
|
|
31293
31305
|
type: string
|
|
31294
31306
|
description: the license file name
|
|
31307
|
+
files:
|
|
31308
|
+
type: array
|
|
31309
|
+
description: Explicit license file upload slots. Each item maps one UI upload field to the file name written into the license Secret.
|
|
31310
|
+
items:
|
|
31311
|
+
$ref: '#/components/schemas/engineOptionLicenseFile'
|
|
31295
31312
|
components:
|
|
31296
31313
|
type: array
|
|
31297
31314
|
description: set the custom ops to update license for different components
|