DigitalOcean v4.54.0 published on Tuesday, Oct 14, 2025 by Pulumi
digitalocean.getGenaiKnowledgeBaseDataSources
Start a Neo task
Explain and create a digitalocean.getGenaiKnowledgeBaseDataSources resource
Using getGenaiKnowledgeBaseDataSources
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 getGenaiKnowledgeBaseDataSources(args: GetGenaiKnowledgeBaseDataSourcesArgs, opts?: InvokeOptions): Promise<GetGenaiKnowledgeBaseDataSourcesResult>
function getGenaiKnowledgeBaseDataSourcesOutput(args: GetGenaiKnowledgeBaseDataSourcesOutputArgs, opts?: InvokeOptions): Output<GetGenaiKnowledgeBaseDataSourcesResult>def get_genai_knowledge_base_data_sources(knowledge_base_uuid: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetGenaiKnowledgeBaseDataSourcesResult
def get_genai_knowledge_base_data_sources_output(knowledge_base_uuid: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGenaiKnowledgeBaseDataSourcesResult]func GetGenaiKnowledgeBaseDataSources(ctx *Context, args *GetGenaiKnowledgeBaseDataSourcesArgs, opts ...InvokeOption) (*GetGenaiKnowledgeBaseDataSourcesResult, error)
func GetGenaiKnowledgeBaseDataSourcesOutput(ctx *Context, args *GetGenaiKnowledgeBaseDataSourcesOutputArgs, opts ...InvokeOption) GetGenaiKnowledgeBaseDataSourcesResultOutput> Note: This function is named GetGenaiKnowledgeBaseDataSources in the Go SDK.
public static class GetGenaiKnowledgeBaseDataSources
{
public static Task<GetGenaiKnowledgeBaseDataSourcesResult> InvokeAsync(GetGenaiKnowledgeBaseDataSourcesArgs args, InvokeOptions? opts = null)
public static Output<GetGenaiKnowledgeBaseDataSourcesResult> Invoke(GetGenaiKnowledgeBaseDataSourcesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetGenaiKnowledgeBaseDataSourcesResult> getGenaiKnowledgeBaseDataSources(GetGenaiKnowledgeBaseDataSourcesArgs args, InvokeOptions options)
public static Output<GetGenaiKnowledgeBaseDataSourcesResult> getGenaiKnowledgeBaseDataSources(GetGenaiKnowledgeBaseDataSourcesArgs args, InvokeOptions options)
fn::invoke:
function: digitalocean:index/getGenaiKnowledgeBaseDataSources:getGenaiKnowledgeBaseDataSources
arguments:
# arguments dictionaryThe following arguments are supported:
- Knowledge
Base stringUuid
- Knowledge
Base stringUuid
- knowledge
Base StringUuid
- knowledge
Base stringUuid
- knowledge
Base StringUuid
getGenaiKnowledgeBaseDataSources Result
The following output properties are available:
- Datasources
List<Pulumi.
Digital Ocean. Outputs. Get Genai Knowledge Base Data Sources Datasource> - Id string
- The provider-assigned unique ID for this managed resource.
- Knowledge
Base stringUuid
- Datasources
[]Get
Genai Knowledge Base Data Sources Datasource - Id string
- The provider-assigned unique ID for this managed resource.
- Knowledge
Base stringUuid
- datasources
List<Get
Genai Knowledge Base Data Sources Datasource> - id String
- The provider-assigned unique ID for this managed resource.
- knowledge
Base StringUuid
- datasources
Get
Genai Knowledge Base Data Sources Datasource[] - id string
- The provider-assigned unique ID for this managed resource.
- knowledge
Base stringUuid
- datasources
Sequence[Get
Genai Knowledge Base Data Sources Datasource] - id str
- The provider-assigned unique ID for this managed resource.
- knowledge_
base_ struuid
- datasources List<Property Map>
- id String
- The provider-assigned unique ID for this managed resource.
- knowledge
Base StringUuid
Supporting Types
GetGenaiKnowledgeBaseDataSourcesDatasource
- Created
At string - Created At timestamp for the Knowledge Base
- Updated
At string - Timestamp when the Knowledge Base was updated
- File
Upload List<Pulumi.Data Sources Digital Ocean. Inputs. Get Genai Knowledge Base Data Sources Datasource File Upload Data Source> - File upload data source configuration
- Last
Indexing List<Pulumi.Jobs Digital Ocean. Inputs. Get Genai Knowledge Base Data Sources Datasource Last Indexing Job> - Last indexing job for the data source
- Spaces
Data List<Pulumi.Sources Digital Ocean. Inputs. Get Genai Knowledge Base Data Sources Datasource Spaces Data Source> - Spaces data source configuration
- Uuid string
- UUID of the Knowledge Base
- Web
Crawler List<Pulumi.Data Sources Digital Ocean. Inputs. Get Genai Knowledge Base Data Sources Datasource Web Crawler Data Source> - Web crawler data source configuration
- Created
At string - Created At timestamp for the Knowledge Base
- Updated
At string - Timestamp when the Knowledge Base was updated
- File
Upload []GetData Sources Genai Knowledge Base Data Sources Datasource File Upload Data Source - File upload data source configuration
- Last
Indexing []GetJobs Genai Knowledge Base Data Sources Datasource Last Indexing Job - Last indexing job for the data source
- Spaces
Data []GetSources Genai Knowledge Base Data Sources Datasource Spaces Data Source - Spaces data source configuration
- Uuid string
- UUID of the Knowledge Base
- Web
Crawler []GetData Sources Genai Knowledge Base Data Sources Datasource Web Crawler Data Source - Web crawler data source configuration
- created
At String - Created At timestamp for the Knowledge Base
- updated
At String - Timestamp when the Knowledge Base was updated
- file
Upload List<GetData Sources Genai Knowledge Base Data Sources Datasource File Upload Data Source> - File upload data source configuration
- last
Indexing List<GetJobs Genai Knowledge Base Data Sources Datasource Last Indexing Job> - Last indexing job for the data source
- spaces
Data List<GetSources Genai Knowledge Base Data Sources Datasource Spaces Data Source> - Spaces data source configuration
- uuid String
- UUID of the Knowledge Base
- web
Crawler List<GetData Sources Genai Knowledge Base Data Sources Datasource Web Crawler Data Source> - Web crawler data source configuration
- created
At string - Created At timestamp for the Knowledge Base
- updated
At string - Timestamp when the Knowledge Base was updated
- file
Upload GetData Sources Genai Knowledge Base Data Sources Datasource File Upload Data Source[] - File upload data source configuration
- last
Indexing GetJobs Genai Knowledge Base Data Sources Datasource Last Indexing Job[] - Last indexing job for the data source
- spaces
Data GetSources Genai Knowledge Base Data Sources Datasource Spaces Data Source[] - Spaces data source configuration
- uuid string
- UUID of the Knowledge Base
- web
Crawler GetData Sources Genai Knowledge Base Data Sources Datasource Web Crawler Data Source[] - Web crawler data source configuration
- created_
at str - Created At timestamp for the Knowledge Base
- updated_
at str - Timestamp when the Knowledge Base was updated
- file_
upload_ Sequence[Getdata_ sources Genai Knowledge Base Data Sources Datasource File Upload Data Source] - File upload data source configuration
- last_
indexing_ Sequence[Getjobs Genai Knowledge Base Data Sources Datasource Last Indexing Job] - Last indexing job for the data source
- spaces_
data_ Sequence[Getsources Genai Knowledge Base Data Sources Datasource Spaces Data Source] - Spaces data source configuration
- uuid str
- UUID of the Knowledge Base
- web_
crawler_ Sequence[Getdata_ sources Genai Knowledge Base Data Sources Datasource Web Crawler Data Source] - Web crawler data source configuration
- created
At String - Created At timestamp for the Knowledge Base
- updated
At String - Timestamp when the Knowledge Base was updated
- file
Upload List<Property Map>Data Sources - File upload data source configuration
- last
Indexing List<Property Map>Jobs - Last indexing job for the data source
- spaces
Data List<Property Map>Sources - Spaces data source configuration
- uuid String
- UUID of the Knowledge Base
- web
Crawler List<Property Map>Data Sources - Web crawler data source configuration
GetGenaiKnowledgeBaseDataSourcesDatasourceFileUploadDataSource
- Original
File stringName - The original name of the uploaded file
- Size
In stringBytes - The size of the file in bytes
- Stored
Object stringKey - The stored object key for the file
- Original
File stringName - The original name of the uploaded file
- Size
In stringBytes - The size of the file in bytes
- Stored
Object stringKey - The stored object key for the file
- original
File StringName - The original name of the uploaded file
- size
In StringBytes - The size of the file in bytes
- stored
Object StringKey - The stored object key for the file
- original
File stringName - The original name of the uploaded file
- size
In stringBytes - The size of the file in bytes
- stored
Object stringKey - The stored object key for the file
- original_
file_ strname - The original name of the uploaded file
- size_
in_ strbytes - The size of the file in bytes
- stored_
object_ strkey - The stored object key for the file
- original
File StringName - The original name of the uploaded file
- size
In StringBytes - The size of the file in bytes
- stored
Object StringKey - The stored object key for the file
GetGenaiKnowledgeBaseDataSourcesDatasourceLastIndexingJob
- Created
At string - Created At timestamp for the last indexing job
- Finished
At string - Timestamp when the last indexing job finished
- Knowledge
Base stringUuid - UUID of the Knowledge Base for the last indexing job
- Started
At string - Timestamp when the last indexing job started
- Updated
At string - Timestamp when the last indexing job updated
- Completed
Datasources int - Number of completed datasources in the last indexing job
- Data
Source List<string>Uuids - Datasource UUIDs for the last indexing job
- Phase string
- Phase of the last indexing job
- Tokens int
- Number of tokens processed in the last indexing job
- Total
Datasources int - Total number of datasources in the last indexing job
- Uuid string
- UUID of the last indexing job
- Created
At string - Created At timestamp for the last indexing job
- Finished
At string - Timestamp when the last indexing job finished
- Knowledge
Base stringUuid - UUID of the Knowledge Base for the last indexing job
- Started
At string - Timestamp when the last indexing job started
- Updated
At string - Timestamp when the last indexing job updated
- Completed
Datasources int - Number of completed datasources in the last indexing job
- Data
Source []stringUuids - Datasource UUIDs for the last indexing job
- Phase string
- Phase of the last indexing job
- Tokens int
- Number of tokens processed in the last indexing job
- Total
Datasources int - Total number of datasources in the last indexing job
- Uuid string
- UUID of the last indexing job
- created
At String - Created At timestamp for the last indexing job
- finished
At String - Timestamp when the last indexing job finished
- knowledge
Base StringUuid - UUID of the Knowledge Base for the last indexing job
- started
At String - Timestamp when the last indexing job started
- updated
At String - Timestamp when the last indexing job updated
- completed
Datasources Integer - Number of completed datasources in the last indexing job
- data
Source List<String>Uuids - Datasource UUIDs for the last indexing job
- phase String
- Phase of the last indexing job
- tokens Integer
- Number of tokens processed in the last indexing job
- total
Datasources Integer - Total number of datasources in the last indexing job
- uuid String
- UUID of the last indexing job
- created
At string - Created At timestamp for the last indexing job
- finished
At string - Timestamp when the last indexing job finished
- knowledge
Base stringUuid - UUID of the Knowledge Base for the last indexing job
- started
At string - Timestamp when the last indexing job started
- updated
At string - Timestamp when the last indexing job updated
- completed
Datasources number - Number of completed datasources in the last indexing job
- data
Source string[]Uuids - Datasource UUIDs for the last indexing job
- phase string
- Phase of the last indexing job
- tokens number
- Number of tokens processed in the last indexing job
- total
Datasources number - Total number of datasources in the last indexing job
- uuid string
- UUID of the last indexing job
- created_
at str - Created At timestamp for the last indexing job
- finished_
at str - Timestamp when the last indexing job finished
- knowledge_
base_ struuid - UUID of the Knowledge Base for the last indexing job
- started_
at str - Timestamp when the last indexing job started
- updated_
at str - Timestamp when the last indexing job updated
- completed_
datasources int - Number of completed datasources in the last indexing job
- data_
source_ Sequence[str]uuids - Datasource UUIDs for the last indexing job
- phase str
- Phase of the last indexing job
- tokens int
- Number of tokens processed in the last indexing job
- total_
datasources int - Total number of datasources in the last indexing job
- uuid str
- UUID of the last indexing job
- created
At String - Created At timestamp for the last indexing job
- finished
At String - Timestamp when the last indexing job finished
- knowledge
Base StringUuid - UUID of the Knowledge Base for the last indexing job
- started
At String - Timestamp when the last indexing job started
- updated
At String - Timestamp when the last indexing job updated
- completed
Datasources Number - Number of completed datasources in the last indexing job
- data
Source List<String>Uuids - Datasource UUIDs for the last indexing job
- phase String
- Phase of the last indexing job
- tokens Number
- Number of tokens processed in the last indexing job
- total
Datasources Number - Total number of datasources in the last indexing job
- uuid String
- UUID of the last indexing job
GetGenaiKnowledgeBaseDataSourcesDatasourceSpacesDataSource
- Bucket
Name string - The name of the Spaces bucket
- Item
Path string - The path to the item in the bucket
- Region string
- The region of the Spaces bucket
- Bucket
Name string - The name of the Spaces bucket
- Item
Path string - The path to the item in the bucket
- Region string
- The region of the Spaces bucket
- bucket
Name String - The name of the Spaces bucket
- item
Path String - The path to the item in the bucket
- region String
- The region of the Spaces bucket
- bucket
Name string - The name of the Spaces bucket
- item
Path string - The path to the item in the bucket
- region string
- The region of the Spaces bucket
- bucket_
name str - The name of the Spaces bucket
- item_
path str - The path to the item in the bucket
- region str
- The region of the Spaces bucket
- bucket
Name String - The name of the Spaces bucket
- item
Path String - The path to the item in the bucket
- region String
- The region of the Spaces bucket
GetGenaiKnowledgeBaseDataSourcesDatasourceWebCrawlerDataSource
- Base
Url string - The base URL to crawl
- Crawling
Option string - Options for specifying how URLs found on pages should be handled.
- UNKNOWN: Default unknown value
- SCOPED: Only include the base URL.
- PATH: Crawl the base URL and linked pages within the URL path.
- DOMAIN: Crawl the base URL and linked pages within the same domain.
- SUBDOMAINS: Crawl the base URL and linked pages for any subdomain.
- Embed
Media bool - Whether to embed media content
- Base
Url string - The base URL to crawl
- Crawling
Option string - Options for specifying how URLs found on pages should be handled.
- UNKNOWN: Default unknown value
- SCOPED: Only include the base URL.
- PATH: Crawl the base URL and linked pages within the URL path.
- DOMAIN: Crawl the base URL and linked pages within the same domain.
- SUBDOMAINS: Crawl the base URL and linked pages for any subdomain.
- Embed
Media bool - Whether to embed media content
- base
Url String - The base URL to crawl
- crawling
Option String - Options for specifying how URLs found on pages should be handled.
- UNKNOWN: Default unknown value
- SCOPED: Only include the base URL.
- PATH: Crawl the base URL and linked pages within the URL path.
- DOMAIN: Crawl the base URL and linked pages within the same domain.
- SUBDOMAINS: Crawl the base URL and linked pages for any subdomain.
- embed
Media Boolean - Whether to embed media content
- base
Url string - The base URL to crawl
- crawling
Option string - Options for specifying how URLs found on pages should be handled.
- UNKNOWN: Default unknown value
- SCOPED: Only include the base URL.
- PATH: Crawl the base URL and linked pages within the URL path.
- DOMAIN: Crawl the base URL and linked pages within the same domain.
- SUBDOMAINS: Crawl the base URL and linked pages for any subdomain.
- embed
Media boolean - Whether to embed media content
- base_
url str - The base URL to crawl
- crawling_
option str - Options for specifying how URLs found on pages should be handled.
- UNKNOWN: Default unknown value
- SCOPED: Only include the base URL.
- PATH: Crawl the base URL and linked pages within the URL path.
- DOMAIN: Crawl the base URL and linked pages within the same domain.
- SUBDOMAINS: Crawl the base URL and linked pages for any subdomain.
- embed_
media bool - Whether to embed media content
- base
Url String - The base URL to crawl
- crawling
Option String - Options for specifying how URLs found on pages should be handled.
- UNKNOWN: Default unknown value
- SCOPED: Only include the base URL.
- PATH: Crawl the base URL and linked pages within the URL path.
- DOMAIN: Crawl the base URL and linked pages within the same domain.
- SUBDOMAINS: Crawl the base URL and linked pages for any subdomain.
- embed
Media Boolean - Whether to embed media content
Package Details
- Repository
- DigitalOcean pulumi/pulumi-digitalocean
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
digitaloceanTerraform Provider.
