qovery-typescript-axios 1.1.804 → 1.1.806
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/api.ts +12 -274
- package/dist/api.d.ts +12 -129
- package/dist/api.js +7 -264
- package/dist/esm/api.d.ts +12 -129
- package/dist/esm/api.js +0 -253
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1333,6 +1333,12 @@ export interface ApplicationAdvancedSettings {
|
|
|
1333
1333
|
* @memberof ApplicationAdvancedSettings
|
|
1334
1334
|
*/
|
|
1335
1335
|
'hpa.cpu.average_utilization_percent'?: number;
|
|
1336
|
+
/**
|
|
1337
|
+
* Percentage value of memory usage at which point pods should scale up.
|
|
1338
|
+
* @type {number}
|
|
1339
|
+
* @memberof ApplicationAdvancedSettings
|
|
1340
|
+
*/
|
|
1341
|
+
'hpa.memory.average_utilization_percent'?: number | null;
|
|
1336
1342
|
/**
|
|
1337
1343
|
* Allows you to set an existing Kubernetes service account name
|
|
1338
1344
|
* @type {string}
|
|
@@ -5116,6 +5122,12 @@ export interface ContainerAdvancedSettings {
|
|
|
5116
5122
|
* @memberof ContainerAdvancedSettings
|
|
5117
5123
|
*/
|
|
5118
5124
|
'hpa.cpu.average_utilization_percent'?: number;
|
|
5125
|
+
/**
|
|
5126
|
+
* Percentage value of memory usage at which point pods should scale up.
|
|
5127
|
+
* @type {number}
|
|
5128
|
+
* @memberof ContainerAdvancedSettings
|
|
5129
|
+
*/
|
|
5130
|
+
'hpa.memory.average_utilization_percent'?: number | null;
|
|
5119
5131
|
/**
|
|
5120
5132
|
* Automount Kubernetes service account token to have access to Kubernetes API from pods
|
|
5121
5133
|
* @type {boolean}
|
|
@@ -26137,280 +26149,6 @@ export class ApplicationsApi extends BaseAPI {
|
|
|
26137
26149
|
|
|
26138
26150
|
|
|
26139
26151
|
|
|
26140
|
-
/**
|
|
26141
|
-
* AutoscalingPolicyApi - axios parameter creator
|
|
26142
|
-
* @export
|
|
26143
|
-
*/
|
|
26144
|
-
export const AutoscalingPolicyApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
26145
|
-
return {
|
|
26146
|
-
/**
|
|
26147
|
-
*
|
|
26148
|
-
* @summary createOrUpdateServiceAutoscaling
|
|
26149
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
26150
|
-
* @param {AutoscalingPolicyRequest} [autoscalingPolicyRequest]
|
|
26151
|
-
* @param {*} [options] Override http request option.
|
|
26152
|
-
* @throws {RequiredError}
|
|
26153
|
-
*/
|
|
26154
|
-
createOrUpdateServiceAutoscaling: async (serviceId: string, autoscalingPolicyRequest?: AutoscalingPolicyRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26155
|
-
// verify required parameter 'serviceId' is not null or undefined
|
|
26156
|
-
assertParamExists('createOrUpdateServiceAutoscaling', 'serviceId', serviceId)
|
|
26157
|
-
const localVarPath = `/service/{serviceId}/autoscalingPolicy`
|
|
26158
|
-
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
26159
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26160
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26161
|
-
let baseOptions;
|
|
26162
|
-
if (configuration) {
|
|
26163
|
-
baseOptions = configuration.baseOptions;
|
|
26164
|
-
}
|
|
26165
|
-
|
|
26166
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
26167
|
-
const localVarHeaderParameter = {} as any;
|
|
26168
|
-
const localVarQueryParameter = {} as any;
|
|
26169
|
-
|
|
26170
|
-
// authentication ApiKeyAuth required
|
|
26171
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
26172
|
-
|
|
26173
|
-
// authentication bearerAuth required
|
|
26174
|
-
// http bearer authentication required
|
|
26175
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
26176
|
-
|
|
26177
|
-
|
|
26178
|
-
|
|
26179
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26180
|
-
|
|
26181
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26182
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26183
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
26184
|
-
localVarRequestOptions.data = serializeDataIfNeeded(autoscalingPolicyRequest, localVarRequestOptions, configuration)
|
|
26185
|
-
|
|
26186
|
-
return {
|
|
26187
|
-
url: toPathString(localVarUrlObj),
|
|
26188
|
-
options: localVarRequestOptions,
|
|
26189
|
-
};
|
|
26190
|
-
},
|
|
26191
|
-
/**
|
|
26192
|
-
*
|
|
26193
|
-
* @summary deleteServiceAutoscaling
|
|
26194
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
26195
|
-
* @param {*} [options] Override http request option.
|
|
26196
|
-
* @throws {RequiredError}
|
|
26197
|
-
*/
|
|
26198
|
-
deleteServiceAutoscaling: async (serviceId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26199
|
-
// verify required parameter 'serviceId' is not null or undefined
|
|
26200
|
-
assertParamExists('deleteServiceAutoscaling', 'serviceId', serviceId)
|
|
26201
|
-
const localVarPath = `/service/{serviceId}/autoscalingPolicy`
|
|
26202
|
-
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
26203
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26204
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26205
|
-
let baseOptions;
|
|
26206
|
-
if (configuration) {
|
|
26207
|
-
baseOptions = configuration.baseOptions;
|
|
26208
|
-
}
|
|
26209
|
-
|
|
26210
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
26211
|
-
const localVarHeaderParameter = {} as any;
|
|
26212
|
-
const localVarQueryParameter = {} as any;
|
|
26213
|
-
|
|
26214
|
-
// authentication ApiKeyAuth required
|
|
26215
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
26216
|
-
|
|
26217
|
-
// authentication bearerAuth required
|
|
26218
|
-
// http bearer authentication required
|
|
26219
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
26220
|
-
|
|
26221
|
-
|
|
26222
|
-
|
|
26223
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26224
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26225
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
26226
|
-
|
|
26227
|
-
return {
|
|
26228
|
-
url: toPathString(localVarUrlObj),
|
|
26229
|
-
options: localVarRequestOptions,
|
|
26230
|
-
};
|
|
26231
|
-
},
|
|
26232
|
-
/**
|
|
26233
|
-
*
|
|
26234
|
-
* @summary getServiceAutoscaling
|
|
26235
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
26236
|
-
* @param {*} [options] Override http request option.
|
|
26237
|
-
* @throws {RequiredError}
|
|
26238
|
-
*/
|
|
26239
|
-
getServiceAutoscaling: async (serviceId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26240
|
-
// verify required parameter 'serviceId' is not null or undefined
|
|
26241
|
-
assertParamExists('getServiceAutoscaling', 'serviceId', serviceId)
|
|
26242
|
-
const localVarPath = `/service/{serviceId}/autoscalingPolicy`
|
|
26243
|
-
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
26244
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26245
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26246
|
-
let baseOptions;
|
|
26247
|
-
if (configuration) {
|
|
26248
|
-
baseOptions = configuration.baseOptions;
|
|
26249
|
-
}
|
|
26250
|
-
|
|
26251
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
26252
|
-
const localVarHeaderParameter = {} as any;
|
|
26253
|
-
const localVarQueryParameter = {} as any;
|
|
26254
|
-
|
|
26255
|
-
// authentication ApiKeyAuth required
|
|
26256
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
26257
|
-
|
|
26258
|
-
// authentication bearerAuth required
|
|
26259
|
-
// http bearer authentication required
|
|
26260
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
26261
|
-
|
|
26262
|
-
|
|
26263
|
-
|
|
26264
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26265
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26266
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
26267
|
-
|
|
26268
|
-
return {
|
|
26269
|
-
url: toPathString(localVarUrlObj),
|
|
26270
|
-
options: localVarRequestOptions,
|
|
26271
|
-
};
|
|
26272
|
-
},
|
|
26273
|
-
}
|
|
26274
|
-
};
|
|
26275
|
-
|
|
26276
|
-
/**
|
|
26277
|
-
* AutoscalingPolicyApi - functional programming interface
|
|
26278
|
-
* @export
|
|
26279
|
-
*/
|
|
26280
|
-
export const AutoscalingPolicyApiFp = function(configuration?: Configuration) {
|
|
26281
|
-
const localVarAxiosParamCreator = AutoscalingPolicyApiAxiosParamCreator(configuration)
|
|
26282
|
-
return {
|
|
26283
|
-
/**
|
|
26284
|
-
*
|
|
26285
|
-
* @summary createOrUpdateServiceAutoscaling
|
|
26286
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
26287
|
-
* @param {AutoscalingPolicyRequest} [autoscalingPolicyRequest]
|
|
26288
|
-
* @param {*} [options] Override http request option.
|
|
26289
|
-
* @throws {RequiredError}
|
|
26290
|
-
*/
|
|
26291
|
-
async createOrUpdateServiceAutoscaling(serviceId: string, autoscalingPolicyRequest?: AutoscalingPolicyRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AutoscalingPolicyResponse>> {
|
|
26292
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createOrUpdateServiceAutoscaling(serviceId, autoscalingPolicyRequest, options);
|
|
26293
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
26294
|
-
const localVarOperationServerBasePath = operationServerMap['AutoscalingPolicyApi.createOrUpdateServiceAutoscaling']?.[localVarOperationServerIndex]?.url;
|
|
26295
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26296
|
-
},
|
|
26297
|
-
/**
|
|
26298
|
-
*
|
|
26299
|
-
* @summary deleteServiceAutoscaling
|
|
26300
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
26301
|
-
* @param {*} [options] Override http request option.
|
|
26302
|
-
* @throws {RequiredError}
|
|
26303
|
-
*/
|
|
26304
|
-
async deleteServiceAutoscaling(serviceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
26305
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteServiceAutoscaling(serviceId, options);
|
|
26306
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
26307
|
-
const localVarOperationServerBasePath = operationServerMap['AutoscalingPolicyApi.deleteServiceAutoscaling']?.[localVarOperationServerIndex]?.url;
|
|
26308
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26309
|
-
},
|
|
26310
|
-
/**
|
|
26311
|
-
*
|
|
26312
|
-
* @summary getServiceAutoscaling
|
|
26313
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
26314
|
-
* @param {*} [options] Override http request option.
|
|
26315
|
-
* @throws {RequiredError}
|
|
26316
|
-
*/
|
|
26317
|
-
async getServiceAutoscaling(serviceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AutoscalingPolicyResponse>> {
|
|
26318
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getServiceAutoscaling(serviceId, options);
|
|
26319
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
26320
|
-
const localVarOperationServerBasePath = operationServerMap['AutoscalingPolicyApi.getServiceAutoscaling']?.[localVarOperationServerIndex]?.url;
|
|
26321
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26322
|
-
},
|
|
26323
|
-
}
|
|
26324
|
-
};
|
|
26325
|
-
|
|
26326
|
-
/**
|
|
26327
|
-
* AutoscalingPolicyApi - factory interface
|
|
26328
|
-
* @export
|
|
26329
|
-
*/
|
|
26330
|
-
export const AutoscalingPolicyApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
26331
|
-
const localVarFp = AutoscalingPolicyApiFp(configuration)
|
|
26332
|
-
return {
|
|
26333
|
-
/**
|
|
26334
|
-
*
|
|
26335
|
-
* @summary createOrUpdateServiceAutoscaling
|
|
26336
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
26337
|
-
* @param {AutoscalingPolicyRequest} [autoscalingPolicyRequest]
|
|
26338
|
-
* @param {*} [options] Override http request option.
|
|
26339
|
-
* @throws {RequiredError}
|
|
26340
|
-
*/
|
|
26341
|
-
createOrUpdateServiceAutoscaling(serviceId: string, autoscalingPolicyRequest?: AutoscalingPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<AutoscalingPolicyResponse> {
|
|
26342
|
-
return localVarFp.createOrUpdateServiceAutoscaling(serviceId, autoscalingPolicyRequest, options).then((request) => request(axios, basePath));
|
|
26343
|
-
},
|
|
26344
|
-
/**
|
|
26345
|
-
*
|
|
26346
|
-
* @summary deleteServiceAutoscaling
|
|
26347
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
26348
|
-
* @param {*} [options] Override http request option.
|
|
26349
|
-
* @throws {RequiredError}
|
|
26350
|
-
*/
|
|
26351
|
-
deleteServiceAutoscaling(serviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
26352
|
-
return localVarFp.deleteServiceAutoscaling(serviceId, options).then((request) => request(axios, basePath));
|
|
26353
|
-
},
|
|
26354
|
-
/**
|
|
26355
|
-
*
|
|
26356
|
-
* @summary getServiceAutoscaling
|
|
26357
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
26358
|
-
* @param {*} [options] Override http request option.
|
|
26359
|
-
* @throws {RequiredError}
|
|
26360
|
-
*/
|
|
26361
|
-
getServiceAutoscaling(serviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<AutoscalingPolicyResponse> {
|
|
26362
|
-
return localVarFp.getServiceAutoscaling(serviceId, options).then((request) => request(axios, basePath));
|
|
26363
|
-
},
|
|
26364
|
-
};
|
|
26365
|
-
};
|
|
26366
|
-
|
|
26367
|
-
/**
|
|
26368
|
-
* AutoscalingPolicyApi - object-oriented interface
|
|
26369
|
-
* @export
|
|
26370
|
-
* @class AutoscalingPolicyApi
|
|
26371
|
-
* @extends {BaseAPI}
|
|
26372
|
-
*/
|
|
26373
|
-
export class AutoscalingPolicyApi extends BaseAPI {
|
|
26374
|
-
/**
|
|
26375
|
-
*
|
|
26376
|
-
* @summary createOrUpdateServiceAutoscaling
|
|
26377
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
26378
|
-
* @param {AutoscalingPolicyRequest} [autoscalingPolicyRequest]
|
|
26379
|
-
* @param {*} [options] Override http request option.
|
|
26380
|
-
* @throws {RequiredError}
|
|
26381
|
-
* @memberof AutoscalingPolicyApi
|
|
26382
|
-
*/
|
|
26383
|
-
public createOrUpdateServiceAutoscaling(serviceId: string, autoscalingPolicyRequest?: AutoscalingPolicyRequest, options?: RawAxiosRequestConfig) {
|
|
26384
|
-
return AutoscalingPolicyApiFp(this.configuration).createOrUpdateServiceAutoscaling(serviceId, autoscalingPolicyRequest, options).then((request) => request(this.axios, this.basePath));
|
|
26385
|
-
}
|
|
26386
|
-
|
|
26387
|
-
/**
|
|
26388
|
-
*
|
|
26389
|
-
* @summary deleteServiceAutoscaling
|
|
26390
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
26391
|
-
* @param {*} [options] Override http request option.
|
|
26392
|
-
* @throws {RequiredError}
|
|
26393
|
-
* @memberof AutoscalingPolicyApi
|
|
26394
|
-
*/
|
|
26395
|
-
public deleteServiceAutoscaling(serviceId: string, options?: RawAxiosRequestConfig) {
|
|
26396
|
-
return AutoscalingPolicyApiFp(this.configuration).deleteServiceAutoscaling(serviceId, options).then((request) => request(this.axios, this.basePath));
|
|
26397
|
-
}
|
|
26398
|
-
|
|
26399
|
-
/**
|
|
26400
|
-
*
|
|
26401
|
-
* @summary getServiceAutoscaling
|
|
26402
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
26403
|
-
* @param {*} [options] Override http request option.
|
|
26404
|
-
* @throws {RequiredError}
|
|
26405
|
-
* @memberof AutoscalingPolicyApi
|
|
26406
|
-
*/
|
|
26407
|
-
public getServiceAutoscaling(serviceId: string, options?: RawAxiosRequestConfig) {
|
|
26408
|
-
return AutoscalingPolicyApiFp(this.configuration).getServiceAutoscaling(serviceId, options).then((request) => request(this.axios, this.basePath));
|
|
26409
|
-
}
|
|
26410
|
-
}
|
|
26411
|
-
|
|
26412
|
-
|
|
26413
|
-
|
|
26414
26152
|
/**
|
|
26415
26153
|
* BackupsApi - axios parameter creator
|
|
26416
26154
|
* @export
|
package/dist/api.d.ts
CHANGED
|
@@ -1261,6 +1261,12 @@ export interface ApplicationAdvancedSettings {
|
|
|
1261
1261
|
* @memberof ApplicationAdvancedSettings
|
|
1262
1262
|
*/
|
|
1263
1263
|
'hpa.cpu.average_utilization_percent'?: number;
|
|
1264
|
+
/**
|
|
1265
|
+
* Percentage value of memory usage at which point pods should scale up.
|
|
1266
|
+
* @type {number}
|
|
1267
|
+
* @memberof ApplicationAdvancedSettings
|
|
1268
|
+
*/
|
|
1269
|
+
'hpa.memory.average_utilization_percent'?: number | null;
|
|
1264
1270
|
/**
|
|
1265
1271
|
* Allows you to set an existing Kubernetes service account name
|
|
1266
1272
|
* @type {string}
|
|
@@ -4964,6 +4970,12 @@ export interface ContainerAdvancedSettings {
|
|
|
4964
4970
|
* @memberof ContainerAdvancedSettings
|
|
4965
4971
|
*/
|
|
4966
4972
|
'hpa.cpu.average_utilization_percent'?: number;
|
|
4973
|
+
/**
|
|
4974
|
+
* Percentage value of memory usage at which point pods should scale up.
|
|
4975
|
+
* @type {number}
|
|
4976
|
+
* @memberof ContainerAdvancedSettings
|
|
4977
|
+
*/
|
|
4978
|
+
'hpa.memory.average_utilization_percent'?: number | null;
|
|
4967
4979
|
/**
|
|
4968
4980
|
* Automount Kubernetes service account token to have access to Kubernetes API from pods
|
|
4969
4981
|
* @type {boolean}
|
|
@@ -22532,135 +22544,6 @@ export declare class ApplicationsApi extends BaseAPI {
|
|
|
22532
22544
|
*/
|
|
22533
22545
|
listApplication(environmentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApplicationResponseList, any, {}>>;
|
|
22534
22546
|
}
|
|
22535
|
-
/**
|
|
22536
|
-
* AutoscalingPolicyApi - axios parameter creator
|
|
22537
|
-
* @export
|
|
22538
|
-
*/
|
|
22539
|
-
export declare const AutoscalingPolicyApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22540
|
-
/**
|
|
22541
|
-
*
|
|
22542
|
-
* @summary createOrUpdateServiceAutoscaling
|
|
22543
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
22544
|
-
* @param {AutoscalingPolicyRequest} [autoscalingPolicyRequest]
|
|
22545
|
-
* @param {*} [options] Override http request option.
|
|
22546
|
-
* @throws {RequiredError}
|
|
22547
|
-
*/
|
|
22548
|
-
createOrUpdateServiceAutoscaling: (serviceId: string, autoscalingPolicyRequest?: AutoscalingPolicyRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22549
|
-
/**
|
|
22550
|
-
*
|
|
22551
|
-
* @summary deleteServiceAutoscaling
|
|
22552
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
22553
|
-
* @param {*} [options] Override http request option.
|
|
22554
|
-
* @throws {RequiredError}
|
|
22555
|
-
*/
|
|
22556
|
-
deleteServiceAutoscaling: (serviceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22557
|
-
/**
|
|
22558
|
-
*
|
|
22559
|
-
* @summary getServiceAutoscaling
|
|
22560
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
22561
|
-
* @param {*} [options] Override http request option.
|
|
22562
|
-
* @throws {RequiredError}
|
|
22563
|
-
*/
|
|
22564
|
-
getServiceAutoscaling: (serviceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22565
|
-
};
|
|
22566
|
-
/**
|
|
22567
|
-
* AutoscalingPolicyApi - functional programming interface
|
|
22568
|
-
* @export
|
|
22569
|
-
*/
|
|
22570
|
-
export declare const AutoscalingPolicyApiFp: (configuration?: Configuration) => {
|
|
22571
|
-
/**
|
|
22572
|
-
*
|
|
22573
|
-
* @summary createOrUpdateServiceAutoscaling
|
|
22574
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
22575
|
-
* @param {AutoscalingPolicyRequest} [autoscalingPolicyRequest]
|
|
22576
|
-
* @param {*} [options] Override http request option.
|
|
22577
|
-
* @throws {RequiredError}
|
|
22578
|
-
*/
|
|
22579
|
-
createOrUpdateServiceAutoscaling(serviceId: string, autoscalingPolicyRequest?: AutoscalingPolicyRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AutoscalingPolicyResponse>>;
|
|
22580
|
-
/**
|
|
22581
|
-
*
|
|
22582
|
-
* @summary deleteServiceAutoscaling
|
|
22583
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
22584
|
-
* @param {*} [options] Override http request option.
|
|
22585
|
-
* @throws {RequiredError}
|
|
22586
|
-
*/
|
|
22587
|
-
deleteServiceAutoscaling(serviceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
22588
|
-
/**
|
|
22589
|
-
*
|
|
22590
|
-
* @summary getServiceAutoscaling
|
|
22591
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
22592
|
-
* @param {*} [options] Override http request option.
|
|
22593
|
-
* @throws {RequiredError}
|
|
22594
|
-
*/
|
|
22595
|
-
getServiceAutoscaling(serviceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AutoscalingPolicyResponse>>;
|
|
22596
|
-
};
|
|
22597
|
-
/**
|
|
22598
|
-
* AutoscalingPolicyApi - factory interface
|
|
22599
|
-
* @export
|
|
22600
|
-
*/
|
|
22601
|
-
export declare const AutoscalingPolicyApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
22602
|
-
/**
|
|
22603
|
-
*
|
|
22604
|
-
* @summary createOrUpdateServiceAutoscaling
|
|
22605
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
22606
|
-
* @param {AutoscalingPolicyRequest} [autoscalingPolicyRequest]
|
|
22607
|
-
* @param {*} [options] Override http request option.
|
|
22608
|
-
* @throws {RequiredError}
|
|
22609
|
-
*/
|
|
22610
|
-
createOrUpdateServiceAutoscaling(serviceId: string, autoscalingPolicyRequest?: AutoscalingPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<AutoscalingPolicyResponse>;
|
|
22611
|
-
/**
|
|
22612
|
-
*
|
|
22613
|
-
* @summary deleteServiceAutoscaling
|
|
22614
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
22615
|
-
* @param {*} [options] Override http request option.
|
|
22616
|
-
* @throws {RequiredError}
|
|
22617
|
-
*/
|
|
22618
|
-
deleteServiceAutoscaling(serviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
22619
|
-
/**
|
|
22620
|
-
*
|
|
22621
|
-
* @summary getServiceAutoscaling
|
|
22622
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
22623
|
-
* @param {*} [options] Override http request option.
|
|
22624
|
-
* @throws {RequiredError}
|
|
22625
|
-
*/
|
|
22626
|
-
getServiceAutoscaling(serviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<AutoscalingPolicyResponse>;
|
|
22627
|
-
};
|
|
22628
|
-
/**
|
|
22629
|
-
* AutoscalingPolicyApi - object-oriented interface
|
|
22630
|
-
* @export
|
|
22631
|
-
* @class AutoscalingPolicyApi
|
|
22632
|
-
* @extends {BaseAPI}
|
|
22633
|
-
*/
|
|
22634
|
-
export declare class AutoscalingPolicyApi extends BaseAPI {
|
|
22635
|
-
/**
|
|
22636
|
-
*
|
|
22637
|
-
* @summary createOrUpdateServiceAutoscaling
|
|
22638
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
22639
|
-
* @param {AutoscalingPolicyRequest} [autoscalingPolicyRequest]
|
|
22640
|
-
* @param {*} [options] Override http request option.
|
|
22641
|
-
* @throws {RequiredError}
|
|
22642
|
-
* @memberof AutoscalingPolicyApi
|
|
22643
|
-
*/
|
|
22644
|
-
createOrUpdateServiceAutoscaling(serviceId: string, autoscalingPolicyRequest?: AutoscalingPolicyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AutoscalingPolicyResponse, any, {}>>;
|
|
22645
|
-
/**
|
|
22646
|
-
*
|
|
22647
|
-
* @summary deleteServiceAutoscaling
|
|
22648
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
22649
|
-
* @param {*} [options] Override http request option.
|
|
22650
|
-
* @throws {RequiredError}
|
|
22651
|
-
* @memberof AutoscalingPolicyApi
|
|
22652
|
-
*/
|
|
22653
|
-
deleteServiceAutoscaling(serviceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
22654
|
-
/**
|
|
22655
|
-
*
|
|
22656
|
-
* @summary getServiceAutoscaling
|
|
22657
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
22658
|
-
* @param {*} [options] Override http request option.
|
|
22659
|
-
* @throws {RequiredError}
|
|
22660
|
-
* @memberof AutoscalingPolicyApi
|
|
22661
|
-
*/
|
|
22662
|
-
getServiceAutoscaling(serviceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AutoscalingPolicyResponse, any, {}>>;
|
|
22663
|
-
}
|
|
22664
22547
|
/**
|
|
22665
22548
|
* BackupsApi - axios parameter creator
|
|
22666
22549
|
* @export
|
package/dist/api.js
CHANGED
|
@@ -25,13 +25,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
25
25
|
exports.EksInfrastructureOutputsKindEnum = exports.DockerfileFragmentInlineTypeEnum = exports.DockerfileFragmentFileTypeEnum = exports.DeploymentRestrictionTypeEnum = exports.DeploymentRestrictionModeEnum = exports.DeploymentHistoryTriggerAction = exports.DeploymentHistoryStatusEnum = exports.DeploymentHistoryServiceDetailsOneOf2JobTypeEnum = exports.DeploymentHistoryActionStatus = exports.DeleteTerraformAction = exports.DatabaseTypeEnum = exports.DatabaseModeEnum = exports.DatabaseAccessibilityEnum = exports.CustomDomainStatusEnum = exports.CreateEnvironmentModeEnum = exports.CpuArchitectureEnum = exports.ContainerRegistryKindEnum = exports.ContainerRegistryAssociatedServiceType = exports.ContainerAdvancedSettingsDeploymentUpdateStrategyTypeEnum = exports.ContainerAdvancedSettingsDeploymentAntiaffinityPodEnum = exports.CompanySizeEnum = exports.ClusterStateEnum = exports.ClusterLogsStepEnum = exports.ClusterFeatureResponseTypeEnum = exports.ClusterFeatureResponseValueTypeEnum = exports.ClusterDeploymentStatusEnum = exports.ClusterDeleteMode = exports.ClusterAdvancedSettingsAwsEksEc2MetadataImdsEnum = exports.CloudVendorEnum = exports.CloudProviderEnum = exports.CheckedCustomDomainStatus = exports.BuildModeEnum = exports.AzureStaticClusterCredentialsObjectTypeEnum = exports.AwsStaticClusterCredentialsObjectTypeEnum = exports.AwsRoleClusterCredentialsObjectTypeEnum = exports.AutoscalingMode = exports.ApplicationAdvancedSettingsDeploymentUpdateStrategyTypeEnum = exports.ApplicationAdvancedSettingsDeploymentAntiaffinityPodEnum = exports.AnnotationsGroupAssociatedItemType = exports.AlertTargetType = exports.AlertSeverity = exports.AlertRuleState = exports.AlertRuleSource = exports.AlertRuleConditionOperator = exports.AlertRuleConditionKind = exports.AlertRuleConditionFunction = exports.AlertReceiverType = exports.AksInfrastructureOutputsKindEnum = exports.APIVariableTypeEnum = exports.APIVariableScopeEnum = void 0;
|
|
26
26
|
exports.ServiceLightResponseJobTypeEnum = exports.ServiceDeploymentStatusEnum = exports.ServiceActionStatusEnum = exports.ServiceActionEnum = exports.ScalewayClusterCredentialsObjectTypeEnum = exports.RewardClaimTypeEnum = exports.RegistryMirroringModeEnum = exports.QueuedDeploymentRequestWithStagesStagesInnerServicesInnerDetailsOneOfJobTypeEnum = exports.PortProtocolEnum = exports.PlanEnum = exports.OrganizationWebhookKindEnum = exports.OrganizationWebhookEventEnum = exports.OrganizationEventType = exports.OrganizationEventTargetType = exports.OrganizationEventTargetLevel = exports.OrganizationEventSubTargetType = exports.OrganizationEventOrigin = exports.OrganizationCustomRoleProjectPermission = exports.OrganizationCustomRoleClusterPermission = exports.OrganizationApiTokenScope = exports.OrganizationAnnotationsGroupScopeEnum = exports.ObservabilityResourceProfile = exports.MetricsConfigurationManagedByQoveryKindEnum = exports.LinkedServiceTypeEnum = exports.LabelsGroupAssociatedItemType = exports.KubernetesEnum = exports.KedaScalerRole = exports.KarpenterNodePoolRequirementOperator = exports.KarpenterNodePoolRequirementKey = exports.KapsuleInfrastructureOutputsKindEnum = exports.JobTypeEnum = exports.JobScheduleEvent = exports.JobLifecycleTypeEnum = exports.JobForceEvent = exports.InvoiceStatusEnum = exports.InviteStatusEnum = exports.InviteMemberRoleEnum = exports.HelmRepositoryKindEnum = exports.HelmRepositoryAssociatedServiceType = exports.HelmPortProtocolEnum = exports.HelmForceEvent = exports.GkeInfrastructureOutputsKindEnum = exports.GitTokenAssociatedServiceType = exports.GitProviderEnum = exports.GenericClusterCredentialsObjectTypeEnum = exports.GcpStaticClusterCredentialsObjectTypeEnum = exports.EnvironmentStatusEventOriginEnum = exports.EnvironmentModeEnum = exports.EnvironmentLogTypeEnum = exports.EnvironmentDeploymentStatusEnum = void 0;
|
|
27
27
|
exports.ApplicationEnvironmentVariableApiFp = exports.ApplicationEnvironmentVariableApiAxiosParamCreator = exports.ApplicationDeploymentRestrictionApi = exports.ApplicationDeploymentRestrictionApiFactory = exports.ApplicationDeploymentRestrictionApiFp = exports.ApplicationDeploymentRestrictionApiAxiosParamCreator = exports.ApplicationDeploymentHistoryApi = exports.ApplicationDeploymentHistoryApiFactory = exports.ApplicationDeploymentHistoryApiFp = exports.ApplicationDeploymentHistoryApiAxiosParamCreator = exports.ApplicationCustomDomainApi = exports.ApplicationCustomDomainApiFactory = exports.ApplicationCustomDomainApiFp = exports.ApplicationCustomDomainApiAxiosParamCreator = exports.ApplicationConfigurationApi = exports.ApplicationConfigurationApiFactory = exports.ApplicationConfigurationApiFp = exports.ApplicationConfigurationApiAxiosParamCreator = exports.ApplicationActionsApi = exports.ApplicationActionsApiFactory = exports.ApplicationActionsApiFp = exports.ApplicationActionsApiAxiosParamCreator = exports.AlertRulesApi = exports.AlertRulesApiFactory = exports.AlertRulesApiFp = exports.AlertRulesApiAxiosParamCreator = exports.AlertReceiversApi = exports.AlertReceiversApiFactory = exports.AlertReceiversApiFp = exports.AlertReceiversApiAxiosParamCreator = exports.AccountInfoApi = exports.AccountInfoApiFactory = exports.AccountInfoApiFp = exports.AccountInfoApiAxiosParamCreator = exports.WeekdayEnum = exports.TypeOfUseEnum = exports.TfVarsDiscoveryModeSpecificPathsTypeEnum = exports.TfVarsDiscoveryModeAutoDiscoverTypeEnum = exports.TerraformEngineEnum = exports.TerraformDeployRequestActionEnum = exports.StorageTypeEnum = exports.StepMetricStatusEnum = exports.StatusKindEnum = exports.StateEnum = exports.StageStepMetricNameEnum = exports.StageStatusEnum = exports.ServiceTypeForVariableEnum = exports.ServiceTypeEnum = exports.ServiceSubActionEnum = exports.ServiceStepMetricNameEnum = void 0;
|
|
28
|
-
exports.ContainerConfigurationApiFp = exports.ContainerConfigurationApiAxiosParamCreator = exports.ContainerActionsApi = exports.ContainerActionsApiFactory = exports.ContainerActionsApiFp = exports.ContainerActionsApiAxiosParamCreator = exports.ClustersApi = exports.ClustersApiFactory = exports.ClustersApiFp = exports.ClustersApiAxiosParamCreator = exports.CloudProviderCredentialsApi = exports.CloudProviderCredentialsApiFactory = exports.CloudProviderCredentialsApiFp = exports.CloudProviderCredentialsApiAxiosParamCreator = exports.ListAzureAKSInstanceTypeGpuEnum = exports.ListAWSEKSInstanceTypeGpuEnum = exports.CloudProviderApi = exports.CloudProviderApiFactory = exports.CloudProviderApiFp = exports.CloudProviderApiAxiosParamCreator = exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = exports.BillingApiAxiosParamCreator = exports.BackupsApi = exports.BackupsApiFactory = exports.BackupsApiFp = exports.BackupsApiAxiosParamCreator = exports.
|
|
29
|
-
exports.DatabaseMainCallsApi = exports.DatabaseMainCallsApiFactory = exports.DatabaseMainCallsApiFp = exports.DatabaseMainCallsApiAxiosParamCreator = exports.DatabaseDeploymentHistoryApi = exports.DatabaseDeploymentHistoryApiFactory = exports.DatabaseDeploymentHistoryApiFp = exports.DatabaseDeploymentHistoryApiAxiosParamCreator = exports.DatabaseApplicationApi = exports.DatabaseApplicationApiFactory = exports.DatabaseApplicationApiFp = exports.DatabaseApplicationApiAxiosParamCreator = exports.DatabaseActionsApi = exports.DatabaseActionsApiFactory = exports.DatabaseActionsApiFp = exports.DatabaseActionsApiAxiosParamCreator = exports.ContainersApi = exports.ContainersApiFactory = exports.ContainersApiFp = exports.ContainersApiAxiosParamCreator = exports.ContainerSecretApi = exports.ContainerSecretApiFactory = exports.ContainerSecretApiFp = exports.ContainerSecretApiAxiosParamCreator = exports.ContainerRegistriesApi = exports.ContainerRegistriesApiFactory = exports.ContainerRegistriesApiFp = exports.ContainerRegistriesApiAxiosParamCreator = exports.ContainerMainCallsApi = exports.ContainerMainCallsApiFactory = exports.ContainerMainCallsApiFp = exports.ContainerMainCallsApiAxiosParamCreator = exports.ContainerLogsApi = exports.ContainerLogsApiFactory = exports.ContainerLogsApiFp = exports.ContainerLogsApiAxiosParamCreator = exports.ContainerEnvironmentVariableApi = exports.ContainerEnvironmentVariableApiFactory = exports.ContainerEnvironmentVariableApiFp = exports.ContainerEnvironmentVariableApiAxiosParamCreator = exports.ContainerDeploymentHistoryApi = exports.ContainerDeploymentHistoryApiFactory = exports.ContainerDeploymentHistoryApiFp = exports.ContainerDeploymentHistoryApiAxiosParamCreator = exports.ContainerCustomDomainApi = exports.ContainerCustomDomainApiFactory =
|
|
30
|
-
exports.EnvironmentVariableApiFp = exports.EnvironmentVariableApiAxiosParamCreator = exports.EnvironmentSecretApi = exports.EnvironmentSecretApiFactory = exports.EnvironmentSecretApiFp = exports.EnvironmentSecretApiAxiosParamCreator = exports.EnvironmentMainCallsApi = exports.EnvironmentMainCallsApiFactory = exports.EnvironmentMainCallsApiFp = exports.EnvironmentMainCallsApiAxiosParamCreator = exports.EnvironmentLogsApi = exports.EnvironmentLogsApiFactory = exports.EnvironmentLogsApiFp = exports.EnvironmentLogsApiAxiosParamCreator = exports.EnvironmentExportApi = exports.EnvironmentExportApiFactory = exports.EnvironmentExportApiFp = exports.EnvironmentExportApiAxiosParamCreator = exports.EnvironmentDeploymentRuleApi = exports.EnvironmentDeploymentRuleApiFactory = exports.EnvironmentDeploymentRuleApiFp = exports.EnvironmentDeploymentRuleApiAxiosParamCreator = exports.EnvironmentDeploymentHistoryApi = exports.EnvironmentDeploymentHistoryApiFactory = exports.EnvironmentDeploymentHistoryApiFp = exports.EnvironmentDeploymentHistoryApiAxiosParamCreator = exports.EnvironmentActionsApi = exports.EnvironmentActionsApiFactory = exports.EnvironmentActionsApiFp = exports.EnvironmentActionsApiAxiosParamCreator = exports.EnvironmentApi = exports.EnvironmentApiFactory = exports.EnvironmentApiFp = exports.EnvironmentApiAxiosParamCreator = exports.DeploymentStageMainCallsApi = exports.DeploymentStageMainCallsApiFactory = exports.DeploymentStageMainCallsApiFp = exports.DeploymentStageMainCallsApiAxiosParamCreator = exports.DeploymentQueueActionsApi = exports.DeploymentQueueActionsApiFactory = exports.DeploymentQueueActionsApiFp = exports.DeploymentQueueActionsApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator =
|
|
31
|
-
exports.JobActionsApi = exports.JobActionsApiFactory = exports.JobActionsApiFp = exports.JobActionsApiAxiosParamCreator = exports.HelmsApi = exports.HelmsApiFactory = exports.HelmsApiFp = exports.HelmsApiAxiosParamCreator = exports.HelmRepositoriesApi = exports.HelmRepositoriesApiFactory = exports.HelmRepositoriesApiFp = exports.HelmRepositoriesApiAxiosParamCreator = exports.HelmMainCallsApi = exports.HelmMainCallsApiFactory = exports.HelmMainCallsApiFp = exports.HelmMainCallsApiAxiosParamCreator = exports.HelmDeploymentRestrictionApi = exports.HelmDeploymentRestrictionApiFactory = exports.HelmDeploymentRestrictionApiFp = exports.HelmDeploymentRestrictionApiAxiosParamCreator = exports.HelmDeploymentHistoryApi = exports.HelmDeploymentHistoryApiFactory = exports.HelmDeploymentHistoryApiFp = exports.HelmDeploymentHistoryApiAxiosParamCreator = exports.HelmCustomDomainApi = exports.HelmCustomDomainApiFactory = exports.HelmCustomDomainApiFp = exports.HelmCustomDomainApiAxiosParamCreator = exports.HelmConfigurationApi = exports.HelmConfigurationApiFactory = exports.HelmConfigurationApiFp = exports.HelmConfigurationApiAxiosParamCreator = exports.HelmActionsApi = exports.HelmActionsApiFactory = exports.HelmActionsApiFp = exports.HelmActionsApiAxiosParamCreator = exports.GithubAppApi = exports.GithubAppApiFactory = exports.GithubAppApiFp = exports.GithubAppApiAxiosParamCreator = exports.GitRepositoriesApi = exports.GitRepositoriesApiFactory = exports.GitRepositoriesApiFp = exports.GitRepositoriesApiAxiosParamCreator = exports.EnvironmentsApi = exports.EnvironmentsApiFactory =
|
|
32
|
-
exports.OrganizationClusterLockApiFp = exports.OrganizationClusterLockApiAxiosParamCreator = exports.OrganizationApiTokenApi = exports.OrganizationApiTokenApiFactory = exports.OrganizationApiTokenApiFp = exports.OrganizationApiTokenApiAxiosParamCreator = exports.OrganizationAnnotationsGroupApi = exports.OrganizationAnnotationsGroupApiFactory = exports.OrganizationAnnotationsGroupApiFp = exports.OrganizationAnnotationsGroupApiAxiosParamCreator = exports.OrganizationAccountGitRepositoriesApi = exports.OrganizationAccountGitRepositoriesApiFactory = exports.OrganizationAccountGitRepositoriesApiFp = exports.OrganizationAccountGitRepositoriesApiAxiosParamCreator = exports.MembersApi = exports.MembersApiFactory = exports.MembersApiFp = exports.MembersApiAxiosParamCreator = exports.LifecycleTemplateMainCallsApi = exports.LifecycleTemplateMainCallsApiFactory = exports.LifecycleTemplateMainCallsApiFp = exports.LifecycleTemplateMainCallsApiAxiosParamCreator = exports.JobsApi = exports.JobsApiFactory = exports.JobsApiFp = exports.JobsApiAxiosParamCreator = exports.JobSecretApi = exports.JobSecretApiFactory = exports.JobSecretApiFp = exports.JobSecretApiAxiosParamCreator = exports.JobMainCallsApi = exports.JobMainCallsApiFactory = exports.JobMainCallsApiFp = exports.JobMainCallsApiAxiosParamCreator = exports.JobEnvironmentVariableApi = exports.JobEnvironmentVariableApiFactory = exports.JobEnvironmentVariableApiFp = exports.JobEnvironmentVariableApiAxiosParamCreator = exports.JobDeploymentRestrictionApi = exports.JobDeploymentRestrictionApiFactory = exports.JobDeploymentRestrictionApiFp = exports.JobDeploymentRestrictionApiAxiosParamCreator = exports.JobDeploymentHistoryApi = exports.JobDeploymentHistoryApiFactory = exports.JobDeploymentHistoryApiFp = exports.JobDeploymentHistoryApiAxiosParamCreator =
|
|
33
|
-
exports.ReferralRewardsApi = exports.ReferralRewardsApiFactory = exports.ReferralRewardsApiFp = exports.ReferralRewardsApiAxiosParamCreator = exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.ProjectSecretApi = exports.ProjectSecretApiFactory = exports.ProjectSecretApiFp = exports.ProjectSecretApiAxiosParamCreator = exports.ProjectMainCallsApi = exports.ProjectMainCallsApiFactory = exports.ProjectMainCallsApiFp = exports.ProjectMainCallsApiAxiosParamCreator = exports.ProjectEnvironmentVariableApi = exports.ProjectEnvironmentVariableApiFactory = exports.ProjectEnvironmentVariableApiFp = exports.ProjectEnvironmentVariableApiAxiosParamCreator = exports.ProjectDeploymentRuleApi = exports.ProjectDeploymentRuleApiFactory = exports.ProjectDeploymentRuleApiFp = exports.ProjectDeploymentRuleApiAxiosParamCreator = exports.OrganizationWebhookApi = exports.OrganizationWebhookApiFactory = exports.OrganizationWebhookApiFp = exports.OrganizationWebhookApiAxiosParamCreator = exports.OrganizationMainCallsApi = exports.OrganizationMainCallsApiFactory = exports.OrganizationMainCallsApiFp = exports.OrganizationMainCallsApiAxiosParamCreator = exports.OrganizationLabelsGroupApi = exports.OrganizationLabelsGroupApiFactory = exports.OrganizationLabelsGroupApiFp = exports.OrganizationLabelsGroupApiAxiosParamCreator = exports.OrganizationEventApi = exports.OrganizationEventApiFactory = exports.OrganizationEventApiFp = exports.OrganizationEventApiAxiosParamCreator = exports.OrganizationEnterpriseConnectionApi = exports.OrganizationEnterpriseConnectionApiFactory = exports.OrganizationEnterpriseConnectionApiFp = exports.OrganizationEnterpriseConnectionApiAxiosParamCreator = exports.OrganizationCustomRoleApi = exports.OrganizationCustomRoleApiFactory =
|
|
34
|
-
exports.VariableMainCallsApi = exports.VariableMainCallsApiFactory = exports.VariableMainCallsApiFp = exports.VariableMainCallsApiAxiosParamCreator = exports.UserSignUpApi = exports.UserSignUpApiFactory = exports.UserSignUpApiFp = exports.UserSignUpApiAxiosParamCreator = exports.TerraformsApi = exports.TerraformsApiFactory = exports.TerraformsApiFp = exports.TerraformsApiAxiosParamCreator = exports.TerraformMainCallsApi = exports.TerraformMainCallsApiFactory = exports.TerraformMainCallsApiFp = exports.TerraformMainCallsApiAxiosParamCreator = exports.TerraformDeploymentRestrictionApi = exports.TerraformDeploymentRestrictionApiFactory = exports.TerraformDeploymentRestrictionApiFp = exports.TerraformDeploymentRestrictionApiAxiosParamCreator = exports.TerraformDeploymentHistoryApi = exports.TerraformDeploymentHistoryApiFactory = exports.TerraformDeploymentHistoryApiFp = exports.TerraformDeploymentHistoryApiAxiosParamCreator = exports.TerraformConfigurationApi = exports.TerraformConfigurationApiFactory = exports.TerraformConfigurationApiFp = exports.TerraformConfigurationApiAxiosParamCreator = exports.TerraformActionsApi = exports.TerraformActionsApiFactory = exports.TerraformActionsApiFp = exports.TerraformActionsApiAxiosParamCreator = exports.GetIngressDeploymentStatusServiceTypeEnum =
|
|
28
|
+
exports.ContainerCustomDomainApiFp = exports.ContainerCustomDomainApiAxiosParamCreator = exports.ContainerConfigurationApi = exports.ContainerConfigurationApiFactory = exports.ContainerConfigurationApiFp = exports.ContainerConfigurationApiAxiosParamCreator = exports.ContainerActionsApi = exports.ContainerActionsApiFactory = exports.ContainerActionsApiFp = exports.ContainerActionsApiAxiosParamCreator = exports.ClustersApi = exports.ClustersApiFactory = exports.ClustersApiFp = exports.ClustersApiAxiosParamCreator = exports.CloudProviderCredentialsApi = exports.CloudProviderCredentialsApiFactory = exports.CloudProviderCredentialsApiFp = exports.CloudProviderCredentialsApiAxiosParamCreator = exports.ListAzureAKSInstanceTypeGpuEnum = exports.ListAWSEKSInstanceTypeGpuEnum = exports.CloudProviderApi = exports.CloudProviderApiFactory = exports.CloudProviderApiFp = exports.CloudProviderApiAxiosParamCreator = exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = exports.BillingApiAxiosParamCreator = exports.BackupsApi = exports.BackupsApiFactory = exports.BackupsApiFp = exports.BackupsApiAxiosParamCreator = exports.ApplicationsApi = exports.ApplicationsApiFactory = exports.ApplicationsApiFp = exports.ApplicationsApiAxiosParamCreator = exports.ApplicationSecretApi = exports.ApplicationSecretApiFactory = exports.ApplicationSecretApiFp = exports.ApplicationSecretApiAxiosParamCreator = exports.ApplicationMainCallsApi = exports.ApplicationMainCallsApiFactory = exports.ApplicationMainCallsApiFp = exports.ApplicationMainCallsApiAxiosParamCreator = exports.ApplicationLogsApi = exports.ApplicationLogsApiFactory = exports.ApplicationLogsApiFp = exports.ApplicationLogsApiAxiosParamCreator = exports.ApplicationEnvironmentVariableApi = exports.ApplicationEnvironmentVariableApiFactory = void 0;
|
|
29
|
+
exports.DatabasesApi = exports.DatabasesApiFactory = exports.DatabasesApiFp = exports.DatabasesApiAxiosParamCreator = exports.DatabaseMainCallsApi = exports.DatabaseMainCallsApiFactory = exports.DatabaseMainCallsApiFp = exports.DatabaseMainCallsApiAxiosParamCreator = exports.DatabaseDeploymentHistoryApi = exports.DatabaseDeploymentHistoryApiFactory = exports.DatabaseDeploymentHistoryApiFp = exports.DatabaseDeploymentHistoryApiAxiosParamCreator = exports.DatabaseApplicationApi = exports.DatabaseApplicationApiFactory = exports.DatabaseApplicationApiFp = exports.DatabaseApplicationApiAxiosParamCreator = exports.DatabaseActionsApi = exports.DatabaseActionsApiFactory = exports.DatabaseActionsApiFp = exports.DatabaseActionsApiAxiosParamCreator = exports.ContainersApi = exports.ContainersApiFactory = exports.ContainersApiFp = exports.ContainersApiAxiosParamCreator = exports.ContainerSecretApi = exports.ContainerSecretApiFactory = exports.ContainerSecretApiFp = exports.ContainerSecretApiAxiosParamCreator = exports.ContainerRegistriesApi = exports.ContainerRegistriesApiFactory = exports.ContainerRegistriesApiFp = exports.ContainerRegistriesApiAxiosParamCreator = exports.ContainerMainCallsApi = exports.ContainerMainCallsApiFactory = exports.ContainerMainCallsApiFp = exports.ContainerMainCallsApiAxiosParamCreator = exports.ContainerLogsApi = exports.ContainerLogsApiFactory = exports.ContainerLogsApiFp = exports.ContainerLogsApiAxiosParamCreator = exports.ContainerEnvironmentVariableApi = exports.ContainerEnvironmentVariableApiFactory = exports.ContainerEnvironmentVariableApiFp = exports.ContainerEnvironmentVariableApiAxiosParamCreator = exports.ContainerDeploymentHistoryApi = exports.ContainerDeploymentHistoryApiFactory = exports.ContainerDeploymentHistoryApiFp = exports.ContainerDeploymentHistoryApiAxiosParamCreator = exports.ContainerCustomDomainApi = exports.ContainerCustomDomainApiFactory = void 0;
|
|
30
|
+
exports.EnvironmentsApiFp = exports.EnvironmentsApiAxiosParamCreator = exports.EnvironmentVariableApi = exports.EnvironmentVariableApiFactory = exports.EnvironmentVariableApiFp = exports.EnvironmentVariableApiAxiosParamCreator = exports.EnvironmentSecretApi = exports.EnvironmentSecretApiFactory = exports.EnvironmentSecretApiFp = exports.EnvironmentSecretApiAxiosParamCreator = exports.EnvironmentMainCallsApi = exports.EnvironmentMainCallsApiFactory = exports.EnvironmentMainCallsApiFp = exports.EnvironmentMainCallsApiAxiosParamCreator = exports.EnvironmentLogsApi = exports.EnvironmentLogsApiFactory = exports.EnvironmentLogsApiFp = exports.EnvironmentLogsApiAxiosParamCreator = exports.EnvironmentExportApi = exports.EnvironmentExportApiFactory = exports.EnvironmentExportApiFp = exports.EnvironmentExportApiAxiosParamCreator = exports.EnvironmentDeploymentRuleApi = exports.EnvironmentDeploymentRuleApiFactory = exports.EnvironmentDeploymentRuleApiFp = exports.EnvironmentDeploymentRuleApiAxiosParamCreator = exports.EnvironmentDeploymentHistoryApi = exports.EnvironmentDeploymentHistoryApiFactory = exports.EnvironmentDeploymentHistoryApiFp = exports.EnvironmentDeploymentHistoryApiAxiosParamCreator = exports.EnvironmentActionsApi = exports.EnvironmentActionsApiFactory = exports.EnvironmentActionsApiFp = exports.EnvironmentActionsApiAxiosParamCreator = exports.EnvironmentApi = exports.EnvironmentApiFactory = exports.EnvironmentApiFp = exports.EnvironmentApiAxiosParamCreator = exports.DeploymentStageMainCallsApi = exports.DeploymentStageMainCallsApiFactory = exports.DeploymentStageMainCallsApiFp = exports.DeploymentStageMainCallsApiAxiosParamCreator = exports.DeploymentQueueActionsApi = exports.DeploymentQueueActionsApiFactory = exports.DeploymentQueueActionsApiFp = exports.DeploymentQueueActionsApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = void 0;
|
|
31
|
+
exports.JobConfigurationApi = exports.JobConfigurationApiFactory = exports.JobConfigurationApiFp = exports.JobConfigurationApiAxiosParamCreator = exports.JobActionsApi = exports.JobActionsApiFactory = exports.JobActionsApiFp = exports.JobActionsApiAxiosParamCreator = exports.HelmsApi = exports.HelmsApiFactory = exports.HelmsApiFp = exports.HelmsApiAxiosParamCreator = exports.HelmRepositoriesApi = exports.HelmRepositoriesApiFactory = exports.HelmRepositoriesApiFp = exports.HelmRepositoriesApiAxiosParamCreator = exports.HelmMainCallsApi = exports.HelmMainCallsApiFactory = exports.HelmMainCallsApiFp = exports.HelmMainCallsApiAxiosParamCreator = exports.HelmDeploymentRestrictionApi = exports.HelmDeploymentRestrictionApiFactory = exports.HelmDeploymentRestrictionApiFp = exports.HelmDeploymentRestrictionApiAxiosParamCreator = exports.HelmDeploymentHistoryApi = exports.HelmDeploymentHistoryApiFactory = exports.HelmDeploymentHistoryApiFp = exports.HelmDeploymentHistoryApiAxiosParamCreator = exports.HelmCustomDomainApi = exports.HelmCustomDomainApiFactory = exports.HelmCustomDomainApiFp = exports.HelmCustomDomainApiAxiosParamCreator = exports.HelmConfigurationApi = exports.HelmConfigurationApiFactory = exports.HelmConfigurationApiFp = exports.HelmConfigurationApiAxiosParamCreator = exports.HelmActionsApi = exports.HelmActionsApiFactory = exports.HelmActionsApiFp = exports.HelmActionsApiAxiosParamCreator = exports.GithubAppApi = exports.GithubAppApiFactory = exports.GithubAppApiFp = exports.GithubAppApiAxiosParamCreator = exports.GitRepositoriesApi = exports.GitRepositoriesApiFactory = exports.GitRepositoriesApiFp = exports.GitRepositoriesApiAxiosParamCreator = exports.EnvironmentsApi = exports.EnvironmentsApiFactory = void 0;
|
|
32
|
+
exports.OrganizationCustomRoleApiFp = exports.OrganizationCustomRoleApiAxiosParamCreator = exports.OrganizationClusterLockApi = exports.OrganizationClusterLockApiFactory = exports.OrganizationClusterLockApiFp = exports.OrganizationClusterLockApiAxiosParamCreator = exports.OrganizationApiTokenApi = exports.OrganizationApiTokenApiFactory = exports.OrganizationApiTokenApiFp = exports.OrganizationApiTokenApiAxiosParamCreator = exports.OrganizationAnnotationsGroupApi = exports.OrganizationAnnotationsGroupApiFactory = exports.OrganizationAnnotationsGroupApiFp = exports.OrganizationAnnotationsGroupApiAxiosParamCreator = exports.OrganizationAccountGitRepositoriesApi = exports.OrganizationAccountGitRepositoriesApiFactory = exports.OrganizationAccountGitRepositoriesApiFp = exports.OrganizationAccountGitRepositoriesApiAxiosParamCreator = exports.MembersApi = exports.MembersApiFactory = exports.MembersApiFp = exports.MembersApiAxiosParamCreator = exports.LifecycleTemplateMainCallsApi = exports.LifecycleTemplateMainCallsApiFactory = exports.LifecycleTemplateMainCallsApiFp = exports.LifecycleTemplateMainCallsApiAxiosParamCreator = exports.JobsApi = exports.JobsApiFactory = exports.JobsApiFp = exports.JobsApiAxiosParamCreator = exports.JobSecretApi = exports.JobSecretApiFactory = exports.JobSecretApiFp = exports.JobSecretApiAxiosParamCreator = exports.JobMainCallsApi = exports.JobMainCallsApiFactory = exports.JobMainCallsApiFp = exports.JobMainCallsApiAxiosParamCreator = exports.JobEnvironmentVariableApi = exports.JobEnvironmentVariableApiFactory = exports.JobEnvironmentVariableApiFp = exports.JobEnvironmentVariableApiAxiosParamCreator = exports.JobDeploymentRestrictionApi = exports.JobDeploymentRestrictionApiFactory = exports.JobDeploymentRestrictionApiFp = exports.JobDeploymentRestrictionApiAxiosParamCreator = exports.JobDeploymentHistoryApi = exports.JobDeploymentHistoryApiFactory = exports.JobDeploymentHistoryApiFp = exports.JobDeploymentHistoryApiAxiosParamCreator = void 0;
|
|
33
|
+
exports.ServiceStatusApi = exports.ServiceStatusApiFactory = exports.ServiceStatusApiFp = exports.ServiceStatusApiAxiosParamCreator = exports.ReferralRewardsApi = exports.ReferralRewardsApiFactory = exports.ReferralRewardsApiFp = exports.ReferralRewardsApiAxiosParamCreator = exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.ProjectSecretApi = exports.ProjectSecretApiFactory = exports.ProjectSecretApiFp = exports.ProjectSecretApiAxiosParamCreator = exports.ProjectMainCallsApi = exports.ProjectMainCallsApiFactory = exports.ProjectMainCallsApiFp = exports.ProjectMainCallsApiAxiosParamCreator = exports.ProjectEnvironmentVariableApi = exports.ProjectEnvironmentVariableApiFactory = exports.ProjectEnvironmentVariableApiFp = exports.ProjectEnvironmentVariableApiAxiosParamCreator = exports.ProjectDeploymentRuleApi = exports.ProjectDeploymentRuleApiFactory = exports.ProjectDeploymentRuleApiFp = exports.ProjectDeploymentRuleApiAxiosParamCreator = exports.OrganizationWebhookApi = exports.OrganizationWebhookApiFactory = exports.OrganizationWebhookApiFp = exports.OrganizationWebhookApiAxiosParamCreator = exports.OrganizationMainCallsApi = exports.OrganizationMainCallsApiFactory = exports.OrganizationMainCallsApiFp = exports.OrganizationMainCallsApiAxiosParamCreator = exports.OrganizationLabelsGroupApi = exports.OrganizationLabelsGroupApiFactory = exports.OrganizationLabelsGroupApiFp = exports.OrganizationLabelsGroupApiAxiosParamCreator = exports.OrganizationEventApi = exports.OrganizationEventApiFactory = exports.OrganizationEventApiFp = exports.OrganizationEventApiAxiosParamCreator = exports.OrganizationEnterpriseConnectionApi = exports.OrganizationEnterpriseConnectionApiFactory = exports.OrganizationEnterpriseConnectionApiFp = exports.OrganizationEnterpriseConnectionApiAxiosParamCreator = exports.OrganizationCustomRoleApi = exports.OrganizationCustomRoleApiFactory = void 0;
|
|
34
|
+
exports.VariableMainCallsApi = exports.VariableMainCallsApiFactory = exports.VariableMainCallsApiFp = exports.VariableMainCallsApiAxiosParamCreator = exports.UserSignUpApi = exports.UserSignUpApiFactory = exports.UserSignUpApiFp = exports.UserSignUpApiAxiosParamCreator = exports.TerraformsApi = exports.TerraformsApiFactory = exports.TerraformsApiFp = exports.TerraformsApiAxiosParamCreator = exports.TerraformMainCallsApi = exports.TerraformMainCallsApiFactory = exports.TerraformMainCallsApiFp = exports.TerraformMainCallsApiAxiosParamCreator = exports.TerraformDeploymentRestrictionApi = exports.TerraformDeploymentRestrictionApiFactory = exports.TerraformDeploymentRestrictionApiFp = exports.TerraformDeploymentRestrictionApiAxiosParamCreator = exports.TerraformDeploymentHistoryApi = exports.TerraformDeploymentHistoryApiFactory = exports.TerraformDeploymentHistoryApiFp = exports.TerraformDeploymentHistoryApiAxiosParamCreator = exports.TerraformConfigurationApi = exports.TerraformConfigurationApiFactory = exports.TerraformConfigurationApiFp = exports.TerraformConfigurationApiAxiosParamCreator = exports.TerraformActionsApi = exports.TerraformActionsApiFactory = exports.TerraformActionsApiFp = exports.TerraformActionsApiAxiosParamCreator = exports.GetIngressDeploymentStatusServiceTypeEnum = void 0;
|
|
35
35
|
const axios_1 = require("axios");
|
|
36
36
|
// Some imports not used depending on template conditions
|
|
37
37
|
// @ts-ignore
|
|
@@ -6350,263 +6350,6 @@ class ApplicationsApi extends base_1.BaseAPI {
|
|
|
6350
6350
|
}
|
|
6351
6351
|
}
|
|
6352
6352
|
exports.ApplicationsApi = ApplicationsApi;
|
|
6353
|
-
/**
|
|
6354
|
-
* AutoscalingPolicyApi - axios parameter creator
|
|
6355
|
-
* @export
|
|
6356
|
-
*/
|
|
6357
|
-
const AutoscalingPolicyApiAxiosParamCreator = function (configuration) {
|
|
6358
|
-
return {
|
|
6359
|
-
/**
|
|
6360
|
-
*
|
|
6361
|
-
* @summary createOrUpdateServiceAutoscaling
|
|
6362
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
6363
|
-
* @param {AutoscalingPolicyRequest} [autoscalingPolicyRequest]
|
|
6364
|
-
* @param {*} [options] Override http request option.
|
|
6365
|
-
* @throws {RequiredError}
|
|
6366
|
-
*/
|
|
6367
|
-
createOrUpdateServiceAutoscaling: (serviceId_1, autoscalingPolicyRequest_1, ...args_1) => __awaiter(this, [serviceId_1, autoscalingPolicyRequest_1, ...args_1], void 0, function* (serviceId, autoscalingPolicyRequest, options = {}) {
|
|
6368
|
-
// verify required parameter 'serviceId' is not null or undefined
|
|
6369
|
-
(0, common_1.assertParamExists)('createOrUpdateServiceAutoscaling', 'serviceId', serviceId);
|
|
6370
|
-
const localVarPath = `/service/{serviceId}/autoscalingPolicy`
|
|
6371
|
-
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
6372
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6373
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6374
|
-
let baseOptions;
|
|
6375
|
-
if (configuration) {
|
|
6376
|
-
baseOptions = configuration.baseOptions;
|
|
6377
|
-
}
|
|
6378
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
6379
|
-
const localVarHeaderParameter = {};
|
|
6380
|
-
const localVarQueryParameter = {};
|
|
6381
|
-
// authentication ApiKeyAuth required
|
|
6382
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
6383
|
-
// authentication bearerAuth required
|
|
6384
|
-
// http bearer authentication required
|
|
6385
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6386
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6387
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6388
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6389
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6390
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(autoscalingPolicyRequest, localVarRequestOptions, configuration);
|
|
6391
|
-
return {
|
|
6392
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6393
|
-
options: localVarRequestOptions,
|
|
6394
|
-
};
|
|
6395
|
-
}),
|
|
6396
|
-
/**
|
|
6397
|
-
*
|
|
6398
|
-
* @summary deleteServiceAutoscaling
|
|
6399
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
6400
|
-
* @param {*} [options] Override http request option.
|
|
6401
|
-
* @throws {RequiredError}
|
|
6402
|
-
*/
|
|
6403
|
-
deleteServiceAutoscaling: (serviceId_1, ...args_1) => __awaiter(this, [serviceId_1, ...args_1], void 0, function* (serviceId, options = {}) {
|
|
6404
|
-
// verify required parameter 'serviceId' is not null or undefined
|
|
6405
|
-
(0, common_1.assertParamExists)('deleteServiceAutoscaling', 'serviceId', serviceId);
|
|
6406
|
-
const localVarPath = `/service/{serviceId}/autoscalingPolicy`
|
|
6407
|
-
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
6408
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6409
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6410
|
-
let baseOptions;
|
|
6411
|
-
if (configuration) {
|
|
6412
|
-
baseOptions = configuration.baseOptions;
|
|
6413
|
-
}
|
|
6414
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
6415
|
-
const localVarHeaderParameter = {};
|
|
6416
|
-
const localVarQueryParameter = {};
|
|
6417
|
-
// authentication ApiKeyAuth required
|
|
6418
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
6419
|
-
// authentication bearerAuth required
|
|
6420
|
-
// http bearer authentication required
|
|
6421
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6422
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6423
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6424
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6425
|
-
return {
|
|
6426
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6427
|
-
options: localVarRequestOptions,
|
|
6428
|
-
};
|
|
6429
|
-
}),
|
|
6430
|
-
/**
|
|
6431
|
-
*
|
|
6432
|
-
* @summary getServiceAutoscaling
|
|
6433
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
6434
|
-
* @param {*} [options] Override http request option.
|
|
6435
|
-
* @throws {RequiredError}
|
|
6436
|
-
*/
|
|
6437
|
-
getServiceAutoscaling: (serviceId_1, ...args_1) => __awaiter(this, [serviceId_1, ...args_1], void 0, function* (serviceId, options = {}) {
|
|
6438
|
-
// verify required parameter 'serviceId' is not null or undefined
|
|
6439
|
-
(0, common_1.assertParamExists)('getServiceAutoscaling', 'serviceId', serviceId);
|
|
6440
|
-
const localVarPath = `/service/{serviceId}/autoscalingPolicy`
|
|
6441
|
-
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
6442
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6443
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6444
|
-
let baseOptions;
|
|
6445
|
-
if (configuration) {
|
|
6446
|
-
baseOptions = configuration.baseOptions;
|
|
6447
|
-
}
|
|
6448
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6449
|
-
const localVarHeaderParameter = {};
|
|
6450
|
-
const localVarQueryParameter = {};
|
|
6451
|
-
// authentication ApiKeyAuth required
|
|
6452
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
6453
|
-
// authentication bearerAuth required
|
|
6454
|
-
// http bearer authentication required
|
|
6455
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6456
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6457
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6458
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6459
|
-
return {
|
|
6460
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6461
|
-
options: localVarRequestOptions,
|
|
6462
|
-
};
|
|
6463
|
-
}),
|
|
6464
|
-
};
|
|
6465
|
-
};
|
|
6466
|
-
exports.AutoscalingPolicyApiAxiosParamCreator = AutoscalingPolicyApiAxiosParamCreator;
|
|
6467
|
-
/**
|
|
6468
|
-
* AutoscalingPolicyApi - functional programming interface
|
|
6469
|
-
* @export
|
|
6470
|
-
*/
|
|
6471
|
-
const AutoscalingPolicyApiFp = function (configuration) {
|
|
6472
|
-
const localVarAxiosParamCreator = (0, exports.AutoscalingPolicyApiAxiosParamCreator)(configuration);
|
|
6473
|
-
return {
|
|
6474
|
-
/**
|
|
6475
|
-
*
|
|
6476
|
-
* @summary createOrUpdateServiceAutoscaling
|
|
6477
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
6478
|
-
* @param {AutoscalingPolicyRequest} [autoscalingPolicyRequest]
|
|
6479
|
-
* @param {*} [options] Override http request option.
|
|
6480
|
-
* @throws {RequiredError}
|
|
6481
|
-
*/
|
|
6482
|
-
createOrUpdateServiceAutoscaling(serviceId, autoscalingPolicyRequest, options) {
|
|
6483
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
6484
|
-
var _a, _b, _c;
|
|
6485
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createOrUpdateServiceAutoscaling(serviceId, autoscalingPolicyRequest, options);
|
|
6486
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6487
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AutoscalingPolicyApi.createOrUpdateServiceAutoscaling']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6488
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6489
|
-
});
|
|
6490
|
-
},
|
|
6491
|
-
/**
|
|
6492
|
-
*
|
|
6493
|
-
* @summary deleteServiceAutoscaling
|
|
6494
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
6495
|
-
* @param {*} [options] Override http request option.
|
|
6496
|
-
* @throws {RequiredError}
|
|
6497
|
-
*/
|
|
6498
|
-
deleteServiceAutoscaling(serviceId, options) {
|
|
6499
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
6500
|
-
var _a, _b, _c;
|
|
6501
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteServiceAutoscaling(serviceId, options);
|
|
6502
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6503
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AutoscalingPolicyApi.deleteServiceAutoscaling']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6504
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6505
|
-
});
|
|
6506
|
-
},
|
|
6507
|
-
/**
|
|
6508
|
-
*
|
|
6509
|
-
* @summary getServiceAutoscaling
|
|
6510
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
6511
|
-
* @param {*} [options] Override http request option.
|
|
6512
|
-
* @throws {RequiredError}
|
|
6513
|
-
*/
|
|
6514
|
-
getServiceAutoscaling(serviceId, options) {
|
|
6515
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
6516
|
-
var _a, _b, _c;
|
|
6517
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getServiceAutoscaling(serviceId, options);
|
|
6518
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6519
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AutoscalingPolicyApi.getServiceAutoscaling']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6520
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6521
|
-
});
|
|
6522
|
-
},
|
|
6523
|
-
};
|
|
6524
|
-
};
|
|
6525
|
-
exports.AutoscalingPolicyApiFp = AutoscalingPolicyApiFp;
|
|
6526
|
-
/**
|
|
6527
|
-
* AutoscalingPolicyApi - factory interface
|
|
6528
|
-
* @export
|
|
6529
|
-
*/
|
|
6530
|
-
const AutoscalingPolicyApiFactory = function (configuration, basePath, axios) {
|
|
6531
|
-
const localVarFp = (0, exports.AutoscalingPolicyApiFp)(configuration);
|
|
6532
|
-
return {
|
|
6533
|
-
/**
|
|
6534
|
-
*
|
|
6535
|
-
* @summary createOrUpdateServiceAutoscaling
|
|
6536
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
6537
|
-
* @param {AutoscalingPolicyRequest} [autoscalingPolicyRequest]
|
|
6538
|
-
* @param {*} [options] Override http request option.
|
|
6539
|
-
* @throws {RequiredError}
|
|
6540
|
-
*/
|
|
6541
|
-
createOrUpdateServiceAutoscaling(serviceId, autoscalingPolicyRequest, options) {
|
|
6542
|
-
return localVarFp.createOrUpdateServiceAutoscaling(serviceId, autoscalingPolicyRequest, options).then((request) => request(axios, basePath));
|
|
6543
|
-
},
|
|
6544
|
-
/**
|
|
6545
|
-
*
|
|
6546
|
-
* @summary deleteServiceAutoscaling
|
|
6547
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
6548
|
-
* @param {*} [options] Override http request option.
|
|
6549
|
-
* @throws {RequiredError}
|
|
6550
|
-
*/
|
|
6551
|
-
deleteServiceAutoscaling(serviceId, options) {
|
|
6552
|
-
return localVarFp.deleteServiceAutoscaling(serviceId, options).then((request) => request(axios, basePath));
|
|
6553
|
-
},
|
|
6554
|
-
/**
|
|
6555
|
-
*
|
|
6556
|
-
* @summary getServiceAutoscaling
|
|
6557
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
6558
|
-
* @param {*} [options] Override http request option.
|
|
6559
|
-
* @throws {RequiredError}
|
|
6560
|
-
*/
|
|
6561
|
-
getServiceAutoscaling(serviceId, options) {
|
|
6562
|
-
return localVarFp.getServiceAutoscaling(serviceId, options).then((request) => request(axios, basePath));
|
|
6563
|
-
},
|
|
6564
|
-
};
|
|
6565
|
-
};
|
|
6566
|
-
exports.AutoscalingPolicyApiFactory = AutoscalingPolicyApiFactory;
|
|
6567
|
-
/**
|
|
6568
|
-
* AutoscalingPolicyApi - object-oriented interface
|
|
6569
|
-
* @export
|
|
6570
|
-
* @class AutoscalingPolicyApi
|
|
6571
|
-
* @extends {BaseAPI}
|
|
6572
|
-
*/
|
|
6573
|
-
class AutoscalingPolicyApi extends base_1.BaseAPI {
|
|
6574
|
-
/**
|
|
6575
|
-
*
|
|
6576
|
-
* @summary createOrUpdateServiceAutoscaling
|
|
6577
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
6578
|
-
* @param {AutoscalingPolicyRequest} [autoscalingPolicyRequest]
|
|
6579
|
-
* @param {*} [options] Override http request option.
|
|
6580
|
-
* @throws {RequiredError}
|
|
6581
|
-
* @memberof AutoscalingPolicyApi
|
|
6582
|
-
*/
|
|
6583
|
-
createOrUpdateServiceAutoscaling(serviceId, autoscalingPolicyRequest, options) {
|
|
6584
|
-
return (0, exports.AutoscalingPolicyApiFp)(this.configuration).createOrUpdateServiceAutoscaling(serviceId, autoscalingPolicyRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6585
|
-
}
|
|
6586
|
-
/**
|
|
6587
|
-
*
|
|
6588
|
-
* @summary deleteServiceAutoscaling
|
|
6589
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
6590
|
-
* @param {*} [options] Override http request option.
|
|
6591
|
-
* @throws {RequiredError}
|
|
6592
|
-
* @memberof AutoscalingPolicyApi
|
|
6593
|
-
*/
|
|
6594
|
-
deleteServiceAutoscaling(serviceId, options) {
|
|
6595
|
-
return (0, exports.AutoscalingPolicyApiFp)(this.configuration).deleteServiceAutoscaling(serviceId, options).then((request) => request(this.axios, this.basePath));
|
|
6596
|
-
}
|
|
6597
|
-
/**
|
|
6598
|
-
*
|
|
6599
|
-
* @summary getServiceAutoscaling
|
|
6600
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
6601
|
-
* @param {*} [options] Override http request option.
|
|
6602
|
-
* @throws {RequiredError}
|
|
6603
|
-
* @memberof AutoscalingPolicyApi
|
|
6604
|
-
*/
|
|
6605
|
-
getServiceAutoscaling(serviceId, options) {
|
|
6606
|
-
return (0, exports.AutoscalingPolicyApiFp)(this.configuration).getServiceAutoscaling(serviceId, options).then((request) => request(this.axios, this.basePath));
|
|
6607
|
-
}
|
|
6608
|
-
}
|
|
6609
|
-
exports.AutoscalingPolicyApi = AutoscalingPolicyApi;
|
|
6610
6353
|
/**
|
|
6611
6354
|
* BackupsApi - axios parameter creator
|
|
6612
6355
|
* @export
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1261,6 +1261,12 @@ export interface ApplicationAdvancedSettings {
|
|
|
1261
1261
|
* @memberof ApplicationAdvancedSettings
|
|
1262
1262
|
*/
|
|
1263
1263
|
'hpa.cpu.average_utilization_percent'?: number;
|
|
1264
|
+
/**
|
|
1265
|
+
* Percentage value of memory usage at which point pods should scale up.
|
|
1266
|
+
* @type {number}
|
|
1267
|
+
* @memberof ApplicationAdvancedSettings
|
|
1268
|
+
*/
|
|
1269
|
+
'hpa.memory.average_utilization_percent'?: number | null;
|
|
1264
1270
|
/**
|
|
1265
1271
|
* Allows you to set an existing Kubernetes service account name
|
|
1266
1272
|
* @type {string}
|
|
@@ -4964,6 +4970,12 @@ export interface ContainerAdvancedSettings {
|
|
|
4964
4970
|
* @memberof ContainerAdvancedSettings
|
|
4965
4971
|
*/
|
|
4966
4972
|
'hpa.cpu.average_utilization_percent'?: number;
|
|
4973
|
+
/**
|
|
4974
|
+
* Percentage value of memory usage at which point pods should scale up.
|
|
4975
|
+
* @type {number}
|
|
4976
|
+
* @memberof ContainerAdvancedSettings
|
|
4977
|
+
*/
|
|
4978
|
+
'hpa.memory.average_utilization_percent'?: number | null;
|
|
4967
4979
|
/**
|
|
4968
4980
|
* Automount Kubernetes service account token to have access to Kubernetes API from pods
|
|
4969
4981
|
* @type {boolean}
|
|
@@ -22532,135 +22544,6 @@ export declare class ApplicationsApi extends BaseAPI {
|
|
|
22532
22544
|
*/
|
|
22533
22545
|
listApplication(environmentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApplicationResponseList, any, {}>>;
|
|
22534
22546
|
}
|
|
22535
|
-
/**
|
|
22536
|
-
* AutoscalingPolicyApi - axios parameter creator
|
|
22537
|
-
* @export
|
|
22538
|
-
*/
|
|
22539
|
-
export declare const AutoscalingPolicyApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22540
|
-
/**
|
|
22541
|
-
*
|
|
22542
|
-
* @summary createOrUpdateServiceAutoscaling
|
|
22543
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
22544
|
-
* @param {AutoscalingPolicyRequest} [autoscalingPolicyRequest]
|
|
22545
|
-
* @param {*} [options] Override http request option.
|
|
22546
|
-
* @throws {RequiredError}
|
|
22547
|
-
*/
|
|
22548
|
-
createOrUpdateServiceAutoscaling: (serviceId: string, autoscalingPolicyRequest?: AutoscalingPolicyRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22549
|
-
/**
|
|
22550
|
-
*
|
|
22551
|
-
* @summary deleteServiceAutoscaling
|
|
22552
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
22553
|
-
* @param {*} [options] Override http request option.
|
|
22554
|
-
* @throws {RequiredError}
|
|
22555
|
-
*/
|
|
22556
|
-
deleteServiceAutoscaling: (serviceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22557
|
-
/**
|
|
22558
|
-
*
|
|
22559
|
-
* @summary getServiceAutoscaling
|
|
22560
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
22561
|
-
* @param {*} [options] Override http request option.
|
|
22562
|
-
* @throws {RequiredError}
|
|
22563
|
-
*/
|
|
22564
|
-
getServiceAutoscaling: (serviceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22565
|
-
};
|
|
22566
|
-
/**
|
|
22567
|
-
* AutoscalingPolicyApi - functional programming interface
|
|
22568
|
-
* @export
|
|
22569
|
-
*/
|
|
22570
|
-
export declare const AutoscalingPolicyApiFp: (configuration?: Configuration) => {
|
|
22571
|
-
/**
|
|
22572
|
-
*
|
|
22573
|
-
* @summary createOrUpdateServiceAutoscaling
|
|
22574
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
22575
|
-
* @param {AutoscalingPolicyRequest} [autoscalingPolicyRequest]
|
|
22576
|
-
* @param {*} [options] Override http request option.
|
|
22577
|
-
* @throws {RequiredError}
|
|
22578
|
-
*/
|
|
22579
|
-
createOrUpdateServiceAutoscaling(serviceId: string, autoscalingPolicyRequest?: AutoscalingPolicyRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AutoscalingPolicyResponse>>;
|
|
22580
|
-
/**
|
|
22581
|
-
*
|
|
22582
|
-
* @summary deleteServiceAutoscaling
|
|
22583
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
22584
|
-
* @param {*} [options] Override http request option.
|
|
22585
|
-
* @throws {RequiredError}
|
|
22586
|
-
*/
|
|
22587
|
-
deleteServiceAutoscaling(serviceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
22588
|
-
/**
|
|
22589
|
-
*
|
|
22590
|
-
* @summary getServiceAutoscaling
|
|
22591
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
22592
|
-
* @param {*} [options] Override http request option.
|
|
22593
|
-
* @throws {RequiredError}
|
|
22594
|
-
*/
|
|
22595
|
-
getServiceAutoscaling(serviceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AutoscalingPolicyResponse>>;
|
|
22596
|
-
};
|
|
22597
|
-
/**
|
|
22598
|
-
* AutoscalingPolicyApi - factory interface
|
|
22599
|
-
* @export
|
|
22600
|
-
*/
|
|
22601
|
-
export declare const AutoscalingPolicyApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
22602
|
-
/**
|
|
22603
|
-
*
|
|
22604
|
-
* @summary createOrUpdateServiceAutoscaling
|
|
22605
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
22606
|
-
* @param {AutoscalingPolicyRequest} [autoscalingPolicyRequest]
|
|
22607
|
-
* @param {*} [options] Override http request option.
|
|
22608
|
-
* @throws {RequiredError}
|
|
22609
|
-
*/
|
|
22610
|
-
createOrUpdateServiceAutoscaling(serviceId: string, autoscalingPolicyRequest?: AutoscalingPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<AutoscalingPolicyResponse>;
|
|
22611
|
-
/**
|
|
22612
|
-
*
|
|
22613
|
-
* @summary deleteServiceAutoscaling
|
|
22614
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
22615
|
-
* @param {*} [options] Override http request option.
|
|
22616
|
-
* @throws {RequiredError}
|
|
22617
|
-
*/
|
|
22618
|
-
deleteServiceAutoscaling(serviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
22619
|
-
/**
|
|
22620
|
-
*
|
|
22621
|
-
* @summary getServiceAutoscaling
|
|
22622
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
22623
|
-
* @param {*} [options] Override http request option.
|
|
22624
|
-
* @throws {RequiredError}
|
|
22625
|
-
*/
|
|
22626
|
-
getServiceAutoscaling(serviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<AutoscalingPolicyResponse>;
|
|
22627
|
-
};
|
|
22628
|
-
/**
|
|
22629
|
-
* AutoscalingPolicyApi - object-oriented interface
|
|
22630
|
-
* @export
|
|
22631
|
-
* @class AutoscalingPolicyApi
|
|
22632
|
-
* @extends {BaseAPI}
|
|
22633
|
-
*/
|
|
22634
|
-
export declare class AutoscalingPolicyApi extends BaseAPI {
|
|
22635
|
-
/**
|
|
22636
|
-
*
|
|
22637
|
-
* @summary createOrUpdateServiceAutoscaling
|
|
22638
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
22639
|
-
* @param {AutoscalingPolicyRequest} [autoscalingPolicyRequest]
|
|
22640
|
-
* @param {*} [options] Override http request option.
|
|
22641
|
-
* @throws {RequiredError}
|
|
22642
|
-
* @memberof AutoscalingPolicyApi
|
|
22643
|
-
*/
|
|
22644
|
-
createOrUpdateServiceAutoscaling(serviceId: string, autoscalingPolicyRequest?: AutoscalingPolicyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AutoscalingPolicyResponse, any, {}>>;
|
|
22645
|
-
/**
|
|
22646
|
-
*
|
|
22647
|
-
* @summary deleteServiceAutoscaling
|
|
22648
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
22649
|
-
* @param {*} [options] Override http request option.
|
|
22650
|
-
* @throws {RequiredError}
|
|
22651
|
-
* @memberof AutoscalingPolicyApi
|
|
22652
|
-
*/
|
|
22653
|
-
deleteServiceAutoscaling(serviceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
22654
|
-
/**
|
|
22655
|
-
*
|
|
22656
|
-
* @summary getServiceAutoscaling
|
|
22657
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
22658
|
-
* @param {*} [options] Override http request option.
|
|
22659
|
-
* @throws {RequiredError}
|
|
22660
|
-
* @memberof AutoscalingPolicyApi
|
|
22661
|
-
*/
|
|
22662
|
-
getServiceAutoscaling(serviceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AutoscalingPolicyResponse, any, {}>>;
|
|
22663
|
-
}
|
|
22664
22547
|
/**
|
|
22665
22548
|
* BackupsApi - axios parameter creator
|
|
22666
22549
|
* @export
|
package/dist/esm/api.js
CHANGED
|
@@ -6286,259 +6286,6 @@ export class ApplicationsApi extends BaseAPI {
|
|
|
6286
6286
|
return ApplicationsApiFp(this.configuration).listApplication(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
6287
6287
|
}
|
|
6288
6288
|
}
|
|
6289
|
-
/**
|
|
6290
|
-
* AutoscalingPolicyApi - axios parameter creator
|
|
6291
|
-
* @export
|
|
6292
|
-
*/
|
|
6293
|
-
export const AutoscalingPolicyApiAxiosParamCreator = function (configuration) {
|
|
6294
|
-
return {
|
|
6295
|
-
/**
|
|
6296
|
-
*
|
|
6297
|
-
* @summary createOrUpdateServiceAutoscaling
|
|
6298
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
6299
|
-
* @param {AutoscalingPolicyRequest} [autoscalingPolicyRequest]
|
|
6300
|
-
* @param {*} [options] Override http request option.
|
|
6301
|
-
* @throws {RequiredError}
|
|
6302
|
-
*/
|
|
6303
|
-
createOrUpdateServiceAutoscaling: (serviceId_1, autoscalingPolicyRequest_1, ...args_1) => __awaiter(this, [serviceId_1, autoscalingPolicyRequest_1, ...args_1], void 0, function* (serviceId, autoscalingPolicyRequest, options = {}) {
|
|
6304
|
-
// verify required parameter 'serviceId' is not null or undefined
|
|
6305
|
-
assertParamExists('createOrUpdateServiceAutoscaling', 'serviceId', serviceId);
|
|
6306
|
-
const localVarPath = `/service/{serviceId}/autoscalingPolicy`
|
|
6307
|
-
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
6308
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6309
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6310
|
-
let baseOptions;
|
|
6311
|
-
if (configuration) {
|
|
6312
|
-
baseOptions = configuration.baseOptions;
|
|
6313
|
-
}
|
|
6314
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
6315
|
-
const localVarHeaderParameter = {};
|
|
6316
|
-
const localVarQueryParameter = {};
|
|
6317
|
-
// authentication ApiKeyAuth required
|
|
6318
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
6319
|
-
// authentication bearerAuth required
|
|
6320
|
-
// http bearer authentication required
|
|
6321
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
6322
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6323
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6324
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6325
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6326
|
-
localVarRequestOptions.data = serializeDataIfNeeded(autoscalingPolicyRequest, localVarRequestOptions, configuration);
|
|
6327
|
-
return {
|
|
6328
|
-
url: toPathString(localVarUrlObj),
|
|
6329
|
-
options: localVarRequestOptions,
|
|
6330
|
-
};
|
|
6331
|
-
}),
|
|
6332
|
-
/**
|
|
6333
|
-
*
|
|
6334
|
-
* @summary deleteServiceAutoscaling
|
|
6335
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
6336
|
-
* @param {*} [options] Override http request option.
|
|
6337
|
-
* @throws {RequiredError}
|
|
6338
|
-
*/
|
|
6339
|
-
deleteServiceAutoscaling: (serviceId_1, ...args_1) => __awaiter(this, [serviceId_1, ...args_1], void 0, function* (serviceId, options = {}) {
|
|
6340
|
-
// verify required parameter 'serviceId' is not null or undefined
|
|
6341
|
-
assertParamExists('deleteServiceAutoscaling', 'serviceId', serviceId);
|
|
6342
|
-
const localVarPath = `/service/{serviceId}/autoscalingPolicy`
|
|
6343
|
-
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
6344
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6345
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6346
|
-
let baseOptions;
|
|
6347
|
-
if (configuration) {
|
|
6348
|
-
baseOptions = configuration.baseOptions;
|
|
6349
|
-
}
|
|
6350
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
6351
|
-
const localVarHeaderParameter = {};
|
|
6352
|
-
const localVarQueryParameter = {};
|
|
6353
|
-
// authentication ApiKeyAuth required
|
|
6354
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
6355
|
-
// authentication bearerAuth required
|
|
6356
|
-
// http bearer authentication required
|
|
6357
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
6358
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6359
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6360
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6361
|
-
return {
|
|
6362
|
-
url: toPathString(localVarUrlObj),
|
|
6363
|
-
options: localVarRequestOptions,
|
|
6364
|
-
};
|
|
6365
|
-
}),
|
|
6366
|
-
/**
|
|
6367
|
-
*
|
|
6368
|
-
* @summary getServiceAutoscaling
|
|
6369
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
6370
|
-
* @param {*} [options] Override http request option.
|
|
6371
|
-
* @throws {RequiredError}
|
|
6372
|
-
*/
|
|
6373
|
-
getServiceAutoscaling: (serviceId_1, ...args_1) => __awaiter(this, [serviceId_1, ...args_1], void 0, function* (serviceId, options = {}) {
|
|
6374
|
-
// verify required parameter 'serviceId' is not null or undefined
|
|
6375
|
-
assertParamExists('getServiceAutoscaling', 'serviceId', serviceId);
|
|
6376
|
-
const localVarPath = `/service/{serviceId}/autoscalingPolicy`
|
|
6377
|
-
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
6378
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6379
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6380
|
-
let baseOptions;
|
|
6381
|
-
if (configuration) {
|
|
6382
|
-
baseOptions = configuration.baseOptions;
|
|
6383
|
-
}
|
|
6384
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6385
|
-
const localVarHeaderParameter = {};
|
|
6386
|
-
const localVarQueryParameter = {};
|
|
6387
|
-
// authentication ApiKeyAuth required
|
|
6388
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
6389
|
-
// authentication bearerAuth required
|
|
6390
|
-
// http bearer authentication required
|
|
6391
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
6392
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6393
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6394
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6395
|
-
return {
|
|
6396
|
-
url: toPathString(localVarUrlObj),
|
|
6397
|
-
options: localVarRequestOptions,
|
|
6398
|
-
};
|
|
6399
|
-
}),
|
|
6400
|
-
};
|
|
6401
|
-
};
|
|
6402
|
-
/**
|
|
6403
|
-
* AutoscalingPolicyApi - functional programming interface
|
|
6404
|
-
* @export
|
|
6405
|
-
*/
|
|
6406
|
-
export const AutoscalingPolicyApiFp = function (configuration) {
|
|
6407
|
-
const localVarAxiosParamCreator = AutoscalingPolicyApiAxiosParamCreator(configuration);
|
|
6408
|
-
return {
|
|
6409
|
-
/**
|
|
6410
|
-
*
|
|
6411
|
-
* @summary createOrUpdateServiceAutoscaling
|
|
6412
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
6413
|
-
* @param {AutoscalingPolicyRequest} [autoscalingPolicyRequest]
|
|
6414
|
-
* @param {*} [options] Override http request option.
|
|
6415
|
-
* @throws {RequiredError}
|
|
6416
|
-
*/
|
|
6417
|
-
createOrUpdateServiceAutoscaling(serviceId, autoscalingPolicyRequest, options) {
|
|
6418
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
6419
|
-
var _a, _b, _c;
|
|
6420
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createOrUpdateServiceAutoscaling(serviceId, autoscalingPolicyRequest, options);
|
|
6421
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6422
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AutoscalingPolicyApi.createOrUpdateServiceAutoscaling']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6423
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6424
|
-
});
|
|
6425
|
-
},
|
|
6426
|
-
/**
|
|
6427
|
-
*
|
|
6428
|
-
* @summary deleteServiceAutoscaling
|
|
6429
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
6430
|
-
* @param {*} [options] Override http request option.
|
|
6431
|
-
* @throws {RequiredError}
|
|
6432
|
-
*/
|
|
6433
|
-
deleteServiceAutoscaling(serviceId, options) {
|
|
6434
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
6435
|
-
var _a, _b, _c;
|
|
6436
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteServiceAutoscaling(serviceId, options);
|
|
6437
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6438
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AutoscalingPolicyApi.deleteServiceAutoscaling']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6439
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6440
|
-
});
|
|
6441
|
-
},
|
|
6442
|
-
/**
|
|
6443
|
-
*
|
|
6444
|
-
* @summary getServiceAutoscaling
|
|
6445
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
6446
|
-
* @param {*} [options] Override http request option.
|
|
6447
|
-
* @throws {RequiredError}
|
|
6448
|
-
*/
|
|
6449
|
-
getServiceAutoscaling(serviceId, options) {
|
|
6450
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
6451
|
-
var _a, _b, _c;
|
|
6452
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getServiceAutoscaling(serviceId, options);
|
|
6453
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6454
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AutoscalingPolicyApi.getServiceAutoscaling']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6455
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6456
|
-
});
|
|
6457
|
-
},
|
|
6458
|
-
};
|
|
6459
|
-
};
|
|
6460
|
-
/**
|
|
6461
|
-
* AutoscalingPolicyApi - factory interface
|
|
6462
|
-
* @export
|
|
6463
|
-
*/
|
|
6464
|
-
export const AutoscalingPolicyApiFactory = function (configuration, basePath, axios) {
|
|
6465
|
-
const localVarFp = AutoscalingPolicyApiFp(configuration);
|
|
6466
|
-
return {
|
|
6467
|
-
/**
|
|
6468
|
-
*
|
|
6469
|
-
* @summary createOrUpdateServiceAutoscaling
|
|
6470
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
6471
|
-
* @param {AutoscalingPolicyRequest} [autoscalingPolicyRequest]
|
|
6472
|
-
* @param {*} [options] Override http request option.
|
|
6473
|
-
* @throws {RequiredError}
|
|
6474
|
-
*/
|
|
6475
|
-
createOrUpdateServiceAutoscaling(serviceId, autoscalingPolicyRequest, options) {
|
|
6476
|
-
return localVarFp.createOrUpdateServiceAutoscaling(serviceId, autoscalingPolicyRequest, options).then((request) => request(axios, basePath));
|
|
6477
|
-
},
|
|
6478
|
-
/**
|
|
6479
|
-
*
|
|
6480
|
-
* @summary deleteServiceAutoscaling
|
|
6481
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
6482
|
-
* @param {*} [options] Override http request option.
|
|
6483
|
-
* @throws {RequiredError}
|
|
6484
|
-
*/
|
|
6485
|
-
deleteServiceAutoscaling(serviceId, options) {
|
|
6486
|
-
return localVarFp.deleteServiceAutoscaling(serviceId, options).then((request) => request(axios, basePath));
|
|
6487
|
-
},
|
|
6488
|
-
/**
|
|
6489
|
-
*
|
|
6490
|
-
* @summary getServiceAutoscaling
|
|
6491
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
6492
|
-
* @param {*} [options] Override http request option.
|
|
6493
|
-
* @throws {RequiredError}
|
|
6494
|
-
*/
|
|
6495
|
-
getServiceAutoscaling(serviceId, options) {
|
|
6496
|
-
return localVarFp.getServiceAutoscaling(serviceId, options).then((request) => request(axios, basePath));
|
|
6497
|
-
},
|
|
6498
|
-
};
|
|
6499
|
-
};
|
|
6500
|
-
/**
|
|
6501
|
-
* AutoscalingPolicyApi - object-oriented interface
|
|
6502
|
-
* @export
|
|
6503
|
-
* @class AutoscalingPolicyApi
|
|
6504
|
-
* @extends {BaseAPI}
|
|
6505
|
-
*/
|
|
6506
|
-
export class AutoscalingPolicyApi extends BaseAPI {
|
|
6507
|
-
/**
|
|
6508
|
-
*
|
|
6509
|
-
* @summary createOrUpdateServiceAutoscaling
|
|
6510
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
6511
|
-
* @param {AutoscalingPolicyRequest} [autoscalingPolicyRequest]
|
|
6512
|
-
* @param {*} [options] Override http request option.
|
|
6513
|
-
* @throws {RequiredError}
|
|
6514
|
-
* @memberof AutoscalingPolicyApi
|
|
6515
|
-
*/
|
|
6516
|
-
createOrUpdateServiceAutoscaling(serviceId, autoscalingPolicyRequest, options) {
|
|
6517
|
-
return AutoscalingPolicyApiFp(this.configuration).createOrUpdateServiceAutoscaling(serviceId, autoscalingPolicyRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6518
|
-
}
|
|
6519
|
-
/**
|
|
6520
|
-
*
|
|
6521
|
-
* @summary deleteServiceAutoscaling
|
|
6522
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
6523
|
-
* @param {*} [options] Override http request option.
|
|
6524
|
-
* @throws {RequiredError}
|
|
6525
|
-
* @memberof AutoscalingPolicyApi
|
|
6526
|
-
*/
|
|
6527
|
-
deleteServiceAutoscaling(serviceId, options) {
|
|
6528
|
-
return AutoscalingPolicyApiFp(this.configuration).deleteServiceAutoscaling(serviceId, options).then((request) => request(this.axios, this.basePath));
|
|
6529
|
-
}
|
|
6530
|
-
/**
|
|
6531
|
-
*
|
|
6532
|
-
* @summary getServiceAutoscaling
|
|
6533
|
-
* @param {string} serviceId Service ID of an application/job/container/database
|
|
6534
|
-
* @param {*} [options] Override http request option.
|
|
6535
|
-
* @throws {RequiredError}
|
|
6536
|
-
* @memberof AutoscalingPolicyApi
|
|
6537
|
-
*/
|
|
6538
|
-
getServiceAutoscaling(serviceId, options) {
|
|
6539
|
-
return AutoscalingPolicyApiFp(this.configuration).getServiceAutoscaling(serviceId, options).then((request) => request(this.axios, this.basePath));
|
|
6540
|
-
}
|
|
6541
|
-
}
|
|
6542
6289
|
/**
|
|
6543
6290
|
* BackupsApi - axios parameter creator
|
|
6544
6291
|
* @export
|