qovery-typescript-axios 1.1.968 → 1.1.969
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 +370 -5
- package/dist/api.d.ts +252 -4
- package/dist/api.js +234 -17
- package/dist/esm/api.d.ts +252 -4
- package/dist/esm/api.js +218 -5
- package/package.json +1 -1
package/dist/esm/api.d.ts
CHANGED
|
@@ -6425,6 +6425,141 @@ export declare const ClusterDeleteMode: {
|
|
|
6425
6425
|
readonly DELETE_QOVERY_CONFIG: "DELETE_QOVERY_CONFIG";
|
|
6426
6426
|
};
|
|
6427
6427
|
export type ClusterDeleteMode = typeof ClusterDeleteMode[keyof typeof ClusterDeleteMode];
|
|
6428
|
+
/**
|
|
6429
|
+
*
|
|
6430
|
+
* @export
|
|
6431
|
+
* @interface ClusterDeploymentHistory
|
|
6432
|
+
*/
|
|
6433
|
+
export interface ClusterDeploymentHistory {
|
|
6434
|
+
/**
|
|
6435
|
+
*
|
|
6436
|
+
* @type {ClusterDeploymentHistoryIdentifier}
|
|
6437
|
+
* @memberof ClusterDeploymentHistory
|
|
6438
|
+
*/
|
|
6439
|
+
'identifier': ClusterDeploymentHistoryIdentifier;
|
|
6440
|
+
/**
|
|
6441
|
+
*
|
|
6442
|
+
* @type {ClusterDeploymentHistoryAuditingData}
|
|
6443
|
+
* @memberof ClusterDeploymentHistory
|
|
6444
|
+
*/
|
|
6445
|
+
'auditing_data': ClusterDeploymentHistoryAuditingData;
|
|
6446
|
+
/**
|
|
6447
|
+
*
|
|
6448
|
+
* @type {StateEnum}
|
|
6449
|
+
* @memberof ClusterDeploymentHistory
|
|
6450
|
+
*/
|
|
6451
|
+
'status': StateEnum;
|
|
6452
|
+
/**
|
|
6453
|
+
*
|
|
6454
|
+
* @type {DeploymentHistoryActionStatus}
|
|
6455
|
+
* @memberof ClusterDeploymentHistory
|
|
6456
|
+
*/
|
|
6457
|
+
'action_status': DeploymentHistoryActionStatus;
|
|
6458
|
+
/**
|
|
6459
|
+
*
|
|
6460
|
+
* @type {DeploymentHistoryTriggerAction}
|
|
6461
|
+
* @memberof ClusterDeploymentHistory
|
|
6462
|
+
*/
|
|
6463
|
+
'trigger_action': DeploymentHistoryTriggerAction;
|
|
6464
|
+
/**
|
|
6465
|
+
*
|
|
6466
|
+
* @type {string}
|
|
6467
|
+
* @memberof ClusterDeploymentHistory
|
|
6468
|
+
*/
|
|
6469
|
+
'reason': ClusterDeploymentHistoryReasonEnum;
|
|
6470
|
+
/**
|
|
6471
|
+
*
|
|
6472
|
+
* @type {string}
|
|
6473
|
+
* @memberof ClusterDeploymentHistory
|
|
6474
|
+
*/
|
|
6475
|
+
'total_duration'?: string | null;
|
|
6476
|
+
}
|
|
6477
|
+
export declare const ClusterDeploymentHistoryReasonEnum: {
|
|
6478
|
+
readonly UNSPECIFIED: "UNSPECIFIED";
|
|
6479
|
+
readonly MAINTENANCE: "MAINTENANCE";
|
|
6480
|
+
};
|
|
6481
|
+
export type ClusterDeploymentHistoryReasonEnum = typeof ClusterDeploymentHistoryReasonEnum[keyof typeof ClusterDeploymentHistoryReasonEnum];
|
|
6482
|
+
/**
|
|
6483
|
+
*
|
|
6484
|
+
* @export
|
|
6485
|
+
* @interface ClusterDeploymentHistoryAuditingData
|
|
6486
|
+
*/
|
|
6487
|
+
export interface ClusterDeploymentHistoryAuditingData {
|
|
6488
|
+
/**
|
|
6489
|
+
*
|
|
6490
|
+
* @type {string}
|
|
6491
|
+
* @memberof ClusterDeploymentHistoryAuditingData
|
|
6492
|
+
*/
|
|
6493
|
+
'created_at': string;
|
|
6494
|
+
/**
|
|
6495
|
+
*
|
|
6496
|
+
* @type {string}
|
|
6497
|
+
* @memberof ClusterDeploymentHistoryAuditingData
|
|
6498
|
+
*/
|
|
6499
|
+
'updated_at': string;
|
|
6500
|
+
/**
|
|
6501
|
+
*
|
|
6502
|
+
* @type {OrganizationEventOrigin}
|
|
6503
|
+
* @memberof ClusterDeploymentHistoryAuditingData
|
|
6504
|
+
*/
|
|
6505
|
+
'origin'?: OrganizationEventOrigin | null;
|
|
6506
|
+
/**
|
|
6507
|
+
* Who triggered the deployment. Null for deployments created before this metadata was recorded
|
|
6508
|
+
* @type {string}
|
|
6509
|
+
* @memberof ClusterDeploymentHistoryAuditingData
|
|
6510
|
+
*/
|
|
6511
|
+
'triggered_by'?: string | null;
|
|
6512
|
+
}
|
|
6513
|
+
/**
|
|
6514
|
+
*
|
|
6515
|
+
* @export
|
|
6516
|
+
* @interface ClusterDeploymentHistoryIdentifier
|
|
6517
|
+
*/
|
|
6518
|
+
export interface ClusterDeploymentHistoryIdentifier {
|
|
6519
|
+
/**
|
|
6520
|
+
*
|
|
6521
|
+
* @type {string}
|
|
6522
|
+
* @memberof ClusterDeploymentHistoryIdentifier
|
|
6523
|
+
*/
|
|
6524
|
+
'deployment_id': string;
|
|
6525
|
+
/**
|
|
6526
|
+
*
|
|
6527
|
+
* @type {string}
|
|
6528
|
+
* @memberof ClusterDeploymentHistoryIdentifier
|
|
6529
|
+
*/
|
|
6530
|
+
'execution_id'?: string | null;
|
|
6531
|
+
/**
|
|
6532
|
+
*
|
|
6533
|
+
* @type {string}
|
|
6534
|
+
* @memberof ClusterDeploymentHistoryIdentifier
|
|
6535
|
+
*/
|
|
6536
|
+
'cluster_id': string;
|
|
6537
|
+
}
|
|
6538
|
+
/**
|
|
6539
|
+
*
|
|
6540
|
+
* @export
|
|
6541
|
+
* @interface ClusterDeploymentHistoryPaginatedResponseListV2
|
|
6542
|
+
*/
|
|
6543
|
+
export interface ClusterDeploymentHistoryPaginatedResponseListV2 {
|
|
6544
|
+
/**
|
|
6545
|
+
*
|
|
6546
|
+
* @type {number}
|
|
6547
|
+
* @memberof ClusterDeploymentHistoryPaginatedResponseListV2
|
|
6548
|
+
*/
|
|
6549
|
+
'page': number;
|
|
6550
|
+
/**
|
|
6551
|
+
*
|
|
6552
|
+
* @type {number}
|
|
6553
|
+
* @memberof ClusterDeploymentHistoryPaginatedResponseListV2
|
|
6554
|
+
*/
|
|
6555
|
+
'page_size': number;
|
|
6556
|
+
/**
|
|
6557
|
+
*
|
|
6558
|
+
* @type {Array<ClusterDeploymentHistory>}
|
|
6559
|
+
* @memberof ClusterDeploymentHistoryPaginatedResponseListV2
|
|
6560
|
+
*/
|
|
6561
|
+
'results'?: Array<ClusterDeploymentHistory>;
|
|
6562
|
+
}
|
|
6428
6563
|
/**
|
|
6429
6564
|
*
|
|
6430
6565
|
* @export
|
|
@@ -11272,6 +11407,7 @@ export declare const DeploymentHistoryActionStatus: {
|
|
|
11272
11407
|
readonly CANCELED: "CANCELED";
|
|
11273
11408
|
readonly CANCELING: "CANCELING";
|
|
11274
11409
|
readonly NEVER: "NEVER";
|
|
11410
|
+
readonly EXECUTING: "EXECUTING";
|
|
11275
11411
|
};
|
|
11276
11412
|
export type DeploymentHistoryActionStatus = typeof DeploymentHistoryActionStatus[keyof typeof DeploymentHistoryActionStatus];
|
|
11277
11413
|
/**
|
|
@@ -32773,6 +32909,114 @@ export declare class CloudProviderCredentialsApi extends BaseAPI {
|
|
|
32773
32909
|
*/
|
|
32774
32910
|
listScalewayCredentials(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterCredentialsResponseList, any, {}>>;
|
|
32775
32911
|
}
|
|
32912
|
+
/**
|
|
32913
|
+
* ClusterDeploymentHistoryApi - axios parameter creator
|
|
32914
|
+
* @export
|
|
32915
|
+
*/
|
|
32916
|
+
export declare const ClusterDeploymentHistoryApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
32917
|
+
/**
|
|
32918
|
+
* List previous and current cluster deployments. It returns actual deployments only: dry-runs and stop/delete operations are excluded. By default it returns the 20 last results. Use the pageSize query parameter to adjust the number of returned results
|
|
32919
|
+
* @summary List cluster deployments
|
|
32920
|
+
* @param {string} organizationId Organization ID
|
|
32921
|
+
* @param {string} clusterId Cluster ID
|
|
32922
|
+
* @param {number | null} [pageSize] The number of deployments to return in the current page. Must be greater than or equal to 1
|
|
32923
|
+
* @param {*} [options] Override http request option.
|
|
32924
|
+
* @throws {RequiredError}
|
|
32925
|
+
*/
|
|
32926
|
+
listClusterDeploymentHistoryV2: (organizationId: string, clusterId: string, pageSize?: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32927
|
+
/**
|
|
32928
|
+
* List the logs of a specific cluster deployment
|
|
32929
|
+
* @summary List logs for a specific cluster deployment
|
|
32930
|
+
* @param {string} organizationId Organization ID
|
|
32931
|
+
* @param {string} clusterId Cluster ID
|
|
32932
|
+
* @param {string} deploymentId Deployment ID
|
|
32933
|
+
* @param {*} [options] Override http request option.
|
|
32934
|
+
* @throws {RequiredError}
|
|
32935
|
+
*/
|
|
32936
|
+
listClusterDeploymentLogs: (organizationId: string, clusterId: string, deploymentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32937
|
+
};
|
|
32938
|
+
/**
|
|
32939
|
+
* ClusterDeploymentHistoryApi - functional programming interface
|
|
32940
|
+
* @export
|
|
32941
|
+
*/
|
|
32942
|
+
export declare const ClusterDeploymentHistoryApiFp: (configuration?: Configuration) => {
|
|
32943
|
+
/**
|
|
32944
|
+
* List previous and current cluster deployments. It returns actual deployments only: dry-runs and stop/delete operations are excluded. By default it returns the 20 last results. Use the pageSize query parameter to adjust the number of returned results
|
|
32945
|
+
* @summary List cluster deployments
|
|
32946
|
+
* @param {string} organizationId Organization ID
|
|
32947
|
+
* @param {string} clusterId Cluster ID
|
|
32948
|
+
* @param {number | null} [pageSize] The number of deployments to return in the current page. Must be greater than or equal to 1
|
|
32949
|
+
* @param {*} [options] Override http request option.
|
|
32950
|
+
* @throws {RequiredError}
|
|
32951
|
+
*/
|
|
32952
|
+
listClusterDeploymentHistoryV2(organizationId: string, clusterId: string, pageSize?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterDeploymentHistoryPaginatedResponseListV2>>;
|
|
32953
|
+
/**
|
|
32954
|
+
* List the logs of a specific cluster deployment
|
|
32955
|
+
* @summary List logs for a specific cluster deployment
|
|
32956
|
+
* @param {string} organizationId Organization ID
|
|
32957
|
+
* @param {string} clusterId Cluster ID
|
|
32958
|
+
* @param {string} deploymentId Deployment ID
|
|
32959
|
+
* @param {*} [options] Override http request option.
|
|
32960
|
+
* @throws {RequiredError}
|
|
32961
|
+
*/
|
|
32962
|
+
listClusterDeploymentLogs(organizationId: string, clusterId: string, deploymentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterLogsResponseList>>;
|
|
32963
|
+
};
|
|
32964
|
+
/**
|
|
32965
|
+
* ClusterDeploymentHistoryApi - factory interface
|
|
32966
|
+
* @export
|
|
32967
|
+
*/
|
|
32968
|
+
export declare const ClusterDeploymentHistoryApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
32969
|
+
/**
|
|
32970
|
+
* List previous and current cluster deployments. It returns actual deployments only: dry-runs and stop/delete operations are excluded. By default it returns the 20 last results. Use the pageSize query parameter to adjust the number of returned results
|
|
32971
|
+
* @summary List cluster deployments
|
|
32972
|
+
* @param {string} organizationId Organization ID
|
|
32973
|
+
* @param {string} clusterId Cluster ID
|
|
32974
|
+
* @param {number | null} [pageSize] The number of deployments to return in the current page. Must be greater than or equal to 1
|
|
32975
|
+
* @param {*} [options] Override http request option.
|
|
32976
|
+
* @throws {RequiredError}
|
|
32977
|
+
*/
|
|
32978
|
+
listClusterDeploymentHistoryV2(organizationId: string, clusterId: string, pageSize?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ClusterDeploymentHistoryPaginatedResponseListV2>;
|
|
32979
|
+
/**
|
|
32980
|
+
* List the logs of a specific cluster deployment
|
|
32981
|
+
* @summary List logs for a specific cluster deployment
|
|
32982
|
+
* @param {string} organizationId Organization ID
|
|
32983
|
+
* @param {string} clusterId Cluster ID
|
|
32984
|
+
* @param {string} deploymentId Deployment ID
|
|
32985
|
+
* @param {*} [options] Override http request option.
|
|
32986
|
+
* @throws {RequiredError}
|
|
32987
|
+
*/
|
|
32988
|
+
listClusterDeploymentLogs(organizationId: string, clusterId: string, deploymentId: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterLogsResponseList>;
|
|
32989
|
+
};
|
|
32990
|
+
/**
|
|
32991
|
+
* ClusterDeploymentHistoryApi - object-oriented interface
|
|
32992
|
+
* @export
|
|
32993
|
+
* @class ClusterDeploymentHistoryApi
|
|
32994
|
+
* @extends {BaseAPI}
|
|
32995
|
+
*/
|
|
32996
|
+
export declare class ClusterDeploymentHistoryApi extends BaseAPI {
|
|
32997
|
+
/**
|
|
32998
|
+
* List previous and current cluster deployments. It returns actual deployments only: dry-runs and stop/delete operations are excluded. By default it returns the 20 last results. Use the pageSize query parameter to adjust the number of returned results
|
|
32999
|
+
* @summary List cluster deployments
|
|
33000
|
+
* @param {string} organizationId Organization ID
|
|
33001
|
+
* @param {string} clusterId Cluster ID
|
|
33002
|
+
* @param {number | null} [pageSize] The number of deployments to return in the current page. Must be greater than or equal to 1
|
|
33003
|
+
* @param {*} [options] Override http request option.
|
|
33004
|
+
* @throws {RequiredError}
|
|
33005
|
+
* @memberof ClusterDeploymentHistoryApi
|
|
33006
|
+
*/
|
|
33007
|
+
listClusterDeploymentHistoryV2(organizationId: string, clusterId: string, pageSize?: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterDeploymentHistoryPaginatedResponseListV2, any, {}>>;
|
|
33008
|
+
/**
|
|
33009
|
+
* List the logs of a specific cluster deployment
|
|
33010
|
+
* @summary List logs for a specific cluster deployment
|
|
33011
|
+
* @param {string} organizationId Organization ID
|
|
33012
|
+
* @param {string} clusterId Cluster ID
|
|
33013
|
+
* @param {string} deploymentId Deployment ID
|
|
33014
|
+
* @param {*} [options] Override http request option.
|
|
33015
|
+
* @throws {RequiredError}
|
|
33016
|
+
* @memberof ClusterDeploymentHistoryApi
|
|
33017
|
+
*/
|
|
33018
|
+
listClusterDeploymentLogs(organizationId: string, clusterId: string, deploymentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterLogsResponseList, any, {}>>;
|
|
33019
|
+
}
|
|
32776
33020
|
/**
|
|
32777
33021
|
* ClusterOperatorApi - axios parameter creator
|
|
32778
33022
|
* @export
|
|
@@ -33251,11 +33495,12 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
33251
33495
|
*/
|
|
33252
33496
|
listClusterAnalysisLogs: (clusterId: string, analysisId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
33253
33497
|
/**
|
|
33254
|
-
* List Cluster Logs
|
|
33498
|
+
* List Cluster Logs. Deprecated: use listClusterDeploymentLogs instead to fetch the logs of a specific cluster deployment.
|
|
33255
33499
|
* @summary List Cluster Logs
|
|
33256
33500
|
* @param {string} organizationId Organization ID
|
|
33257
33501
|
* @param {string} clusterId Cluster ID
|
|
33258
33502
|
* @param {*} [options] Override http request option.
|
|
33503
|
+
* @deprecated
|
|
33259
33504
|
* @throws {RequiredError}
|
|
33260
33505
|
*/
|
|
33261
33506
|
listClusterLogs: (organizationId: string, clusterId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
@@ -33621,11 +33866,12 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
33621
33866
|
*/
|
|
33622
33867
|
listClusterAnalysisLogs(clusterId: string, analysisId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterAnalysisLogResponseList>>;
|
|
33623
33868
|
/**
|
|
33624
|
-
* List Cluster Logs
|
|
33869
|
+
* List Cluster Logs. Deprecated: use listClusterDeploymentLogs instead to fetch the logs of a specific cluster deployment.
|
|
33625
33870
|
* @summary List Cluster Logs
|
|
33626
33871
|
* @param {string} organizationId Organization ID
|
|
33627
33872
|
* @param {string} clusterId Cluster ID
|
|
33628
33873
|
* @param {*} [options] Override http request option.
|
|
33874
|
+
* @deprecated
|
|
33629
33875
|
* @throws {RequiredError}
|
|
33630
33876
|
*/
|
|
33631
33877
|
listClusterLogs(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterLogsResponseList>>;
|
|
@@ -33991,11 +34237,12 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
33991
34237
|
*/
|
|
33992
34238
|
listClusterAnalysisLogs(clusterId: string, analysisId: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterAnalysisLogResponseList>;
|
|
33993
34239
|
/**
|
|
33994
|
-
* List Cluster Logs
|
|
34240
|
+
* List Cluster Logs. Deprecated: use listClusterDeploymentLogs instead to fetch the logs of a specific cluster deployment.
|
|
33995
34241
|
* @summary List Cluster Logs
|
|
33996
34242
|
* @param {string} organizationId Organization ID
|
|
33997
34243
|
* @param {string} clusterId Cluster ID
|
|
33998
34244
|
* @param {*} [options] Override http request option.
|
|
34245
|
+
* @deprecated
|
|
33999
34246
|
* @throws {RequiredError}
|
|
34000
34247
|
*/
|
|
34001
34248
|
listClusterLogs(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterLogsResponseList>;
|
|
@@ -34389,11 +34636,12 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
34389
34636
|
*/
|
|
34390
34637
|
listClusterAnalysisLogs(clusterId: string, analysisId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterAnalysisLogResponseList, any, {}>>;
|
|
34391
34638
|
/**
|
|
34392
|
-
* List Cluster Logs
|
|
34639
|
+
* List Cluster Logs. Deprecated: use listClusterDeploymentLogs instead to fetch the logs of a specific cluster deployment.
|
|
34393
34640
|
* @summary List Cluster Logs
|
|
34394
34641
|
* @param {string} organizationId Organization ID
|
|
34395
34642
|
* @param {string} clusterId Cluster ID
|
|
34396
34643
|
* @param {*} [options] Override http request option.
|
|
34644
|
+
* @deprecated
|
|
34397
34645
|
* @throws {RequiredError}
|
|
34398
34646
|
* @memberof ClustersApi
|
|
34399
34647
|
*/
|
package/dist/esm/api.js
CHANGED
|
@@ -425,6 +425,10 @@ export const ClusterDeleteMode = {
|
|
|
425
425
|
DELETE_CLUSTER_AND_QOVERY_CONFIG: 'DELETE_CLUSTER_AND_QOVERY_CONFIG',
|
|
426
426
|
DELETE_QOVERY_CONFIG: 'DELETE_QOVERY_CONFIG'
|
|
427
427
|
};
|
|
428
|
+
export const ClusterDeploymentHistoryReasonEnum = {
|
|
429
|
+
UNSPECIFIED: 'UNSPECIFIED',
|
|
430
|
+
MAINTENANCE: 'MAINTENANCE'
|
|
431
|
+
};
|
|
428
432
|
/**
|
|
429
433
|
*
|
|
430
434
|
* @export
|
|
@@ -669,7 +673,8 @@ export const DeploymentHistoryActionStatus = {
|
|
|
669
673
|
ERROR: 'ERROR',
|
|
670
674
|
CANCELED: 'CANCELED',
|
|
671
675
|
CANCELING: 'CANCELING',
|
|
672
|
-
NEVER: 'NEVER'
|
|
676
|
+
NEVER: 'NEVER',
|
|
677
|
+
EXECUTING: 'EXECUTING'
|
|
673
678
|
};
|
|
674
679
|
export const DeploymentHistoryServiceDetailsOneOf2JobTypeEnum = {
|
|
675
680
|
CRON: 'CRON',
|
|
@@ -13690,6 +13695,210 @@ export class CloudProviderCredentialsApi extends BaseAPI {
|
|
|
13690
13695
|
return CloudProviderCredentialsApiFp(this.configuration).listScalewayCredentials(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
13691
13696
|
}
|
|
13692
13697
|
}
|
|
13698
|
+
/**
|
|
13699
|
+
* ClusterDeploymentHistoryApi - axios parameter creator
|
|
13700
|
+
* @export
|
|
13701
|
+
*/
|
|
13702
|
+
export const ClusterDeploymentHistoryApiAxiosParamCreator = function (configuration) {
|
|
13703
|
+
return {
|
|
13704
|
+
/**
|
|
13705
|
+
* List previous and current cluster deployments. It returns actual deployments only: dry-runs and stop/delete operations are excluded. By default it returns the 20 last results. Use the pageSize query parameter to adjust the number of returned results
|
|
13706
|
+
* @summary List cluster deployments
|
|
13707
|
+
* @param {string} organizationId Organization ID
|
|
13708
|
+
* @param {string} clusterId Cluster ID
|
|
13709
|
+
* @param {number | null} [pageSize] The number of deployments to return in the current page. Must be greater than or equal to 1
|
|
13710
|
+
* @param {*} [options] Override http request option.
|
|
13711
|
+
* @throws {RequiredError}
|
|
13712
|
+
*/
|
|
13713
|
+
listClusterDeploymentHistoryV2: (organizationId_1, clusterId_1, pageSize_1, ...args_1) => __awaiter(this, [organizationId_1, clusterId_1, pageSize_1, ...args_1], void 0, function* (organizationId, clusterId, pageSize, options = {}) {
|
|
13714
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
13715
|
+
assertParamExists('listClusterDeploymentHistoryV2', 'organizationId', organizationId);
|
|
13716
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
13717
|
+
assertParamExists('listClusterDeploymentHistoryV2', 'clusterId', clusterId);
|
|
13718
|
+
const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/deploymentHistoryV2`
|
|
13719
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
13720
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
13721
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13722
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13723
|
+
let baseOptions;
|
|
13724
|
+
if (configuration) {
|
|
13725
|
+
baseOptions = configuration.baseOptions;
|
|
13726
|
+
}
|
|
13727
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
13728
|
+
const localVarHeaderParameter = {};
|
|
13729
|
+
const localVarQueryParameter = {};
|
|
13730
|
+
// authentication ApiKeyAuth required
|
|
13731
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
13732
|
+
// authentication bearerAuth required
|
|
13733
|
+
// http bearer authentication required
|
|
13734
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
13735
|
+
if (pageSize !== undefined) {
|
|
13736
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
13737
|
+
}
|
|
13738
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13739
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13740
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13741
|
+
return {
|
|
13742
|
+
url: toPathString(localVarUrlObj),
|
|
13743
|
+
options: localVarRequestOptions,
|
|
13744
|
+
};
|
|
13745
|
+
}),
|
|
13746
|
+
/**
|
|
13747
|
+
* List the logs of a specific cluster deployment
|
|
13748
|
+
* @summary List logs for a specific cluster deployment
|
|
13749
|
+
* @param {string} organizationId Organization ID
|
|
13750
|
+
* @param {string} clusterId Cluster ID
|
|
13751
|
+
* @param {string} deploymentId Deployment ID
|
|
13752
|
+
* @param {*} [options] Override http request option.
|
|
13753
|
+
* @throws {RequiredError}
|
|
13754
|
+
*/
|
|
13755
|
+
listClusterDeploymentLogs: (organizationId_1, clusterId_1, deploymentId_1, ...args_1) => __awaiter(this, [organizationId_1, clusterId_1, deploymentId_1, ...args_1], void 0, function* (organizationId, clusterId, deploymentId, options = {}) {
|
|
13756
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
13757
|
+
assertParamExists('listClusterDeploymentLogs', 'organizationId', organizationId);
|
|
13758
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
13759
|
+
assertParamExists('listClusterDeploymentLogs', 'clusterId', clusterId);
|
|
13760
|
+
// verify required parameter 'deploymentId' is not null or undefined
|
|
13761
|
+
assertParamExists('listClusterDeploymentLogs', 'deploymentId', deploymentId);
|
|
13762
|
+
const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/deployment/{deploymentId}/logs`
|
|
13763
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
13764
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)))
|
|
13765
|
+
.replace(`{${"deploymentId"}}`, encodeURIComponent(String(deploymentId)));
|
|
13766
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13767
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13768
|
+
let baseOptions;
|
|
13769
|
+
if (configuration) {
|
|
13770
|
+
baseOptions = configuration.baseOptions;
|
|
13771
|
+
}
|
|
13772
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
13773
|
+
const localVarHeaderParameter = {};
|
|
13774
|
+
const localVarQueryParameter = {};
|
|
13775
|
+
// authentication ApiKeyAuth required
|
|
13776
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
13777
|
+
// authentication bearerAuth required
|
|
13778
|
+
// http bearer authentication required
|
|
13779
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
13780
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13781
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13782
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13783
|
+
return {
|
|
13784
|
+
url: toPathString(localVarUrlObj),
|
|
13785
|
+
options: localVarRequestOptions,
|
|
13786
|
+
};
|
|
13787
|
+
}),
|
|
13788
|
+
};
|
|
13789
|
+
};
|
|
13790
|
+
/**
|
|
13791
|
+
* ClusterDeploymentHistoryApi - functional programming interface
|
|
13792
|
+
* @export
|
|
13793
|
+
*/
|
|
13794
|
+
export const ClusterDeploymentHistoryApiFp = function (configuration) {
|
|
13795
|
+
const localVarAxiosParamCreator = ClusterDeploymentHistoryApiAxiosParamCreator(configuration);
|
|
13796
|
+
return {
|
|
13797
|
+
/**
|
|
13798
|
+
* List previous and current cluster deployments. It returns actual deployments only: dry-runs and stop/delete operations are excluded. By default it returns the 20 last results. Use the pageSize query parameter to adjust the number of returned results
|
|
13799
|
+
* @summary List cluster deployments
|
|
13800
|
+
* @param {string} organizationId Organization ID
|
|
13801
|
+
* @param {string} clusterId Cluster ID
|
|
13802
|
+
* @param {number | null} [pageSize] The number of deployments to return in the current page. Must be greater than or equal to 1
|
|
13803
|
+
* @param {*} [options] Override http request option.
|
|
13804
|
+
* @throws {RequiredError}
|
|
13805
|
+
*/
|
|
13806
|
+
listClusterDeploymentHistoryV2(organizationId, clusterId, pageSize, options) {
|
|
13807
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
13808
|
+
var _a, _b, _c;
|
|
13809
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listClusterDeploymentHistoryV2(organizationId, clusterId, pageSize, options);
|
|
13810
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13811
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClusterDeploymentHistoryApi.listClusterDeploymentHistoryV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13812
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13813
|
+
});
|
|
13814
|
+
},
|
|
13815
|
+
/**
|
|
13816
|
+
* List the logs of a specific cluster deployment
|
|
13817
|
+
* @summary List logs for a specific cluster deployment
|
|
13818
|
+
* @param {string} organizationId Organization ID
|
|
13819
|
+
* @param {string} clusterId Cluster ID
|
|
13820
|
+
* @param {string} deploymentId Deployment ID
|
|
13821
|
+
* @param {*} [options] Override http request option.
|
|
13822
|
+
* @throws {RequiredError}
|
|
13823
|
+
*/
|
|
13824
|
+
listClusterDeploymentLogs(organizationId, clusterId, deploymentId, options) {
|
|
13825
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
13826
|
+
var _a, _b, _c;
|
|
13827
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listClusterDeploymentLogs(organizationId, clusterId, deploymentId, options);
|
|
13828
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13829
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClusterDeploymentHistoryApi.listClusterDeploymentLogs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13830
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13831
|
+
});
|
|
13832
|
+
},
|
|
13833
|
+
};
|
|
13834
|
+
};
|
|
13835
|
+
/**
|
|
13836
|
+
* ClusterDeploymentHistoryApi - factory interface
|
|
13837
|
+
* @export
|
|
13838
|
+
*/
|
|
13839
|
+
export const ClusterDeploymentHistoryApiFactory = function (configuration, basePath, axios) {
|
|
13840
|
+
const localVarFp = ClusterDeploymentHistoryApiFp(configuration);
|
|
13841
|
+
return {
|
|
13842
|
+
/**
|
|
13843
|
+
* List previous and current cluster deployments. It returns actual deployments only: dry-runs and stop/delete operations are excluded. By default it returns the 20 last results. Use the pageSize query parameter to adjust the number of returned results
|
|
13844
|
+
* @summary List cluster deployments
|
|
13845
|
+
* @param {string} organizationId Organization ID
|
|
13846
|
+
* @param {string} clusterId Cluster ID
|
|
13847
|
+
* @param {number | null} [pageSize] The number of deployments to return in the current page. Must be greater than or equal to 1
|
|
13848
|
+
* @param {*} [options] Override http request option.
|
|
13849
|
+
* @throws {RequiredError}
|
|
13850
|
+
*/
|
|
13851
|
+
listClusterDeploymentHistoryV2(organizationId, clusterId, pageSize, options) {
|
|
13852
|
+
return localVarFp.listClusterDeploymentHistoryV2(organizationId, clusterId, pageSize, options).then((request) => request(axios, basePath));
|
|
13853
|
+
},
|
|
13854
|
+
/**
|
|
13855
|
+
* List the logs of a specific cluster deployment
|
|
13856
|
+
* @summary List logs for a specific cluster deployment
|
|
13857
|
+
* @param {string} organizationId Organization ID
|
|
13858
|
+
* @param {string} clusterId Cluster ID
|
|
13859
|
+
* @param {string} deploymentId Deployment ID
|
|
13860
|
+
* @param {*} [options] Override http request option.
|
|
13861
|
+
* @throws {RequiredError}
|
|
13862
|
+
*/
|
|
13863
|
+
listClusterDeploymentLogs(organizationId, clusterId, deploymentId, options) {
|
|
13864
|
+
return localVarFp.listClusterDeploymentLogs(organizationId, clusterId, deploymentId, options).then((request) => request(axios, basePath));
|
|
13865
|
+
},
|
|
13866
|
+
};
|
|
13867
|
+
};
|
|
13868
|
+
/**
|
|
13869
|
+
* ClusterDeploymentHistoryApi - object-oriented interface
|
|
13870
|
+
* @export
|
|
13871
|
+
* @class ClusterDeploymentHistoryApi
|
|
13872
|
+
* @extends {BaseAPI}
|
|
13873
|
+
*/
|
|
13874
|
+
export class ClusterDeploymentHistoryApi extends BaseAPI {
|
|
13875
|
+
/**
|
|
13876
|
+
* List previous and current cluster deployments. It returns actual deployments only: dry-runs and stop/delete operations are excluded. By default it returns the 20 last results. Use the pageSize query parameter to adjust the number of returned results
|
|
13877
|
+
* @summary List cluster deployments
|
|
13878
|
+
* @param {string} organizationId Organization ID
|
|
13879
|
+
* @param {string} clusterId Cluster ID
|
|
13880
|
+
* @param {number | null} [pageSize] The number of deployments to return in the current page. Must be greater than or equal to 1
|
|
13881
|
+
* @param {*} [options] Override http request option.
|
|
13882
|
+
* @throws {RequiredError}
|
|
13883
|
+
* @memberof ClusterDeploymentHistoryApi
|
|
13884
|
+
*/
|
|
13885
|
+
listClusterDeploymentHistoryV2(organizationId, clusterId, pageSize, options) {
|
|
13886
|
+
return ClusterDeploymentHistoryApiFp(this.configuration).listClusterDeploymentHistoryV2(organizationId, clusterId, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
13887
|
+
}
|
|
13888
|
+
/**
|
|
13889
|
+
* List the logs of a specific cluster deployment
|
|
13890
|
+
* @summary List logs for a specific cluster deployment
|
|
13891
|
+
* @param {string} organizationId Organization ID
|
|
13892
|
+
* @param {string} clusterId Cluster ID
|
|
13893
|
+
* @param {string} deploymentId Deployment ID
|
|
13894
|
+
* @param {*} [options] Override http request option.
|
|
13895
|
+
* @throws {RequiredError}
|
|
13896
|
+
* @memberof ClusterDeploymentHistoryApi
|
|
13897
|
+
*/
|
|
13898
|
+
listClusterDeploymentLogs(organizationId, clusterId, deploymentId, options) {
|
|
13899
|
+
return ClusterDeploymentHistoryApiFp(this.configuration).listClusterDeploymentLogs(organizationId, clusterId, deploymentId, options).then((request) => request(this.axios, this.basePath));
|
|
13900
|
+
}
|
|
13901
|
+
}
|
|
13693
13902
|
/**
|
|
13694
13903
|
* ClusterOperatorApi - axios parameter creator
|
|
13695
13904
|
* @export
|
|
@@ -15235,11 +15444,12 @@ export const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
15235
15444
|
};
|
|
15236
15445
|
}),
|
|
15237
15446
|
/**
|
|
15238
|
-
* List Cluster Logs
|
|
15447
|
+
* List Cluster Logs. Deprecated: use listClusterDeploymentLogs instead to fetch the logs of a specific cluster deployment.
|
|
15239
15448
|
* @summary List Cluster Logs
|
|
15240
15449
|
* @param {string} organizationId Organization ID
|
|
15241
15450
|
* @param {string} clusterId Cluster ID
|
|
15242
15451
|
* @param {*} [options] Override http request option.
|
|
15452
|
+
* @deprecated
|
|
15243
15453
|
* @throws {RequiredError}
|
|
15244
15454
|
*/
|
|
15245
15455
|
listClusterLogs: (organizationId_1, clusterId_1, ...args_1) => __awaiter(this, [organizationId_1, clusterId_1, ...args_1], void 0, function* (organizationId, clusterId, options = {}) {
|
|
@@ -16134,11 +16344,12 @@ export const ClustersApiFp = function (configuration) {
|
|
|
16134
16344
|
});
|
|
16135
16345
|
},
|
|
16136
16346
|
/**
|
|
16137
|
-
* List Cluster Logs
|
|
16347
|
+
* List Cluster Logs. Deprecated: use listClusterDeploymentLogs instead to fetch the logs of a specific cluster deployment.
|
|
16138
16348
|
* @summary List Cluster Logs
|
|
16139
16349
|
* @param {string} organizationId Organization ID
|
|
16140
16350
|
* @param {string} clusterId Cluster ID
|
|
16141
16351
|
* @param {*} [options] Override http request option.
|
|
16352
|
+
* @deprecated
|
|
16142
16353
|
* @throws {RequiredError}
|
|
16143
16354
|
*/
|
|
16144
16355
|
listClusterLogs(organizationId, clusterId, options) {
|
|
@@ -16647,11 +16858,12 @@ export const ClustersApiFactory = function (configuration, basePath, axios) {
|
|
|
16647
16858
|
return localVarFp.listClusterAnalysisLogs(clusterId, analysisId, options).then((request) => request(axios, basePath));
|
|
16648
16859
|
},
|
|
16649
16860
|
/**
|
|
16650
|
-
* List Cluster Logs
|
|
16861
|
+
* List Cluster Logs. Deprecated: use listClusterDeploymentLogs instead to fetch the logs of a specific cluster deployment.
|
|
16651
16862
|
* @summary List Cluster Logs
|
|
16652
16863
|
* @param {string} organizationId Organization ID
|
|
16653
16864
|
* @param {string} clusterId Cluster ID
|
|
16654
16865
|
* @param {*} [options] Override http request option.
|
|
16866
|
+
* @deprecated
|
|
16655
16867
|
* @throws {RequiredError}
|
|
16656
16868
|
*/
|
|
16657
16869
|
listClusterLogs(organizationId, clusterId, options) {
|
|
@@ -17120,11 +17332,12 @@ export class ClustersApi extends BaseAPI {
|
|
|
17120
17332
|
return ClustersApiFp(this.configuration).listClusterAnalysisLogs(clusterId, analysisId, options).then((request) => request(this.axios, this.basePath));
|
|
17121
17333
|
}
|
|
17122
17334
|
/**
|
|
17123
|
-
* List Cluster Logs
|
|
17335
|
+
* List Cluster Logs. Deprecated: use listClusterDeploymentLogs instead to fetch the logs of a specific cluster deployment.
|
|
17124
17336
|
* @summary List Cluster Logs
|
|
17125
17337
|
* @param {string} organizationId Organization ID
|
|
17126
17338
|
* @param {string} clusterId Cluster ID
|
|
17127
17339
|
* @param {*} [options] Override http request option.
|
|
17340
|
+
* @deprecated
|
|
17128
17341
|
* @throws {RequiredError}
|
|
17129
17342
|
* @memberof ClustersApi
|
|
17130
17343
|
*/
|