Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.GenerativeAi.getAgentDataIngestionJob
Explore with Pulumi AI
This data source provides details about a specific Data Ingestion Job resource in Oracle Cloud Infrastructure Generative Ai Agent service.
GetDataIngestionJob
Gets information about a data ingestion job.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDataIngestionJob = oci.GenerativeAi.getAgentDataIngestionJob({
dataIngestionJobId: testDataIngestionJobOciGenerativeAiAgentDataIngestionJob.id,
});
import pulumi
import pulumi_oci as oci
test_data_ingestion_job = oci.GenerativeAi.get_agent_data_ingestion_job(data_ingestion_job_id=test_data_ingestion_job_oci_generative_ai_agent_data_ingestion_job["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/GenerativeAi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := GenerativeAi.GetAgentDataIngestionJob(ctx, &generativeai.GetAgentDataIngestionJobArgs{
DataIngestionJobId: testDataIngestionJobOciGenerativeAiAgentDataIngestionJob.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 testDataIngestionJob = Oci.GenerativeAi.GetAgentDataIngestionJob.Invoke(new()
{
DataIngestionJobId = testDataIngestionJobOciGenerativeAiAgentDataIngestionJob.Id,
});
});
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.GetAgentDataIngestionJobArgs;
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 testDataIngestionJob = GenerativeAiFunctions.getAgentDataIngestionJob(GetAgentDataIngestionJobArgs.builder()
.dataIngestionJobId(testDataIngestionJobOciGenerativeAiAgentDataIngestionJob.id())
.build());
}
}
variables:
testDataIngestionJob:
fn::invoke:
Function: oci:GenerativeAi:getAgentDataIngestionJob
Arguments:
dataIngestionJobId: ${testDataIngestionJobOciGenerativeAiAgentDataIngestionJob.id}
Using getAgentDataIngestionJob
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 getAgentDataIngestionJob(args: GetAgentDataIngestionJobArgs, opts?: InvokeOptions): Promise<GetAgentDataIngestionJobResult>
function getAgentDataIngestionJobOutput(args: GetAgentDataIngestionJobOutputArgs, opts?: InvokeOptions): Output<GetAgentDataIngestionJobResult>
def get_agent_data_ingestion_job(data_ingestion_job_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAgentDataIngestionJobResult
def get_agent_data_ingestion_job_output(data_ingestion_job_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAgentDataIngestionJobResult]
func GetAgentDataIngestionJob(ctx *Context, args *GetAgentDataIngestionJobArgs, opts ...InvokeOption) (*GetAgentDataIngestionJobResult, error)
func GetAgentDataIngestionJobOutput(ctx *Context, args *GetAgentDataIngestionJobOutputArgs, opts ...InvokeOption) GetAgentDataIngestionJobResultOutput
> Note: This function is named GetAgentDataIngestionJob
in the Go SDK.
public static class GetAgentDataIngestionJob
{
public static Task<GetAgentDataIngestionJobResult> InvokeAsync(GetAgentDataIngestionJobArgs args, InvokeOptions? opts = null)
public static Output<GetAgentDataIngestionJobResult> Invoke(GetAgentDataIngestionJobInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAgentDataIngestionJobResult> getAgentDataIngestionJob(GetAgentDataIngestionJobArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:GenerativeAi/getAgentDataIngestionJob:getAgentDataIngestionJob
arguments:
# arguments dictionary
The following arguments are supported:
- Data
Ingestion stringJob Id - The OCID of the data ingestion job.
- Data
Ingestion stringJob Id - The OCID of the data ingestion job.
- data
Ingestion StringJob Id - The OCID of the data ingestion job.
- data
Ingestion stringJob Id - The OCID of the data ingestion job.
- data_
ingestion_ strjob_ id - The OCID of the data ingestion job.
- data
Ingestion StringJob Id - The OCID of the data ingestion job.
getAgentDataIngestionJob Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment.
- Data
Ingestion stringJob Id - Data
Ingestion List<GetJob Statistics Agent Data Ingestion Job Data Ingestion Job Statistic> - DataIngestionJobStatistics
- Data
Source stringId - The OCID of the parent DataSource.
- 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 user-friendly name. Does not have to be unique, and it's changeable.
- 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.
- 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
- The current state of the data ingestion job.
- 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.
- Data
Ingestion stringJob Id - Data
Ingestion []GetJob Statistics Agent Data Ingestion Job Data Ingestion Job Statistic - DataIngestionJobStatistics
- Data
Source stringId - The OCID of the parent DataSource.
- 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 user-friendly name. Does not have to be unique, and it's changeable.
- 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.
- 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
- The current state of the data ingestion job.
- 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.
- data
Ingestion StringJob Id - data
Ingestion List<GetJob Statistics Agent Data Ingestion Job Data Ingestion Job Statistic> - DataIngestionJobStatistics
- data
Source StringId - The OCID of the parent DataSource.
- 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 user-friendly name. Does not have to be unique, and it's changeable.
- 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.
- 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
- The current state of the data ingestion job.
- 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.
- data
Ingestion stringJob Id - data
Ingestion GetJob Statistics Agent Data Ingestion Job Data Ingestion Job Statistic[] - DataIngestionJobStatistics
- data
Source stringId - The OCID of the parent DataSource.
- {[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 user-friendly name. Does not have to be unique, and it's changeable.
- {[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.
- 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
- The current state of the data ingestion job.
- {[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.
- data_
ingestion_ strjob_ id - data_
ingestion_ Sequence[generativeai.job_ statistics Get Agent Data Ingestion Job Data Ingestion Job Statistic] - DataIngestionJobStatistics
- data_
source_ strid - The OCID of the parent DataSource.
- 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 user-friendly name. Does not have to be unique, and it's changeable.
- 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.
- 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
- The current state of the data ingestion job.
- 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.
- data
Ingestion StringJob Id - data
Ingestion List<Property Map>Job Statistics - DataIngestionJobStatistics
- data
Source StringId - The OCID of the parent DataSource.
- 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 user-friendly name. Does not have to be unique, and it's changeable.
- 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.
- 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
- The current state of the data ingestion job.
- 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
Supporting Types
GetAgentDataIngestionJobDataIngestionJobStatistic
- 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 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 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 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 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_ 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 NumberIngested Files - The number of files that have been successfully ingested during the ingestion.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.