1. Packages
  2. DigitalOcean Provider
  3. API Docs
  4. getGenaiKnowledgeBaseDataSources
DigitalOcean v4.51.0 published on Thursday, Aug 14, 2025 by Pulumi

digitalocean.getGenaiKnowledgeBaseDataSources

Explore with Pulumi AI

digitalocean logo
DigitalOcean v4.51.0 published on Thursday, Aug 14, 2025 by Pulumi

    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 dictionary

    The following arguments are supported:

    getGenaiKnowledgeBaseDataSources Result

    The following output properties are available:

    Datasources List<Pulumi.DigitalOcean.Outputs.GetGenaiKnowledgeBaseDataSourcesDatasource>
    Id string
    The provider-assigned unique ID for this managed resource.
    KnowledgeBaseUuid string
    Datasources []GetGenaiKnowledgeBaseDataSourcesDatasource
    Id string
    The provider-assigned unique ID for this managed resource.
    KnowledgeBaseUuid string
    datasources List<GetGenaiKnowledgeBaseDataSourcesDatasource>
    id String
    The provider-assigned unique ID for this managed resource.
    knowledgeBaseUuid String
    datasources GetGenaiKnowledgeBaseDataSourcesDatasource[]
    id string
    The provider-assigned unique ID for this managed resource.
    knowledgeBaseUuid string
    datasources Sequence[GetGenaiKnowledgeBaseDataSourcesDatasource]
    id str
    The provider-assigned unique ID for this managed resource.
    knowledge_base_uuid str
    datasources List<Property Map>
    id String
    The provider-assigned unique ID for this managed resource.
    knowledgeBaseUuid String

    Supporting Types

    GetGenaiKnowledgeBaseDataSourcesDatasource

    CreatedAt string
    Created At timestamp for the Knowledge Base
    UpdatedAt string
    Timestamp when the Knowledge Base was updated
    FileUploadDataSources []GetGenaiKnowledgeBaseDataSourcesDatasourceFileUploadDataSource
    File upload data source configuration
    LastIndexingJobs []GetGenaiKnowledgeBaseDataSourcesDatasourceLastIndexingJob
    Last indexing job for the data source
    SpacesDataSources []GetGenaiKnowledgeBaseDataSourcesDatasourceSpacesDataSource
    Spaces data source configuration
    Uuid string
    UUID of the Knowledge Base
    WebCrawlerDataSources []GetGenaiKnowledgeBaseDataSourcesDatasourceWebCrawlerDataSource
    Web crawler data source configuration
    createdAt String
    Created At timestamp for the Knowledge Base
    updatedAt String
    Timestamp when the Knowledge Base was updated
    fileUploadDataSources List<GetGenaiKnowledgeBaseDataSourcesDatasourceFileUploadDataSource>
    File upload data source configuration
    lastIndexingJobs List<GetGenaiKnowledgeBaseDataSourcesDatasourceLastIndexingJob>
    Last indexing job for the data source
    spacesDataSources List<GetGenaiKnowledgeBaseDataSourcesDatasourceSpacesDataSource>
    Spaces data source configuration
    uuid String
    UUID of the Knowledge Base
    webCrawlerDataSources List<GetGenaiKnowledgeBaseDataSourcesDatasourceWebCrawlerDataSource>
    Web crawler data source configuration
    createdAt string
    Created At timestamp for the Knowledge Base
    updatedAt string
    Timestamp when the Knowledge Base was updated
    fileUploadDataSources GetGenaiKnowledgeBaseDataSourcesDatasourceFileUploadDataSource[]
    File upload data source configuration
    lastIndexingJobs GetGenaiKnowledgeBaseDataSourcesDatasourceLastIndexingJob[]
    Last indexing job for the data source
    spacesDataSources GetGenaiKnowledgeBaseDataSourcesDatasourceSpacesDataSource[]
    Spaces data source configuration
    uuid string
    UUID of the Knowledge Base
    webCrawlerDataSources GetGenaiKnowledgeBaseDataSourcesDatasourceWebCrawlerDataSource[]
    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_data_sources Sequence[GetGenaiKnowledgeBaseDataSourcesDatasourceFileUploadDataSource]
    File upload data source configuration
    last_indexing_jobs Sequence[GetGenaiKnowledgeBaseDataSourcesDatasourceLastIndexingJob]
    Last indexing job for the data source
    spaces_data_sources Sequence[GetGenaiKnowledgeBaseDataSourcesDatasourceSpacesDataSource]
    Spaces data source configuration
    uuid str
    UUID of the Knowledge Base
    web_crawler_data_sources Sequence[GetGenaiKnowledgeBaseDataSourcesDatasourceWebCrawlerDataSource]
    Web crawler data source configuration
    createdAt String
    Created At timestamp for the Knowledge Base
    updatedAt String
    Timestamp when the Knowledge Base was updated
    fileUploadDataSources List<Property Map>
    File upload data source configuration
    lastIndexingJobs List<Property Map>
    Last indexing job for the data source
    spacesDataSources List<Property Map>
    Spaces data source configuration
    uuid String
    UUID of the Knowledge Base
    webCrawlerDataSources List<Property Map>
    Web crawler data source configuration

    GetGenaiKnowledgeBaseDataSourcesDatasourceFileUploadDataSource

    OriginalFileName string
    The original name of the uploaded file
    SizeInBytes string
    The size of the file in bytes
    StoredObjectKey string
    The stored object key for the file
    OriginalFileName string
    The original name of the uploaded file
    SizeInBytes string
    The size of the file in bytes
    StoredObjectKey string
    The stored object key for the file
    originalFileName String
    The original name of the uploaded file
    sizeInBytes String
    The size of the file in bytes
    storedObjectKey String
    The stored object key for the file
    originalFileName string
    The original name of the uploaded file
    sizeInBytes string
    The size of the file in bytes
    storedObjectKey string
    The stored object key for the file
    original_file_name str
    The original name of the uploaded file
    size_in_bytes str
    The size of the file in bytes
    stored_object_key str
    The stored object key for the file
    originalFileName String
    The original name of the uploaded file
    sizeInBytes String
    The size of the file in bytes
    storedObjectKey String
    The stored object key for the file

    GetGenaiKnowledgeBaseDataSourcesDatasourceLastIndexingJob

    CreatedAt string
    Created At timestamp for the last indexing job
    FinishedAt string
    Timestamp when the last indexing job finished
    KnowledgeBaseUuid string
    UUID of the Knowledge Base for the last indexing job
    StartedAt string
    Timestamp when the last indexing job started
    UpdatedAt string
    Timestamp when the last indexing job updated
    CompletedDatasources int
    Number of completed datasources in the last indexing job
    DataSourceUuids List<string>
    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
    TotalDatasources int
    Total number of datasources in the last indexing job
    Uuid string
    UUID of the last indexing job
    CreatedAt string
    Created At timestamp for the last indexing job
    FinishedAt string
    Timestamp when the last indexing job finished
    KnowledgeBaseUuid string
    UUID of the Knowledge Base for the last indexing job
    StartedAt string
    Timestamp when the last indexing job started
    UpdatedAt string
    Timestamp when the last indexing job updated
    CompletedDatasources int
    Number of completed datasources in the last indexing job
    DataSourceUuids []string
    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
    TotalDatasources int
    Total number of datasources in the last indexing job
    Uuid string
    UUID of the last indexing job
    createdAt String
    Created At timestamp for the last indexing job
    finishedAt String
    Timestamp when the last indexing job finished
    knowledgeBaseUuid String
    UUID of the Knowledge Base for the last indexing job
    startedAt String
    Timestamp when the last indexing job started
    updatedAt String
    Timestamp when the last indexing job updated
    completedDatasources Integer
    Number of completed datasources in the last indexing job
    dataSourceUuids List<String>
    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
    totalDatasources Integer
    Total number of datasources in the last indexing job
    uuid String
    UUID of the last indexing job
    createdAt string
    Created At timestamp for the last indexing job
    finishedAt string
    Timestamp when the last indexing job finished
    knowledgeBaseUuid string
    UUID of the Knowledge Base for the last indexing job
    startedAt string
    Timestamp when the last indexing job started
    updatedAt string
    Timestamp when the last indexing job updated
    completedDatasources number
    Number of completed datasources in the last indexing job
    dataSourceUuids string[]
    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
    totalDatasources 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_uuid str
    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_uuids Sequence[str]
    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
    createdAt String
    Created At timestamp for the last indexing job
    finishedAt String
    Timestamp when the last indexing job finished
    knowledgeBaseUuid String
    UUID of the Knowledge Base for the last indexing job
    startedAt String
    Timestamp when the last indexing job started
    updatedAt String
    Timestamp when the last indexing job updated
    completedDatasources Number
    Number of completed datasources in the last indexing job
    dataSourceUuids List<String>
    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
    totalDatasources Number
    Total number of datasources in the last indexing job
    uuid String
    UUID of the last indexing job

    GetGenaiKnowledgeBaseDataSourcesDatasourceSpacesDataSource

    BucketName string
    The name of the Spaces bucket
    ItemPath string
    The path to the item in the bucket
    Region string
    The region of the Spaces bucket
    BucketName string
    The name of the Spaces bucket
    ItemPath string
    The path to the item in the bucket
    Region string
    The region of the Spaces bucket
    bucketName String
    The name of the Spaces bucket
    itemPath String
    The path to the item in the bucket
    region String
    The region of the Spaces bucket
    bucketName string
    The name of the Spaces bucket
    itemPath 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
    bucketName String
    The name of the Spaces bucket
    itemPath String
    The path to the item in the bucket
    region String
    The region of the Spaces bucket

    GetGenaiKnowledgeBaseDataSourcesDatasourceWebCrawlerDataSource

    BaseUrl string
    The base URL to crawl
    CrawlingOption 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.
    EmbedMedia bool
    Whether to embed media content
    BaseUrl string
    The base URL to crawl
    CrawlingOption 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.
    EmbedMedia bool
    Whether to embed media content
    baseUrl String
    The base URL to crawl
    crawlingOption 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.
    embedMedia Boolean
    Whether to embed media content
    baseUrl string
    The base URL to crawl
    crawlingOption 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.
    embedMedia 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
    baseUrl String
    The base URL to crawl
    crawlingOption 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.
    embedMedia 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 digitalocean Terraform Provider.
    digitalocean logo
    DigitalOcean v4.51.0 published on Thursday, Aug 14, 2025 by Pulumi