import { IComGithubElasticCloudOnK8sV3PkgApisElasticsearchV1RemoteClusterAPIKey } from "./RemoteClusterAPIKey.js"; import { IComGithubElasticCloudOnK8sV3PkgApisCommonV1LocalObjectSelector } from "../../common.k8s.elastic.co/v1/LocalObjectSelector.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * RemoteCluster declares a remote Elasticsearch cluster connection. */ export interface IRemoteCluster { /** * APIKey can be used to enable remote cluster access using Cross-Cluster API keys: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-cross-cluster-api-key.html */ "apiKey"?: IComGithubElasticCloudOnK8sV3PkgApisElasticsearchV1RemoteClusterAPIKey; /** * ElasticsearchRef is a reference to an Elasticsearch cluster running within the same k8s cluster. */ "elasticsearchRef"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1LocalObjectSelector; /** * Name is the name of the remote cluster as it is set in the Elasticsearch settings. * The name is expected to be unique for each remote clusters. */ "name": string; } /** * RemoteCluster declares a remote Elasticsearch cluster connection. */ export declare class RemoteCluster extends Model implements IRemoteCluster { "apiKey"?: IComGithubElasticCloudOnK8sV3PkgApisElasticsearchV1RemoteClusterAPIKey; "elasticsearchRef"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1LocalObjectSelector; "name": string; constructor(data?: ModelData); } export type { IRemoteCluster as IComGithubElasticCloudOnK8sV3PkgApisElasticsearchV1RemoteCluster, RemoteCluster as ComGithubElasticCloudOnK8sV3PkgApisElasticsearchV1RemoteCluster };