DigitalOcean v4.57.0 published on Thursday, Feb 12, 2026 by Pulumi
DigitalOcean v4.57.0 published on Thursday, Feb 12, 2026 by Pulumi
Using getGradientaiKnowledgeBaseDataSources
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 getGradientaiKnowledgeBaseDataSources(args: GetGradientaiKnowledgeBaseDataSourcesArgs, opts?: InvokeOptions): Promise<GetGradientaiKnowledgeBaseDataSourcesResult>
function getGradientaiKnowledgeBaseDataSourcesOutput(args: GetGradientaiKnowledgeBaseDataSourcesOutputArgs, opts?: InvokeOptions): Output<GetGradientaiKnowledgeBaseDataSourcesResult>def get_gradientai_knowledge_base_data_sources(knowledge_base_uuid: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetGradientaiKnowledgeBaseDataSourcesResult
def get_gradientai_knowledge_base_data_sources_output(knowledge_base_uuid: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGradientaiKnowledgeBaseDataSourcesResult]func GetGradientaiKnowledgeBaseDataSources(ctx *Context, args *GetGradientaiKnowledgeBaseDataSourcesArgs, opts ...InvokeOption) (*GetGradientaiKnowledgeBaseDataSourcesResult, error)
func GetGradientaiKnowledgeBaseDataSourcesOutput(ctx *Context, args *GetGradientaiKnowledgeBaseDataSourcesOutputArgs, opts ...InvokeOption) GetGradientaiKnowledgeBaseDataSourcesResultOutput> Note: This function is named GetGradientaiKnowledgeBaseDataSources in the Go SDK.
public static class GetGradientaiKnowledgeBaseDataSources
{
public static Task<GetGradientaiKnowledgeBaseDataSourcesResult> InvokeAsync(GetGradientaiKnowledgeBaseDataSourcesArgs args, InvokeOptions? opts = null)
public static Output<GetGradientaiKnowledgeBaseDataSourcesResult> Invoke(GetGradientaiKnowledgeBaseDataSourcesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetGradientaiKnowledgeBaseDataSourcesResult> getGradientaiKnowledgeBaseDataSources(GetGradientaiKnowledgeBaseDataSourcesArgs args, InvokeOptions options)
public static Output<GetGradientaiKnowledgeBaseDataSourcesResult> getGradientaiKnowledgeBaseDataSources(GetGradientaiKnowledgeBaseDataSourcesArgs args, InvokeOptions options)
fn::invoke:
function: digitalocean:index/getGradientaiKnowledgeBaseDataSources:getGradientaiKnowledgeBaseDataSources
arguments:
# arguments dictionaryThe following arguments are supported:
- Knowledge
Base stringUuid
- Knowledge
Base stringUuid
- knowledge
Base StringUuid
- knowledge
Base stringUuid
- knowledge
Base StringUuid
getGradientaiKnowledgeBaseDataSources Result
The following output properties are available:
- Datasources
List<Pulumi.
Digital Ocean. Outputs. Get Gradientai Knowledge Base Data Sources Datasource> - Id string
- The provider-assigned unique ID for this managed resource.
- Knowledge
Base stringUuid
- Datasources
[]Get
Gradientai Knowledge Base Data Sources Datasource - Id string
- The provider-assigned unique ID for this managed resource.
- Knowledge
Base stringUuid
- datasources
List<Get
Gradientai Knowledge Base Data Sources Datasource> - id String
- The provider-assigned unique ID for this managed resource.
- knowledge
Base StringUuid
- datasources
Get
Gradientai Knowledge Base Data Sources Datasource[] - id string
- The provider-assigned unique ID for this managed resource.
- knowledge
Base stringUuid
- datasources
Sequence[Get
Gradientai 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
GetGradientaiKnowledgeBaseDataSourcesDatasource
- 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 Gradientai Knowledge Base Data Sources Datasource File Upload Data Source> - File upload data source configuration
- Last
Indexing List<Pulumi.Jobs Digital Ocean. Inputs. Get Gradientai Knowledge Base Data Sources Datasource Last Indexing Job> - Last indexing job for the data source
- Spaces
Data List<Pulumi.Sources Digital Ocean. Inputs. Get Gradientai 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 Gradientai 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 Gradientai Knowledge Base Data Sources Datasource File Upload Data Source - File upload data source configuration
- Last
Indexing []GetJobs Gradientai Knowledge Base Data Sources Datasource Last Indexing Job - Last indexing job for the data source
- Spaces
Data []GetSources Gradientai Knowledge Base Data Sources Datasource Spaces Data Source - Spaces data source configuration
- Uuid string
- UUID of the Knowledge Base
- Web
Crawler []GetData Sources Gradientai 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 Gradientai Knowledge Base Data Sources Datasource File Upload Data Source> - File upload data source configuration
- last
Indexing List<GetJobs Gradientai Knowledge Base Data Sources Datasource Last Indexing Job> - Last indexing job for the data source
- spaces
Data List<GetSources Gradientai Knowledge Base Data Sources Datasource Spaces Data Source> - Spaces data source configuration
- uuid String
- UUID of the Knowledge Base
- web
Crawler List<GetData Sources Gradientai 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 Gradientai Knowledge Base Data Sources Datasource File Upload Data Source[] - File upload data source configuration
- last
Indexing GetJobs Gradientai Knowledge Base Data Sources Datasource Last Indexing Job[] - Last indexing job for the data source
- spaces
Data GetSources Gradientai Knowledge Base Data Sources Datasource Spaces Data Source[] - Spaces data source configuration
- uuid string
- UUID of the Knowledge Base
- web
Crawler GetData Sources Gradientai 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 Gradientai Knowledge Base Data Sources Datasource File Upload Data Source] - File upload data source configuration
- last_
indexing_ Sequence[Getjobs Gradientai Knowledge Base Data Sources Datasource Last Indexing Job] - Last indexing job for the data source
- spaces_
data_ Sequence[Getsources Gradientai Knowledge Base Data Sources Datasource Spaces Data Source] - Spaces data source configuration
- uuid str
- UUID of the Knowledge Base
- web_
crawler_ Sequence[Getdata_ sources Gradientai 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
GetGradientaiKnowledgeBaseDataSourcesDatasourceFileUploadDataSource
- 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
GetGradientaiKnowledgeBaseDataSourcesDatasourceLastIndexingJob
- 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
GetGradientaiKnowledgeBaseDataSourcesDatasourceSpacesDataSource
- 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
GetGradientaiKnowledgeBaseDataSourcesDatasourceWebCrawlerDataSource
- 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.
DigitalOcean v4.57.0 published on Thursday, Feb 12, 2026 by Pulumi
