qovery-typescript-axios 1.1.914 → 1.1.916

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 CHANGED
@@ -1024,6 +1024,12 @@ export interface Application {
1024
1024
  * @memberof Application
1025
1025
  */
1026
1026
  'gpu'?: number;
1027
+ /**
1028
+ * Ephemeral storage of the service in GiB. When omitted, the platform default is used.
1029
+ * @type {number}
1030
+ * @memberof Application
1031
+ */
1032
+ 'ephemeral_storage_in_gib'?: number;
1027
1033
  /**
1028
1034
  * Minimum number of instances running. This resource auto-scale based on the CPU and Memory consumption. Note: 0 means that there is no application running.
1029
1035
  * @type {number}
@@ -1566,6 +1572,12 @@ export interface ApplicationEditRequest {
1566
1572
  * @memberof ApplicationEditRequest
1567
1573
  */
1568
1574
  'gpu'?: number;
1575
+ /**
1576
+ * Ephemeral storage of the service in GiB. When omitted, the platform default is used.
1577
+ * @type {number}
1578
+ * @memberof ApplicationEditRequest
1579
+ */
1580
+ 'ephemeral_storage_in_gib'?: number;
1569
1581
  /**
1570
1582
  * Minimum number of instances running. This resource auto-scale based on the CPU and Memory consumption. Note: 0 means that there is no application running.
1571
1583
  * @type {number}
@@ -1865,6 +1877,12 @@ export interface ApplicationRequest {
1865
1877
  * @memberof ApplicationRequest
1866
1878
  */
1867
1879
  'gpu'?: number;
1880
+ /**
1881
+ * Ephemeral storage of the service in GiB. When omitted, the platform default is used.
1882
+ * @type {number}
1883
+ * @memberof ApplicationRequest
1884
+ */
1885
+ 'ephemeral_storage_in_gib'?: number;
1868
1886
  /**
1869
1887
  * Minimum number of instances running. This resource auto-scale based on the CPU and Memory consumption. Note: 0 means that there is no application running.
1870
1888
  * @type {number}
@@ -3194,6 +3212,12 @@ export interface BaseJobResponse {
3194
3212
  * @memberof BaseJobResponse
3195
3213
  */
3196
3214
  'gpu': number;
3215
+ /**
3216
+ * Ephemeral storage of the service in GiB. When omitted, the platform default is used.
3217
+ * @type {number}
3218
+ * @memberof BaseJobResponse
3219
+ */
3220
+ 'ephemeral_storage_in_gib'?: number;
3197
3221
  /**
3198
3222
  * Maximum number of restart allowed before the job is considered as failed 0 means that no restart/crash of the job is allowed
3199
3223
  * @type {number}
@@ -5425,6 +5449,217 @@ export const ClusterAdvancedSettingsAwsEksEc2MetadataImdsEnum = {
5425
5449
 
5426
5450
  export type ClusterAdvancedSettingsAwsEksEc2MetadataImdsEnum = typeof ClusterAdvancedSettingsAwsEksEc2MetadataImdsEnum[keyof typeof ClusterAdvancedSettingsAwsEksEc2MetadataImdsEnum];
5427
5451
 
5452
+ /**
5453
+ *
5454
+ * @export
5455
+ * @enum {string}
5456
+ */
5457
+
5458
+ export const ClusterAnalysisKind = {
5459
+ COST_RECOMMENDATION: 'COST_RECOMMENDATION',
5460
+ DEPRECATED_API_CHECK: 'DEPRECATED_API_CHECK'
5461
+ } as const;
5462
+
5463
+ export type ClusterAnalysisKind = typeof ClusterAnalysisKind[keyof typeof ClusterAnalysisKind];
5464
+
5465
+
5466
+ /**
5467
+ *
5468
+ * @export
5469
+ * @interface ClusterAnalysisLogResponse
5470
+ */
5471
+ export interface ClusterAnalysisLogResponse {
5472
+ /**
5473
+ *
5474
+ * @type {string}
5475
+ * @memberof ClusterAnalysisLogResponse
5476
+ */
5477
+ 'timestamp': string;
5478
+ /**
5479
+ *
5480
+ * @type {string}
5481
+ * @memberof ClusterAnalysisLogResponse
5482
+ */
5483
+ 'level': string;
5484
+ /**
5485
+ *
5486
+ * @type {string}
5487
+ * @memberof ClusterAnalysisLogResponse
5488
+ */
5489
+ 'message': string;
5490
+ /**
5491
+ *
5492
+ * @type {number}
5493
+ * @memberof ClusterAnalysisLogResponse
5494
+ */
5495
+ 'line_order': number;
5496
+ }
5497
+ /**
5498
+ *
5499
+ * @export
5500
+ * @interface ClusterAnalysisLogResponseList
5501
+ */
5502
+ export interface ClusterAnalysisLogResponseList {
5503
+ /**
5504
+ *
5505
+ * @type {Array<ClusterAnalysisLogResponse>}
5506
+ * @memberof ClusterAnalysisLogResponseList
5507
+ */
5508
+ 'results'?: Array<ClusterAnalysisLogResponse>;
5509
+ }
5510
+ /**
5511
+ *
5512
+ * @export
5513
+ * @enum {string}
5514
+ */
5515
+
5516
+ export const ClusterAnalysisOutputFormat = {
5517
+ TABLE: 'TABLE',
5518
+ JSON: 'JSON',
5519
+ CSV: 'CSV'
5520
+ } as const;
5521
+
5522
+ export type ClusterAnalysisOutputFormat = typeof ClusterAnalysisOutputFormat[keyof typeof ClusterAnalysisOutputFormat];
5523
+
5524
+
5525
+ /**
5526
+ *
5527
+ * @export
5528
+ * @interface ClusterAnalysisRequest
5529
+ */
5530
+ export interface ClusterAnalysisRequest {
5531
+ /**
5532
+ *
5533
+ * @type {ClusterAnalysisKind}
5534
+ * @memberof ClusterAnalysisRequest
5535
+ */
5536
+ 'kind': ClusterAnalysisKind;
5537
+ /**
5538
+ *
5539
+ * @type {ClusterAnalysisOutputFormat}
5540
+ * @memberof ClusterAnalysisRequest
5541
+ */
5542
+ 'output_format': ClusterAnalysisOutputFormat;
5543
+ /**
5544
+ * Optional Prometheus URL for COST_RECOMMENDATION analysis. When omitted, the engine resolves the default Qovery OBS endpoint.
5545
+ * @type {string}
5546
+ * @memberof ClusterAnalysisRequest
5547
+ */
5548
+ 'prometheus_url'?: string | null;
5549
+ /**
5550
+ * Optional history duration in hours for COST_RECOMMENDATION analysis.
5551
+ * @type {number}
5552
+ * @memberof ClusterAnalysisRequest
5553
+ */
5554
+ 'history_duration_hours'?: number | null;
5555
+ /**
5556
+ * Optional target Kubernetes version for DEPRECATED_API_CHECK analysis.
5557
+ * @type {string}
5558
+ * @memberof ClusterAnalysisRequest
5559
+ */
5560
+ 'target_kubernetes_version'?: string | null;
5561
+ }
5562
+
5563
+
5564
+ /**
5565
+ *
5566
+ * @export
5567
+ * @interface ClusterAnalysisResponse
5568
+ */
5569
+ export interface ClusterAnalysisResponse {
5570
+ /**
5571
+ *
5572
+ * @type {string}
5573
+ * @memberof ClusterAnalysisResponse
5574
+ */
5575
+ 'id': string;
5576
+ /**
5577
+ *
5578
+ * @type {string}
5579
+ * @memberof ClusterAnalysisResponse
5580
+ */
5581
+ 'cluster_id': string;
5582
+ /**
5583
+ *
5584
+ * @type {string}
5585
+ * @memberof ClusterAnalysisResponse
5586
+ */
5587
+ 'organization_id': string;
5588
+ /**
5589
+ *
5590
+ * @type {ClusterAnalysisKind}
5591
+ * @memberof ClusterAnalysisResponse
5592
+ */
5593
+ 'kind': ClusterAnalysisKind;
5594
+ /**
5595
+ *
5596
+ * @type {ClusterAnalysisStatus}
5597
+ * @memberof ClusterAnalysisResponse
5598
+ */
5599
+ 'status': ClusterAnalysisStatus;
5600
+ /**
5601
+ *
5602
+ * @type {ClusterAnalysisOutputFormat}
5603
+ * @memberof ClusterAnalysisResponse
5604
+ */
5605
+ 'output_format': ClusterAnalysisOutputFormat;
5606
+ /**
5607
+ *
5608
+ * @type {string}
5609
+ * @memberof ClusterAnalysisResponse
5610
+ */
5611
+ 'created_at': string;
5612
+ /**
5613
+ *
5614
+ * @type {string}
5615
+ * @memberof ClusterAnalysisResponse
5616
+ */
5617
+ 'updated_at': string;
5618
+ /**
5619
+ *
5620
+ * @type {string}
5621
+ * @memberof ClusterAnalysisResponse
5622
+ */
5623
+ 'triggered_by': string;
5624
+ /**
5625
+ *
5626
+ * @type {string}
5627
+ * @memberof ClusterAnalysisResponse
5628
+ */
5629
+ 'error_message'?: string | null;
5630
+ }
5631
+
5632
+
5633
+ /**
5634
+ *
5635
+ * @export
5636
+ * @interface ClusterAnalysisResponseList
5637
+ */
5638
+ export interface ClusterAnalysisResponseList {
5639
+ /**
5640
+ *
5641
+ * @type {Array<ClusterAnalysisResponse>}
5642
+ * @memberof ClusterAnalysisResponseList
5643
+ */
5644
+ 'results'?: Array<ClusterAnalysisResponse>;
5645
+ }
5646
+ /**
5647
+ *
5648
+ * @export
5649
+ * @enum {string}
5650
+ */
5651
+
5652
+ export const ClusterAnalysisStatus = {
5653
+ PENDING: 'PENDING',
5654
+ RUNNING: 'RUNNING',
5655
+ SUCCEEDED: 'SUCCEEDED',
5656
+ FAILED: 'FAILED',
5657
+ TERMINATED: 'TERMINATED'
5658
+ } as const;
5659
+
5660
+ export type ClusterAnalysisStatus = typeof ClusterAnalysisStatus[keyof typeof ClusterAnalysisStatus];
5661
+
5662
+
5428
5663
  /**
5429
5664
  *
5430
5665
  * @export
@@ -8365,6 +8600,12 @@ export interface ContainerRequest {
8365
8600
  * @memberof ContainerRequest
8366
8601
  */
8367
8602
  'gpu'?: number;
8603
+ /**
8604
+ * Ephemeral storage of the service in GiB. When omitted, the platform default is used.
8605
+ * @type {number}
8606
+ * @memberof ContainerRequest
8607
+ */
8608
+ 'ephemeral_storage_in_gib'?: number;
8368
8609
  /**
8369
8610
  * Minimum number of instances running. This resource auto-scale based on the CPU and Memory consumption. Note: 0 means that there is no container running.
8370
8611
  * @type {number}
@@ -8540,6 +8781,12 @@ export interface ContainerResponse {
8540
8781
  * @memberof ContainerResponse
8541
8782
  */
8542
8783
  'gpu': number;
8784
+ /**
8785
+ * Ephemeral storage of the service in GiB. When omitted, the platform default is used.
8786
+ * @type {number}
8787
+ * @memberof ContainerResponse
8788
+ */
8789
+ 'ephemeral_storage_in_gib'?: number;
8543
8790
  /**
8544
8791
  * Minimum number of instances running. This resource auto-scale based on the CPU and Memory consumption. Note: 0 means that there is no container running.
8545
8792
  * @type {number}
@@ -9057,6 +9304,12 @@ export interface CronJobResponse {
9057
9304
  * @memberof CronJobResponse
9058
9305
  */
9059
9306
  'gpu': number;
9307
+ /**
9308
+ * Ephemeral storage of the service in GiB. When omitted, the platform default is used.
9309
+ * @type {number}
9310
+ * @memberof CronJobResponse
9311
+ */
9312
+ 'ephemeral_storage_in_gib'?: number;
9060
9313
  /**
9061
9314
  * Maximum number of restart allowed before the job is considered as failed 0 means that no restart/crash of the job is allowed
9062
9315
  * @type {number}
@@ -16296,6 +16549,12 @@ export interface JobRequest {
16296
16549
  * @memberof JobRequest
16297
16550
  */
16298
16551
  'gpu'?: number;
16552
+ /**
16553
+ * Ephemeral storage of the service in GiB. When omitted, the platform default is used.
16554
+ * @type {number}
16555
+ * @memberof JobRequest
16556
+ */
16557
+ 'ephemeral_storage_in_gib'?: number;
16299
16558
  /**
16300
16559
  * Maximum number of restart allowed before the job is considered as failed 0 means that no restart/crash of the job is allowed
16301
16560
  * @type {number}
@@ -17470,6 +17729,12 @@ export interface LifecycleJobResponse {
17470
17729
  * @memberof LifecycleJobResponse
17471
17730
  */
17472
17731
  'gpu': number;
17732
+ /**
17733
+ * Ephemeral storage of the service in GiB. When omitted, the platform default is used.
17734
+ * @type {number}
17735
+ * @memberof LifecycleJobResponse
17736
+ */
17737
+ 'ephemeral_storage_in_gib'?: number;
17473
17738
  /**
17474
17739
  * Maximum number of restart allowed before the job is considered as failed 0 means that no restart/crash of the job is allowed
17475
17740
  * @type {number}
@@ -37645,6 +37910,51 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
37645
37910
 
37646
37911
 
37647
37912
 
37913
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
37914
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
37915
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
37916
+
37917
+ return {
37918
+ url: toPathString(localVarUrlObj),
37919
+ options: localVarRequestOptions,
37920
+ };
37921
+ },
37922
+ /**
37923
+ * Returns metadata and status for one cluster analysis execution.
37924
+ * @summary Get cluster analysis
37925
+ * @param {string} clusterId Cluster ID
37926
+ * @param {string} analysisId Cluster analysis ID
37927
+ * @param {*} [options] Override http request option.
37928
+ * @throws {RequiredError}
37929
+ */
37930
+ getClusterAnalysis: async (clusterId: string, analysisId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
37931
+ // verify required parameter 'clusterId' is not null or undefined
37932
+ assertParamExists('getClusterAnalysis', 'clusterId', clusterId)
37933
+ // verify required parameter 'analysisId' is not null or undefined
37934
+ assertParamExists('getClusterAnalysis', 'analysisId', analysisId)
37935
+ const localVarPath = `/clusters/{clusterId}/analysis/{analysisId}`
37936
+ .replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)))
37937
+ .replace(`{${"analysisId"}}`, encodeURIComponent(String(analysisId)));
37938
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
37939
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
37940
+ let baseOptions;
37941
+ if (configuration) {
37942
+ baseOptions = configuration.baseOptions;
37943
+ }
37944
+
37945
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
37946
+ const localVarHeaderParameter = {} as any;
37947
+ const localVarQueryParameter = {} as any;
37948
+
37949
+ // authentication ApiKeyAuth required
37950
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
37951
+
37952
+ // authentication bearerAuth required
37953
+ // http bearer authentication required
37954
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
37955
+
37956
+
37957
+
37648
37958
  setSearchParams(localVarUrlObj, localVarQueryParameter);
37649
37959
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
37650
37960
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -38420,6 +38730,92 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
38420
38730
 
38421
38731
 
38422
38732
 
38733
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
38734
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
38735
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
38736
+
38737
+ return {
38738
+ url: toPathString(localVarUrlObj),
38739
+ options: localVarRequestOptions,
38740
+ };
38741
+ },
38742
+ /**
38743
+ * Lists previous analysis executions for the cluster.
38744
+ * @summary List cluster analyses
38745
+ * @param {string} clusterId Cluster ID
38746
+ * @param {*} [options] Override http request option.
38747
+ * @throws {RequiredError}
38748
+ */
38749
+ listClusterAnalyses: async (clusterId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
38750
+ // verify required parameter 'clusterId' is not null or undefined
38751
+ assertParamExists('listClusterAnalyses', 'clusterId', clusterId)
38752
+ const localVarPath = `/clusters/{clusterId}/analysis`
38753
+ .replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
38754
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
38755
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
38756
+ let baseOptions;
38757
+ if (configuration) {
38758
+ baseOptions = configuration.baseOptions;
38759
+ }
38760
+
38761
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
38762
+ const localVarHeaderParameter = {} as any;
38763
+ const localVarQueryParameter = {} as any;
38764
+
38765
+ // authentication ApiKeyAuth required
38766
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
38767
+
38768
+ // authentication bearerAuth required
38769
+ // http bearer authentication required
38770
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
38771
+
38772
+
38773
+
38774
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
38775
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
38776
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
38777
+
38778
+ return {
38779
+ url: toPathString(localVarUrlObj),
38780
+ options: localVarRequestOptions,
38781
+ };
38782
+ },
38783
+ /**
38784
+ * Returns the persisted cluster analysis report/log lines in order.
38785
+ * @summary List cluster analysis logs
38786
+ * @param {string} clusterId Cluster ID
38787
+ * @param {string} analysisId Cluster analysis ID
38788
+ * @param {*} [options] Override http request option.
38789
+ * @throws {RequiredError}
38790
+ */
38791
+ listClusterAnalysisLogs: async (clusterId: string, analysisId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
38792
+ // verify required parameter 'clusterId' is not null or undefined
38793
+ assertParamExists('listClusterAnalysisLogs', 'clusterId', clusterId)
38794
+ // verify required parameter 'analysisId' is not null or undefined
38795
+ assertParamExists('listClusterAnalysisLogs', 'analysisId', analysisId)
38796
+ const localVarPath = `/clusters/{clusterId}/analysis/{analysisId}/logs`
38797
+ .replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)))
38798
+ .replace(`{${"analysisId"}}`, encodeURIComponent(String(analysisId)));
38799
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
38800
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
38801
+ let baseOptions;
38802
+ if (configuration) {
38803
+ baseOptions = configuration.baseOptions;
38804
+ }
38805
+
38806
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
38807
+ const localVarHeaderParameter = {} as any;
38808
+ const localVarQueryParameter = {} as any;
38809
+
38810
+ // authentication ApiKeyAuth required
38811
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
38812
+
38813
+ // authentication bearerAuth required
38814
+ // http bearer authentication required
38815
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
38816
+
38817
+
38818
+
38423
38819
  setSearchParams(localVarUrlObj, localVarQueryParameter);
38424
38820
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
38425
38821
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -38654,6 +39050,53 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
38654
39050
  options: localVarRequestOptions,
38655
39051
  };
38656
39052
  },
39053
+ /**
39054
+ * Starts a read-only analysis for the cluster. The result and logs can be retrieved later from the cluster analysis endpoints.
39055
+ * @summary Start cluster analysis
39056
+ * @param {string} clusterId Cluster ID
39057
+ * @param {ClusterAnalysisRequest} clusterAnalysisRequest
39058
+ * @param {*} [options] Override http request option.
39059
+ * @throws {RequiredError}
39060
+ */
39061
+ startClusterAnalysis: async (clusterId: string, clusterAnalysisRequest: ClusterAnalysisRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
39062
+ // verify required parameter 'clusterId' is not null or undefined
39063
+ assertParamExists('startClusterAnalysis', 'clusterId', clusterId)
39064
+ // verify required parameter 'clusterAnalysisRequest' is not null or undefined
39065
+ assertParamExists('startClusterAnalysis', 'clusterAnalysisRequest', clusterAnalysisRequest)
39066
+ const localVarPath = `/clusters/{clusterId}/analysis`
39067
+ .replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
39068
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
39069
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
39070
+ let baseOptions;
39071
+ if (configuration) {
39072
+ baseOptions = configuration.baseOptions;
39073
+ }
39074
+
39075
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
39076
+ const localVarHeaderParameter = {} as any;
39077
+ const localVarQueryParameter = {} as any;
39078
+
39079
+ // authentication ApiKeyAuth required
39080
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
39081
+
39082
+ // authentication bearerAuth required
39083
+ // http bearer authentication required
39084
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
39085
+
39086
+
39087
+
39088
+ localVarHeaderParameter['Content-Type'] = 'application/json';
39089
+
39090
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
39091
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
39092
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
39093
+ localVarRequestOptions.data = serializeDataIfNeeded(clusterAnalysisRequest, localVarRequestOptions, configuration)
39094
+
39095
+ return {
39096
+ url: toPathString(localVarUrlObj),
39097
+ options: localVarRequestOptions,
39098
+ };
39099
+ },
38657
39100
  /**
38658
39101
  * Cluster stop has been requester.
38659
39102
  * @summary Stop cluster
@@ -39023,6 +39466,20 @@ export const ClustersApiFp = function(configuration?: Configuration) {
39023
39466
  const localVarOperationServerBasePath = operationServerMap['ClustersApi.getClusterAdvancedSettings']?.[localVarOperationServerIndex]?.url;
39024
39467
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
39025
39468
  },
39469
+ /**
39470
+ * Returns metadata and status for one cluster analysis execution.
39471
+ * @summary Get cluster analysis
39472
+ * @param {string} clusterId Cluster ID
39473
+ * @param {string} analysisId Cluster analysis ID
39474
+ * @param {*} [options] Override http request option.
39475
+ * @throws {RequiredError}
39476
+ */
39477
+ async getClusterAnalysis(clusterId: string, analysisId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterAnalysisResponse>> {
39478
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterAnalysis(clusterId, analysisId, options);
39479
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
39480
+ const localVarOperationServerBasePath = operationServerMap['ClustersApi.getClusterAnalysis']?.[localVarOperationServerIndex]?.url;
39481
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
39482
+ },
39026
39483
  /**
39027
39484
  * Retrieve the DNS provider currently associated with a cluster. Requires VIEWER role.
39028
39485
  * @summary Get cluster DNS provider
@@ -39244,6 +39701,33 @@ export const ClustersApiFp = function(configuration?: Configuration) {
39244
39701
  const localVarOperationServerBasePath = operationServerMap['ClustersApi.getRoutingTable']?.[localVarOperationServerIndex]?.url;
39245
39702
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
39246
39703
  },
39704
+ /**
39705
+ * Lists previous analysis executions for the cluster.
39706
+ * @summary List cluster analyses
39707
+ * @param {string} clusterId Cluster ID
39708
+ * @param {*} [options] Override http request option.
39709
+ * @throws {RequiredError}
39710
+ */
39711
+ async listClusterAnalyses(clusterId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterAnalysisResponseList>> {
39712
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listClusterAnalyses(clusterId, options);
39713
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
39714
+ const localVarOperationServerBasePath = operationServerMap['ClustersApi.listClusterAnalyses']?.[localVarOperationServerIndex]?.url;
39715
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
39716
+ },
39717
+ /**
39718
+ * Returns the persisted cluster analysis report/log lines in order.
39719
+ * @summary List cluster analysis logs
39720
+ * @param {string} clusterId Cluster ID
39721
+ * @param {string} analysisId Cluster analysis ID
39722
+ * @param {*} [options] Override http request option.
39723
+ * @throws {RequiredError}
39724
+ */
39725
+ async listClusterAnalysisLogs(clusterId: string, analysisId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterAnalysisLogResponseList>> {
39726
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listClusterAnalysisLogs(clusterId, analysisId, options);
39727
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
39728
+ const localVarOperationServerBasePath = operationServerMap['ClustersApi.listClusterAnalysisLogs']?.[localVarOperationServerIndex]?.url;
39729
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
39730
+ },
39247
39731
  /**
39248
39732
  * List Cluster Logs
39249
39733
  * @summary List Cluster Logs
@@ -39314,6 +39798,20 @@ export const ClustersApiFp = function(configuration?: Configuration) {
39314
39798
  const localVarOperationServerBasePath = operationServerMap['ClustersApi.specifyClusterCloudProviderInfo']?.[localVarOperationServerIndex]?.url;
39315
39799
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
39316
39800
  },
39801
+ /**
39802
+ * Starts a read-only analysis for the cluster. The result and logs can be retrieved later from the cluster analysis endpoints.
39803
+ * @summary Start cluster analysis
39804
+ * @param {string} clusterId Cluster ID
39805
+ * @param {ClusterAnalysisRequest} clusterAnalysisRequest
39806
+ * @param {*} [options] Override http request option.
39807
+ * @throws {RequiredError}
39808
+ */
39809
+ async startClusterAnalysis(clusterId: string, clusterAnalysisRequest: ClusterAnalysisRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterAnalysisResponse>> {
39810
+ const localVarAxiosArgs = await localVarAxiosParamCreator.startClusterAnalysis(clusterId, clusterAnalysisRequest, options);
39811
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
39812
+ const localVarOperationServerBasePath = operationServerMap['ClustersApi.startClusterAnalysis']?.[localVarOperationServerIndex]?.url;
39813
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
39814
+ },
39317
39815
  /**
39318
39816
  * Cluster stop has been requester.
39319
39817
  * @summary Stop cluster
@@ -39499,6 +39997,17 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
39499
39997
  getClusterAdvancedSettings(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterAdvancedSettings> {
39500
39998
  return localVarFp.getClusterAdvancedSettings(organizationId, clusterId, options).then((request) => request(axios, basePath));
39501
39999
  },
40000
+ /**
40001
+ * Returns metadata and status for one cluster analysis execution.
40002
+ * @summary Get cluster analysis
40003
+ * @param {string} clusterId Cluster ID
40004
+ * @param {string} analysisId Cluster analysis ID
40005
+ * @param {*} [options] Override http request option.
40006
+ * @throws {RequiredError}
40007
+ */
40008
+ getClusterAnalysis(clusterId: string, analysisId: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterAnalysisResponse> {
40009
+ return localVarFp.getClusterAnalysis(clusterId, analysisId, options).then((request) => request(axios, basePath));
40010
+ },
39502
40011
  /**
39503
40012
  * Retrieve the DNS provider currently associated with a cluster. Requires VIEWER role.
39504
40013
  * @summary Get cluster DNS provider
@@ -39678,6 +40187,27 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
39678
40187
  getRoutingTable(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterRoutingTable> {
39679
40188
  return localVarFp.getRoutingTable(organizationId, clusterId, options).then((request) => request(axios, basePath));
39680
40189
  },
40190
+ /**
40191
+ * Lists previous analysis executions for the cluster.
40192
+ * @summary List cluster analyses
40193
+ * @param {string} clusterId Cluster ID
40194
+ * @param {*} [options] Override http request option.
40195
+ * @throws {RequiredError}
40196
+ */
40197
+ listClusterAnalyses(clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterAnalysisResponseList> {
40198
+ return localVarFp.listClusterAnalyses(clusterId, options).then((request) => request(axios, basePath));
40199
+ },
40200
+ /**
40201
+ * Returns the persisted cluster analysis report/log lines in order.
40202
+ * @summary List cluster analysis logs
40203
+ * @param {string} clusterId Cluster ID
40204
+ * @param {string} analysisId Cluster analysis ID
40205
+ * @param {*} [options] Override http request option.
40206
+ * @throws {RequiredError}
40207
+ */
40208
+ listClusterAnalysisLogs(clusterId: string, analysisId: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterAnalysisLogResponseList> {
40209
+ return localVarFp.listClusterAnalysisLogs(clusterId, analysisId, options).then((request) => request(axios, basePath));
40210
+ },
39681
40211
  /**
39682
40212
  * List Cluster Logs
39683
40213
  * @summary List Cluster Logs
@@ -39733,6 +40263,17 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
39733
40263
  specifyClusterCloudProviderInfo(organizationId: string, clusterId: string, clusterCloudProviderInfoRequest?: ClusterCloudProviderInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterCloudProviderInfo> {
39734
40264
  return localVarFp.specifyClusterCloudProviderInfo(organizationId, clusterId, clusterCloudProviderInfoRequest, options).then((request) => request(axios, basePath));
39735
40265
  },
40266
+ /**
40267
+ * Starts a read-only analysis for the cluster. The result and logs can be retrieved later from the cluster analysis endpoints.
40268
+ * @summary Start cluster analysis
40269
+ * @param {string} clusterId Cluster ID
40270
+ * @param {ClusterAnalysisRequest} clusterAnalysisRequest
40271
+ * @param {*} [options] Override http request option.
40272
+ * @throws {RequiredError}
40273
+ */
40274
+ startClusterAnalysis(clusterId: string, clusterAnalysisRequest: ClusterAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterAnalysisResponse> {
40275
+ return localVarFp.startClusterAnalysis(clusterId, clusterAnalysisRequest, options).then((request) => request(axios, basePath));
40276
+ },
39736
40277
  /**
39737
40278
  * Cluster stop has been requester.
39738
40279
  * @summary Stop cluster
@@ -39921,6 +40462,19 @@ export class ClustersApi extends BaseAPI {
39921
40462
  return ClustersApiFp(this.configuration).getClusterAdvancedSettings(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
39922
40463
  }
39923
40464
 
40465
+ /**
40466
+ * Returns metadata and status for one cluster analysis execution.
40467
+ * @summary Get cluster analysis
40468
+ * @param {string} clusterId Cluster ID
40469
+ * @param {string} analysisId Cluster analysis ID
40470
+ * @param {*} [options] Override http request option.
40471
+ * @throws {RequiredError}
40472
+ * @memberof ClustersApi
40473
+ */
40474
+ public getClusterAnalysis(clusterId: string, analysisId: string, options?: RawAxiosRequestConfig) {
40475
+ return ClustersApiFp(this.configuration).getClusterAnalysis(clusterId, analysisId, options).then((request) => request(this.axios, this.basePath));
40476
+ }
40477
+
39924
40478
  /**
39925
40479
  * Retrieve the DNS provider currently associated with a cluster. Requires VIEWER role.
39926
40480
  * @summary Get cluster DNS provider
@@ -40128,6 +40682,31 @@ export class ClustersApi extends BaseAPI {
40128
40682
  return ClustersApiFp(this.configuration).getRoutingTable(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
40129
40683
  }
40130
40684
 
40685
+ /**
40686
+ * Lists previous analysis executions for the cluster.
40687
+ * @summary List cluster analyses
40688
+ * @param {string} clusterId Cluster ID
40689
+ * @param {*} [options] Override http request option.
40690
+ * @throws {RequiredError}
40691
+ * @memberof ClustersApi
40692
+ */
40693
+ public listClusterAnalyses(clusterId: string, options?: RawAxiosRequestConfig) {
40694
+ return ClustersApiFp(this.configuration).listClusterAnalyses(clusterId, options).then((request) => request(this.axios, this.basePath));
40695
+ }
40696
+
40697
+ /**
40698
+ * Returns the persisted cluster analysis report/log lines in order.
40699
+ * @summary List cluster analysis logs
40700
+ * @param {string} clusterId Cluster ID
40701
+ * @param {string} analysisId Cluster analysis ID
40702
+ * @param {*} [options] Override http request option.
40703
+ * @throws {RequiredError}
40704
+ * @memberof ClustersApi
40705
+ */
40706
+ public listClusterAnalysisLogs(clusterId: string, analysisId: string, options?: RawAxiosRequestConfig) {
40707
+ return ClustersApiFp(this.configuration).listClusterAnalysisLogs(clusterId, analysisId, options).then((request) => request(this.axios, this.basePath));
40708
+ }
40709
+
40131
40710
  /**
40132
40711
  * List Cluster Logs
40133
40712
  * @summary List Cluster Logs
@@ -40193,6 +40772,19 @@ export class ClustersApi extends BaseAPI {
40193
40772
  return ClustersApiFp(this.configuration).specifyClusterCloudProviderInfo(organizationId, clusterId, clusterCloudProviderInfoRequest, options).then((request) => request(this.axios, this.basePath));
40194
40773
  }
40195
40774
 
40775
+ /**
40776
+ * Starts a read-only analysis for the cluster. The result and logs can be retrieved later from the cluster analysis endpoints.
40777
+ * @summary Start cluster analysis
40778
+ * @param {string} clusterId Cluster ID
40779
+ * @param {ClusterAnalysisRequest} clusterAnalysisRequest
40780
+ * @param {*} [options] Override http request option.
40781
+ * @throws {RequiredError}
40782
+ * @memberof ClustersApi
40783
+ */
40784
+ public startClusterAnalysis(clusterId: string, clusterAnalysisRequest: ClusterAnalysisRequest, options?: RawAxiosRequestConfig) {
40785
+ return ClustersApiFp(this.configuration).startClusterAnalysis(clusterId, clusterAnalysisRequest, options).then((request) => request(this.axios, this.basePath));
40786
+ }
40787
+
40196
40788
  /**
40197
40789
  * Cluster stop has been requester.
40198
40790
  * @summary Stop cluster