qovery-typescript-axios 1.1.847 → 1.1.849
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 +181 -0
- package/dist/api.d.ts +135 -0
- package/dist/api.js +77 -0
- package/dist/esm/api.d.ts +135 -0
- package/dist/esm/api.js +77 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1319,6 +1319,18 @@ export interface ApplicationAdvancedSettings {
|
|
|
1319
1319
|
* @memberof ApplicationAdvancedSettings
|
|
1320
1320
|
*/
|
|
1321
1321
|
'network.ingress.extra_headers'?: string;
|
|
1322
|
+
/**
|
|
1323
|
+
* Sets a timeout (in seconds) for requests proxied through the Gateway API route.
|
|
1324
|
+
* @type {number}
|
|
1325
|
+
* @memberof ApplicationAdvancedSettings
|
|
1326
|
+
*/
|
|
1327
|
+
'network.gateway_api.http_request_timeout_seconds'?: number | null;
|
|
1328
|
+
/**
|
|
1329
|
+
* Sets the idle timeout (in seconds) for HTTP connections proxied through the Gateway API route.
|
|
1330
|
+
* @type {number}
|
|
1331
|
+
* @memberof ApplicationAdvancedSettings
|
|
1332
|
+
*/
|
|
1333
|
+
'network.gateway_api.http_connection_idle_timeout_seconds'?: number | null;
|
|
1322
1334
|
/**
|
|
1323
1335
|
* Percentage value of cpu usage at which point pods should scale up.
|
|
1324
1336
|
* @type {number}
|
|
@@ -3459,6 +3471,18 @@ export interface ClusterAdvancedSettings {
|
|
|
3459
3471
|
* @memberof ClusterAdvancedSettings
|
|
3460
3472
|
*/
|
|
3461
3473
|
'nginx.memory.limit_in_mib'?: number;
|
|
3474
|
+
/**
|
|
3475
|
+
* Sets the default request timeout (in seconds) applied to Gateway API routes when the service does not override it.
|
|
3476
|
+
* @type {number}
|
|
3477
|
+
* @memberof ClusterAdvancedSettings
|
|
3478
|
+
*/
|
|
3479
|
+
'envoy.gateway_api.http_request_timeout_seconds'?: number | null;
|
|
3480
|
+
/**
|
|
3481
|
+
* Sets the default idle connection timeout (in seconds) applied to Gateway API routes when the service does not override it.
|
|
3482
|
+
* @type {number}
|
|
3483
|
+
* @memberof ClusterAdvancedSettings
|
|
3484
|
+
*/
|
|
3485
|
+
'envoy.gateway_api.http_connection_idle_timeout_seconds'?: number | null;
|
|
3462
3486
|
/**
|
|
3463
3487
|
* hpa cpu threshold in percentage
|
|
3464
3488
|
* @type {number}
|
|
@@ -5381,6 +5405,18 @@ export interface ContainerAdvancedSettings {
|
|
|
5381
5405
|
* @memberof ContainerAdvancedSettings
|
|
5382
5406
|
*/
|
|
5383
5407
|
'network.ingress.extra_headers'?: string;
|
|
5408
|
+
/**
|
|
5409
|
+
* Sets a timeout (in seconds) for requests proxied through the Gateway API route.
|
|
5410
|
+
* @type {number}
|
|
5411
|
+
* @memberof ContainerAdvancedSettings
|
|
5412
|
+
*/
|
|
5413
|
+
'network.gateway_api.http_request_timeout_seconds'?: number | null;
|
|
5414
|
+
/**
|
|
5415
|
+
* Sets the idle timeout (in seconds) for HTTP connections proxied through the Gateway API route.
|
|
5416
|
+
* @type {number}
|
|
5417
|
+
* @memberof ContainerAdvancedSettings
|
|
5418
|
+
*/
|
|
5419
|
+
'network.gateway_api.http_connection_idle_timeout_seconds'?: number | null;
|
|
5384
5420
|
/**
|
|
5385
5421
|
* Set the name of an environment variable to use as a basic authentication (`login:crypted_password`) from `htpasswd` command. You can add multiples comma separated values.
|
|
5386
5422
|
* @type {string}
|
|
@@ -7580,6 +7616,44 @@ export interface DeployRequest {
|
|
|
7580
7616
|
*/
|
|
7581
7617
|
'git_commit_id': string;
|
|
7582
7618
|
}
|
|
7619
|
+
/**
|
|
7620
|
+
*
|
|
7621
|
+
* @export
|
|
7622
|
+
* @interface DeploymentBuildUsageReportRequest
|
|
7623
|
+
*/
|
|
7624
|
+
export interface DeploymentBuildUsageReportRequest {
|
|
7625
|
+
/**
|
|
7626
|
+
* The deployment execution ID (format environment_id-version)
|
|
7627
|
+
* @type {string}
|
|
7628
|
+
* @memberof DeploymentBuildUsageReportRequest
|
|
7629
|
+
*/
|
|
7630
|
+
'execution_id': string;
|
|
7631
|
+
/**
|
|
7632
|
+
* The number of seconds the report will be publicly available
|
|
7633
|
+
* @type {number}
|
|
7634
|
+
* @memberof DeploymentBuildUsageReportRequest
|
|
7635
|
+
*/
|
|
7636
|
+
'report_expiration_in_seconds': number;
|
|
7637
|
+
}
|
|
7638
|
+
/**
|
|
7639
|
+
*
|
|
7640
|
+
* @export
|
|
7641
|
+
* @interface DeploymentBuildUsageReportResponse
|
|
7642
|
+
*/
|
|
7643
|
+
export interface DeploymentBuildUsageReportResponse {
|
|
7644
|
+
/**
|
|
7645
|
+
* The publicly accessible URL of the Grafana snapshot report showing build pod resource usage
|
|
7646
|
+
* @type {string}
|
|
7647
|
+
* @memberof DeploymentBuildUsageReportResponse
|
|
7648
|
+
*/
|
|
7649
|
+
'report_url'?: string;
|
|
7650
|
+
/**
|
|
7651
|
+
* The URL to pro-actively delete the report before it expires
|
|
7652
|
+
* @type {string}
|
|
7653
|
+
* @memberof DeploymentBuildUsageReportResponse
|
|
7654
|
+
*/
|
|
7655
|
+
'delete_report_url'?: string;
|
|
7656
|
+
}
|
|
7583
7657
|
/**
|
|
7584
7658
|
*
|
|
7585
7659
|
* @export
|
|
@@ -8279,6 +8353,12 @@ export interface DeploymentHistoryServiceDetailsOneOf {
|
|
|
8279
8353
|
* @memberof DeploymentHistoryServiceDetailsOneOf
|
|
8280
8354
|
*/
|
|
8281
8355
|
'commit': Commit | null;
|
|
8356
|
+
/**
|
|
8357
|
+
* The build pod name prefix for monitoring build runner usage. Format build-{execution_id}-0
|
|
8358
|
+
* @type {string}
|
|
8359
|
+
* @memberof DeploymentHistoryServiceDetailsOneOf
|
|
8360
|
+
*/
|
|
8361
|
+
'build_pod_name': string;
|
|
8282
8362
|
}
|
|
8283
8363
|
/**
|
|
8284
8364
|
* ContainerDeploymentHistoryData
|
|
@@ -8347,6 +8427,12 @@ export interface DeploymentHistoryServiceDetailsOneOf2 {
|
|
|
8347
8427
|
* @memberof DeploymentHistoryServiceDetailsOneOf2
|
|
8348
8428
|
*/
|
|
8349
8429
|
'job_type': DeploymentHistoryServiceDetailsOneOf2JobTypeEnum;
|
|
8430
|
+
/**
|
|
8431
|
+
* The build pod name prefix. Only set for jobs with a git source (Docker build). Null for container-source jobs.
|
|
8432
|
+
* @type {string}
|
|
8433
|
+
* @memberof DeploymentHistoryServiceDetailsOneOf2
|
|
8434
|
+
*/
|
|
8435
|
+
'build_pod_name'?: string | null;
|
|
8350
8436
|
}
|
|
8351
8437
|
|
|
8352
8438
|
export const DeploymentHistoryServiceDetailsOneOf2JobTypeEnum = {
|
|
@@ -11356,6 +11442,18 @@ export interface HelmAdvancedSettings {
|
|
|
11356
11442
|
* @memberof HelmAdvancedSettings
|
|
11357
11443
|
*/
|
|
11358
11444
|
'network.ingress.enable_sticky_session'?: boolean;
|
|
11445
|
+
/**
|
|
11446
|
+
* Sets a timeout (in seconds) for requests proxied through the Gateway API route.
|
|
11447
|
+
* @type {number}
|
|
11448
|
+
* @memberof HelmAdvancedSettings
|
|
11449
|
+
*/
|
|
11450
|
+
'network.gateway_api.http_request_timeout_seconds'?: number | null;
|
|
11451
|
+
/**
|
|
11452
|
+
* Sets the idle timeout (in seconds) for HTTP connections proxied through the Gateway API route.
|
|
11453
|
+
* @type {number}
|
|
11454
|
+
* @memberof HelmAdvancedSettings
|
|
11455
|
+
*/
|
|
11456
|
+
'network.gateway_api.http_connection_idle_timeout_seconds'?: number | null;
|
|
11359
11457
|
}
|
|
11360
11458
|
/**
|
|
11361
11459
|
*
|
|
@@ -44138,6 +44236,51 @@ export class EnvironmentActionsApi extends BaseAPI {
|
|
|
44138
44236
|
*/
|
|
44139
44237
|
export const EnvironmentDeploymentHistoryApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
44140
44238
|
return {
|
|
44239
|
+
/**
|
|
44240
|
+
* Generate a Grafana snapshot report that shows the resource usage (CPU, memory) of build runner pods for a specific deployment execution. The report is publicly accessible for the specified duration.
|
|
44241
|
+
* @summary Generate a Grafana snapshot report showing build runner pod usage for a specific deployment
|
|
44242
|
+
* @param {string} environmentId Environment ID
|
|
44243
|
+
* @param {DeploymentBuildUsageReportRequest} [deploymentBuildUsageReportRequest]
|
|
44244
|
+
* @param {*} [options] Override http request option.
|
|
44245
|
+
* @throws {RequiredError}
|
|
44246
|
+
*/
|
|
44247
|
+
generateDeploymentBuildUsageReport: async (environmentId: string, deploymentBuildUsageReportRequest?: DeploymentBuildUsageReportRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
44248
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
44249
|
+
assertParamExists('generateDeploymentBuildUsageReport', 'environmentId', environmentId)
|
|
44250
|
+
const localVarPath = `/environment/{environmentId}/deploymentBuildUsageReport`
|
|
44251
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
44252
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
44253
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
44254
|
+
let baseOptions;
|
|
44255
|
+
if (configuration) {
|
|
44256
|
+
baseOptions = configuration.baseOptions;
|
|
44257
|
+
}
|
|
44258
|
+
|
|
44259
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
44260
|
+
const localVarHeaderParameter = {} as any;
|
|
44261
|
+
const localVarQueryParameter = {} as any;
|
|
44262
|
+
|
|
44263
|
+
// authentication ApiKeyAuth required
|
|
44264
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
44265
|
+
|
|
44266
|
+
// authentication bearerAuth required
|
|
44267
|
+
// http bearer authentication required
|
|
44268
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
44269
|
+
|
|
44270
|
+
|
|
44271
|
+
|
|
44272
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
44273
|
+
|
|
44274
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
44275
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
44276
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
44277
|
+
localVarRequestOptions.data = serializeDataIfNeeded(deploymentBuildUsageReportRequest, localVarRequestOptions, configuration)
|
|
44278
|
+
|
|
44279
|
+
return {
|
|
44280
|
+
url: toPathString(localVarUrlObj),
|
|
44281
|
+
options: localVarRequestOptions,
|
|
44282
|
+
};
|
|
44283
|
+
},
|
|
44141
44284
|
/**
|
|
44142
44285
|
* List previous and current environment deployments with the status deployment and the related services. By default it returns the 20 last results. The response is paginated. In order to request the next page, you can use the startId query parameter
|
|
44143
44286
|
* @summary List environment deployments
|
|
@@ -44240,6 +44383,20 @@ export const EnvironmentDeploymentHistoryApiAxiosParamCreator = function (config
|
|
|
44240
44383
|
export const EnvironmentDeploymentHistoryApiFp = function(configuration?: Configuration) {
|
|
44241
44384
|
const localVarAxiosParamCreator = EnvironmentDeploymentHistoryApiAxiosParamCreator(configuration)
|
|
44242
44385
|
return {
|
|
44386
|
+
/**
|
|
44387
|
+
* Generate a Grafana snapshot report that shows the resource usage (CPU, memory) of build runner pods for a specific deployment execution. The report is publicly accessible for the specified duration.
|
|
44388
|
+
* @summary Generate a Grafana snapshot report showing build runner pod usage for a specific deployment
|
|
44389
|
+
* @param {string} environmentId Environment ID
|
|
44390
|
+
* @param {DeploymentBuildUsageReportRequest} [deploymentBuildUsageReportRequest]
|
|
44391
|
+
* @param {*} [options] Override http request option.
|
|
44392
|
+
* @throws {RequiredError}
|
|
44393
|
+
*/
|
|
44394
|
+
async generateDeploymentBuildUsageReport(environmentId: string, deploymentBuildUsageReportRequest?: DeploymentBuildUsageReportRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentBuildUsageReportResponse>> {
|
|
44395
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.generateDeploymentBuildUsageReport(environmentId, deploymentBuildUsageReportRequest, options);
|
|
44396
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
44397
|
+
const localVarOperationServerBasePath = operationServerMap['EnvironmentDeploymentHistoryApi.generateDeploymentBuildUsageReport']?.[localVarOperationServerIndex]?.url;
|
|
44398
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
44399
|
+
},
|
|
44243
44400
|
/**
|
|
44244
44401
|
* List previous and current environment deployments with the status deployment and the related services. By default it returns the 20 last results. The response is paginated. In order to request the next page, you can use the startId query parameter
|
|
44245
44402
|
* @summary List environment deployments
|
|
@@ -44278,6 +44435,17 @@ export const EnvironmentDeploymentHistoryApiFp = function(configuration?: Config
|
|
|
44278
44435
|
export const EnvironmentDeploymentHistoryApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
44279
44436
|
const localVarFp = EnvironmentDeploymentHistoryApiFp(configuration)
|
|
44280
44437
|
return {
|
|
44438
|
+
/**
|
|
44439
|
+
* Generate a Grafana snapshot report that shows the resource usage (CPU, memory) of build runner pods for a specific deployment execution. The report is publicly accessible for the specified duration.
|
|
44440
|
+
* @summary Generate a Grafana snapshot report showing build runner pod usage for a specific deployment
|
|
44441
|
+
* @param {string} environmentId Environment ID
|
|
44442
|
+
* @param {DeploymentBuildUsageReportRequest} [deploymentBuildUsageReportRequest]
|
|
44443
|
+
* @param {*} [options] Override http request option.
|
|
44444
|
+
* @throws {RequiredError}
|
|
44445
|
+
*/
|
|
44446
|
+
generateDeploymentBuildUsageReport(environmentId: string, deploymentBuildUsageReportRequest?: DeploymentBuildUsageReportRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentBuildUsageReportResponse> {
|
|
44447
|
+
return localVarFp.generateDeploymentBuildUsageReport(environmentId, deploymentBuildUsageReportRequest, options).then((request) => request(axios, basePath));
|
|
44448
|
+
},
|
|
44281
44449
|
/**
|
|
44282
44450
|
* List previous and current environment deployments with the status deployment and the related services. By default it returns the 20 last results. The response is paginated. In order to request the next page, you can use the startId query parameter
|
|
44283
44451
|
* @summary List environment deployments
|
|
@@ -44310,6 +44478,19 @@ export const EnvironmentDeploymentHistoryApiFactory = function (configuration?:
|
|
|
44310
44478
|
* @extends {BaseAPI}
|
|
44311
44479
|
*/
|
|
44312
44480
|
export class EnvironmentDeploymentHistoryApi extends BaseAPI {
|
|
44481
|
+
/**
|
|
44482
|
+
* Generate a Grafana snapshot report that shows the resource usage (CPU, memory) of build runner pods for a specific deployment execution. The report is publicly accessible for the specified duration.
|
|
44483
|
+
* @summary Generate a Grafana snapshot report showing build runner pod usage for a specific deployment
|
|
44484
|
+
* @param {string} environmentId Environment ID
|
|
44485
|
+
* @param {DeploymentBuildUsageReportRequest} [deploymentBuildUsageReportRequest]
|
|
44486
|
+
* @param {*} [options] Override http request option.
|
|
44487
|
+
* @throws {RequiredError}
|
|
44488
|
+
* @memberof EnvironmentDeploymentHistoryApi
|
|
44489
|
+
*/
|
|
44490
|
+
public generateDeploymentBuildUsageReport(environmentId: string, deploymentBuildUsageReportRequest?: DeploymentBuildUsageReportRequest, options?: RawAxiosRequestConfig) {
|
|
44491
|
+
return EnvironmentDeploymentHistoryApiFp(this.configuration).generateDeploymentBuildUsageReport(environmentId, deploymentBuildUsageReportRequest, options).then((request) => request(this.axios, this.basePath));
|
|
44492
|
+
}
|
|
44493
|
+
|
|
44313
44494
|
/**
|
|
44314
44495
|
* List previous and current environment deployments with the status deployment and the related services. By default it returns the 20 last results. The response is paginated. In order to request the next page, you can use the startId query parameter
|
|
44315
44496
|
* @summary List environment deployments
|
package/dist/api.d.ts
CHANGED
|
@@ -1260,6 +1260,18 @@ export interface ApplicationAdvancedSettings {
|
|
|
1260
1260
|
* @memberof ApplicationAdvancedSettings
|
|
1261
1261
|
*/
|
|
1262
1262
|
'network.ingress.extra_headers'?: string;
|
|
1263
|
+
/**
|
|
1264
|
+
* Sets a timeout (in seconds) for requests proxied through the Gateway API route.
|
|
1265
|
+
* @type {number}
|
|
1266
|
+
* @memberof ApplicationAdvancedSettings
|
|
1267
|
+
*/
|
|
1268
|
+
'network.gateway_api.http_request_timeout_seconds'?: number | null;
|
|
1269
|
+
/**
|
|
1270
|
+
* Sets the idle timeout (in seconds) for HTTP connections proxied through the Gateway API route.
|
|
1271
|
+
* @type {number}
|
|
1272
|
+
* @memberof ApplicationAdvancedSettings
|
|
1273
|
+
*/
|
|
1274
|
+
'network.gateway_api.http_connection_idle_timeout_seconds'?: number | null;
|
|
1263
1275
|
/**
|
|
1264
1276
|
* Percentage value of cpu usage at which point pods should scale up.
|
|
1265
1277
|
* @type {number}
|
|
@@ -3345,6 +3357,18 @@ export interface ClusterAdvancedSettings {
|
|
|
3345
3357
|
* @memberof ClusterAdvancedSettings
|
|
3346
3358
|
*/
|
|
3347
3359
|
'nginx.memory.limit_in_mib'?: number;
|
|
3360
|
+
/**
|
|
3361
|
+
* Sets the default request timeout (in seconds) applied to Gateway API routes when the service does not override it.
|
|
3362
|
+
* @type {number}
|
|
3363
|
+
* @memberof ClusterAdvancedSettings
|
|
3364
|
+
*/
|
|
3365
|
+
'envoy.gateway_api.http_request_timeout_seconds'?: number | null;
|
|
3366
|
+
/**
|
|
3367
|
+
* Sets the default idle connection timeout (in seconds) applied to Gateway API routes when the service does not override it.
|
|
3368
|
+
* @type {number}
|
|
3369
|
+
* @memberof ClusterAdvancedSettings
|
|
3370
|
+
*/
|
|
3371
|
+
'envoy.gateway_api.http_connection_idle_timeout_seconds'?: number | null;
|
|
3348
3372
|
/**
|
|
3349
3373
|
* hpa cpu threshold in percentage
|
|
3350
3374
|
* @type {number}
|
|
@@ -5234,6 +5258,18 @@ export interface ContainerAdvancedSettings {
|
|
|
5234
5258
|
* @memberof ContainerAdvancedSettings
|
|
5235
5259
|
*/
|
|
5236
5260
|
'network.ingress.extra_headers'?: string;
|
|
5261
|
+
/**
|
|
5262
|
+
* Sets a timeout (in seconds) for requests proxied through the Gateway API route.
|
|
5263
|
+
* @type {number}
|
|
5264
|
+
* @memberof ContainerAdvancedSettings
|
|
5265
|
+
*/
|
|
5266
|
+
'network.gateway_api.http_request_timeout_seconds'?: number | null;
|
|
5267
|
+
/**
|
|
5268
|
+
* Sets the idle timeout (in seconds) for HTTP connections proxied through the Gateway API route.
|
|
5269
|
+
* @type {number}
|
|
5270
|
+
* @memberof ContainerAdvancedSettings
|
|
5271
|
+
*/
|
|
5272
|
+
'network.gateway_api.http_connection_idle_timeout_seconds'?: number | null;
|
|
5237
5273
|
/**
|
|
5238
5274
|
* Set the name of an environment variable to use as a basic authentication (`login:crypted_password`) from `htpasswd` command. You can add multiples comma separated values.
|
|
5239
5275
|
* @type {string}
|
|
@@ -7361,6 +7397,44 @@ export interface DeployRequest {
|
|
|
7361
7397
|
*/
|
|
7362
7398
|
'git_commit_id': string;
|
|
7363
7399
|
}
|
|
7400
|
+
/**
|
|
7401
|
+
*
|
|
7402
|
+
* @export
|
|
7403
|
+
* @interface DeploymentBuildUsageReportRequest
|
|
7404
|
+
*/
|
|
7405
|
+
export interface DeploymentBuildUsageReportRequest {
|
|
7406
|
+
/**
|
|
7407
|
+
* The deployment execution ID (format environment_id-version)
|
|
7408
|
+
* @type {string}
|
|
7409
|
+
* @memberof DeploymentBuildUsageReportRequest
|
|
7410
|
+
*/
|
|
7411
|
+
'execution_id': string;
|
|
7412
|
+
/**
|
|
7413
|
+
* The number of seconds the report will be publicly available
|
|
7414
|
+
* @type {number}
|
|
7415
|
+
* @memberof DeploymentBuildUsageReportRequest
|
|
7416
|
+
*/
|
|
7417
|
+
'report_expiration_in_seconds': number;
|
|
7418
|
+
}
|
|
7419
|
+
/**
|
|
7420
|
+
*
|
|
7421
|
+
* @export
|
|
7422
|
+
* @interface DeploymentBuildUsageReportResponse
|
|
7423
|
+
*/
|
|
7424
|
+
export interface DeploymentBuildUsageReportResponse {
|
|
7425
|
+
/**
|
|
7426
|
+
* The publicly accessible URL of the Grafana snapshot report showing build pod resource usage
|
|
7427
|
+
* @type {string}
|
|
7428
|
+
* @memberof DeploymentBuildUsageReportResponse
|
|
7429
|
+
*/
|
|
7430
|
+
'report_url'?: string;
|
|
7431
|
+
/**
|
|
7432
|
+
* The URL to pro-actively delete the report before it expires
|
|
7433
|
+
* @type {string}
|
|
7434
|
+
* @memberof DeploymentBuildUsageReportResponse
|
|
7435
|
+
*/
|
|
7436
|
+
'delete_report_url'?: string;
|
|
7437
|
+
}
|
|
7364
7438
|
/**
|
|
7365
7439
|
*
|
|
7366
7440
|
* @export
|
|
@@ -8033,6 +8107,12 @@ export interface DeploymentHistoryServiceDetailsOneOf {
|
|
|
8033
8107
|
* @memberof DeploymentHistoryServiceDetailsOneOf
|
|
8034
8108
|
*/
|
|
8035
8109
|
'commit': Commit | null;
|
|
8110
|
+
/**
|
|
8111
|
+
* The build pod name prefix for monitoring build runner usage. Format build-{execution_id}-0
|
|
8112
|
+
* @type {string}
|
|
8113
|
+
* @memberof DeploymentHistoryServiceDetailsOneOf
|
|
8114
|
+
*/
|
|
8115
|
+
'build_pod_name': string;
|
|
8036
8116
|
}
|
|
8037
8117
|
/**
|
|
8038
8118
|
* ContainerDeploymentHistoryData
|
|
@@ -8101,6 +8181,12 @@ export interface DeploymentHistoryServiceDetailsOneOf2 {
|
|
|
8101
8181
|
* @memberof DeploymentHistoryServiceDetailsOneOf2
|
|
8102
8182
|
*/
|
|
8103
8183
|
'job_type': DeploymentHistoryServiceDetailsOneOf2JobTypeEnum;
|
|
8184
|
+
/**
|
|
8185
|
+
* The build pod name prefix. Only set for jobs with a git source (Docker build). Null for container-source jobs.
|
|
8186
|
+
* @type {string}
|
|
8187
|
+
* @memberof DeploymentHistoryServiceDetailsOneOf2
|
|
8188
|
+
*/
|
|
8189
|
+
'build_pod_name'?: string | null;
|
|
8104
8190
|
}
|
|
8105
8191
|
export declare const DeploymentHistoryServiceDetailsOneOf2JobTypeEnum: {
|
|
8106
8192
|
readonly CRON: "CRON";
|
|
@@ -11003,6 +11089,18 @@ export interface HelmAdvancedSettings {
|
|
|
11003
11089
|
* @memberof HelmAdvancedSettings
|
|
11004
11090
|
*/
|
|
11005
11091
|
'network.ingress.enable_sticky_session'?: boolean;
|
|
11092
|
+
/**
|
|
11093
|
+
* Sets a timeout (in seconds) for requests proxied through the Gateway API route.
|
|
11094
|
+
* @type {number}
|
|
11095
|
+
* @memberof HelmAdvancedSettings
|
|
11096
|
+
*/
|
|
11097
|
+
'network.gateway_api.http_request_timeout_seconds'?: number | null;
|
|
11098
|
+
/**
|
|
11099
|
+
* Sets the idle timeout (in seconds) for HTTP connections proxied through the Gateway API route.
|
|
11100
|
+
* @type {number}
|
|
11101
|
+
* @memberof HelmAdvancedSettings
|
|
11102
|
+
*/
|
|
11103
|
+
'network.gateway_api.http_connection_idle_timeout_seconds'?: number | null;
|
|
11006
11104
|
}
|
|
11007
11105
|
/**
|
|
11008
11106
|
*
|
|
@@ -31289,6 +31387,15 @@ export declare class EnvironmentActionsApi extends BaseAPI {
|
|
|
31289
31387
|
* @export
|
|
31290
31388
|
*/
|
|
31291
31389
|
export declare const EnvironmentDeploymentHistoryApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
31390
|
+
/**
|
|
31391
|
+
* Generate a Grafana snapshot report that shows the resource usage (CPU, memory) of build runner pods for a specific deployment execution. The report is publicly accessible for the specified duration.
|
|
31392
|
+
* @summary Generate a Grafana snapshot report showing build runner pod usage for a specific deployment
|
|
31393
|
+
* @param {string} environmentId Environment ID
|
|
31394
|
+
* @param {DeploymentBuildUsageReportRequest} [deploymentBuildUsageReportRequest]
|
|
31395
|
+
* @param {*} [options] Override http request option.
|
|
31396
|
+
* @throws {RequiredError}
|
|
31397
|
+
*/
|
|
31398
|
+
generateDeploymentBuildUsageReport: (environmentId: string, deploymentBuildUsageReportRequest?: DeploymentBuildUsageReportRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31292
31399
|
/**
|
|
31293
31400
|
* List previous and current environment deployments with the status deployment and the related services. By default it returns the 20 last results. The response is paginated. In order to request the next page, you can use the startId query parameter
|
|
31294
31401
|
* @summary List environment deployments
|
|
@@ -31313,6 +31420,15 @@ export declare const EnvironmentDeploymentHistoryApiAxiosParamCreator: (configur
|
|
|
31313
31420
|
* @export
|
|
31314
31421
|
*/
|
|
31315
31422
|
export declare const EnvironmentDeploymentHistoryApiFp: (configuration?: Configuration) => {
|
|
31423
|
+
/**
|
|
31424
|
+
* Generate a Grafana snapshot report that shows the resource usage (CPU, memory) of build runner pods for a specific deployment execution. The report is publicly accessible for the specified duration.
|
|
31425
|
+
* @summary Generate a Grafana snapshot report showing build runner pod usage for a specific deployment
|
|
31426
|
+
* @param {string} environmentId Environment ID
|
|
31427
|
+
* @param {DeploymentBuildUsageReportRequest} [deploymentBuildUsageReportRequest]
|
|
31428
|
+
* @param {*} [options] Override http request option.
|
|
31429
|
+
* @throws {RequiredError}
|
|
31430
|
+
*/
|
|
31431
|
+
generateDeploymentBuildUsageReport(environmentId: string, deploymentBuildUsageReportRequest?: DeploymentBuildUsageReportRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentBuildUsageReportResponse>>;
|
|
31316
31432
|
/**
|
|
31317
31433
|
* List previous and current environment deployments with the status deployment and the related services. By default it returns the 20 last results. The response is paginated. In order to request the next page, you can use the startId query parameter
|
|
31318
31434
|
* @summary List environment deployments
|
|
@@ -31337,6 +31453,15 @@ export declare const EnvironmentDeploymentHistoryApiFp: (configuration?: Configu
|
|
|
31337
31453
|
* @export
|
|
31338
31454
|
*/
|
|
31339
31455
|
export declare const EnvironmentDeploymentHistoryApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
31456
|
+
/**
|
|
31457
|
+
* Generate a Grafana snapshot report that shows the resource usage (CPU, memory) of build runner pods for a specific deployment execution. The report is publicly accessible for the specified duration.
|
|
31458
|
+
* @summary Generate a Grafana snapshot report showing build runner pod usage for a specific deployment
|
|
31459
|
+
* @param {string} environmentId Environment ID
|
|
31460
|
+
* @param {DeploymentBuildUsageReportRequest} [deploymentBuildUsageReportRequest]
|
|
31461
|
+
* @param {*} [options] Override http request option.
|
|
31462
|
+
* @throws {RequiredError}
|
|
31463
|
+
*/
|
|
31464
|
+
generateDeploymentBuildUsageReport(environmentId: string, deploymentBuildUsageReportRequest?: DeploymentBuildUsageReportRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentBuildUsageReportResponse>;
|
|
31340
31465
|
/**
|
|
31341
31466
|
* List previous and current environment deployments with the status deployment and the related services. By default it returns the 20 last results. The response is paginated. In order to request the next page, you can use the startId query parameter
|
|
31342
31467
|
* @summary List environment deployments
|
|
@@ -31363,6 +31488,16 @@ export declare const EnvironmentDeploymentHistoryApiFactory: (configuration?: Co
|
|
|
31363
31488
|
* @extends {BaseAPI}
|
|
31364
31489
|
*/
|
|
31365
31490
|
export declare class EnvironmentDeploymentHistoryApi extends BaseAPI {
|
|
31491
|
+
/**
|
|
31492
|
+
* Generate a Grafana snapshot report that shows the resource usage (CPU, memory) of build runner pods for a specific deployment execution. The report is publicly accessible for the specified duration.
|
|
31493
|
+
* @summary Generate a Grafana snapshot report showing build runner pod usage for a specific deployment
|
|
31494
|
+
* @param {string} environmentId Environment ID
|
|
31495
|
+
* @param {DeploymentBuildUsageReportRequest} [deploymentBuildUsageReportRequest]
|
|
31496
|
+
* @param {*} [options] Override http request option.
|
|
31497
|
+
* @throws {RequiredError}
|
|
31498
|
+
* @memberof EnvironmentDeploymentHistoryApi
|
|
31499
|
+
*/
|
|
31500
|
+
generateDeploymentBuildUsageReport(environmentId: string, deploymentBuildUsageReportRequest?: DeploymentBuildUsageReportRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeploymentBuildUsageReportResponse, any, {}>>;
|
|
31366
31501
|
/**
|
|
31367
31502
|
* List previous and current environment deployments with the status deployment and the related services. By default it returns the 20 last results. The response is paginated. In order to request the next page, you can use the startId query parameter
|
|
31368
31503
|
* @summary List environment deployments
|
package/dist/api.js
CHANGED
|
@@ -22240,6 +22240,43 @@ exports.EnvironmentActionsApi = EnvironmentActionsApi;
|
|
|
22240
22240
|
*/
|
|
22241
22241
|
const EnvironmentDeploymentHistoryApiAxiosParamCreator = function (configuration) {
|
|
22242
22242
|
return {
|
|
22243
|
+
/**
|
|
22244
|
+
* Generate a Grafana snapshot report that shows the resource usage (CPU, memory) of build runner pods for a specific deployment execution. The report is publicly accessible for the specified duration.
|
|
22245
|
+
* @summary Generate a Grafana snapshot report showing build runner pod usage for a specific deployment
|
|
22246
|
+
* @param {string} environmentId Environment ID
|
|
22247
|
+
* @param {DeploymentBuildUsageReportRequest} [deploymentBuildUsageReportRequest]
|
|
22248
|
+
* @param {*} [options] Override http request option.
|
|
22249
|
+
* @throws {RequiredError}
|
|
22250
|
+
*/
|
|
22251
|
+
generateDeploymentBuildUsageReport: (environmentId_1, deploymentBuildUsageReportRequest_1, ...args_1) => __awaiter(this, [environmentId_1, deploymentBuildUsageReportRequest_1, ...args_1], void 0, function* (environmentId, deploymentBuildUsageReportRequest, options = {}) {
|
|
22252
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
22253
|
+
(0, common_1.assertParamExists)('generateDeploymentBuildUsageReport', 'environmentId', environmentId);
|
|
22254
|
+
const localVarPath = `/environment/{environmentId}/deploymentBuildUsageReport`
|
|
22255
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
22256
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22257
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22258
|
+
let baseOptions;
|
|
22259
|
+
if (configuration) {
|
|
22260
|
+
baseOptions = configuration.baseOptions;
|
|
22261
|
+
}
|
|
22262
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
22263
|
+
const localVarHeaderParameter = {};
|
|
22264
|
+
const localVarQueryParameter = {};
|
|
22265
|
+
// authentication ApiKeyAuth required
|
|
22266
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
22267
|
+
// authentication bearerAuth required
|
|
22268
|
+
// http bearer authentication required
|
|
22269
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
22270
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
22271
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
22272
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22273
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
22274
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(deploymentBuildUsageReportRequest, localVarRequestOptions, configuration);
|
|
22275
|
+
return {
|
|
22276
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
22277
|
+
options: localVarRequestOptions,
|
|
22278
|
+
};
|
|
22279
|
+
}),
|
|
22243
22280
|
/**
|
|
22244
22281
|
* List previous and current environment deployments with the status deployment and the related services. By default it returns the 20 last results. The response is paginated. In order to request the next page, you can use the startId query parameter
|
|
22245
22282
|
* @summary List environment deployments
|
|
@@ -22326,6 +22363,23 @@ exports.EnvironmentDeploymentHistoryApiAxiosParamCreator = EnvironmentDeployment
|
|
|
22326
22363
|
const EnvironmentDeploymentHistoryApiFp = function (configuration) {
|
|
22327
22364
|
const localVarAxiosParamCreator = (0, exports.EnvironmentDeploymentHistoryApiAxiosParamCreator)(configuration);
|
|
22328
22365
|
return {
|
|
22366
|
+
/**
|
|
22367
|
+
* Generate a Grafana snapshot report that shows the resource usage (CPU, memory) of build runner pods for a specific deployment execution. The report is publicly accessible for the specified duration.
|
|
22368
|
+
* @summary Generate a Grafana snapshot report showing build runner pod usage for a specific deployment
|
|
22369
|
+
* @param {string} environmentId Environment ID
|
|
22370
|
+
* @param {DeploymentBuildUsageReportRequest} [deploymentBuildUsageReportRequest]
|
|
22371
|
+
* @param {*} [options] Override http request option.
|
|
22372
|
+
* @throws {RequiredError}
|
|
22373
|
+
*/
|
|
22374
|
+
generateDeploymentBuildUsageReport(environmentId, deploymentBuildUsageReportRequest, options) {
|
|
22375
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22376
|
+
var _a, _b, _c;
|
|
22377
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.generateDeploymentBuildUsageReport(environmentId, deploymentBuildUsageReportRequest, options);
|
|
22378
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
22379
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EnvironmentDeploymentHistoryApi.generateDeploymentBuildUsageReport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
22380
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22381
|
+
});
|
|
22382
|
+
},
|
|
22329
22383
|
/**
|
|
22330
22384
|
* List previous and current environment deployments with the status deployment and the related services. By default it returns the 20 last results. The response is paginated. In order to request the next page, you can use the startId query parameter
|
|
22331
22385
|
* @summary List environment deployments
|
|
@@ -22370,6 +22424,17 @@ exports.EnvironmentDeploymentHistoryApiFp = EnvironmentDeploymentHistoryApiFp;
|
|
|
22370
22424
|
const EnvironmentDeploymentHistoryApiFactory = function (configuration, basePath, axios) {
|
|
22371
22425
|
const localVarFp = (0, exports.EnvironmentDeploymentHistoryApiFp)(configuration);
|
|
22372
22426
|
return {
|
|
22427
|
+
/**
|
|
22428
|
+
* Generate a Grafana snapshot report that shows the resource usage (CPU, memory) of build runner pods for a specific deployment execution. The report is publicly accessible for the specified duration.
|
|
22429
|
+
* @summary Generate a Grafana snapshot report showing build runner pod usage for a specific deployment
|
|
22430
|
+
* @param {string} environmentId Environment ID
|
|
22431
|
+
* @param {DeploymentBuildUsageReportRequest} [deploymentBuildUsageReportRequest]
|
|
22432
|
+
* @param {*} [options] Override http request option.
|
|
22433
|
+
* @throws {RequiredError}
|
|
22434
|
+
*/
|
|
22435
|
+
generateDeploymentBuildUsageReport(environmentId, deploymentBuildUsageReportRequest, options) {
|
|
22436
|
+
return localVarFp.generateDeploymentBuildUsageReport(environmentId, deploymentBuildUsageReportRequest, options).then((request) => request(axios, basePath));
|
|
22437
|
+
},
|
|
22373
22438
|
/**
|
|
22374
22439
|
* List previous and current environment deployments with the status deployment and the related services. By default it returns the 20 last results. The response is paginated. In order to request the next page, you can use the startId query parameter
|
|
22375
22440
|
* @summary List environment deployments
|
|
@@ -22402,6 +22467,18 @@ exports.EnvironmentDeploymentHistoryApiFactory = EnvironmentDeploymentHistoryApi
|
|
|
22402
22467
|
* @extends {BaseAPI}
|
|
22403
22468
|
*/
|
|
22404
22469
|
class EnvironmentDeploymentHistoryApi extends base_1.BaseAPI {
|
|
22470
|
+
/**
|
|
22471
|
+
* Generate a Grafana snapshot report that shows the resource usage (CPU, memory) of build runner pods for a specific deployment execution. The report is publicly accessible for the specified duration.
|
|
22472
|
+
* @summary Generate a Grafana snapshot report showing build runner pod usage for a specific deployment
|
|
22473
|
+
* @param {string} environmentId Environment ID
|
|
22474
|
+
* @param {DeploymentBuildUsageReportRequest} [deploymentBuildUsageReportRequest]
|
|
22475
|
+
* @param {*} [options] Override http request option.
|
|
22476
|
+
* @throws {RequiredError}
|
|
22477
|
+
* @memberof EnvironmentDeploymentHistoryApi
|
|
22478
|
+
*/
|
|
22479
|
+
generateDeploymentBuildUsageReport(environmentId, deploymentBuildUsageReportRequest, options) {
|
|
22480
|
+
return (0, exports.EnvironmentDeploymentHistoryApiFp)(this.configuration).generateDeploymentBuildUsageReport(environmentId, deploymentBuildUsageReportRequest, options).then((request) => request(this.axios, this.basePath));
|
|
22481
|
+
}
|
|
22405
22482
|
/**
|
|
22406
22483
|
* List previous and current environment deployments with the status deployment and the related services. By default it returns the 20 last results. The response is paginated. In order to request the next page, you can use the startId query parameter
|
|
22407
22484
|
* @summary List environment deployments
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1260,6 +1260,18 @@ export interface ApplicationAdvancedSettings {
|
|
|
1260
1260
|
* @memberof ApplicationAdvancedSettings
|
|
1261
1261
|
*/
|
|
1262
1262
|
'network.ingress.extra_headers'?: string;
|
|
1263
|
+
/**
|
|
1264
|
+
* Sets a timeout (in seconds) for requests proxied through the Gateway API route.
|
|
1265
|
+
* @type {number}
|
|
1266
|
+
* @memberof ApplicationAdvancedSettings
|
|
1267
|
+
*/
|
|
1268
|
+
'network.gateway_api.http_request_timeout_seconds'?: number | null;
|
|
1269
|
+
/**
|
|
1270
|
+
* Sets the idle timeout (in seconds) for HTTP connections proxied through the Gateway API route.
|
|
1271
|
+
* @type {number}
|
|
1272
|
+
* @memberof ApplicationAdvancedSettings
|
|
1273
|
+
*/
|
|
1274
|
+
'network.gateway_api.http_connection_idle_timeout_seconds'?: number | null;
|
|
1263
1275
|
/**
|
|
1264
1276
|
* Percentage value of cpu usage at which point pods should scale up.
|
|
1265
1277
|
* @type {number}
|
|
@@ -3345,6 +3357,18 @@ export interface ClusterAdvancedSettings {
|
|
|
3345
3357
|
* @memberof ClusterAdvancedSettings
|
|
3346
3358
|
*/
|
|
3347
3359
|
'nginx.memory.limit_in_mib'?: number;
|
|
3360
|
+
/**
|
|
3361
|
+
* Sets the default request timeout (in seconds) applied to Gateway API routes when the service does not override it.
|
|
3362
|
+
* @type {number}
|
|
3363
|
+
* @memberof ClusterAdvancedSettings
|
|
3364
|
+
*/
|
|
3365
|
+
'envoy.gateway_api.http_request_timeout_seconds'?: number | null;
|
|
3366
|
+
/**
|
|
3367
|
+
* Sets the default idle connection timeout (in seconds) applied to Gateway API routes when the service does not override it.
|
|
3368
|
+
* @type {number}
|
|
3369
|
+
* @memberof ClusterAdvancedSettings
|
|
3370
|
+
*/
|
|
3371
|
+
'envoy.gateway_api.http_connection_idle_timeout_seconds'?: number | null;
|
|
3348
3372
|
/**
|
|
3349
3373
|
* hpa cpu threshold in percentage
|
|
3350
3374
|
* @type {number}
|
|
@@ -5234,6 +5258,18 @@ export interface ContainerAdvancedSettings {
|
|
|
5234
5258
|
* @memberof ContainerAdvancedSettings
|
|
5235
5259
|
*/
|
|
5236
5260
|
'network.ingress.extra_headers'?: string;
|
|
5261
|
+
/**
|
|
5262
|
+
* Sets a timeout (in seconds) for requests proxied through the Gateway API route.
|
|
5263
|
+
* @type {number}
|
|
5264
|
+
* @memberof ContainerAdvancedSettings
|
|
5265
|
+
*/
|
|
5266
|
+
'network.gateway_api.http_request_timeout_seconds'?: number | null;
|
|
5267
|
+
/**
|
|
5268
|
+
* Sets the idle timeout (in seconds) for HTTP connections proxied through the Gateway API route.
|
|
5269
|
+
* @type {number}
|
|
5270
|
+
* @memberof ContainerAdvancedSettings
|
|
5271
|
+
*/
|
|
5272
|
+
'network.gateway_api.http_connection_idle_timeout_seconds'?: number | null;
|
|
5237
5273
|
/**
|
|
5238
5274
|
* Set the name of an environment variable to use as a basic authentication (`login:crypted_password`) from `htpasswd` command. You can add multiples comma separated values.
|
|
5239
5275
|
* @type {string}
|
|
@@ -7361,6 +7397,44 @@ export interface DeployRequest {
|
|
|
7361
7397
|
*/
|
|
7362
7398
|
'git_commit_id': string;
|
|
7363
7399
|
}
|
|
7400
|
+
/**
|
|
7401
|
+
*
|
|
7402
|
+
* @export
|
|
7403
|
+
* @interface DeploymentBuildUsageReportRequest
|
|
7404
|
+
*/
|
|
7405
|
+
export interface DeploymentBuildUsageReportRequest {
|
|
7406
|
+
/**
|
|
7407
|
+
* The deployment execution ID (format environment_id-version)
|
|
7408
|
+
* @type {string}
|
|
7409
|
+
* @memberof DeploymentBuildUsageReportRequest
|
|
7410
|
+
*/
|
|
7411
|
+
'execution_id': string;
|
|
7412
|
+
/**
|
|
7413
|
+
* The number of seconds the report will be publicly available
|
|
7414
|
+
* @type {number}
|
|
7415
|
+
* @memberof DeploymentBuildUsageReportRequest
|
|
7416
|
+
*/
|
|
7417
|
+
'report_expiration_in_seconds': number;
|
|
7418
|
+
}
|
|
7419
|
+
/**
|
|
7420
|
+
*
|
|
7421
|
+
* @export
|
|
7422
|
+
* @interface DeploymentBuildUsageReportResponse
|
|
7423
|
+
*/
|
|
7424
|
+
export interface DeploymentBuildUsageReportResponse {
|
|
7425
|
+
/**
|
|
7426
|
+
* The publicly accessible URL of the Grafana snapshot report showing build pod resource usage
|
|
7427
|
+
* @type {string}
|
|
7428
|
+
* @memberof DeploymentBuildUsageReportResponse
|
|
7429
|
+
*/
|
|
7430
|
+
'report_url'?: string;
|
|
7431
|
+
/**
|
|
7432
|
+
* The URL to pro-actively delete the report before it expires
|
|
7433
|
+
* @type {string}
|
|
7434
|
+
* @memberof DeploymentBuildUsageReportResponse
|
|
7435
|
+
*/
|
|
7436
|
+
'delete_report_url'?: string;
|
|
7437
|
+
}
|
|
7364
7438
|
/**
|
|
7365
7439
|
*
|
|
7366
7440
|
* @export
|
|
@@ -8033,6 +8107,12 @@ export interface DeploymentHistoryServiceDetailsOneOf {
|
|
|
8033
8107
|
* @memberof DeploymentHistoryServiceDetailsOneOf
|
|
8034
8108
|
*/
|
|
8035
8109
|
'commit': Commit | null;
|
|
8110
|
+
/**
|
|
8111
|
+
* The build pod name prefix for monitoring build runner usage. Format build-{execution_id}-0
|
|
8112
|
+
* @type {string}
|
|
8113
|
+
* @memberof DeploymentHistoryServiceDetailsOneOf
|
|
8114
|
+
*/
|
|
8115
|
+
'build_pod_name': string;
|
|
8036
8116
|
}
|
|
8037
8117
|
/**
|
|
8038
8118
|
* ContainerDeploymentHistoryData
|
|
@@ -8101,6 +8181,12 @@ export interface DeploymentHistoryServiceDetailsOneOf2 {
|
|
|
8101
8181
|
* @memberof DeploymentHistoryServiceDetailsOneOf2
|
|
8102
8182
|
*/
|
|
8103
8183
|
'job_type': DeploymentHistoryServiceDetailsOneOf2JobTypeEnum;
|
|
8184
|
+
/**
|
|
8185
|
+
* The build pod name prefix. Only set for jobs with a git source (Docker build). Null for container-source jobs.
|
|
8186
|
+
* @type {string}
|
|
8187
|
+
* @memberof DeploymentHistoryServiceDetailsOneOf2
|
|
8188
|
+
*/
|
|
8189
|
+
'build_pod_name'?: string | null;
|
|
8104
8190
|
}
|
|
8105
8191
|
export declare const DeploymentHistoryServiceDetailsOneOf2JobTypeEnum: {
|
|
8106
8192
|
readonly CRON: "CRON";
|
|
@@ -11003,6 +11089,18 @@ export interface HelmAdvancedSettings {
|
|
|
11003
11089
|
* @memberof HelmAdvancedSettings
|
|
11004
11090
|
*/
|
|
11005
11091
|
'network.ingress.enable_sticky_session'?: boolean;
|
|
11092
|
+
/**
|
|
11093
|
+
* Sets a timeout (in seconds) for requests proxied through the Gateway API route.
|
|
11094
|
+
* @type {number}
|
|
11095
|
+
* @memberof HelmAdvancedSettings
|
|
11096
|
+
*/
|
|
11097
|
+
'network.gateway_api.http_request_timeout_seconds'?: number | null;
|
|
11098
|
+
/**
|
|
11099
|
+
* Sets the idle timeout (in seconds) for HTTP connections proxied through the Gateway API route.
|
|
11100
|
+
* @type {number}
|
|
11101
|
+
* @memberof HelmAdvancedSettings
|
|
11102
|
+
*/
|
|
11103
|
+
'network.gateway_api.http_connection_idle_timeout_seconds'?: number | null;
|
|
11006
11104
|
}
|
|
11007
11105
|
/**
|
|
11008
11106
|
*
|
|
@@ -31289,6 +31387,15 @@ export declare class EnvironmentActionsApi extends BaseAPI {
|
|
|
31289
31387
|
* @export
|
|
31290
31388
|
*/
|
|
31291
31389
|
export declare const EnvironmentDeploymentHistoryApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
31390
|
+
/**
|
|
31391
|
+
* Generate a Grafana snapshot report that shows the resource usage (CPU, memory) of build runner pods for a specific deployment execution. The report is publicly accessible for the specified duration.
|
|
31392
|
+
* @summary Generate a Grafana snapshot report showing build runner pod usage for a specific deployment
|
|
31393
|
+
* @param {string} environmentId Environment ID
|
|
31394
|
+
* @param {DeploymentBuildUsageReportRequest} [deploymentBuildUsageReportRequest]
|
|
31395
|
+
* @param {*} [options] Override http request option.
|
|
31396
|
+
* @throws {RequiredError}
|
|
31397
|
+
*/
|
|
31398
|
+
generateDeploymentBuildUsageReport: (environmentId: string, deploymentBuildUsageReportRequest?: DeploymentBuildUsageReportRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31292
31399
|
/**
|
|
31293
31400
|
* List previous and current environment deployments with the status deployment and the related services. By default it returns the 20 last results. The response is paginated. In order to request the next page, you can use the startId query parameter
|
|
31294
31401
|
* @summary List environment deployments
|
|
@@ -31313,6 +31420,15 @@ export declare const EnvironmentDeploymentHistoryApiAxiosParamCreator: (configur
|
|
|
31313
31420
|
* @export
|
|
31314
31421
|
*/
|
|
31315
31422
|
export declare const EnvironmentDeploymentHistoryApiFp: (configuration?: Configuration) => {
|
|
31423
|
+
/**
|
|
31424
|
+
* Generate a Grafana snapshot report that shows the resource usage (CPU, memory) of build runner pods for a specific deployment execution. The report is publicly accessible for the specified duration.
|
|
31425
|
+
* @summary Generate a Grafana snapshot report showing build runner pod usage for a specific deployment
|
|
31426
|
+
* @param {string} environmentId Environment ID
|
|
31427
|
+
* @param {DeploymentBuildUsageReportRequest} [deploymentBuildUsageReportRequest]
|
|
31428
|
+
* @param {*} [options] Override http request option.
|
|
31429
|
+
* @throws {RequiredError}
|
|
31430
|
+
*/
|
|
31431
|
+
generateDeploymentBuildUsageReport(environmentId: string, deploymentBuildUsageReportRequest?: DeploymentBuildUsageReportRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentBuildUsageReportResponse>>;
|
|
31316
31432
|
/**
|
|
31317
31433
|
* List previous and current environment deployments with the status deployment and the related services. By default it returns the 20 last results. The response is paginated. In order to request the next page, you can use the startId query parameter
|
|
31318
31434
|
* @summary List environment deployments
|
|
@@ -31337,6 +31453,15 @@ export declare const EnvironmentDeploymentHistoryApiFp: (configuration?: Configu
|
|
|
31337
31453
|
* @export
|
|
31338
31454
|
*/
|
|
31339
31455
|
export declare const EnvironmentDeploymentHistoryApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
31456
|
+
/**
|
|
31457
|
+
* Generate a Grafana snapshot report that shows the resource usage (CPU, memory) of build runner pods for a specific deployment execution. The report is publicly accessible for the specified duration.
|
|
31458
|
+
* @summary Generate a Grafana snapshot report showing build runner pod usage for a specific deployment
|
|
31459
|
+
* @param {string} environmentId Environment ID
|
|
31460
|
+
* @param {DeploymentBuildUsageReportRequest} [deploymentBuildUsageReportRequest]
|
|
31461
|
+
* @param {*} [options] Override http request option.
|
|
31462
|
+
* @throws {RequiredError}
|
|
31463
|
+
*/
|
|
31464
|
+
generateDeploymentBuildUsageReport(environmentId: string, deploymentBuildUsageReportRequest?: DeploymentBuildUsageReportRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentBuildUsageReportResponse>;
|
|
31340
31465
|
/**
|
|
31341
31466
|
* List previous and current environment deployments with the status deployment and the related services. By default it returns the 20 last results. The response is paginated. In order to request the next page, you can use the startId query parameter
|
|
31342
31467
|
* @summary List environment deployments
|
|
@@ -31363,6 +31488,16 @@ export declare const EnvironmentDeploymentHistoryApiFactory: (configuration?: Co
|
|
|
31363
31488
|
* @extends {BaseAPI}
|
|
31364
31489
|
*/
|
|
31365
31490
|
export declare class EnvironmentDeploymentHistoryApi extends BaseAPI {
|
|
31491
|
+
/**
|
|
31492
|
+
* Generate a Grafana snapshot report that shows the resource usage (CPU, memory) of build runner pods for a specific deployment execution. The report is publicly accessible for the specified duration.
|
|
31493
|
+
* @summary Generate a Grafana snapshot report showing build runner pod usage for a specific deployment
|
|
31494
|
+
* @param {string} environmentId Environment ID
|
|
31495
|
+
* @param {DeploymentBuildUsageReportRequest} [deploymentBuildUsageReportRequest]
|
|
31496
|
+
* @param {*} [options] Override http request option.
|
|
31497
|
+
* @throws {RequiredError}
|
|
31498
|
+
* @memberof EnvironmentDeploymentHistoryApi
|
|
31499
|
+
*/
|
|
31500
|
+
generateDeploymentBuildUsageReport(environmentId: string, deploymentBuildUsageReportRequest?: DeploymentBuildUsageReportRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeploymentBuildUsageReportResponse, any, {}>>;
|
|
31366
31501
|
/**
|
|
31367
31502
|
* List previous and current environment deployments with the status deployment and the related services. By default it returns the 20 last results. The response is paginated. In order to request the next page, you can use the startId query parameter
|
|
31368
31503
|
* @summary List environment deployments
|
package/dist/esm/api.js
CHANGED
|
@@ -22071,6 +22071,43 @@ export class EnvironmentActionsApi extends BaseAPI {
|
|
|
22071
22071
|
*/
|
|
22072
22072
|
export const EnvironmentDeploymentHistoryApiAxiosParamCreator = function (configuration) {
|
|
22073
22073
|
return {
|
|
22074
|
+
/**
|
|
22075
|
+
* Generate a Grafana snapshot report that shows the resource usage (CPU, memory) of build runner pods for a specific deployment execution. The report is publicly accessible for the specified duration.
|
|
22076
|
+
* @summary Generate a Grafana snapshot report showing build runner pod usage for a specific deployment
|
|
22077
|
+
* @param {string} environmentId Environment ID
|
|
22078
|
+
* @param {DeploymentBuildUsageReportRequest} [deploymentBuildUsageReportRequest]
|
|
22079
|
+
* @param {*} [options] Override http request option.
|
|
22080
|
+
* @throws {RequiredError}
|
|
22081
|
+
*/
|
|
22082
|
+
generateDeploymentBuildUsageReport: (environmentId_1, deploymentBuildUsageReportRequest_1, ...args_1) => __awaiter(this, [environmentId_1, deploymentBuildUsageReportRequest_1, ...args_1], void 0, function* (environmentId, deploymentBuildUsageReportRequest, options = {}) {
|
|
22083
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
22084
|
+
assertParamExists('generateDeploymentBuildUsageReport', 'environmentId', environmentId);
|
|
22085
|
+
const localVarPath = `/environment/{environmentId}/deploymentBuildUsageReport`
|
|
22086
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
22087
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22088
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22089
|
+
let baseOptions;
|
|
22090
|
+
if (configuration) {
|
|
22091
|
+
baseOptions = configuration.baseOptions;
|
|
22092
|
+
}
|
|
22093
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
22094
|
+
const localVarHeaderParameter = {};
|
|
22095
|
+
const localVarQueryParameter = {};
|
|
22096
|
+
// authentication ApiKeyAuth required
|
|
22097
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
22098
|
+
// authentication bearerAuth required
|
|
22099
|
+
// http bearer authentication required
|
|
22100
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
22101
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
22102
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22103
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22104
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
22105
|
+
localVarRequestOptions.data = serializeDataIfNeeded(deploymentBuildUsageReportRequest, localVarRequestOptions, configuration);
|
|
22106
|
+
return {
|
|
22107
|
+
url: toPathString(localVarUrlObj),
|
|
22108
|
+
options: localVarRequestOptions,
|
|
22109
|
+
};
|
|
22110
|
+
}),
|
|
22074
22111
|
/**
|
|
22075
22112
|
* List previous and current environment deployments with the status deployment and the related services. By default it returns the 20 last results. The response is paginated. In order to request the next page, you can use the startId query parameter
|
|
22076
22113
|
* @summary List environment deployments
|
|
@@ -22156,6 +22193,23 @@ export const EnvironmentDeploymentHistoryApiAxiosParamCreator = function (config
|
|
|
22156
22193
|
export const EnvironmentDeploymentHistoryApiFp = function (configuration) {
|
|
22157
22194
|
const localVarAxiosParamCreator = EnvironmentDeploymentHistoryApiAxiosParamCreator(configuration);
|
|
22158
22195
|
return {
|
|
22196
|
+
/**
|
|
22197
|
+
* Generate a Grafana snapshot report that shows the resource usage (CPU, memory) of build runner pods for a specific deployment execution. The report is publicly accessible for the specified duration.
|
|
22198
|
+
* @summary Generate a Grafana snapshot report showing build runner pod usage for a specific deployment
|
|
22199
|
+
* @param {string} environmentId Environment ID
|
|
22200
|
+
* @param {DeploymentBuildUsageReportRequest} [deploymentBuildUsageReportRequest]
|
|
22201
|
+
* @param {*} [options] Override http request option.
|
|
22202
|
+
* @throws {RequiredError}
|
|
22203
|
+
*/
|
|
22204
|
+
generateDeploymentBuildUsageReport(environmentId, deploymentBuildUsageReportRequest, options) {
|
|
22205
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22206
|
+
var _a, _b, _c;
|
|
22207
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.generateDeploymentBuildUsageReport(environmentId, deploymentBuildUsageReportRequest, options);
|
|
22208
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
22209
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnvironmentDeploymentHistoryApi.generateDeploymentBuildUsageReport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
22210
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22211
|
+
});
|
|
22212
|
+
},
|
|
22159
22213
|
/**
|
|
22160
22214
|
* List previous and current environment deployments with the status deployment and the related services. By default it returns the 20 last results. The response is paginated. In order to request the next page, you can use the startId query parameter
|
|
22161
22215
|
* @summary List environment deployments
|
|
@@ -22199,6 +22253,17 @@ export const EnvironmentDeploymentHistoryApiFp = function (configuration) {
|
|
|
22199
22253
|
export const EnvironmentDeploymentHistoryApiFactory = function (configuration, basePath, axios) {
|
|
22200
22254
|
const localVarFp = EnvironmentDeploymentHistoryApiFp(configuration);
|
|
22201
22255
|
return {
|
|
22256
|
+
/**
|
|
22257
|
+
* Generate a Grafana snapshot report that shows the resource usage (CPU, memory) of build runner pods for a specific deployment execution. The report is publicly accessible for the specified duration.
|
|
22258
|
+
* @summary Generate a Grafana snapshot report showing build runner pod usage for a specific deployment
|
|
22259
|
+
* @param {string} environmentId Environment ID
|
|
22260
|
+
* @param {DeploymentBuildUsageReportRequest} [deploymentBuildUsageReportRequest]
|
|
22261
|
+
* @param {*} [options] Override http request option.
|
|
22262
|
+
* @throws {RequiredError}
|
|
22263
|
+
*/
|
|
22264
|
+
generateDeploymentBuildUsageReport(environmentId, deploymentBuildUsageReportRequest, options) {
|
|
22265
|
+
return localVarFp.generateDeploymentBuildUsageReport(environmentId, deploymentBuildUsageReportRequest, options).then((request) => request(axios, basePath));
|
|
22266
|
+
},
|
|
22202
22267
|
/**
|
|
22203
22268
|
* List previous and current environment deployments with the status deployment and the related services. By default it returns the 20 last results. The response is paginated. In order to request the next page, you can use the startId query parameter
|
|
22204
22269
|
* @summary List environment deployments
|
|
@@ -22230,6 +22295,18 @@ export const EnvironmentDeploymentHistoryApiFactory = function (configuration, b
|
|
|
22230
22295
|
* @extends {BaseAPI}
|
|
22231
22296
|
*/
|
|
22232
22297
|
export class EnvironmentDeploymentHistoryApi extends BaseAPI {
|
|
22298
|
+
/**
|
|
22299
|
+
* Generate a Grafana snapshot report that shows the resource usage (CPU, memory) of build runner pods for a specific deployment execution. The report is publicly accessible for the specified duration.
|
|
22300
|
+
* @summary Generate a Grafana snapshot report showing build runner pod usage for a specific deployment
|
|
22301
|
+
* @param {string} environmentId Environment ID
|
|
22302
|
+
* @param {DeploymentBuildUsageReportRequest} [deploymentBuildUsageReportRequest]
|
|
22303
|
+
* @param {*} [options] Override http request option.
|
|
22304
|
+
* @throws {RequiredError}
|
|
22305
|
+
* @memberof EnvironmentDeploymentHistoryApi
|
|
22306
|
+
*/
|
|
22307
|
+
generateDeploymentBuildUsageReport(environmentId, deploymentBuildUsageReportRequest, options) {
|
|
22308
|
+
return EnvironmentDeploymentHistoryApiFp(this.configuration).generateDeploymentBuildUsageReport(environmentId, deploymentBuildUsageReportRequest, options).then((request) => request(this.axios, this.basePath));
|
|
22309
|
+
}
|
|
22233
22310
|
/**
|
|
22234
22311
|
* List previous and current environment deployments with the status deployment and the related services. By default it returns the 20 last results. The response is paginated. In order to request the next page, you can use the startId query parameter
|
|
22235
22312
|
* @summary List environment deployments
|