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 Data Science service. * * Lists projects in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testProjects = oci.datascience.getProjects({ * compartmentId: compartmentId, * createdBy: projectCreatedBy, * 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 { /** * Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: string; /** * Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. */ createdBy?: string; /** * Filter results by its user-friendly name. */ displayName?: string; filters?: inputs.DataScience.GetProjectsFilter[]; /** * Filter results by [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type. */ id?: string; /** * Filter results by the specified lifecycle state. Must be a valid state for the resource type. */ state?: string; } /** * A collection of values returned by getProjects. */ export interface GetProjectsResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project's compartment. */ readonly compartmentId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created this project. */ readonly createdBy?: string; /** * A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. */ readonly displayName?: string; readonly filters?: outputs.DataScience.GetProjectsFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project. */ readonly id?: string; /** * The list of projects. */ readonly projects: outputs.DataScience.GetProjectsProject[]; /** * The state of the project. */ readonly state?: string; } /** * This data source provides the list of Projects in Oracle Cloud Infrastructure Data Science service. * * Lists projects in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testProjects = oci.datascience.getProjects({ * compartmentId: compartmentId, * createdBy: projectCreatedBy, * 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 { /** * Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; /** * Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. */ createdBy?: pulumi.Input; /** * Filter results by its user-friendly name. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * Filter results by [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type. */ id?: pulumi.Input; /** * Filter results by the specified lifecycle state. Must be a valid state for the resource type. */ state?: pulumi.Input; } //# sourceMappingURL=getProjects.d.ts.map