Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
oci.GenerativeAi.getAgentDataIngestionJobs
Start a Neo task
Explain and create an oci.GenerativeAi.getAgentDataIngestionJobs resource
This data source provides the list of Data Ingestion Jobs in Oracle Cloud Infrastructure Generative Ai Agent service.
ListDataIngestionJobs
Gets a list of data ingestion jobs.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDataIngestionJobs = oci.GenerativeAi.getAgentDataIngestionJobs({
compartmentId: compartmentId,
dataSourceId: testDataSource.id,
displayName: dataIngestionJobDisplayName,
state: dataIngestionJobState,
});
import pulumi
import pulumi_oci as oci
test_data_ingestion_jobs = oci.GenerativeAi.get_agent_data_ingestion_jobs(compartment_id=compartment_id,
data_source_id=test_data_source["id"],
display_name=data_ingestion_job_display_name,
state=data_ingestion_job_state)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/generativeai"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := generativeai.GetAgentDataIngestionJobs(ctx, &generativeai.GetAgentDataIngestionJobsArgs{
CompartmentId: pulumi.StringRef(compartmentId),
DataSourceId: pulumi.StringRef(testDataSource.Id),
DisplayName: pulumi.StringRef(dataIngestionJobDisplayName),
State: pulumi.StringRef(dataIngestionJobState),
}, 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 testDataIngestionJobs = Oci.GenerativeAi.GetAgentDataIngestionJobs.Invoke(new()
{
CompartmentId = compartmentId,
DataSourceId = testDataSource.Id,
DisplayName = dataIngestionJobDisplayName,
State = dataIngestionJobState,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.GenerativeAi.GenerativeAiFunctions;
import com.pulumi.oci.GenerativeAi.inputs.GetAgentDataIngestionJobsArgs;
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 testDataIngestionJobs = GenerativeAiFunctions.getAgentDataIngestionJobs(GetAgentDataIngestionJobsArgs.builder()
.compartmentId(compartmentId)
.dataSourceId(testDataSource.id())
.displayName(dataIngestionJobDisplayName)
.state(dataIngestionJobState)
.build());
}
}
variables:
testDataIngestionJobs:
fn::invoke:
function: oci:GenerativeAi:getAgentDataIngestionJobs
arguments:
compartmentId: ${compartmentId}
dataSourceId: ${testDataSource.id}
displayName: ${dataIngestionJobDisplayName}
state: ${dataIngestionJobState}
Using getAgentDataIngestionJobs
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 getAgentDataIngestionJobs(args: GetAgentDataIngestionJobsArgs, opts?: InvokeOptions): Promise<GetAgentDataIngestionJobsResult>
function getAgentDataIngestionJobsOutput(args: GetAgentDataIngestionJobsOutputArgs, opts?: InvokeOptions): Output<GetAgentDataIngestionJobsResult>def get_agent_data_ingestion_jobs(compartment_id: Optional[str] = None,
data_source_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[GetAgentDataIngestionJobsFilter]] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAgentDataIngestionJobsResult
def get_agent_data_ingestion_jobs_output(compartment_id: Optional[pulumi.Input[str]] = None,
data_source_id: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetAgentDataIngestionJobsFilterArgs]]]] = None,
state: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAgentDataIngestionJobsResult]func GetAgentDataIngestionJobs(ctx *Context, args *GetAgentDataIngestionJobsArgs, opts ...InvokeOption) (*GetAgentDataIngestionJobsResult, error)
func GetAgentDataIngestionJobsOutput(ctx *Context, args *GetAgentDataIngestionJobsOutputArgs, opts ...InvokeOption) GetAgentDataIngestionJobsResultOutput> Note: This function is named GetAgentDataIngestionJobs in the Go SDK.
public static class GetAgentDataIngestionJobs
{
public static Task<GetAgentDataIngestionJobsResult> InvokeAsync(GetAgentDataIngestionJobsArgs args, InvokeOptions? opts = null)
public static Output<GetAgentDataIngestionJobsResult> Invoke(GetAgentDataIngestionJobsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAgentDataIngestionJobsResult> getAgentDataIngestionJobs(GetAgentDataIngestionJobsArgs args, InvokeOptions options)
public static Output<GetAgentDataIngestionJobsResult> getAgentDataIngestionJobs(GetAgentDataIngestionJobsArgs args, InvokeOptions options)
fn::invoke:
function: oci:GenerativeAi/getAgentDataIngestionJobs:getAgentDataIngestionJobs
arguments:
# arguments dictionaryThe following arguments are supported:
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Data
Source stringId - The OCID of the data source.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- Filters
List<Get
Agent Data Ingestion Jobs Filter> - State string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Data
Source stringId - The OCID of the data source.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- Filters
[]Get
Agent Data Ingestion Jobs Filter - State string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- compartment
Id String - The OCID of the compartment in which to list resources.
- data
Source StringId - The OCID of the data source.
- display
Name String - A filter to return only resources that match the given display name exactly.
- filters
List<Get
Agent Data Ingestion Jobs Filter> - state String
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- compartment
Id string - The OCID of the compartment in which to list resources.
- data
Source stringId - The OCID of the data source.
- display
Name string - A filter to return only resources that match the given display name exactly.
- filters
Get
Agent Data Ingestion Jobs Filter[] - state string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- compartment_
id str - The OCID of the compartment in which to list resources.
- data_
source_ strid - The OCID of the data source.
- display_
name str - A filter to return only resources that match the given display name exactly.
- filters
Sequence[Get
Agent Data Ingestion Jobs Filter] - state str
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- compartment
Id String - The OCID of the compartment in which to list resources.
- data
Source StringId - The OCID of the data source.
- display
Name String - A filter to return only resources that match the given display name exactly.
- filters List<Property Map>
- state String
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
getAgentDataIngestionJobs Result
The following output properties are available:
- Data
Ingestion List<GetJob Collections Agent Data Ingestion Jobs Data Ingestion Job Collection> - The list of data_ingestion_job_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Compartment
Id string - The OCID of the compartment.
- Data
Source stringId - The OCID of the parent DataSource.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable.
- Filters
List<Get
Agent Data Ingestion Jobs Filter> - State string
- The current state of the data ingestion job.
- Data
Ingestion []GetJob Collections Agent Data Ingestion Jobs Data Ingestion Job Collection - The list of data_ingestion_job_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Compartment
Id string - The OCID of the compartment.
- Data
Source stringId - The OCID of the parent DataSource.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable.
- Filters
[]Get
Agent Data Ingestion Jobs Filter - State string
- The current state of the data ingestion job.
- data
Ingestion List<GetJob Collections Agent Data Ingestion Jobs Data Ingestion Job Collection> - The list of data_ingestion_job_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- compartment
Id String - The OCID of the compartment.
- data
Source StringId - The OCID of the parent DataSource.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable.
- filters
List<Get
Agent Data Ingestion Jobs Filter> - state String
- The current state of the data ingestion job.
- data
Ingestion GetJob Collections Agent Data Ingestion Jobs Data Ingestion Job Collection[] - The list of data_ingestion_job_collection.
- id string
- The provider-assigned unique ID for this managed resource.
- compartment
Id string - The OCID of the compartment.
- data
Source stringId - The OCID of the parent DataSource.
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable.
- filters
Get
Agent Data Ingestion Jobs Filter[] - state string
- The current state of the data ingestion job.
- data_
ingestion_ Sequence[Getjob_ collections Agent Data Ingestion Jobs Data Ingestion Job Collection] - The list of data_ingestion_job_collection.
- id str
- The provider-assigned unique ID for this managed resource.
- compartment_
id str - The OCID of the compartment.
- data_
source_ strid - The OCID of the parent DataSource.
- display_
name str - A user-friendly name. Does not have to be unique, and it's changeable.
- filters
Sequence[Get
Agent Data Ingestion Jobs Filter] - state str
- The current state of the data ingestion job.
- data
Ingestion List<Property Map>Job Collections - The list of data_ingestion_job_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- compartment
Id String - The OCID of the compartment.
- data
Source StringId - The OCID of the parent DataSource.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable.
- filters List<Property Map>
- state String
- The current state of the data ingestion job.
Supporting Types
GetAgentDataIngestionJobsDataIngestionJobCollection
GetAgentDataIngestionJobsDataIngestionJobCollectionItem
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Data
Ingestion List<GetJob Statistics Agent Data Ingestion Jobs Data Ingestion Job Collection Item Data Ingestion Job Statistic> - DataIngestionJobStatistics
- Data
Ingestion List<GetJob Types Agent Data Ingestion Jobs Data Ingestion Job Collection Item Data Ingestion Job Type> - DataIngestionJob type.
- Data
Source stringId - The OCID of the data source.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - Description string
- A user-friendly name. Does not have to be unique, and it's changeable.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - Id string
- The OCID of the DataIngestionJob.
- Knowledge
Base stringId - Lifecycle
Details string - A message that describes the current state of the data ingestion job in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- State string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time the data ingestion job was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - Time
Updated string - The date and time the data ingestion job was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Data
Ingestion []GetJob Statistics Agent Data Ingestion Jobs Data Ingestion Job Collection Item Data Ingestion Job Statistic - DataIngestionJobStatistics
- Data
Ingestion []GetJob Types Agent Data Ingestion Jobs Data Ingestion Job Collection Item Data Ingestion Job Type - DataIngestionJob type.
- Data
Source stringId - The OCID of the data source.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - Description string
- A user-friendly name. Does not have to be unique, and it's changeable.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - Id string
- The OCID of the DataIngestionJob.
- Knowledge
Base stringId - Lifecycle
Details string - A message that describes the current state of the data ingestion job in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- State string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time the data ingestion job was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - Time
Updated string - The date and time the data ingestion job was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- compartment
Id String - The OCID of the compartment in which to list resources.
- data
Ingestion List<GetJob Statistics Agent Data Ingestion Jobs Data Ingestion Job Collection Item Data Ingestion Job Statistic> - DataIngestionJobStatistics
- data
Ingestion List<GetJob Types Agent Data Ingestion Jobs Data Ingestion Job Collection Item Data Ingestion Job Type> - DataIngestionJob type.
- data
Source StringId - The OCID of the data source.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - description String
- A user-friendly name. Does not have to be unique, and it's changeable.
- display
Name String - A filter to return only resources that match the given display name exactly.
- Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id String
- The OCID of the DataIngestionJob.
- knowledge
Base StringId - lifecycle
Details String - A message that describes the current state of the data ingestion job in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- state String
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time the data ingestion job was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Updated String - The date and time the data ingestion job was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- compartment
Id string - The OCID of the compartment in which to list resources.
- data
Ingestion GetJob Statistics Agent Data Ingestion Jobs Data Ingestion Job Collection Item Data Ingestion Job Statistic[] - DataIngestionJobStatistics
- data
Ingestion GetJob Types Agent Data Ingestion Jobs Data Ingestion Job Collection Item Data Ingestion Job Type[] - DataIngestionJob type.
- data
Source stringId - The OCID of the data source.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - description string
- A user-friendly name. Does not have to be unique, and it's changeable.
- display
Name string - A filter to return only resources that match the given display name exactly.
- {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id string
- The OCID of the DataIngestionJob.
- knowledge
Base stringId - lifecycle
Details string - A message that describes the current state of the data ingestion job in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- state string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created string - The date and time the data ingestion job was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Updated string - The date and time the data ingestion job was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- compartment_
id str - The OCID of the compartment in which to list resources.
- data_
ingestion_ Sequence[Getjob_ statistics Agent Data Ingestion Jobs Data Ingestion Job Collection Item Data Ingestion Job Statistic] - DataIngestionJobStatistics
- data_
ingestion_ Sequence[Getjob_ types Agent Data Ingestion Jobs Data Ingestion Job Collection Item Data Ingestion Job Type] - DataIngestionJob type.
- data_
source_ strid - The OCID of the data source.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - description str
- A user-friendly name. Does not have to be unique, and it's changeable.
- display_
name str - A filter to return only resources that match the given display name exactly.
- Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id str
- The OCID of the DataIngestionJob.
- knowledge_
base_ strid - lifecycle_
details str - A message that describes the current state of the data ingestion job in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- state str
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time_
created str - The date and time the data ingestion job was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time_
updated str - The date and time the data ingestion job was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- compartment
Id String - The OCID of the compartment in which to list resources.
- data
Ingestion List<Property Map>Job Statistics - DataIngestionJobStatistics
- data
Ingestion List<Property Map>Job Types - DataIngestionJob type.
- data
Source StringId - The OCID of the data source.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - description String
- A user-friendly name. Does not have to be unique, and it's changeable.
- display
Name String - A filter to return only resources that match the given display name exactly.
- Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id String
- The OCID of the DataIngestionJob.
- knowledge
Base StringId - lifecycle
Details String - A message that describes the current state of the data ingestion job in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- state String
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time the data ingestion job was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Updated String - The date and time the data ingestion job was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
GetAgentDataIngestionJobsDataIngestionJobCollectionItemDataIngestionJobStatistic
- Duration
In intSeconds - The duration of this ingestion job.
- Number
Of intFailed Files - The number of files that have failed during the ingestion.
- Number
Of intIgnored Files - The number of files that have been ignored during the ingestion.
- Number
Of intIngested Files - The number of files that have been successfully ingested during the ingestion.
- Duration
In intSeconds - The duration of this ingestion job.
- Number
Of intFailed Files - The number of files that have failed during the ingestion.
- Number
Of intIgnored Files - The number of files that have been ignored during the ingestion.
- Number
Of intIngested Files - The number of files that have been successfully ingested during the ingestion.
- duration
In IntegerSeconds - The duration of this ingestion job.
- number
Of IntegerFailed Files - The number of files that have failed during the ingestion.
- number
Of IntegerIgnored Files - The number of files that have been ignored during the ingestion.
- number
Of IntegerIngested Files - The number of files that have been successfully ingested during the ingestion.
- duration
In numberSeconds - The duration of this ingestion job.
- number
Of numberFailed Files - The number of files that have failed during the ingestion.
- number
Of numberIgnored Files - The number of files that have been ignored during the ingestion.
- number
Of numberIngested Files - The number of files that have been successfully ingested during the ingestion.
- duration_
in_ intseconds - The duration of this ingestion job.
- number_
of_ intfailed_ files - The number of files that have failed during the ingestion.
- number_
of_ intignored_ files - The number of files that have been ignored during the ingestion.
- number_
of_ intingested_ files - The number of files that have been successfully ingested during the ingestion.
- duration
In NumberSeconds - The duration of this ingestion job.
- number
Of NumberFailed Files - The number of files that have failed during the ingestion.
- number
Of NumberIgnored Files - The number of files that have been ignored during the ingestion.
- number
Of NumberIngested Files - The number of files that have been successfully ingested during the ingestion.
GetAgentDataIngestionJobsDataIngestionJobCollectionItemDataIngestionJobType
- Type string
- Type of ingestionJob.
- Type string
- Type of ingestionJob.
- type String
- Type of ingestionJob.
- type string
- Type of ingestionJob.
- type str
- Type of ingestionJob.
- type String
- Type of ingestionJob.
GetAgentDataIngestionJobsFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
