import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Opensearch Clusters in Oracle Cloud Infrastructure Opensearch service. * * Returns a list of OpensearchClusters. * * ## Prerequisites * * The below policies must be created in compartment before creating OpensearchCluster * * ##### {Compartment-Name} - Name of your compartment * * For latest documentation on OpenSearch use please refer to https://docs.oracle.com/en-us/iaas/Content/search-opensearch/home.htm\ * Required permissions: https://docs.oracle.com/en-us/iaas/Content/search-opensearch/Concepts/ocisearchpermissions.htm * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOpensearchClusters = oci.opensearch.getOpensearchClusters({ * compartmentId: compartmentId, * displayName: opensearchClusterDisplayName, * id: opensearchClusterId, * state: opensearchClusterState, * }); * ``` */ export declare function getOpensearchClusters(args: GetOpensearchClustersArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getOpensearchClusters. */ export interface GetOpensearchClustersArgs { /** * The ID of the compartment in which to list resources. */ compartmentId: string; /** * A filter to return only resources that match the entire display name given. */ displayName?: string; filters?: inputs.Opensearch.GetOpensearchClustersFilter[]; /** * unique OpensearchCluster identifier */ id?: string; /** * A filter to return only OpensearchClusters their lifecycleState matches the given lifecycleState. */ state?: string; } /** * A collection of values returned by getOpensearchClusters. */ export interface GetOpensearchClustersResult { /** * The OCID of the compartment where the cluster is located. */ readonly compartmentId: string; /** * Name of the Outbound cluster. Avoid entering confidential information. */ readonly displayName?: string; readonly filters?: outputs.Opensearch.GetOpensearchClustersFilter[]; /** * The OCID of the cluster. */ readonly id?: string; /** * The list of opensearch_cluster_collection. */ readonly opensearchClusterCollections: outputs.Opensearch.GetOpensearchClustersOpensearchClusterCollection[]; /** * The current state of the cluster. */ readonly state?: string; } /** * This data source provides the list of Opensearch Clusters in Oracle Cloud Infrastructure Opensearch service. * * Returns a list of OpensearchClusters. * * ## Prerequisites * * The below policies must be created in compartment before creating OpensearchCluster * * ##### {Compartment-Name} - Name of your compartment * * For latest documentation on OpenSearch use please refer to https://docs.oracle.com/en-us/iaas/Content/search-opensearch/home.htm\ * Required permissions: https://docs.oracle.com/en-us/iaas/Content/search-opensearch/Concepts/ocisearchpermissions.htm * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOpensearchClusters = oci.opensearch.getOpensearchClusters({ * compartmentId: compartmentId, * displayName: opensearchClusterDisplayName, * id: opensearchClusterId, * state: opensearchClusterState, * }); * ``` */ export declare function getOpensearchClustersOutput(args: GetOpensearchClustersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getOpensearchClusters. */ export interface GetOpensearchClustersOutputArgs { /** * The ID of the compartment in which to list resources. */ compartmentId: pulumi.Input; /** * A filter to return only resources that match the entire display name given. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * unique OpensearchCluster identifier */ id?: pulumi.Input; /** * A filter to return only OpensearchClusters their lifecycleState matches the given lifecycleState. */ state?: pulumi.Input; } //# sourceMappingURL=getOpensearchClusters.d.ts.map