qovery-typescript-axios 1.1.682 → 1.1.685
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 +44 -12
- package/dist/api.d.ts +25 -9
- package/dist/api.js +39 -11
- package/dist/esm/api.d.ts +25 -9
- package/dist/esm/api.js +39 -11
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -17935,7 +17935,7 @@ export interface TerraformResponseList {
|
|
|
17935
17935
|
* @type {Array<TerraformResponse>}
|
|
17936
17936
|
* @memberof TerraformResponseList
|
|
17937
17937
|
*/
|
|
17938
|
-
'
|
|
17938
|
+
'results'?: Array<TerraformResponse>;
|
|
17939
17939
|
}
|
|
17940
17940
|
/**
|
|
17941
17941
|
* A Terraform input variable
|
|
@@ -28762,7 +28762,7 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
28762
28762
|
};
|
|
28763
28763
|
},
|
|
28764
28764
|
/**
|
|
28765
|
-
* Fetch cluster metrics
|
|
28765
|
+
* Fetch cluster metrics.
|
|
28766
28766
|
* @summary Fetch cluster metrics
|
|
28767
28767
|
* @param {string} clusterId Cluster ID
|
|
28768
28768
|
* @param {string} endpoint
|
|
@@ -28777,10 +28777,14 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
28777
28777
|
* @param {string} [maxSourceResolution]
|
|
28778
28778
|
* @param {string} [engine]
|
|
28779
28779
|
* @param {string} [analyze]
|
|
28780
|
+
* @param {string} [boardShortName]
|
|
28781
|
+
* @param {string} [metricShortName]
|
|
28782
|
+
* @param {string} [traceId]
|
|
28783
|
+
* @param {string} [range]
|
|
28780
28784
|
* @param {*} [options] Override http request option.
|
|
28781
28785
|
* @throws {RequiredError}
|
|
28782
28786
|
*/
|
|
28783
|
-
getClusterMetrics: async (clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, engine?: string, analyze?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28787
|
+
getClusterMetrics: async (clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, engine?: string, analyze?: string, boardShortName?: string, metricShortName?: string, traceId?: string, range?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28784
28788
|
// verify required parameter 'clusterId' is not null or undefined
|
|
28785
28789
|
assertParamExists('getClusterMetrics', 'clusterId', clusterId)
|
|
28786
28790
|
// verify required parameter 'endpoint' is not null or undefined
|
|
@@ -28855,6 +28859,22 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
28855
28859
|
localVarQueryParameter['analyze'] = analyze;
|
|
28856
28860
|
}
|
|
28857
28861
|
|
|
28862
|
+
if (boardShortName !== undefined) {
|
|
28863
|
+
localVarQueryParameter['board_short_name'] = boardShortName;
|
|
28864
|
+
}
|
|
28865
|
+
|
|
28866
|
+
if (metricShortName !== undefined) {
|
|
28867
|
+
localVarQueryParameter['metric_short_name'] = metricShortName;
|
|
28868
|
+
}
|
|
28869
|
+
|
|
28870
|
+
if (traceId !== undefined) {
|
|
28871
|
+
localVarQueryParameter['trace_id'] = traceId;
|
|
28872
|
+
}
|
|
28873
|
+
|
|
28874
|
+
if (range !== undefined) {
|
|
28875
|
+
localVarQueryParameter['range'] = range;
|
|
28876
|
+
}
|
|
28877
|
+
|
|
28858
28878
|
|
|
28859
28879
|
|
|
28860
28880
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -29709,7 +29729,7 @@ export const ClustersApiFp = function(configuration?: Configuration) {
|
|
|
29709
29729
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29710
29730
|
},
|
|
29711
29731
|
/**
|
|
29712
|
-
* Fetch cluster metrics
|
|
29732
|
+
* Fetch cluster metrics.
|
|
29713
29733
|
* @summary Fetch cluster metrics
|
|
29714
29734
|
* @param {string} clusterId Cluster ID
|
|
29715
29735
|
* @param {string} endpoint
|
|
@@ -29724,11 +29744,15 @@ export const ClustersApiFp = function(configuration?: Configuration) {
|
|
|
29724
29744
|
* @param {string} [maxSourceResolution]
|
|
29725
29745
|
* @param {string} [engine]
|
|
29726
29746
|
* @param {string} [analyze]
|
|
29747
|
+
* @param {string} [boardShortName]
|
|
29748
|
+
* @param {string} [metricShortName]
|
|
29749
|
+
* @param {string} [traceId]
|
|
29750
|
+
* @param {string} [range]
|
|
29727
29751
|
* @param {*} [options] Override http request option.
|
|
29728
29752
|
* @throws {RequiredError}
|
|
29729
29753
|
*/
|
|
29730
|
-
async getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, engine?: string, analyze?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterMetricsResponse>> {
|
|
29731
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyze, options);
|
|
29754
|
+
async getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, engine?: string, analyze?: string, boardShortName?: string, metricShortName?: string, traceId?: string, range?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterMetricsResponse>> {
|
|
29755
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyze, boardShortName, metricShortName, traceId, range, options);
|
|
29732
29756
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
29733
29757
|
const localVarOperationServerBasePath = operationServerMap['ClustersApi.getClusterMetrics']?.[localVarOperationServerIndex]?.url;
|
|
29734
29758
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -30090,7 +30114,7 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
|
|
|
30090
30114
|
return localVarFp.getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options).then((request) => request(axios, basePath));
|
|
30091
30115
|
},
|
|
30092
30116
|
/**
|
|
30093
|
-
* Fetch cluster metrics
|
|
30117
|
+
* Fetch cluster metrics.
|
|
30094
30118
|
* @summary Fetch cluster metrics
|
|
30095
30119
|
* @param {string} clusterId Cluster ID
|
|
30096
30120
|
* @param {string} endpoint
|
|
@@ -30105,11 +30129,15 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
|
|
|
30105
30129
|
* @param {string} [maxSourceResolution]
|
|
30106
30130
|
* @param {string} [engine]
|
|
30107
30131
|
* @param {string} [analyze]
|
|
30132
|
+
* @param {string} [boardShortName]
|
|
30133
|
+
* @param {string} [metricShortName]
|
|
30134
|
+
* @param {string} [traceId]
|
|
30135
|
+
* @param {string} [range]
|
|
30108
30136
|
* @param {*} [options] Override http request option.
|
|
30109
30137
|
* @throws {RequiredError}
|
|
30110
30138
|
*/
|
|
30111
|
-
getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, engine?: string, analyze?: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterMetricsResponse> {
|
|
30112
|
-
return localVarFp.getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyze, options).then((request) => request(axios, basePath));
|
|
30139
|
+
getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, engine?: string, analyze?: string, boardShortName?: string, metricShortName?: string, traceId?: string, range?: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterMetricsResponse> {
|
|
30140
|
+
return localVarFp.getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyze, boardShortName, metricShortName, traceId, range, options).then((request) => request(axios, basePath));
|
|
30113
30141
|
},
|
|
30114
30142
|
/**
|
|
30115
30143
|
*
|
|
@@ -30445,7 +30473,7 @@ export class ClustersApi extends BaseAPI {
|
|
|
30445
30473
|
}
|
|
30446
30474
|
|
|
30447
30475
|
/**
|
|
30448
|
-
* Fetch cluster metrics
|
|
30476
|
+
* Fetch cluster metrics.
|
|
30449
30477
|
* @summary Fetch cluster metrics
|
|
30450
30478
|
* @param {string} clusterId Cluster ID
|
|
30451
30479
|
* @param {string} endpoint
|
|
@@ -30460,12 +30488,16 @@ export class ClustersApi extends BaseAPI {
|
|
|
30460
30488
|
* @param {string} [maxSourceResolution]
|
|
30461
30489
|
* @param {string} [engine]
|
|
30462
30490
|
* @param {string} [analyze]
|
|
30491
|
+
* @param {string} [boardShortName]
|
|
30492
|
+
* @param {string} [metricShortName]
|
|
30493
|
+
* @param {string} [traceId]
|
|
30494
|
+
* @param {string} [range]
|
|
30463
30495
|
* @param {*} [options] Override http request option.
|
|
30464
30496
|
* @throws {RequiredError}
|
|
30465
30497
|
* @memberof ClustersApi
|
|
30466
30498
|
*/
|
|
30467
|
-
public getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, engine?: string, analyze?: string, options?: RawAxiosRequestConfig) {
|
|
30468
|
-
return ClustersApiFp(this.configuration).getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyze, options).then((request) => request(this.axios, this.basePath));
|
|
30499
|
+
public getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, engine?: string, analyze?: string, boardShortName?: string, metricShortName?: string, traceId?: string, range?: string, options?: RawAxiosRequestConfig) {
|
|
30500
|
+
return ClustersApiFp(this.configuration).getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyze, boardShortName, metricShortName, traceId, range, options).then((request) => request(this.axios, this.basePath));
|
|
30469
30501
|
}
|
|
30470
30502
|
|
|
30471
30503
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -17359,7 +17359,7 @@ export interface TerraformResponseList {
|
|
|
17359
17359
|
* @type {Array<TerraformResponse>}
|
|
17360
17360
|
* @memberof TerraformResponseList
|
|
17361
17361
|
*/
|
|
17362
|
-
'
|
|
17362
|
+
'results'?: Array<TerraformResponse>;
|
|
17363
17363
|
}
|
|
17364
17364
|
/**
|
|
17365
17365
|
* A Terraform input variable
|
|
@@ -22509,7 +22509,7 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
22509
22509
|
*/
|
|
22510
22510
|
getClusterLogs: (clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22511
22511
|
/**
|
|
22512
|
-
* Fetch cluster metrics
|
|
22512
|
+
* Fetch cluster metrics.
|
|
22513
22513
|
* @summary Fetch cluster metrics
|
|
22514
22514
|
* @param {string} clusterId Cluster ID
|
|
22515
22515
|
* @param {string} endpoint
|
|
@@ -22524,10 +22524,14 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
22524
22524
|
* @param {string} [maxSourceResolution]
|
|
22525
22525
|
* @param {string} [engine]
|
|
22526
22526
|
* @param {string} [analyze]
|
|
22527
|
+
* @param {string} [boardShortName]
|
|
22528
|
+
* @param {string} [metricShortName]
|
|
22529
|
+
* @param {string} [traceId]
|
|
22530
|
+
* @param {string} [range]
|
|
22527
22531
|
* @param {*} [options] Override http request option.
|
|
22528
22532
|
* @throws {RequiredError}
|
|
22529
22533
|
*/
|
|
22530
|
-
getClusterMetrics: (clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, engine?: string, analyze?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22534
|
+
getClusterMetrics: (clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, engine?: string, analyze?: string, boardShortName?: string, metricShortName?: string, traceId?: string, range?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22531
22535
|
/**
|
|
22532
22536
|
*
|
|
22533
22537
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -22784,7 +22788,7 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
22784
22788
|
*/
|
|
22785
22789
|
getClusterLogs(clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterLogsResponse>>;
|
|
22786
22790
|
/**
|
|
22787
|
-
* Fetch cluster metrics
|
|
22791
|
+
* Fetch cluster metrics.
|
|
22788
22792
|
* @summary Fetch cluster metrics
|
|
22789
22793
|
* @param {string} clusterId Cluster ID
|
|
22790
22794
|
* @param {string} endpoint
|
|
@@ -22799,10 +22803,14 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
22799
22803
|
* @param {string} [maxSourceResolution]
|
|
22800
22804
|
* @param {string} [engine]
|
|
22801
22805
|
* @param {string} [analyze]
|
|
22806
|
+
* @param {string} [boardShortName]
|
|
22807
|
+
* @param {string} [metricShortName]
|
|
22808
|
+
* @param {string} [traceId]
|
|
22809
|
+
* @param {string} [range]
|
|
22802
22810
|
* @param {*} [options] Override http request option.
|
|
22803
22811
|
* @throws {RequiredError}
|
|
22804
22812
|
*/
|
|
22805
|
-
getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, engine?: string, analyze?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterMetricsResponse>>;
|
|
22813
|
+
getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, engine?: string, analyze?: string, boardShortName?: string, metricShortName?: string, traceId?: string, range?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterMetricsResponse>>;
|
|
22806
22814
|
/**
|
|
22807
22815
|
*
|
|
22808
22816
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -23059,7 +23067,7 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
23059
23067
|
*/
|
|
23060
23068
|
getClusterLogs(clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterLogsResponse>;
|
|
23061
23069
|
/**
|
|
23062
|
-
* Fetch cluster metrics
|
|
23070
|
+
* Fetch cluster metrics.
|
|
23063
23071
|
* @summary Fetch cluster metrics
|
|
23064
23072
|
* @param {string} clusterId Cluster ID
|
|
23065
23073
|
* @param {string} endpoint
|
|
@@ -23074,10 +23082,14 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
23074
23082
|
* @param {string} [maxSourceResolution]
|
|
23075
23083
|
* @param {string} [engine]
|
|
23076
23084
|
* @param {string} [analyze]
|
|
23085
|
+
* @param {string} [boardShortName]
|
|
23086
|
+
* @param {string} [metricShortName]
|
|
23087
|
+
* @param {string} [traceId]
|
|
23088
|
+
* @param {string} [range]
|
|
23077
23089
|
* @param {*} [options] Override http request option.
|
|
23078
23090
|
* @throws {RequiredError}
|
|
23079
23091
|
*/
|
|
23080
|
-
getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, engine?: string, analyze?: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterMetricsResponse>;
|
|
23092
|
+
getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, engine?: string, analyze?: string, boardShortName?: string, metricShortName?: string, traceId?: string, range?: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterMetricsResponse>;
|
|
23081
23093
|
/**
|
|
23082
23094
|
*
|
|
23083
23095
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -23347,7 +23359,7 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
23347
23359
|
*/
|
|
23348
23360
|
getClusterLogs(clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterLogsResponse, any, {}>>;
|
|
23349
23361
|
/**
|
|
23350
|
-
* Fetch cluster metrics
|
|
23362
|
+
* Fetch cluster metrics.
|
|
23351
23363
|
* @summary Fetch cluster metrics
|
|
23352
23364
|
* @param {string} clusterId Cluster ID
|
|
23353
23365
|
* @param {string} endpoint
|
|
@@ -23362,11 +23374,15 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
23362
23374
|
* @param {string} [maxSourceResolution]
|
|
23363
23375
|
* @param {string} [engine]
|
|
23364
23376
|
* @param {string} [analyze]
|
|
23377
|
+
* @param {string} [boardShortName]
|
|
23378
|
+
* @param {string} [metricShortName]
|
|
23379
|
+
* @param {string} [traceId]
|
|
23380
|
+
* @param {string} [range]
|
|
23365
23381
|
* @param {*} [options] Override http request option.
|
|
23366
23382
|
* @throws {RequiredError}
|
|
23367
23383
|
* @memberof ClustersApi
|
|
23368
23384
|
*/
|
|
23369
|
-
getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, engine?: string, analyze?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterMetricsResponse, any, {}>>;
|
|
23385
|
+
getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, engine?: string, analyze?: string, boardShortName?: string, metricShortName?: string, traceId?: string, range?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterMetricsResponse, any, {}>>;
|
|
23370
23386
|
/**
|
|
23371
23387
|
*
|
|
23372
23388
|
* @summary Know if a cluster is ready to be deployed or not
|
package/dist/api.js
CHANGED
|
@@ -10461,7 +10461,7 @@ const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
10461
10461
|
};
|
|
10462
10462
|
}),
|
|
10463
10463
|
/**
|
|
10464
|
-
* Fetch cluster metrics
|
|
10464
|
+
* Fetch cluster metrics.
|
|
10465
10465
|
* @summary Fetch cluster metrics
|
|
10466
10466
|
* @param {string} clusterId Cluster ID
|
|
10467
10467
|
* @param {string} endpoint
|
|
@@ -10476,10 +10476,14 @@ const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
10476
10476
|
* @param {string} [maxSourceResolution]
|
|
10477
10477
|
* @param {string} [engine]
|
|
10478
10478
|
* @param {string} [analyze]
|
|
10479
|
+
* @param {string} [boardShortName]
|
|
10480
|
+
* @param {string} [metricShortName]
|
|
10481
|
+
* @param {string} [traceId]
|
|
10482
|
+
* @param {string} [range]
|
|
10479
10483
|
* @param {*} [options] Override http request option.
|
|
10480
10484
|
* @throws {RequiredError}
|
|
10481
10485
|
*/
|
|
10482
|
-
getClusterMetrics: (clusterId_1, endpoint_1, query_1, start_1, end_1, step_1, time_1, timeout_1, dedup_1, partialResponse_1, maxSourceResolution_1, engine_1, analyze_1, ...args_1) => __awaiter(this, [clusterId_1, endpoint_1, query_1, start_1, end_1, step_1, time_1, timeout_1, dedup_1, partialResponse_1, maxSourceResolution_1, engine_1, analyze_1, ...args_1], void 0, function* (clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyze, options = {}) {
|
|
10486
|
+
getClusterMetrics: (clusterId_1, endpoint_1, query_1, start_1, end_1, step_1, time_1, timeout_1, dedup_1, partialResponse_1, maxSourceResolution_1, engine_1, analyze_1, boardShortName_1, metricShortName_1, traceId_1, range_1, ...args_1) => __awaiter(this, [clusterId_1, endpoint_1, query_1, start_1, end_1, step_1, time_1, timeout_1, dedup_1, partialResponse_1, maxSourceResolution_1, engine_1, analyze_1, boardShortName_1, metricShortName_1, traceId_1, range_1, ...args_1], void 0, function* (clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyze, boardShortName, metricShortName, traceId, range, options = {}) {
|
|
10483
10487
|
// verify required parameter 'clusterId' is not null or undefined
|
|
10484
10488
|
(0, common_1.assertParamExists)('getClusterMetrics', 'clusterId', clusterId);
|
|
10485
10489
|
// verify required parameter 'endpoint' is not null or undefined
|
|
@@ -10538,6 +10542,18 @@ const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
10538
10542
|
if (analyze !== undefined) {
|
|
10539
10543
|
localVarQueryParameter['analyze'] = analyze;
|
|
10540
10544
|
}
|
|
10545
|
+
if (boardShortName !== undefined) {
|
|
10546
|
+
localVarQueryParameter['board_short_name'] = boardShortName;
|
|
10547
|
+
}
|
|
10548
|
+
if (metricShortName !== undefined) {
|
|
10549
|
+
localVarQueryParameter['metric_short_name'] = metricShortName;
|
|
10550
|
+
}
|
|
10551
|
+
if (traceId !== undefined) {
|
|
10552
|
+
localVarQueryParameter['trace_id'] = traceId;
|
|
10553
|
+
}
|
|
10554
|
+
if (range !== undefined) {
|
|
10555
|
+
localVarQueryParameter['range'] = range;
|
|
10556
|
+
}
|
|
10541
10557
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10542
10558
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10543
10559
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -11314,7 +11330,7 @@ const ClustersApiFp = function (configuration) {
|
|
|
11314
11330
|
});
|
|
11315
11331
|
},
|
|
11316
11332
|
/**
|
|
11317
|
-
* Fetch cluster metrics
|
|
11333
|
+
* Fetch cluster metrics.
|
|
11318
11334
|
* @summary Fetch cluster metrics
|
|
11319
11335
|
* @param {string} clusterId Cluster ID
|
|
11320
11336
|
* @param {string} endpoint
|
|
@@ -11329,13 +11345,17 @@ const ClustersApiFp = function (configuration) {
|
|
|
11329
11345
|
* @param {string} [maxSourceResolution]
|
|
11330
11346
|
* @param {string} [engine]
|
|
11331
11347
|
* @param {string} [analyze]
|
|
11348
|
+
* @param {string} [boardShortName]
|
|
11349
|
+
* @param {string} [metricShortName]
|
|
11350
|
+
* @param {string} [traceId]
|
|
11351
|
+
* @param {string} [range]
|
|
11332
11352
|
* @param {*} [options] Override http request option.
|
|
11333
11353
|
* @throws {RequiredError}
|
|
11334
11354
|
*/
|
|
11335
|
-
getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyze, options) {
|
|
11355
|
+
getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyze, boardShortName, metricShortName, traceId, range, options) {
|
|
11336
11356
|
return __awaiter(this, void 0, void 0, function* () {
|
|
11337
11357
|
var _a, _b, _c;
|
|
11338
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyze, options);
|
|
11358
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyze, boardShortName, metricShortName, traceId, range, options);
|
|
11339
11359
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11340
11360
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClustersApi.getClusterMetrics']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11341
11361
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -11743,7 +11763,7 @@ const ClustersApiFactory = function (configuration, basePath, axios) {
|
|
|
11743
11763
|
return localVarFp.getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options).then((request) => request(axios, basePath));
|
|
11744
11764
|
},
|
|
11745
11765
|
/**
|
|
11746
|
-
* Fetch cluster metrics
|
|
11766
|
+
* Fetch cluster metrics.
|
|
11747
11767
|
* @summary Fetch cluster metrics
|
|
11748
11768
|
* @param {string} clusterId Cluster ID
|
|
11749
11769
|
* @param {string} endpoint
|
|
@@ -11758,11 +11778,15 @@ const ClustersApiFactory = function (configuration, basePath, axios) {
|
|
|
11758
11778
|
* @param {string} [maxSourceResolution]
|
|
11759
11779
|
* @param {string} [engine]
|
|
11760
11780
|
* @param {string} [analyze]
|
|
11781
|
+
* @param {string} [boardShortName]
|
|
11782
|
+
* @param {string} [metricShortName]
|
|
11783
|
+
* @param {string} [traceId]
|
|
11784
|
+
* @param {string} [range]
|
|
11761
11785
|
* @param {*} [options] Override http request option.
|
|
11762
11786
|
* @throws {RequiredError}
|
|
11763
11787
|
*/
|
|
11764
|
-
getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyze, options) {
|
|
11765
|
-
return localVarFp.getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyze, options).then((request) => request(axios, basePath));
|
|
11788
|
+
getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyze, boardShortName, metricShortName, traceId, range, options) {
|
|
11789
|
+
return localVarFp.getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyze, boardShortName, metricShortName, traceId, range, options).then((request) => request(axios, basePath));
|
|
11766
11790
|
},
|
|
11767
11791
|
/**
|
|
11768
11792
|
*
|
|
@@ -12087,7 +12111,7 @@ class ClustersApi extends base_1.BaseAPI {
|
|
|
12087
12111
|
return (0, exports.ClustersApiFp)(this.configuration).getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options).then((request) => request(this.axios, this.basePath));
|
|
12088
12112
|
}
|
|
12089
12113
|
/**
|
|
12090
|
-
* Fetch cluster metrics
|
|
12114
|
+
* Fetch cluster metrics.
|
|
12091
12115
|
* @summary Fetch cluster metrics
|
|
12092
12116
|
* @param {string} clusterId Cluster ID
|
|
12093
12117
|
* @param {string} endpoint
|
|
@@ -12102,12 +12126,16 @@ class ClustersApi extends base_1.BaseAPI {
|
|
|
12102
12126
|
* @param {string} [maxSourceResolution]
|
|
12103
12127
|
* @param {string} [engine]
|
|
12104
12128
|
* @param {string} [analyze]
|
|
12129
|
+
* @param {string} [boardShortName]
|
|
12130
|
+
* @param {string} [metricShortName]
|
|
12131
|
+
* @param {string} [traceId]
|
|
12132
|
+
* @param {string} [range]
|
|
12105
12133
|
* @param {*} [options] Override http request option.
|
|
12106
12134
|
* @throws {RequiredError}
|
|
12107
12135
|
* @memberof ClustersApi
|
|
12108
12136
|
*/
|
|
12109
|
-
getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyze, options) {
|
|
12110
|
-
return (0, exports.ClustersApiFp)(this.configuration).getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyze, options).then((request) => request(this.axios, this.basePath));
|
|
12137
|
+
getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyze, boardShortName, metricShortName, traceId, range, options) {
|
|
12138
|
+
return (0, exports.ClustersApiFp)(this.configuration).getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyze, boardShortName, metricShortName, traceId, range, options).then((request) => request(this.axios, this.basePath));
|
|
12111
12139
|
}
|
|
12112
12140
|
/**
|
|
12113
12141
|
*
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -17359,7 +17359,7 @@ export interface TerraformResponseList {
|
|
|
17359
17359
|
* @type {Array<TerraformResponse>}
|
|
17360
17360
|
* @memberof TerraformResponseList
|
|
17361
17361
|
*/
|
|
17362
|
-
'
|
|
17362
|
+
'results'?: Array<TerraformResponse>;
|
|
17363
17363
|
}
|
|
17364
17364
|
/**
|
|
17365
17365
|
* A Terraform input variable
|
|
@@ -22509,7 +22509,7 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
22509
22509
|
*/
|
|
22510
22510
|
getClusterLogs: (clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22511
22511
|
/**
|
|
22512
|
-
* Fetch cluster metrics
|
|
22512
|
+
* Fetch cluster metrics.
|
|
22513
22513
|
* @summary Fetch cluster metrics
|
|
22514
22514
|
* @param {string} clusterId Cluster ID
|
|
22515
22515
|
* @param {string} endpoint
|
|
@@ -22524,10 +22524,14 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
22524
22524
|
* @param {string} [maxSourceResolution]
|
|
22525
22525
|
* @param {string} [engine]
|
|
22526
22526
|
* @param {string} [analyze]
|
|
22527
|
+
* @param {string} [boardShortName]
|
|
22528
|
+
* @param {string} [metricShortName]
|
|
22529
|
+
* @param {string} [traceId]
|
|
22530
|
+
* @param {string} [range]
|
|
22527
22531
|
* @param {*} [options] Override http request option.
|
|
22528
22532
|
* @throws {RequiredError}
|
|
22529
22533
|
*/
|
|
22530
|
-
getClusterMetrics: (clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, engine?: string, analyze?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22534
|
+
getClusterMetrics: (clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, engine?: string, analyze?: string, boardShortName?: string, metricShortName?: string, traceId?: string, range?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22531
22535
|
/**
|
|
22532
22536
|
*
|
|
22533
22537
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -22784,7 +22788,7 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
22784
22788
|
*/
|
|
22785
22789
|
getClusterLogs(clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterLogsResponse>>;
|
|
22786
22790
|
/**
|
|
22787
|
-
* Fetch cluster metrics
|
|
22791
|
+
* Fetch cluster metrics.
|
|
22788
22792
|
* @summary Fetch cluster metrics
|
|
22789
22793
|
* @param {string} clusterId Cluster ID
|
|
22790
22794
|
* @param {string} endpoint
|
|
@@ -22799,10 +22803,14 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
22799
22803
|
* @param {string} [maxSourceResolution]
|
|
22800
22804
|
* @param {string} [engine]
|
|
22801
22805
|
* @param {string} [analyze]
|
|
22806
|
+
* @param {string} [boardShortName]
|
|
22807
|
+
* @param {string} [metricShortName]
|
|
22808
|
+
* @param {string} [traceId]
|
|
22809
|
+
* @param {string} [range]
|
|
22802
22810
|
* @param {*} [options] Override http request option.
|
|
22803
22811
|
* @throws {RequiredError}
|
|
22804
22812
|
*/
|
|
22805
|
-
getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, engine?: string, analyze?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterMetricsResponse>>;
|
|
22813
|
+
getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, engine?: string, analyze?: string, boardShortName?: string, metricShortName?: string, traceId?: string, range?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterMetricsResponse>>;
|
|
22806
22814
|
/**
|
|
22807
22815
|
*
|
|
22808
22816
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -23059,7 +23067,7 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
23059
23067
|
*/
|
|
23060
23068
|
getClusterLogs(clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterLogsResponse>;
|
|
23061
23069
|
/**
|
|
23062
|
-
* Fetch cluster metrics
|
|
23070
|
+
* Fetch cluster metrics.
|
|
23063
23071
|
* @summary Fetch cluster metrics
|
|
23064
23072
|
* @param {string} clusterId Cluster ID
|
|
23065
23073
|
* @param {string} endpoint
|
|
@@ -23074,10 +23082,14 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
23074
23082
|
* @param {string} [maxSourceResolution]
|
|
23075
23083
|
* @param {string} [engine]
|
|
23076
23084
|
* @param {string} [analyze]
|
|
23085
|
+
* @param {string} [boardShortName]
|
|
23086
|
+
* @param {string} [metricShortName]
|
|
23087
|
+
* @param {string} [traceId]
|
|
23088
|
+
* @param {string} [range]
|
|
23077
23089
|
* @param {*} [options] Override http request option.
|
|
23078
23090
|
* @throws {RequiredError}
|
|
23079
23091
|
*/
|
|
23080
|
-
getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, engine?: string, analyze?: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterMetricsResponse>;
|
|
23092
|
+
getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, engine?: string, analyze?: string, boardShortName?: string, metricShortName?: string, traceId?: string, range?: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterMetricsResponse>;
|
|
23081
23093
|
/**
|
|
23082
23094
|
*
|
|
23083
23095
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -23347,7 +23359,7 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
23347
23359
|
*/
|
|
23348
23360
|
getClusterLogs(clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterLogsResponse, any, {}>>;
|
|
23349
23361
|
/**
|
|
23350
|
-
* Fetch cluster metrics
|
|
23362
|
+
* Fetch cluster metrics.
|
|
23351
23363
|
* @summary Fetch cluster metrics
|
|
23352
23364
|
* @param {string} clusterId Cluster ID
|
|
23353
23365
|
* @param {string} endpoint
|
|
@@ -23362,11 +23374,15 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
23362
23374
|
* @param {string} [maxSourceResolution]
|
|
23363
23375
|
* @param {string} [engine]
|
|
23364
23376
|
* @param {string} [analyze]
|
|
23377
|
+
* @param {string} [boardShortName]
|
|
23378
|
+
* @param {string} [metricShortName]
|
|
23379
|
+
* @param {string} [traceId]
|
|
23380
|
+
* @param {string} [range]
|
|
23365
23381
|
* @param {*} [options] Override http request option.
|
|
23366
23382
|
* @throws {RequiredError}
|
|
23367
23383
|
* @memberof ClustersApi
|
|
23368
23384
|
*/
|
|
23369
|
-
getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, engine?: string, analyze?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterMetricsResponse, any, {}>>;
|
|
23385
|
+
getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, engine?: string, analyze?: string, boardShortName?: string, metricShortName?: string, traceId?: string, range?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterMetricsResponse, any, {}>>;
|
|
23370
23386
|
/**
|
|
23371
23387
|
*
|
|
23372
23388
|
* @summary Know if a cluster is ready to be deployed or not
|
package/dist/esm/api.js
CHANGED
|
@@ -10389,7 +10389,7 @@ export const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
10389
10389
|
};
|
|
10390
10390
|
}),
|
|
10391
10391
|
/**
|
|
10392
|
-
* Fetch cluster metrics
|
|
10392
|
+
* Fetch cluster metrics.
|
|
10393
10393
|
* @summary Fetch cluster metrics
|
|
10394
10394
|
* @param {string} clusterId Cluster ID
|
|
10395
10395
|
* @param {string} endpoint
|
|
@@ -10404,10 +10404,14 @@ export const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
10404
10404
|
* @param {string} [maxSourceResolution]
|
|
10405
10405
|
* @param {string} [engine]
|
|
10406
10406
|
* @param {string} [analyze]
|
|
10407
|
+
* @param {string} [boardShortName]
|
|
10408
|
+
* @param {string} [metricShortName]
|
|
10409
|
+
* @param {string} [traceId]
|
|
10410
|
+
* @param {string} [range]
|
|
10407
10411
|
* @param {*} [options] Override http request option.
|
|
10408
10412
|
* @throws {RequiredError}
|
|
10409
10413
|
*/
|
|
10410
|
-
getClusterMetrics: (clusterId_1, endpoint_1, query_1, start_1, end_1, step_1, time_1, timeout_1, dedup_1, partialResponse_1, maxSourceResolution_1, engine_1, analyze_1, ...args_1) => __awaiter(this, [clusterId_1, endpoint_1, query_1, start_1, end_1, step_1, time_1, timeout_1, dedup_1, partialResponse_1, maxSourceResolution_1, engine_1, analyze_1, ...args_1], void 0, function* (clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyze, options = {}) {
|
|
10414
|
+
getClusterMetrics: (clusterId_1, endpoint_1, query_1, start_1, end_1, step_1, time_1, timeout_1, dedup_1, partialResponse_1, maxSourceResolution_1, engine_1, analyze_1, boardShortName_1, metricShortName_1, traceId_1, range_1, ...args_1) => __awaiter(this, [clusterId_1, endpoint_1, query_1, start_1, end_1, step_1, time_1, timeout_1, dedup_1, partialResponse_1, maxSourceResolution_1, engine_1, analyze_1, boardShortName_1, metricShortName_1, traceId_1, range_1, ...args_1], void 0, function* (clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyze, boardShortName, metricShortName, traceId, range, options = {}) {
|
|
10411
10415
|
// verify required parameter 'clusterId' is not null or undefined
|
|
10412
10416
|
assertParamExists('getClusterMetrics', 'clusterId', clusterId);
|
|
10413
10417
|
// verify required parameter 'endpoint' is not null or undefined
|
|
@@ -10466,6 +10470,18 @@ export const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
10466
10470
|
if (analyze !== undefined) {
|
|
10467
10471
|
localVarQueryParameter['analyze'] = analyze;
|
|
10468
10472
|
}
|
|
10473
|
+
if (boardShortName !== undefined) {
|
|
10474
|
+
localVarQueryParameter['board_short_name'] = boardShortName;
|
|
10475
|
+
}
|
|
10476
|
+
if (metricShortName !== undefined) {
|
|
10477
|
+
localVarQueryParameter['metric_short_name'] = metricShortName;
|
|
10478
|
+
}
|
|
10479
|
+
if (traceId !== undefined) {
|
|
10480
|
+
localVarQueryParameter['trace_id'] = traceId;
|
|
10481
|
+
}
|
|
10482
|
+
if (range !== undefined) {
|
|
10483
|
+
localVarQueryParameter['range'] = range;
|
|
10484
|
+
}
|
|
10469
10485
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10470
10486
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10471
10487
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -11241,7 +11257,7 @@ export const ClustersApiFp = function (configuration) {
|
|
|
11241
11257
|
});
|
|
11242
11258
|
},
|
|
11243
11259
|
/**
|
|
11244
|
-
* Fetch cluster metrics
|
|
11260
|
+
* Fetch cluster metrics.
|
|
11245
11261
|
* @summary Fetch cluster metrics
|
|
11246
11262
|
* @param {string} clusterId Cluster ID
|
|
11247
11263
|
* @param {string} endpoint
|
|
@@ -11256,13 +11272,17 @@ export const ClustersApiFp = function (configuration) {
|
|
|
11256
11272
|
* @param {string} [maxSourceResolution]
|
|
11257
11273
|
* @param {string} [engine]
|
|
11258
11274
|
* @param {string} [analyze]
|
|
11275
|
+
* @param {string} [boardShortName]
|
|
11276
|
+
* @param {string} [metricShortName]
|
|
11277
|
+
* @param {string} [traceId]
|
|
11278
|
+
* @param {string} [range]
|
|
11259
11279
|
* @param {*} [options] Override http request option.
|
|
11260
11280
|
* @throws {RequiredError}
|
|
11261
11281
|
*/
|
|
11262
|
-
getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyze, options) {
|
|
11282
|
+
getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyze, boardShortName, metricShortName, traceId, range, options) {
|
|
11263
11283
|
return __awaiter(this, void 0, void 0, function* () {
|
|
11264
11284
|
var _a, _b, _c;
|
|
11265
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyze, options);
|
|
11285
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyze, boardShortName, metricShortName, traceId, range, options);
|
|
11266
11286
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11267
11287
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClustersApi.getClusterMetrics']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11268
11288
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -11669,7 +11689,7 @@ export const ClustersApiFactory = function (configuration, basePath, axios) {
|
|
|
11669
11689
|
return localVarFp.getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options).then((request) => request(axios, basePath));
|
|
11670
11690
|
},
|
|
11671
11691
|
/**
|
|
11672
|
-
* Fetch cluster metrics
|
|
11692
|
+
* Fetch cluster metrics.
|
|
11673
11693
|
* @summary Fetch cluster metrics
|
|
11674
11694
|
* @param {string} clusterId Cluster ID
|
|
11675
11695
|
* @param {string} endpoint
|
|
@@ -11684,11 +11704,15 @@ export const ClustersApiFactory = function (configuration, basePath, axios) {
|
|
|
11684
11704
|
* @param {string} [maxSourceResolution]
|
|
11685
11705
|
* @param {string} [engine]
|
|
11686
11706
|
* @param {string} [analyze]
|
|
11707
|
+
* @param {string} [boardShortName]
|
|
11708
|
+
* @param {string} [metricShortName]
|
|
11709
|
+
* @param {string} [traceId]
|
|
11710
|
+
* @param {string} [range]
|
|
11687
11711
|
* @param {*} [options] Override http request option.
|
|
11688
11712
|
* @throws {RequiredError}
|
|
11689
11713
|
*/
|
|
11690
|
-
getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyze, options) {
|
|
11691
|
-
return localVarFp.getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyze, options).then((request) => request(axios, basePath));
|
|
11714
|
+
getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyze, boardShortName, metricShortName, traceId, range, options) {
|
|
11715
|
+
return localVarFp.getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyze, boardShortName, metricShortName, traceId, range, options).then((request) => request(axios, basePath));
|
|
11692
11716
|
},
|
|
11693
11717
|
/**
|
|
11694
11718
|
*
|
|
@@ -12012,7 +12036,7 @@ export class ClustersApi extends BaseAPI {
|
|
|
12012
12036
|
return ClustersApiFp(this.configuration).getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options).then((request) => request(this.axios, this.basePath));
|
|
12013
12037
|
}
|
|
12014
12038
|
/**
|
|
12015
|
-
* Fetch cluster metrics
|
|
12039
|
+
* Fetch cluster metrics.
|
|
12016
12040
|
* @summary Fetch cluster metrics
|
|
12017
12041
|
* @param {string} clusterId Cluster ID
|
|
12018
12042
|
* @param {string} endpoint
|
|
@@ -12027,12 +12051,16 @@ export class ClustersApi extends BaseAPI {
|
|
|
12027
12051
|
* @param {string} [maxSourceResolution]
|
|
12028
12052
|
* @param {string} [engine]
|
|
12029
12053
|
* @param {string} [analyze]
|
|
12054
|
+
* @param {string} [boardShortName]
|
|
12055
|
+
* @param {string} [metricShortName]
|
|
12056
|
+
* @param {string} [traceId]
|
|
12057
|
+
* @param {string} [range]
|
|
12030
12058
|
* @param {*} [options] Override http request option.
|
|
12031
12059
|
* @throws {RequiredError}
|
|
12032
12060
|
* @memberof ClustersApi
|
|
12033
12061
|
*/
|
|
12034
|
-
getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyze, options) {
|
|
12035
|
-
return ClustersApiFp(this.configuration).getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyze, options).then((request) => request(this.axios, this.basePath));
|
|
12062
|
+
getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyze, boardShortName, metricShortName, traceId, range, options) {
|
|
12063
|
+
return ClustersApiFp(this.configuration).getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyze, boardShortName, metricShortName, traceId, range, options).then((request) => request(this.axios, this.basePath));
|
|
12036
12064
|
}
|
|
12037
12065
|
/**
|
|
12038
12066
|
*
|