import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Data Sources in Oracle Cloud Infrastructure Generative Ai Agent service. * * Gets a list of data sources. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDataSources = oci.generativeai.getAgentDataSources({ * compartmentId: compartmentId, * displayName: dataSourceDisplayName, * knowledgeBaseId: testKnowledgeBase.id, * state: dataSourceState, * }); * ``` */ export declare function getAgentDataSources(args?: GetAgentDataSourcesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAgentDataSources. */ export interface GetAgentDataSourcesArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. */ compartmentId?: string; /** * A filter to return only resources that match the given display name exactly. */ displayName?: string; filters?: inputs.GenerativeAi.GetAgentDataSourcesFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the knowledge base. */ knowledgeBaseId?: string; /** * A filter to return only resources that match the given lifecycle state. The state value is case-insensitive. */ state?: string; } /** * A collection of values returned by getAgentDataSources. */ export interface GetAgentDataSourcesResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId?: string; /** * The list of data_source_collection. */ readonly dataSourceCollections: outputs.GenerativeAi.GetAgentDataSourcesDataSourceCollection[]; /** * A user-friendly name. Does not have to be unique, and it's changeable. */ readonly displayName?: string; readonly filters?: outputs.GenerativeAi.GetAgentDataSourcesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent KnowledgeBase. */ readonly knowledgeBaseId?: string; /** * The current state of the data source. */ readonly state?: string; } /** * This data source provides the list of Data Sources in Oracle Cloud Infrastructure Generative Ai Agent service. * * Gets a list of data sources. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDataSources = oci.generativeai.getAgentDataSources({ * compartmentId: compartmentId, * displayName: dataSourceDisplayName, * knowledgeBaseId: testKnowledgeBase.id, * state: dataSourceState, * }); * ``` */ export declare function getAgentDataSourcesOutput(args?: GetAgentDataSourcesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAgentDataSources. */ export interface GetAgentDataSourcesOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. */ compartmentId?: pulumi.Input; /** * A filter to return only resources that match the given display name exactly. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the knowledge base. */ knowledgeBaseId?: pulumi.Input; /** * A filter to return only resources that match the given lifecycle state. The state value is case-insensitive. */ state?: pulumi.Input; } //# sourceMappingURL=getAgentDataSources.d.ts.map