UNPKG

@spotinst/spinnaker-deck

Version:

Spinnaker-Deck service, forked with support to Spotinst

24 lines (19 loc) 717 B
import { IScalingPolicy, IScalingPolicyAlarm, IStepAdjustment } from './IScalingPolicy'; export interface IScalingAdjustmentView extends IStepAdjustment { operator: string; absAdjustment: number; } export interface IScalingPolicyAlarmView extends IScalingPolicyAlarm { name?: string; description?: string; comparator?: '<' | '>' | '≤' | '≥'; } export interface IScalingPolicyView extends IScalingPolicy, IScalingAdjustmentView { alarms: IScalingPolicyAlarmView[]; stepAdjustments: IStepAdjustmentView[]; operator: string; } export interface IStepAdjustmentView extends IScalingAdjustmentView, IStepAdjustment { metricIntervalLowerBound: number; metricIntervalUpperBound: number; }