import { IComGithubElasticCloudOnK8sV3PkgApisCommonV1AssociationStatusMap } from "../../common.k8s.elastic.co/v1/AssociationStatusMap.js"; import { IComGithubElasticCloudOnK8sV3PkgApisCommonV1AssociationStatus } from "../../common.k8s.elastic.co/v1/AssociationStatus.js"; import { IComGithubElasticCloudOnK8sV3PkgApisAgentV1alpha1AgentHealth } from "./AgentHealth.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * AgentStatus defines the observed state of the Agent */ export interface IAgentStatus { "availableNodes"?: number; "elasticsearchAssociationsStatus"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1AssociationStatusMap; "expectedNodes"?: number; "fleetServerAssociationStatus"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1AssociationStatus; "health"?: IComGithubElasticCloudOnK8sV3PkgApisAgentV1alpha1AgentHealth; "kibanaAssociationStatus"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1AssociationStatus; /** * ObservedGeneration is the most recent generation observed for this Elastic Agent. * It corresponds to the metadata generation, which is updated on mutation by the API Server. * If the generation observed in status diverges from the generation in metadata, the Elastic * Agent controller has not yet processed the changes contained in the Elastic Agent specification. */ "observedGeneration"?: number; /** * Version of the stack resource currently running. During version upgrades, multiple versions may run * in parallel: this value specifies the lowest version currently running. */ "version"?: string; } /** * AgentStatus defines the observed state of the Agent */ export declare class AgentStatus extends Model implements IAgentStatus { "availableNodes"?: number; "elasticsearchAssociationsStatus"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1AssociationStatusMap; "expectedNodes"?: number; "fleetServerAssociationStatus"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1AssociationStatus; "health"?: IComGithubElasticCloudOnK8sV3PkgApisAgentV1alpha1AgentHealth; "kibanaAssociationStatus"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1AssociationStatus; "observedGeneration"?: number; "version"?: string; constructor(data?: ModelData); } export type { IAgentStatus as IComGithubElasticCloudOnK8sV3PkgApisAgentV1alpha1AgentStatus, AgentStatus as ComGithubElasticCloudOnK8sV3PkgApisAgentV1alpha1AgentStatus };