import { IComGithubElasticCloudOnK8sV3PkgApisCommonV1Config } from "../../common.k8s.elastic.co/v1/Config.js"; import { IComGithubElasticCloudOnK8sV3PkgApisCommonV1ConfigSource } from "../../common.k8s.elastic.co/v1/ConfigSource.js"; import { IComGithubElasticCloudOnK8sV3PkgApisCommonV1ObjectSelector } from "../../common.k8s.elastic.co/v1/ObjectSelector.js"; import { IComGithubElasticCloudOnK8sV3PkgApisCommonV1HTTPConfig } from "../../common.k8s.elastic.co/v1/HTTPConfig.js"; import { IIoK8sApiCoreV1PodTemplateSpec } from "kubernetes-models/v1/PodTemplateSpec"; import { ModelData, Model } from "@kubernetes-models/base"; /** * EnterpriseSearchSpec holds the specification of an Enterprise Search resource. */ export interface IEnterpriseSearchSpec { /** * Config holds the Enterprise Search configuration. */ "config"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1Config; /** * ConfigRef contains a reference to an existing Kubernetes Secret holding the Enterprise Search configuration. * Configuration settings are merged and have precedence over settings specified in `config`. */ "configRef"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1ConfigSource; /** * Count of Enterprise Search instances to deploy. */ "count"?: number; /** * ElasticsearchRef is a reference to the Elasticsearch cluster running in the same Kubernetes cluster. */ "elasticsearchRef"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1ObjectSelector; /** * HTTP holds the HTTP layer configuration for Enterprise Search resource. */ "http"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1HTTPConfig; /** * Image is the Enterprise Search Docker image to deploy. */ "image"?: string; /** * PodTemplate provides customisation options (labels, annotations, affinity rules, resource requests, and so on) * for the Enterprise Search pods. */ "podTemplate"?: IIoK8sApiCoreV1PodTemplateSpec; /** * ServiceAccountName is used to check access from the current resource to a resource (for ex. Elasticsearch) in a different namespace. * Can only be used if ECK is enforcing RBAC on references. */ "serviceAccountName"?: string; /** * Version of Enterprise Search. */ "version"?: string; } /** * EnterpriseSearchSpec holds the specification of an Enterprise Search resource. */ export declare class EnterpriseSearchSpec extends Model implements IEnterpriseSearchSpec { "config"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1Config; "configRef"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1ConfigSource; "count"?: number; "elasticsearchRef"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1ObjectSelector; "http"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1HTTPConfig; "image"?: string; "podTemplate"?: IIoK8sApiCoreV1PodTemplateSpec; "serviceAccountName"?: string; "version"?: string; constructor(data?: ModelData); } export type { IEnterpriseSearchSpec as IComGithubElasticCloudOnK8sV3PkgApisEnterprisesearchV1beta1EnterpriseSearchSpec, EnterpriseSearchSpec as ComGithubElasticCloudOnK8sV3PkgApisEnterprisesearchV1beta1EnterpriseSearchSpec };