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 Jobs in Oracle Cloud Infrastructure Ai Language service. * * Returns a list of language service async Jobs. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testJobs = oci.ailanguage.getJobs({ * compartmentId: compartmentId, * displayName: jobDisplayName, * id: jobId, * state: jobState, * }); * ``` */ export declare function getJobs(args: GetJobsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getJobs. */ export interface GetJobsArgs { /** * 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.AiLanguage.GetJobsFilter[]; /** * Unique identifier(OCID). */ id?: string; /** * A filter to return only resources whose lifecycleState matches the given lifecycleState. */ state?: string; } /** * A collection of values returned by getJobs. */ export interface GetJobsResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the job. */ readonly compartmentId: string; /** * A user-friendly display name for the job. */ readonly displayName?: string; readonly filters?: outputs.AiLanguage.GetJobsFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job. */ readonly id?: string; /** * The list of job_collection. */ readonly jobCollections: outputs.AiLanguage.GetJobsJobCollection[]; /** * The current state of the Job. */ readonly state?: string; } /** * This data source provides the list of Jobs in Oracle Cloud Infrastructure Ai Language service. * * Returns a list of language service async Jobs. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testJobs = oci.ailanguage.getJobs({ * compartmentId: compartmentId, * displayName: jobDisplayName, * id: jobId, * state: jobState, * }); * ``` */ export declare function getJobsOutput(args: GetJobsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getJobs. */ export interface GetJobsOutputArgs { /** * 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>; /** * Unique identifier(OCID). */ id?: pulumi.Input; /** * A filter to return only resources whose lifecycleState matches the given lifecycleState. */ state?: pulumi.Input; } //# sourceMappingURL=getJobs.d.ts.map