import { IComGithubElasticCloudOnK8sV3PkgApisCommonV1alpha1AutoscalingPolicy } from "./AutoscalingPolicy.js"; import { IComGithubElasticCloudOnK8sV3PkgApisCommonV1alpha1DeciderSettings } from "./DeciderSettings.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * NamedAutoscalingPolicy models an autoscaling policy as expected by the Elasticsearch policy API. * It is identified by a unique name provided by the user. */ export interface INamedAutoscalingPolicy extends IComGithubElasticCloudOnK8sV3PkgApisCommonV1alpha1AutoscalingPolicy { /** * Name identifies the autoscaling policy in the autoscaling specification. */ "name"?: string; } /** * NamedAutoscalingPolicy models an autoscaling policy as expected by the Elasticsearch policy API. * It is identified by a unique name provided by the user. */ export declare class NamedAutoscalingPolicy extends Model implements INamedAutoscalingPolicy { "deciders"?: { [key: string]: IComGithubElasticCloudOnK8sV3PkgApisCommonV1alpha1DeciderSettings; }; "roles"?: Array; "name"?: string; constructor(data?: ModelData); } export type { INamedAutoscalingPolicy as IComGithubElasticCloudOnK8sV3PkgApisCommonV1alpha1NamedAutoscalingPolicy, NamedAutoscalingPolicy as ComGithubElasticCloudOnK8sV3PkgApisCommonV1alpha1NamedAutoscalingPolicy };