@kubernetes-models/argo-rollouts
Version:
24 lines (23 loc) • 1.03 kB
TypeScript
import { ModelData, Model } from "@kubernetes-models/base";
/**
* MeasurementRetention defines the settings for retaining the number of measurements during the analysis.
*/
export interface IMeasurementRetention {
/**
* Limit is the maximum number of measurements to be retained for this given metric.
*/
"limit": number;
/**
* MetricName is the name of the metric on which this retention policy should be applied.
*/
"metricName": string;
}
/**
* MeasurementRetention defines the settings for retaining the number of measurements during the analysis.
*/
export declare class MeasurementRetention extends Model<IMeasurementRetention> implements IMeasurementRetention {
"limit": number;
"metricName": string;
constructor(data?: ModelData<IMeasurementRetention>);
}
export type { IMeasurementRetention as IComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1MeasurementRetention, MeasurementRetention as ComGithubArgoprojArgoRolloutsPkgApisRolloutsV1alpha1MeasurementRetention };