kb-cloud-client-typescript 2.2.40 → 2.2.42
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/backup-method-api.d.ts +10 -2
- package/dist/adminapi/apis/backup-method-api.d.ts.map +1 -1
- package/dist/adminapi/apis/backup-method-api.js +10 -5
- package/dist/adminapi/apis/backup-method-api.js.map +1 -1
- package/dist/adminapi/apis/billing-api.d.ts +18 -18
- package/dist/adminapi/apis/billing-api.d.ts.map +1 -1
- package/dist/adminapi/apis/billing-api.js +13 -9
- package/dist/adminapi/apis/billing-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +10 -2
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +10 -5
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/backup-method-option.d.ts +6 -0
- package/dist/adminapi/models/backup-method-option.d.ts.map +1 -1
- package/dist/openapi/apis/backup-method-api.d.ts +10 -2
- package/dist/openapi/apis/backup-method-api.d.ts.map +1 -1
- package/dist/openapi/apis/backup-method-api.js +10 -5
- package/dist/openapi/apis/backup-method-api.js.map +1 -1
- package/dist/openapi/apis/billing-api.d.ts +18 -18
- package/dist/openapi/apis/billing-api.d.ts.map +1 -1
- package/dist/openapi/apis/billing-api.js +13 -9
- package/dist/openapi/apis/billing-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +10 -2
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +10 -5
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/backup-method-option.d.ts +6 -0
- package/dist/openapi/models/backup-method-option.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/apis/backup-method-api.ts +18 -5
- package/src/adminapi/apis/billing-api.ts +27 -23
- package/src/adminapi/apis/shared-api.ts +18 -5
- package/src/adminapi/models/backup-method-option.ts +6 -0
- package/src/adminapi.yaml +12 -0
- package/src/openapi/apis/backup-method-api.ts +18 -5
- package/src/openapi/apis/billing-api.ts +27 -23
- package/src/openapi/apis/shared-api.ts +18 -5
- package/src/openapi/models/backup-method-option.ts +6 -0
- package/src/openapi.yaml +12 -0
|
@@ -29,10 +29,11 @@ export declare const BackupMethodApiAxiosParamCreator: (configuration?: Configur
|
|
|
29
29
|
* @param {boolean} [withRestoreCluster] defined whether to search for restoring cluster.
|
|
30
30
|
* @param {boolean} [withHScale] defined whether to search for rebuilding instance.
|
|
31
31
|
* @param {string} [component] The component type is required when withRebuildInstance/withHScale is true.
|
|
32
|
+
* @param {string} [mode] The cluster mode, used to filter out unsupported backup methods.
|
|
32
33
|
* @param {*} [options] Override http request option.
|
|
33
34
|
* @throws {RequiredError}
|
|
34
35
|
*/
|
|
35
|
-
getBackupMethod: (orgName: string, engineName: string, clusterID?: string, enablePITR?: boolean, withRebuildInstance?: boolean, withRestoreCluster?: boolean, withHScale?: boolean, component?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
|
+
getBackupMethod: (orgName: string, engineName: string, clusterID?: string, enablePITR?: boolean, withRebuildInstance?: boolean, withRestoreCluster?: boolean, withHScale?: boolean, component?: string, mode?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
37
|
};
|
|
37
38
|
/**
|
|
38
39
|
* BackupMethodApi - functional programming interface
|
|
@@ -50,10 +51,11 @@ export declare const BackupMethodApiFp: (configuration?: Configuration) => {
|
|
|
50
51
|
* @param {boolean} [withRestoreCluster] defined whether to search for restoring cluster.
|
|
51
52
|
* @param {boolean} [withHScale] defined whether to search for rebuilding instance.
|
|
52
53
|
* @param {string} [component] The component type is required when withRebuildInstance/withHScale is true.
|
|
54
|
+
* @param {string} [mode] The cluster mode, used to filter out unsupported backup methods.
|
|
53
55
|
* @param {*} [options] Override http request option.
|
|
54
56
|
* @throws {RequiredError}
|
|
55
57
|
*/
|
|
56
|
-
getBackupMethod(orgName: string, engineName: string, clusterID?: string, enablePITR?: boolean, withRebuildInstance?: boolean, withRestoreCluster?: boolean, withHScale?: boolean, component?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterBackupMethod>>;
|
|
58
|
+
getBackupMethod(orgName: string, engineName: string, clusterID?: string, enablePITR?: boolean, withRebuildInstance?: boolean, withRestoreCluster?: boolean, withHScale?: boolean, component?: string, mode?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterBackupMethod>>;
|
|
57
59
|
};
|
|
58
60
|
/**
|
|
59
61
|
* BackupMethodApi - factory interface
|
|
@@ -139,6 +141,12 @@ export interface BackupMethodApiGetBackupMethodRequest {
|
|
|
139
141
|
* @memberof BackupMethodApiGetBackupMethod
|
|
140
142
|
*/
|
|
141
143
|
readonly component?: string;
|
|
144
|
+
/**
|
|
145
|
+
* The cluster mode, used to filter out unsupported backup methods.
|
|
146
|
+
* @type {string}
|
|
147
|
+
* @memberof BackupMethodApiGetBackupMethod
|
|
148
|
+
*/
|
|
149
|
+
readonly mode?: string;
|
|
142
150
|
}
|
|
143
151
|
/**
|
|
144
152
|
* BackupMethodApi - object-oriented interface
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backup-method-api.d.ts","sourceRoot":"","sources":["../../../src/adminapi/apis/backup-method-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAMhF,OAAO,EAAiC,KAAK,WAAW,EAAE,OAAO,EAAqC,MAAM,SAAS,CAAC;AAItH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AACrD;;;GAGG;AACH,eAAO,MAAM,gCAAgC,GAAa,gBAAgB,aAAa;I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AAwB;IACrC;;;;;;;OAOG;IACH,eAAe,CAAC,iBAAiB,EAAE,qCAAqC,EAAE,OAAO,CAAC,EAAE,qBAAqB,GAAG,YAAY,CAAC,mBAAmB,CAAC,CAAC;CAEjJ;AAED;;;;GAIG;AACH,MAAM,WAAW,qCAAqC;IAClD;;;;OAIG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IAExB;;;;OAIG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;IAE3B;;;;OAIG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;IAE3B;;;;OAIG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,OAAO,CAAA;IAE7B;;;;OAIG;IACH,QAAQ,CAAC,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAEtC;;;;OAIG;IACH,QAAQ,CAAC,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAErC;;;;OAIG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,OAAO,CAAA;IAE7B;;;;OAIG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;IAE3B;;;;OAIG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CACzB;AAED;;;;;GAKG;AACH,qBAAa,eAAgB,SAAQ,OAAQ,YAAW,wBAAwB;IAC5E;;;;;;;OAOG;IACI,eAAe,CAAC,iBAAiB,EAAE,qCAAqC,EAAE,OAAO,CAAC,EAAE,qBAAqB;CAGnH"}
|
|
@@ -40,10 +40,11 @@ const BackupMethodApiAxiosParamCreator = function (configuration) {
|
|
|
40
40
|
* @param {boolean} [withRestoreCluster] defined whether to search for restoring cluster.
|
|
41
41
|
* @param {boolean} [withHScale] defined whether to search for rebuilding instance.
|
|
42
42
|
* @param {string} [component] The component type is required when withRebuildInstance/withHScale is true.
|
|
43
|
+
* @param {string} [mode] The cluster mode, used to filter out unsupported backup methods.
|
|
43
44
|
* @param {*} [options] Override http request option.
|
|
44
45
|
* @throws {RequiredError}
|
|
45
46
|
*/
|
|
46
|
-
getBackupMethod: async (orgName, engineName, clusterID, enablePITR, withRebuildInstance, withRestoreCluster, withHScale, component, options = {}) => {
|
|
47
|
+
getBackupMethod: async (orgName, engineName, clusterID, enablePITR, withRebuildInstance, withRestoreCluster, withHScale, component, mode, options = {}) => {
|
|
47
48
|
// verify required parameter 'orgName' is not null or undefined
|
|
48
49
|
(0, common_1.assertParamExists)('getBackupMethod', 'orgName', orgName);
|
|
49
50
|
// verify required parameter 'engineName' is not null or undefined
|
|
@@ -83,6 +84,9 @@ const BackupMethodApiAxiosParamCreator = function (configuration) {
|
|
|
83
84
|
if (component !== undefined) {
|
|
84
85
|
localVarQueryParameter['component'] = component;
|
|
85
86
|
}
|
|
87
|
+
if (mode !== undefined) {
|
|
88
|
+
localVarQueryParameter['mode'] = mode;
|
|
89
|
+
}
|
|
86
90
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
87
91
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
88
92
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -112,12 +116,13 @@ const BackupMethodApiFp = function (configuration) {
|
|
|
112
116
|
* @param {boolean} [withRestoreCluster] defined whether to search for restoring cluster.
|
|
113
117
|
* @param {boolean} [withHScale] defined whether to search for rebuilding instance.
|
|
114
118
|
* @param {string} [component] The component type is required when withRebuildInstance/withHScale is true.
|
|
119
|
+
* @param {string} [mode] The cluster mode, used to filter out unsupported backup methods.
|
|
115
120
|
* @param {*} [options] Override http request option.
|
|
116
121
|
* @throws {RequiredError}
|
|
117
122
|
*/
|
|
118
|
-
async getBackupMethod(orgName, engineName, clusterID, enablePITR, withRebuildInstance, withRestoreCluster, withHScale, component, options) {
|
|
123
|
+
async getBackupMethod(orgName, engineName, clusterID, enablePITR, withRebuildInstance, withRestoreCluster, withHScale, component, mode, options) {
|
|
119
124
|
var _a, _b, _c;
|
|
120
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getBackupMethod(orgName, engineName, clusterID, enablePITR, withRebuildInstance, withRestoreCluster, withHScale, component, options);
|
|
125
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBackupMethod(orgName, engineName, clusterID, enablePITR, withRebuildInstance, withRestoreCluster, withHScale, component, mode, options);
|
|
121
126
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
122
127
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BackupMethodApi.getBackupMethod']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
123
128
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -140,7 +145,7 @@ const BackupMethodApiFactory = function (configuration, basePath, axios) {
|
|
|
140
145
|
* @throws {RequiredError}
|
|
141
146
|
*/
|
|
142
147
|
getBackupMethod(requestParameters, options) {
|
|
143
|
-
return localVarFp.getBackupMethod(requestParameters.orgName, requestParameters.engineName, requestParameters.clusterID, requestParameters.enablePITR, requestParameters.withRebuildInstance, requestParameters.withRestoreCluster, requestParameters.withHScale, requestParameters.component, options).then((request) => request(axios, basePath));
|
|
148
|
+
return localVarFp.getBackupMethod(requestParameters.orgName, requestParameters.engineName, requestParameters.clusterID, requestParameters.enablePITR, requestParameters.withRebuildInstance, requestParameters.withRestoreCluster, requestParameters.withHScale, requestParameters.component, requestParameters.mode, options).then((request) => request(axios, basePath));
|
|
144
149
|
},
|
|
145
150
|
};
|
|
146
151
|
};
|
|
@@ -161,7 +166,7 @@ class BackupMethodApi extends base_1.BaseAPI {
|
|
|
161
166
|
* @memberof BackupMethodApi
|
|
162
167
|
*/
|
|
163
168
|
getBackupMethod(requestParameters, options) {
|
|
164
|
-
return (0, exports.BackupMethodApiFp)(this.configuration).getBackupMethod(requestParameters.orgName, requestParameters.engineName, requestParameters.clusterID, requestParameters.enablePITR, requestParameters.withRebuildInstance, requestParameters.withRestoreCluster, requestParameters.withHScale, requestParameters.component, options).then((request) => request(this.axios, this.basePath));
|
|
169
|
+
return (0, exports.BackupMethodApiFp)(this.configuration).getBackupMethod(requestParameters.orgName, requestParameters.engineName, requestParameters.clusterID, requestParameters.enablePITR, requestParameters.withRebuildInstance, requestParameters.withRestoreCluster, requestParameters.withHScale, requestParameters.component, requestParameters.mode, options).then((request) => request(this.axios, this.basePath));
|
|
165
170
|
}
|
|
166
171
|
}
|
|
167
172
|
exports.BackupMethodApi = BackupMethodApi;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backup-method-api.js","sourceRoot":"","sources":["../../../src/adminapi/apis/backup-method-api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;AAKH,kDAAgC;AAChC,yDAAyD;AACzD,aAAa;AACb,sCAA6N;AAC7N,aAAa;AACb,kCAAsH;AAKtH;;;GAGG;AACI,MAAM,gCAAgC,GAAG,UAAU,aAA6B;IACnF,OAAO;QACH
|
|
1
|
+
{"version":3,"file":"backup-method-api.js","sourceRoot":"","sources":["../../../src/adminapi/apis/backup-method-api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;AAKH,kDAAgC;AAChC,yDAAyD;AACzD,aAAa;AACb,sCAA6N;AAC7N,aAAa;AACb,kCAAsH;AAKtH;;;GAGG;AACI,MAAM,gCAAgC,GAAG,UAAU,aAA6B;IACnF,OAAO;QACH;;;;;;;;;;;;;;WAcG;QACH,eAAe,EAAE,KAAK,EAAE,OAAe,EAAE,UAAkB,EAAE,SAAkB,EAAE,UAAoB,EAAE,mBAA6B,EAAE,kBAA4B,EAAE,UAAoB,EAAE,S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EAAE,CAAC,OAAO,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC;QAC/W,CAAC;KACJ,CAAC;AACN,CAAC,CAAC;AAdW,QAAA,sBAAsB,0BAcjC;AA0FF;;;;;GAKG;AACH,MAAa,eAAgB,SAAQ,cAAO;IACxC;;;;;;;OAOG;IACI,eAAe,CAAC,iBAAwD,EAAE,OAA+B;QAC5G,OAAO,IAAA,yBAAiB,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,eAAe,CAAC,iBAAiB,CAAC,OAAO,EAAE,iBAAiB,CAAC,UAAU,EAAE,iBAAiB,CAAC,SAAS,EAAE,iBAAiB,CAAC,UAAU,EAAE,iBAAiB,CAAC,mBAAmB,EAAE,iBAAiB,CAAC,kBAAkB,EAAE,iBAAiB,CAAC,UAAU,EAAE,iBAAiB,CAAC,SAAS,EAAE,iBAAiB,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IACpZ,CAAC;CACJ;AAZD,0CAYC"}
|
|
@@ -24,18 +24,18 @@ export declare const BillingApiAxiosParamCreator: (configuration?: Configuration
|
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @summary List bills
|
|
27
|
+
* @param {AggregationTimeType} aggregationTime The type of aggregation time
|
|
28
|
+
* @param {AggregationGroupType} aggregationGroup The type of aggregation group
|
|
27
29
|
* @param {number} start The start of the time range for the query, unit is seconds.
|
|
28
30
|
* @param {number} end The end of the time range for the query, unit is seconds.
|
|
29
31
|
* @param {string} [billID] The ID of the bill
|
|
30
32
|
* @param {string} [clusterID] The ID of the cluster
|
|
31
33
|
* @param {string} [orgName] name of the organization
|
|
32
34
|
* @param {string} [projectName] name of the project
|
|
33
|
-
* @param {AggregationTimeType} [aggregationTime] The type of aggregation time
|
|
34
|
-
* @param {AggregationGroupType} [aggregationGroup] The type of aggregation group
|
|
35
35
|
* @param {*} [options] Override http request option.
|
|
36
36
|
* @throws {RequiredError}
|
|
37
37
|
*/
|
|
38
|
-
listBills: (start: number, end: number, billID?: string, clusterID?: string, orgName?: string, projectName?: string,
|
|
38
|
+
listBills: (aggregationTime: AggregationTimeType, aggregationGroup: AggregationGroupType, start: number, end: number, billID?: string, clusterID?: string, orgName?: string, projectName?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
39
39
|
/**
|
|
40
40
|
*
|
|
41
41
|
* @summary Refresh bill
|
|
@@ -54,18 +54,18 @@ export declare const BillingApiFp: (configuration?: Configuration) => {
|
|
|
54
54
|
/**
|
|
55
55
|
*
|
|
56
56
|
* @summary List bills
|
|
57
|
+
* @param {AggregationTimeType} aggregationTime The type of aggregation time
|
|
58
|
+
* @param {AggregationGroupType} aggregationGroup The type of aggregation group
|
|
57
59
|
* @param {number} start The start of the time range for the query, unit is seconds.
|
|
58
60
|
* @param {number} end The end of the time range for the query, unit is seconds.
|
|
59
61
|
* @param {string} [billID] The ID of the bill
|
|
60
62
|
* @param {string} [clusterID] The ID of the cluster
|
|
61
63
|
* @param {string} [orgName] name of the organization
|
|
62
64
|
* @param {string} [projectName] name of the project
|
|
63
|
-
* @param {AggregationTimeType} [aggregationTime] The type of aggregation time
|
|
64
|
-
* @param {AggregationGroupType} [aggregationGroup] The type of aggregation group
|
|
65
65
|
* @param {*} [options] Override http request option.
|
|
66
66
|
* @throws {RequiredError}
|
|
67
67
|
*/
|
|
68
|
-
listBills(start: number, end: number, billID?: string, clusterID?: string, orgName?: string, projectName?: string,
|
|
68
|
+
listBills(aggregationTime: AggregationTimeType, aggregationGroup: AggregationGroupType, start: number, end: number, billID?: string, clusterID?: string, orgName?: string, projectName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BillList>>;
|
|
69
69
|
/**
|
|
70
70
|
*
|
|
71
71
|
* @summary Refresh bill
|
|
@@ -129,6 +129,18 @@ export interface BillingApiInterface {
|
|
|
129
129
|
* @interface BillingApiListBillsRequest
|
|
130
130
|
*/
|
|
131
131
|
export interface BillingApiListBillsRequest {
|
|
132
|
+
/**
|
|
133
|
+
* The type of aggregation time
|
|
134
|
+
* @type {AggregationTimeType}
|
|
135
|
+
* @memberof BillingApiListBills
|
|
136
|
+
*/
|
|
137
|
+
readonly aggregationTime: AggregationTimeType;
|
|
138
|
+
/**
|
|
139
|
+
* The type of aggregation group
|
|
140
|
+
* @type {AggregationGroupType}
|
|
141
|
+
* @memberof BillingApiListBills
|
|
142
|
+
*/
|
|
143
|
+
readonly aggregationGroup: AggregationGroupType;
|
|
132
144
|
/**
|
|
133
145
|
* The start of the time range for the query, unit is seconds.
|
|
134
146
|
* @type {number}
|
|
@@ -165,18 +177,6 @@ export interface BillingApiListBillsRequest {
|
|
|
165
177
|
* @memberof BillingApiListBills
|
|
166
178
|
*/
|
|
167
179
|
readonly projectName?: string;
|
|
168
|
-
/**
|
|
169
|
-
* The type of aggregation time
|
|
170
|
-
* @type {AggregationTimeType}
|
|
171
|
-
* @memberof BillingApiListBills
|
|
172
|
-
*/
|
|
173
|
-
readonly aggregationTime?: AggregationTimeType;
|
|
174
|
-
/**
|
|
175
|
-
* The type of aggregation group
|
|
176
|
-
* @type {AggregationGroupType}
|
|
177
|
-
* @memberof BillingApiListBills
|
|
178
|
-
*/
|
|
179
|
-
readonly aggregationGroup?: AggregationGroupType;
|
|
180
180
|
}
|
|
181
181
|
/**
|
|
182
182
|
* Request parameters for refreshBills operation in BillingApi.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"billing-api.d.ts","sourceRoot":"","sources":["../../../src/adminapi/apis/billing-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,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EAAE,mBAAmB,CAAA;IAE7C;;;;OAIG;IACH,QAAQ,CAAC,gBAAgB,EAAE,oBAAoB,CAAA;IAE/C;;;;OAIG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IAEtB;;;;OAIG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;IAEpB;;;;OAIG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;IAExB;;;;OAIG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;IAE3B;;;;OAIG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAA;IAEzB;;;;OAIG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAChC;AAED;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;;;OAIG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IAEtB;;;;OAIG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;CACvB;AAED;;;;;GAKG;AACH,qBAAa,UAAW,SAAQ,OAAQ,YAAW,mBAAmB;IAClE;;;;;;;OAOG;IACI,SAAS,CAAC,iBAAiB,EAAE,0BAA0B,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAI/F;;;;;;;OAOG;IACI,YAAY,CAAC,iBAAiB,EAAE,6BAA6B,EAAE,OAAO,CAAC,EAAE,qBAAqB;CAGxG"}
|
|
@@ -32,18 +32,22 @@ const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
34
|
* @summary List bills
|
|
35
|
+
* @param {AggregationTimeType} aggregationTime The type of aggregation time
|
|
36
|
+
* @param {AggregationGroupType} aggregationGroup The type of aggregation group
|
|
35
37
|
* @param {number} start The start of the time range for the query, unit is seconds.
|
|
36
38
|
* @param {number} end The end of the time range for the query, unit is seconds.
|
|
37
39
|
* @param {string} [billID] The ID of the bill
|
|
38
40
|
* @param {string} [clusterID] The ID of the cluster
|
|
39
41
|
* @param {string} [orgName] name of the organization
|
|
40
42
|
* @param {string} [projectName] name of the project
|
|
41
|
-
* @param {AggregationTimeType} [aggregationTime] The type of aggregation time
|
|
42
|
-
* @param {AggregationGroupType} [aggregationGroup] The type of aggregation group
|
|
43
43
|
* @param {*} [options] Override http request option.
|
|
44
44
|
* @throws {RequiredError}
|
|
45
45
|
*/
|
|
46
|
-
listBills: async (start, end, billID, clusterID, orgName, projectName,
|
|
46
|
+
listBills: async (aggregationTime, aggregationGroup, start, end, billID, clusterID, orgName, projectName, options = {}) => {
|
|
47
|
+
// verify required parameter 'aggregationTime' is not null or undefined
|
|
48
|
+
(0, common_1.assertParamExists)('listBills', 'aggregationTime', aggregationTime);
|
|
49
|
+
// verify required parameter 'aggregationGroup' is not null or undefined
|
|
50
|
+
(0, common_1.assertParamExists)('listBills', 'aggregationGroup', aggregationGroup);
|
|
47
51
|
// verify required parameter 'start' is not null or undefined
|
|
48
52
|
(0, common_1.assertParamExists)('listBills', 'start', start);
|
|
49
53
|
// verify required parameter 'end' is not null or undefined
|
|
@@ -150,20 +154,20 @@ const BillingApiFp = function (configuration) {
|
|
|
150
154
|
/**
|
|
151
155
|
*
|
|
152
156
|
* @summary List bills
|
|
157
|
+
* @param {AggregationTimeType} aggregationTime The type of aggregation time
|
|
158
|
+
* @param {AggregationGroupType} aggregationGroup The type of aggregation group
|
|
153
159
|
* @param {number} start The start of the time range for the query, unit is seconds.
|
|
154
160
|
* @param {number} end The end of the time range for the query, unit is seconds.
|
|
155
161
|
* @param {string} [billID] The ID of the bill
|
|
156
162
|
* @param {string} [clusterID] The ID of the cluster
|
|
157
163
|
* @param {string} [orgName] name of the organization
|
|
158
164
|
* @param {string} [projectName] name of the project
|
|
159
|
-
* @param {AggregationTimeType} [aggregationTime] The type of aggregation time
|
|
160
|
-
* @param {AggregationGroupType} [aggregationGroup] The type of aggregation group
|
|
161
165
|
* @param {*} [options] Override http request option.
|
|
162
166
|
* @throws {RequiredError}
|
|
163
167
|
*/
|
|
164
|
-
async listBills(start, end, billID, clusterID, orgName, projectName,
|
|
168
|
+
async listBills(aggregationTime, aggregationGroup, start, end, billID, clusterID, orgName, projectName, options) {
|
|
165
169
|
var _a, _b, _c;
|
|
166
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listBills(start, end, billID, clusterID, orgName, projectName,
|
|
170
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listBills(aggregationTime, aggregationGroup, start, end, billID, clusterID, orgName, projectName, options);
|
|
167
171
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
168
172
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingApi.listBills']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
169
173
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -201,7 +205,7 @@ const BillingApiFactory = function (configuration, basePath, axios) {
|
|
|
201
205
|
* @throws {RequiredError}
|
|
202
206
|
*/
|
|
203
207
|
listBills(requestParameters, options) {
|
|
204
|
-
return localVarFp.listBills(requestParameters.
|
|
208
|
+
return localVarFp.listBills(requestParameters.aggregationTime, requestParameters.aggregationGroup, requestParameters.start, requestParameters.end, requestParameters.billID, requestParameters.clusterID, requestParameters.orgName, requestParameters.projectName, options).then((request) => request(axios, basePath));
|
|
205
209
|
},
|
|
206
210
|
/**
|
|
207
211
|
*
|
|
@@ -232,7 +236,7 @@ class BillingApi extends base_1.BaseAPI {
|
|
|
232
236
|
* @memberof BillingApi
|
|
233
237
|
*/
|
|
234
238
|
listBills(requestParameters, options) {
|
|
235
|
-
return (0, exports.BillingApiFp)(this.configuration).listBills(requestParameters.
|
|
239
|
+
return (0, exports.BillingApiFp)(this.configuration).listBills(requestParameters.aggregationTime, requestParameters.aggregationGroup, requestParameters.start, requestParameters.end, requestParameters.billID, requestParameters.clusterID, requestParameters.orgName, requestParameters.projectName, options).then((request) => request(this.axios, this.basePath));
|
|
236
240
|
}
|
|
237
241
|
/**
|
|
238
242
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"billing-api.js","sourceRoot":"","sources":["../../../src/adminapi/apis/billing-api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;AAKH,kDAAgC;AAChC,yDAAyD;AACzD,aAAa;AACb,sCAA6N;AAC7N,aAAa;AACb,kCAAsH;AAWtH;;;GAGG;AACI,MAAM,2BAA2B,GAAG,UAAU,aAA6B;IAC9E,OAAO;QACH;;;;;;;;;;;;;WAaG;QACH,SAAS,EAAE,KAAK,EAAE,KAAa,EAAE,GAAW,EAAE,MAAe,EAAE,SAAkB,EAAE,OAAgB,EAAE,WAAoB,EAAE,
|
|
1
|
+
{"version":3,"file":"billing-api.js","sourceRoot":"","sources":["../../../src/adminapi/apis/billing-api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;AAKH,kDAAgC;AAChC,yDAAyD;AACzD,aAAa;AACb,sCAA6N;AAC7N,aAAa;AACb,kCAAsH;AAWtH;;;GAGG;AACI,MAAM,2BAA2B,GAAG,UAAU,aAA6B;IAC9E,OAAO;QACH;;;;;;;;;;;;;WAaG;QACH,SAAS,EAAE,KAAK,EAAE,eAAoC,EAAE,gBAAsC,EAAE,KAAa,EAAE,GAAW,EAAE,MAAe,EAAE,SAAkB,EAAE,OAAgB,EAAE,WAAoB,EAAE,UAAiC,EAAE,EAAwB,EAAE;YAClQ,uEAAuE;YACvE,IAAA,0BAAiB,EAAC,WAAW,EAAE,iBAAiB,EAAE,eAAe,CAAC,CAAA;YAClE,wEAAwE;YACxE,IAAA,0BAAiB,EAAC,WAAW,EAAE,kBAAkB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,iBAAiB,CAAC,gBAAgB,EAAE,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,CAAC,GAAG,EAAE,iBAAiB,CAAC,MAAM,EAAE,iBAAiB,CAAC,SAAS,EAAE,iBAAiB,CAAC,OAAO,EAAE,iBAAiB,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC7V,CAAC;IAED;;;;;;;OAOG;IACI,YAAY,CAAC,iBAAgD,EAAE,OAA+B;QACjG,OAAO,IAAA,oBAAY,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,YAAY,CAAC,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IACxK,CAAC;CACJ;AAxBD,gCAwBC"}
|
|
@@ -874,10 +874,11 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
874
874
|
* @param {boolean} [withRestoreCluster] defined whether to search for restoring cluster.
|
|
875
875
|
* @param {boolean} [withHScale] defined whether to search for rebuilding instance.
|
|
876
876
|
* @param {string} [component] The component type is required when withRebuildInstance/withHScale is true.
|
|
877
|
+
* @param {string} [mode] The cluster mode, used to filter out unsupported backup methods.
|
|
877
878
|
* @param {*} [options] Override http request option.
|
|
878
879
|
* @throws {RequiredError}
|
|
879
880
|
*/
|
|
880
|
-
getBackupMethod: (orgName: string, engineName: string, clusterID?: string, enablePITR?: boolean, withRebuildInstance?: boolean, withRestoreCluster?: boolean, withHScale?: boolean, component?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
881
|
+
getBackupMethod: (orgName: string, engineName: string, clusterID?: string, enablePITR?: boolean, withRebuildInstance?: boolean, withRestoreCluster?: boolean, withHScale?: boolean, component?: string, mode?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
881
882
|
/**
|
|
882
883
|
*
|
|
883
884
|
* @summary Get backup repo
|
|
@@ -3215,10 +3216,11 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
|
|
|
3215
3216
|
* @param {boolean} [withRestoreCluster] defined whether to search for restoring cluster.
|
|
3216
3217
|
* @param {boolean} [withHScale] defined whether to search for rebuilding instance.
|
|
3217
3218
|
* @param {string} [component] The component type is required when withRebuildInstance/withHScale is true.
|
|
3219
|
+
* @param {string} [mode] The cluster mode, used to filter out unsupported backup methods.
|
|
3218
3220
|
* @param {*} [options] Override http request option.
|
|
3219
3221
|
* @throws {RequiredError}
|
|
3220
3222
|
*/
|
|
3221
|
-
getBackupMethod(orgName: string, engineName: string, clusterID?: string, enablePITR?: boolean, withRebuildInstance?: boolean, withRestoreCluster?: boolean, withHScale?: boolean, component?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterBackupMethod>>;
|
|
3223
|
+
getBackupMethod(orgName: string, engineName: string, clusterID?: string, enablePITR?: boolean, withRebuildInstance?: boolean, withRestoreCluster?: boolean, withHScale?: boolean, component?: string, mode?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterBackupMethod>>;
|
|
3222
3224
|
/**
|
|
3223
3225
|
*
|
|
3224
3226
|
* @summary Get backup repo
|
|
@@ -10454,6 +10456,12 @@ export interface SharedApiGetBackupMethodRequest {
|
|
|
10454
10456
|
* @memberof SharedApiGetBackupMethod
|
|
10455
10457
|
*/
|
|
10456
10458
|
readonly component?: string;
|
|
10459
|
+
/**
|
|
10460
|
+
* The cluster mode, used to filter out unsupported backup methods.
|
|
10461
|
+
* @type {string}
|
|
10462
|
+
* @memberof SharedApiGetBackupMethod
|
|
10463
|
+
*/
|
|
10464
|
+
readonly mode?: string;
|
|
10457
10465
|
}
|
|
10458
10466
|
/**
|
|
10459
10467
|
* Request parameters for getBackupRepo operation in SharedApi.
|