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 Projects in Oracle Cloud Infrastructure Ai Document service. * * Returns a list of projects. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testProjects = oci.aidocument.getProjects({ * compartmentId: compartmentId, * displayName: projectDisplayName, * id: projectId, * state: projectState, * }); * ``` */ export declare function getProjects(args?: GetProjectsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getProjects. */ export interface GetProjectsArgs { /** * 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.AiDocument.GetProjectsFilter[]; /** * The filter to find the project with the given identifier. */ id?: string; /** * The filter to match projects with the given lifecycleState. */ state?: string; } /** * A collection of values returned by getProjects. */ export interface GetProjectsResult { /** * The lock compartment ID. */ readonly compartmentId?: string; /** * A human-friendly name for the project, which can be changed. */ readonly displayName?: string; readonly filters?: outputs.AiDocument.GetProjectsFilter[]; /** * A unique identifier that is immutable after creation. */ readonly id?: string; /** * The list of project_collection. */ readonly projectCollections: outputs.AiDocument.GetProjectsProjectCollection[]; /** * The current state of the project. */ readonly state?: string; } /** * This data source provides the list of Projects in Oracle Cloud Infrastructure Ai Document service. * * Returns a list of projects. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testProjects = oci.aidocument.getProjects({ * compartmentId: compartmentId, * displayName: projectDisplayName, * id: projectId, * state: projectState, * }); * ``` */ export declare function getProjectsOutput(args?: GetProjectsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getProjects. */ export interface GetProjectsOutputArgs { /** * 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>; /** * The filter to find the project with the given identifier. */ id?: pulumi.Input; /** * The filter to match projects with the given lifecycleState. */ state?: pulumi.Input; } //# sourceMappingURL=getProjects.d.ts.map