qovery-typescript-axios 1.1.868 → 1.1.870
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 +220 -0
- package/dist/api.d.ts +176 -0
- package/dist/api.js +86 -11
- package/dist/esm/api.d.ts +176 -0
- package/dist/esm/api.js +75 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -2071,6 +2071,42 @@ export interface ArgocdAppResponse {
|
|
|
2071
2071
|
* @memberof ArgocdAppResponse
|
|
2072
2072
|
*/
|
|
2073
2073
|
'namespace': string;
|
|
2074
|
+
/**
|
|
2075
|
+
*
|
|
2076
|
+
* @type {string}
|
|
2077
|
+
* @memberof ArgocdAppResponse
|
|
2078
|
+
*/
|
|
2079
|
+
'environment_id': string;
|
|
2080
|
+
/**
|
|
2081
|
+
*
|
|
2082
|
+
* @type {string}
|
|
2083
|
+
* @memberof ArgocdAppResponse
|
|
2084
|
+
*/
|
|
2085
|
+
'cluster_id': string;
|
|
2086
|
+
/**
|
|
2087
|
+
*
|
|
2088
|
+
* @type {string}
|
|
2089
|
+
* @memberof ArgocdAppResponse
|
|
2090
|
+
*/
|
|
2091
|
+
'last_synced_at'?: string | null;
|
|
2092
|
+
/**
|
|
2093
|
+
*
|
|
2094
|
+
* @type {string}
|
|
2095
|
+
* @memberof ArgocdAppResponse
|
|
2096
|
+
*/
|
|
2097
|
+
'manifest_revision'?: string | null;
|
|
2098
|
+
/**
|
|
2099
|
+
*
|
|
2100
|
+
* @type {string}
|
|
2101
|
+
* @memberof ArgocdAppResponse
|
|
2102
|
+
*/
|
|
2103
|
+
'source_repo_url'?: string | null;
|
|
2104
|
+
/**
|
|
2105
|
+
*
|
|
2106
|
+
* @type {string}
|
|
2107
|
+
* @memberof ArgocdAppResponse
|
|
2108
|
+
*/
|
|
2109
|
+
'source_target_revision'?: string | null;
|
|
2074
2110
|
}
|
|
2075
2111
|
|
|
2076
2112
|
|
|
@@ -3428,6 +3464,108 @@ export interface ClusterAdvancedSettings {
|
|
|
3428
3464
|
* @memberof ClusterAdvancedSettings
|
|
3429
3465
|
*/
|
|
3430
3466
|
'loki.log_retention_in_week'?: number;
|
|
3467
|
+
/**
|
|
3468
|
+
* Loki deployment topology. \"single_binary\" runs Loki as one pod; \"simple_scalable\" splits it into separate write, read, and backend components for larger clusters.
|
|
3469
|
+
* @type {string}
|
|
3470
|
+
* @memberof ClusterAdvancedSettings
|
|
3471
|
+
*/
|
|
3472
|
+
'loki.deployment_mode'?: ClusterAdvancedSettingsLokiDeploymentModeEnum;
|
|
3473
|
+
/**
|
|
3474
|
+
* CPU request (in milli-CPU) for the Loki pod when running in single_binary mode.
|
|
3475
|
+
* @type {number}
|
|
3476
|
+
* @memberof ClusterAdvancedSettings
|
|
3477
|
+
*/
|
|
3478
|
+
'loki.single_binary.cpu_request_m'?: number;
|
|
3479
|
+
/**
|
|
3480
|
+
* CPU limit (in milli-CPU) for the Loki pod when running in single_binary mode.
|
|
3481
|
+
* @type {number}
|
|
3482
|
+
* @memberof ClusterAdvancedSettings
|
|
3483
|
+
*/
|
|
3484
|
+
'loki.single_binary.cpu_limit_m'?: number;
|
|
3485
|
+
/**
|
|
3486
|
+
* Memory request (in MiB) for the Loki pod when running in single_binary mode.
|
|
3487
|
+
* @type {number}
|
|
3488
|
+
* @memberof ClusterAdvancedSettings
|
|
3489
|
+
*/
|
|
3490
|
+
'loki.single_binary.memory_request_mib'?: number;
|
|
3491
|
+
/**
|
|
3492
|
+
* Memory limit (in MiB) for the Loki pod when running in single_binary mode.
|
|
3493
|
+
* @type {number}
|
|
3494
|
+
* @memberof ClusterAdvancedSettings
|
|
3495
|
+
*/
|
|
3496
|
+
'loki.single_binary.memory_limit_mib'?: number;
|
|
3497
|
+
/**
|
|
3498
|
+
* CPU request (in milli-CPU) for the Loki write component when running in simple_scalable mode.
|
|
3499
|
+
* @type {number}
|
|
3500
|
+
* @memberof ClusterAdvancedSettings
|
|
3501
|
+
*/
|
|
3502
|
+
'loki.write.cpu_request_m'?: number;
|
|
3503
|
+
/**
|
|
3504
|
+
* CPU limit (in milli-CPU) for the Loki write component when running in simple_scalable mode.
|
|
3505
|
+
* @type {number}
|
|
3506
|
+
* @memberof ClusterAdvancedSettings
|
|
3507
|
+
*/
|
|
3508
|
+
'loki.write.cpu_limit_m'?: number;
|
|
3509
|
+
/**
|
|
3510
|
+
* Memory request (in MiB) for the Loki write component when running in simple_scalable mode.
|
|
3511
|
+
* @type {number}
|
|
3512
|
+
* @memberof ClusterAdvancedSettings
|
|
3513
|
+
*/
|
|
3514
|
+
'loki.write.memory_request_mib'?: number;
|
|
3515
|
+
/**
|
|
3516
|
+
* Memory limit (in MiB) for the Loki write component when running in simple_scalable mode.
|
|
3517
|
+
* @type {number}
|
|
3518
|
+
* @memberof ClusterAdvancedSettings
|
|
3519
|
+
*/
|
|
3520
|
+
'loki.write.memory_limit_mib'?: number;
|
|
3521
|
+
/**
|
|
3522
|
+
* CPU request (in milli-CPU) for the Loki read component when running in simple_scalable mode.
|
|
3523
|
+
* @type {number}
|
|
3524
|
+
* @memberof ClusterAdvancedSettings
|
|
3525
|
+
*/
|
|
3526
|
+
'loki.read.cpu_request_m'?: number;
|
|
3527
|
+
/**
|
|
3528
|
+
* CPU limit (in milli-CPU) for the Loki read component when running in simple_scalable mode.
|
|
3529
|
+
* @type {number}
|
|
3530
|
+
* @memberof ClusterAdvancedSettings
|
|
3531
|
+
*/
|
|
3532
|
+
'loki.read.cpu_limit_m'?: number;
|
|
3533
|
+
/**
|
|
3534
|
+
* Memory request (in MiB) for the Loki read component when running in simple_scalable mode.
|
|
3535
|
+
* @type {number}
|
|
3536
|
+
* @memberof ClusterAdvancedSettings
|
|
3537
|
+
*/
|
|
3538
|
+
'loki.read.memory_request_mib'?: number;
|
|
3539
|
+
/**
|
|
3540
|
+
* Memory limit (in MiB) for the Loki read component when running in simple_scalable mode.
|
|
3541
|
+
* @type {number}
|
|
3542
|
+
* @memberof ClusterAdvancedSettings
|
|
3543
|
+
*/
|
|
3544
|
+
'loki.read.memory_limit_mib'?: number;
|
|
3545
|
+
/**
|
|
3546
|
+
* CPU request (in milli-CPU) for the Loki backend component when running in simple_scalable mode.
|
|
3547
|
+
* @type {number}
|
|
3548
|
+
* @memberof ClusterAdvancedSettings
|
|
3549
|
+
*/
|
|
3550
|
+
'loki.backend.cpu_request_m'?: number;
|
|
3551
|
+
/**
|
|
3552
|
+
* CPU limit (in milli-CPU) for the Loki backend component when running in simple_scalable mode.
|
|
3553
|
+
* @type {number}
|
|
3554
|
+
* @memberof ClusterAdvancedSettings
|
|
3555
|
+
*/
|
|
3556
|
+
'loki.backend.cpu_limit_m'?: number;
|
|
3557
|
+
/**
|
|
3558
|
+
* Memory request (in MiB) for the Loki backend component when running in simple_scalable mode.
|
|
3559
|
+
* @type {number}
|
|
3560
|
+
* @memberof ClusterAdvancedSettings
|
|
3561
|
+
*/
|
|
3562
|
+
'loki.backend.memory_request_mib'?: number;
|
|
3563
|
+
/**
|
|
3564
|
+
* Memory limit (in MiB) for the Loki backend component when running in simple_scalable mode.
|
|
3565
|
+
* @type {number}
|
|
3566
|
+
* @memberof ClusterAdvancedSettings
|
|
3567
|
+
*/
|
|
3568
|
+
'loki.backend.memory_limit_mib'?: number;
|
|
3431
3569
|
/**
|
|
3432
3570
|
* Configure the number of seconds before cleaning images in the registry
|
|
3433
3571
|
* @type {number}
|
|
@@ -3629,6 +3767,12 @@ export interface ClusterAdvancedSettings {
|
|
|
3629
3767
|
'k8s.api.allowed_public_access_cidrs'?: Array<string>;
|
|
3630
3768
|
}
|
|
3631
3769
|
|
|
3770
|
+
export const ClusterAdvancedSettingsLokiDeploymentModeEnum = {
|
|
3771
|
+
SINGLE_BINARY: 'single_binary',
|
|
3772
|
+
SIMPLE_SCALABLE: 'simple_scalable'
|
|
3773
|
+
} as const;
|
|
3774
|
+
|
|
3775
|
+
export type ClusterAdvancedSettingsLokiDeploymentModeEnum = typeof ClusterAdvancedSettingsLokiDeploymentModeEnum[keyof typeof ClusterAdvancedSettingsLokiDeploymentModeEnum];
|
|
3632
3776
|
export const ClusterAdvancedSettingsAwsEksEfsThroughputModeEnum = {
|
|
3633
3777
|
BURSTING: 'bursting',
|
|
3634
3778
|
ELASTIC: 'elastic',
|
|
@@ -27896,6 +28040,47 @@ export const ArgoCDApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
27896
28040
|
|
|
27897
28041
|
|
|
27898
28042
|
|
|
28043
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28044
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28045
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28046
|
+
|
|
28047
|
+
return {
|
|
28048
|
+
url: toPathString(localVarUrlObj),
|
|
28049
|
+
options: localVarRequestOptions,
|
|
28050
|
+
};
|
|
28051
|
+
},
|
|
28052
|
+
/**
|
|
28053
|
+
*
|
|
28054
|
+
* @summary Get ArgoCD app by ID
|
|
28055
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
28056
|
+
* @param {*} [options] Override http request option.
|
|
28057
|
+
* @throws {RequiredError}
|
|
28058
|
+
*/
|
|
28059
|
+
getArgoCdApp: async (argocdAppId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28060
|
+
// verify required parameter 'argocdAppId' is not null or undefined
|
|
28061
|
+
assertParamExists('getArgoCdApp', 'argocdAppId', argocdAppId)
|
|
28062
|
+
const localVarPath = `/argocdApp/{argocdAppId}`
|
|
28063
|
+
.replace(`{${"argocdAppId"}}`, encodeURIComponent(String(argocdAppId)));
|
|
28064
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28065
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28066
|
+
let baseOptions;
|
|
28067
|
+
if (configuration) {
|
|
28068
|
+
baseOptions = configuration.baseOptions;
|
|
28069
|
+
}
|
|
28070
|
+
|
|
28071
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
28072
|
+
const localVarHeaderParameter = {} as any;
|
|
28073
|
+
const localVarQueryParameter = {} as any;
|
|
28074
|
+
|
|
28075
|
+
// authentication ApiKeyAuth required
|
|
28076
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
28077
|
+
|
|
28078
|
+
// authentication bearerAuth required
|
|
28079
|
+
// http bearer authentication required
|
|
28080
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
28081
|
+
|
|
28082
|
+
|
|
28083
|
+
|
|
27899
28084
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27900
28085
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27901
28086
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -28030,6 +28215,19 @@ export const ArgoCDApiFp = function(configuration?: Configuration) {
|
|
|
28030
28215
|
const localVarOperationServerBasePath = operationServerMap['ArgoCDApi.deleteArgoCdCredentials']?.[localVarOperationServerIndex]?.url;
|
|
28031
28216
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
28032
28217
|
},
|
|
28218
|
+
/**
|
|
28219
|
+
*
|
|
28220
|
+
* @summary Get ArgoCD app by ID
|
|
28221
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
28222
|
+
* @param {*} [options] Override http request option.
|
|
28223
|
+
* @throws {RequiredError}
|
|
28224
|
+
*/
|
|
28225
|
+
async getArgoCdApp(argocdAppId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArgocdAppResponse>> {
|
|
28226
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getArgoCdApp(argocdAppId, options);
|
|
28227
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
28228
|
+
const localVarOperationServerBasePath = operationServerMap['ArgoCDApi.getArgoCdApp']?.[localVarOperationServerIndex]?.url;
|
|
28229
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
28230
|
+
},
|
|
28033
28231
|
/**
|
|
28034
28232
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
28035
28233
|
* @summary Get ArgoCD credentials for a cluster
|
|
@@ -28088,6 +28286,16 @@ export const ArgoCDApiFactory = function (configuration?: Configuration, basePat
|
|
|
28088
28286
|
deleteArgoCdCredentials(clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
28089
28287
|
return localVarFp.deleteArgoCdCredentials(clusterId, options).then((request) => request(axios, basePath));
|
|
28090
28288
|
},
|
|
28289
|
+
/**
|
|
28290
|
+
*
|
|
28291
|
+
* @summary Get ArgoCD app by ID
|
|
28292
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
28293
|
+
* @param {*} [options] Override http request option.
|
|
28294
|
+
* @throws {RequiredError}
|
|
28295
|
+
*/
|
|
28296
|
+
getArgoCdApp(argocdAppId: string, options?: RawAxiosRequestConfig): AxiosPromise<ArgocdAppResponse> {
|
|
28297
|
+
return localVarFp.getArgoCdApp(argocdAppId, options).then((request) => request(axios, basePath));
|
|
28298
|
+
},
|
|
28091
28299
|
/**
|
|
28092
28300
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
28093
28301
|
* @summary Get ArgoCD credentials for a cluster
|
|
@@ -28144,6 +28352,18 @@ export class ArgoCDApi extends BaseAPI {
|
|
|
28144
28352
|
return ArgoCDApiFp(this.configuration).deleteArgoCdCredentials(clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
28145
28353
|
}
|
|
28146
28354
|
|
|
28355
|
+
/**
|
|
28356
|
+
*
|
|
28357
|
+
* @summary Get ArgoCD app by ID
|
|
28358
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
28359
|
+
* @param {*} [options] Override http request option.
|
|
28360
|
+
* @throws {RequiredError}
|
|
28361
|
+
* @memberof ArgoCDApi
|
|
28362
|
+
*/
|
|
28363
|
+
public getArgoCdApp(argocdAppId: string, options?: RawAxiosRequestConfig) {
|
|
28364
|
+
return ArgoCDApiFp(this.configuration).getArgoCdApp(argocdAppId, options).then((request) => request(this.axios, this.basePath));
|
|
28365
|
+
}
|
|
28366
|
+
|
|
28147
28367
|
/**
|
|
28148
28368
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
28149
28369
|
* @summary Get ArgoCD credentials for a cluster
|
package/dist/api.d.ts
CHANGED
|
@@ -1991,6 +1991,42 @@ export interface ArgocdAppResponse {
|
|
|
1991
1991
|
* @memberof ArgocdAppResponse
|
|
1992
1992
|
*/
|
|
1993
1993
|
'namespace': string;
|
|
1994
|
+
/**
|
|
1995
|
+
*
|
|
1996
|
+
* @type {string}
|
|
1997
|
+
* @memberof ArgocdAppResponse
|
|
1998
|
+
*/
|
|
1999
|
+
'environment_id': string;
|
|
2000
|
+
/**
|
|
2001
|
+
*
|
|
2002
|
+
* @type {string}
|
|
2003
|
+
* @memberof ArgocdAppResponse
|
|
2004
|
+
*/
|
|
2005
|
+
'cluster_id': string;
|
|
2006
|
+
/**
|
|
2007
|
+
*
|
|
2008
|
+
* @type {string}
|
|
2009
|
+
* @memberof ArgocdAppResponse
|
|
2010
|
+
*/
|
|
2011
|
+
'last_synced_at'?: string | null;
|
|
2012
|
+
/**
|
|
2013
|
+
*
|
|
2014
|
+
* @type {string}
|
|
2015
|
+
* @memberof ArgocdAppResponse
|
|
2016
|
+
*/
|
|
2017
|
+
'manifest_revision'?: string | null;
|
|
2018
|
+
/**
|
|
2019
|
+
*
|
|
2020
|
+
* @type {string}
|
|
2021
|
+
* @memberof ArgocdAppResponse
|
|
2022
|
+
*/
|
|
2023
|
+
'source_repo_url'?: string | null;
|
|
2024
|
+
/**
|
|
2025
|
+
*
|
|
2026
|
+
* @type {string}
|
|
2027
|
+
* @memberof ArgocdAppResponse
|
|
2028
|
+
*/
|
|
2029
|
+
'source_target_revision'?: string | null;
|
|
1994
2030
|
}
|
|
1995
2031
|
/**
|
|
1996
2032
|
*
|
|
@@ -3311,6 +3347,108 @@ export interface ClusterAdvancedSettings {
|
|
|
3311
3347
|
* @memberof ClusterAdvancedSettings
|
|
3312
3348
|
*/
|
|
3313
3349
|
'loki.log_retention_in_week'?: number;
|
|
3350
|
+
/**
|
|
3351
|
+
* Loki deployment topology. \"single_binary\" runs Loki as one pod; \"simple_scalable\" splits it into separate write, read, and backend components for larger clusters.
|
|
3352
|
+
* @type {string}
|
|
3353
|
+
* @memberof ClusterAdvancedSettings
|
|
3354
|
+
*/
|
|
3355
|
+
'loki.deployment_mode'?: ClusterAdvancedSettingsLokiDeploymentModeEnum;
|
|
3356
|
+
/**
|
|
3357
|
+
* CPU request (in milli-CPU) for the Loki pod when running in single_binary mode.
|
|
3358
|
+
* @type {number}
|
|
3359
|
+
* @memberof ClusterAdvancedSettings
|
|
3360
|
+
*/
|
|
3361
|
+
'loki.single_binary.cpu_request_m'?: number;
|
|
3362
|
+
/**
|
|
3363
|
+
* CPU limit (in milli-CPU) for the Loki pod when running in single_binary mode.
|
|
3364
|
+
* @type {number}
|
|
3365
|
+
* @memberof ClusterAdvancedSettings
|
|
3366
|
+
*/
|
|
3367
|
+
'loki.single_binary.cpu_limit_m'?: number;
|
|
3368
|
+
/**
|
|
3369
|
+
* Memory request (in MiB) for the Loki pod when running in single_binary mode.
|
|
3370
|
+
* @type {number}
|
|
3371
|
+
* @memberof ClusterAdvancedSettings
|
|
3372
|
+
*/
|
|
3373
|
+
'loki.single_binary.memory_request_mib'?: number;
|
|
3374
|
+
/**
|
|
3375
|
+
* Memory limit (in MiB) for the Loki pod when running in single_binary mode.
|
|
3376
|
+
* @type {number}
|
|
3377
|
+
* @memberof ClusterAdvancedSettings
|
|
3378
|
+
*/
|
|
3379
|
+
'loki.single_binary.memory_limit_mib'?: number;
|
|
3380
|
+
/**
|
|
3381
|
+
* CPU request (in milli-CPU) for the Loki write component when running in simple_scalable mode.
|
|
3382
|
+
* @type {number}
|
|
3383
|
+
* @memberof ClusterAdvancedSettings
|
|
3384
|
+
*/
|
|
3385
|
+
'loki.write.cpu_request_m'?: number;
|
|
3386
|
+
/**
|
|
3387
|
+
* CPU limit (in milli-CPU) for the Loki write component when running in simple_scalable mode.
|
|
3388
|
+
* @type {number}
|
|
3389
|
+
* @memberof ClusterAdvancedSettings
|
|
3390
|
+
*/
|
|
3391
|
+
'loki.write.cpu_limit_m'?: number;
|
|
3392
|
+
/**
|
|
3393
|
+
* Memory request (in MiB) for the Loki write component when running in simple_scalable mode.
|
|
3394
|
+
* @type {number}
|
|
3395
|
+
* @memberof ClusterAdvancedSettings
|
|
3396
|
+
*/
|
|
3397
|
+
'loki.write.memory_request_mib'?: number;
|
|
3398
|
+
/**
|
|
3399
|
+
* Memory limit (in MiB) for the Loki write component when running in simple_scalable mode.
|
|
3400
|
+
* @type {number}
|
|
3401
|
+
* @memberof ClusterAdvancedSettings
|
|
3402
|
+
*/
|
|
3403
|
+
'loki.write.memory_limit_mib'?: number;
|
|
3404
|
+
/**
|
|
3405
|
+
* CPU request (in milli-CPU) for the Loki read component when running in simple_scalable mode.
|
|
3406
|
+
* @type {number}
|
|
3407
|
+
* @memberof ClusterAdvancedSettings
|
|
3408
|
+
*/
|
|
3409
|
+
'loki.read.cpu_request_m'?: number;
|
|
3410
|
+
/**
|
|
3411
|
+
* CPU limit (in milli-CPU) for the Loki read component when running in simple_scalable mode.
|
|
3412
|
+
* @type {number}
|
|
3413
|
+
* @memberof ClusterAdvancedSettings
|
|
3414
|
+
*/
|
|
3415
|
+
'loki.read.cpu_limit_m'?: number;
|
|
3416
|
+
/**
|
|
3417
|
+
* Memory request (in MiB) for the Loki read component when running in simple_scalable mode.
|
|
3418
|
+
* @type {number}
|
|
3419
|
+
* @memberof ClusterAdvancedSettings
|
|
3420
|
+
*/
|
|
3421
|
+
'loki.read.memory_request_mib'?: number;
|
|
3422
|
+
/**
|
|
3423
|
+
* Memory limit (in MiB) for the Loki read component when running in simple_scalable mode.
|
|
3424
|
+
* @type {number}
|
|
3425
|
+
* @memberof ClusterAdvancedSettings
|
|
3426
|
+
*/
|
|
3427
|
+
'loki.read.memory_limit_mib'?: number;
|
|
3428
|
+
/**
|
|
3429
|
+
* CPU request (in milli-CPU) for the Loki backend component when running in simple_scalable mode.
|
|
3430
|
+
* @type {number}
|
|
3431
|
+
* @memberof ClusterAdvancedSettings
|
|
3432
|
+
*/
|
|
3433
|
+
'loki.backend.cpu_request_m'?: number;
|
|
3434
|
+
/**
|
|
3435
|
+
* CPU limit (in milli-CPU) for the Loki backend component when running in simple_scalable mode.
|
|
3436
|
+
* @type {number}
|
|
3437
|
+
* @memberof ClusterAdvancedSettings
|
|
3438
|
+
*/
|
|
3439
|
+
'loki.backend.cpu_limit_m'?: number;
|
|
3440
|
+
/**
|
|
3441
|
+
* Memory request (in MiB) for the Loki backend component when running in simple_scalable mode.
|
|
3442
|
+
* @type {number}
|
|
3443
|
+
* @memberof ClusterAdvancedSettings
|
|
3444
|
+
*/
|
|
3445
|
+
'loki.backend.memory_request_mib'?: number;
|
|
3446
|
+
/**
|
|
3447
|
+
* Memory limit (in MiB) for the Loki backend component when running in simple_scalable mode.
|
|
3448
|
+
* @type {number}
|
|
3449
|
+
* @memberof ClusterAdvancedSettings
|
|
3450
|
+
*/
|
|
3451
|
+
'loki.backend.memory_limit_mib'?: number;
|
|
3314
3452
|
/**
|
|
3315
3453
|
* Configure the number of seconds before cleaning images in the registry
|
|
3316
3454
|
* @type {number}
|
|
@@ -3513,6 +3651,11 @@ export interface ClusterAdvancedSettings {
|
|
|
3513
3651
|
*/
|
|
3514
3652
|
'k8s.api.allowed_public_access_cidrs'?: Array<string>;
|
|
3515
3653
|
}
|
|
3654
|
+
export declare const ClusterAdvancedSettingsLokiDeploymentModeEnum: {
|
|
3655
|
+
readonly SINGLE_BINARY: "single_binary";
|
|
3656
|
+
readonly SIMPLE_SCALABLE: "simple_scalable";
|
|
3657
|
+
};
|
|
3658
|
+
export type ClusterAdvancedSettingsLokiDeploymentModeEnum = typeof ClusterAdvancedSettingsLokiDeploymentModeEnum[keyof typeof ClusterAdvancedSettingsLokiDeploymentModeEnum];
|
|
3516
3659
|
export declare const ClusterAdvancedSettingsAwsEksEfsThroughputModeEnum: {
|
|
3517
3660
|
readonly BURSTING: "bursting";
|
|
3518
3661
|
readonly ELASTIC: "elastic";
|
|
@@ -24198,6 +24341,14 @@ export declare const ArgoCDApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
24198
24341
|
* @throws {RequiredError}
|
|
24199
24342
|
*/
|
|
24200
24343
|
deleteArgoCdCredentials: (clusterId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
24344
|
+
/**
|
|
24345
|
+
*
|
|
24346
|
+
* @summary Get ArgoCD app by ID
|
|
24347
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
24348
|
+
* @param {*} [options] Override http request option.
|
|
24349
|
+
* @throws {RequiredError}
|
|
24350
|
+
*/
|
|
24351
|
+
getArgoCdApp: (argocdAppId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
24201
24352
|
/**
|
|
24202
24353
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
24203
24354
|
* @summary Get ArgoCD credentials for a cluster
|
|
@@ -24238,6 +24389,14 @@ export declare const ArgoCDApiFp: (configuration?: Configuration) => {
|
|
|
24238
24389
|
* @throws {RequiredError}
|
|
24239
24390
|
*/
|
|
24240
24391
|
deleteArgoCdCredentials(clusterId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
24392
|
+
/**
|
|
24393
|
+
*
|
|
24394
|
+
* @summary Get ArgoCD app by ID
|
|
24395
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
24396
|
+
* @param {*} [options] Override http request option.
|
|
24397
|
+
* @throws {RequiredError}
|
|
24398
|
+
*/
|
|
24399
|
+
getArgoCdApp(argocdAppId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArgocdAppResponse>>;
|
|
24241
24400
|
/**
|
|
24242
24401
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
24243
24402
|
* @summary Get ArgoCD credentials for a cluster
|
|
@@ -24278,6 +24437,14 @@ export declare const ArgoCDApiFactory: (configuration?: Configuration, basePath?
|
|
|
24278
24437
|
* @throws {RequiredError}
|
|
24279
24438
|
*/
|
|
24280
24439
|
deleteArgoCdCredentials(clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
24440
|
+
/**
|
|
24441
|
+
*
|
|
24442
|
+
* @summary Get ArgoCD app by ID
|
|
24443
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
24444
|
+
* @param {*} [options] Override http request option.
|
|
24445
|
+
* @throws {RequiredError}
|
|
24446
|
+
*/
|
|
24447
|
+
getArgoCdApp(argocdAppId: string, options?: RawAxiosRequestConfig): AxiosPromise<ArgocdAppResponse>;
|
|
24281
24448
|
/**
|
|
24282
24449
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
24283
24450
|
* @summary Get ArgoCD credentials for a cluster
|
|
@@ -24322,6 +24489,15 @@ export declare class ArgoCDApi extends BaseAPI {
|
|
|
24322
24489
|
* @memberof ArgoCDApi
|
|
24323
24490
|
*/
|
|
24324
24491
|
deleteArgoCdCredentials(clusterId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
24492
|
+
/**
|
|
24493
|
+
*
|
|
24494
|
+
* @summary Get ArgoCD app by ID
|
|
24495
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
24496
|
+
* @param {*} [options] Override http request option.
|
|
24497
|
+
* @throws {RequiredError}
|
|
24498
|
+
* @memberof ArgoCDApi
|
|
24499
|
+
*/
|
|
24500
|
+
getArgoCdApp(argocdAppId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ArgocdAppResponse, any, {}>>;
|
|
24325
24501
|
/**
|
|
24326
24502
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
24327
24503
|
* @summary Get ArgoCD credentials for a cluster
|
package/dist/api.js
CHANGED
|
@@ -22,17 +22,17 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.
|
|
35
|
-
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.TerraformResourcesApi = exports.TerraformResourcesApiFactory = void 0;
|
|
25
|
+
exports.DatabaseEditRequestDiskTypeEnum = exports.DatabaseAccessibilityEnum = exports.DatabaseDiskTypeEnum = exports.CustomDomainStatusEnum = exports.CreateEnvironmentModeEnum = exports.CpuArchitectureEnum = exports.ContainerRegistryKindEnum = exports.ContainerRegistryAssociatedServiceType = exports.ContainerAdvancedSettingsDeploymentUpdateStrategyTypeEnum = exports.ContainerAdvancedSettingsDeploymentTopologySpreadZoneEnum = exports.ContainerAdvancedSettingsDeploymentAntiaffinityPodEnum = exports.CompanySizeEnum = exports.ClusterStateEnum = exports.ClusterLogsStepEnum = exports.ClusterFeatureResponseTypeEnum = exports.ClusterFeatureResponseValueTypeEnum = exports.ClusterDeploymentStatusEnum = exports.ClusterDeleteMode = exports.ClusterAdvancedSettingsAwsEksEc2MetadataImdsEnum = exports.ClusterAdvancedSettingsAwsEksEfsTransitionToIaEnum = exports.ClusterAdvancedSettingsAwsEksEfsPerformanceModeEnum = exports.ClusterAdvancedSettingsAwsEksEfsThroughputModeEnum = exports.ClusterAdvancedSettingsLokiDeploymentModeEnum = exports.CloudVendorEnum = exports.CloudProviderEnum = exports.CheckedCustomDomainStatus = exports.BuildModeEnum = exports.AzureStaticClusterCredentialsObjectTypeEnum = exports.AwsStaticCredentialsRequestTypeEnum = exports.AwsStaticClusterCredentialsObjectTypeEnum = exports.AwsRoleCredentialsRequestTypeEnum = exports.AwsRoleClusterCredentialsObjectTypeEnum = exports.AutoscalingMode = exports.ArgoCdConnectionCheckResponseReasonEnum = exports.ArgoCdConnectionCheckResponseStatusEnum = exports.ApplicationAdvancedSettingsDeploymentUpdateStrategyTypeEnum = exports.ApplicationAdvancedSettingsDeploymentTopologySpreadZoneEnum = 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
|
+
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.GitWebhookStatusResponseProviderEnum = exports.GitWebhookStatusResponseStatusEnum = exports.GitTokenAssociatedServiceType = exports.GitProviderEnum = exports.GenericClusterCredentialsObjectTypeEnum = exports.GcpStaticClusterCredentialsObjectTypeEnum = exports.EnvironmentStatusEventOriginEnum = exports.EnvironmentModeEnum = exports.EnvironmentLogTypeEnum = exports.EnvironmentDeploymentStatusEnum = exports.EksInfrastructureOutputsKindEnum = exports.EksAnywhereVsphereStaticCredentialsRequestTypeEnum = exports.EksAnywhereVsphereRoleCredentialsRequestTypeEnum = exports.EksAnywhereVsphereClusterCredentialsObjectTypeEnum = exports.DockerfileFragmentInlineTypeEnum = exports.DockerfileFragmentFileTypeEnum = exports.DeploymentRestrictionTypeEnum = exports.DeploymentRestrictionModeEnum = exports.DeploymentHistoryTriggerAction = exports.DeploymentHistoryStatusEnum = exports.DeploymentHistoryServiceDetailsOneOf2JobTypeEnum = exports.DeploymentHistoryActionStatus = exports.DeleteTerraformAction = exports.DatabaseTypeEnum = exports.DatabaseModeEnum = void 0;
|
|
27
|
+
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.TerraformResourceResponseModeEnum = exports.TerraformEngineEnum = exports.TerraformDeployRequestActionEnum = exports.TerraformAutoDeployConfigTerraformActionEnum = exports.StorageTypeEnum = exports.StepMetricStatusEnum = exports.StatusKindEnum = exports.StateEnum = exports.StageStepMetricNameEnum = exports.StageStatusEnum = exports.ServicesOverviewResponseManagedByEnum = exports.ServiceTypeForVariableEnum = exports.ServiceTypeEnum = exports.ServiceSubActionEnum = exports.ServiceStepMetricNameEnum = 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 = void 0;
|
|
28
|
+
exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = exports.BillingApiAxiosParamCreator = exports.BackupsApi = exports.BackupsApiFactory = exports.BackupsApiFp = exports.BackupsApiAxiosParamCreator = exports.ArgoCDApi = exports.ArgoCDApiFactory = exports.ArgoCDApiFp = exports.ArgoCDApiAxiosParamCreator = 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 = 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 = void 0;
|
|
29
|
+
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 = 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 = void 0;
|
|
30
|
+
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 = 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 = void 0;
|
|
31
|
+
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 = 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 = void 0;
|
|
32
|
+
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 = 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 = void 0;
|
|
33
|
+
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 = 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 = void 0;
|
|
34
|
+
exports.TerraformResourcesApiAxiosParamCreator = 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 = exports.ServiceStatusApi = exports.ServiceStatusApiFactory = exports.ServiceStatusApiFp = exports.ServiceStatusApiAxiosParamCreator = exports.ServiceMainCallsApi = exports.ServiceMainCallsApiFactory = exports.ServiceMainCallsApiFp = exports.ServiceMainCallsApiAxiosParamCreator = 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 = void 0;
|
|
35
|
+
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.TerraformResourcesApi = exports.TerraformResourcesApiFactory = exports.TerraformResourcesApiFp = void 0;
|
|
36
36
|
const axios_1 = require("axios");
|
|
37
37
|
// Some imports not used depending on template conditions
|
|
38
38
|
// @ts-ignore
|
|
@@ -271,6 +271,10 @@ exports.CloudVendorEnum = {
|
|
|
271
271
|
IBM: 'IBM',
|
|
272
272
|
ON_PREMISE: 'ON_PREMISE'
|
|
273
273
|
};
|
|
274
|
+
exports.ClusterAdvancedSettingsLokiDeploymentModeEnum = {
|
|
275
|
+
SINGLE_BINARY: 'single_binary',
|
|
276
|
+
SIMPLE_SCALABLE: 'simple_scalable'
|
|
277
|
+
};
|
|
274
278
|
exports.ClusterAdvancedSettingsAwsEksEfsThroughputModeEnum = {
|
|
275
279
|
BURSTING: 'bursting',
|
|
276
280
|
ELASTIC: 'elastic',
|
|
@@ -6520,6 +6524,40 @@ const ArgoCDApiAxiosParamCreator = function (configuration) {
|
|
|
6520
6524
|
options: localVarRequestOptions,
|
|
6521
6525
|
};
|
|
6522
6526
|
}),
|
|
6527
|
+
/**
|
|
6528
|
+
*
|
|
6529
|
+
* @summary Get ArgoCD app by ID
|
|
6530
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
6531
|
+
* @param {*} [options] Override http request option.
|
|
6532
|
+
* @throws {RequiredError}
|
|
6533
|
+
*/
|
|
6534
|
+
getArgoCdApp: (argocdAppId_1, ...args_1) => __awaiter(this, [argocdAppId_1, ...args_1], void 0, function* (argocdAppId, options = {}) {
|
|
6535
|
+
// verify required parameter 'argocdAppId' is not null or undefined
|
|
6536
|
+
(0, common_1.assertParamExists)('getArgoCdApp', 'argocdAppId', argocdAppId);
|
|
6537
|
+
const localVarPath = `/argocdApp/{argocdAppId}`
|
|
6538
|
+
.replace(`{${"argocdAppId"}}`, encodeURIComponent(String(argocdAppId)));
|
|
6539
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6540
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6541
|
+
let baseOptions;
|
|
6542
|
+
if (configuration) {
|
|
6543
|
+
baseOptions = configuration.baseOptions;
|
|
6544
|
+
}
|
|
6545
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6546
|
+
const localVarHeaderParameter = {};
|
|
6547
|
+
const localVarQueryParameter = {};
|
|
6548
|
+
// authentication ApiKeyAuth required
|
|
6549
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
6550
|
+
// authentication bearerAuth required
|
|
6551
|
+
// http bearer authentication required
|
|
6552
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6553
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6554
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6555
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6556
|
+
return {
|
|
6557
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6558
|
+
options: localVarRequestOptions,
|
|
6559
|
+
};
|
|
6560
|
+
}),
|
|
6523
6561
|
/**
|
|
6524
6562
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
6525
6563
|
* @summary Get ArgoCD credentials for a cluster
|
|
@@ -6636,6 +6674,22 @@ const ArgoCDApiFp = function (configuration) {
|
|
|
6636
6674
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6637
6675
|
});
|
|
6638
6676
|
},
|
|
6677
|
+
/**
|
|
6678
|
+
*
|
|
6679
|
+
* @summary Get ArgoCD app by ID
|
|
6680
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
6681
|
+
* @param {*} [options] Override http request option.
|
|
6682
|
+
* @throws {RequiredError}
|
|
6683
|
+
*/
|
|
6684
|
+
getArgoCdApp(argocdAppId, options) {
|
|
6685
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6686
|
+
var _a, _b, _c;
|
|
6687
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getArgoCdApp(argocdAppId, options);
|
|
6688
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6689
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ArgoCDApi.getArgoCdApp']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6690
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6691
|
+
});
|
|
6692
|
+
},
|
|
6639
6693
|
/**
|
|
6640
6694
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
6641
6695
|
* @summary Get ArgoCD credentials for a cluster
|
|
@@ -6700,6 +6754,16 @@ const ArgoCDApiFactory = function (configuration, basePath, axios) {
|
|
|
6700
6754
|
deleteArgoCdCredentials(clusterId, options) {
|
|
6701
6755
|
return localVarFp.deleteArgoCdCredentials(clusterId, options).then((request) => request(axios, basePath));
|
|
6702
6756
|
},
|
|
6757
|
+
/**
|
|
6758
|
+
*
|
|
6759
|
+
* @summary Get ArgoCD app by ID
|
|
6760
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
6761
|
+
* @param {*} [options] Override http request option.
|
|
6762
|
+
* @throws {RequiredError}
|
|
6763
|
+
*/
|
|
6764
|
+
getArgoCdApp(argocdAppId, options) {
|
|
6765
|
+
return localVarFp.getArgoCdApp(argocdAppId, options).then((request) => request(axios, basePath));
|
|
6766
|
+
},
|
|
6703
6767
|
/**
|
|
6704
6768
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
6705
6769
|
* @summary Get ArgoCD credentials for a cluster
|
|
@@ -6754,6 +6818,17 @@ class ArgoCDApi extends base_1.BaseAPI {
|
|
|
6754
6818
|
deleteArgoCdCredentials(clusterId, options) {
|
|
6755
6819
|
return (0, exports.ArgoCDApiFp)(this.configuration).deleteArgoCdCredentials(clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
6756
6820
|
}
|
|
6821
|
+
/**
|
|
6822
|
+
*
|
|
6823
|
+
* @summary Get ArgoCD app by ID
|
|
6824
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
6825
|
+
* @param {*} [options] Override http request option.
|
|
6826
|
+
* @throws {RequiredError}
|
|
6827
|
+
* @memberof ArgoCDApi
|
|
6828
|
+
*/
|
|
6829
|
+
getArgoCdApp(argocdAppId, options) {
|
|
6830
|
+
return (0, exports.ArgoCDApiFp)(this.configuration).getArgoCdApp(argocdAppId, options).then((request) => request(this.axios, this.basePath));
|
|
6831
|
+
}
|
|
6757
6832
|
/**
|
|
6758
6833
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
6759
6834
|
* @summary Get ArgoCD credentials for a cluster
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1991,6 +1991,42 @@ export interface ArgocdAppResponse {
|
|
|
1991
1991
|
* @memberof ArgocdAppResponse
|
|
1992
1992
|
*/
|
|
1993
1993
|
'namespace': string;
|
|
1994
|
+
/**
|
|
1995
|
+
*
|
|
1996
|
+
* @type {string}
|
|
1997
|
+
* @memberof ArgocdAppResponse
|
|
1998
|
+
*/
|
|
1999
|
+
'environment_id': string;
|
|
2000
|
+
/**
|
|
2001
|
+
*
|
|
2002
|
+
* @type {string}
|
|
2003
|
+
* @memberof ArgocdAppResponse
|
|
2004
|
+
*/
|
|
2005
|
+
'cluster_id': string;
|
|
2006
|
+
/**
|
|
2007
|
+
*
|
|
2008
|
+
* @type {string}
|
|
2009
|
+
* @memberof ArgocdAppResponse
|
|
2010
|
+
*/
|
|
2011
|
+
'last_synced_at'?: string | null;
|
|
2012
|
+
/**
|
|
2013
|
+
*
|
|
2014
|
+
* @type {string}
|
|
2015
|
+
* @memberof ArgocdAppResponse
|
|
2016
|
+
*/
|
|
2017
|
+
'manifest_revision'?: string | null;
|
|
2018
|
+
/**
|
|
2019
|
+
*
|
|
2020
|
+
* @type {string}
|
|
2021
|
+
* @memberof ArgocdAppResponse
|
|
2022
|
+
*/
|
|
2023
|
+
'source_repo_url'?: string | null;
|
|
2024
|
+
/**
|
|
2025
|
+
*
|
|
2026
|
+
* @type {string}
|
|
2027
|
+
* @memberof ArgocdAppResponse
|
|
2028
|
+
*/
|
|
2029
|
+
'source_target_revision'?: string | null;
|
|
1994
2030
|
}
|
|
1995
2031
|
/**
|
|
1996
2032
|
*
|
|
@@ -3311,6 +3347,108 @@ export interface ClusterAdvancedSettings {
|
|
|
3311
3347
|
* @memberof ClusterAdvancedSettings
|
|
3312
3348
|
*/
|
|
3313
3349
|
'loki.log_retention_in_week'?: number;
|
|
3350
|
+
/**
|
|
3351
|
+
* Loki deployment topology. \"single_binary\" runs Loki as one pod; \"simple_scalable\" splits it into separate write, read, and backend components for larger clusters.
|
|
3352
|
+
* @type {string}
|
|
3353
|
+
* @memberof ClusterAdvancedSettings
|
|
3354
|
+
*/
|
|
3355
|
+
'loki.deployment_mode'?: ClusterAdvancedSettingsLokiDeploymentModeEnum;
|
|
3356
|
+
/**
|
|
3357
|
+
* CPU request (in milli-CPU) for the Loki pod when running in single_binary mode.
|
|
3358
|
+
* @type {number}
|
|
3359
|
+
* @memberof ClusterAdvancedSettings
|
|
3360
|
+
*/
|
|
3361
|
+
'loki.single_binary.cpu_request_m'?: number;
|
|
3362
|
+
/**
|
|
3363
|
+
* CPU limit (in milli-CPU) for the Loki pod when running in single_binary mode.
|
|
3364
|
+
* @type {number}
|
|
3365
|
+
* @memberof ClusterAdvancedSettings
|
|
3366
|
+
*/
|
|
3367
|
+
'loki.single_binary.cpu_limit_m'?: number;
|
|
3368
|
+
/**
|
|
3369
|
+
* Memory request (in MiB) for the Loki pod when running in single_binary mode.
|
|
3370
|
+
* @type {number}
|
|
3371
|
+
* @memberof ClusterAdvancedSettings
|
|
3372
|
+
*/
|
|
3373
|
+
'loki.single_binary.memory_request_mib'?: number;
|
|
3374
|
+
/**
|
|
3375
|
+
* Memory limit (in MiB) for the Loki pod when running in single_binary mode.
|
|
3376
|
+
* @type {number}
|
|
3377
|
+
* @memberof ClusterAdvancedSettings
|
|
3378
|
+
*/
|
|
3379
|
+
'loki.single_binary.memory_limit_mib'?: number;
|
|
3380
|
+
/**
|
|
3381
|
+
* CPU request (in milli-CPU) for the Loki write component when running in simple_scalable mode.
|
|
3382
|
+
* @type {number}
|
|
3383
|
+
* @memberof ClusterAdvancedSettings
|
|
3384
|
+
*/
|
|
3385
|
+
'loki.write.cpu_request_m'?: number;
|
|
3386
|
+
/**
|
|
3387
|
+
* CPU limit (in milli-CPU) for the Loki write component when running in simple_scalable mode.
|
|
3388
|
+
* @type {number}
|
|
3389
|
+
* @memberof ClusterAdvancedSettings
|
|
3390
|
+
*/
|
|
3391
|
+
'loki.write.cpu_limit_m'?: number;
|
|
3392
|
+
/**
|
|
3393
|
+
* Memory request (in MiB) for the Loki write component when running in simple_scalable mode.
|
|
3394
|
+
* @type {number}
|
|
3395
|
+
* @memberof ClusterAdvancedSettings
|
|
3396
|
+
*/
|
|
3397
|
+
'loki.write.memory_request_mib'?: number;
|
|
3398
|
+
/**
|
|
3399
|
+
* Memory limit (in MiB) for the Loki write component when running in simple_scalable mode.
|
|
3400
|
+
* @type {number}
|
|
3401
|
+
* @memberof ClusterAdvancedSettings
|
|
3402
|
+
*/
|
|
3403
|
+
'loki.write.memory_limit_mib'?: number;
|
|
3404
|
+
/**
|
|
3405
|
+
* CPU request (in milli-CPU) for the Loki read component when running in simple_scalable mode.
|
|
3406
|
+
* @type {number}
|
|
3407
|
+
* @memberof ClusterAdvancedSettings
|
|
3408
|
+
*/
|
|
3409
|
+
'loki.read.cpu_request_m'?: number;
|
|
3410
|
+
/**
|
|
3411
|
+
* CPU limit (in milli-CPU) for the Loki read component when running in simple_scalable mode.
|
|
3412
|
+
* @type {number}
|
|
3413
|
+
* @memberof ClusterAdvancedSettings
|
|
3414
|
+
*/
|
|
3415
|
+
'loki.read.cpu_limit_m'?: number;
|
|
3416
|
+
/**
|
|
3417
|
+
* Memory request (in MiB) for the Loki read component when running in simple_scalable mode.
|
|
3418
|
+
* @type {number}
|
|
3419
|
+
* @memberof ClusterAdvancedSettings
|
|
3420
|
+
*/
|
|
3421
|
+
'loki.read.memory_request_mib'?: number;
|
|
3422
|
+
/**
|
|
3423
|
+
* Memory limit (in MiB) for the Loki read component when running in simple_scalable mode.
|
|
3424
|
+
* @type {number}
|
|
3425
|
+
* @memberof ClusterAdvancedSettings
|
|
3426
|
+
*/
|
|
3427
|
+
'loki.read.memory_limit_mib'?: number;
|
|
3428
|
+
/**
|
|
3429
|
+
* CPU request (in milli-CPU) for the Loki backend component when running in simple_scalable mode.
|
|
3430
|
+
* @type {number}
|
|
3431
|
+
* @memberof ClusterAdvancedSettings
|
|
3432
|
+
*/
|
|
3433
|
+
'loki.backend.cpu_request_m'?: number;
|
|
3434
|
+
/**
|
|
3435
|
+
* CPU limit (in milli-CPU) for the Loki backend component when running in simple_scalable mode.
|
|
3436
|
+
* @type {number}
|
|
3437
|
+
* @memberof ClusterAdvancedSettings
|
|
3438
|
+
*/
|
|
3439
|
+
'loki.backend.cpu_limit_m'?: number;
|
|
3440
|
+
/**
|
|
3441
|
+
* Memory request (in MiB) for the Loki backend component when running in simple_scalable mode.
|
|
3442
|
+
* @type {number}
|
|
3443
|
+
* @memberof ClusterAdvancedSettings
|
|
3444
|
+
*/
|
|
3445
|
+
'loki.backend.memory_request_mib'?: number;
|
|
3446
|
+
/**
|
|
3447
|
+
* Memory limit (in MiB) for the Loki backend component when running in simple_scalable mode.
|
|
3448
|
+
* @type {number}
|
|
3449
|
+
* @memberof ClusterAdvancedSettings
|
|
3450
|
+
*/
|
|
3451
|
+
'loki.backend.memory_limit_mib'?: number;
|
|
3314
3452
|
/**
|
|
3315
3453
|
* Configure the number of seconds before cleaning images in the registry
|
|
3316
3454
|
* @type {number}
|
|
@@ -3513,6 +3651,11 @@ export interface ClusterAdvancedSettings {
|
|
|
3513
3651
|
*/
|
|
3514
3652
|
'k8s.api.allowed_public_access_cidrs'?: Array<string>;
|
|
3515
3653
|
}
|
|
3654
|
+
export declare const ClusterAdvancedSettingsLokiDeploymentModeEnum: {
|
|
3655
|
+
readonly SINGLE_BINARY: "single_binary";
|
|
3656
|
+
readonly SIMPLE_SCALABLE: "simple_scalable";
|
|
3657
|
+
};
|
|
3658
|
+
export type ClusterAdvancedSettingsLokiDeploymentModeEnum = typeof ClusterAdvancedSettingsLokiDeploymentModeEnum[keyof typeof ClusterAdvancedSettingsLokiDeploymentModeEnum];
|
|
3516
3659
|
export declare const ClusterAdvancedSettingsAwsEksEfsThroughputModeEnum: {
|
|
3517
3660
|
readonly BURSTING: "bursting";
|
|
3518
3661
|
readonly ELASTIC: "elastic";
|
|
@@ -24198,6 +24341,14 @@ export declare const ArgoCDApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
24198
24341
|
* @throws {RequiredError}
|
|
24199
24342
|
*/
|
|
24200
24343
|
deleteArgoCdCredentials: (clusterId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
24344
|
+
/**
|
|
24345
|
+
*
|
|
24346
|
+
* @summary Get ArgoCD app by ID
|
|
24347
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
24348
|
+
* @param {*} [options] Override http request option.
|
|
24349
|
+
* @throws {RequiredError}
|
|
24350
|
+
*/
|
|
24351
|
+
getArgoCdApp: (argocdAppId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
24201
24352
|
/**
|
|
24202
24353
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
24203
24354
|
* @summary Get ArgoCD credentials for a cluster
|
|
@@ -24238,6 +24389,14 @@ export declare const ArgoCDApiFp: (configuration?: Configuration) => {
|
|
|
24238
24389
|
* @throws {RequiredError}
|
|
24239
24390
|
*/
|
|
24240
24391
|
deleteArgoCdCredentials(clusterId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
24392
|
+
/**
|
|
24393
|
+
*
|
|
24394
|
+
* @summary Get ArgoCD app by ID
|
|
24395
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
24396
|
+
* @param {*} [options] Override http request option.
|
|
24397
|
+
* @throws {RequiredError}
|
|
24398
|
+
*/
|
|
24399
|
+
getArgoCdApp(argocdAppId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArgocdAppResponse>>;
|
|
24241
24400
|
/**
|
|
24242
24401
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
24243
24402
|
* @summary Get ArgoCD credentials for a cluster
|
|
@@ -24278,6 +24437,14 @@ export declare const ArgoCDApiFactory: (configuration?: Configuration, basePath?
|
|
|
24278
24437
|
* @throws {RequiredError}
|
|
24279
24438
|
*/
|
|
24280
24439
|
deleteArgoCdCredentials(clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
24440
|
+
/**
|
|
24441
|
+
*
|
|
24442
|
+
* @summary Get ArgoCD app by ID
|
|
24443
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
24444
|
+
* @param {*} [options] Override http request option.
|
|
24445
|
+
* @throws {RequiredError}
|
|
24446
|
+
*/
|
|
24447
|
+
getArgoCdApp(argocdAppId: string, options?: RawAxiosRequestConfig): AxiosPromise<ArgocdAppResponse>;
|
|
24281
24448
|
/**
|
|
24282
24449
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
24283
24450
|
* @summary Get ArgoCD credentials for a cluster
|
|
@@ -24322,6 +24489,15 @@ export declare class ArgoCDApi extends BaseAPI {
|
|
|
24322
24489
|
* @memberof ArgoCDApi
|
|
24323
24490
|
*/
|
|
24324
24491
|
deleteArgoCdCredentials(clusterId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
24492
|
+
/**
|
|
24493
|
+
*
|
|
24494
|
+
* @summary Get ArgoCD app by ID
|
|
24495
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
24496
|
+
* @param {*} [options] Override http request option.
|
|
24497
|
+
* @throws {RequiredError}
|
|
24498
|
+
* @memberof ArgoCDApi
|
|
24499
|
+
*/
|
|
24500
|
+
getArgoCdApp(argocdAppId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ArgocdAppResponse, any, {}>>;
|
|
24325
24501
|
/**
|
|
24326
24502
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
24327
24503
|
* @summary Get ArgoCD credentials for a cluster
|
package/dist/esm/api.js
CHANGED
|
@@ -258,6 +258,10 @@ export const CloudVendorEnum = {
|
|
|
258
258
|
IBM: 'IBM',
|
|
259
259
|
ON_PREMISE: 'ON_PREMISE'
|
|
260
260
|
};
|
|
261
|
+
export const ClusterAdvancedSettingsLokiDeploymentModeEnum = {
|
|
262
|
+
SINGLE_BINARY: 'single_binary',
|
|
263
|
+
SIMPLE_SCALABLE: 'simple_scalable'
|
|
264
|
+
};
|
|
261
265
|
export const ClusterAdvancedSettingsAwsEksEfsThroughputModeEnum = {
|
|
262
266
|
BURSTING: 'bursting',
|
|
263
267
|
ELASTIC: 'elastic',
|
|
@@ -6455,6 +6459,40 @@ export const ArgoCDApiAxiosParamCreator = function (configuration) {
|
|
|
6455
6459
|
options: localVarRequestOptions,
|
|
6456
6460
|
};
|
|
6457
6461
|
}),
|
|
6462
|
+
/**
|
|
6463
|
+
*
|
|
6464
|
+
* @summary Get ArgoCD app by ID
|
|
6465
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
6466
|
+
* @param {*} [options] Override http request option.
|
|
6467
|
+
* @throws {RequiredError}
|
|
6468
|
+
*/
|
|
6469
|
+
getArgoCdApp: (argocdAppId_1, ...args_1) => __awaiter(this, [argocdAppId_1, ...args_1], void 0, function* (argocdAppId, options = {}) {
|
|
6470
|
+
// verify required parameter 'argocdAppId' is not null or undefined
|
|
6471
|
+
assertParamExists('getArgoCdApp', 'argocdAppId', argocdAppId);
|
|
6472
|
+
const localVarPath = `/argocdApp/{argocdAppId}`
|
|
6473
|
+
.replace(`{${"argocdAppId"}}`, encodeURIComponent(String(argocdAppId)));
|
|
6474
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6475
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6476
|
+
let baseOptions;
|
|
6477
|
+
if (configuration) {
|
|
6478
|
+
baseOptions = configuration.baseOptions;
|
|
6479
|
+
}
|
|
6480
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6481
|
+
const localVarHeaderParameter = {};
|
|
6482
|
+
const localVarQueryParameter = {};
|
|
6483
|
+
// authentication ApiKeyAuth required
|
|
6484
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
6485
|
+
// authentication bearerAuth required
|
|
6486
|
+
// http bearer authentication required
|
|
6487
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
6488
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6489
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6490
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6491
|
+
return {
|
|
6492
|
+
url: toPathString(localVarUrlObj),
|
|
6493
|
+
options: localVarRequestOptions,
|
|
6494
|
+
};
|
|
6495
|
+
}),
|
|
6458
6496
|
/**
|
|
6459
6497
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
6460
6498
|
* @summary Get ArgoCD credentials for a cluster
|
|
@@ -6570,6 +6608,22 @@ export const ArgoCDApiFp = function (configuration) {
|
|
|
6570
6608
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6571
6609
|
});
|
|
6572
6610
|
},
|
|
6611
|
+
/**
|
|
6612
|
+
*
|
|
6613
|
+
* @summary Get ArgoCD app by ID
|
|
6614
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
6615
|
+
* @param {*} [options] Override http request option.
|
|
6616
|
+
* @throws {RequiredError}
|
|
6617
|
+
*/
|
|
6618
|
+
getArgoCdApp(argocdAppId, options) {
|
|
6619
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6620
|
+
var _a, _b, _c;
|
|
6621
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getArgoCdApp(argocdAppId, options);
|
|
6622
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6623
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ArgoCDApi.getArgoCdApp']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6624
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6625
|
+
});
|
|
6626
|
+
},
|
|
6573
6627
|
/**
|
|
6574
6628
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
6575
6629
|
* @summary Get ArgoCD credentials for a cluster
|
|
@@ -6633,6 +6687,16 @@ export const ArgoCDApiFactory = function (configuration, basePath, axios) {
|
|
|
6633
6687
|
deleteArgoCdCredentials(clusterId, options) {
|
|
6634
6688
|
return localVarFp.deleteArgoCdCredentials(clusterId, options).then((request) => request(axios, basePath));
|
|
6635
6689
|
},
|
|
6690
|
+
/**
|
|
6691
|
+
*
|
|
6692
|
+
* @summary Get ArgoCD app by ID
|
|
6693
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
6694
|
+
* @param {*} [options] Override http request option.
|
|
6695
|
+
* @throws {RequiredError}
|
|
6696
|
+
*/
|
|
6697
|
+
getArgoCdApp(argocdAppId, options) {
|
|
6698
|
+
return localVarFp.getArgoCdApp(argocdAppId, options).then((request) => request(axios, basePath));
|
|
6699
|
+
},
|
|
6636
6700
|
/**
|
|
6637
6701
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
6638
6702
|
* @summary Get ArgoCD credentials for a cluster
|
|
@@ -6686,6 +6750,17 @@ export class ArgoCDApi extends BaseAPI {
|
|
|
6686
6750
|
deleteArgoCdCredentials(clusterId, options) {
|
|
6687
6751
|
return ArgoCDApiFp(this.configuration).deleteArgoCdCredentials(clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
6688
6752
|
}
|
|
6753
|
+
/**
|
|
6754
|
+
*
|
|
6755
|
+
* @summary Get ArgoCD app by ID
|
|
6756
|
+
* @param {string} argocdAppId ArgoCD App ID
|
|
6757
|
+
* @param {*} [options] Override http request option.
|
|
6758
|
+
* @throws {RequiredError}
|
|
6759
|
+
* @memberof ArgoCDApi
|
|
6760
|
+
*/
|
|
6761
|
+
getArgoCdApp(argocdAppId, options) {
|
|
6762
|
+
return ArgoCDApiFp(this.configuration).getArgoCdApp(argocdAppId, options).then((request) => request(this.axios, this.basePath));
|
|
6763
|
+
}
|
|
6689
6764
|
/**
|
|
6690
6765
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
6691
6766
|
* @summary Get ArgoCD credentials for a cluster
|