qovery-typescript-axios 1.1.894 → 1.1.896
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 +296 -17
- package/dist/api.d.ts +238 -16
- package/dist/api.js +100 -11
- package/dist/esm/api.d.ts +238 -16
- package/dist/esm/api.js +89 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -2383,6 +2383,83 @@ export interface ArgocdAppResponse {
|
|
|
2383
2383
|
}
|
|
2384
2384
|
|
|
2385
2385
|
|
|
2386
|
+
/**
|
|
2387
|
+
*
|
|
2388
|
+
* @export
|
|
2389
|
+
* @enum {string}
|
|
2390
|
+
*/
|
|
2391
|
+
|
|
2392
|
+
export const ArgocdAssociatedServiceType = {
|
|
2393
|
+
ARGOCD_APP: 'ARGOCD_APP'
|
|
2394
|
+
} as const;
|
|
2395
|
+
|
|
2396
|
+
export type ArgocdAssociatedServiceType = typeof ArgocdAssociatedServiceType[keyof typeof ArgocdAssociatedServiceType];
|
|
2397
|
+
|
|
2398
|
+
|
|
2399
|
+
/**
|
|
2400
|
+
*
|
|
2401
|
+
* @export
|
|
2402
|
+
* @interface ArgocdAssociatedServicesResponse
|
|
2403
|
+
*/
|
|
2404
|
+
export interface ArgocdAssociatedServicesResponse {
|
|
2405
|
+
/**
|
|
2406
|
+
*
|
|
2407
|
+
* @type {string}
|
|
2408
|
+
* @memberof ArgocdAssociatedServicesResponse
|
|
2409
|
+
*/
|
|
2410
|
+
'project_id': string;
|
|
2411
|
+
/**
|
|
2412
|
+
*
|
|
2413
|
+
* @type {string}
|
|
2414
|
+
* @memberof ArgocdAssociatedServicesResponse
|
|
2415
|
+
*/
|
|
2416
|
+
'project_name': string;
|
|
2417
|
+
/**
|
|
2418
|
+
*
|
|
2419
|
+
* @type {string}
|
|
2420
|
+
* @memberof ArgocdAssociatedServicesResponse
|
|
2421
|
+
*/
|
|
2422
|
+
'environment_id': string;
|
|
2423
|
+
/**
|
|
2424
|
+
*
|
|
2425
|
+
* @type {string}
|
|
2426
|
+
* @memberof ArgocdAssociatedServicesResponse
|
|
2427
|
+
*/
|
|
2428
|
+
'environment_name': string;
|
|
2429
|
+
/**
|
|
2430
|
+
*
|
|
2431
|
+
* @type {string}
|
|
2432
|
+
* @memberof ArgocdAssociatedServicesResponse
|
|
2433
|
+
*/
|
|
2434
|
+
'service_id': string;
|
|
2435
|
+
/**
|
|
2436
|
+
*
|
|
2437
|
+
* @type {string}
|
|
2438
|
+
* @memberof ArgocdAssociatedServicesResponse
|
|
2439
|
+
*/
|
|
2440
|
+
'service_name': string;
|
|
2441
|
+
/**
|
|
2442
|
+
*
|
|
2443
|
+
* @type {ArgocdAssociatedServiceType}
|
|
2444
|
+
* @memberof ArgocdAssociatedServicesResponse
|
|
2445
|
+
*/
|
|
2446
|
+
'service_type': ArgocdAssociatedServiceType;
|
|
2447
|
+
}
|
|
2448
|
+
|
|
2449
|
+
|
|
2450
|
+
/**
|
|
2451
|
+
*
|
|
2452
|
+
* @export
|
|
2453
|
+
* @interface ArgocdAssociatedServicesResponseList
|
|
2454
|
+
*/
|
|
2455
|
+
export interface ArgocdAssociatedServicesResponseList {
|
|
2456
|
+
/**
|
|
2457
|
+
*
|
|
2458
|
+
* @type {Array<ArgocdAssociatedServicesResponse>}
|
|
2459
|
+
* @memberof ArgocdAssociatedServicesResponseList
|
|
2460
|
+
*/
|
|
2461
|
+
'results'?: Array<ArgocdAssociatedServicesResponse>;
|
|
2462
|
+
}
|
|
2386
2463
|
/**
|
|
2387
2464
|
*
|
|
2388
2465
|
* @export
|
|
@@ -4439,7 +4516,7 @@ export interface ClusterCloudProviderInfoRequest {
|
|
|
4439
4516
|
* @type ClusterCredentials
|
|
4440
4517
|
* @export
|
|
4441
4518
|
*/
|
|
4442
|
-
export type ClusterCredentials = { object_type: 'AWS' } & AwsStaticClusterCredentials | { object_type: 'AWS_ROLE' } & AwsRoleClusterCredentials | { object_type: 'AZURE' } & AzureStaticClusterCredentials | { object_type: 'EKS_ANYWHERE_VSPHERE' } & EksAnywhereVsphereClusterCredentials | { object_type: 'GCP' } & GcpStaticClusterCredentials | { object_type: 'OTHER' } & GenericClusterCredentials | { object_type: 'SCW' } & ScalewayClusterCredentials;
|
|
4519
|
+
export type ClusterCredentials = { object_type: 'AWS' } & AwsStaticClusterCredentials | { object_type: 'AWS_ROLE' } & AwsRoleClusterCredentials | { object_type: 'AZURE' } & AzureStaticClusterCredentials | { object_type: 'EKS_ANYWHERE_VSPHERE' } & EksAnywhereVsphereClusterCredentials | { object_type: 'GCP' } & GcpStaticClusterCredentials | { object_type: 'GCP_WORKLOAD_IDENTITY_FEDERATION' } & GcpWorkloadIdentityFederationClusterCredentials | { object_type: 'OTHER' } & GenericClusterCredentials | { object_type: 'SCW' } & ScalewayClusterCredentials;
|
|
4443
4520
|
|
|
4444
4521
|
/**
|
|
4445
4522
|
*
|
|
@@ -12017,24 +12094,11 @@ export interface ExternalSecretAssociatedServiceResponseList {
|
|
|
12017
12094
|
'results': Array<ExternalSecretAssociatedServiceResponse>;
|
|
12018
12095
|
}
|
|
12019
12096
|
/**
|
|
12020
|
-
*
|
|
12097
|
+
* @type GcpCredentialsRequest
|
|
12021
12098
|
* @export
|
|
12022
|
-
* @interface GcpCredentialsRequest
|
|
12023
12099
|
*/
|
|
12024
|
-
export
|
|
12025
|
-
|
|
12026
|
-
*
|
|
12027
|
-
* @type {string}
|
|
12028
|
-
* @memberof GcpCredentialsRequest
|
|
12029
|
-
*/
|
|
12030
|
-
'name': string;
|
|
12031
|
-
/**
|
|
12032
|
-
* The json must be base64 encoded
|
|
12033
|
-
* @type {string}
|
|
12034
|
-
* @memberof GcpCredentialsRequest
|
|
12035
|
-
*/
|
|
12036
|
-
'gcp_credentials': string;
|
|
12037
|
-
}
|
|
12100
|
+
export type GcpCredentialsRequest = GcpServiceAccountKeyCredentialsRequest | GcpWorkloadIdentityFederationCredentialsRequest;
|
|
12101
|
+
|
|
12038
12102
|
/**
|
|
12039
12103
|
*
|
|
12040
12104
|
* @export
|
|
@@ -12093,6 +12157,38 @@ export const GcpSecretManagerEndpointDtoModeEnum = {
|
|
|
12093
12157
|
|
|
12094
12158
|
export type GcpSecretManagerEndpointDtoModeEnum = typeof GcpSecretManagerEndpointDtoModeEnum[keyof typeof GcpSecretManagerEndpointDtoModeEnum];
|
|
12095
12159
|
|
|
12160
|
+
/**
|
|
12161
|
+
*
|
|
12162
|
+
* @export
|
|
12163
|
+
* @interface GcpServiceAccountKeyCredentialsRequest
|
|
12164
|
+
*/
|
|
12165
|
+
export interface GcpServiceAccountKeyCredentialsRequest {
|
|
12166
|
+
/**
|
|
12167
|
+
*
|
|
12168
|
+
* @type {string}
|
|
12169
|
+
* @memberof GcpServiceAccountKeyCredentialsRequest
|
|
12170
|
+
*/
|
|
12171
|
+
'name': string;
|
|
12172
|
+
/**
|
|
12173
|
+
* Optional explicit credential type.
|
|
12174
|
+
* @type {string}
|
|
12175
|
+
* @memberof GcpServiceAccountKeyCredentialsRequest
|
|
12176
|
+
*/
|
|
12177
|
+
'credential_type'?: GcpServiceAccountKeyCredentialsRequestCredentialTypeEnum;
|
|
12178
|
+
/**
|
|
12179
|
+
* The json must be base64 encoded
|
|
12180
|
+
* @type {string}
|
|
12181
|
+
* @memberof GcpServiceAccountKeyCredentialsRequest
|
|
12182
|
+
*/
|
|
12183
|
+
'gcp_credentials': string;
|
|
12184
|
+
}
|
|
12185
|
+
|
|
12186
|
+
export const GcpServiceAccountKeyCredentialsRequestCredentialTypeEnum = {
|
|
12187
|
+
SERVICE_ACCOUNT_KEY: 'SERVICE_ACCOUNT_KEY'
|
|
12188
|
+
} as const;
|
|
12189
|
+
|
|
12190
|
+
export type GcpServiceAccountKeyCredentialsRequestCredentialTypeEnum = typeof GcpServiceAccountKeyCredentialsRequestCredentialTypeEnum[keyof typeof GcpServiceAccountKeyCredentialsRequestCredentialTypeEnum];
|
|
12191
|
+
|
|
12096
12192
|
/**
|
|
12097
12193
|
*
|
|
12098
12194
|
* @export
|
|
@@ -12125,6 +12221,113 @@ export const GcpStaticClusterCredentialsObjectTypeEnum = {
|
|
|
12125
12221
|
|
|
12126
12222
|
export type GcpStaticClusterCredentialsObjectTypeEnum = typeof GcpStaticClusterCredentialsObjectTypeEnum[keyof typeof GcpStaticClusterCredentialsObjectTypeEnum];
|
|
12127
12223
|
|
|
12224
|
+
/**
|
|
12225
|
+
*
|
|
12226
|
+
* @export
|
|
12227
|
+
* @interface GcpWorkloadIdentityFederationClusterCredentials
|
|
12228
|
+
*/
|
|
12229
|
+
export interface GcpWorkloadIdentityFederationClusterCredentials {
|
|
12230
|
+
/**
|
|
12231
|
+
*
|
|
12232
|
+
* @type {string}
|
|
12233
|
+
* @memberof GcpWorkloadIdentityFederationClusterCredentials
|
|
12234
|
+
*/
|
|
12235
|
+
'id': string;
|
|
12236
|
+
/**
|
|
12237
|
+
*
|
|
12238
|
+
* @type {string}
|
|
12239
|
+
* @memberof GcpWorkloadIdentityFederationClusterCredentials
|
|
12240
|
+
*/
|
|
12241
|
+
'name': string;
|
|
12242
|
+
/**
|
|
12243
|
+
*
|
|
12244
|
+
* @type {string}
|
|
12245
|
+
* @memberof GcpWorkloadIdentityFederationClusterCredentials
|
|
12246
|
+
*/
|
|
12247
|
+
'object_type': GcpWorkloadIdentityFederationClusterCredentialsObjectTypeEnum;
|
|
12248
|
+
/**
|
|
12249
|
+
*
|
|
12250
|
+
* @type {string}
|
|
12251
|
+
* @memberof GcpWorkloadIdentityFederationClusterCredentials
|
|
12252
|
+
*/
|
|
12253
|
+
'project_id': string;
|
|
12254
|
+
/**
|
|
12255
|
+
*
|
|
12256
|
+
* @type {string}
|
|
12257
|
+
* @memberof GcpWorkloadIdentityFederationClusterCredentials
|
|
12258
|
+
*/
|
|
12259
|
+
'service_account_email': string;
|
|
12260
|
+
/**
|
|
12261
|
+
*
|
|
12262
|
+
* @type {string}
|
|
12263
|
+
* @memberof GcpWorkloadIdentityFederationClusterCredentials
|
|
12264
|
+
*/
|
|
12265
|
+
'workload_identity_project_number': string;
|
|
12266
|
+
/**
|
|
12267
|
+
*
|
|
12268
|
+
* @type {string}
|
|
12269
|
+
* @memberof GcpWorkloadIdentityFederationClusterCredentials
|
|
12270
|
+
*/
|
|
12271
|
+
'workload_identity_pool_id': string;
|
|
12272
|
+
/**
|
|
12273
|
+
*
|
|
12274
|
+
* @type {string}
|
|
12275
|
+
* @memberof GcpWorkloadIdentityFederationClusterCredentials
|
|
12276
|
+
*/
|
|
12277
|
+
'workload_identity_provider_id': string;
|
|
12278
|
+
/**
|
|
12279
|
+
*
|
|
12280
|
+
* @type {number}
|
|
12281
|
+
* @memberof GcpWorkloadIdentityFederationClusterCredentials
|
|
12282
|
+
*/
|
|
12283
|
+
'token_lifetime_seconds': number;
|
|
12284
|
+
}
|
|
12285
|
+
|
|
12286
|
+
export const GcpWorkloadIdentityFederationClusterCredentialsObjectTypeEnum = {
|
|
12287
|
+
GCP_WORKLOAD_IDENTITY_FEDERATION: 'GCP_WORKLOAD_IDENTITY_FEDERATION'
|
|
12288
|
+
} as const;
|
|
12289
|
+
|
|
12290
|
+
export type GcpWorkloadIdentityFederationClusterCredentialsObjectTypeEnum = typeof GcpWorkloadIdentityFederationClusterCredentialsObjectTypeEnum[keyof typeof GcpWorkloadIdentityFederationClusterCredentialsObjectTypeEnum];
|
|
12291
|
+
|
|
12292
|
+
/**
|
|
12293
|
+
*
|
|
12294
|
+
* @export
|
|
12295
|
+
* @interface GcpWorkloadIdentityFederationCredentialsRequest
|
|
12296
|
+
*/
|
|
12297
|
+
export interface GcpWorkloadIdentityFederationCredentialsRequest {
|
|
12298
|
+
/**
|
|
12299
|
+
*
|
|
12300
|
+
* @type {string}
|
|
12301
|
+
* @memberof GcpWorkloadIdentityFederationCredentialsRequest
|
|
12302
|
+
*/
|
|
12303
|
+
'name': string;
|
|
12304
|
+
/**
|
|
12305
|
+
* Optional explicit credential type.
|
|
12306
|
+
* @type {string}
|
|
12307
|
+
* @memberof GcpWorkloadIdentityFederationCredentialsRequest
|
|
12308
|
+
*/
|
|
12309
|
+
'credential_type'?: GcpWorkloadIdentityFederationCredentialsRequestCredentialTypeEnum;
|
|
12310
|
+
/**
|
|
12311
|
+
* GCP service account email to impersonate.
|
|
12312
|
+
* @type {string}
|
|
12313
|
+
* @memberof GcpWorkloadIdentityFederationCredentialsRequest
|
|
12314
|
+
*/
|
|
12315
|
+
'service_account_email': string;
|
|
12316
|
+
/**
|
|
12317
|
+
* Full Workload Identity Provider resource.
|
|
12318
|
+
* @type {string}
|
|
12319
|
+
* @memberof GcpWorkloadIdentityFederationCredentialsRequest
|
|
12320
|
+
*/
|
|
12321
|
+
'workload_identity_provider_resource': string;
|
|
12322
|
+
}
|
|
12323
|
+
|
|
12324
|
+
export const GcpWorkloadIdentityFederationCredentialsRequestCredentialTypeEnum = {
|
|
12325
|
+
WORKLOAD_IDENTITY_FEDERATION: 'WORKLOAD_IDENTITY_FEDERATION',
|
|
12326
|
+
WIF: 'WIF'
|
|
12327
|
+
} as const;
|
|
12328
|
+
|
|
12329
|
+
export type GcpWorkloadIdentityFederationCredentialsRequestCredentialTypeEnum = typeof GcpWorkloadIdentityFederationCredentialsRequestCredentialTypeEnum[keyof typeof GcpWorkloadIdentityFederationCredentialsRequestCredentialTypeEnum];
|
|
12330
|
+
|
|
12128
12331
|
/**
|
|
12129
12332
|
*
|
|
12130
12333
|
* @export
|
|
@@ -29485,6 +29688,47 @@ export const ArgoCDApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
29485
29688
|
|
|
29486
29689
|
|
|
29487
29690
|
|
|
29691
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29692
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29693
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29694
|
+
|
|
29695
|
+
return {
|
|
29696
|
+
url: toPathString(localVarUrlObj),
|
|
29697
|
+
options: localVarRequestOptions,
|
|
29698
|
+
};
|
|
29699
|
+
},
|
|
29700
|
+
/**
|
|
29701
|
+
* List the ArgoCD discovered apps for a cluster, mapped to their project, environment, and service context. Requires VIEWER role.
|
|
29702
|
+
* @summary Get ArgoCD associated services for a cluster
|
|
29703
|
+
* @param {string} clusterId Cluster ID
|
|
29704
|
+
* @param {*} [options] Override http request option.
|
|
29705
|
+
* @throws {RequiredError}
|
|
29706
|
+
*/
|
|
29707
|
+
getArgoCdAssociatedServices: async (clusterId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29708
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
29709
|
+
assertParamExists('getArgoCdAssociatedServices', 'clusterId', clusterId)
|
|
29710
|
+
const localVarPath = `/cluster/{clusterId}/argocdApps/associatedServices`
|
|
29711
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
29712
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29713
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29714
|
+
let baseOptions;
|
|
29715
|
+
if (configuration) {
|
|
29716
|
+
baseOptions = configuration.baseOptions;
|
|
29717
|
+
}
|
|
29718
|
+
|
|
29719
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
29720
|
+
const localVarHeaderParameter = {} as any;
|
|
29721
|
+
const localVarQueryParameter = {} as any;
|
|
29722
|
+
|
|
29723
|
+
// authentication ApiKeyAuth required
|
|
29724
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
29725
|
+
|
|
29726
|
+
// authentication bearerAuth required
|
|
29727
|
+
// http bearer authentication required
|
|
29728
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
29729
|
+
|
|
29730
|
+
|
|
29731
|
+
|
|
29488
29732
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29489
29733
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29490
29734
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -29748,6 +29992,19 @@ export const ArgoCDApiFp = function(configuration?: Configuration) {
|
|
|
29748
29992
|
const localVarOperationServerBasePath = operationServerMap['ArgoCDApi.getArgoCdAppManifest']?.[localVarOperationServerIndex]?.url;
|
|
29749
29993
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29750
29994
|
},
|
|
29995
|
+
/**
|
|
29996
|
+
* List the ArgoCD discovered apps for a cluster, mapped to their project, environment, and service context. Requires VIEWER role.
|
|
29997
|
+
* @summary Get ArgoCD associated services for a cluster
|
|
29998
|
+
* @param {string} clusterId Cluster ID
|
|
29999
|
+
* @param {*} [options] Override http request option.
|
|
30000
|
+
* @throws {RequiredError}
|
|
30001
|
+
*/
|
|
30002
|
+
async getArgoCdAssociatedServices(clusterId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArgocdAssociatedServicesResponseList>> {
|
|
30003
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getArgoCdAssociatedServices(clusterId, options);
|
|
30004
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
30005
|
+
const localVarOperationServerBasePath = operationServerMap['ArgoCDApi.getArgoCdAssociatedServices']?.[localVarOperationServerIndex]?.url;
|
|
30006
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30007
|
+
},
|
|
29751
30008
|
/**
|
|
29752
30009
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
29753
30010
|
* @summary Get ArgoCD credentials for a cluster
|
|
@@ -29865,6 +30122,16 @@ export const ArgoCDApiFactory = function (configuration?: Configuration, basePat
|
|
|
29865
30122
|
getArgoCdAppManifest(argocdAppId: string, options?: RawAxiosRequestConfig): AxiosPromise<ArgocdAppManifestResponse> {
|
|
29866
30123
|
return localVarFp.getArgoCdAppManifest(argocdAppId, options).then((request) => request(axios, basePath));
|
|
29867
30124
|
},
|
|
30125
|
+
/**
|
|
30126
|
+
* List the ArgoCD discovered apps for a cluster, mapped to their project, environment, and service context. Requires VIEWER role.
|
|
30127
|
+
* @summary Get ArgoCD associated services for a cluster
|
|
30128
|
+
* @param {string} clusterId Cluster ID
|
|
30129
|
+
* @param {*} [options] Override http request option.
|
|
30130
|
+
* @throws {RequiredError}
|
|
30131
|
+
*/
|
|
30132
|
+
getArgoCdAssociatedServices(clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<ArgocdAssociatedServicesResponseList> {
|
|
30133
|
+
return localVarFp.getArgoCdAssociatedServices(clusterId, options).then((request) => request(axios, basePath));
|
|
30134
|
+
},
|
|
29868
30135
|
/**
|
|
29869
30136
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
29870
30137
|
* @summary Get ArgoCD credentials for a cluster
|
|
@@ -29980,6 +30247,18 @@ export class ArgoCDApi extends BaseAPI {
|
|
|
29980
30247
|
return ArgoCDApiFp(this.configuration).getArgoCdAppManifest(argocdAppId, options).then((request) => request(this.axios, this.basePath));
|
|
29981
30248
|
}
|
|
29982
30249
|
|
|
30250
|
+
/**
|
|
30251
|
+
* List the ArgoCD discovered apps for a cluster, mapped to their project, environment, and service context. Requires VIEWER role.
|
|
30252
|
+
* @summary Get ArgoCD associated services for a cluster
|
|
30253
|
+
* @param {string} clusterId Cluster ID
|
|
30254
|
+
* @param {*} [options] Override http request option.
|
|
30255
|
+
* @throws {RequiredError}
|
|
30256
|
+
* @memberof ArgoCDApi
|
|
30257
|
+
*/
|
|
30258
|
+
public getArgoCdAssociatedServices(clusterId: string, options?: RawAxiosRequestConfig) {
|
|
30259
|
+
return ArgoCDApiFp(this.configuration).getArgoCdAssociatedServices(clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
30260
|
+
}
|
|
30261
|
+
|
|
29983
30262
|
/**
|
|
29984
30263
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
29985
30264
|
* @summary Get ArgoCD credentials for a cluster
|
package/dist/api.d.ts
CHANGED
|
@@ -2294,6 +2294,77 @@ export interface ArgocdAppResponse {
|
|
|
2294
2294
|
*/
|
|
2295
2295
|
'git_repository'?: ApplicationGitRepository | null;
|
|
2296
2296
|
}
|
|
2297
|
+
/**
|
|
2298
|
+
*
|
|
2299
|
+
* @export
|
|
2300
|
+
* @enum {string}
|
|
2301
|
+
*/
|
|
2302
|
+
export declare const ArgocdAssociatedServiceType: {
|
|
2303
|
+
readonly ARGOCD_APP: "ARGOCD_APP";
|
|
2304
|
+
};
|
|
2305
|
+
export type ArgocdAssociatedServiceType = typeof ArgocdAssociatedServiceType[keyof typeof ArgocdAssociatedServiceType];
|
|
2306
|
+
/**
|
|
2307
|
+
*
|
|
2308
|
+
* @export
|
|
2309
|
+
* @interface ArgocdAssociatedServicesResponse
|
|
2310
|
+
*/
|
|
2311
|
+
export interface ArgocdAssociatedServicesResponse {
|
|
2312
|
+
/**
|
|
2313
|
+
*
|
|
2314
|
+
* @type {string}
|
|
2315
|
+
* @memberof ArgocdAssociatedServicesResponse
|
|
2316
|
+
*/
|
|
2317
|
+
'project_id': string;
|
|
2318
|
+
/**
|
|
2319
|
+
*
|
|
2320
|
+
* @type {string}
|
|
2321
|
+
* @memberof ArgocdAssociatedServicesResponse
|
|
2322
|
+
*/
|
|
2323
|
+
'project_name': string;
|
|
2324
|
+
/**
|
|
2325
|
+
*
|
|
2326
|
+
* @type {string}
|
|
2327
|
+
* @memberof ArgocdAssociatedServicesResponse
|
|
2328
|
+
*/
|
|
2329
|
+
'environment_id': string;
|
|
2330
|
+
/**
|
|
2331
|
+
*
|
|
2332
|
+
* @type {string}
|
|
2333
|
+
* @memberof ArgocdAssociatedServicesResponse
|
|
2334
|
+
*/
|
|
2335
|
+
'environment_name': string;
|
|
2336
|
+
/**
|
|
2337
|
+
*
|
|
2338
|
+
* @type {string}
|
|
2339
|
+
* @memberof ArgocdAssociatedServicesResponse
|
|
2340
|
+
*/
|
|
2341
|
+
'service_id': string;
|
|
2342
|
+
/**
|
|
2343
|
+
*
|
|
2344
|
+
* @type {string}
|
|
2345
|
+
* @memberof ArgocdAssociatedServicesResponse
|
|
2346
|
+
*/
|
|
2347
|
+
'service_name': string;
|
|
2348
|
+
/**
|
|
2349
|
+
*
|
|
2350
|
+
* @type {ArgocdAssociatedServiceType}
|
|
2351
|
+
* @memberof ArgocdAssociatedServicesResponse
|
|
2352
|
+
*/
|
|
2353
|
+
'service_type': ArgocdAssociatedServiceType;
|
|
2354
|
+
}
|
|
2355
|
+
/**
|
|
2356
|
+
*
|
|
2357
|
+
* @export
|
|
2358
|
+
* @interface ArgocdAssociatedServicesResponseList
|
|
2359
|
+
*/
|
|
2360
|
+
export interface ArgocdAssociatedServicesResponseList {
|
|
2361
|
+
/**
|
|
2362
|
+
*
|
|
2363
|
+
* @type {Array<ArgocdAssociatedServicesResponse>}
|
|
2364
|
+
* @memberof ArgocdAssociatedServicesResponseList
|
|
2365
|
+
*/
|
|
2366
|
+
'results'?: Array<ArgocdAssociatedServicesResponse>;
|
|
2367
|
+
}
|
|
2297
2368
|
/**
|
|
2298
2369
|
*
|
|
2299
2370
|
* @export
|
|
@@ -4296,6 +4367,8 @@ export type ClusterCredentials = {
|
|
|
4296
4367
|
} & EksAnywhereVsphereClusterCredentials | {
|
|
4297
4368
|
object_type: 'GCP';
|
|
4298
4369
|
} & GcpStaticClusterCredentials | {
|
|
4370
|
+
object_type: 'GCP_WORKLOAD_IDENTITY_FEDERATION';
|
|
4371
|
+
} & GcpWorkloadIdentityFederationClusterCredentials | {
|
|
4299
4372
|
object_type: 'OTHER';
|
|
4300
4373
|
} & GenericClusterCredentials | {
|
|
4301
4374
|
object_type: 'SCW';
|
|
@@ -11652,24 +11725,10 @@ export interface ExternalSecretAssociatedServiceResponseList {
|
|
|
11652
11725
|
'results': Array<ExternalSecretAssociatedServiceResponse>;
|
|
11653
11726
|
}
|
|
11654
11727
|
/**
|
|
11655
|
-
*
|
|
11728
|
+
* @type GcpCredentialsRequest
|
|
11656
11729
|
* @export
|
|
11657
|
-
* @interface GcpCredentialsRequest
|
|
11658
11730
|
*/
|
|
11659
|
-
export
|
|
11660
|
-
/**
|
|
11661
|
-
*
|
|
11662
|
-
* @type {string}
|
|
11663
|
-
* @memberof GcpCredentialsRequest
|
|
11664
|
-
*/
|
|
11665
|
-
'name': string;
|
|
11666
|
-
/**
|
|
11667
|
-
* The json must be base64 encoded
|
|
11668
|
-
* @type {string}
|
|
11669
|
-
* @memberof GcpCredentialsRequest
|
|
11670
|
-
*/
|
|
11671
|
-
'gcp_credentials': string;
|
|
11672
|
-
}
|
|
11731
|
+
export type GcpCredentialsRequest = GcpServiceAccountKeyCredentialsRequest | GcpWorkloadIdentityFederationCredentialsRequest;
|
|
11673
11732
|
/**
|
|
11674
11733
|
*
|
|
11675
11734
|
* @export
|
|
@@ -11722,6 +11781,35 @@ export declare const GcpSecretManagerEndpointDtoModeEnum: {
|
|
|
11722
11781
|
readonly GCP_SECRET_MANAGER: "GCP_SECRET_MANAGER";
|
|
11723
11782
|
};
|
|
11724
11783
|
export type GcpSecretManagerEndpointDtoModeEnum = typeof GcpSecretManagerEndpointDtoModeEnum[keyof typeof GcpSecretManagerEndpointDtoModeEnum];
|
|
11784
|
+
/**
|
|
11785
|
+
*
|
|
11786
|
+
* @export
|
|
11787
|
+
* @interface GcpServiceAccountKeyCredentialsRequest
|
|
11788
|
+
*/
|
|
11789
|
+
export interface GcpServiceAccountKeyCredentialsRequest {
|
|
11790
|
+
/**
|
|
11791
|
+
*
|
|
11792
|
+
* @type {string}
|
|
11793
|
+
* @memberof GcpServiceAccountKeyCredentialsRequest
|
|
11794
|
+
*/
|
|
11795
|
+
'name': string;
|
|
11796
|
+
/**
|
|
11797
|
+
* Optional explicit credential type.
|
|
11798
|
+
* @type {string}
|
|
11799
|
+
* @memberof GcpServiceAccountKeyCredentialsRequest
|
|
11800
|
+
*/
|
|
11801
|
+
'credential_type'?: GcpServiceAccountKeyCredentialsRequestCredentialTypeEnum;
|
|
11802
|
+
/**
|
|
11803
|
+
* The json must be base64 encoded
|
|
11804
|
+
* @type {string}
|
|
11805
|
+
* @memberof GcpServiceAccountKeyCredentialsRequest
|
|
11806
|
+
*/
|
|
11807
|
+
'gcp_credentials': string;
|
|
11808
|
+
}
|
|
11809
|
+
export declare const GcpServiceAccountKeyCredentialsRequestCredentialTypeEnum: {
|
|
11810
|
+
readonly SERVICE_ACCOUNT_KEY: "SERVICE_ACCOUNT_KEY";
|
|
11811
|
+
};
|
|
11812
|
+
export type GcpServiceAccountKeyCredentialsRequestCredentialTypeEnum = typeof GcpServiceAccountKeyCredentialsRequestCredentialTypeEnum[keyof typeof GcpServiceAccountKeyCredentialsRequestCredentialTypeEnum];
|
|
11725
11813
|
/**
|
|
11726
11814
|
*
|
|
11727
11815
|
* @export
|
|
@@ -11751,6 +11839,107 @@ export declare const GcpStaticClusterCredentialsObjectTypeEnum: {
|
|
|
11751
11839
|
readonly GCP: "GCP";
|
|
11752
11840
|
};
|
|
11753
11841
|
export type GcpStaticClusterCredentialsObjectTypeEnum = typeof GcpStaticClusterCredentialsObjectTypeEnum[keyof typeof GcpStaticClusterCredentialsObjectTypeEnum];
|
|
11842
|
+
/**
|
|
11843
|
+
*
|
|
11844
|
+
* @export
|
|
11845
|
+
* @interface GcpWorkloadIdentityFederationClusterCredentials
|
|
11846
|
+
*/
|
|
11847
|
+
export interface GcpWorkloadIdentityFederationClusterCredentials {
|
|
11848
|
+
/**
|
|
11849
|
+
*
|
|
11850
|
+
* @type {string}
|
|
11851
|
+
* @memberof GcpWorkloadIdentityFederationClusterCredentials
|
|
11852
|
+
*/
|
|
11853
|
+
'id': string;
|
|
11854
|
+
/**
|
|
11855
|
+
*
|
|
11856
|
+
* @type {string}
|
|
11857
|
+
* @memberof GcpWorkloadIdentityFederationClusterCredentials
|
|
11858
|
+
*/
|
|
11859
|
+
'name': string;
|
|
11860
|
+
/**
|
|
11861
|
+
*
|
|
11862
|
+
* @type {string}
|
|
11863
|
+
* @memberof GcpWorkloadIdentityFederationClusterCredentials
|
|
11864
|
+
*/
|
|
11865
|
+
'object_type': GcpWorkloadIdentityFederationClusterCredentialsObjectTypeEnum;
|
|
11866
|
+
/**
|
|
11867
|
+
*
|
|
11868
|
+
* @type {string}
|
|
11869
|
+
* @memberof GcpWorkloadIdentityFederationClusterCredentials
|
|
11870
|
+
*/
|
|
11871
|
+
'project_id': string;
|
|
11872
|
+
/**
|
|
11873
|
+
*
|
|
11874
|
+
* @type {string}
|
|
11875
|
+
* @memberof GcpWorkloadIdentityFederationClusterCredentials
|
|
11876
|
+
*/
|
|
11877
|
+
'service_account_email': string;
|
|
11878
|
+
/**
|
|
11879
|
+
*
|
|
11880
|
+
* @type {string}
|
|
11881
|
+
* @memberof GcpWorkloadIdentityFederationClusterCredentials
|
|
11882
|
+
*/
|
|
11883
|
+
'workload_identity_project_number': string;
|
|
11884
|
+
/**
|
|
11885
|
+
*
|
|
11886
|
+
* @type {string}
|
|
11887
|
+
* @memberof GcpWorkloadIdentityFederationClusterCredentials
|
|
11888
|
+
*/
|
|
11889
|
+
'workload_identity_pool_id': string;
|
|
11890
|
+
/**
|
|
11891
|
+
*
|
|
11892
|
+
* @type {string}
|
|
11893
|
+
* @memberof GcpWorkloadIdentityFederationClusterCredentials
|
|
11894
|
+
*/
|
|
11895
|
+
'workload_identity_provider_id': string;
|
|
11896
|
+
/**
|
|
11897
|
+
*
|
|
11898
|
+
* @type {number}
|
|
11899
|
+
* @memberof GcpWorkloadIdentityFederationClusterCredentials
|
|
11900
|
+
*/
|
|
11901
|
+
'token_lifetime_seconds': number;
|
|
11902
|
+
}
|
|
11903
|
+
export declare const GcpWorkloadIdentityFederationClusterCredentialsObjectTypeEnum: {
|
|
11904
|
+
readonly GCP_WORKLOAD_IDENTITY_FEDERATION: "GCP_WORKLOAD_IDENTITY_FEDERATION";
|
|
11905
|
+
};
|
|
11906
|
+
export type GcpWorkloadIdentityFederationClusterCredentialsObjectTypeEnum = typeof GcpWorkloadIdentityFederationClusterCredentialsObjectTypeEnum[keyof typeof GcpWorkloadIdentityFederationClusterCredentialsObjectTypeEnum];
|
|
11907
|
+
/**
|
|
11908
|
+
*
|
|
11909
|
+
* @export
|
|
11910
|
+
* @interface GcpWorkloadIdentityFederationCredentialsRequest
|
|
11911
|
+
*/
|
|
11912
|
+
export interface GcpWorkloadIdentityFederationCredentialsRequest {
|
|
11913
|
+
/**
|
|
11914
|
+
*
|
|
11915
|
+
* @type {string}
|
|
11916
|
+
* @memberof GcpWorkloadIdentityFederationCredentialsRequest
|
|
11917
|
+
*/
|
|
11918
|
+
'name': string;
|
|
11919
|
+
/**
|
|
11920
|
+
* Optional explicit credential type.
|
|
11921
|
+
* @type {string}
|
|
11922
|
+
* @memberof GcpWorkloadIdentityFederationCredentialsRequest
|
|
11923
|
+
*/
|
|
11924
|
+
'credential_type'?: GcpWorkloadIdentityFederationCredentialsRequestCredentialTypeEnum;
|
|
11925
|
+
/**
|
|
11926
|
+
* GCP service account email to impersonate.
|
|
11927
|
+
* @type {string}
|
|
11928
|
+
* @memberof GcpWorkloadIdentityFederationCredentialsRequest
|
|
11929
|
+
*/
|
|
11930
|
+
'service_account_email': string;
|
|
11931
|
+
/**
|
|
11932
|
+
* Full Workload Identity Provider resource.
|
|
11933
|
+
* @type {string}
|
|
11934
|
+
* @memberof GcpWorkloadIdentityFederationCredentialsRequest
|
|
11935
|
+
*/
|
|
11936
|
+
'workload_identity_provider_resource': string;
|
|
11937
|
+
}
|
|
11938
|
+
export declare const GcpWorkloadIdentityFederationCredentialsRequestCredentialTypeEnum: {
|
|
11939
|
+
readonly WORKLOAD_IDENTITY_FEDERATION: "WORKLOAD_IDENTITY_FEDERATION";
|
|
11940
|
+
readonly WIF: "WIF";
|
|
11941
|
+
};
|
|
11942
|
+
export type GcpWorkloadIdentityFederationCredentialsRequestCredentialTypeEnum = typeof GcpWorkloadIdentityFederationCredentialsRequestCredentialTypeEnum[keyof typeof GcpWorkloadIdentityFederationCredentialsRequestCredentialTypeEnum];
|
|
11754
11943
|
/**
|
|
11755
11944
|
*
|
|
11756
11945
|
* @export
|
|
@@ -25639,6 +25828,14 @@ export declare const ArgoCDApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
25639
25828
|
* @throws {RequiredError}
|
|
25640
25829
|
*/
|
|
25641
25830
|
getArgoCdAppManifest: (argocdAppId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25831
|
+
/**
|
|
25832
|
+
* List the ArgoCD discovered apps for a cluster, mapped to their project, environment, and service context. Requires VIEWER role.
|
|
25833
|
+
* @summary Get ArgoCD associated services for a cluster
|
|
25834
|
+
* @param {string} clusterId Cluster ID
|
|
25835
|
+
* @param {*} [options] Override http request option.
|
|
25836
|
+
* @throws {RequiredError}
|
|
25837
|
+
*/
|
|
25838
|
+
getArgoCdAssociatedServices: (clusterId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25642
25839
|
/**
|
|
25643
25840
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
25644
25841
|
* @summary Get ArgoCD credentials for a cluster
|
|
@@ -25722,6 +25919,14 @@ export declare const ArgoCDApiFp: (configuration?: Configuration) => {
|
|
|
25722
25919
|
* @throws {RequiredError}
|
|
25723
25920
|
*/
|
|
25724
25921
|
getArgoCdAppManifest(argocdAppId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArgocdAppManifestResponse>>;
|
|
25922
|
+
/**
|
|
25923
|
+
* List the ArgoCD discovered apps for a cluster, mapped to their project, environment, and service context. Requires VIEWER role.
|
|
25924
|
+
* @summary Get ArgoCD associated services for a cluster
|
|
25925
|
+
* @param {string} clusterId Cluster ID
|
|
25926
|
+
* @param {*} [options] Override http request option.
|
|
25927
|
+
* @throws {RequiredError}
|
|
25928
|
+
*/
|
|
25929
|
+
getArgoCdAssociatedServices(clusterId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArgocdAssociatedServicesResponseList>>;
|
|
25725
25930
|
/**
|
|
25726
25931
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
25727
25932
|
* @summary Get ArgoCD credentials for a cluster
|
|
@@ -25805,6 +26010,14 @@ export declare const ArgoCDApiFactory: (configuration?: Configuration, basePath?
|
|
|
25805
26010
|
* @throws {RequiredError}
|
|
25806
26011
|
*/
|
|
25807
26012
|
getArgoCdAppManifest(argocdAppId: string, options?: RawAxiosRequestConfig): AxiosPromise<ArgocdAppManifestResponse>;
|
|
26013
|
+
/**
|
|
26014
|
+
* List the ArgoCD discovered apps for a cluster, mapped to their project, environment, and service context. Requires VIEWER role.
|
|
26015
|
+
* @summary Get ArgoCD associated services for a cluster
|
|
26016
|
+
* @param {string} clusterId Cluster ID
|
|
26017
|
+
* @param {*} [options] Override http request option.
|
|
26018
|
+
* @throws {RequiredError}
|
|
26019
|
+
*/
|
|
26020
|
+
getArgoCdAssociatedServices(clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<ArgocdAssociatedServicesResponseList>;
|
|
25808
26021
|
/**
|
|
25809
26022
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
25810
26023
|
* @summary Get ArgoCD credentials for a cluster
|
|
@@ -25895,6 +26108,15 @@ export declare class ArgoCDApi extends BaseAPI {
|
|
|
25895
26108
|
* @memberof ArgoCDApi
|
|
25896
26109
|
*/
|
|
25897
26110
|
getArgoCdAppManifest(argocdAppId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ArgocdAppManifestResponse, any, {}>>;
|
|
26111
|
+
/**
|
|
26112
|
+
* List the ArgoCD discovered apps for a cluster, mapped to their project, environment, and service context. Requires VIEWER role.
|
|
26113
|
+
* @summary Get ArgoCD associated services for a cluster
|
|
26114
|
+
* @param {string} clusterId Cluster ID
|
|
26115
|
+
* @param {*} [options] Override http request option.
|
|
26116
|
+
* @throws {RequiredError}
|
|
26117
|
+
* @memberof ArgoCDApi
|
|
26118
|
+
*/
|
|
26119
|
+
getArgoCdAssociatedServices(clusterId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ArgocdAssociatedServicesResponseList, any, {}>>;
|
|
25898
26120
|
/**
|
|
25899
26121
|
* Retrieve the stored ArgoCD configuration for a cluster. The token is always returned as REDACTED. Requires VIEWER role.
|
|
25900
26122
|
* @summary Get ArgoCD credentials for a cluster
|