DigitalOcean v4.51.0 published on Thursday, Aug 14, 2025 by Pulumi
digitalocean.getGenaiKnowledgeBase
Explore with Pulumi AI
Using getGenaiKnowledgeBase
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 getGenaiKnowledgeBase(args: GetGenaiKnowledgeBaseArgs, opts?: InvokeOptions): Promise<GetGenaiKnowledgeBaseResult>
function getGenaiKnowledgeBaseOutput(args: GetGenaiKnowledgeBaseOutputArgs, opts?: InvokeOptions): Output<GetGenaiKnowledgeBaseResult>
def get_genai_knowledge_base(added_to_agent_at: Optional[str] = None,
database_id: Optional[str] = None,
embedding_model_uuid: Optional[str] = None,
is_public: Optional[bool] = None,
last_indexing_jobs: Optional[Sequence[GetGenaiKnowledgeBaseLastIndexingJob]] = None,
name: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
user_id: Optional[str] = None,
uuid: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetGenaiKnowledgeBaseResult
def get_genai_knowledge_base_output(added_to_agent_at: Optional[pulumi.Input[str]] = None,
database_id: Optional[pulumi.Input[str]] = None,
embedding_model_uuid: Optional[pulumi.Input[str]] = None,
is_public: Optional[pulumi.Input[bool]] = None,
last_indexing_jobs: Optional[pulumi.Input[Sequence[pulumi.Input[GetGenaiKnowledgeBaseLastIndexingJobArgs]]]] = None,
name: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
user_id: Optional[pulumi.Input[str]] = None,
uuid: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGenaiKnowledgeBaseResult]
func LookupGenaiKnowledgeBase(ctx *Context, args *LookupGenaiKnowledgeBaseArgs, opts ...InvokeOption) (*LookupGenaiKnowledgeBaseResult, error)
func LookupGenaiKnowledgeBaseOutput(ctx *Context, args *LookupGenaiKnowledgeBaseOutputArgs, opts ...InvokeOption) LookupGenaiKnowledgeBaseResultOutput
> Note: This function is named LookupGenaiKnowledgeBase
in the Go SDK.
public static class GetGenaiKnowledgeBase
{
public static Task<GetGenaiKnowledgeBaseResult> InvokeAsync(GetGenaiKnowledgeBaseArgs args, InvokeOptions? opts = null)
public static Output<GetGenaiKnowledgeBaseResult> Invoke(GetGenaiKnowledgeBaseInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetGenaiKnowledgeBaseResult> getGenaiKnowledgeBase(GetGenaiKnowledgeBaseArgs args, InvokeOptions options)
public static Output<GetGenaiKnowledgeBaseResult> getGenaiKnowledgeBase(GetGenaiKnowledgeBaseArgs args, InvokeOptions options)
fn::invoke:
function: digitalocean:index/getGenaiKnowledgeBase:getGenaiKnowledgeBase
arguments:
# arguments dictionary
The following arguments are supported:
- Added
To stringAgent At - Database
Id string - Embedding
Model stringUuid - Is
Public bool - Last
Indexing List<Pulumi.Jobs Digital Ocean. Inputs. Get Genai Knowledge Base Last Indexing Job> - Name string
- Project
Id string - Region string
- List<string>
- User
Id string - Uuid string
- Added
To stringAgent At - Database
Id string - Embedding
Model stringUuid - Is
Public bool - Last
Indexing []GetJobs Genai Knowledge Base Last Indexing Job - Name string
- Project
Id string - Region string
- []string
- User
Id string - Uuid string
- added
To StringAgent At - database
Id String - embedding
Model StringUuid - is
Public Boolean - last
Indexing List<GetJobs Genai Knowledge Base Last Indexing Job> - name String
- project
Id String - region String
- List<String>
- user
Id String - uuid String
- added
To stringAgent At - database
Id string - embedding
Model stringUuid - is
Public boolean - last
Indexing GetJobs Genai Knowledge Base Last Indexing Job[] - name string
- project
Id string - region string
- string[]
- user
Id string - uuid string
- added_
to_ stragent_ at - database_
id str - embedding_
model_ struuid - is_
public bool - last_
indexing_ Sequence[Getjobs Genai Knowledge Base Last Indexing Job] - name str
- project_
id str - region str
- Sequence[str]
- user_
id str - uuid str
- added
To StringAgent At - database
Id String - embedding
Model StringUuid - is
Public Boolean - last
Indexing List<Property Map>Jobs - name String
- project
Id String - region String
- List<String>
- user
Id String - uuid String
getGenaiKnowledgeBase Result
The following output properties are available:
- Created
At string - Id string
- The provider-assigned unique ID for this managed resource.
- Updated
At string - Added
To stringAgent At - Database
Id string - Embedding
Model stringUuid - Is
Public bool - Last
Indexing List<Pulumi.Jobs Digital Ocean. Outputs. Get Genai Knowledge Base Last Indexing Job> - Name string
- Project
Id string - Region string
- List<string>
- User
Id string - Uuid string
- Created
At string - Id string
- The provider-assigned unique ID for this managed resource.
- Updated
At string - Added
To stringAgent At - Database
Id string - Embedding
Model stringUuid - Is
Public bool - Last
Indexing []GetJobs Genai Knowledge Base Last Indexing Job - Name string
- Project
Id string - Region string
- []string
- User
Id string - Uuid string
- created
At String - id String
- The provider-assigned unique ID for this managed resource.
- updated
At String - added
To StringAgent At - database
Id String - embedding
Model StringUuid - is
Public Boolean - last
Indexing List<GetJobs Genai Knowledge Base Last Indexing Job> - name String
- project
Id String - region String
- List<String>
- user
Id String - uuid String
- created
At string - id string
- The provider-assigned unique ID for this managed resource.
- updated
At string - added
To stringAgent At - database
Id string - embedding
Model stringUuid - is
Public boolean - last
Indexing GetJobs Genai Knowledge Base Last Indexing Job[] - name string
- project
Id string - region string
- string[]
- user
Id string - uuid string
- created_
at str - id str
- The provider-assigned unique ID for this managed resource.
- updated_
at str - added_
to_ stragent_ at - database_
id str - embedding_
model_ struuid - is_
public bool - last_
indexing_ Sequence[Getjobs Genai Knowledge Base Last Indexing Job] - name str
- project_
id str - region str
- Sequence[str]
- user_
id str - uuid str
- created
At String - id String
- The provider-assigned unique ID for this managed resource.
- updated
At String - added
To StringAgent At - database
Id String - embedding
Model StringUuid - is
Public Boolean - last
Indexing List<Property Map>Jobs - name String
- project
Id String - region String
- List<String>
- user
Id String - uuid String
Supporting Types
GetGenaiKnowledgeBaseLastIndexingJob
- 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
Package Details
- Repository
- DigitalOcean pulumi/pulumi-digitalocean
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
digitalocean
Terraform Provider.