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 Generative AI service. * * Lists the generativeAiProjects of a specific compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testProjects = oci.generativeai.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 [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. */ compartmentId: string; /** * A filter to return only resources that match the given display name exactly. */ displayName?: string; filters?: inputs.GenerativeAi.GetProjectsFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the generativeAiProject. */ id?: string; /** * A filter to return only resources whose lifecycle state matches the given value. */ state?: string; } /** * A collection of values returned by getProjects. */ export interface GetProjectsResult { /** * Owning compartment OCID for a GenerativeAiProject. */ readonly compartmentId: string; /** * A user-friendly name. */ readonly displayName?: string; readonly filters?: outputs.GenerativeAi.GetProjectsFilter[]; /** * The list of generative_ai_project_collection. */ readonly generativeAiProjectCollections: outputs.GenerativeAi.GetProjectsGenerativeAiProjectCollection[]; /** * An OCID that uniquely identifies a GenerativeAiProject. */ readonly id?: string; /** * The lifecycle state of a GenerativeAiProject. */ readonly state?: string; } /** * This data source provides the list of Projects in Oracle Cloud Infrastructure Generative AI service. * * Lists the generativeAiProjects of a specific compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testProjects = oci.generativeai.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 [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. */ compartmentId: pulumi.Input; /** * A filter to return only resources that match the given display name exactly. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the generativeAiProject. */ id?: pulumi.Input; /** * A filter to return only resources whose lifecycle state matches the given value. */ state?: pulumi.Input; } //# sourceMappingURL=getProjects.d.ts.map