kb-cloud-client-typescript 2.4.0-alpha.151 → 2.4.0-alpha.152
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/postgresql-api.d.ts +10 -10
- package/dist/adminapi/apis/postgresql-api.js +8 -8
- package/dist/adminapi/models/account-option.d.ts +7 -1
- package/dist/adminapi/models/account-option.d.ts.map +1 -1
- package/dist/adminapi/models/create-pg-extension-resp.d.ts +3 -3
- package/dist/adminapi/models/create-pg-extension-resp.d.ts.map +1 -1
- package/dist/adminapi/models/data-channel-list-endpoint.d.ts +6 -0
- package/dist/adminapi/models/data-channel-list-endpoint.d.ts.map +1 -1
- package/dist/adminapi/models/index.d.ts +2 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +2 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/ops-upgrade.d.ts +1 -1
- package/dist/adminapi/models/parameters-value-value.d.ts +7 -0
- package/dist/adminapi/models/parameters-value-value.d.ts.map +1 -1
- package/dist/adminapi/models/parameters-value-value.js +2 -1
- package/dist/adminapi/models/parameters-value-value.js.map +1 -1
- package/dist/adminapi/models/pg-create-extension-opt.d.ts +6 -6
- package/dist/adminapi/models/pg-create-extension-opt.d.ts.map +1 -1
- package/dist/adminapi/models/pg-create-extension-result.d.ts +44 -0
- package/dist/adminapi/models/pg-create-extension-result.d.ts.map +1 -0
- package/dist/adminapi/models/pg-create-extension-result.js +16 -0
- package/dist/adminapi/models/pg-create-extension-result.js.map +1 -0
- package/dist/adminapi/models/pg-create-extension-status.d.ts +24 -0
- package/dist/adminapi/models/pg-create-extension-status.d.ts.map +1 -0
- package/dist/adminapi/models/pg-create-extension-status.js +28 -0
- package/dist/adminapi/models/pg-create-extension-status.js.map +1 -0
- package/dist/openapi/apis/postgresql-api.d.ts +10 -10
- package/dist/openapi/apis/postgresql-api.js +8 -8
- package/dist/openapi/models/account-option.d.ts +7 -1
- package/dist/openapi/models/account-option.d.ts.map +1 -1
- package/dist/openapi/models/create-pg-extension-resp.d.ts +3 -3
- package/dist/openapi/models/create-pg-extension-resp.d.ts.map +1 -1
- package/dist/openapi/models/data-channel-list-endpoint.d.ts +6 -0
- package/dist/openapi/models/data-channel-list-endpoint.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/ops-upgrade.d.ts +1 -1
- package/dist/openapi/models/parameters-value-value.d.ts +7 -0
- package/dist/openapi/models/parameters-value-value.d.ts.map +1 -1
- package/dist/openapi/models/parameters-value-value.js +2 -1
- package/dist/openapi/models/parameters-value-value.js.map +1 -1
- package/dist/openapi/models/pg-create-extension-opt.d.ts +6 -6
- package/dist/openapi/models/pg-create-extension-opt.d.ts.map +1 -1
- package/dist/openapi/models/pg-create-extension-result.d.ts +44 -0
- package/dist/openapi/models/pg-create-extension-result.d.ts.map +1 -0
- package/dist/openapi/models/pg-create-extension-result.js +16 -0
- package/dist/openapi/models/pg-create-extension-result.js.map +1 -0
- package/dist/openapi/models/pg-create-extension-status.d.ts +24 -0
- package/dist/openapi/models/pg-create-extension-status.d.ts.map +1 -0
- package/dist/openapi/models/pg-create-extension-status.js +28 -0
- package/dist/openapi/models/pg-create-extension-status.js.map +1 -0
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +2 -0
- package/src/adminapi/apis/postgresql-api.ts +10 -10
- package/src/adminapi/models/account-option.ts +7 -1
- package/src/adminapi/models/create-pg-extension-resp.ts +3 -3
- package/src/adminapi/models/data-channel-list-endpoint.ts +6 -0
- package/src/adminapi/models/index.ts +2 -0
- package/src/adminapi/models/ops-upgrade.ts +1 -1
- package/src/adminapi/models/parameters-value-value.ts +8 -1
- package/src/adminapi/models/pg-create-extension-opt.ts +6 -6
- package/src/adminapi/models/pg-create-extension-result.ts +53 -0
- package/src/adminapi/models/pg-create-extension-status.ts +33 -0
- package/src/adminapi.yaml +65 -16
- package/src/openapi/.openapi-generator/FILES +2 -0
- package/src/openapi/apis/postgresql-api.ts +10 -10
- package/src/openapi/models/account-option.ts +7 -1
- package/src/openapi/models/create-pg-extension-resp.ts +3 -3
- package/src/openapi/models/data-channel-list-endpoint.ts +6 -0
- package/src/openapi/models/index.ts +2 -0
- package/src/openapi/models/ops-upgrade.ts +1 -1
- package/src/openapi/models/parameters-value-value.ts +8 -1
- package/src/openapi/models/pg-create-extension-opt.ts +6 -6
- package/src/openapi/models/pg-create-extension-result.ts +53 -0
- package/src/openapi/models/pg-create-extension-status.ts +33 -0
- package/src/openapi.yaml +65 -16
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* KubeBlocks Cloud API
|
|
6
|
+
* 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.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: support@apecloud.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.PgCreateExtensionStatus = void 0;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
exports.PgCreateExtensionStatus = {
|
|
23
|
+
installed: 'installed',
|
|
24
|
+
already_installed: 'already_installed',
|
|
25
|
+
scheduled: 'scheduled',
|
|
26
|
+
failed: 'failed'
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=pg-create-extension-status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pg-create-extension-status.js","sourceRoot":"","sources":["../../../src/openapi/models/pg-create-extension-status.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,uBAAuB,GAAG;IACnC,SAAS,EAAE,WAAW;IACtB,iBAAiB,EAAE,mBAAmB;IACtC,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;CACV,CAAC"}
|
package/package.json
CHANGED
|
@@ -1074,6 +1074,8 @@ models/permission.ts
|
|
|
1074
1074
|
models/persistent-volume-claim-list.ts
|
|
1075
1075
|
models/persistent-volume-claim.ts
|
|
1076
1076
|
models/pg-create-extension-opt.ts
|
|
1077
|
+
models/pg-create-extension-result.ts
|
|
1078
|
+
models/pg-create-extension-status.ts
|
|
1077
1079
|
models/pg-extension-available-database-schema.ts
|
|
1078
1080
|
models/pg-extension.ts
|
|
1079
1081
|
models/placement-scope.ts
|
|
@@ -36,8 +36,8 @@ import type { PgExtension } from '../models';
|
|
|
36
36
|
export const PostgresqlApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
37
37
|
return {
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
40
|
-
* @summary
|
|
39
|
+
* Enable one or more PostgreSQL extensions across selected databases, returning a result for each database-extension pair.
|
|
40
|
+
* @summary Enable PostgreSQL extensions in selected databases
|
|
41
41
|
* @param {string} orgName Organization name
|
|
42
42
|
* @param {string} clusterName name of the cluster
|
|
43
43
|
* @param {PgCreateExtensionOpt} pgCreateExtensionOpt
|
|
@@ -208,8 +208,8 @@ export const PostgresqlApiFp = function(configuration?: Configuration) {
|
|
|
208
208
|
const localVarAxiosParamCreator = PostgresqlApiAxiosParamCreator(configuration)
|
|
209
209
|
return {
|
|
210
210
|
/**
|
|
211
|
-
*
|
|
212
|
-
* @summary
|
|
211
|
+
* Enable one or more PostgreSQL extensions across selected databases, returning a result for each database-extension pair.
|
|
212
|
+
* @summary Enable PostgreSQL extensions in selected databases
|
|
213
213
|
* @param {string} orgName Organization name
|
|
214
214
|
* @param {string} clusterName name of the cluster
|
|
215
215
|
* @param {PgCreateExtensionOpt} pgCreateExtensionOpt
|
|
@@ -265,8 +265,8 @@ export const PostgresqlApiFactory = function (configuration?: Configuration, bas
|
|
|
265
265
|
const localVarFp = PostgresqlApiFp(configuration)
|
|
266
266
|
return {
|
|
267
267
|
/**
|
|
268
|
-
*
|
|
269
|
-
* @summary
|
|
268
|
+
* Enable one or more PostgreSQL extensions across selected databases, returning a result for each database-extension pair.
|
|
269
|
+
* @summary Enable PostgreSQL extensions in selected databases
|
|
270
270
|
* @param {PostgresqlApiCreatePGExtensionRequest} requestParameters Request parameters.
|
|
271
271
|
* @param {*} [options] Override http request option.
|
|
272
272
|
* @throws {RequiredError}
|
|
@@ -304,8 +304,8 @@ export const PostgresqlApiFactory = function (configuration?: Configuration, bas
|
|
|
304
304
|
*/
|
|
305
305
|
export interface PostgresqlApiInterface {
|
|
306
306
|
/**
|
|
307
|
-
*
|
|
308
|
-
* @summary
|
|
307
|
+
* Enable one or more PostgreSQL extensions across selected databases, returning a result for each database-extension pair.
|
|
308
|
+
* @summary Enable PostgreSQL extensions in selected databases
|
|
309
309
|
* @param {PostgresqlApiCreatePGExtensionRequest} requestParameters Request parameters.
|
|
310
310
|
* @param {*} [options] Override http request option.
|
|
311
311
|
* @throws {RequiredError}
|
|
@@ -441,8 +441,8 @@ export interface PostgresqlApiListPGExtensionsRequest {
|
|
|
441
441
|
*/
|
|
442
442
|
export class PostgresqlApi extends BaseAPI implements PostgresqlApiInterface {
|
|
443
443
|
/**
|
|
444
|
-
*
|
|
445
|
-
* @summary
|
|
444
|
+
* Enable one or more PostgreSQL extensions across selected databases, returning a result for each database-extension pair.
|
|
445
|
+
* @summary Enable PostgreSQL extensions in selected databases
|
|
446
446
|
* @param {PostgresqlApiCreatePGExtensionRequest} requestParameters Request parameters.
|
|
447
447
|
* @param {*} [options] Override http request option.
|
|
448
448
|
* @throws {RequiredError}
|
|
@@ -87,11 +87,17 @@ export interface AccountOption {
|
|
|
87
87
|
*/
|
|
88
88
|
'supportServiceAccount'?: boolean;
|
|
89
89
|
/**
|
|
90
|
-
* Account names that cannot be deleted, locked, or
|
|
90
|
+
* Account names that cannot be deleted, locked, unlocked, or have their privileges modified. This does not hide accounts or restrict password changes.
|
|
91
91
|
* @type {Array<string>}
|
|
92
92
|
* @memberof AccountOption
|
|
93
93
|
*/
|
|
94
94
|
'protectedAccounts'?: Array<string>;
|
|
95
|
+
/**
|
|
96
|
+
* Account names hidden from the generic account list. Matching is case-sensitive, without whitespace normalization or patterns. Other accounts remain visible subject to existing displayRootAccount rules.
|
|
97
|
+
* @type {Array<string>}
|
|
98
|
+
* @memberof AccountOption
|
|
99
|
+
*/
|
|
100
|
+
'displayAccounts'?: Array<string>;
|
|
95
101
|
/**
|
|
96
102
|
*
|
|
97
103
|
* @type {boolean}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
import type { OpsRequestName } from './ops-request-name';
|
|
19
19
|
// May contain unused imports in some cases
|
|
20
20
|
// @ts-ignore
|
|
21
|
-
import type {
|
|
21
|
+
import type { PgCreateExtensionResult } from './pg-create-extension-result';
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
*
|
|
@@ -34,9 +34,9 @@ export interface CreatePgExtensionResp {
|
|
|
34
34
|
'opsRequestResult'?: OpsRequestName;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
|
-
* @type {
|
|
37
|
+
* @type {Array<PgCreateExtensionResult>}
|
|
38
38
|
* @memberof CreatePgExtensionResp
|
|
39
39
|
*/
|
|
40
|
-
'
|
|
40
|
+
'items': Array<PgCreateExtensionResult>;
|
|
41
41
|
}
|
|
42
42
|
|
|
@@ -77,6 +77,12 @@ export interface DataChannelListEndpoint {
|
|
|
77
77
|
* @memberof DataChannelListEndpoint
|
|
78
78
|
*/
|
|
79
79
|
'definition'?: DefinitionEndpoint;
|
|
80
|
+
/**
|
|
81
|
+
* the number of channels associated with this endpoint
|
|
82
|
+
* @type {number}
|
|
83
|
+
* @memberof DataChannelListEndpoint
|
|
84
|
+
*/
|
|
85
|
+
'channelNum'?: number | null;
|
|
80
86
|
/**
|
|
81
87
|
*
|
|
82
88
|
* @type {string}
|
|
@@ -962,6 +962,8 @@ export * from './permission-list';
|
|
|
962
962
|
export * from './persistent-volume-claim';
|
|
963
963
|
export * from './persistent-volume-claim-list';
|
|
964
964
|
export * from './pg-create-extension-opt';
|
|
965
|
+
export * from './pg-create-extension-result';
|
|
966
|
+
export * from './pg-create-extension-status';
|
|
965
967
|
export * from './pg-extension';
|
|
966
968
|
export * from './pg-extension-available-database-schema';
|
|
967
969
|
export * from './placement-scope';
|
|
@@ -21,7 +21,7 @@ import type { InstanceTemplateUpgrade } from './instance-template-upgrade';
|
|
|
21
21
|
import type { TaskSchedule } from './task-schedule';
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
|
-
* Upgrade a component
|
|
24
|
+
* Upgrade a component or selected instance templates. For template upgrades, the server overrides version with the minimum resulting template version.
|
|
25
25
|
* @export
|
|
26
26
|
* @interface OpsUpgrade
|
|
27
27
|
*/
|
|
@@ -50,6 +50,12 @@ export interface ParametersValueValue {
|
|
|
50
50
|
* @memberof ParametersValueValue
|
|
51
51
|
*/
|
|
52
52
|
'type'?: ParametersValueValueTypeEnum;
|
|
53
|
+
/**
|
|
54
|
+
* The date format used when type is date, e.g. YYYY-MM-DD hh:mm:ss.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof ParametersValueValue
|
|
57
|
+
*/
|
|
58
|
+
'dateFormat'?: string;
|
|
53
59
|
/**
|
|
54
60
|
*
|
|
55
61
|
* @type {number}
|
|
@@ -66,7 +72,8 @@ export interface ParametersValueValue {
|
|
|
66
72
|
|
|
67
73
|
export const ParametersValueValueTypeEnum = {
|
|
68
74
|
enum: 'enum',
|
|
69
|
-
number: 'number'
|
|
75
|
+
number: 'number',
|
|
76
|
+
date: 'date'
|
|
70
77
|
} as const;
|
|
71
78
|
|
|
72
79
|
export type ParametersValueValueTypeEnum = typeof ParametersValueValueTypeEnum[keyof typeof ParametersValueValueTypeEnum];
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export interface PgCreateExtensionOpt {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
25
|
-
* @type {string}
|
|
24
|
+
* Target databases. At most 100 database-extension pairs per request.
|
|
25
|
+
* @type {Array<string>}
|
|
26
26
|
* @memberof PgCreateExtensionOpt
|
|
27
27
|
*/
|
|
28
|
-
'
|
|
28
|
+
'databases': Array<string>;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
31
|
-
* @type {string}
|
|
30
|
+
* Extensions to enable using their default versions and schemas.
|
|
31
|
+
* @type {Array<string>}
|
|
32
32
|
* @memberof PgCreateExtensionOpt
|
|
33
33
|
*/
|
|
34
|
-
'
|
|
34
|
+
'names': Array<string>;
|
|
35
35
|
/**
|
|
36
36
|
* The version of the extension to install.
|
|
37
37
|
* @type {string}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
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 { PgCreateExtensionStatus } from './pg-create-extension-status';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface PgCreateExtensionResult
|
|
24
|
+
*/
|
|
25
|
+
export interface PgCreateExtensionResult {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof PgCreateExtensionResult
|
|
30
|
+
*/
|
|
31
|
+
'database': string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof PgCreateExtensionResult
|
|
36
|
+
*/
|
|
37
|
+
'name': string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {PgCreateExtensionStatus}
|
|
41
|
+
* @memberof PgCreateExtensionResult
|
|
42
|
+
*/
|
|
43
|
+
'status': PgCreateExtensionStatus;
|
|
44
|
+
/**
|
|
45
|
+
* The error for an extension that failed to install or schedule.
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof PgCreateExtensionResult
|
|
48
|
+
*/
|
|
49
|
+
'error'?: string;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
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
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
export const PgCreateExtensionStatus = {
|
|
24
|
+
installed: 'installed',
|
|
25
|
+
already_installed: 'already_installed',
|
|
26
|
+
scheduled: 'scheduled',
|
|
27
|
+
failed: 'failed'
|
|
28
|
+
} as const;
|
|
29
|
+
|
|
30
|
+
export type PgCreateExtensionStatus = typeof PgCreateExtensionStatus[keyof typeof PgCreateExtensionStatus];
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
package/src/adminapi.yaml
CHANGED
|
@@ -29738,8 +29738,8 @@ paths:
|
|
|
29738
29738
|
'500':
|
|
29739
29739
|
$ref: '#/components/responses/500'
|
|
29740
29740
|
post:
|
|
29741
|
-
summary:
|
|
29742
|
-
description:
|
|
29741
|
+
summary: Enable PostgreSQL extensions in selected databases
|
|
29742
|
+
description: Enable one or more PostgreSQL extensions across selected databases, returning a result for each database-extension pair.
|
|
29743
29743
|
operationId: createPGExtension
|
|
29744
29744
|
tags:
|
|
29745
29745
|
- postgresql
|
|
@@ -40805,7 +40805,7 @@ components:
|
|
|
40805
40805
|
minLength: 1
|
|
40806
40806
|
maxLength: 32
|
|
40807
40807
|
opsUpgrade:
|
|
40808
|
-
description: Upgrade a component
|
|
40808
|
+
description: Upgrade a component or selected instance templates. For template upgrades, the server overrides version with the minimum resulting template version.
|
|
40809
40809
|
properties:
|
|
40810
40810
|
version:
|
|
40811
40811
|
type: string
|
|
@@ -45667,7 +45667,12 @@ components:
|
|
|
45667
45667
|
description: Whether the engine supports service account access-key management.
|
|
45668
45668
|
protectedAccounts:
|
|
45669
45669
|
type: array
|
|
45670
|
-
description: Account names that cannot be deleted, locked, or
|
|
45670
|
+
description: Account names that cannot be deleted, locked, unlocked, or have their privileges modified. This does not hide accounts or restrict password changes.
|
|
45671
|
+
items:
|
|
45672
|
+
type: string
|
|
45673
|
+
displayAccounts:
|
|
45674
|
+
type: array
|
|
45675
|
+
description: Account names hidden from the generic account list. Matching is case-sensitive, without whitespace normalization or patterns. Other accounts remain visible subject to existing displayRootAccount rules.
|
|
45671
45676
|
items:
|
|
45672
45677
|
type: string
|
|
45673
45678
|
displayRootAccount:
|
|
@@ -45795,6 +45800,10 @@ components:
|
|
|
45795
45800
|
enum:
|
|
45796
45801
|
- enum
|
|
45797
45802
|
- number
|
|
45803
|
+
- date
|
|
45804
|
+
dateFormat:
|
|
45805
|
+
type: string
|
|
45806
|
+
description: The date format used when type is date, e.g. YYYY-MM-DD hh:mm:ss.
|
|
45798
45807
|
min:
|
|
45799
45808
|
type: number
|
|
45800
45809
|
max:
|
|
@@ -56043,30 +56052,66 @@ components:
|
|
|
56043
56052
|
PgCreateExtensionOpt:
|
|
56044
56053
|
type: object
|
|
56045
56054
|
required:
|
|
56046
|
-
-
|
|
56047
|
-
-
|
|
56055
|
+
- databases
|
|
56056
|
+
- names
|
|
56048
56057
|
properties:
|
|
56049
|
-
|
|
56050
|
-
type:
|
|
56051
|
-
|
|
56052
|
-
|
|
56053
|
-
|
|
56054
|
-
|
|
56058
|
+
databases:
|
|
56059
|
+
type: array
|
|
56060
|
+
minItems: 1
|
|
56061
|
+
maxItems: 100
|
|
56062
|
+
items:
|
|
56063
|
+
type: string
|
|
56064
|
+
minLength: 1
|
|
56065
|
+
description: Target databases. At most 100 database-extension pairs per request.
|
|
56066
|
+
names:
|
|
56067
|
+
type: array
|
|
56068
|
+
minItems: 1
|
|
56069
|
+
maxItems: 100
|
|
56070
|
+
items:
|
|
56071
|
+
type: string
|
|
56072
|
+
minLength: 1
|
|
56073
|
+
description: Extensions to enable using their default versions and schemas.
|
|
56055
56074
|
version:
|
|
56056
56075
|
type: string
|
|
56057
56076
|
description: The version of the extension to install.
|
|
56058
56077
|
schema:
|
|
56059
56078
|
type: string
|
|
56060
56079
|
description: The schema where the extension is installed.
|
|
56080
|
+
PgCreateExtensionStatus:
|
|
56081
|
+
type: string
|
|
56082
|
+
enum:
|
|
56083
|
+
- installed
|
|
56084
|
+
- already_installed
|
|
56085
|
+
- scheduled
|
|
56086
|
+
- failed
|
|
56087
|
+
PgCreateExtensionResult:
|
|
56088
|
+
type: object
|
|
56089
|
+
required:
|
|
56090
|
+
- database
|
|
56091
|
+
- name
|
|
56092
|
+
- status
|
|
56093
|
+
properties:
|
|
56094
|
+
database:
|
|
56095
|
+
type: string
|
|
56096
|
+
name:
|
|
56097
|
+
type: string
|
|
56098
|
+
status:
|
|
56099
|
+
$ref: '#/components/schemas/PgCreateExtensionStatus'
|
|
56100
|
+
description: Scheduled means accepted for installation after the reconfiguration task, not installed yet.
|
|
56101
|
+
error:
|
|
56102
|
+
type: string
|
|
56103
|
+
description: The error for an extension that failed to install or schedule.
|
|
56061
56104
|
createPgExtensionResp:
|
|
56062
56105
|
type: object
|
|
56106
|
+
required:
|
|
56107
|
+
- items
|
|
56063
56108
|
properties:
|
|
56064
56109
|
opsRequestResult:
|
|
56065
|
-
type: object
|
|
56066
56110
|
$ref: '#/components/schemas/opsRequestName'
|
|
56067
|
-
|
|
56068
|
-
type:
|
|
56069
|
-
|
|
56111
|
+
items:
|
|
56112
|
+
type: array
|
|
56113
|
+
items:
|
|
56114
|
+
$ref: '#/components/schemas/PgCreateExtensionResult'
|
|
56070
56115
|
encryptionAlgorithm:
|
|
56071
56116
|
description: the encryption algorithm
|
|
56072
56117
|
type: string
|
|
@@ -57446,6 +57491,10 @@ components:
|
|
|
57446
57491
|
definition:
|
|
57447
57492
|
$ref: '#/components/schemas/definitionEndpoint'
|
|
57448
57493
|
nullable: true
|
|
57494
|
+
channelNum:
|
|
57495
|
+
type: integer
|
|
57496
|
+
description: the number of channels associated with this endpoint
|
|
57497
|
+
nullable: true
|
|
57449
57498
|
description:
|
|
57450
57499
|
type: string
|
|
57451
57500
|
nullable: true
|
|
@@ -953,6 +953,8 @@ models/performance-trends.ts
|
|
|
953
953
|
models/permission-list.ts
|
|
954
954
|
models/permission.ts
|
|
955
955
|
models/pg-create-extension-opt.ts
|
|
956
|
+
models/pg-create-extension-result.ts
|
|
957
|
+
models/pg-create-extension-status.ts
|
|
956
958
|
models/pg-extension-available-database-schema.ts
|
|
957
959
|
models/pg-extension.ts
|
|
958
960
|
models/pgbench.ts
|
|
@@ -36,8 +36,8 @@ import type { PgExtension } from '../models';
|
|
|
36
36
|
export const PostgresqlApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
37
37
|
return {
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
40
|
-
* @summary
|
|
39
|
+
* Enable one or more PostgreSQL extensions across selected databases, returning a result for each database-extension pair.
|
|
40
|
+
* @summary Enable PostgreSQL extensions in selected databases
|
|
41
41
|
* @param {string} orgName Organization name
|
|
42
42
|
* @param {string} clusterName name of the cluster
|
|
43
43
|
* @param {PgCreateExtensionOpt} pgCreateExtensionOpt
|
|
@@ -208,8 +208,8 @@ export const PostgresqlApiFp = function(configuration?: Configuration) {
|
|
|
208
208
|
const localVarAxiosParamCreator = PostgresqlApiAxiosParamCreator(configuration)
|
|
209
209
|
return {
|
|
210
210
|
/**
|
|
211
|
-
*
|
|
212
|
-
* @summary
|
|
211
|
+
* Enable one or more PostgreSQL extensions across selected databases, returning a result for each database-extension pair.
|
|
212
|
+
* @summary Enable PostgreSQL extensions in selected databases
|
|
213
213
|
* @param {string} orgName Organization name
|
|
214
214
|
* @param {string} clusterName name of the cluster
|
|
215
215
|
* @param {PgCreateExtensionOpt} pgCreateExtensionOpt
|
|
@@ -265,8 +265,8 @@ export const PostgresqlApiFactory = function (configuration?: Configuration, bas
|
|
|
265
265
|
const localVarFp = PostgresqlApiFp(configuration)
|
|
266
266
|
return {
|
|
267
267
|
/**
|
|
268
|
-
*
|
|
269
|
-
* @summary
|
|
268
|
+
* Enable one or more PostgreSQL extensions across selected databases, returning a result for each database-extension pair.
|
|
269
|
+
* @summary Enable PostgreSQL extensions in selected databases
|
|
270
270
|
* @param {PostgresqlApiCreatePGExtensionRequest} requestParameters Request parameters.
|
|
271
271
|
* @param {*} [options] Override http request option.
|
|
272
272
|
* @throws {RequiredError}
|
|
@@ -304,8 +304,8 @@ export const PostgresqlApiFactory = function (configuration?: Configuration, bas
|
|
|
304
304
|
*/
|
|
305
305
|
export interface PostgresqlApiInterface {
|
|
306
306
|
/**
|
|
307
|
-
*
|
|
308
|
-
* @summary
|
|
307
|
+
* Enable one or more PostgreSQL extensions across selected databases, returning a result for each database-extension pair.
|
|
308
|
+
* @summary Enable PostgreSQL extensions in selected databases
|
|
309
309
|
* @param {PostgresqlApiCreatePGExtensionRequest} requestParameters Request parameters.
|
|
310
310
|
* @param {*} [options] Override http request option.
|
|
311
311
|
* @throws {RequiredError}
|
|
@@ -441,8 +441,8 @@ export interface PostgresqlApiListPGExtensionsRequest {
|
|
|
441
441
|
*/
|
|
442
442
|
export class PostgresqlApi extends BaseAPI implements PostgresqlApiInterface {
|
|
443
443
|
/**
|
|
444
|
-
*
|
|
445
|
-
* @summary
|
|
444
|
+
* Enable one or more PostgreSQL extensions across selected databases, returning a result for each database-extension pair.
|
|
445
|
+
* @summary Enable PostgreSQL extensions in selected databases
|
|
446
446
|
* @param {PostgresqlApiCreatePGExtensionRequest} requestParameters Request parameters.
|
|
447
447
|
* @param {*} [options] Override http request option.
|
|
448
448
|
* @throws {RequiredError}
|
|
@@ -87,11 +87,17 @@ export interface AccountOption {
|
|
|
87
87
|
*/
|
|
88
88
|
'supportServiceAccount'?: boolean;
|
|
89
89
|
/**
|
|
90
|
-
* Account names that cannot be deleted, locked, or
|
|
90
|
+
* Account names that cannot be deleted, locked, unlocked, or have their privileges modified. This does not hide accounts or restrict password changes.
|
|
91
91
|
* @type {Array<string>}
|
|
92
92
|
* @memberof AccountOption
|
|
93
93
|
*/
|
|
94
94
|
'protectedAccounts'?: Array<string>;
|
|
95
|
+
/**
|
|
96
|
+
* Account names hidden from the generic account list. Matching is case-sensitive, without whitespace normalization or patterns. Other accounts remain visible subject to existing displayRootAccount rules.
|
|
97
|
+
* @type {Array<string>}
|
|
98
|
+
* @memberof AccountOption
|
|
99
|
+
*/
|
|
100
|
+
'displayAccounts'?: Array<string>;
|
|
95
101
|
/**
|
|
96
102
|
*
|
|
97
103
|
* @type {boolean}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
import type { OpsRequestName } from './ops-request-name';
|
|
19
19
|
// May contain unused imports in some cases
|
|
20
20
|
// @ts-ignore
|
|
21
|
-
import type {
|
|
21
|
+
import type { PgCreateExtensionResult } from './pg-create-extension-result';
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
*
|
|
@@ -34,9 +34,9 @@ export interface CreatePgExtensionResp {
|
|
|
34
34
|
'opsRequestResult'?: OpsRequestName;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
|
-
* @type {
|
|
37
|
+
* @type {Array<PgCreateExtensionResult>}
|
|
38
38
|
* @memberof CreatePgExtensionResp
|
|
39
39
|
*/
|
|
40
|
-
'
|
|
40
|
+
'items': Array<PgCreateExtensionResult>;
|
|
41
41
|
}
|
|
42
42
|
|
|
@@ -77,6 +77,12 @@ export interface DataChannelListEndpoint {
|
|
|
77
77
|
* @memberof DataChannelListEndpoint
|
|
78
78
|
*/
|
|
79
79
|
'definition'?: DefinitionEndpoint;
|
|
80
|
+
/**
|
|
81
|
+
* the number of channels associated with this endpoint
|
|
82
|
+
* @type {number}
|
|
83
|
+
* @memberof DataChannelListEndpoint
|
|
84
|
+
*/
|
|
85
|
+
'channelNum'?: number | null;
|
|
80
86
|
/**
|
|
81
87
|
*
|
|
82
88
|
* @type {string}
|
|
@@ -855,6 +855,8 @@ export * from './performance-trends';
|
|
|
855
855
|
export * from './permission';
|
|
856
856
|
export * from './permission-list';
|
|
857
857
|
export * from './pg-create-extension-opt';
|
|
858
|
+
export * from './pg-create-extension-result';
|
|
859
|
+
export * from './pg-create-extension-status';
|
|
858
860
|
export * from './pg-extension';
|
|
859
861
|
export * from './pg-extension-available-database-schema';
|
|
860
862
|
export * from './pgbench';
|
|
@@ -21,7 +21,7 @@ import type { InstanceTemplateUpgrade } from './instance-template-upgrade';
|
|
|
21
21
|
import type { TaskSchedule } from './task-schedule';
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
|
-
* Upgrade a component
|
|
24
|
+
* Upgrade a component or selected instance templates. For template upgrades, the server overrides version with the minimum resulting template version.
|
|
25
25
|
* @export
|
|
26
26
|
* @interface OpsUpgrade
|
|
27
27
|
*/
|
|
@@ -50,6 +50,12 @@ export interface ParametersValueValue {
|
|
|
50
50
|
* @memberof ParametersValueValue
|
|
51
51
|
*/
|
|
52
52
|
'type'?: ParametersValueValueTypeEnum;
|
|
53
|
+
/**
|
|
54
|
+
* The date format used when type is date, e.g. YYYY-MM-DD hh:mm:ss.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof ParametersValueValue
|
|
57
|
+
*/
|
|
58
|
+
'dateFormat'?: string;
|
|
53
59
|
/**
|
|
54
60
|
*
|
|
55
61
|
* @type {number}
|
|
@@ -66,7 +72,8 @@ export interface ParametersValueValue {
|
|
|
66
72
|
|
|
67
73
|
export const ParametersValueValueTypeEnum = {
|
|
68
74
|
enum: 'enum',
|
|
69
|
-
number: 'number'
|
|
75
|
+
number: 'number',
|
|
76
|
+
date: 'date'
|
|
70
77
|
} as const;
|
|
71
78
|
|
|
72
79
|
export type ParametersValueValueTypeEnum = typeof ParametersValueValueTypeEnum[keyof typeof ParametersValueValueTypeEnum];
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export interface PgCreateExtensionOpt {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
25
|
-
* @type {string}
|
|
24
|
+
* Target databases. At most 100 database-extension pairs per request.
|
|
25
|
+
* @type {Array<string>}
|
|
26
26
|
* @memberof PgCreateExtensionOpt
|
|
27
27
|
*/
|
|
28
|
-
'
|
|
28
|
+
'databases': Array<string>;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
31
|
-
* @type {string}
|
|
30
|
+
* Extensions to enable using their default versions and schemas.
|
|
31
|
+
* @type {Array<string>}
|
|
32
32
|
* @memberof PgCreateExtensionOpt
|
|
33
33
|
*/
|
|
34
|
-
'
|
|
34
|
+
'names': Array<string>;
|
|
35
35
|
/**
|
|
36
36
|
* The version of the extension to install.
|
|
37
37
|
* @type {string}
|