qovery-typescript-axios 1.1.754 → 1.1.756
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 +111 -10
- package/dist/api.d.ts +93 -6
- package/dist/api.js +43 -14
- package/dist/esm/api.d.ts +93 -6
- package/dist/esm/api.js +33 -4
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -341,6 +341,89 @@ export const AlertReceiverType = {
|
|
|
341
341
|
export type AlertReceiverType = typeof AlertReceiverType[keyof typeof AlertReceiverType];
|
|
342
342
|
|
|
343
343
|
|
|
344
|
+
/**
|
|
345
|
+
*
|
|
346
|
+
* @export
|
|
347
|
+
* @interface AlertRuleCondition
|
|
348
|
+
*/
|
|
349
|
+
export interface AlertRuleCondition {
|
|
350
|
+
/**
|
|
351
|
+
*
|
|
352
|
+
* @type {AlertRuleConditionKind}
|
|
353
|
+
* @memberof AlertRuleCondition
|
|
354
|
+
*/
|
|
355
|
+
'kind': AlertRuleConditionKind;
|
|
356
|
+
/**
|
|
357
|
+
*
|
|
358
|
+
* @type {AlertRuleConditionOperator}
|
|
359
|
+
* @memberof AlertRuleCondition
|
|
360
|
+
*/
|
|
361
|
+
'operator'?: AlertRuleConditionOperator;
|
|
362
|
+
/**
|
|
363
|
+
*
|
|
364
|
+
* @type {number}
|
|
365
|
+
* @memberof AlertRuleCondition
|
|
366
|
+
*/
|
|
367
|
+
'threshold'?: number;
|
|
368
|
+
/**
|
|
369
|
+
*
|
|
370
|
+
* @type {AlertRuleConditionFunction}
|
|
371
|
+
* @memberof AlertRuleCondition
|
|
372
|
+
*/
|
|
373
|
+
'function'?: AlertRuleConditionFunction;
|
|
374
|
+
/**
|
|
375
|
+
*
|
|
376
|
+
* @type {string}
|
|
377
|
+
* @memberof AlertRuleCondition
|
|
378
|
+
*/
|
|
379
|
+
'promql': string;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
/**
|
|
384
|
+
*
|
|
385
|
+
* @export
|
|
386
|
+
* @enum {string}
|
|
387
|
+
*/
|
|
388
|
+
|
|
389
|
+
export const AlertRuleConditionFunction = {
|
|
390
|
+
NONE: 'NONE',
|
|
391
|
+
AVG: 'AVG',
|
|
392
|
+
MAX: 'MAX',
|
|
393
|
+
MIN: 'MIN'
|
|
394
|
+
} as const;
|
|
395
|
+
|
|
396
|
+
export type AlertRuleConditionFunction = typeof AlertRuleConditionFunction[keyof typeof AlertRuleConditionFunction];
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
/**
|
|
400
|
+
*
|
|
401
|
+
* @export
|
|
402
|
+
* @enum {string}
|
|
403
|
+
*/
|
|
404
|
+
|
|
405
|
+
export const AlertRuleConditionKind = {
|
|
406
|
+
CUSTOM: 'CUSTOM',
|
|
407
|
+
BUILT: 'BUILT'
|
|
408
|
+
} as const;
|
|
409
|
+
|
|
410
|
+
export type AlertRuleConditionKind = typeof AlertRuleConditionKind[keyof typeof AlertRuleConditionKind];
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
*
|
|
415
|
+
* @export
|
|
416
|
+
* @enum {string}
|
|
417
|
+
*/
|
|
418
|
+
|
|
419
|
+
export const AlertRuleConditionOperator = {
|
|
420
|
+
ABOVE: 'ABOVE',
|
|
421
|
+
BELOW: 'BELOW'
|
|
422
|
+
} as const;
|
|
423
|
+
|
|
424
|
+
export type AlertRuleConditionOperator = typeof AlertRuleConditionOperator[keyof typeof AlertRuleConditionOperator];
|
|
425
|
+
|
|
426
|
+
|
|
344
427
|
/**
|
|
345
428
|
*
|
|
346
429
|
* @export
|
|
@@ -372,11 +455,17 @@ export interface AlertRuleCreationRequest {
|
|
|
372
455
|
*/
|
|
373
456
|
'description': string;
|
|
374
457
|
/**
|
|
375
|
-
*
|
|
458
|
+
*
|
|
376
459
|
* @type {string}
|
|
377
460
|
* @memberof AlertRuleCreationRequest
|
|
378
461
|
*/
|
|
379
|
-
'
|
|
462
|
+
'tag': string;
|
|
463
|
+
/**
|
|
464
|
+
*
|
|
465
|
+
* @type {AlertRuleCondition}
|
|
466
|
+
* @memberof AlertRuleCreationRequest
|
|
467
|
+
*/
|
|
468
|
+
'condition': AlertRuleCondition;
|
|
380
469
|
/**
|
|
381
470
|
* Duration the condition must be true before firing (ISO-8601 duration format)
|
|
382
471
|
* @type {string}
|
|
@@ -435,11 +524,17 @@ export interface AlertRuleEditRequest {
|
|
|
435
524
|
*/
|
|
436
525
|
'description': string;
|
|
437
526
|
/**
|
|
438
|
-
*
|
|
527
|
+
*
|
|
439
528
|
* @type {string}
|
|
440
529
|
* @memberof AlertRuleEditRequest
|
|
441
530
|
*/
|
|
442
|
-
'
|
|
531
|
+
'tag': string;
|
|
532
|
+
/**
|
|
533
|
+
*
|
|
534
|
+
* @type {AlertRuleCondition}
|
|
535
|
+
* @memberof AlertRuleEditRequest
|
|
536
|
+
*/
|
|
537
|
+
'condition': AlertRuleCondition;
|
|
443
538
|
/**
|
|
444
539
|
* Duration the condition must be true before firing (ISO-8601 duration format)
|
|
445
540
|
* @type {string}
|
|
@@ -535,11 +630,17 @@ export interface AlertRuleResponse {
|
|
|
535
630
|
*/
|
|
536
631
|
'description': string;
|
|
537
632
|
/**
|
|
538
|
-
*
|
|
633
|
+
*
|
|
539
634
|
* @type {string}
|
|
540
635
|
* @memberof AlertRuleResponse
|
|
541
636
|
*/
|
|
542
|
-
'
|
|
637
|
+
'tag': string;
|
|
638
|
+
/**
|
|
639
|
+
*
|
|
640
|
+
* @type {AlertRuleCondition}
|
|
641
|
+
* @memberof AlertRuleResponse
|
|
642
|
+
*/
|
|
643
|
+
'condition': AlertRuleCondition;
|
|
543
644
|
/**
|
|
544
645
|
* Duration the condition must be true before firing (ISO-8601 duration format)
|
|
545
646
|
* @type {string}
|
|
@@ -20085,7 +20186,7 @@ export const AlertReceiversApiAxiosParamCreator = function (configuration?: Conf
|
|
|
20085
20186
|
* @throws {RequiredError}
|
|
20086
20187
|
*/
|
|
20087
20188
|
createAlertReceiver: async (alertReceiverCreationRequest?: AlertReceiverCreationRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20088
|
-
const localVarPath = `/
|
|
20189
|
+
const localVarPath = `/alert-receivers`;
|
|
20089
20190
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20090
20191
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20091
20192
|
let baseOptions;
|
|
@@ -20128,7 +20229,7 @@ export const AlertReceiversApiAxiosParamCreator = function (configuration?: Conf
|
|
|
20128
20229
|
deleteAlertReceiver: async (alertReceiverId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20129
20230
|
// verify required parameter 'alertReceiverId' is not null or undefined
|
|
20130
20231
|
assertParamExists('deleteAlertReceiver', 'alertReceiverId', alertReceiverId)
|
|
20131
|
-
const localVarPath = `/
|
|
20232
|
+
const localVarPath = `/alert-receivers/{alertReceiverId}`
|
|
20132
20233
|
.replace(`{${"alertReceiverId"}}`, encodeURIComponent(String(alertReceiverId)));
|
|
20133
20234
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20134
20235
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -20170,7 +20271,7 @@ export const AlertReceiversApiAxiosParamCreator = function (configuration?: Conf
|
|
|
20170
20271
|
editAlertReceiver: async (alertReceiverId: string, alertReceiverEditRequest?: AlertReceiverEditRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20171
20272
|
// verify required parameter 'alertReceiverId' is not null or undefined
|
|
20172
20273
|
assertParamExists('editAlertReceiver', 'alertReceiverId', alertReceiverId)
|
|
20173
|
-
const localVarPath = `/
|
|
20274
|
+
const localVarPath = `/alert-receivers/{alertReceiverId}`
|
|
20174
20275
|
.replace(`{${"alertReceiverId"}}`, encodeURIComponent(String(alertReceiverId)));
|
|
20175
20276
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20176
20277
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -20214,7 +20315,7 @@ export const AlertReceiversApiAxiosParamCreator = function (configuration?: Conf
|
|
|
20214
20315
|
getAlertReceiver: async (alertReceiverId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20215
20316
|
// verify required parameter 'alertReceiverId' is not null or undefined
|
|
20216
20317
|
assertParamExists('getAlertReceiver', 'alertReceiverId', alertReceiverId)
|
|
20217
|
-
const localVarPath = `/
|
|
20318
|
+
const localVarPath = `/alert-receivers/{alertReceiverId}`
|
|
20218
20319
|
.replace(`{${"alertReceiverId"}}`, encodeURIComponent(String(alertReceiverId)));
|
|
20219
20320
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20220
20321
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
package/dist/api.d.ts
CHANGED
|
@@ -310,6 +310,75 @@ export declare const AlertReceiverType: {
|
|
|
310
310
|
readonly SLACK: "SLACK";
|
|
311
311
|
};
|
|
312
312
|
export type AlertReceiverType = typeof AlertReceiverType[keyof typeof AlertReceiverType];
|
|
313
|
+
/**
|
|
314
|
+
*
|
|
315
|
+
* @export
|
|
316
|
+
* @interface AlertRuleCondition
|
|
317
|
+
*/
|
|
318
|
+
export interface AlertRuleCondition {
|
|
319
|
+
/**
|
|
320
|
+
*
|
|
321
|
+
* @type {AlertRuleConditionKind}
|
|
322
|
+
* @memberof AlertRuleCondition
|
|
323
|
+
*/
|
|
324
|
+
'kind': AlertRuleConditionKind;
|
|
325
|
+
/**
|
|
326
|
+
*
|
|
327
|
+
* @type {AlertRuleConditionOperator}
|
|
328
|
+
* @memberof AlertRuleCondition
|
|
329
|
+
*/
|
|
330
|
+
'operator'?: AlertRuleConditionOperator;
|
|
331
|
+
/**
|
|
332
|
+
*
|
|
333
|
+
* @type {number}
|
|
334
|
+
* @memberof AlertRuleCondition
|
|
335
|
+
*/
|
|
336
|
+
'threshold'?: number;
|
|
337
|
+
/**
|
|
338
|
+
*
|
|
339
|
+
* @type {AlertRuleConditionFunction}
|
|
340
|
+
* @memberof AlertRuleCondition
|
|
341
|
+
*/
|
|
342
|
+
'function'?: AlertRuleConditionFunction;
|
|
343
|
+
/**
|
|
344
|
+
*
|
|
345
|
+
* @type {string}
|
|
346
|
+
* @memberof AlertRuleCondition
|
|
347
|
+
*/
|
|
348
|
+
'promql': string;
|
|
349
|
+
}
|
|
350
|
+
/**
|
|
351
|
+
*
|
|
352
|
+
* @export
|
|
353
|
+
* @enum {string}
|
|
354
|
+
*/
|
|
355
|
+
export declare const AlertRuleConditionFunction: {
|
|
356
|
+
readonly NONE: "NONE";
|
|
357
|
+
readonly AVG: "AVG";
|
|
358
|
+
readonly MAX: "MAX";
|
|
359
|
+
readonly MIN: "MIN";
|
|
360
|
+
};
|
|
361
|
+
export type AlertRuleConditionFunction = typeof AlertRuleConditionFunction[keyof typeof AlertRuleConditionFunction];
|
|
362
|
+
/**
|
|
363
|
+
*
|
|
364
|
+
* @export
|
|
365
|
+
* @enum {string}
|
|
366
|
+
*/
|
|
367
|
+
export declare const AlertRuleConditionKind: {
|
|
368
|
+
readonly CUSTOM: "CUSTOM";
|
|
369
|
+
readonly BUILT: "BUILT";
|
|
370
|
+
};
|
|
371
|
+
export type AlertRuleConditionKind = typeof AlertRuleConditionKind[keyof typeof AlertRuleConditionKind];
|
|
372
|
+
/**
|
|
373
|
+
*
|
|
374
|
+
* @export
|
|
375
|
+
* @enum {string}
|
|
376
|
+
*/
|
|
377
|
+
export declare const AlertRuleConditionOperator: {
|
|
378
|
+
readonly ABOVE: "ABOVE";
|
|
379
|
+
readonly BELOW: "BELOW";
|
|
380
|
+
};
|
|
381
|
+
export type AlertRuleConditionOperator = typeof AlertRuleConditionOperator[keyof typeof AlertRuleConditionOperator];
|
|
313
382
|
/**
|
|
314
383
|
*
|
|
315
384
|
* @export
|
|
@@ -341,11 +410,17 @@ export interface AlertRuleCreationRequest {
|
|
|
341
410
|
*/
|
|
342
411
|
'description': string;
|
|
343
412
|
/**
|
|
344
|
-
*
|
|
413
|
+
*
|
|
345
414
|
* @type {string}
|
|
346
415
|
* @memberof AlertRuleCreationRequest
|
|
347
416
|
*/
|
|
348
|
-
'
|
|
417
|
+
'tag': string;
|
|
418
|
+
/**
|
|
419
|
+
*
|
|
420
|
+
* @type {AlertRuleCondition}
|
|
421
|
+
* @memberof AlertRuleCreationRequest
|
|
422
|
+
*/
|
|
423
|
+
'condition': AlertRuleCondition;
|
|
349
424
|
/**
|
|
350
425
|
* Duration the condition must be true before firing (ISO-8601 duration format)
|
|
351
426
|
* @type {string}
|
|
@@ -402,11 +477,17 @@ export interface AlertRuleEditRequest {
|
|
|
402
477
|
*/
|
|
403
478
|
'description': string;
|
|
404
479
|
/**
|
|
405
|
-
*
|
|
480
|
+
*
|
|
406
481
|
* @type {string}
|
|
407
482
|
* @memberof AlertRuleEditRequest
|
|
408
483
|
*/
|
|
409
|
-
'
|
|
484
|
+
'tag': string;
|
|
485
|
+
/**
|
|
486
|
+
*
|
|
487
|
+
* @type {AlertRuleCondition}
|
|
488
|
+
* @memberof AlertRuleEditRequest
|
|
489
|
+
*/
|
|
490
|
+
'condition': AlertRuleCondition;
|
|
410
491
|
/**
|
|
411
492
|
* Duration the condition must be true before firing (ISO-8601 duration format)
|
|
412
493
|
* @type {string}
|
|
@@ -500,11 +581,17 @@ export interface AlertRuleResponse {
|
|
|
500
581
|
*/
|
|
501
582
|
'description': string;
|
|
502
583
|
/**
|
|
503
|
-
*
|
|
584
|
+
*
|
|
504
585
|
* @type {string}
|
|
505
586
|
* @memberof AlertRuleResponse
|
|
506
587
|
*/
|
|
507
|
-
'
|
|
588
|
+
'tag': string;
|
|
589
|
+
/**
|
|
590
|
+
*
|
|
591
|
+
* @type {AlertRuleCondition}
|
|
592
|
+
* @memberof AlertRuleResponse
|
|
593
|
+
*/
|
|
594
|
+
'condition': AlertRuleCondition;
|
|
508
595
|
/**
|
|
509
596
|
* Duration the condition must be true before firing (ISO-8601 duration format)
|
|
510
597
|
* @type {string}
|
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 = exports.TerraformDeploymentHistoryApiFactory = exports.TerraformDeploymentHistoryApiFp = exports.TerraformDeploymentHistoryApiAxiosParamCreator = void 0;
|
|
25
|
+
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.AlertRuleConditionOperator = exports.AlertRuleConditionKind = exports.AlertRuleConditionFunction = exports.AlertReceiverType = exports.AksInfrastructureOutputsKindEnum = exports.APIVariableTypeEnum = exports.APIVariableScopeEnum = void 0;
|
|
26
|
+
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.ObservabilityResourceProfile = 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 = exports.GitProviderEnum = exports.GenericClusterCredentialsObjectTypeEnum = exports.GcpStaticClusterCredentialsObjectTypeEnum = void 0;
|
|
27
|
+
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.TfVarsDiscoveryModeSpecificPathsTypeEnum = exports.TfVarsDiscoveryModeAutoDiscoverTypeEnum = exports.TerraformEngineEnum = exports.TerraformDeployRequestActionEnum = exports.StorageTypeEnum = exports.StepMetricStatusEnum = exports.StatusKindEnum = exports.StateEnum = void 0;
|
|
28
|
+
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 = exports.ApplicationSecretApiAxiosParamCreator = exports.ApplicationMainCallsApi = exports.ApplicationMainCallsApiFactory = exports.ApplicationMainCallsApiFp = exports.ApplicationMainCallsApiAxiosParamCreator = void 0;
|
|
29
|
+
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 = exports.ContainerLogsApiAxiosParamCreator = exports.ContainerEnvironmentVariableApi = exports.ContainerEnvironmentVariableApiFactory = exports.ContainerEnvironmentVariableApiFp = exports.ContainerEnvironmentVariableApiAxiosParamCreator = void 0;
|
|
30
|
+
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 = exports.DeploymentStageMainCallsApiFactory = exports.DeploymentStageMainCallsApiFp = exports.DeploymentStageMainCallsApiAxiosParamCreator = exports.DeploymentQueueActionsApi = exports.DeploymentQueueActionsApiFactory = void 0;
|
|
31
|
+
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 = exports.HelmActionsApiAxiosParamCreator = exports.GithubAppApi = exports.GithubAppApiFactory = exports.GithubAppApiFp = exports.GithubAppApiAxiosParamCreator = void 0;
|
|
32
|
+
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 = exports.JobEnvironmentVariableApiFactory = exports.JobEnvironmentVariableApiFp = exports.JobEnvironmentVariableApiAxiosParamCreator = exports.JobDeploymentRestrictionApi = exports.JobDeploymentRestrictionApiFactory = void 0;
|
|
33
|
+
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 = exports.OrganizationLabelsGroupApiAxiosParamCreator = exports.OrganizationEventApi = exports.OrganizationEventApiFactory = exports.OrganizationEventApiFp = exports.OrganizationEventApiAxiosParamCreator = 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 = exports.TerraformDeploymentHistoryApiFp = exports.TerraformDeploymentHistoryApiAxiosParamCreator = exports.TerraformConfigurationApi = exports.TerraformConfigurationApiFactory = exports.TerraformConfigurationApiFp = 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,35 @@ exports.AksInfrastructureOutputsKindEnum = {
|
|
|
76
76
|
exports.AlertReceiverType = {
|
|
77
77
|
SLACK: 'SLACK'
|
|
78
78
|
};
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @export
|
|
82
|
+
* @enum {string}
|
|
83
|
+
*/
|
|
84
|
+
exports.AlertRuleConditionFunction = {
|
|
85
|
+
NONE: 'NONE',
|
|
86
|
+
AVG: 'AVG',
|
|
87
|
+
MAX: 'MAX',
|
|
88
|
+
MIN: 'MIN'
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @export
|
|
93
|
+
* @enum {string}
|
|
94
|
+
*/
|
|
95
|
+
exports.AlertRuleConditionKind = {
|
|
96
|
+
CUSTOM: 'CUSTOM',
|
|
97
|
+
BUILT: 'BUILT'
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @export
|
|
102
|
+
* @enum {string}
|
|
103
|
+
*/
|
|
104
|
+
exports.AlertRuleConditionOperator = {
|
|
105
|
+
ABOVE: 'ABOVE',
|
|
106
|
+
BELOW: 'BELOW'
|
|
107
|
+
};
|
|
79
108
|
/**
|
|
80
109
|
*
|
|
81
110
|
* @export
|
|
@@ -1384,7 +1413,7 @@ const AlertReceiversApiAxiosParamCreator = function (configuration) {
|
|
|
1384
1413
|
* @throws {RequiredError}
|
|
1385
1414
|
*/
|
|
1386
1415
|
createAlertReceiver: (alertReceiverCreationRequest_1, ...args_1) => __awaiter(this, [alertReceiverCreationRequest_1, ...args_1], void 0, function* (alertReceiverCreationRequest, options = {}) {
|
|
1387
|
-
const localVarPath = `/
|
|
1416
|
+
const localVarPath = `/alert-receivers`;
|
|
1388
1417
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1389
1418
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1390
1419
|
let baseOptions;
|
|
@@ -1419,7 +1448,7 @@ const AlertReceiversApiAxiosParamCreator = function (configuration) {
|
|
|
1419
1448
|
deleteAlertReceiver: (alertReceiverId_1, ...args_1) => __awaiter(this, [alertReceiverId_1, ...args_1], void 0, function* (alertReceiverId, options = {}) {
|
|
1420
1449
|
// verify required parameter 'alertReceiverId' is not null or undefined
|
|
1421
1450
|
(0, common_1.assertParamExists)('deleteAlertReceiver', 'alertReceiverId', alertReceiverId);
|
|
1422
|
-
const localVarPath = `/
|
|
1451
|
+
const localVarPath = `/alert-receivers/{alertReceiverId}`
|
|
1423
1452
|
.replace(`{${"alertReceiverId"}}`, encodeURIComponent(String(alertReceiverId)));
|
|
1424
1453
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1425
1454
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -1454,7 +1483,7 @@ const AlertReceiversApiAxiosParamCreator = function (configuration) {
|
|
|
1454
1483
|
editAlertReceiver: (alertReceiverId_1, alertReceiverEditRequest_1, ...args_1) => __awaiter(this, [alertReceiverId_1, alertReceiverEditRequest_1, ...args_1], void 0, function* (alertReceiverId, alertReceiverEditRequest, options = {}) {
|
|
1455
1484
|
// verify required parameter 'alertReceiverId' is not null or undefined
|
|
1456
1485
|
(0, common_1.assertParamExists)('editAlertReceiver', 'alertReceiverId', alertReceiverId);
|
|
1457
|
-
const localVarPath = `/
|
|
1486
|
+
const localVarPath = `/alert-receivers/{alertReceiverId}`
|
|
1458
1487
|
.replace(`{${"alertReceiverId"}}`, encodeURIComponent(String(alertReceiverId)));
|
|
1459
1488
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1460
1489
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -1490,7 +1519,7 @@ const AlertReceiversApiAxiosParamCreator = function (configuration) {
|
|
|
1490
1519
|
getAlertReceiver: (alertReceiverId_1, ...args_1) => __awaiter(this, [alertReceiverId_1, ...args_1], void 0, function* (alertReceiverId, options = {}) {
|
|
1491
1520
|
// verify required parameter 'alertReceiverId' is not null or undefined
|
|
1492
1521
|
(0, common_1.assertParamExists)('getAlertReceiver', 'alertReceiverId', alertReceiverId);
|
|
1493
|
-
const localVarPath = `/
|
|
1522
|
+
const localVarPath = `/alert-receivers/{alertReceiverId}`
|
|
1494
1523
|
.replace(`{${"alertReceiverId"}}`, encodeURIComponent(String(alertReceiverId)));
|
|
1495
1524
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1496
1525
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -310,6 +310,75 @@ export declare const AlertReceiverType: {
|
|
|
310
310
|
readonly SLACK: "SLACK";
|
|
311
311
|
};
|
|
312
312
|
export type AlertReceiverType = typeof AlertReceiverType[keyof typeof AlertReceiverType];
|
|
313
|
+
/**
|
|
314
|
+
*
|
|
315
|
+
* @export
|
|
316
|
+
* @interface AlertRuleCondition
|
|
317
|
+
*/
|
|
318
|
+
export interface AlertRuleCondition {
|
|
319
|
+
/**
|
|
320
|
+
*
|
|
321
|
+
* @type {AlertRuleConditionKind}
|
|
322
|
+
* @memberof AlertRuleCondition
|
|
323
|
+
*/
|
|
324
|
+
'kind': AlertRuleConditionKind;
|
|
325
|
+
/**
|
|
326
|
+
*
|
|
327
|
+
* @type {AlertRuleConditionOperator}
|
|
328
|
+
* @memberof AlertRuleCondition
|
|
329
|
+
*/
|
|
330
|
+
'operator'?: AlertRuleConditionOperator;
|
|
331
|
+
/**
|
|
332
|
+
*
|
|
333
|
+
* @type {number}
|
|
334
|
+
* @memberof AlertRuleCondition
|
|
335
|
+
*/
|
|
336
|
+
'threshold'?: number;
|
|
337
|
+
/**
|
|
338
|
+
*
|
|
339
|
+
* @type {AlertRuleConditionFunction}
|
|
340
|
+
* @memberof AlertRuleCondition
|
|
341
|
+
*/
|
|
342
|
+
'function'?: AlertRuleConditionFunction;
|
|
343
|
+
/**
|
|
344
|
+
*
|
|
345
|
+
* @type {string}
|
|
346
|
+
* @memberof AlertRuleCondition
|
|
347
|
+
*/
|
|
348
|
+
'promql': string;
|
|
349
|
+
}
|
|
350
|
+
/**
|
|
351
|
+
*
|
|
352
|
+
* @export
|
|
353
|
+
* @enum {string}
|
|
354
|
+
*/
|
|
355
|
+
export declare const AlertRuleConditionFunction: {
|
|
356
|
+
readonly NONE: "NONE";
|
|
357
|
+
readonly AVG: "AVG";
|
|
358
|
+
readonly MAX: "MAX";
|
|
359
|
+
readonly MIN: "MIN";
|
|
360
|
+
};
|
|
361
|
+
export type AlertRuleConditionFunction = typeof AlertRuleConditionFunction[keyof typeof AlertRuleConditionFunction];
|
|
362
|
+
/**
|
|
363
|
+
*
|
|
364
|
+
* @export
|
|
365
|
+
* @enum {string}
|
|
366
|
+
*/
|
|
367
|
+
export declare const AlertRuleConditionKind: {
|
|
368
|
+
readonly CUSTOM: "CUSTOM";
|
|
369
|
+
readonly BUILT: "BUILT";
|
|
370
|
+
};
|
|
371
|
+
export type AlertRuleConditionKind = typeof AlertRuleConditionKind[keyof typeof AlertRuleConditionKind];
|
|
372
|
+
/**
|
|
373
|
+
*
|
|
374
|
+
* @export
|
|
375
|
+
* @enum {string}
|
|
376
|
+
*/
|
|
377
|
+
export declare const AlertRuleConditionOperator: {
|
|
378
|
+
readonly ABOVE: "ABOVE";
|
|
379
|
+
readonly BELOW: "BELOW";
|
|
380
|
+
};
|
|
381
|
+
export type AlertRuleConditionOperator = typeof AlertRuleConditionOperator[keyof typeof AlertRuleConditionOperator];
|
|
313
382
|
/**
|
|
314
383
|
*
|
|
315
384
|
* @export
|
|
@@ -341,11 +410,17 @@ export interface AlertRuleCreationRequest {
|
|
|
341
410
|
*/
|
|
342
411
|
'description': string;
|
|
343
412
|
/**
|
|
344
|
-
*
|
|
413
|
+
*
|
|
345
414
|
* @type {string}
|
|
346
415
|
* @memberof AlertRuleCreationRequest
|
|
347
416
|
*/
|
|
348
|
-
'
|
|
417
|
+
'tag': string;
|
|
418
|
+
/**
|
|
419
|
+
*
|
|
420
|
+
* @type {AlertRuleCondition}
|
|
421
|
+
* @memberof AlertRuleCreationRequest
|
|
422
|
+
*/
|
|
423
|
+
'condition': AlertRuleCondition;
|
|
349
424
|
/**
|
|
350
425
|
* Duration the condition must be true before firing (ISO-8601 duration format)
|
|
351
426
|
* @type {string}
|
|
@@ -402,11 +477,17 @@ export interface AlertRuleEditRequest {
|
|
|
402
477
|
*/
|
|
403
478
|
'description': string;
|
|
404
479
|
/**
|
|
405
|
-
*
|
|
480
|
+
*
|
|
406
481
|
* @type {string}
|
|
407
482
|
* @memberof AlertRuleEditRequest
|
|
408
483
|
*/
|
|
409
|
-
'
|
|
484
|
+
'tag': string;
|
|
485
|
+
/**
|
|
486
|
+
*
|
|
487
|
+
* @type {AlertRuleCondition}
|
|
488
|
+
* @memberof AlertRuleEditRequest
|
|
489
|
+
*/
|
|
490
|
+
'condition': AlertRuleCondition;
|
|
410
491
|
/**
|
|
411
492
|
* Duration the condition must be true before firing (ISO-8601 duration format)
|
|
412
493
|
* @type {string}
|
|
@@ -500,11 +581,17 @@ export interface AlertRuleResponse {
|
|
|
500
581
|
*/
|
|
501
582
|
'description': string;
|
|
502
583
|
/**
|
|
503
|
-
*
|
|
584
|
+
*
|
|
504
585
|
* @type {string}
|
|
505
586
|
* @memberof AlertRuleResponse
|
|
506
587
|
*/
|
|
507
|
-
'
|
|
588
|
+
'tag': string;
|
|
589
|
+
/**
|
|
590
|
+
*
|
|
591
|
+
* @type {AlertRuleCondition}
|
|
592
|
+
* @memberof AlertRuleResponse
|
|
593
|
+
*/
|
|
594
|
+
'condition': AlertRuleCondition;
|
|
508
595
|
/**
|
|
509
596
|
* Duration the condition must be true before firing (ISO-8601 duration format)
|
|
510
597
|
* @type {string}
|
package/dist/esm/api.js
CHANGED
|
@@ -64,6 +64,35 @@ 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 AlertRuleConditionFunction = {
|
|
73
|
+
NONE: 'NONE',
|
|
74
|
+
AVG: 'AVG',
|
|
75
|
+
MAX: 'MAX',
|
|
76
|
+
MIN: 'MIN'
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @export
|
|
81
|
+
* @enum {string}
|
|
82
|
+
*/
|
|
83
|
+
export const AlertRuleConditionKind = {
|
|
84
|
+
CUSTOM: 'CUSTOM',
|
|
85
|
+
BUILT: 'BUILT'
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* @export
|
|
90
|
+
* @enum {string}
|
|
91
|
+
*/
|
|
92
|
+
export const AlertRuleConditionOperator = {
|
|
93
|
+
ABOVE: 'ABOVE',
|
|
94
|
+
BELOW: 'BELOW'
|
|
95
|
+
};
|
|
67
96
|
/**
|
|
68
97
|
*
|
|
69
98
|
* @export
|
|
@@ -1368,7 +1397,7 @@ export const AlertReceiversApiAxiosParamCreator = function (configuration) {
|
|
|
1368
1397
|
* @throws {RequiredError}
|
|
1369
1398
|
*/
|
|
1370
1399
|
createAlertReceiver: (alertReceiverCreationRequest_1, ...args_1) => __awaiter(this, [alertReceiverCreationRequest_1, ...args_1], void 0, function* (alertReceiverCreationRequest, options = {}) {
|
|
1371
|
-
const localVarPath = `/
|
|
1400
|
+
const localVarPath = `/alert-receivers`;
|
|
1372
1401
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1373
1402
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1374
1403
|
let baseOptions;
|
|
@@ -1403,7 +1432,7 @@ export const AlertReceiversApiAxiosParamCreator = function (configuration) {
|
|
|
1403
1432
|
deleteAlertReceiver: (alertReceiverId_1, ...args_1) => __awaiter(this, [alertReceiverId_1, ...args_1], void 0, function* (alertReceiverId, options = {}) {
|
|
1404
1433
|
// verify required parameter 'alertReceiverId' is not null or undefined
|
|
1405
1434
|
assertParamExists('deleteAlertReceiver', 'alertReceiverId', alertReceiverId);
|
|
1406
|
-
const localVarPath = `/
|
|
1435
|
+
const localVarPath = `/alert-receivers/{alertReceiverId}`
|
|
1407
1436
|
.replace(`{${"alertReceiverId"}}`, encodeURIComponent(String(alertReceiverId)));
|
|
1408
1437
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1409
1438
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1438,7 +1467,7 @@ export const AlertReceiversApiAxiosParamCreator = function (configuration) {
|
|
|
1438
1467
|
editAlertReceiver: (alertReceiverId_1, alertReceiverEditRequest_1, ...args_1) => __awaiter(this, [alertReceiverId_1, alertReceiverEditRequest_1, ...args_1], void 0, function* (alertReceiverId, alertReceiverEditRequest, options = {}) {
|
|
1439
1468
|
// verify required parameter 'alertReceiverId' is not null or undefined
|
|
1440
1469
|
assertParamExists('editAlertReceiver', 'alertReceiverId', alertReceiverId);
|
|
1441
|
-
const localVarPath = `/
|
|
1470
|
+
const localVarPath = `/alert-receivers/{alertReceiverId}`
|
|
1442
1471
|
.replace(`{${"alertReceiverId"}}`, encodeURIComponent(String(alertReceiverId)));
|
|
1443
1472
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1444
1473
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1474,7 +1503,7 @@ export const AlertReceiversApiAxiosParamCreator = function (configuration) {
|
|
|
1474
1503
|
getAlertReceiver: (alertReceiverId_1, ...args_1) => __awaiter(this, [alertReceiverId_1, ...args_1], void 0, function* (alertReceiverId, options = {}) {
|
|
1475
1504
|
// verify required parameter 'alertReceiverId' is not null or undefined
|
|
1476
1505
|
assertParamExists('getAlertReceiver', 'alertReceiverId', alertReceiverId);
|
|
1477
|
-
const localVarPath = `/
|
|
1506
|
+
const localVarPath = `/alert-receivers/{alertReceiverId}`
|
|
1478
1507
|
.replace(`{${"alertReceiverId"}}`, encodeURIComponent(String(alertReceiverId)));
|
|
1479
1508
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1480
1509
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|