oci.AiDocument.ProcessorJob
Explore with Pulumi AI
This resource provides the Processor Job resource in Oracle Cloud Infrastructure Ai Document service.
Create a processor job for document analysis.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testProcessorJob = new oci.aidocument.ProcessorJob("test_processor_job", {
compartmentId: compartmentId,
inputLocation: {
sourceType: processorJobInputLocationSourceType,
data: processorJobInputLocationData,
objectLocations: [{
bucket: processorJobInputLocationObjectLocationsBucket,
namespace: processorJobInputLocationObjectLocationsNamespace,
object: processorJobInputLocationObjectLocationsObject,
}],
},
outputLocation: {
bucket: processorJobOutputLocationBucket,
namespace: processorJobOutputLocationNamespace,
prefix: processorJobOutputLocationPrefix,
},
processorConfig: {
features: [{
featureType: processorJobProcessorConfigFeaturesFeatureType,
generateSearchablePdf: processorJobProcessorConfigFeaturesGenerateSearchablePdf,
maxResults: processorJobProcessorConfigFeaturesMaxResults,
modelId: testModel.id,
tenancyId: testTenancy.id,
}],
processorType: processorJobProcessorConfigProcessorType,
documentType: processorJobProcessorConfigDocumentType,
isZipOutputEnabled: processorJobProcessorConfigIsZipOutputEnabled,
language: processorJobProcessorConfigLanguage,
},
displayName: processorJobDisplayName,
});
import pulumi
import pulumi_oci as oci
test_processor_job = oci.ai_document.ProcessorJob("test_processor_job",
compartment_id=compartment_id,
input_location={
"source_type": processor_job_input_location_source_type,
"data": processor_job_input_location_data,
"object_locations": [{
"bucket": processor_job_input_location_object_locations_bucket,
"namespace": processor_job_input_location_object_locations_namespace,
"object": processor_job_input_location_object_locations_object,
}],
},
output_location={
"bucket": processor_job_output_location_bucket,
"namespace": processor_job_output_location_namespace,
"prefix": processor_job_output_location_prefix,
},
processor_config={
"features": [{
"feature_type": processor_job_processor_config_features_feature_type,
"generate_searchable_pdf": processor_job_processor_config_features_generate_searchable_pdf,
"max_results": processor_job_processor_config_features_max_results,
"model_id": test_model["id"],
"tenancy_id": test_tenancy["id"],
}],
"processor_type": processor_job_processor_config_processor_type,
"document_type": processor_job_processor_config_document_type,
"is_zip_output_enabled": processor_job_processor_config_is_zip_output_enabled,
"language": processor_job_processor_config_language,
},
display_name=processor_job_display_name)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/AiDocument"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := AiDocument.NewProcessorJob(ctx, "test_processor_job", &AiDocument.ProcessorJobArgs{
CompartmentId: pulumi.Any(compartmentId),
InputLocation: &aidocument.ProcessorJobInputLocationArgs{
SourceType: pulumi.Any(processorJobInputLocationSourceType),
Data: pulumi.Any(processorJobInputLocationData),
ObjectLocations: aidocument.ProcessorJobInputLocationObjectLocationArray{
&aidocument.ProcessorJobInputLocationObjectLocationArgs{
Bucket: pulumi.Any(processorJobInputLocationObjectLocationsBucket),
Namespace: pulumi.Any(processorJobInputLocationObjectLocationsNamespace),
Object: pulumi.Any(processorJobInputLocationObjectLocationsObject),
},
},
},
OutputLocation: &aidocument.ProcessorJobOutputLocationArgs{
Bucket: pulumi.Any(processorJobOutputLocationBucket),
Namespace: pulumi.Any(processorJobOutputLocationNamespace),
Prefix: pulumi.Any(processorJobOutputLocationPrefix),
},
ProcessorConfig: &aidocument.ProcessorJobProcessorConfigArgs{
Features: aidocument.ProcessorJobProcessorConfigFeatureArray{
&aidocument.ProcessorJobProcessorConfigFeatureArgs{
FeatureType: pulumi.Any(processorJobProcessorConfigFeaturesFeatureType),
GenerateSearchablePdf: pulumi.Any(processorJobProcessorConfigFeaturesGenerateSearchablePdf),
MaxResults: pulumi.Any(processorJobProcessorConfigFeaturesMaxResults),
ModelId: pulumi.Any(testModel.Id),
TenancyId: pulumi.Any(testTenancy.Id),
},
},
ProcessorType: pulumi.Any(processorJobProcessorConfigProcessorType),
DocumentType: pulumi.Any(processorJobProcessorConfigDocumentType),
IsZipOutputEnabled: pulumi.Any(processorJobProcessorConfigIsZipOutputEnabled),
Language: pulumi.Any(processorJobProcessorConfigLanguage),
},
DisplayName: pulumi.Any(processorJobDisplayName),
})
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 = new Oci.AiDocument.ProcessorJob("test_processor_job", new()
{
CompartmentId = compartmentId,
InputLocation = new Oci.AiDocument.Inputs.ProcessorJobInputLocationArgs
{
SourceType = processorJobInputLocationSourceType,
Data = processorJobInputLocationData,
ObjectLocations = new[]
{
new Oci.AiDocument.Inputs.ProcessorJobInputLocationObjectLocationArgs
{
Bucket = processorJobInputLocationObjectLocationsBucket,
Namespace = processorJobInputLocationObjectLocationsNamespace,
Object = processorJobInputLocationObjectLocationsObject,
},
},
},
OutputLocation = new Oci.AiDocument.Inputs.ProcessorJobOutputLocationArgs
{
Bucket = processorJobOutputLocationBucket,
Namespace = processorJobOutputLocationNamespace,
Prefix = processorJobOutputLocationPrefix,
},
ProcessorConfig = new Oci.AiDocument.Inputs.ProcessorJobProcessorConfigArgs
{
Features = new[]
{
new Oci.AiDocument.Inputs.ProcessorJobProcessorConfigFeatureArgs
{
FeatureType = processorJobProcessorConfigFeaturesFeatureType,
GenerateSearchablePdf = processorJobProcessorConfigFeaturesGenerateSearchablePdf,
MaxResults = processorJobProcessorConfigFeaturesMaxResults,
ModelId = testModel.Id,
TenancyId = testTenancy.Id,
},
},
ProcessorType = processorJobProcessorConfigProcessorType,
DocumentType = processorJobProcessorConfigDocumentType,
IsZipOutputEnabled = processorJobProcessorConfigIsZipOutputEnabled,
Language = processorJobProcessorConfigLanguage,
},
DisplayName = processorJobDisplayName,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.AiDocument.ProcessorJob;
import com.pulumi.oci.AiDocument.ProcessorJobArgs;
import com.pulumi.oci.AiDocument.inputs.ProcessorJobInputLocationArgs;
import com.pulumi.oci.AiDocument.inputs.ProcessorJobOutputLocationArgs;
import com.pulumi.oci.AiDocument.inputs.ProcessorJobProcessorConfigArgs;
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) {
var testProcessorJob = new ProcessorJob("testProcessorJob", ProcessorJobArgs.builder()
.compartmentId(compartmentId)
.inputLocation(ProcessorJobInputLocationArgs.builder()
.sourceType(processorJobInputLocationSourceType)
.data(processorJobInputLocationData)
.objectLocations(ProcessorJobInputLocationObjectLocationArgs.builder()
.bucket(processorJobInputLocationObjectLocationsBucket)
.namespace(processorJobInputLocationObjectLocationsNamespace)
.object(processorJobInputLocationObjectLocationsObject)
.build())
.build())
.outputLocation(ProcessorJobOutputLocationArgs.builder()
.bucket(processorJobOutputLocationBucket)
.namespace(processorJobOutputLocationNamespace)
.prefix(processorJobOutputLocationPrefix)
.build())
.processorConfig(ProcessorJobProcessorConfigArgs.builder()
.features(ProcessorJobProcessorConfigFeatureArgs.builder()
.featureType(processorJobProcessorConfigFeaturesFeatureType)
.generateSearchablePdf(processorJobProcessorConfigFeaturesGenerateSearchablePdf)
.maxResults(processorJobProcessorConfigFeaturesMaxResults)
.modelId(testModel.id())
.tenancyId(testTenancy.id())
.build())
.processorType(processorJobProcessorConfigProcessorType)
.documentType(processorJobProcessorConfigDocumentType)
.isZipOutputEnabled(processorJobProcessorConfigIsZipOutputEnabled)
.language(processorJobProcessorConfigLanguage)
.build())
.displayName(processorJobDisplayName)
.build());
}
}
resources:
testProcessorJob:
type: oci:AiDocument:ProcessorJob
name: test_processor_job
properties:
compartmentId: ${compartmentId}
inputLocation:
sourceType: ${processorJobInputLocationSourceType}
data: ${processorJobInputLocationData}
objectLocations:
- bucket: ${processorJobInputLocationObjectLocationsBucket}
namespace: ${processorJobInputLocationObjectLocationsNamespace}
object: ${processorJobInputLocationObjectLocationsObject}
outputLocation:
bucket: ${processorJobOutputLocationBucket}
namespace: ${processorJobOutputLocationNamespace}
prefix: ${processorJobOutputLocationPrefix}
processorConfig:
features:
- featureType: ${processorJobProcessorConfigFeaturesFeatureType}
generateSearchablePdf: ${processorJobProcessorConfigFeaturesGenerateSearchablePdf}
maxResults: ${processorJobProcessorConfigFeaturesMaxResults}
modelId: ${testModel.id}
tenancyId: ${testTenancy.id}
processorType: ${processorJobProcessorConfigProcessorType}
documentType: ${processorJobProcessorConfigDocumentType}
isZipOutputEnabled: ${processorJobProcessorConfigIsZipOutputEnabled}
language: ${processorJobProcessorConfigLanguage}
displayName: ${processorJobDisplayName}
Create ProcessorJob Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ProcessorJob(name: string, args: ProcessorJobArgs, opts?: CustomResourceOptions);
@overload
def ProcessorJob(resource_name: str,
args: ProcessorJobArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ProcessorJob(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
input_location: Optional[_aidocument.ProcessorJobInputLocationArgs] = None,
output_location: Optional[_aidocument.ProcessorJobOutputLocationArgs] = None,
processor_config: Optional[_aidocument.ProcessorJobProcessorConfigArgs] = None,
display_name: Optional[str] = None)
func NewProcessorJob(ctx *Context, name string, args ProcessorJobArgs, opts ...ResourceOption) (*ProcessorJob, error)
public ProcessorJob(string name, ProcessorJobArgs args, CustomResourceOptions? opts = null)
public ProcessorJob(String name, ProcessorJobArgs args)
public ProcessorJob(String name, ProcessorJobArgs args, CustomResourceOptions options)
type: oci:AiDocument:ProcessorJob
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ProcessorJobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ProcessorJobArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ProcessorJobArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProcessorJobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProcessorJobArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var processorJobResource = new Oci.AiDocument.ProcessorJob("processorJobResource", new()
{
CompartmentId = "string",
InputLocation = new Oci.AiDocument.Inputs.ProcessorJobInputLocationArgs
{
SourceType = "string",
Data = "string",
ObjectLocations = new[]
{
new Oci.AiDocument.Inputs.ProcessorJobInputLocationObjectLocationArgs
{
Bucket = "string",
Namespace = "string",
Object = "string",
},
},
},
OutputLocation = new Oci.AiDocument.Inputs.ProcessorJobOutputLocationArgs
{
Bucket = "string",
Namespace = "string",
Prefix = "string",
},
ProcessorConfig = new Oci.AiDocument.Inputs.ProcessorJobProcessorConfigArgs
{
Features = new[]
{
new Oci.AiDocument.Inputs.ProcessorJobProcessorConfigFeatureArgs
{
FeatureType = "string",
GenerateSearchablePdf = false,
MaxResults = 0,
ModelId = "string",
TenancyId = "string",
},
},
ProcessorType = "string",
DocumentType = "string",
IsZipOutputEnabled = false,
Language = "string",
},
DisplayName = "string",
});
example, err := AiDocument.NewProcessorJob(ctx, "processorJobResource", &AiDocument.ProcessorJobArgs{
CompartmentId: pulumi.String("string"),
InputLocation: &aidocument.ProcessorJobInputLocationArgs{
SourceType: pulumi.String("string"),
Data: pulumi.String("string"),
ObjectLocations: aidocument.ProcessorJobInputLocationObjectLocationArray{
&aidocument.ProcessorJobInputLocationObjectLocationArgs{
Bucket: pulumi.String("string"),
Namespace: pulumi.String("string"),
Object: pulumi.String("string"),
},
},
},
OutputLocation: &aidocument.ProcessorJobOutputLocationArgs{
Bucket: pulumi.String("string"),
Namespace: pulumi.String("string"),
Prefix: pulumi.String("string"),
},
ProcessorConfig: &aidocument.ProcessorJobProcessorConfigArgs{
Features: aidocument.ProcessorJobProcessorConfigFeatureArray{
&aidocument.ProcessorJobProcessorConfigFeatureArgs{
FeatureType: pulumi.String("string"),
GenerateSearchablePdf: pulumi.Bool(false),
MaxResults: pulumi.Int(0),
ModelId: pulumi.String("string"),
TenancyId: pulumi.String("string"),
},
},
ProcessorType: pulumi.String("string"),
DocumentType: pulumi.String("string"),
IsZipOutputEnabled: pulumi.Bool(false),
Language: pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
})
var processorJobResource = new ProcessorJob("processorJobResource", ProcessorJobArgs.builder()
.compartmentId("string")
.inputLocation(ProcessorJobInputLocationArgs.builder()
.sourceType("string")
.data("string")
.objectLocations(ProcessorJobInputLocationObjectLocationArgs.builder()
.bucket("string")
.namespace("string")
.object("string")
.build())
.build())
.outputLocation(ProcessorJobOutputLocationArgs.builder()
.bucket("string")
.namespace("string")
.prefix("string")
.build())
.processorConfig(ProcessorJobProcessorConfigArgs.builder()
.features(ProcessorJobProcessorConfigFeatureArgs.builder()
.featureType("string")
.generateSearchablePdf(false)
.maxResults(0)
.modelId("string")
.tenancyId("string")
.build())
.processorType("string")
.documentType("string")
.isZipOutputEnabled(false)
.language("string")
.build())
.displayName("string")
.build());
processor_job_resource = oci.ai_document.ProcessorJob("processorJobResource",
compartment_id="string",
input_location={
"source_type": "string",
"data": "string",
"object_locations": [{
"bucket": "string",
"namespace": "string",
"object": "string",
}],
},
output_location={
"bucket": "string",
"namespace": "string",
"prefix": "string",
},
processor_config={
"features": [{
"feature_type": "string",
"generate_searchable_pdf": False,
"max_results": 0,
"model_id": "string",
"tenancy_id": "string",
}],
"processor_type": "string",
"document_type": "string",
"is_zip_output_enabled": False,
"language": "string",
},
display_name="string")
const processorJobResource = new oci.aidocument.ProcessorJob("processorJobResource", {
compartmentId: "string",
inputLocation: {
sourceType: "string",
data: "string",
objectLocations: [{
bucket: "string",
namespace: "string",
object: "string",
}],
},
outputLocation: {
bucket: "string",
namespace: "string",
prefix: "string",
},
processorConfig: {
features: [{
featureType: "string",
generateSearchablePdf: false,
maxResults: 0,
modelId: "string",
tenancyId: "string",
}],
processorType: "string",
documentType: "string",
isZipOutputEnabled: false,
language: "string",
},
displayName: "string",
});
type: oci:AiDocument:ProcessorJob
properties:
compartmentId: string
displayName: string
inputLocation:
data: string
objectLocations:
- bucket: string
namespace: string
object: string
sourceType: string
outputLocation:
bucket: string
namespace: string
prefix: string
processorConfig:
documentType: string
features:
- featureType: string
generateSearchablePdf: false
maxResults: 0
modelId: string
tenancyId: string
isZipOutputEnabled: false
language: string
processorType: string
ProcessorJob Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ProcessorJob resource accepts the following input properties:
- Compartment
Id string - The compartment identifier.
- Input
Location ProcessorJob Input Location - The location of the inputs.
- Output
Location ProcessorJob Output Location - The object storage location where to store analysis results.
- Processor
Config ProcessorJob Processor Config - The configuration of a processor.
- Display
Name string - The display name of the processor job.
- Compartment
Id string - The compartment identifier.
- Input
Location ProcessorJob Input Location Args - The location of the inputs.
- Output
Location ProcessorJob Output Location Args - The object storage location where to store analysis results.
- Processor
Config ProcessorJob Processor Config Args - The configuration of a processor.
- Display
Name string - The display name of the processor job.
- compartment
Id String - The compartment identifier.
- input
Location ProcessorJob Input Location - The location of the inputs.
- output
Location ProcessorJob Output Location - The object storage location where to store analysis results.
- processor
Config ProcessorJob Processor Config - The configuration of a processor.
- display
Name String - The display name of the processor job.
- compartment
Id string - The compartment identifier.
- input
Location ProcessorJob Input Location - The location of the inputs.
- output
Location ProcessorJob Output Location - The object storage location where to store analysis results.
- processor
Config ProcessorJob Processor Config - The configuration of a processor.
- display
Name string - The display name of the processor job.
- compartment_
id str - The compartment identifier.
- input_
location aidocument.Processor Job Input Location Args - The location of the inputs.
- output_
location aidocument.Processor Job Output Location Args - The object storage location where to store analysis results.
- processor_
config aidocument.Processor Job Processor Config Args - The configuration of a processor.
- display_
name str - The display name of the processor job.
- compartment
Id String - The compartment identifier.
- input
Location Property Map - The location of the inputs.
- output
Location Property Map - The object storage location where to store analysis results.
- processor
Config Property Map - The configuration of a processor.
- display
Name String - The display name of the processor job.
Outputs
All input properties are implicitly available as output properties. Additionally, the ProcessorJob resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - The detailed status of FAILED state.
- Percent
Complete double - How much progress the operation has made, compared to the total amount of work to be performed.
- State string
- The current state of the processor job.
- Time
Accepted string - The job acceptance time.
- Time
Finished string - The job finish time.
- Time
Started string - The job start time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - The detailed status of FAILED state.
- Percent
Complete float64 - How much progress the operation has made, compared to the total amount of work to be performed.
- State string
- The current state of the processor job.
- Time
Accepted string - The job acceptance time.
- Time
Finished string - The job finish time.
- Time
Started string - The job start time.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - The detailed status of FAILED state.
- percent
Complete Double - How much progress the operation has made, compared to the total amount of work to be performed.
- state String
- The current state of the processor job.
- time
Accepted String - The job acceptance time.
- time
Finished String - The job finish time.
- time
Started String - The job start time.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details string - The detailed status of FAILED state.
- percent
Complete number - How much progress the operation has made, compared to the total amount of work to be performed.
- state string
- The current state of the processor job.
- time
Accepted string - The job acceptance time.
- time
Finished string - The job finish time.
- time
Started string - The job start time.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
details str - The detailed status of FAILED state.
- percent_
complete float - How much progress the operation has made, compared to the total amount of work to be performed.
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - The detailed status of FAILED state.
- percent
Complete Number - How much progress the operation has made, compared to the total amount of work to be performed.
- state String
- The current state of the processor job.
- time
Accepted String - The job acceptance time.
- time
Finished String - The job finish time.
- time
Started String - The job start time.
Look up Existing ProcessorJob Resource
Get an existing ProcessorJob resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ProcessorJobState, opts?: CustomResourceOptions): ProcessorJob
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
input_location: Optional[_aidocument.ProcessorJobInputLocationArgs] = None,
lifecycle_details: Optional[str] = None,
output_location: Optional[_aidocument.ProcessorJobOutputLocationArgs] = None,
percent_complete: Optional[float] = None,
processor_config: Optional[_aidocument.ProcessorJobProcessorConfigArgs] = None,
state: Optional[str] = None,
time_accepted: Optional[str] = None,
time_finished: Optional[str] = None,
time_started: Optional[str] = None) -> ProcessorJob
func GetProcessorJob(ctx *Context, name string, id IDInput, state *ProcessorJobState, opts ...ResourceOption) (*ProcessorJob, error)
public static ProcessorJob Get(string name, Input<string> id, ProcessorJobState? state, CustomResourceOptions? opts = null)
public static ProcessorJob get(String name, Output<String> id, ProcessorJobState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Compartment
Id string - The compartment identifier.
- Display
Name string - The display name of the processor job.
- Input
Location ProcessorJob Input Location - The location of the inputs.
- Lifecycle
Details string - The detailed status of FAILED state.
- Output
Location ProcessorJob Output Location - The object storage location where to store analysis results.
- Percent
Complete double - How much progress the operation has made, compared to the total amount of work to be performed.
- Processor
Config ProcessorJob Processor Config - The configuration of a processor.
- State string
- The current state of the processor job.
- Time
Accepted string - The job acceptance time.
- Time
Finished string - The job finish time.
- Time
Started string - The job start time.
- Compartment
Id string - The compartment identifier.
- Display
Name string - The display name of the processor job.
- Input
Location ProcessorJob Input Location Args - The location of the inputs.
- Lifecycle
Details string - The detailed status of FAILED state.
- Output
Location ProcessorJob Output Location Args - The object storage location where to store analysis results.
- Percent
Complete float64 - How much progress the operation has made, compared to the total amount of work to be performed.
- Processor
Config ProcessorJob Processor Config Args - The configuration of a processor.
- State string
- The current state of the processor job.
- Time
Accepted string - The job acceptance time.
- Time
Finished string - The job finish time.
- Time
Started string - The job start time.
- compartment
Id String - The compartment identifier.
- display
Name String - The display name of the processor job.
- input
Location ProcessorJob Input Location - The location of the inputs.
- lifecycle
Details String - The detailed status of FAILED state.
- output
Location ProcessorJob Output Location - The object storage location where to store analysis results.
- percent
Complete Double - How much progress the operation has made, compared to the total amount of work to be performed.
- processor
Config ProcessorJob Processor Config - The configuration of a processor.
- state String
- The current state of the processor job.
- time
Accepted String - The job acceptance time.
- time
Finished String - The job finish time.
- time
Started String - The job start time.
- compartment
Id string - The compartment identifier.
- display
Name string - The display name of the processor job.
- input
Location ProcessorJob Input Location - The location of the inputs.
- lifecycle
Details string - The detailed status of FAILED state.
- output
Location ProcessorJob Output Location - The object storage location where to store analysis results.
- percent
Complete number - How much progress the operation has made, compared to the total amount of work to be performed.
- processor
Config ProcessorJob Processor Config - The configuration of a processor.
- state string
- The current state of the processor job.
- time
Accepted string - The job acceptance time.
- time
Finished string - The job finish time.
- time
Started string - The job start time.
- compartment_
id str - The compartment identifier.
- display_
name str - The display name of the processor job.
- input_
location aidocument.Processor Job Input Location Args - The location of the inputs.
- lifecycle_
details str - The detailed status of FAILED state.
- output_
location aidocument.Processor Job Output Location Args - 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_
config aidocument.Processor Job Processor Config Args - The configuration of a processor.
- 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.
- compartment
Id String - The compartment identifier.
- display
Name String - The display name of the processor job.
- input
Location Property Map - The location of the inputs.
- lifecycle
Details String - The detailed status of FAILED state.
- output
Location Property Map - The object storage location where to store analysis results.
- percent
Complete Number - How much progress the operation has made, compared to the total amount of work to be performed.
- processor
Config Property Map - The configuration of a processor.
- state String
- The current state of the processor job.
- time
Accepted String - The job acceptance time.
- time
Finished String - The job finish time.
- time
Started String - The job start time.
Supporting Types
ProcessorJobInputLocation, ProcessorJobInputLocationArgs
- Source
Type 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.
- Object
Locations List<ProcessorJob Input Location Object Location> - The list of ObjectLocations.
- Source
Type 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.
- Object
Locations []ProcessorJob Input Location Object Location - The list of ObjectLocations.
- source
Type 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.
- object
Locations List<ProcessorJob Input Location Object Location> - The list of ObjectLocations.
- source
Type 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.
- object
Locations ProcessorJob Input Location Object Location[] - The list of ObjectLocations.
- 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 str
- Raw document data with Base64 encoding.
- object_
locations Sequence[aidocument.Processor Job Input Location Object Location] - The list of ObjectLocations.
- source
Type 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.
- object
Locations List<Property Map> - The list of ObjectLocations.
ProcessorJobInputLocationObjectLocation, ProcessorJobInputLocationObjectLocationArgs
ProcessorJobOutputLocation, ProcessorJobOutputLocationArgs
ProcessorJobProcessorConfig, ProcessorJobProcessorConfigArgs
- Features
List<Processor
Job Processor Config Feature> - The types of document analysis requested.
- Processor
Type string The type of the processor.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Document
Type string - The document type.
- Is
Zip 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.
- Features
[]Processor
Job Processor Config Feature - The types of document analysis requested.
- Processor
Type string The type of the processor.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Document
Type string - The document type.
- Is
Zip 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.
- features
List<Processor
Job Processor Config Feature> - The types of document analysis requested.
- processor
Type String The type of the processor.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- document
Type String - The document type.
- is
Zip 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.
- features
Processor
Job Processor Config Feature[] - The types of document analysis requested.
- processor
Type string The type of the processor.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- document
Type string - The document type.
- is
Zip 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.
- features
Sequence[aidocument.
Processor Job Processor Config Feature] - The types of document analysis requested.
- processor_
type str The type of the processor.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- document_
type str - The document type.
- 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.
- features List<Property Map>
- The types of document analysis requested.
- processor
Type String The type of the processor.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- document
Type String - The document type.
- is
Zip 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.
ProcessorJobProcessorConfigFeature, ProcessorJobProcessorConfigFeatureArgs
- Feature
Type 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.
- Generate
Searchable boolPdf - Whether or not to generate a searchable PDF file.
- Max
Results int - The maximum number of results to return.
- Model
Id string - The custom model ID.
- Tenancy
Id string - The custom model tenancy ID when modelId represents aliasName.
- Feature
Type 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.
- Generate
Searchable boolPdf - Whether or not to generate a searchable PDF file.
- Max
Results int - The maximum number of results to return.
- Model
Id string - The custom model ID.
- Tenancy
Id string - The custom model tenancy ID when modelId represents aliasName.
- feature
Type 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.
- generate
Searchable BooleanPdf - Whether or not to generate a searchable PDF file.
- max
Results Integer - The maximum number of results to return.
- model
Id String - The custom model ID.
- tenancy
Id String - The custom model tenancy ID when modelId represents aliasName.
- feature
Type 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.
- generate
Searchable booleanPdf - Whether or not to generate a searchable PDF file.
- max
Results number - The maximum number of results to return.
- model
Id string - The custom model ID.
- tenancy
Id 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.
- 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 - The custom model ID.
- tenancy_
id str - The custom model tenancy ID when modelId represents aliasName.
- feature
Type 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.
- generate
Searchable BooleanPdf - Whether or not to generate a searchable PDF file.
- max
Results Number - The maximum number of results to return.
- model
Id String - The custom model ID.
- tenancy
Id String - The custom model tenancy ID when modelId represents aliasName.
Import
ProcessorJobs can be imported using the id
, e.g.
$ pulumi import oci:AiDocument/processorJob:ProcessorJob test_processor_job "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.