Oracle Cloud Infrastructure v3.9.0 published on Wednesday, Sep 24, 2025 by Pulumi
oci.AiDocument.getProcessorJob
This data source provides details about a specific Processor Job resource in Oracle Cloud Infrastructure Ai Document service.
Get the details of a processor job.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testProcessorJob = oci.AiDocument.getProcessorJob({
    processorJobId: testProcessorJobOciAiDocumentProcessorJob.id,
});
import pulumi
import pulumi_oci as oci
test_processor_job = oci.AiDocument.get_processor_job(processor_job_id=test_processor_job_oci_ai_document_processor_job["id"])
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/aidocument"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := aidocument.GetProcessorJob(ctx, &aidocument.GetProcessorJobArgs{
			ProcessorJobId: testProcessorJobOciAiDocumentProcessorJob.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() => 
{
    var testProcessorJob = Oci.AiDocument.GetProcessorJob.Invoke(new()
    {
        ProcessorJobId = testProcessorJobOciAiDocumentProcessorJob.Id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.AiDocument.AiDocumentFunctions;
import com.pulumi.oci.AiDocument.inputs.GetProcessorJobArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var testProcessorJob = AiDocumentFunctions.getProcessorJob(GetProcessorJobArgs.builder()
            .processorJobId(testProcessorJobOciAiDocumentProcessorJob.id())
            .build());
    }
}
variables:
  testProcessorJob:
    fn::invoke:
      function: oci:AiDocument:getProcessorJob
      arguments:
        processorJobId: ${testProcessorJobOciAiDocumentProcessorJob.id}
Using getProcessorJob
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getProcessorJob(args: GetProcessorJobArgs, opts?: InvokeOptions): Promise<GetProcessorJobResult>
function getProcessorJobOutput(args: GetProcessorJobOutputArgs, opts?: InvokeOptions): Output<GetProcessorJobResult>def get_processor_job(processor_job_id: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetProcessorJobResult
def get_processor_job_output(processor_job_id: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetProcessorJobResult]func LookupProcessorJob(ctx *Context, args *LookupProcessorJobArgs, opts ...InvokeOption) (*LookupProcessorJobResult, error)
func LookupProcessorJobOutput(ctx *Context, args *LookupProcessorJobOutputArgs, opts ...InvokeOption) LookupProcessorJobResultOutput> Note: This function is named LookupProcessorJob in the Go SDK.
public static class GetProcessorJob 
{
    public static Task<GetProcessorJobResult> InvokeAsync(GetProcessorJobArgs args, InvokeOptions? opts = null)
    public static Output<GetProcessorJobResult> Invoke(GetProcessorJobInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetProcessorJobResult> getProcessorJob(GetProcessorJobArgs args, InvokeOptions options)
public static Output<GetProcessorJobResult> getProcessorJob(GetProcessorJobArgs args, InvokeOptions options)
fn::invoke:
  function: oci:AiDocument/getProcessorJob:getProcessorJob
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ProcessorJob stringId 
- Processor job id.
- ProcessorJob stringId 
- Processor job id.
- processorJob StringId 
- Processor job id.
- processorJob stringId 
- Processor job id.
- processor_job_ strid 
- Processor job id.
- processorJob StringId 
- Processor job id.
getProcessorJob Result
The following output properties are available:
- CompartmentId string
- The compartment identifier.
- DisplayName string
- The display name of the processor job.
- Id string
- The id of the processor job.
- InputLocations List<GetProcessor Job Input Location> 
- The location of the inputs.
- LifecycleDetails string
- The detailed status of FAILED state.
- OutputLocations List<GetProcessor Job Output Location> 
- The object storage location where to store analysis results.
- PercentComplete double
- How much progress the operation has made, compared to the total amount of work to be performed.
- ProcessorConfigs List<GetProcessor Job Processor Config> 
- The configuration of a processor.
- ProcessorJob stringId 
- State string
- The current state of the processor job.
- TimeAccepted string
- The job acceptance time.
- TimeFinished string
- The job finish time.
- TimeStarted string
- The job start time.
- CompartmentId string
- The compartment identifier.
- DisplayName string
- The display name of the processor job.
- Id string
- The id of the processor job.
- InputLocations []GetProcessor Job Input Location 
- The location of the inputs.
- LifecycleDetails string
- The detailed status of FAILED state.
- OutputLocations []GetProcessor Job Output Location 
- The object storage location where to store analysis results.
- PercentComplete float64
- How much progress the operation has made, compared to the total amount of work to be performed.
- ProcessorConfigs []GetProcessor Job Processor Config 
- The configuration of a processor.
- ProcessorJob stringId 
- State string
- The current state of the processor job.
- TimeAccepted string
- The job acceptance time.
- TimeFinished string
- The job finish time.
- TimeStarted string
- The job start time.
- compartmentId String
- The compartment identifier.
- displayName String
- The display name of the processor job.
- id String
- The id of the processor job.
- inputLocations List<GetProcessor Job Input Location> 
- The location of the inputs.
- lifecycleDetails String
- The detailed status of FAILED state.
- outputLocations List<GetProcessor Job Output Location> 
- The object storage location where to store analysis results.
- percentComplete Double
- How much progress the operation has made, compared to the total amount of work to be performed.
- processorConfigs List<GetProcessor Job Processor Config> 
- The configuration of a processor.
- processorJob StringId 
- state String
- The current state of the processor job.
- timeAccepted String
- The job acceptance time.
- timeFinished String
- The job finish time.
- timeStarted String
- The job start time.
- compartmentId string
- The compartment identifier.
- displayName string
- The display name of the processor job.
- id string
- The id of the processor job.
- inputLocations GetProcessor Job Input Location[] 
- The location of the inputs.
- lifecycleDetails string
- The detailed status of FAILED state.
- outputLocations GetProcessor Job Output Location[] 
- The object storage location where to store analysis results.
- percentComplete number
- How much progress the operation has made, compared to the total amount of work to be performed.
- processorConfigs GetProcessor Job Processor Config[] 
- The configuration of a processor.
- processorJob stringId 
- state string
- The current state of the processor job.
- timeAccepted string
- The job acceptance time.
- timeFinished string
- The job finish time.
- timeStarted string
- The job start time.
- compartment_id str
- The compartment identifier.
- display_name str
- The display name of the processor job.
- id str
- The id of the processor job.
- input_locations Sequence[GetProcessor Job Input Location] 
- The location of the inputs.
- lifecycle_details str
- The detailed status of FAILED state.
- output_locations Sequence[GetProcessor Job Output Location] 
- The object storage location where to store analysis results.
- percent_complete float
- How much progress the operation has made, compared to the total amount of work to be performed.
- processor_configs Sequence[GetProcessor Job Processor Config] 
- The configuration of a processor.
- processor_job_ strid 
- state str
- The current state of the processor job.
- time_accepted str
- The job acceptance time.
- time_finished str
- The job finish time.
- time_started str
- The job start time.
- compartmentId String
- The compartment identifier.
- displayName String
- The display name of the processor job.
- id String
- The id of the processor job.
- inputLocations List<Property Map>
- The location of the inputs.
- lifecycleDetails String
- The detailed status of FAILED state.
- outputLocations List<Property Map>
- The object storage location where to store analysis results.
- percentComplete Number
- How much progress the operation has made, compared to the total amount of work to be performed.
- processorConfigs List<Property Map>
- The configuration of a processor.
- processorJob StringId 
- state String
- The current state of the processor job.
- timeAccepted String
- The job acceptance time.
- timeFinished String
- The job finish time.
- timeStarted String
- The job start time.
Supporting Types
GetProcessorJobInputLocation    
- Data string
- Raw document data with Base64 encoding.
- ObjectLocations List<GetProcessor Job Input Location Object Location> 
- The list of ObjectLocations.
- PageRanges List<string>
- The page ranges to be analysed.
- SourceType string
- The type of input location. The allowed values are:- OBJECT_STORAGE_LOCATIONS: A list of object locations in Object Storage.
- INLINE_DOCUMENT_CONTENT: The content of an inline document.
 
- Data string
- Raw document data with Base64 encoding.
- ObjectLocations []GetProcessor Job Input Location Object Location 
- The list of ObjectLocations.
- PageRanges []string
- The page ranges to be analysed.
- SourceType string
- The type of input location. The allowed values are:- OBJECT_STORAGE_LOCATIONS: A list of object locations in Object Storage.
- INLINE_DOCUMENT_CONTENT: The content of an inline document.
 
- data String
- Raw document data with Base64 encoding.
- objectLocations List<GetProcessor Job Input Location Object Location> 
- The list of ObjectLocations.
- pageRanges List<String>
- The page ranges to be analysed.
- sourceType String
- The type of input location. The allowed values are:- OBJECT_STORAGE_LOCATIONS: A list of object locations in Object Storage.
- INLINE_DOCUMENT_CONTENT: The content of an inline document.
 
- data string
- Raw document data with Base64 encoding.
- objectLocations GetProcessor Job Input Location Object Location[] 
- The list of ObjectLocations.
- pageRanges string[]
- The page ranges to be analysed.
- sourceType string
- The type of input location. The allowed values are:- OBJECT_STORAGE_LOCATIONS: A list of object locations in Object Storage.
- INLINE_DOCUMENT_CONTENT: The content of an inline document.
 
- data str
- Raw document data with Base64 encoding.
- object_locations Sequence[GetProcessor Job Input Location Object Location] 
- The list of ObjectLocations.
- page_ranges Sequence[str]
- The page ranges to be analysed.
- source_type str
- The type of input location. The allowed values are:- OBJECT_STORAGE_LOCATIONS: A list of object locations in Object Storage.
- INLINE_DOCUMENT_CONTENT: The content of an inline document.
 
- data String
- Raw document data with Base64 encoding.
- objectLocations List<Property Map>
- The list of ObjectLocations.
- pageRanges List<String>
- The page ranges to be analysed.
- sourceType String
- The type of input location. The allowed values are:- OBJECT_STORAGE_LOCATIONS: A list of object locations in Object Storage.
- INLINE_DOCUMENT_CONTENT: The content of an inline document.
 
GetProcessorJobInputLocationObjectLocation      
- Bucket string
- The Object Storage bucket name.
- Namespace string
- The Object Storage namespace.
- Object string
- The Object Storage object name.
- PageRanges List<string>
- The page ranges to be analysed.
- Bucket string
- The Object Storage bucket name.
- Namespace string
- The Object Storage namespace.
- Object string
- The Object Storage object name.
- PageRanges []string
- The page ranges to be analysed.
- bucket String
- The Object Storage bucket name.
- namespace String
- The Object Storage namespace.
- object String
- The Object Storage object name.
- pageRanges List<String>
- The page ranges to be analysed.
- bucket string
- The Object Storage bucket name.
- namespace string
- The Object Storage namespace.
- object string
- The Object Storage object name.
- pageRanges string[]
- The page ranges to be analysed.
- bucket str
- The Object Storage bucket name.
- namespace str
- The Object Storage namespace.
- object str
- The Object Storage object name.
- page_ranges Sequence[str]
- The page ranges to be analysed.
- bucket String
- The Object Storage bucket name.
- namespace String
- The Object Storage namespace.
- object String
- The Object Storage object name.
- pageRanges List<String>
- The page ranges to be analysed.
GetProcessorJobOutputLocation    
GetProcessorJobProcessorConfig    
- DocumentType string
- The document type.
- Features
List<GetProcessor Job Processor Config Feature> 
- The types of document analysis requested.
- IsZip boolOutput Enabled 
- Whether or not to generate a ZIP file containing the results.
- Language string
- The document language, abbreviated according to the BCP 47 Language-Tag syntax.
- ModelId string
- Unique identifier custom model OCID that should be used for inference.
- NormalizationFields List<GetProcessor Job Processor Config Normalization Field> 
- A string-to-object map where the key is the normalization field and the object contains information about the field.
- ProcessorType string
- The type of the processor.
- DocumentType string
- The document type.
- Features
[]GetProcessor Job Processor Config Feature 
- The types of document analysis requested.
- IsZip boolOutput Enabled 
- Whether or not to generate a ZIP file containing the results.
- Language string
- The document language, abbreviated according to the BCP 47 Language-Tag syntax.
- ModelId string
- Unique identifier custom model OCID that should be used for inference.
- NormalizationFields []GetProcessor Job Processor Config Normalization Field 
- A string-to-object map where the key is the normalization field and the object contains information about the field.
- ProcessorType string
- The type of the processor.
- documentType String
- The document type.
- features
List<GetProcessor Job Processor Config Feature> 
- The types of document analysis requested.
- isZip BooleanOutput Enabled 
- Whether or not to generate a ZIP file containing the results.
- language String
- The document language, abbreviated according to the BCP 47 Language-Tag syntax.
- modelId String
- Unique identifier custom model OCID that should be used for inference.
- normalizationFields List<GetProcessor Job Processor Config Normalization Field> 
- A string-to-object map where the key is the normalization field and the object contains information about the field.
- processorType String
- The type of the processor.
- documentType string
- The document type.
- features
GetProcessor Job Processor Config Feature[] 
- The types of document analysis requested.
- isZip booleanOutput Enabled 
- Whether or not to generate a ZIP file containing the results.
- language string
- The document language, abbreviated according to the BCP 47 Language-Tag syntax.
- modelId string
- Unique identifier custom model OCID that should be used for inference.
- normalizationFields GetProcessor Job Processor Config Normalization Field[] 
- A string-to-object map where the key is the normalization field and the object contains information about the field.
- processorType string
- The type of the processor.
- document_type str
- The document type.
- features
Sequence[GetProcessor Job Processor Config Feature] 
- The types of document analysis requested.
- is_zip_ booloutput_ enabled 
- Whether or not to generate a ZIP file containing the results.
- language str
- The document language, abbreviated according to the BCP 47 Language-Tag syntax.
- model_id str
- Unique identifier custom model OCID that should be used for inference.
- normalization_fields Sequence[GetProcessor Job Processor Config Normalization Field] 
- A string-to-object map where the key is the normalization field and the object contains information about the field.
- processor_type str
- The type of the processor.
- documentType String
- The document type.
- features List<Property Map>
- The types of document analysis requested.
- isZip BooleanOutput Enabled 
- Whether or not to generate a ZIP file containing the results.
- language String
- The document language, abbreviated according to the BCP 47 Language-Tag syntax.
- modelId String
- Unique identifier custom model OCID that should be used for inference.
- normalizationFields List<Property Map>
- A string-to-object map where the key is the normalization field and the object contains information about the field.
- processorType String
- The type of the processor.
GetProcessorJobProcessorConfigFeature     
- FeatureType string
- The type of document analysis requested. The allowed values are:- LANGUAGE_CLASSIFICATION: Detect the language.
- TEXT_EXTRACTION: Recognize text.
- TABLE_EXTRACTION: Detect and extract data in tables.
- KEY_VALUE_EXTRACTION: Extract form fields.
- DOCUMENT_CLASSIFICATION: Identify the type of document.
- DOCUMENT_ELEMENTS_EXTRACTION: Extract information from bar code
 
- GenerateSearchable boolPdf 
- Whether or not to generate a searchable PDF file.
- MaxResults int
- The maximum number of results to return.
- ModelId string
- Unique identifier custom model OCID that should be used for inference.
- SelectionMark boolDetection 
- Whether checkbox detection feature is enabled or disabled.
- TenancyId string
- The custom model tenancy ID when modelId represents aliasName.
- FeatureType string
- The type of document analysis requested. The allowed values are:- LANGUAGE_CLASSIFICATION: Detect the language.
- TEXT_EXTRACTION: Recognize text.
- TABLE_EXTRACTION: Detect and extract data in tables.
- KEY_VALUE_EXTRACTION: Extract form fields.
- DOCUMENT_CLASSIFICATION: Identify the type of document.
- DOCUMENT_ELEMENTS_EXTRACTION: Extract information from bar code
 
- GenerateSearchable boolPdf 
- Whether or not to generate a searchable PDF file.
- MaxResults int
- The maximum number of results to return.
- ModelId string
- Unique identifier custom model OCID that should be used for inference.
- SelectionMark boolDetection 
- Whether checkbox detection feature is enabled or disabled.
- TenancyId string
- The custom model tenancy ID when modelId represents aliasName.
- featureType String
- The type of document analysis requested. The allowed values are:- LANGUAGE_CLASSIFICATION: Detect the language.
- TEXT_EXTRACTION: Recognize text.
- TABLE_EXTRACTION: Detect and extract data in tables.
- KEY_VALUE_EXTRACTION: Extract form fields.
- DOCUMENT_CLASSIFICATION: Identify the type of document.
- DOCUMENT_ELEMENTS_EXTRACTION: Extract information from bar code
 
- generateSearchable BooleanPdf 
- Whether or not to generate a searchable PDF file.
- maxResults Integer
- The maximum number of results to return.
- modelId String
- Unique identifier custom model OCID that should be used for inference.
- selectionMark BooleanDetection 
- Whether checkbox detection feature is enabled or disabled.
- tenancyId String
- The custom model tenancy ID when modelId represents aliasName.
- featureType string
- The type of document analysis requested. The allowed values are:- LANGUAGE_CLASSIFICATION: Detect the language.
- TEXT_EXTRACTION: Recognize text.
- TABLE_EXTRACTION: Detect and extract data in tables.
- KEY_VALUE_EXTRACTION: Extract form fields.
- DOCUMENT_CLASSIFICATION: Identify the type of document.
- DOCUMENT_ELEMENTS_EXTRACTION: Extract information from bar code
 
- generateSearchable booleanPdf 
- Whether or not to generate a searchable PDF file.
- maxResults number
- The maximum number of results to return.
- modelId string
- Unique identifier custom model OCID that should be used for inference.
- selectionMark booleanDetection 
- Whether checkbox detection feature is enabled or disabled.
- tenancyId string
- The custom model tenancy ID when modelId represents aliasName.
- feature_type str
- The type of document analysis requested. The allowed values are:- LANGUAGE_CLASSIFICATION: Detect the language.
- TEXT_EXTRACTION: Recognize text.
- TABLE_EXTRACTION: Detect and extract data in tables.
- KEY_VALUE_EXTRACTION: Extract form fields.
- DOCUMENT_CLASSIFICATION: Identify the type of document.
- DOCUMENT_ELEMENTS_EXTRACTION: Extract information from bar code
 
- generate_searchable_ boolpdf 
- Whether or not to generate a searchable PDF file.
- max_results int
- The maximum number of results to return.
- model_id str
- Unique identifier custom model OCID that should be used for inference.
- selection_mark_ booldetection 
- Whether checkbox detection feature is enabled or disabled.
- tenancy_id str
- The custom model tenancy ID when modelId represents aliasName.
- featureType String
- The type of document analysis requested. The allowed values are:- LANGUAGE_CLASSIFICATION: Detect the language.
- TEXT_EXTRACTION: Recognize text.
- TABLE_EXTRACTION: Detect and extract data in tables.
- KEY_VALUE_EXTRACTION: Extract form fields.
- DOCUMENT_CLASSIFICATION: Identify the type of document.
- DOCUMENT_ELEMENTS_EXTRACTION: Extract information from bar code
 
- generateSearchable BooleanPdf 
- Whether or not to generate a searchable PDF file.
- maxResults Number
- The maximum number of results to return.
- modelId String
- Unique identifier custom model OCID that should be used for inference.
- selectionMark BooleanDetection 
- Whether checkbox detection feature is enabled or disabled.
- tenancyId String
- The custom model tenancy ID when modelId represents aliasName.
GetProcessorJobProcessorConfigNormalizationField      
- Maps
[]GetProcessor Job Processor Config Normalization Field Map 
- A wrapped map.
- maps
GetProcessor Job Processor Config Normalization Field Map[] 
- A wrapped map.
- maps List<Property Map>
- A wrapped map.
GetProcessorJobProcessorConfigNormalizationFieldMap       
- NormalizationType string
- A string mapping to the normalization type.
- NormalizationType string
- A string mapping to the normalization type.
- normalizationType String
- A string mapping to the normalization type.
- normalizationType string
- A string mapping to the normalization type.
- normalization_type str
- A string mapping to the normalization type.
- normalizationType String
- A string mapping to the normalization type.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.
