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 Metastores in Oracle Cloud Infrastructure Data Catalog service. * * Returns a list of all metastores in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMetastores = oci.datacatalog.getMetastores({ * compartmentId: compartmentId, * displayName: metastoreDisplayName, * state: metastoreState, * }); * ``` */ export declare function getMetastores(args: GetMetastoresArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getMetastores. */ export interface GetMetastoresArgs { /** * The OCID of the compartment where you want to list resources. */ compartmentId: string; /** * A filter to return only resources that match the entire display name given. The match is not case sensitive. */ displayName?: string; filters?: inputs.DataCatalog.GetMetastoresFilter[]; /** * A filter to return only resources that match the specified lifecycle state. The value is case insensitive. */ state?: string; } /** * A collection of values returned by getMetastores. */ export interface GetMetastoresResult { /** * OCID of the compartment which holds the metastore. */ readonly compartmentId: string; /** * Mutable name of the metastore. */ readonly displayName?: string; readonly filters?: outputs.DataCatalog.GetMetastoresFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of metastores. */ readonly metastores: outputs.DataCatalog.GetMetastoresMetastore[]; /** * The current state of the metastore. */ readonly state?: string; } /** * This data source provides the list of Metastores in Oracle Cloud Infrastructure Data Catalog service. * * Returns a list of all metastores in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMetastores = oci.datacatalog.getMetastores({ * compartmentId: compartmentId, * displayName: metastoreDisplayName, * state: metastoreState, * }); * ``` */ export declare function getMetastoresOutput(args: GetMetastoresOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getMetastores. */ export interface GetMetastoresOutputArgs { /** * The OCID of the compartment where you want to list resources. */ compartmentId: pulumi.Input; /** * A filter to return only resources that match the entire display name given. The match is not case sensitive. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return only resources that match the specified lifecycle state. The value is case insensitive. */ state?: pulumi.Input; } //# sourceMappingURL=getMetastores.d.ts.map