import { IComGithubElasticCloudOnK8sV3PkgApisCommonV1Config } from "../../common.k8s.elastic.co/v1/Config.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 { IComGithubElasticCloudOnK8sV3PkgApisCommonV1SecretSource } from "../../common.k8s.elastic.co/v1/SecretSource.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * ApmServerSpec holds the specification of an APM Server. */ export interface IApmServerSpec { /** * Config holds the APM Server configuration. See: https://www.elastic.co/guide/en/apm/server/current/configuring-howto-apm-server.html */ "config"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1Config; /** * Count of APM Server instances to deploy. */ "count"?: number; /** * ElasticsearchRef is a reference to the output Elasticsearch cluster running in the same Kubernetes cluster. */ "elasticsearchRef"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1ObjectSelector; /** * HTTP holds the HTTP layer configuration for the APM Server resource. */ "http"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1HTTPConfig; /** * Image is the APM Server Docker image to deploy. */ "image"?: string; /** * KibanaRef is a reference to a Kibana instance running in the same Kubernetes cluster. * It allows APM agent central configuration management in Kibana. */ "kibanaRef"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1ObjectSelector; /** * PodTemplate provides customisation options (labels, annotations, affinity rules, resource requests, and so on) for the APM Server pods. */ "podTemplate"?: IIoK8sApiCoreV1PodTemplateSpec; /** * RevisionHistoryLimit is the number of revisions to retain to allow rollback in the underlying Deployment. */ "revisionHistoryLimit"?: number; /** * SecureSettings is a list of references to Kubernetes secrets containing sensitive configuration options for APM Server. */ "secureSettings"?: Array; /** * 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 the APM Server. */ "version": string; } /** * ApmServerSpec holds the specification of an APM Server. */ export declare class ApmServerSpec extends Model implements IApmServerSpec { "config"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1Config; "count"?: number; "elasticsearchRef"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1ObjectSelector; "http"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1HTTPConfig; "image"?: string; "kibanaRef"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1ObjectSelector; "podTemplate"?: IIoK8sApiCoreV1PodTemplateSpec; "revisionHistoryLimit"?: number; "secureSettings"?: Array; "serviceAccountName"?: string; "version": string; constructor(data?: ModelData); } export type { IApmServerSpec as IComGithubElasticCloudOnK8sV3PkgApisApmV1ApmServerSpec, ApmServerSpec as ComGithubElasticCloudOnK8sV3PkgApisApmV1ApmServerSpec };