kb-cloud-client-typescript 2.3.0-alpha.97 → 2.3.0-alpha.99
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-api.d.ts +18 -2
- package/dist/adminapi/apis/cluster-api.d.ts.map +1 -1
- package/dist/adminapi/apis/cluster-api.js +15 -5
- package/dist/adminapi/apis/cluster-api.js.map +1 -1
- package/dist/adminapi/apis/cluster-log-api.d.ts +114 -2
- package/dist/adminapi/apis/cluster-log-api.d.ts.map +1 -1
- package/dist/adminapi/apis/cluster-log-api.js +75 -5
- package/dist/adminapi/apis/cluster-log-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +132 -4
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +90 -10
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/database-parameter-item.d.ts +6 -0
- package/dist/adminapi/models/database-parameter-item.d.ts.map +1 -1
- package/dist/adminapi/models/database-parameter-list-item.d.ts +6 -0
- package/dist/adminapi/models/database-parameter-list-item.d.ts.map +1 -1
- package/dist/adminapi/models/storage-create.d.ts +0 -6
- package/dist/adminapi/models/storage-create.d.ts.map +1 -1
- package/dist/adminapi/models/storage-update.d.ts +0 -6
- package/dist/adminapi/models/storage-update.d.ts.map +1 -1
- package/dist/adminapi/models/storage.d.ts +0 -6
- package/dist/adminapi/models/storage.d.ts.map +1 -1
- package/dist/internalapi/models/storage-create.d.ts +0 -6
- package/dist/internalapi/models/storage-create.d.ts.map +1 -1
- package/dist/internalapi/models/storage.d.ts +0 -6
- package/dist/internalapi/models/storage.d.ts.map +1 -1
- package/dist/openapi/apis/cluster-api.d.ts +18 -2
- package/dist/openapi/apis/cluster-api.d.ts.map +1 -1
- package/dist/openapi/apis/cluster-api.js +15 -5
- package/dist/openapi/apis/cluster-api.js.map +1 -1
- package/dist/openapi/apis/cluster-log-api.d.ts +114 -2
- package/dist/openapi/apis/cluster-log-api.d.ts.map +1 -1
- package/dist/openapi/apis/cluster-log-api.js +75 -5
- package/dist/openapi/apis/cluster-log-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +132 -4
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +90 -10
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/storage.d.ts +0 -6
- package/dist/openapi/models/storage.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/apis/cluster-api.ts +31 -5
- package/src/adminapi/apis/cluster-log-api.ts +187 -5
- package/src/adminapi/apis/shared-api.ts +218 -10
- package/src/adminapi/models/database-parameter-item.ts +6 -0
- package/src/adminapi/models/database-parameter-list-item.ts +6 -0
- package/src/adminapi/models/storage-create.ts +0 -6
- package/src/adminapi/models/storage-update.ts +0 -6
- package/src/adminapi/models/storage.ts +0 -6
- package/src/adminapi.yaml +88 -12
- package/src/internalapi/models/storage-create.ts +0 -6
- package/src/internalapi/models/storage.ts +0 -6
- package/src/internalapi.yaml +0 -8
- package/src/openapi/apis/cluster-api.ts +31 -5
- package/src/openapi/apis/cluster-log-api.ts +187 -5
- package/src/openapi/apis/shared-api.ts +218 -10
- package/src/openapi/models/storage.ts +0 -6
- package/src/openapi.yaml +80 -4
|
@@ -952,10 +952,12 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
952
952
|
* @summary Get cluster details by ID
|
|
953
953
|
* @param {string} orgName name of the Org
|
|
954
954
|
* @param {string} clusterID ID of the KubeBlocks cluster
|
|
955
|
+
* @param {string} [backupName] Backup name to override cluster components from its snapshot
|
|
956
|
+
* @param {string} [restoreTime] Restore time to find latest continuous backup snapshot after this time
|
|
955
957
|
* @param {*} [options] Override http request option.
|
|
956
958
|
* @throws {RequiredError}
|
|
957
959
|
*/
|
|
958
|
-
getClusterByID: (orgName: string, clusterID: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
960
|
+
getClusterByID: (orgName: string, clusterID: string, backupName?: string, restoreTime?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
959
961
|
/**
|
|
960
962
|
* read log of the specified cluster instance
|
|
961
963
|
* @summary Tail cluster instance container log
|
|
@@ -2122,10 +2124,24 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
2122
2124
|
* @param {string} [componentName]
|
|
2123
2125
|
* @param {string} [instanceName]
|
|
2124
2126
|
* @param {string} [query]
|
|
2127
|
+
* @param {number} [minExecutionTime] Minimum slow log execution time in seconds. Only applies when logType=slow.
|
|
2128
|
+
* @param {number} [maxExecutionTime] Maximum slow log execution time in seconds. Only applies when logType=slow.
|
|
2129
|
+
* @param {number} [minLockTime] Minimum slow log lock time in seconds. Only applies when logType=slow.
|
|
2130
|
+
* @param {number} [maxLockTime] Maximum slow log lock time in seconds. Only applies when logType=slow.
|
|
2131
|
+
* @param {number} [minRowsExamined]
|
|
2132
|
+
* @param {number} [maxRowsExamined]
|
|
2133
|
+
* @param {number} [minRowsSent]
|
|
2134
|
+
* @param {number} [maxRowsSent]
|
|
2135
|
+
* @param {string} [dbName]
|
|
2136
|
+
* @param {string} [userName]
|
|
2137
|
+
* @param {string} [clientIp]
|
|
2138
|
+
* @param {string} [appName]
|
|
2139
|
+
* @param {string} [templateId]
|
|
2140
|
+
* @param {boolean} [unclassifiedOnly]
|
|
2125
2141
|
* @param {*} [options] Override http request option.
|
|
2126
2142
|
* @throws {RequiredError}
|
|
2127
2143
|
*/
|
|
2128
|
-
queryLogHits: (orgName: string, clusterName: string, startTime: string, endTime: string, step: string, logType: string, componentName?: string, instanceName?: string, query?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2144
|
+
queryLogHits: (orgName: string, clusterName: string, startTime: string, endTime: string, step: string, logType: string, componentName?: string, instanceName?: string, query?: string, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, userName?: string, clientIp?: string, appName?: string, templateId?: string, unclassifiedOnly?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2129
2145
|
/**
|
|
2130
2146
|
* Query pod logs of a cluster
|
|
2131
2147
|
* @summary Query cluster pod logs
|
|
@@ -3458,10 +3474,12 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
|
|
|
3458
3474
|
* @summary Get cluster details by ID
|
|
3459
3475
|
* @param {string} orgName name of the Org
|
|
3460
3476
|
* @param {string} clusterID ID of the KubeBlocks cluster
|
|
3477
|
+
* @param {string} [backupName] Backup name to override cluster components from its snapshot
|
|
3478
|
+
* @param {string} [restoreTime] Restore time to find latest continuous backup snapshot after this time
|
|
3461
3479
|
* @param {*} [options] Override http request option.
|
|
3462
3480
|
* @throws {RequiredError}
|
|
3463
3481
|
*/
|
|
3464
|
-
getClusterByID(orgName: string, clusterID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Cluster>>;
|
|
3482
|
+
getClusterByID(orgName: string, clusterID: string, backupName?: string, restoreTime?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Cluster>>;
|
|
3465
3483
|
/**
|
|
3466
3484
|
* read log of the specified cluster instance
|
|
3467
3485
|
* @summary Tail cluster instance container log
|
|
@@ -4628,10 +4646,24 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
|
|
|
4628
4646
|
* @param {string} [componentName]
|
|
4629
4647
|
* @param {string} [instanceName]
|
|
4630
4648
|
* @param {string} [query]
|
|
4649
|
+
* @param {number} [minExecutionTime] Minimum slow log execution time in seconds. Only applies when logType=slow.
|
|
4650
|
+
* @param {number} [maxExecutionTime] Maximum slow log execution time in seconds. Only applies when logType=slow.
|
|
4651
|
+
* @param {number} [minLockTime] Minimum slow log lock time in seconds. Only applies when logType=slow.
|
|
4652
|
+
* @param {number} [maxLockTime] Maximum slow log lock time in seconds. Only applies when logType=slow.
|
|
4653
|
+
* @param {number} [minRowsExamined]
|
|
4654
|
+
* @param {number} [maxRowsExamined]
|
|
4655
|
+
* @param {number} [minRowsSent]
|
|
4656
|
+
* @param {number} [maxRowsSent]
|
|
4657
|
+
* @param {string} [dbName]
|
|
4658
|
+
* @param {string} [userName]
|
|
4659
|
+
* @param {string} [clientIp]
|
|
4660
|
+
* @param {string} [appName]
|
|
4661
|
+
* @param {string} [templateId]
|
|
4662
|
+
* @param {boolean} [unclassifiedOnly]
|
|
4631
4663
|
* @param {*} [options] Override http request option.
|
|
4632
4664
|
* @throws {RequiredError}
|
|
4633
4665
|
*/
|
|
4634
|
-
queryLogHits(orgName: string, clusterName: string, startTime: string, endTime: string, step: string, logType: string, componentName?: string, instanceName?: string, query?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterLogHitsResponse>>;
|
|
4666
|
+
queryLogHits(orgName: string, clusterName: string, startTime: string, endTime: string, step: string, logType: string, componentName?: string, instanceName?: string, query?: string, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, userName?: string, clientIp?: string, appName?: string, templateId?: string, unclassifiedOnly?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterLogHitsResponse>>;
|
|
4635
4667
|
/**
|
|
4636
4668
|
* Query pod logs of a cluster
|
|
4637
4669
|
* @summary Query cluster pod logs
|
|
@@ -11113,6 +11145,18 @@ export interface SharedApiGetClusterByIDRequest {
|
|
|
11113
11145
|
* @memberof SharedApiGetClusterByID
|
|
11114
11146
|
*/
|
|
11115
11147
|
readonly clusterID: string;
|
|
11148
|
+
/**
|
|
11149
|
+
* Backup name to override cluster components from its snapshot
|
|
11150
|
+
* @type {string}
|
|
11151
|
+
* @memberof SharedApiGetClusterByID
|
|
11152
|
+
*/
|
|
11153
|
+
readonly backupName?: string;
|
|
11154
|
+
/**
|
|
11155
|
+
* Restore time to find latest continuous backup snapshot after this time
|
|
11156
|
+
* @type {string}
|
|
11157
|
+
* @memberof SharedApiGetClusterByID
|
|
11158
|
+
*/
|
|
11159
|
+
readonly restoreTime?: string;
|
|
11116
11160
|
}
|
|
11117
11161
|
/**
|
|
11118
11162
|
* Request parameters for getClusterInstanceLog operation in SharedApi.
|
|
@@ -14178,6 +14222,90 @@ export interface SharedApiQueryLogHitsRequest {
|
|
|
14178
14222
|
* @memberof SharedApiQueryLogHits
|
|
14179
14223
|
*/
|
|
14180
14224
|
readonly query?: string;
|
|
14225
|
+
/**
|
|
14226
|
+
* Minimum slow log execution time in seconds. Only applies when logType=slow.
|
|
14227
|
+
* @type {number}
|
|
14228
|
+
* @memberof SharedApiQueryLogHits
|
|
14229
|
+
*/
|
|
14230
|
+
readonly minExecutionTime?: number;
|
|
14231
|
+
/**
|
|
14232
|
+
* Maximum slow log execution time in seconds. Only applies when logType=slow.
|
|
14233
|
+
* @type {number}
|
|
14234
|
+
* @memberof SharedApiQueryLogHits
|
|
14235
|
+
*/
|
|
14236
|
+
readonly maxExecutionTime?: number;
|
|
14237
|
+
/**
|
|
14238
|
+
* Minimum slow log lock time in seconds. Only applies when logType=slow.
|
|
14239
|
+
* @type {number}
|
|
14240
|
+
* @memberof SharedApiQueryLogHits
|
|
14241
|
+
*/
|
|
14242
|
+
readonly minLockTime?: number;
|
|
14243
|
+
/**
|
|
14244
|
+
* Maximum slow log lock time in seconds. Only applies when logType=slow.
|
|
14245
|
+
* @type {number}
|
|
14246
|
+
* @memberof SharedApiQueryLogHits
|
|
14247
|
+
*/
|
|
14248
|
+
readonly maxLockTime?: number;
|
|
14249
|
+
/**
|
|
14250
|
+
*
|
|
14251
|
+
* @type {number}
|
|
14252
|
+
* @memberof SharedApiQueryLogHits
|
|
14253
|
+
*/
|
|
14254
|
+
readonly minRowsExamined?: number;
|
|
14255
|
+
/**
|
|
14256
|
+
*
|
|
14257
|
+
* @type {number}
|
|
14258
|
+
* @memberof SharedApiQueryLogHits
|
|
14259
|
+
*/
|
|
14260
|
+
readonly maxRowsExamined?: number;
|
|
14261
|
+
/**
|
|
14262
|
+
*
|
|
14263
|
+
* @type {number}
|
|
14264
|
+
* @memberof SharedApiQueryLogHits
|
|
14265
|
+
*/
|
|
14266
|
+
readonly minRowsSent?: number;
|
|
14267
|
+
/**
|
|
14268
|
+
*
|
|
14269
|
+
* @type {number}
|
|
14270
|
+
* @memberof SharedApiQueryLogHits
|
|
14271
|
+
*/
|
|
14272
|
+
readonly maxRowsSent?: number;
|
|
14273
|
+
/**
|
|
14274
|
+
*
|
|
14275
|
+
* @type {string}
|
|
14276
|
+
* @memberof SharedApiQueryLogHits
|
|
14277
|
+
*/
|
|
14278
|
+
readonly dbName?: string;
|
|
14279
|
+
/**
|
|
14280
|
+
*
|
|
14281
|
+
* @type {string}
|
|
14282
|
+
* @memberof SharedApiQueryLogHits
|
|
14283
|
+
*/
|
|
14284
|
+
readonly userName?: string;
|
|
14285
|
+
/**
|
|
14286
|
+
*
|
|
14287
|
+
* @type {string}
|
|
14288
|
+
* @memberof SharedApiQueryLogHits
|
|
14289
|
+
*/
|
|
14290
|
+
readonly clientIp?: string;
|
|
14291
|
+
/**
|
|
14292
|
+
*
|
|
14293
|
+
* @type {string}
|
|
14294
|
+
* @memberof SharedApiQueryLogHits
|
|
14295
|
+
*/
|
|
14296
|
+
readonly appName?: string;
|
|
14297
|
+
/**
|
|
14298
|
+
*
|
|
14299
|
+
* @type {string}
|
|
14300
|
+
* @memberof SharedApiQueryLogHits
|
|
14301
|
+
*/
|
|
14302
|
+
readonly templateId?: string;
|
|
14303
|
+
/**
|
|
14304
|
+
*
|
|
14305
|
+
* @type {boolean}
|
|
14306
|
+
* @memberof SharedApiQueryLogHits
|
|
14307
|
+
*/
|
|
14308
|
+
readonly unclassifiedOnly?: boolean;
|
|
14181
14309
|
}
|
|
14182
14310
|
/**
|
|
14183
14311
|
* Request parameters for queryPodLogs operation in SharedApi.
|