import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Job resource in Oracle Cloud Infrastructure Ai Language service. * * Gets a language service async job * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testJob = oci.ailanguage.getJob({ * jobId: testJobOciAiLanguageJob.id, * }); * ``` */ export declare function getJob(args: GetJobArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getJob. */ export interface GetJobArgs { /** * Unique Transcription Job identifier. */ jobId: string; } /** * A collection of values returned by getJob. */ export interface GetJobResult { /** * 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; /** * Number of documents processed for prediction. For CSV this signifies number of rows and for TXT this signifies number of files. */ readonly completedDocuments: number; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the job. */ readonly createdBy: string; /** * A short description of the job. */ readonly description: string; /** * A user-friendly display name for the job. */ readonly displayName: string; /** * Number of documents failed for prediction. For CSV this signifies number of rows and for TXT this signifies number of files. */ readonly failedDocuments: number; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job. */ readonly id: string; /** * input documents configuration by default TXT files will be processed and this behaviour will not change in future after adding new types */ readonly inputConfigurations: outputs.AiLanguage.GetJobInputConfiguration[]; /** * document location and other meta data about documents For TXT only ObjectStoragePrefixLocation supported For CSV only ObjectStorageFileNameLocation is supported For this release only one file is supported for ObjectStorageFileNameLocation i.e CSV file type */ readonly inputLocations: outputs.AiLanguage.GetJobInputLocation[]; readonly jobId: string; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. */ readonly lifecycleDetails: string; /** * training model details For this release only one model is allowed to be input here. One of the three modelType, ModelId, endpointId should be given other wise error will be thrown from API */ readonly modelMetadataDetails: outputs.AiLanguage.GetJobModelMetadataDetail[]; /** * Object storage output location to write inference results */ readonly outputLocations: outputs.AiLanguage.GetJobOutputLocation[]; /** * Number of documents still to process. For CSV this signifies number of rows and for TXT this signifies number of files. */ readonly pendingDocuments: number; /** * How much progress the operation has made, vs the total amount of work that must be performed. */ readonly percentComplete: number; /** * The current state of the Job. */ readonly state: string; /** * Job accepted time. */ readonly timeAccepted: string; /** * Job finished time. */ readonly timeCompleted: string; /** * Job started time. */ readonly timeStarted: string; /** * Total number of documents given as input for prediction. For CSV this signifies number of rows and for TXT this signifies number of files. */ readonly totalDocuments: number; /** * Time to live duration in days for Job. Job will be available till max 90 days. */ readonly ttlInDays: number; /** * warnings count */ readonly warningsCount: number; } /** * This data source provides details about a specific Job resource in Oracle Cloud Infrastructure Ai Language service. * * Gets a language service async job * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testJob = oci.ailanguage.getJob({ * jobId: testJobOciAiLanguageJob.id, * }); * ``` */ export declare function getJobOutput(args: GetJobOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getJob. */ export interface GetJobOutputArgs { /** * Unique Transcription Job identifier. */ jobId: pulumi.Input; } //# sourceMappingURL=getJob.d.ts.map