qovery-typescript-axios 1.1.721 → 1.1.723
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 +129 -8
- package/dist/api.d.ts +74 -4
- package/dist/api.js +109 -18
- package/dist/esm/api.d.ts +74 -4
- package/dist/esm/api.js +99 -8
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -473,6 +473,19 @@ export interface AlertRuleEditRequest {
|
|
|
473
473
|
}
|
|
474
474
|
|
|
475
475
|
|
|
476
|
+
/**
|
|
477
|
+
*
|
|
478
|
+
* @export
|
|
479
|
+
* @interface AlertRuleList
|
|
480
|
+
*/
|
|
481
|
+
export interface AlertRuleList {
|
|
482
|
+
/**
|
|
483
|
+
*
|
|
484
|
+
* @type {Array<AlertRuleResponse>}
|
|
485
|
+
* @memberof AlertRuleList
|
|
486
|
+
*/
|
|
487
|
+
'results': Array<AlertRuleResponse>;
|
|
488
|
+
}
|
|
476
489
|
/**
|
|
477
490
|
*
|
|
478
491
|
* @export
|
|
@@ -563,9 +576,33 @@ export interface AlertRuleResponse {
|
|
|
563
576
|
* @memberof AlertRuleResponse
|
|
564
577
|
*/
|
|
565
578
|
'target': AlertTarget;
|
|
579
|
+
/**
|
|
580
|
+
*
|
|
581
|
+
* @type {AlertRuleState}
|
|
582
|
+
* @memberof AlertRuleResponse
|
|
583
|
+
*/
|
|
584
|
+
'state': AlertRuleState;
|
|
566
585
|
}
|
|
567
586
|
|
|
568
587
|
|
|
588
|
+
/**
|
|
589
|
+
*
|
|
590
|
+
* @export
|
|
591
|
+
* @enum {string}
|
|
592
|
+
*/
|
|
593
|
+
|
|
594
|
+
export const AlertRuleState = {
|
|
595
|
+
UNDEPLOYED: 'UNDEPLOYED',
|
|
596
|
+
OK: 'OK',
|
|
597
|
+
TRIGGERED: 'TRIGGERED',
|
|
598
|
+
FIRED: 'FIRED',
|
|
599
|
+
NOTIFIED: 'NOTIFIED',
|
|
600
|
+
SUPPRESSED: 'SUPPRESSED'
|
|
601
|
+
} as const;
|
|
602
|
+
|
|
603
|
+
export type AlertRuleState = typeof AlertRuleState[keyof typeof AlertRuleState];
|
|
604
|
+
|
|
605
|
+
|
|
569
606
|
/**
|
|
570
607
|
* Alert severity level: - WARNING: Non-critical issue requiring attention - CRITICAL: Critical issue requiring immediate action
|
|
571
608
|
* @export
|
|
@@ -19902,7 +19939,7 @@ export const AlertReceiversApiAxiosParamCreator = function (configuration?: Conf
|
|
|
19902
19939
|
getAlertReceivers: async (organizationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19903
19940
|
// verify required parameter 'organizationId' is not null or undefined
|
|
19904
19941
|
assertParamExists('getAlertReceivers', 'organizationId', organizationId)
|
|
19905
|
-
const localVarPath = `/
|
|
19942
|
+
const localVarPath = `/organization/{organizationId}/alert-receivers`
|
|
19906
19943
|
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
19907
19944
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19908
19945
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -20309,6 +20346,47 @@ export const AlertRulesApiAxiosParamCreator = function (configuration?: Configur
|
|
|
20309
20346
|
|
|
20310
20347
|
|
|
20311
20348
|
|
|
20349
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20350
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20351
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
20352
|
+
|
|
20353
|
+
return {
|
|
20354
|
+
url: toPathString(localVarUrlObj),
|
|
20355
|
+
options: localVarRequestOptions,
|
|
20356
|
+
};
|
|
20357
|
+
},
|
|
20358
|
+
/**
|
|
20359
|
+
* Retrieve all alert rules for a specific organization
|
|
20360
|
+
* @summary List alert rules
|
|
20361
|
+
* @param {string} organizationId Organization ID
|
|
20362
|
+
* @param {*} [options] Override http request option.
|
|
20363
|
+
* @throws {RequiredError}
|
|
20364
|
+
*/
|
|
20365
|
+
getAlertRules: async (organizationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20366
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
20367
|
+
assertParamExists('getAlertRules', 'organizationId', organizationId)
|
|
20368
|
+
const localVarPath = `/organization/{organizationId}/alert-rules`
|
|
20369
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
20370
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20371
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20372
|
+
let baseOptions;
|
|
20373
|
+
if (configuration) {
|
|
20374
|
+
baseOptions = configuration.baseOptions;
|
|
20375
|
+
}
|
|
20376
|
+
|
|
20377
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
20378
|
+
const localVarHeaderParameter = {} as any;
|
|
20379
|
+
const localVarQueryParameter = {} as any;
|
|
20380
|
+
|
|
20381
|
+
// authentication ApiKeyAuth required
|
|
20382
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
20383
|
+
|
|
20384
|
+
// authentication bearerAuth required
|
|
20385
|
+
// http bearer authentication required
|
|
20386
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
20387
|
+
|
|
20388
|
+
|
|
20389
|
+
|
|
20312
20390
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20313
20391
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20314
20392
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -20381,6 +20459,19 @@ export const AlertRulesApiFp = function(configuration?: Configuration) {
|
|
|
20381
20459
|
const localVarOperationServerBasePath = operationServerMap['AlertRulesApi.getAlertRule']?.[localVarOperationServerIndex]?.url;
|
|
20382
20460
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20383
20461
|
},
|
|
20462
|
+
/**
|
|
20463
|
+
* Retrieve all alert rules for a specific organization
|
|
20464
|
+
* @summary List alert rules
|
|
20465
|
+
* @param {string} organizationId Organization ID
|
|
20466
|
+
* @param {*} [options] Override http request option.
|
|
20467
|
+
* @throws {RequiredError}
|
|
20468
|
+
*/
|
|
20469
|
+
async getAlertRules(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AlertRuleList>> {
|
|
20470
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAlertRules(organizationId, options);
|
|
20471
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20472
|
+
const localVarOperationServerBasePath = operationServerMap['AlertRulesApi.getAlertRules']?.[localVarOperationServerIndex]?.url;
|
|
20473
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20474
|
+
},
|
|
20384
20475
|
}
|
|
20385
20476
|
};
|
|
20386
20477
|
|
|
@@ -20432,6 +20523,16 @@ export const AlertRulesApiFactory = function (configuration?: Configuration, bas
|
|
|
20432
20523
|
getAlertRule(alertRuleId: string, options?: RawAxiosRequestConfig): AxiosPromise<AlertRuleResponse> {
|
|
20433
20524
|
return localVarFp.getAlertRule(alertRuleId, options).then((request) => request(axios, basePath));
|
|
20434
20525
|
},
|
|
20526
|
+
/**
|
|
20527
|
+
* Retrieve all alert rules for a specific organization
|
|
20528
|
+
* @summary List alert rules
|
|
20529
|
+
* @param {string} organizationId Organization ID
|
|
20530
|
+
* @param {*} [options] Override http request option.
|
|
20531
|
+
* @throws {RequiredError}
|
|
20532
|
+
*/
|
|
20533
|
+
getAlertRules(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<AlertRuleList> {
|
|
20534
|
+
return localVarFp.getAlertRules(organizationId, options).then((request) => request(axios, basePath));
|
|
20535
|
+
},
|
|
20435
20536
|
};
|
|
20436
20537
|
};
|
|
20437
20538
|
|
|
@@ -20490,6 +20591,18 @@ export class AlertRulesApi extends BaseAPI {
|
|
|
20490
20591
|
public getAlertRule(alertRuleId: string, options?: RawAxiosRequestConfig) {
|
|
20491
20592
|
return AlertRulesApiFp(this.configuration).getAlertRule(alertRuleId, options).then((request) => request(this.axios, this.basePath));
|
|
20492
20593
|
}
|
|
20594
|
+
|
|
20595
|
+
/**
|
|
20596
|
+
* Retrieve all alert rules for a specific organization
|
|
20597
|
+
* @summary List alert rules
|
|
20598
|
+
* @param {string} organizationId Organization ID
|
|
20599
|
+
* @param {*} [options] Override http request option.
|
|
20600
|
+
* @throws {RequiredError}
|
|
20601
|
+
* @memberof AlertRulesApi
|
|
20602
|
+
*/
|
|
20603
|
+
public getAlertRules(organizationId: string, options?: RawAxiosRequestConfig) {
|
|
20604
|
+
return AlertRulesApiFp(this.configuration).getAlertRules(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
20605
|
+
}
|
|
20493
20606
|
}
|
|
20494
20607
|
|
|
20495
20608
|
|
|
@@ -30351,10 +30464,11 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
30351
30464
|
* @param {string} [step]
|
|
30352
30465
|
* @param {string} [interval]
|
|
30353
30466
|
* @param {string} [direction]
|
|
30467
|
+
* @param {string} [time]
|
|
30354
30468
|
* @param {*} [options] Override http request option.
|
|
30355
30469
|
* @throws {RequiredError}
|
|
30356
30470
|
*/
|
|
30357
|
-
getClusterLogs: async (clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30471
|
+
getClusterLogs: async (clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, time?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30358
30472
|
// verify required parameter 'clusterId' is not null or undefined
|
|
30359
30473
|
assertParamExists('getClusterLogs', 'clusterId', clusterId)
|
|
30360
30474
|
// verify required parameter 'endpoint' is not null or undefined
|
|
@@ -30417,6 +30531,10 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
30417
30531
|
localVarQueryParameter['direction'] = direction;
|
|
30418
30532
|
}
|
|
30419
30533
|
|
|
30534
|
+
if (time !== undefined) {
|
|
30535
|
+
localVarQueryParameter['time'] = time;
|
|
30536
|
+
}
|
|
30537
|
+
|
|
30420
30538
|
|
|
30421
30539
|
|
|
30422
30540
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -31386,11 +31504,12 @@ export const ClustersApiFp = function(configuration?: Configuration) {
|
|
|
31386
31504
|
* @param {string} [step]
|
|
31387
31505
|
* @param {string} [interval]
|
|
31388
31506
|
* @param {string} [direction]
|
|
31507
|
+
* @param {string} [time]
|
|
31389
31508
|
* @param {*} [options] Override http request option.
|
|
31390
31509
|
* @throws {RequiredError}
|
|
31391
31510
|
*/
|
|
31392
|
-
async 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>> {
|
|
31393
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options);
|
|
31511
|
+
async getClusterLogs(clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, time?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterLogsResponse>> {
|
|
31512
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, time, options);
|
|
31394
31513
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
31395
31514
|
const localVarOperationServerBasePath = operationServerMap['ClustersApi.getClusterLogs']?.[localVarOperationServerIndex]?.url;
|
|
31396
31515
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -31774,11 +31893,12 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
|
|
|
31774
31893
|
* @param {string} [step]
|
|
31775
31894
|
* @param {string} [interval]
|
|
31776
31895
|
* @param {string} [direction]
|
|
31896
|
+
* @param {string} [time]
|
|
31777
31897
|
* @param {*} [options] Override http request option.
|
|
31778
31898
|
* @throws {RequiredError}
|
|
31779
31899
|
*/
|
|
31780
|
-
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> {
|
|
31781
|
-
return localVarFp.getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options).then((request) => request(axios, basePath));
|
|
31900
|
+
getClusterLogs(clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, time?: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterLogsResponse> {
|
|
31901
|
+
return localVarFp.getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, time, options).then((request) => request(axios, basePath));
|
|
31782
31902
|
},
|
|
31783
31903
|
/**
|
|
31784
31904
|
* Fetch cluster metrics.
|
|
@@ -32131,12 +32251,13 @@ export class ClustersApi extends BaseAPI {
|
|
|
32131
32251
|
* @param {string} [step]
|
|
32132
32252
|
* @param {string} [interval]
|
|
32133
32253
|
* @param {string} [direction]
|
|
32254
|
+
* @param {string} [time]
|
|
32134
32255
|
* @param {*} [options] Override http request option.
|
|
32135
32256
|
* @throws {RequiredError}
|
|
32136
32257
|
* @memberof ClustersApi
|
|
32137
32258
|
*/
|
|
32138
|
-
public getClusterLogs(clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, options?: RawAxiosRequestConfig) {
|
|
32139
|
-
return ClustersApiFp(this.configuration).getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options).then((request) => request(this.axios, this.basePath));
|
|
32259
|
+
public getClusterLogs(clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, time?: string, options?: RawAxiosRequestConfig) {
|
|
32260
|
+
return ClustersApiFp(this.configuration).getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, time, options).then((request) => request(this.axios, this.basePath));
|
|
32140
32261
|
}
|
|
32141
32262
|
|
|
32142
32263
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -438,6 +438,19 @@ export interface AlertRuleEditRequest {
|
|
|
438
438
|
*/
|
|
439
439
|
'presentation': AlertPresentation;
|
|
440
440
|
}
|
|
441
|
+
/**
|
|
442
|
+
*
|
|
443
|
+
* @export
|
|
444
|
+
* @interface AlertRuleList
|
|
445
|
+
*/
|
|
446
|
+
export interface AlertRuleList {
|
|
447
|
+
/**
|
|
448
|
+
*
|
|
449
|
+
* @type {Array<AlertRuleResponse>}
|
|
450
|
+
* @memberof AlertRuleList
|
|
451
|
+
*/
|
|
452
|
+
'results': Array<AlertRuleResponse>;
|
|
453
|
+
}
|
|
441
454
|
/**
|
|
442
455
|
*
|
|
443
456
|
* @export
|
|
@@ -528,7 +541,27 @@ export interface AlertRuleResponse {
|
|
|
528
541
|
* @memberof AlertRuleResponse
|
|
529
542
|
*/
|
|
530
543
|
'target': AlertTarget;
|
|
544
|
+
/**
|
|
545
|
+
*
|
|
546
|
+
* @type {AlertRuleState}
|
|
547
|
+
* @memberof AlertRuleResponse
|
|
548
|
+
*/
|
|
549
|
+
'state': AlertRuleState;
|
|
531
550
|
}
|
|
551
|
+
/**
|
|
552
|
+
*
|
|
553
|
+
* @export
|
|
554
|
+
* @enum {string}
|
|
555
|
+
*/
|
|
556
|
+
export declare const AlertRuleState: {
|
|
557
|
+
readonly UNDEPLOYED: "UNDEPLOYED";
|
|
558
|
+
readonly OK: "OK";
|
|
559
|
+
readonly TRIGGERED: "TRIGGERED";
|
|
560
|
+
readonly FIRED: "FIRED";
|
|
561
|
+
readonly NOTIFIED: "NOTIFIED";
|
|
562
|
+
readonly SUPPRESSED: "SUPPRESSED";
|
|
563
|
+
};
|
|
564
|
+
export type AlertRuleState = typeof AlertRuleState[keyof typeof AlertRuleState];
|
|
532
565
|
/**
|
|
533
566
|
* Alert severity level: - WARNING: Non-critical issue requiring attention - CRITICAL: Critical issue requiring immediate action
|
|
534
567
|
* @export
|
|
@@ -19218,6 +19251,14 @@ export declare const AlertRulesApiAxiosParamCreator: (configuration?: Configurat
|
|
|
19218
19251
|
* @throws {RequiredError}
|
|
19219
19252
|
*/
|
|
19220
19253
|
getAlertRule: (alertRuleId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19254
|
+
/**
|
|
19255
|
+
* Retrieve all alert rules for a specific organization
|
|
19256
|
+
* @summary List alert rules
|
|
19257
|
+
* @param {string} organizationId Organization ID
|
|
19258
|
+
* @param {*} [options] Override http request option.
|
|
19259
|
+
* @throws {RequiredError}
|
|
19260
|
+
*/
|
|
19261
|
+
getAlertRules: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19221
19262
|
};
|
|
19222
19263
|
/**
|
|
19223
19264
|
* AlertRulesApi - functional programming interface
|
|
@@ -19257,6 +19298,14 @@ export declare const AlertRulesApiFp: (configuration?: Configuration) => {
|
|
|
19257
19298
|
* @throws {RequiredError}
|
|
19258
19299
|
*/
|
|
19259
19300
|
getAlertRule(alertRuleId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AlertRuleResponse>>;
|
|
19301
|
+
/**
|
|
19302
|
+
* Retrieve all alert rules for a specific organization
|
|
19303
|
+
* @summary List alert rules
|
|
19304
|
+
* @param {string} organizationId Organization ID
|
|
19305
|
+
* @param {*} [options] Override http request option.
|
|
19306
|
+
* @throws {RequiredError}
|
|
19307
|
+
*/
|
|
19308
|
+
getAlertRules(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AlertRuleList>>;
|
|
19260
19309
|
};
|
|
19261
19310
|
/**
|
|
19262
19311
|
* AlertRulesApi - factory interface
|
|
@@ -19296,6 +19345,14 @@ export declare const AlertRulesApiFactory: (configuration?: Configuration, baseP
|
|
|
19296
19345
|
* @throws {RequiredError}
|
|
19297
19346
|
*/
|
|
19298
19347
|
getAlertRule(alertRuleId: string, options?: RawAxiosRequestConfig): AxiosPromise<AlertRuleResponse>;
|
|
19348
|
+
/**
|
|
19349
|
+
* Retrieve all alert rules for a specific organization
|
|
19350
|
+
* @summary List alert rules
|
|
19351
|
+
* @param {string} organizationId Organization ID
|
|
19352
|
+
* @param {*} [options] Override http request option.
|
|
19353
|
+
* @throws {RequiredError}
|
|
19354
|
+
*/
|
|
19355
|
+
getAlertRules(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<AlertRuleList>;
|
|
19299
19356
|
};
|
|
19300
19357
|
/**
|
|
19301
19358
|
* AlertRulesApi - object-oriented interface
|
|
@@ -19341,6 +19398,15 @@ export declare class AlertRulesApi extends BaseAPI {
|
|
|
19341
19398
|
* @memberof AlertRulesApi
|
|
19342
19399
|
*/
|
|
19343
19400
|
getAlertRule(alertRuleId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AlertRuleResponse, any, {}>>;
|
|
19401
|
+
/**
|
|
19402
|
+
* Retrieve all alert rules for a specific organization
|
|
19403
|
+
* @summary List alert rules
|
|
19404
|
+
* @param {string} organizationId Organization ID
|
|
19405
|
+
* @param {*} [options] Override http request option.
|
|
19406
|
+
* @throws {RequiredError}
|
|
19407
|
+
* @memberof AlertRulesApi
|
|
19408
|
+
*/
|
|
19409
|
+
getAlertRules(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AlertRuleList, any, {}>>;
|
|
19344
19410
|
}
|
|
19345
19411
|
/**
|
|
19346
19412
|
* ApplicationActionsApi - axios parameter creator
|
|
@@ -23708,10 +23774,11 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
23708
23774
|
* @param {string} [step]
|
|
23709
23775
|
* @param {string} [interval]
|
|
23710
23776
|
* @param {string} [direction]
|
|
23777
|
+
* @param {string} [time]
|
|
23711
23778
|
* @param {*} [options] Override http request option.
|
|
23712
23779
|
* @throws {RequiredError}
|
|
23713
23780
|
*/
|
|
23714
|
-
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>;
|
|
23781
|
+
getClusterLogs: (clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, time?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23715
23782
|
/**
|
|
23716
23783
|
* Fetch cluster metrics.
|
|
23717
23784
|
* @summary Fetch cluster metrics
|
|
@@ -23987,10 +24054,11 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
23987
24054
|
* @param {string} [step]
|
|
23988
24055
|
* @param {string} [interval]
|
|
23989
24056
|
* @param {string} [direction]
|
|
24057
|
+
* @param {string} [time]
|
|
23990
24058
|
* @param {*} [options] Override http request option.
|
|
23991
24059
|
* @throws {RequiredError}
|
|
23992
24060
|
*/
|
|
23993
|
-
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>>;
|
|
24061
|
+
getClusterLogs(clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, time?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterLogsResponse>>;
|
|
23994
24062
|
/**
|
|
23995
24063
|
* Fetch cluster metrics.
|
|
23996
24064
|
* @summary Fetch cluster metrics
|
|
@@ -24266,10 +24334,11 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
24266
24334
|
* @param {string} [step]
|
|
24267
24335
|
* @param {string} [interval]
|
|
24268
24336
|
* @param {string} [direction]
|
|
24337
|
+
* @param {string} [time]
|
|
24269
24338
|
* @param {*} [options] Override http request option.
|
|
24270
24339
|
* @throws {RequiredError}
|
|
24271
24340
|
*/
|
|
24272
|
-
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>;
|
|
24341
|
+
getClusterLogs(clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, time?: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterLogsResponse>;
|
|
24273
24342
|
/**
|
|
24274
24343
|
* Fetch cluster metrics.
|
|
24275
24344
|
* @summary Fetch cluster metrics
|
|
@@ -24557,11 +24626,12 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
24557
24626
|
* @param {string} [step]
|
|
24558
24627
|
* @param {string} [interval]
|
|
24559
24628
|
* @param {string} [direction]
|
|
24629
|
+
* @param {string} [time]
|
|
24560
24630
|
* @param {*} [options] Override http request option.
|
|
24561
24631
|
* @throws {RequiredError}
|
|
24562
24632
|
* @memberof ClustersApi
|
|
24563
24633
|
*/
|
|
24564
|
-
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, {}>>;
|
|
24634
|
+
getClusterLogs(clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, time?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterLogsResponse, any, {}>>;
|
|
24565
24635
|
/**
|
|
24566
24636
|
* Fetch cluster metrics.
|
|
24567
24637
|
* @summary Fetch cluster metrics
|
package/dist/api.js
CHANGED
|
@@ -22,16 +22,16 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.VariableMainCallsApi = exports.VariableMainCallsApiFactory = exports.VariableMainCallsApiFp = exports.VariableMainCallsApiAxiosParamCreator = exports.UserSignUpApi = exports.UserSignUpApiFactory = exports.UserSignUpApiFp = exports.UserSignUpApiAxiosParamCreator = exports.TerraformsApi = exports.TerraformsApiFactory = exports.TerraformsApiFp = exports.TerraformsApiAxiosParamCreator = exports.TerraformMainCallsApi = exports.TerraformMainCallsApiFactory = exports.TerraformMainCallsApiFp = exports.TerraformMainCallsApiAxiosParamCreator = exports.TerraformDeploymentRestrictionApi = exports.TerraformDeploymentRestrictionApiFactory = exports.TerraformDeploymentRestrictionApiFp = exports.TerraformDeploymentRestrictionApiAxiosParamCreator = exports.TerraformDeploymentHistoryApi = void 0;
|
|
25
|
+
exports.GitProviderEnum = exports.GenericClusterCredentialsObjectTypeEnum = exports.GcpStaticClusterCredentialsObjectTypeEnum = exports.EnvironmentStatusEventOriginEnum = exports.EnvironmentModeEnum = exports.EnvironmentLogTypeEnum = exports.EnvironmentDeploymentStatusEnum = exports.EksInfrastructureOutputsKindEnum = exports.DeploymentRestrictionTypeEnum = exports.DeploymentRestrictionModeEnum = exports.DeploymentHistoryTriggerAction = exports.DeploymentHistoryStatusEnum = exports.DeploymentHistoryServiceDetailsOneOf2JobTypeEnum = exports.DeploymentHistoryActionStatus = exports.DeleteTerraformAction = exports.DatabaseTypeEnum = exports.DatabaseModeEnum = exports.DatabaseAccessibilityEnum = exports.CustomDomainStatusEnum = exports.CreateEnvironmentModeEnum = exports.CpuArchitectureEnum = exports.ContainerRegistryKindEnum = exports.ContainerRegistryAssociatedServiceType = exports.ContainerAdvancedSettingsDeploymentUpdateStrategyTypeEnum = exports.ContainerAdvancedSettingsDeploymentAntiaffinityPodEnum = exports.CompanySizeEnum = exports.ClusterStateEnum = exports.ClusterLogsStepEnum = exports.ClusterFeatureResponseTypeEnum = exports.ClusterFeatureResponseValueTypeEnum = exports.ClusterDeploymentStatusEnum = exports.ClusterDeleteMode = exports.ClusterAdvancedSettingsAwsEksEc2MetadataImdsEnum = exports.CloudVendorEnum = exports.CloudProviderEnum = exports.CheckedCustomDomainStatus = exports.BuildModeEnum = exports.AzureStaticClusterCredentialsObjectTypeEnum = exports.AwsStaticClusterCredentialsObjectTypeEnum = exports.AwsRoleClusterCredentialsObjectTypeEnum = exports.ApplicationAdvancedSettingsDeploymentUpdateStrategyTypeEnum = exports.ApplicationAdvancedSettingsDeploymentAntiaffinityPodEnum = exports.AnnotationsGroupAssociatedItemType = exports.AlertTargetType = exports.AlertSeverity = exports.AlertRuleState = exports.AlertReceiverType = exports.AksInfrastructureOutputsKindEnum = exports.APIVariableTypeEnum = exports.APIVariableScopeEnum = void 0;
|
|
26
|
+
exports.StorageTypeEnum = exports.StepMetricStatusEnum = exports.StatusKindEnum = exports.StateEnum = exports.StageStepMetricNameEnum = exports.StageStatusEnum = exports.ServiceTypeForVariableEnum = exports.ServiceTypeEnum = exports.ServiceSubActionEnum = exports.ServiceStepMetricNameEnum = exports.ServiceLightResponseJobTypeEnum = exports.ServiceDeploymentStatusEnum = exports.ServiceActionStatusEnum = exports.ServiceActionEnum = exports.ScalewayClusterCredentialsObjectTypeEnum = exports.RewardClaimTypeEnum = exports.RegistryMirroringModeEnum = exports.QueuedDeploymentRequestWithStagesStagesInnerServicesInnerDetailsOneOfJobTypeEnum = exports.PortProtocolEnum = exports.PlanEnum = exports.OrganizationWebhookKindEnum = exports.OrganizationWebhookEventEnum = exports.OrganizationEventType = exports.OrganizationEventTargetType = exports.OrganizationEventSubTargetType = exports.OrganizationEventOrigin = exports.OrganizationCustomRoleProjectPermission = exports.OrganizationCustomRoleClusterPermission = exports.OrganizationApiTokenScope = exports.OrganizationAnnotationsGroupScopeEnum = exports.MetricsConfigurationManagedByQoveryKindEnum = exports.LinkedServiceTypeEnum = exports.LabelsGroupAssociatedItemType = exports.KubernetesEnum = exports.KarpenterNodePoolRequirementOperator = exports.KarpenterNodePoolRequirementKey = exports.KapsuleInfrastructureOutputsKindEnum = exports.JobTypeEnum = exports.JobScheduleEvent = exports.JobLifecycleTypeEnum = exports.JobForceEvent = exports.InvoiceStatusEnum = exports.InviteStatusEnum = exports.InviteMemberRoleEnum = exports.HelmRepositoryKindEnum = exports.HelmRepositoryAssociatedServiceType = exports.HelmPortProtocolEnum = exports.HelmForceEvent = exports.GkeInfrastructureOutputsKindEnum = exports.GitTokenAssociatedServiceType = void 0;
|
|
27
|
+
exports.ApplicationSecretApiAxiosParamCreator = exports.ApplicationMainCallsApi = exports.ApplicationMainCallsApiFactory = exports.ApplicationMainCallsApiFp = exports.ApplicationMainCallsApiAxiosParamCreator = exports.ApplicationLogsApi = exports.ApplicationLogsApiFactory = exports.ApplicationLogsApiFp = exports.ApplicationLogsApiAxiosParamCreator = exports.ApplicationEnvironmentVariableApi = exports.ApplicationEnvironmentVariableApiFactory = exports.ApplicationEnvironmentVariableApiFp = exports.ApplicationEnvironmentVariableApiAxiosParamCreator = exports.ApplicationDeploymentRestrictionApi = exports.ApplicationDeploymentRestrictionApiFactory = exports.ApplicationDeploymentRestrictionApiFp = exports.ApplicationDeploymentRestrictionApiAxiosParamCreator = exports.ApplicationDeploymentHistoryApi = exports.ApplicationDeploymentHistoryApiFactory = exports.ApplicationDeploymentHistoryApiFp = exports.ApplicationDeploymentHistoryApiAxiosParamCreator = exports.ApplicationCustomDomainApi = exports.ApplicationCustomDomainApiFactory = exports.ApplicationCustomDomainApiFp = exports.ApplicationCustomDomainApiAxiosParamCreator = exports.ApplicationConfigurationApi = exports.ApplicationConfigurationApiFactory = exports.ApplicationConfigurationApiFp = exports.ApplicationConfigurationApiAxiosParamCreator = exports.ApplicationActionsApi = exports.ApplicationActionsApiFactory = exports.ApplicationActionsApiFp = exports.ApplicationActionsApiAxiosParamCreator = exports.AlertRulesApi = exports.AlertRulesApiFactory = exports.AlertRulesApiFp = exports.AlertRulesApiAxiosParamCreator = exports.AlertReceiversApi = exports.AlertReceiversApiFactory = exports.AlertReceiversApiFp = exports.AlertReceiversApiAxiosParamCreator = exports.AccountInfoApi = exports.AccountInfoApiFactory = exports.AccountInfoApiFp = exports.AccountInfoApiAxiosParamCreator = exports.WeekdayEnum = exports.TypeOfUseEnum = exports.TerraformResponseProviderEnum = exports.TerraformRequestProviderEnum = exports.TerraformDeployRequestActionEnum = void 0;
|
|
28
|
+
exports.ContainerLogsApiAxiosParamCreator = exports.ContainerEnvironmentVariableApi = exports.ContainerEnvironmentVariableApiFactory = exports.ContainerEnvironmentVariableApiFp = exports.ContainerEnvironmentVariableApiAxiosParamCreator = exports.ContainerDeploymentHistoryApi = exports.ContainerDeploymentHistoryApiFactory = exports.ContainerDeploymentHistoryApiFp = exports.ContainerDeploymentHistoryApiAxiosParamCreator = exports.ContainerCustomDomainApi = exports.ContainerCustomDomainApiFactory = exports.ContainerCustomDomainApiFp = exports.ContainerCustomDomainApiAxiosParamCreator = exports.ContainerConfigurationApi = exports.ContainerConfigurationApiFactory = exports.ContainerConfigurationApiFp = exports.ContainerConfigurationApiAxiosParamCreator = exports.ContainerActionsApi = exports.ContainerActionsApiFactory = exports.ContainerActionsApiFp = exports.ContainerActionsApiAxiosParamCreator = exports.ClustersApi = exports.ClustersApiFactory = exports.ClustersApiFp = exports.ClustersApiAxiosParamCreator = exports.CloudProviderCredentialsApi = exports.CloudProviderCredentialsApiFactory = exports.CloudProviderCredentialsApiFp = exports.CloudProviderCredentialsApiAxiosParamCreator = exports.ListAzureAKSInstanceTypeGpuEnum = exports.ListAWSEKSInstanceTypeGpuEnum = exports.CloudProviderApi = exports.CloudProviderApiFactory = exports.CloudProviderApiFp = exports.CloudProviderApiAxiosParamCreator = exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = exports.BillingApiAxiosParamCreator = exports.BackupsApi = exports.BackupsApiFactory = exports.BackupsApiFp = exports.BackupsApiAxiosParamCreator = exports.ApplicationsApi = exports.ApplicationsApiFactory = exports.ApplicationsApiFp = exports.ApplicationsApiAxiosParamCreator = exports.ApplicationSecretApi = exports.ApplicationSecretApiFactory = exports.ApplicationSecretApiFp = void 0;
|
|
29
|
+
exports.DeploymentStageMainCallsApiFactory = exports.DeploymentStageMainCallsApiFp = exports.DeploymentStageMainCallsApiAxiosParamCreator = exports.DeploymentQueueActionsApi = exports.DeploymentQueueActionsApiFactory = exports.DeploymentQueueActionsApiFp = exports.DeploymentQueueActionsApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.DatabasesApi = exports.DatabasesApiFactory = exports.DatabasesApiFp = exports.DatabasesApiAxiosParamCreator = exports.DatabaseMainCallsApi = exports.DatabaseMainCallsApiFactory = exports.DatabaseMainCallsApiFp = exports.DatabaseMainCallsApiAxiosParamCreator = exports.DatabaseDeploymentHistoryApi = exports.DatabaseDeploymentHistoryApiFactory = exports.DatabaseDeploymentHistoryApiFp = exports.DatabaseDeploymentHistoryApiAxiosParamCreator = exports.DatabaseApplicationApi = exports.DatabaseApplicationApiFactory = exports.DatabaseApplicationApiFp = exports.DatabaseApplicationApiAxiosParamCreator = exports.DatabaseActionsApi = exports.DatabaseActionsApiFactory = exports.DatabaseActionsApiFp = exports.DatabaseActionsApiAxiosParamCreator = exports.ContainersApi = exports.ContainersApiFactory = exports.ContainersApiFp = exports.ContainersApiAxiosParamCreator = exports.ContainerSecretApi = exports.ContainerSecretApiFactory = exports.ContainerSecretApiFp = exports.ContainerSecretApiAxiosParamCreator = exports.ContainerRegistriesApi = exports.ContainerRegistriesApiFactory = exports.ContainerRegistriesApiFp = exports.ContainerRegistriesApiAxiosParamCreator = exports.ContainerMainCallsApi = exports.ContainerMainCallsApiFactory = exports.ContainerMainCallsApiFp = exports.ContainerMainCallsApiAxiosParamCreator = exports.ContainerLogsApi = exports.ContainerLogsApiFactory = exports.ContainerLogsApiFp = void 0;
|
|
30
|
+
exports.HelmActionsApiAxiosParamCreator = exports.GithubAppApi = exports.GithubAppApiFactory = exports.GithubAppApiFp = exports.GithubAppApiAxiosParamCreator = exports.GitRepositoriesApi = exports.GitRepositoriesApiFactory = exports.GitRepositoriesApiFp = exports.GitRepositoriesApiAxiosParamCreator = exports.EnvironmentsApi = exports.EnvironmentsApiFactory = exports.EnvironmentsApiFp = exports.EnvironmentsApiAxiosParamCreator = exports.EnvironmentVariableApi = exports.EnvironmentVariableApiFactory = exports.EnvironmentVariableApiFp = exports.EnvironmentVariableApiAxiosParamCreator = exports.EnvironmentSecretApi = exports.EnvironmentSecretApiFactory = exports.EnvironmentSecretApiFp = exports.EnvironmentSecretApiAxiosParamCreator = exports.EnvironmentMainCallsApi = exports.EnvironmentMainCallsApiFactory = exports.EnvironmentMainCallsApiFp = exports.EnvironmentMainCallsApiAxiosParamCreator = exports.EnvironmentLogsApi = exports.EnvironmentLogsApiFactory = exports.EnvironmentLogsApiFp = exports.EnvironmentLogsApiAxiosParamCreator = exports.EnvironmentExportApi = exports.EnvironmentExportApiFactory = exports.EnvironmentExportApiFp = exports.EnvironmentExportApiAxiosParamCreator = exports.EnvironmentDeploymentRuleApi = exports.EnvironmentDeploymentRuleApiFactory = exports.EnvironmentDeploymentRuleApiFp = exports.EnvironmentDeploymentRuleApiAxiosParamCreator = exports.EnvironmentDeploymentHistoryApi = exports.EnvironmentDeploymentHistoryApiFactory = exports.EnvironmentDeploymentHistoryApiFp = exports.EnvironmentDeploymentHistoryApiAxiosParamCreator = exports.EnvironmentActionsApi = exports.EnvironmentActionsApiFactory = exports.EnvironmentActionsApiFp = exports.EnvironmentActionsApiAxiosParamCreator = exports.EnvironmentApi = exports.EnvironmentApiFactory = exports.EnvironmentApiFp = exports.EnvironmentApiAxiosParamCreator = exports.DeploymentStageMainCallsApi = void 0;
|
|
31
|
+
exports.JobEnvironmentVariableApiFactory = exports.JobEnvironmentVariableApiFp = exports.JobEnvironmentVariableApiAxiosParamCreator = exports.JobDeploymentRestrictionApi = exports.JobDeploymentRestrictionApiFactory = exports.JobDeploymentRestrictionApiFp = exports.JobDeploymentRestrictionApiAxiosParamCreator = exports.JobDeploymentHistoryApi = exports.JobDeploymentHistoryApiFactory = exports.JobDeploymentHistoryApiFp = exports.JobDeploymentHistoryApiAxiosParamCreator = exports.JobConfigurationApi = exports.JobConfigurationApiFactory = exports.JobConfigurationApiFp = exports.JobConfigurationApiAxiosParamCreator = exports.JobActionsApi = exports.JobActionsApiFactory = exports.JobActionsApiFp = exports.JobActionsApiAxiosParamCreator = exports.HelmsApi = exports.HelmsApiFactory = exports.HelmsApiFp = exports.HelmsApiAxiosParamCreator = exports.HelmRepositoriesApi = exports.HelmRepositoriesApiFactory = exports.HelmRepositoriesApiFp = exports.HelmRepositoriesApiAxiosParamCreator = exports.HelmMainCallsApi = exports.HelmMainCallsApiFactory = exports.HelmMainCallsApiFp = exports.HelmMainCallsApiAxiosParamCreator = exports.HelmDeploymentRestrictionApi = exports.HelmDeploymentRestrictionApiFactory = exports.HelmDeploymentRestrictionApiFp = exports.HelmDeploymentRestrictionApiAxiosParamCreator = exports.HelmDeploymentHistoryApi = exports.HelmDeploymentHistoryApiFactory = exports.HelmDeploymentHistoryApiFp = exports.HelmDeploymentHistoryApiAxiosParamCreator = exports.HelmCustomDomainApi = exports.HelmCustomDomainApiFactory = exports.HelmCustomDomainApiFp = exports.HelmCustomDomainApiAxiosParamCreator = exports.HelmConfigurationApi = exports.HelmConfigurationApiFactory = exports.HelmConfigurationApiFp = exports.HelmConfigurationApiAxiosParamCreator = exports.HelmActionsApi = exports.HelmActionsApiFactory = exports.HelmActionsApiFp = void 0;
|
|
32
|
+
exports.OrganizationLabelsGroupApiAxiosParamCreator = exports.OrganizationEventApi = exports.OrganizationEventApiFactory = exports.OrganizationEventApiFp = exports.OrganizationEventApiAxiosParamCreator = exports.OrganizationEnterpriseConnectionApi = exports.OrganizationEnterpriseConnectionApiFactory = exports.OrganizationEnterpriseConnectionApiFp = exports.OrganizationEnterpriseConnectionApiAxiosParamCreator = exports.OrganizationCustomRoleApi = exports.OrganizationCustomRoleApiFactory = exports.OrganizationCustomRoleApiFp = exports.OrganizationCustomRoleApiAxiosParamCreator = exports.OrganizationClusterLockApi = exports.OrganizationClusterLockApiFactory = exports.OrganizationClusterLockApiFp = exports.OrganizationClusterLockApiAxiosParamCreator = exports.OrganizationApiTokenApi = exports.OrganizationApiTokenApiFactory = exports.OrganizationApiTokenApiFp = exports.OrganizationApiTokenApiAxiosParamCreator = exports.OrganizationAnnotationsGroupApi = exports.OrganizationAnnotationsGroupApiFactory = exports.OrganizationAnnotationsGroupApiFp = exports.OrganizationAnnotationsGroupApiAxiosParamCreator = exports.OrganizationAccountGitRepositoriesApi = exports.OrganizationAccountGitRepositoriesApiFactory = exports.OrganizationAccountGitRepositoriesApiFp = exports.OrganizationAccountGitRepositoriesApiAxiosParamCreator = exports.MembersApi = exports.MembersApiFactory = exports.MembersApiFp = exports.MembersApiAxiosParamCreator = exports.LifecycleTemplateMainCallsApi = exports.LifecycleTemplateMainCallsApiFactory = exports.LifecycleTemplateMainCallsApiFp = exports.LifecycleTemplateMainCallsApiAxiosParamCreator = exports.JobsApi = exports.JobsApiFactory = exports.JobsApiFp = exports.JobsApiAxiosParamCreator = exports.JobSecretApi = exports.JobSecretApiFactory = exports.JobSecretApiFp = exports.JobSecretApiAxiosParamCreator = exports.JobMainCallsApi = exports.JobMainCallsApiFactory = exports.JobMainCallsApiFp = exports.JobMainCallsApiAxiosParamCreator = exports.JobEnvironmentVariableApi = void 0;
|
|
33
|
+
exports.TerraformDeploymentHistoryApiFp = exports.TerraformDeploymentHistoryApiAxiosParamCreator = exports.TerraformConfigurationApi = exports.TerraformConfigurationApiFactory = exports.TerraformConfigurationApiFp = exports.TerraformConfigurationApiAxiosParamCreator = exports.TerraformActionsApi = exports.TerraformActionsApiFactory = exports.TerraformActionsApiFp = exports.TerraformActionsApiAxiosParamCreator = exports.GetIngressDeploymentStatusServiceTypeEnum = exports.ServiceStatusApi = exports.ServiceStatusApiFactory = exports.ServiceStatusApiFp = exports.ServiceStatusApiAxiosParamCreator = exports.ReferralRewardsApi = exports.ReferralRewardsApiFactory = exports.ReferralRewardsApiFp = exports.ReferralRewardsApiAxiosParamCreator = exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.ProjectSecretApi = exports.ProjectSecretApiFactory = exports.ProjectSecretApiFp = exports.ProjectSecretApiAxiosParamCreator = exports.ProjectMainCallsApi = exports.ProjectMainCallsApiFactory = exports.ProjectMainCallsApiFp = exports.ProjectMainCallsApiAxiosParamCreator = exports.ProjectEnvironmentVariableApi = exports.ProjectEnvironmentVariableApiFactory = exports.ProjectEnvironmentVariableApiFp = exports.ProjectEnvironmentVariableApiAxiosParamCreator = exports.ProjectDeploymentRuleApi = exports.ProjectDeploymentRuleApiFactory = exports.ProjectDeploymentRuleApiFp = exports.ProjectDeploymentRuleApiAxiosParamCreator = exports.OrganizationWebhookApi = exports.OrganizationWebhookApiFactory = exports.OrganizationWebhookApiFp = exports.OrganizationWebhookApiAxiosParamCreator = exports.OrganizationMainCallsApi = exports.OrganizationMainCallsApiFactory = exports.OrganizationMainCallsApiFp = exports.OrganizationMainCallsApiAxiosParamCreator = exports.OrganizationLabelsGroupApi = exports.OrganizationLabelsGroupApiFactory = exports.OrganizationLabelsGroupApiFp = void 0;
|
|
34
|
+
exports.VariableMainCallsApi = exports.VariableMainCallsApiFactory = exports.VariableMainCallsApiFp = exports.VariableMainCallsApiAxiosParamCreator = exports.UserSignUpApi = exports.UserSignUpApiFactory = exports.UserSignUpApiFp = exports.UserSignUpApiAxiosParamCreator = exports.TerraformsApi = exports.TerraformsApiFactory = exports.TerraformsApiFp = exports.TerraformsApiAxiosParamCreator = exports.TerraformMainCallsApi = exports.TerraformMainCallsApiFactory = exports.TerraformMainCallsApiFp = exports.TerraformMainCallsApiAxiosParamCreator = exports.TerraformDeploymentRestrictionApi = exports.TerraformDeploymentRestrictionApiFactory = exports.TerraformDeploymentRestrictionApiFp = exports.TerraformDeploymentRestrictionApiAxiosParamCreator = exports.TerraformDeploymentHistoryApi = exports.TerraformDeploymentHistoryApiFactory = void 0;
|
|
35
35
|
const axios_1 = require("axios");
|
|
36
36
|
// Some imports not used depending on template conditions
|
|
37
37
|
// @ts-ignore
|
|
@@ -76,6 +76,19 @@ exports.AksInfrastructureOutputsKindEnum = {
|
|
|
76
76
|
exports.AlertReceiverType = {
|
|
77
77
|
SLACK: 'SLACK'
|
|
78
78
|
};
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @export
|
|
82
|
+
* @enum {string}
|
|
83
|
+
*/
|
|
84
|
+
exports.AlertRuleState = {
|
|
85
|
+
UNDEPLOYED: 'UNDEPLOYED',
|
|
86
|
+
OK: 'OK',
|
|
87
|
+
TRIGGERED: 'TRIGGERED',
|
|
88
|
+
FIRED: 'FIRED',
|
|
89
|
+
NOTIFIED: 'NOTIFIED',
|
|
90
|
+
SUPPRESSED: 'SUPPRESSED'
|
|
91
|
+
};
|
|
79
92
|
/**
|
|
80
93
|
* Alert severity level: - WARNING: Non-critical issue requiring attention - CRITICAL: Critical issue requiring immediate action
|
|
81
94
|
* @export
|
|
@@ -1481,7 +1494,7 @@ const AlertReceiversApiAxiosParamCreator = function (configuration) {
|
|
|
1481
1494
|
getAlertReceivers: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
|
|
1482
1495
|
// verify required parameter 'organizationId' is not null or undefined
|
|
1483
1496
|
(0, common_1.assertParamExists)('getAlertReceivers', 'organizationId', organizationId);
|
|
1484
|
-
const localVarPath = `/
|
|
1497
|
+
const localVarPath = `/organization/{organizationId}/alert-receivers`
|
|
1485
1498
|
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
1486
1499
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1487
1500
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -1869,6 +1882,40 @@ const AlertRulesApiAxiosParamCreator = function (configuration) {
|
|
|
1869
1882
|
options: localVarRequestOptions,
|
|
1870
1883
|
};
|
|
1871
1884
|
}),
|
|
1885
|
+
/**
|
|
1886
|
+
* Retrieve all alert rules for a specific organization
|
|
1887
|
+
* @summary List alert rules
|
|
1888
|
+
* @param {string} organizationId Organization ID
|
|
1889
|
+
* @param {*} [options] Override http request option.
|
|
1890
|
+
* @throws {RequiredError}
|
|
1891
|
+
*/
|
|
1892
|
+
getAlertRules: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
|
|
1893
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
1894
|
+
(0, common_1.assertParamExists)('getAlertRules', 'organizationId', organizationId);
|
|
1895
|
+
const localVarPath = `/organization/{organizationId}/alert-rules`
|
|
1896
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
1897
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1898
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1899
|
+
let baseOptions;
|
|
1900
|
+
if (configuration) {
|
|
1901
|
+
baseOptions = configuration.baseOptions;
|
|
1902
|
+
}
|
|
1903
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1904
|
+
const localVarHeaderParameter = {};
|
|
1905
|
+
const localVarQueryParameter = {};
|
|
1906
|
+
// authentication ApiKeyAuth required
|
|
1907
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1908
|
+
// authentication bearerAuth required
|
|
1909
|
+
// http bearer authentication required
|
|
1910
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1911
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1912
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1913
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1914
|
+
return {
|
|
1915
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1916
|
+
options: localVarRequestOptions,
|
|
1917
|
+
};
|
|
1918
|
+
}),
|
|
1872
1919
|
};
|
|
1873
1920
|
};
|
|
1874
1921
|
exports.AlertRulesApiAxiosParamCreator = AlertRulesApiAxiosParamCreator;
|
|
@@ -1944,6 +1991,22 @@ const AlertRulesApiFp = function (configuration) {
|
|
|
1944
1991
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1945
1992
|
});
|
|
1946
1993
|
},
|
|
1994
|
+
/**
|
|
1995
|
+
* Retrieve all alert rules for a specific organization
|
|
1996
|
+
* @summary List alert rules
|
|
1997
|
+
* @param {string} organizationId Organization ID
|
|
1998
|
+
* @param {*} [options] Override http request option.
|
|
1999
|
+
* @throws {RequiredError}
|
|
2000
|
+
*/
|
|
2001
|
+
getAlertRules(organizationId, options) {
|
|
2002
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2003
|
+
var _a, _b, _c;
|
|
2004
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAlertRules(organizationId, options);
|
|
2005
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2006
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AlertRulesApi.getAlertRules']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2007
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2008
|
+
});
|
|
2009
|
+
},
|
|
1947
2010
|
};
|
|
1948
2011
|
};
|
|
1949
2012
|
exports.AlertRulesApiFp = AlertRulesApiFp;
|
|
@@ -1995,6 +2058,16 @@ const AlertRulesApiFactory = function (configuration, basePath, axios) {
|
|
|
1995
2058
|
getAlertRule(alertRuleId, options) {
|
|
1996
2059
|
return localVarFp.getAlertRule(alertRuleId, options).then((request) => request(axios, basePath));
|
|
1997
2060
|
},
|
|
2061
|
+
/**
|
|
2062
|
+
* Retrieve all alert rules for a specific organization
|
|
2063
|
+
* @summary List alert rules
|
|
2064
|
+
* @param {string} organizationId Organization ID
|
|
2065
|
+
* @param {*} [options] Override http request option.
|
|
2066
|
+
* @throws {RequiredError}
|
|
2067
|
+
*/
|
|
2068
|
+
getAlertRules(organizationId, options) {
|
|
2069
|
+
return localVarFp.getAlertRules(organizationId, options).then((request) => request(axios, basePath));
|
|
2070
|
+
},
|
|
1998
2071
|
};
|
|
1999
2072
|
};
|
|
2000
2073
|
exports.AlertRulesApiFactory = AlertRulesApiFactory;
|
|
@@ -2050,6 +2123,17 @@ class AlertRulesApi extends base_1.BaseAPI {
|
|
|
2050
2123
|
getAlertRule(alertRuleId, options) {
|
|
2051
2124
|
return (0, exports.AlertRulesApiFp)(this.configuration).getAlertRule(alertRuleId, options).then((request) => request(this.axios, this.basePath));
|
|
2052
2125
|
}
|
|
2126
|
+
/**
|
|
2127
|
+
* Retrieve all alert rules for a specific organization
|
|
2128
|
+
* @summary List alert rules
|
|
2129
|
+
* @param {string} organizationId Organization ID
|
|
2130
|
+
* @param {*} [options] Override http request option.
|
|
2131
|
+
* @throws {RequiredError}
|
|
2132
|
+
* @memberof AlertRulesApi
|
|
2133
|
+
*/
|
|
2134
|
+
getAlertRules(organizationId, options) {
|
|
2135
|
+
return (0, exports.AlertRulesApiFp)(this.configuration).getAlertRules(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
2136
|
+
}
|
|
2053
2137
|
}
|
|
2054
2138
|
exports.AlertRulesApi = AlertRulesApi;
|
|
2055
2139
|
/**
|
|
@@ -11218,10 +11302,11 @@ const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
11218
11302
|
* @param {string} [step]
|
|
11219
11303
|
* @param {string} [interval]
|
|
11220
11304
|
* @param {string} [direction]
|
|
11305
|
+
* @param {string} [time]
|
|
11221
11306
|
* @param {*} [options] Override http request option.
|
|
11222
11307
|
* @throws {RequiredError}
|
|
11223
11308
|
*/
|
|
11224
|
-
getClusterLogs: (clusterId_1, endpoint_1, query_1, start_1, end_1, limit_1, since_1, step_1, interval_1, direction_1, ...args_1) => __awaiter(this, [clusterId_1, endpoint_1, query_1, start_1, end_1, limit_1, since_1, step_1, interval_1, direction_1, ...args_1], void 0, function* (clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options = {}) {
|
|
11309
|
+
getClusterLogs: (clusterId_1, endpoint_1, query_1, start_1, end_1, limit_1, since_1, step_1, interval_1, direction_1, time_1, ...args_1) => __awaiter(this, [clusterId_1, endpoint_1, query_1, start_1, end_1, limit_1, since_1, step_1, interval_1, direction_1, time_1, ...args_1], void 0, function* (clusterId, endpoint, query, start, end, limit, since, step, interval, direction, time, options = {}) {
|
|
11225
11310
|
// verify required parameter 'clusterId' is not null or undefined
|
|
11226
11311
|
(0, common_1.assertParamExists)('getClusterLogs', 'clusterId', clusterId);
|
|
11227
11312
|
// verify required parameter 'endpoint' is not null or undefined
|
|
@@ -11271,6 +11356,9 @@ const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
11271
11356
|
if (direction !== undefined) {
|
|
11272
11357
|
localVarQueryParameter['direction'] = direction;
|
|
11273
11358
|
}
|
|
11359
|
+
if (time !== undefined) {
|
|
11360
|
+
localVarQueryParameter['time'] = time;
|
|
11361
|
+
}
|
|
11274
11362
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11275
11363
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11276
11364
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -12136,13 +12224,14 @@ const ClustersApiFp = function (configuration) {
|
|
|
12136
12224
|
* @param {string} [step]
|
|
12137
12225
|
* @param {string} [interval]
|
|
12138
12226
|
* @param {string} [direction]
|
|
12227
|
+
* @param {string} [time]
|
|
12139
12228
|
* @param {*} [options] Override http request option.
|
|
12140
12229
|
* @throws {RequiredError}
|
|
12141
12230
|
*/
|
|
12142
|
-
getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options) {
|
|
12231
|
+
getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, time, options) {
|
|
12143
12232
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12144
12233
|
var _a, _b, _c;
|
|
12145
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options);
|
|
12234
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, time, options);
|
|
12146
12235
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12147
12236
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClustersApi.getClusterLogs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
12148
12237
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -12575,11 +12664,12 @@ const ClustersApiFactory = function (configuration, basePath, axios) {
|
|
|
12575
12664
|
* @param {string} [step]
|
|
12576
12665
|
* @param {string} [interval]
|
|
12577
12666
|
* @param {string} [direction]
|
|
12667
|
+
* @param {string} [time]
|
|
12578
12668
|
* @param {*} [options] Override http request option.
|
|
12579
12669
|
* @throws {RequiredError}
|
|
12580
12670
|
*/
|
|
12581
|
-
getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options) {
|
|
12582
|
-
return localVarFp.getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options).then((request) => request(axios, basePath));
|
|
12671
|
+
getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, time, options) {
|
|
12672
|
+
return localVarFp.getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, time, options).then((request) => request(axios, basePath));
|
|
12583
12673
|
},
|
|
12584
12674
|
/**
|
|
12585
12675
|
* Fetch cluster metrics.
|
|
@@ -12922,12 +13012,13 @@ class ClustersApi extends base_1.BaseAPI {
|
|
|
12922
13012
|
* @param {string} [step]
|
|
12923
13013
|
* @param {string} [interval]
|
|
12924
13014
|
* @param {string} [direction]
|
|
13015
|
+
* @param {string} [time]
|
|
12925
13016
|
* @param {*} [options] Override http request option.
|
|
12926
13017
|
* @throws {RequiredError}
|
|
12927
13018
|
* @memberof ClustersApi
|
|
12928
13019
|
*/
|
|
12929
|
-
getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options) {
|
|
12930
|
-
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));
|
|
13020
|
+
getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, time, options) {
|
|
13021
|
+
return (0, exports.ClustersApiFp)(this.configuration).getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, time, options).then((request) => request(this.axios, this.basePath));
|
|
12931
13022
|
}
|
|
12932
13023
|
/**
|
|
12933
13024
|
* Fetch cluster metrics.
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -438,6 +438,19 @@ export interface AlertRuleEditRequest {
|
|
|
438
438
|
*/
|
|
439
439
|
'presentation': AlertPresentation;
|
|
440
440
|
}
|
|
441
|
+
/**
|
|
442
|
+
*
|
|
443
|
+
* @export
|
|
444
|
+
* @interface AlertRuleList
|
|
445
|
+
*/
|
|
446
|
+
export interface AlertRuleList {
|
|
447
|
+
/**
|
|
448
|
+
*
|
|
449
|
+
* @type {Array<AlertRuleResponse>}
|
|
450
|
+
* @memberof AlertRuleList
|
|
451
|
+
*/
|
|
452
|
+
'results': Array<AlertRuleResponse>;
|
|
453
|
+
}
|
|
441
454
|
/**
|
|
442
455
|
*
|
|
443
456
|
* @export
|
|
@@ -528,7 +541,27 @@ export interface AlertRuleResponse {
|
|
|
528
541
|
* @memberof AlertRuleResponse
|
|
529
542
|
*/
|
|
530
543
|
'target': AlertTarget;
|
|
544
|
+
/**
|
|
545
|
+
*
|
|
546
|
+
* @type {AlertRuleState}
|
|
547
|
+
* @memberof AlertRuleResponse
|
|
548
|
+
*/
|
|
549
|
+
'state': AlertRuleState;
|
|
531
550
|
}
|
|
551
|
+
/**
|
|
552
|
+
*
|
|
553
|
+
* @export
|
|
554
|
+
* @enum {string}
|
|
555
|
+
*/
|
|
556
|
+
export declare const AlertRuleState: {
|
|
557
|
+
readonly UNDEPLOYED: "UNDEPLOYED";
|
|
558
|
+
readonly OK: "OK";
|
|
559
|
+
readonly TRIGGERED: "TRIGGERED";
|
|
560
|
+
readonly FIRED: "FIRED";
|
|
561
|
+
readonly NOTIFIED: "NOTIFIED";
|
|
562
|
+
readonly SUPPRESSED: "SUPPRESSED";
|
|
563
|
+
};
|
|
564
|
+
export type AlertRuleState = typeof AlertRuleState[keyof typeof AlertRuleState];
|
|
532
565
|
/**
|
|
533
566
|
* Alert severity level: - WARNING: Non-critical issue requiring attention - CRITICAL: Critical issue requiring immediate action
|
|
534
567
|
* @export
|
|
@@ -19218,6 +19251,14 @@ export declare const AlertRulesApiAxiosParamCreator: (configuration?: Configurat
|
|
|
19218
19251
|
* @throws {RequiredError}
|
|
19219
19252
|
*/
|
|
19220
19253
|
getAlertRule: (alertRuleId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19254
|
+
/**
|
|
19255
|
+
* Retrieve all alert rules for a specific organization
|
|
19256
|
+
* @summary List alert rules
|
|
19257
|
+
* @param {string} organizationId Organization ID
|
|
19258
|
+
* @param {*} [options] Override http request option.
|
|
19259
|
+
* @throws {RequiredError}
|
|
19260
|
+
*/
|
|
19261
|
+
getAlertRules: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19221
19262
|
};
|
|
19222
19263
|
/**
|
|
19223
19264
|
* AlertRulesApi - functional programming interface
|
|
@@ -19257,6 +19298,14 @@ export declare const AlertRulesApiFp: (configuration?: Configuration) => {
|
|
|
19257
19298
|
* @throws {RequiredError}
|
|
19258
19299
|
*/
|
|
19259
19300
|
getAlertRule(alertRuleId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AlertRuleResponse>>;
|
|
19301
|
+
/**
|
|
19302
|
+
* Retrieve all alert rules for a specific organization
|
|
19303
|
+
* @summary List alert rules
|
|
19304
|
+
* @param {string} organizationId Organization ID
|
|
19305
|
+
* @param {*} [options] Override http request option.
|
|
19306
|
+
* @throws {RequiredError}
|
|
19307
|
+
*/
|
|
19308
|
+
getAlertRules(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AlertRuleList>>;
|
|
19260
19309
|
};
|
|
19261
19310
|
/**
|
|
19262
19311
|
* AlertRulesApi - factory interface
|
|
@@ -19296,6 +19345,14 @@ export declare const AlertRulesApiFactory: (configuration?: Configuration, baseP
|
|
|
19296
19345
|
* @throws {RequiredError}
|
|
19297
19346
|
*/
|
|
19298
19347
|
getAlertRule(alertRuleId: string, options?: RawAxiosRequestConfig): AxiosPromise<AlertRuleResponse>;
|
|
19348
|
+
/**
|
|
19349
|
+
* Retrieve all alert rules for a specific organization
|
|
19350
|
+
* @summary List alert rules
|
|
19351
|
+
* @param {string} organizationId Organization ID
|
|
19352
|
+
* @param {*} [options] Override http request option.
|
|
19353
|
+
* @throws {RequiredError}
|
|
19354
|
+
*/
|
|
19355
|
+
getAlertRules(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<AlertRuleList>;
|
|
19299
19356
|
};
|
|
19300
19357
|
/**
|
|
19301
19358
|
* AlertRulesApi - object-oriented interface
|
|
@@ -19341,6 +19398,15 @@ export declare class AlertRulesApi extends BaseAPI {
|
|
|
19341
19398
|
* @memberof AlertRulesApi
|
|
19342
19399
|
*/
|
|
19343
19400
|
getAlertRule(alertRuleId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AlertRuleResponse, any, {}>>;
|
|
19401
|
+
/**
|
|
19402
|
+
* Retrieve all alert rules for a specific organization
|
|
19403
|
+
* @summary List alert rules
|
|
19404
|
+
* @param {string} organizationId Organization ID
|
|
19405
|
+
* @param {*} [options] Override http request option.
|
|
19406
|
+
* @throws {RequiredError}
|
|
19407
|
+
* @memberof AlertRulesApi
|
|
19408
|
+
*/
|
|
19409
|
+
getAlertRules(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AlertRuleList, any, {}>>;
|
|
19344
19410
|
}
|
|
19345
19411
|
/**
|
|
19346
19412
|
* ApplicationActionsApi - axios parameter creator
|
|
@@ -23708,10 +23774,11 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
23708
23774
|
* @param {string} [step]
|
|
23709
23775
|
* @param {string} [interval]
|
|
23710
23776
|
* @param {string} [direction]
|
|
23777
|
+
* @param {string} [time]
|
|
23711
23778
|
* @param {*} [options] Override http request option.
|
|
23712
23779
|
* @throws {RequiredError}
|
|
23713
23780
|
*/
|
|
23714
|
-
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>;
|
|
23781
|
+
getClusterLogs: (clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, time?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23715
23782
|
/**
|
|
23716
23783
|
* Fetch cluster metrics.
|
|
23717
23784
|
* @summary Fetch cluster metrics
|
|
@@ -23987,10 +24054,11 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
23987
24054
|
* @param {string} [step]
|
|
23988
24055
|
* @param {string} [interval]
|
|
23989
24056
|
* @param {string} [direction]
|
|
24057
|
+
* @param {string} [time]
|
|
23990
24058
|
* @param {*} [options] Override http request option.
|
|
23991
24059
|
* @throws {RequiredError}
|
|
23992
24060
|
*/
|
|
23993
|
-
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>>;
|
|
24061
|
+
getClusterLogs(clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, time?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterLogsResponse>>;
|
|
23994
24062
|
/**
|
|
23995
24063
|
* Fetch cluster metrics.
|
|
23996
24064
|
* @summary Fetch cluster metrics
|
|
@@ -24266,10 +24334,11 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
24266
24334
|
* @param {string} [step]
|
|
24267
24335
|
* @param {string} [interval]
|
|
24268
24336
|
* @param {string} [direction]
|
|
24337
|
+
* @param {string} [time]
|
|
24269
24338
|
* @param {*} [options] Override http request option.
|
|
24270
24339
|
* @throws {RequiredError}
|
|
24271
24340
|
*/
|
|
24272
|
-
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>;
|
|
24341
|
+
getClusterLogs(clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, time?: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterLogsResponse>;
|
|
24273
24342
|
/**
|
|
24274
24343
|
* Fetch cluster metrics.
|
|
24275
24344
|
* @summary Fetch cluster metrics
|
|
@@ -24557,11 +24626,12 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
24557
24626
|
* @param {string} [step]
|
|
24558
24627
|
* @param {string} [interval]
|
|
24559
24628
|
* @param {string} [direction]
|
|
24629
|
+
* @param {string} [time]
|
|
24560
24630
|
* @param {*} [options] Override http request option.
|
|
24561
24631
|
* @throws {RequiredError}
|
|
24562
24632
|
* @memberof ClustersApi
|
|
24563
24633
|
*/
|
|
24564
|
-
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, {}>>;
|
|
24634
|
+
getClusterLogs(clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, time?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterLogsResponse, any, {}>>;
|
|
24565
24635
|
/**
|
|
24566
24636
|
* Fetch cluster metrics.
|
|
24567
24637
|
* @summary Fetch cluster metrics
|
package/dist/esm/api.js
CHANGED
|
@@ -64,6 +64,19 @@ export const AksInfrastructureOutputsKindEnum = {
|
|
|
64
64
|
export const AlertReceiverType = {
|
|
65
65
|
SLACK: 'SLACK'
|
|
66
66
|
};
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @export
|
|
70
|
+
* @enum {string}
|
|
71
|
+
*/
|
|
72
|
+
export const AlertRuleState = {
|
|
73
|
+
UNDEPLOYED: 'UNDEPLOYED',
|
|
74
|
+
OK: 'OK',
|
|
75
|
+
TRIGGERED: 'TRIGGERED',
|
|
76
|
+
FIRED: 'FIRED',
|
|
77
|
+
NOTIFIED: 'NOTIFIED',
|
|
78
|
+
SUPPRESSED: 'SUPPRESSED'
|
|
79
|
+
};
|
|
67
80
|
/**
|
|
68
81
|
* Alert severity level: - WARNING: Non-critical issue requiring attention - CRITICAL: Critical issue requiring immediate action
|
|
69
82
|
* @export
|
|
@@ -1465,7 +1478,7 @@ export const AlertReceiversApiAxiosParamCreator = function (configuration) {
|
|
|
1465
1478
|
getAlertReceivers: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
|
|
1466
1479
|
// verify required parameter 'organizationId' is not null or undefined
|
|
1467
1480
|
assertParamExists('getAlertReceivers', 'organizationId', organizationId);
|
|
1468
|
-
const localVarPath = `/
|
|
1481
|
+
const localVarPath = `/organization/{organizationId}/alert-receivers`
|
|
1469
1482
|
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
1470
1483
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1471
1484
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1849,6 +1862,40 @@ export const AlertRulesApiAxiosParamCreator = function (configuration) {
|
|
|
1849
1862
|
options: localVarRequestOptions,
|
|
1850
1863
|
};
|
|
1851
1864
|
}),
|
|
1865
|
+
/**
|
|
1866
|
+
* Retrieve all alert rules for a specific organization
|
|
1867
|
+
* @summary List alert rules
|
|
1868
|
+
* @param {string} organizationId Organization ID
|
|
1869
|
+
* @param {*} [options] Override http request option.
|
|
1870
|
+
* @throws {RequiredError}
|
|
1871
|
+
*/
|
|
1872
|
+
getAlertRules: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
|
|
1873
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
1874
|
+
assertParamExists('getAlertRules', 'organizationId', organizationId);
|
|
1875
|
+
const localVarPath = `/organization/{organizationId}/alert-rules`
|
|
1876
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
1877
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1878
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1879
|
+
let baseOptions;
|
|
1880
|
+
if (configuration) {
|
|
1881
|
+
baseOptions = configuration.baseOptions;
|
|
1882
|
+
}
|
|
1883
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1884
|
+
const localVarHeaderParameter = {};
|
|
1885
|
+
const localVarQueryParameter = {};
|
|
1886
|
+
// authentication ApiKeyAuth required
|
|
1887
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1888
|
+
// authentication bearerAuth required
|
|
1889
|
+
// http bearer authentication required
|
|
1890
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1891
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1892
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1893
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1894
|
+
return {
|
|
1895
|
+
url: toPathString(localVarUrlObj),
|
|
1896
|
+
options: localVarRequestOptions,
|
|
1897
|
+
};
|
|
1898
|
+
}),
|
|
1852
1899
|
};
|
|
1853
1900
|
};
|
|
1854
1901
|
/**
|
|
@@ -1923,6 +1970,22 @@ export const AlertRulesApiFp = function (configuration) {
|
|
|
1923
1970
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1924
1971
|
});
|
|
1925
1972
|
},
|
|
1973
|
+
/**
|
|
1974
|
+
* Retrieve all alert rules for a specific organization
|
|
1975
|
+
* @summary List alert rules
|
|
1976
|
+
* @param {string} organizationId Organization ID
|
|
1977
|
+
* @param {*} [options] Override http request option.
|
|
1978
|
+
* @throws {RequiredError}
|
|
1979
|
+
*/
|
|
1980
|
+
getAlertRules(organizationId, options) {
|
|
1981
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1982
|
+
var _a, _b, _c;
|
|
1983
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAlertRules(organizationId, options);
|
|
1984
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1985
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AlertRulesApi.getAlertRules']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1986
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1987
|
+
});
|
|
1988
|
+
},
|
|
1926
1989
|
};
|
|
1927
1990
|
};
|
|
1928
1991
|
/**
|
|
@@ -1973,6 +2036,16 @@ export const AlertRulesApiFactory = function (configuration, basePath, axios) {
|
|
|
1973
2036
|
getAlertRule(alertRuleId, options) {
|
|
1974
2037
|
return localVarFp.getAlertRule(alertRuleId, options).then((request) => request(axios, basePath));
|
|
1975
2038
|
},
|
|
2039
|
+
/**
|
|
2040
|
+
* Retrieve all alert rules for a specific organization
|
|
2041
|
+
* @summary List alert rules
|
|
2042
|
+
* @param {string} organizationId Organization ID
|
|
2043
|
+
* @param {*} [options] Override http request option.
|
|
2044
|
+
* @throws {RequiredError}
|
|
2045
|
+
*/
|
|
2046
|
+
getAlertRules(organizationId, options) {
|
|
2047
|
+
return localVarFp.getAlertRules(organizationId, options).then((request) => request(axios, basePath));
|
|
2048
|
+
},
|
|
1976
2049
|
};
|
|
1977
2050
|
};
|
|
1978
2051
|
/**
|
|
@@ -2027,6 +2100,17 @@ export class AlertRulesApi extends BaseAPI {
|
|
|
2027
2100
|
getAlertRule(alertRuleId, options) {
|
|
2028
2101
|
return AlertRulesApiFp(this.configuration).getAlertRule(alertRuleId, options).then((request) => request(this.axios, this.basePath));
|
|
2029
2102
|
}
|
|
2103
|
+
/**
|
|
2104
|
+
* Retrieve all alert rules for a specific organization
|
|
2105
|
+
* @summary List alert rules
|
|
2106
|
+
* @param {string} organizationId Organization ID
|
|
2107
|
+
* @param {*} [options] Override http request option.
|
|
2108
|
+
* @throws {RequiredError}
|
|
2109
|
+
* @memberof AlertRulesApi
|
|
2110
|
+
*/
|
|
2111
|
+
getAlertRules(organizationId, options) {
|
|
2112
|
+
return AlertRulesApiFp(this.configuration).getAlertRules(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
2113
|
+
}
|
|
2030
2114
|
}
|
|
2031
2115
|
/**
|
|
2032
2116
|
* ApplicationActionsApi - axios parameter creator
|
|
@@ -11138,10 +11222,11 @@ export const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
11138
11222
|
* @param {string} [step]
|
|
11139
11223
|
* @param {string} [interval]
|
|
11140
11224
|
* @param {string} [direction]
|
|
11225
|
+
* @param {string} [time]
|
|
11141
11226
|
* @param {*} [options] Override http request option.
|
|
11142
11227
|
* @throws {RequiredError}
|
|
11143
11228
|
*/
|
|
11144
|
-
getClusterLogs: (clusterId_1, endpoint_1, query_1, start_1, end_1, limit_1, since_1, step_1, interval_1, direction_1, ...args_1) => __awaiter(this, [clusterId_1, endpoint_1, query_1, start_1, end_1, limit_1, since_1, step_1, interval_1, direction_1, ...args_1], void 0, function* (clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options = {}) {
|
|
11229
|
+
getClusterLogs: (clusterId_1, endpoint_1, query_1, start_1, end_1, limit_1, since_1, step_1, interval_1, direction_1, time_1, ...args_1) => __awaiter(this, [clusterId_1, endpoint_1, query_1, start_1, end_1, limit_1, since_1, step_1, interval_1, direction_1, time_1, ...args_1], void 0, function* (clusterId, endpoint, query, start, end, limit, since, step, interval, direction, time, options = {}) {
|
|
11145
11230
|
// verify required parameter 'clusterId' is not null or undefined
|
|
11146
11231
|
assertParamExists('getClusterLogs', 'clusterId', clusterId);
|
|
11147
11232
|
// verify required parameter 'endpoint' is not null or undefined
|
|
@@ -11191,6 +11276,9 @@ export const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
11191
11276
|
if (direction !== undefined) {
|
|
11192
11277
|
localVarQueryParameter['direction'] = direction;
|
|
11193
11278
|
}
|
|
11279
|
+
if (time !== undefined) {
|
|
11280
|
+
localVarQueryParameter['time'] = time;
|
|
11281
|
+
}
|
|
11194
11282
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11195
11283
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11196
11284
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -12055,13 +12143,14 @@ export const ClustersApiFp = function (configuration) {
|
|
|
12055
12143
|
* @param {string} [step]
|
|
12056
12144
|
* @param {string} [interval]
|
|
12057
12145
|
* @param {string} [direction]
|
|
12146
|
+
* @param {string} [time]
|
|
12058
12147
|
* @param {*} [options] Override http request option.
|
|
12059
12148
|
* @throws {RequiredError}
|
|
12060
12149
|
*/
|
|
12061
|
-
getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options) {
|
|
12150
|
+
getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, time, options) {
|
|
12062
12151
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12063
12152
|
var _a, _b, _c;
|
|
12064
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options);
|
|
12153
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, time, options);
|
|
12065
12154
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12066
12155
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClustersApi.getClusterLogs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
12067
12156
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -12493,11 +12582,12 @@ export const ClustersApiFactory = function (configuration, basePath, axios) {
|
|
|
12493
12582
|
* @param {string} [step]
|
|
12494
12583
|
* @param {string} [interval]
|
|
12495
12584
|
* @param {string} [direction]
|
|
12585
|
+
* @param {string} [time]
|
|
12496
12586
|
* @param {*} [options] Override http request option.
|
|
12497
12587
|
* @throws {RequiredError}
|
|
12498
12588
|
*/
|
|
12499
|
-
getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options) {
|
|
12500
|
-
return localVarFp.getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options).then((request) => request(axios, basePath));
|
|
12589
|
+
getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, time, options) {
|
|
12590
|
+
return localVarFp.getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, time, options).then((request) => request(axios, basePath));
|
|
12501
12591
|
},
|
|
12502
12592
|
/**
|
|
12503
12593
|
* Fetch cluster metrics.
|
|
@@ -12839,12 +12929,13 @@ export class ClustersApi extends BaseAPI {
|
|
|
12839
12929
|
* @param {string} [step]
|
|
12840
12930
|
* @param {string} [interval]
|
|
12841
12931
|
* @param {string} [direction]
|
|
12932
|
+
* @param {string} [time]
|
|
12842
12933
|
* @param {*} [options] Override http request option.
|
|
12843
12934
|
* @throws {RequiredError}
|
|
12844
12935
|
* @memberof ClustersApi
|
|
12845
12936
|
*/
|
|
12846
|
-
getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options) {
|
|
12847
|
-
return ClustersApiFp(this.configuration).getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options).then((request) => request(this.axios, this.basePath));
|
|
12937
|
+
getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, time, options) {
|
|
12938
|
+
return ClustersApiFp(this.configuration).getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, time, options).then((request) => request(this.axios, this.basePath));
|
|
12848
12939
|
}
|
|
12849
12940
|
/**
|
|
12850
12941
|
* Fetch cluster metrics.
|