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 Clusters in Oracle Cloud Infrastructure Container Engine service. * * List all the cluster objects in a compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testClusters = oci.containerengine.getClusters({ * compartmentId: compartmentId, * name: clusterName, * states: clusterState, * }); * ``` */ export declare function getClusters(args: GetClustersArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getClusters. */ export interface GetClustersArgs { /** * The OCID of the compartment. */ compartmentId: string; filters?: inputs.ContainerEngine.GetClustersFilter[]; /** * The name to filter on. */ name?: string; /** * A cluster lifecycle state to filter on. Can have multiple parameters of this name. */ states?: string[]; } /** * A collection of values returned by getClusters. */ export interface GetClustersResult { /** * The list of clusters. */ readonly clusters: outputs.ContainerEngine.GetClustersCluster[]; /** * The OCID of the compartment in which the cluster exists. */ readonly compartmentId: string; readonly filters?: outputs.ContainerEngine.GetClustersFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The name of the cluster. */ readonly name?: string; /** * The state of the cluster masters. */ readonly states?: string[]; } /** * This data source provides the list of Clusters in Oracle Cloud Infrastructure Container Engine service. * * List all the cluster objects in a compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testClusters = oci.containerengine.getClusters({ * compartmentId: compartmentId, * name: clusterName, * states: clusterState, * }); * ``` */ export declare function getClustersOutput(args: GetClustersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getClusters. */ export interface GetClustersOutputArgs { /** * The OCID of the compartment. */ compartmentId: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The name to filter on. */ name?: pulumi.Input; /** * A cluster lifecycle state to filter on. Can have multiple parameters of this name. */ states?: pulumi.Input[] | undefined>; } //# sourceMappingURL=getClusters.d.ts.map