pulumi-digitalocean 4.46.0a1747979086__py3-none-any.whl → 4.56.0a1766428645__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_digitalocean/__init__.py +195 -2
- pulumi_digitalocean/_enums.py +10 -10
- pulumi_digitalocean/_inputs.py +16851 -4937
- pulumi_digitalocean/_utilities.py +1 -1
- pulumi_digitalocean/app.py +237 -89
- pulumi_digitalocean/byoip_prefix.py +452 -0
- pulumi_digitalocean/cdn.py +105 -106
- pulumi_digitalocean/certificate.py +138 -139
- pulumi_digitalocean/config/__init__.py +2 -2
- pulumi_digitalocean/config/__init__.pyi +2 -3
- pulumi_digitalocean/config/vars.py +11 -12
- pulumi_digitalocean/container_registries.py +285 -0
- pulumi_digitalocean/container_registry.py +89 -90
- pulumi_digitalocean/container_registry_docker_credentials.py +83 -84
- pulumi_digitalocean/custom_image.py +176 -177
- pulumi_digitalocean/database_cluster.py +375 -348
- pulumi_digitalocean/database_connection_pool.py +158 -159
- pulumi_digitalocean/database_db.py +36 -37
- pulumi_digitalocean/database_firewall.py +22 -23
- pulumi_digitalocean/database_kafka_config.py +308 -309
- pulumi_digitalocean/database_kafka_schema_registry.py +360 -0
- pulumi_digitalocean/database_kafka_topic.py +82 -83
- pulumi_digitalocean/database_logsink_opensearch.py +680 -0
- pulumi_digitalocean/database_logsink_rsyslog.py +842 -0
- pulumi_digitalocean/database_mongodb_config.py +104 -105
- pulumi_digitalocean/database_mysql_config.py +478 -479
- pulumi_digitalocean/database_online_migration.py +460 -0
- pulumi_digitalocean/database_opensearch_config.py +665 -666
- pulumi_digitalocean/database_postgresql_config.py +858 -859
- pulumi_digitalocean/database_redis_config.py +210 -207
- pulumi_digitalocean/database_replica.py +198 -199
- pulumi_digitalocean/database_user.py +92 -93
- pulumi_digitalocean/database_valkey_config.py +776 -0
- pulumi_digitalocean/dns_record.py +181 -182
- pulumi_digitalocean/domain.py +54 -55
- pulumi_digitalocean/droplet.py +389 -390
- pulumi_digitalocean/droplet_autoscale.py +54 -55
- pulumi_digitalocean/droplet_snapshot.py +72 -73
- pulumi_digitalocean/firewall.py +79 -80
- pulumi_digitalocean/floating_ip.py +62 -63
- pulumi_digitalocean/floating_ip_assignment.py +36 -37
- pulumi_digitalocean/genai_agent.py +1903 -0
- pulumi_digitalocean/genai_agent_knowledge_base_attachment.py +198 -0
- pulumi_digitalocean/genai_agent_route.py +354 -0
- pulumi_digitalocean/genai_function.py +464 -0
- pulumi_digitalocean/genai_indexing_job_cancel.py +542 -0
- pulumi_digitalocean/genai_knowledge_base.py +627 -0
- pulumi_digitalocean/genai_knowledge_base_data_source.py +220 -0
- pulumi_digitalocean/genai_openai_api_key.py +386 -0
- pulumi_digitalocean/get_account.py +18 -19
- pulumi_digitalocean/get_app.py +28 -29
- pulumi_digitalocean/get_byoip_prefix.py +214 -0
- pulumi_digitalocean/get_byoip_prefix_resources.py +150 -0
- pulumi_digitalocean/get_certificate.py +22 -23
- pulumi_digitalocean/get_container_registries.py +151 -0
- pulumi_digitalocean/get_container_registry.py +22 -23
- pulumi_digitalocean/get_database_ca.py +12 -13
- pulumi_digitalocean/get_database_cluster.py +76 -63
- pulumi_digitalocean/get_database_connection_pool.py +36 -37
- pulumi_digitalocean/get_database_metrics_credentials.py +120 -0
- pulumi_digitalocean/get_database_replica.py +46 -47
- pulumi_digitalocean/get_database_user.py +27 -28
- pulumi_digitalocean/get_domain.py +16 -17
- pulumi_digitalocean/get_domains.py +7 -8
- pulumi_digitalocean/get_droplet.py +72 -73
- pulumi_digitalocean/get_droplet_autoscale.py +23 -24
- pulumi_digitalocean/get_droplet_snapshot.py +38 -39
- pulumi_digitalocean/get_droplets.py +13 -14
- pulumi_digitalocean/get_firewall.py +31 -32
- pulumi_digitalocean/get_floating_ip.py +16 -17
- pulumi_digitalocean/get_genai_agent.py +572 -0
- pulumi_digitalocean/get_genai_agent_versions.py +128 -0
- pulumi_digitalocean/get_genai_agents.py +128 -0
- pulumi_digitalocean/get_genai_agents_by_openai_api_key.py +97 -0
- pulumi_digitalocean/get_genai_indexing_job.py +239 -0
- pulumi_digitalocean/get_genai_indexing_job_data_sources.py +97 -0
- pulumi_digitalocean/get_genai_knowledge_base.py +259 -0
- pulumi_digitalocean/get_genai_knowledge_base_data_sources.py +97 -0
- pulumi_digitalocean/get_genai_knowledge_base_indexing_jobs.py +108 -0
- pulumi_digitalocean/get_genai_knowledge_bases.py +113 -0
- pulumi_digitalocean/get_genai_models.py +113 -0
- pulumi_digitalocean/get_genai_openai_api_key.py +152 -0
- pulumi_digitalocean/get_genai_openai_api_keys.py +113 -0
- pulumi_digitalocean/get_genai_regions.py +113 -0
- pulumi_digitalocean/get_image.py +50 -51
- pulumi_digitalocean/get_images.py +7 -8
- pulumi_digitalocean/get_kubernetes_cluster.py +117 -58
- pulumi_digitalocean/get_kubernetes_versions.py +14 -15
- pulumi_digitalocean/get_load_balancer.py +60 -61
- pulumi_digitalocean/get_nfs.py +205 -0
- pulumi_digitalocean/get_nfs_snapshot.py +188 -0
- pulumi_digitalocean/get_partner_attachment.py +61 -25
- pulumi_digitalocean/get_partner_attachment_service_key.py +118 -0
- pulumi_digitalocean/get_project.py +32 -33
- pulumi_digitalocean/get_projects.py +7 -8
- pulumi_digitalocean/get_record.py +32 -33
- pulumi_digitalocean/get_records.py +13 -14
- pulumi_digitalocean/get_region.py +18 -19
- pulumi_digitalocean/get_regions.py +7 -8
- pulumi_digitalocean/get_reserved_ip.py +16 -17
- pulumi_digitalocean/get_reserved_ipv6.py +16 -17
- pulumi_digitalocean/get_sizes.py +141 -8
- pulumi_digitalocean/get_spaces_bucket.py +22 -23
- pulumi_digitalocean/get_spaces_bucket_object.py +58 -59
- pulumi_digitalocean/get_spaces_bucket_objects.py +46 -47
- pulumi_digitalocean/get_spaces_buckets.py +7 -8
- pulumi_digitalocean/get_spaces_key.py +15 -16
- pulumi_digitalocean/get_ssh_key.py +14 -15
- pulumi_digitalocean/get_ssh_keys.py +7 -8
- pulumi_digitalocean/get_tag.py +22 -23
- pulumi_digitalocean/get_tags.py +7 -8
- pulumi_digitalocean/get_volume.py +34 -35
- pulumi_digitalocean/get_volume_snapshot.py +40 -41
- pulumi_digitalocean/get_vpc.py +30 -31
- pulumi_digitalocean/get_vpc_nat_gateway.py +263 -0
- pulumi_digitalocean/get_vpc_peering.py +24 -25
- pulumi_digitalocean/kubernetes_cluster.py +483 -296
- pulumi_digitalocean/kubernetes_node_pool.py +169 -170
- pulumi_digitalocean/load_balancer.py +375 -376
- pulumi_digitalocean/monitor_alert.py +150 -151
- pulumi_digitalocean/nfs.py +481 -0
- pulumi_digitalocean/nfs_attachment.py +289 -0
- pulumi_digitalocean/nfs_snapshot.py +379 -0
- pulumi_digitalocean/outputs.py +26671 -7785
- pulumi_digitalocean/partner_attachment.py +231 -110
- pulumi_digitalocean/project.py +140 -141
- pulumi_digitalocean/project_resources.py +36 -37
- pulumi_digitalocean/provider.py +85 -86
- pulumi_digitalocean/pulumi-plugin.json +1 -1
- pulumi_digitalocean/reserved_ip.py +62 -63
- pulumi_digitalocean/reserved_ip_assignment.py +36 -37
- pulumi_digitalocean/reserved_ipv6.py +64 -65
- pulumi_digitalocean/reserved_ipv6_assignment.py +36 -37
- pulumi_digitalocean/spaces_bucket.py +106 -107
- pulumi_digitalocean/spaces_bucket_cors_configuration.py +39 -40
- pulumi_digitalocean/spaces_bucket_logging.py +70 -71
- pulumi_digitalocean/spaces_bucket_object.py +283 -284
- pulumi_digitalocean/spaces_bucket_policy.py +53 -54
- pulumi_digitalocean/spaces_key.py +49 -50
- pulumi_digitalocean/ssh_key.py +45 -46
- pulumi_digitalocean/tag.py +73 -74
- pulumi_digitalocean/uptime_alert.py +107 -108
- pulumi_digitalocean/uptime_check.py +87 -88
- pulumi_digitalocean/volume.py +182 -183
- pulumi_digitalocean/volume_attachment.py +36 -37
- pulumi_digitalocean/volume_snapshot.py +89 -90
- pulumi_digitalocean/vpc.py +97 -98
- pulumi_digitalocean/vpc_nat_gateway.py +722 -0
- pulumi_digitalocean/vpc_peering.py +54 -59
- {pulumi_digitalocean-4.46.0a1747979086.dist-info → pulumi_digitalocean-4.56.0a1766428645.dist-info}/METADATA +1 -1
- pulumi_digitalocean-4.56.0a1766428645.dist-info/RECORD +154 -0
- {pulumi_digitalocean-4.46.0a1747979086.dist-info → pulumi_digitalocean-4.56.0a1766428645.dist-info}/WHEEL +1 -1
- pulumi_digitalocean-4.46.0a1747979086.dist-info/RECORD +0 -113
- {pulumi_digitalocean-4.46.0a1747979086.dist-info → pulumi_digitalocean-4.56.0a1766428645.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
18
|
+
|
|
19
|
+
__all__ = [
|
|
20
|
+
'GetGenaiAgentVersionsResult',
|
|
21
|
+
'AwaitableGetGenaiAgentVersionsResult',
|
|
22
|
+
'get_genai_agent_versions',
|
|
23
|
+
'get_genai_agent_versions_output',
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
@pulumi.output_type
|
|
27
|
+
class GetGenaiAgentVersionsResult:
|
|
28
|
+
"""
|
|
29
|
+
A collection of values returned by getGenaiAgentVersions.
|
|
30
|
+
"""
|
|
31
|
+
def __init__(__self__, agent_id=None, agent_versions=None, filters=None, id=None, sorts=None):
|
|
32
|
+
if agent_id and not isinstance(agent_id, str):
|
|
33
|
+
raise TypeError("Expected argument 'agent_id' to be a str")
|
|
34
|
+
pulumi.set(__self__, "agent_id", agent_id)
|
|
35
|
+
if agent_versions and not isinstance(agent_versions, list):
|
|
36
|
+
raise TypeError("Expected argument 'agent_versions' to be a list")
|
|
37
|
+
pulumi.set(__self__, "agent_versions", agent_versions)
|
|
38
|
+
if filters and not isinstance(filters, list):
|
|
39
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
|
40
|
+
pulumi.set(__self__, "filters", filters)
|
|
41
|
+
if id and not isinstance(id, str):
|
|
42
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
43
|
+
pulumi.set(__self__, "id", id)
|
|
44
|
+
if sorts and not isinstance(sorts, list):
|
|
45
|
+
raise TypeError("Expected argument 'sorts' to be a list")
|
|
46
|
+
pulumi.set(__self__, "sorts", sorts)
|
|
47
|
+
|
|
48
|
+
@_builtins.property
|
|
49
|
+
@pulumi.getter(name="agentId")
|
|
50
|
+
def agent_id(self) -> _builtins.str:
|
|
51
|
+
return pulumi.get(self, "agent_id")
|
|
52
|
+
|
|
53
|
+
@_builtins.property
|
|
54
|
+
@pulumi.getter(name="agentVersions")
|
|
55
|
+
def agent_versions(self) -> Sequence['outputs.GetGenaiAgentVersionsAgentVersionResult']:
|
|
56
|
+
return pulumi.get(self, "agent_versions")
|
|
57
|
+
|
|
58
|
+
@_builtins.property
|
|
59
|
+
@pulumi.getter
|
|
60
|
+
def filters(self) -> Optional[Sequence['outputs.GetGenaiAgentVersionsFilterResult']]:
|
|
61
|
+
return pulumi.get(self, "filters")
|
|
62
|
+
|
|
63
|
+
@_builtins.property
|
|
64
|
+
@pulumi.getter
|
|
65
|
+
def id(self) -> _builtins.str:
|
|
66
|
+
"""
|
|
67
|
+
The provider-assigned unique ID for this managed resource.
|
|
68
|
+
"""
|
|
69
|
+
return pulumi.get(self, "id")
|
|
70
|
+
|
|
71
|
+
@_builtins.property
|
|
72
|
+
@pulumi.getter
|
|
73
|
+
def sorts(self) -> Optional[Sequence['outputs.GetGenaiAgentVersionsSortResult']]:
|
|
74
|
+
return pulumi.get(self, "sorts")
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
class AwaitableGetGenaiAgentVersionsResult(GetGenaiAgentVersionsResult):
|
|
78
|
+
# pylint: disable=using-constant-test
|
|
79
|
+
def __await__(self):
|
|
80
|
+
if False:
|
|
81
|
+
yield self
|
|
82
|
+
return GetGenaiAgentVersionsResult(
|
|
83
|
+
agent_id=self.agent_id,
|
|
84
|
+
agent_versions=self.agent_versions,
|
|
85
|
+
filters=self.filters,
|
|
86
|
+
id=self.id,
|
|
87
|
+
sorts=self.sorts)
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
def get_genai_agent_versions(agent_id: Optional[_builtins.str] = None,
|
|
91
|
+
filters: Optional[Sequence[Union['GetGenaiAgentVersionsFilterArgs', 'GetGenaiAgentVersionsFilterArgsDict']]] = None,
|
|
92
|
+
sorts: Optional[Sequence[Union['GetGenaiAgentVersionsSortArgs', 'GetGenaiAgentVersionsSortArgsDict']]] = None,
|
|
93
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGenaiAgentVersionsResult:
|
|
94
|
+
"""
|
|
95
|
+
Use this data source to access information about an existing resource.
|
|
96
|
+
"""
|
|
97
|
+
__args__ = dict()
|
|
98
|
+
__args__['agentId'] = agent_id
|
|
99
|
+
__args__['filters'] = filters
|
|
100
|
+
__args__['sorts'] = sorts
|
|
101
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
102
|
+
__ret__ = pulumi.runtime.invoke('digitalocean:index/getGenaiAgentVersions:getGenaiAgentVersions', __args__, opts=opts, typ=GetGenaiAgentVersionsResult).value
|
|
103
|
+
|
|
104
|
+
return AwaitableGetGenaiAgentVersionsResult(
|
|
105
|
+
agent_id=pulumi.get(__ret__, 'agent_id'),
|
|
106
|
+
agent_versions=pulumi.get(__ret__, 'agent_versions'),
|
|
107
|
+
filters=pulumi.get(__ret__, 'filters'),
|
|
108
|
+
id=pulumi.get(__ret__, 'id'),
|
|
109
|
+
sorts=pulumi.get(__ret__, 'sorts'))
|
|
110
|
+
def get_genai_agent_versions_output(agent_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
111
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetGenaiAgentVersionsFilterArgs', 'GetGenaiAgentVersionsFilterArgsDict']]]]] = None,
|
|
112
|
+
sorts: Optional[pulumi.Input[Optional[Sequence[Union['GetGenaiAgentVersionsSortArgs', 'GetGenaiAgentVersionsSortArgsDict']]]]] = None,
|
|
113
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGenaiAgentVersionsResult]:
|
|
114
|
+
"""
|
|
115
|
+
Use this data source to access information about an existing resource.
|
|
116
|
+
"""
|
|
117
|
+
__args__ = dict()
|
|
118
|
+
__args__['agentId'] = agent_id
|
|
119
|
+
__args__['filters'] = filters
|
|
120
|
+
__args__['sorts'] = sorts
|
|
121
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
122
|
+
__ret__ = pulumi.runtime.invoke_output('digitalocean:index/getGenaiAgentVersions:getGenaiAgentVersions', __args__, opts=opts, typ=GetGenaiAgentVersionsResult)
|
|
123
|
+
return __ret__.apply(lambda __response__: GetGenaiAgentVersionsResult(
|
|
124
|
+
agent_id=pulumi.get(__response__, 'agent_id'),
|
|
125
|
+
agent_versions=pulumi.get(__response__, 'agent_versions'),
|
|
126
|
+
filters=pulumi.get(__response__, 'filters'),
|
|
127
|
+
id=pulumi.get(__response__, 'id'),
|
|
128
|
+
sorts=pulumi.get(__response__, 'sorts')))
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
18
|
+
|
|
19
|
+
__all__ = [
|
|
20
|
+
'GetGenaiAgentsResult',
|
|
21
|
+
'AwaitableGetGenaiAgentsResult',
|
|
22
|
+
'get_genai_agents',
|
|
23
|
+
'get_genai_agents_output',
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
@pulumi.output_type
|
|
27
|
+
class GetGenaiAgentsResult:
|
|
28
|
+
"""
|
|
29
|
+
A collection of values returned by getGenaiAgents.
|
|
30
|
+
"""
|
|
31
|
+
def __init__(__self__, agents=None, filters=None, id=None, only_deployed=None, sorts=None):
|
|
32
|
+
if agents and not isinstance(agents, list):
|
|
33
|
+
raise TypeError("Expected argument 'agents' to be a list")
|
|
34
|
+
pulumi.set(__self__, "agents", agents)
|
|
35
|
+
if filters and not isinstance(filters, list):
|
|
36
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
|
37
|
+
pulumi.set(__self__, "filters", filters)
|
|
38
|
+
if id and not isinstance(id, str):
|
|
39
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
40
|
+
pulumi.set(__self__, "id", id)
|
|
41
|
+
if only_deployed and not isinstance(only_deployed, bool):
|
|
42
|
+
raise TypeError("Expected argument 'only_deployed' to be a bool")
|
|
43
|
+
pulumi.set(__self__, "only_deployed", only_deployed)
|
|
44
|
+
if sorts and not isinstance(sorts, list):
|
|
45
|
+
raise TypeError("Expected argument 'sorts' to be a list")
|
|
46
|
+
pulumi.set(__self__, "sorts", sorts)
|
|
47
|
+
|
|
48
|
+
@_builtins.property
|
|
49
|
+
@pulumi.getter
|
|
50
|
+
def agents(self) -> Sequence['outputs.GetGenaiAgentsAgentResult']:
|
|
51
|
+
return pulumi.get(self, "agents")
|
|
52
|
+
|
|
53
|
+
@_builtins.property
|
|
54
|
+
@pulumi.getter
|
|
55
|
+
def filters(self) -> Optional[Sequence['outputs.GetGenaiAgentsFilterResult']]:
|
|
56
|
+
return pulumi.get(self, "filters")
|
|
57
|
+
|
|
58
|
+
@_builtins.property
|
|
59
|
+
@pulumi.getter
|
|
60
|
+
def id(self) -> _builtins.str:
|
|
61
|
+
"""
|
|
62
|
+
The provider-assigned unique ID for this managed resource.
|
|
63
|
+
"""
|
|
64
|
+
return pulumi.get(self, "id")
|
|
65
|
+
|
|
66
|
+
@_builtins.property
|
|
67
|
+
@pulumi.getter(name="onlyDeployed")
|
|
68
|
+
def only_deployed(self) -> Optional[_builtins.bool]:
|
|
69
|
+
return pulumi.get(self, "only_deployed")
|
|
70
|
+
|
|
71
|
+
@_builtins.property
|
|
72
|
+
@pulumi.getter
|
|
73
|
+
def sorts(self) -> Optional[Sequence['outputs.GetGenaiAgentsSortResult']]:
|
|
74
|
+
return pulumi.get(self, "sorts")
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
class AwaitableGetGenaiAgentsResult(GetGenaiAgentsResult):
|
|
78
|
+
# pylint: disable=using-constant-test
|
|
79
|
+
def __await__(self):
|
|
80
|
+
if False:
|
|
81
|
+
yield self
|
|
82
|
+
return GetGenaiAgentsResult(
|
|
83
|
+
agents=self.agents,
|
|
84
|
+
filters=self.filters,
|
|
85
|
+
id=self.id,
|
|
86
|
+
only_deployed=self.only_deployed,
|
|
87
|
+
sorts=self.sorts)
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
def get_genai_agents(filters: Optional[Sequence[Union['GetGenaiAgentsFilterArgs', 'GetGenaiAgentsFilterArgsDict']]] = None,
|
|
91
|
+
only_deployed: Optional[_builtins.bool] = None,
|
|
92
|
+
sorts: Optional[Sequence[Union['GetGenaiAgentsSortArgs', 'GetGenaiAgentsSortArgsDict']]] = None,
|
|
93
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGenaiAgentsResult:
|
|
94
|
+
"""
|
|
95
|
+
Use this data source to access information about an existing resource.
|
|
96
|
+
"""
|
|
97
|
+
__args__ = dict()
|
|
98
|
+
__args__['filters'] = filters
|
|
99
|
+
__args__['onlyDeployed'] = only_deployed
|
|
100
|
+
__args__['sorts'] = sorts
|
|
101
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
102
|
+
__ret__ = pulumi.runtime.invoke('digitalocean:index/getGenaiAgents:getGenaiAgents', __args__, opts=opts, typ=GetGenaiAgentsResult).value
|
|
103
|
+
|
|
104
|
+
return AwaitableGetGenaiAgentsResult(
|
|
105
|
+
agents=pulumi.get(__ret__, 'agents'),
|
|
106
|
+
filters=pulumi.get(__ret__, 'filters'),
|
|
107
|
+
id=pulumi.get(__ret__, 'id'),
|
|
108
|
+
only_deployed=pulumi.get(__ret__, 'only_deployed'),
|
|
109
|
+
sorts=pulumi.get(__ret__, 'sorts'))
|
|
110
|
+
def get_genai_agents_output(filters: Optional[pulumi.Input[Optional[Sequence[Union['GetGenaiAgentsFilterArgs', 'GetGenaiAgentsFilterArgsDict']]]]] = None,
|
|
111
|
+
only_deployed: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
112
|
+
sorts: Optional[pulumi.Input[Optional[Sequence[Union['GetGenaiAgentsSortArgs', 'GetGenaiAgentsSortArgsDict']]]]] = None,
|
|
113
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGenaiAgentsResult]:
|
|
114
|
+
"""
|
|
115
|
+
Use this data source to access information about an existing resource.
|
|
116
|
+
"""
|
|
117
|
+
__args__ = dict()
|
|
118
|
+
__args__['filters'] = filters
|
|
119
|
+
__args__['onlyDeployed'] = only_deployed
|
|
120
|
+
__args__['sorts'] = sorts
|
|
121
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
122
|
+
__ret__ = pulumi.runtime.invoke_output('digitalocean:index/getGenaiAgents:getGenaiAgents', __args__, opts=opts, typ=GetGenaiAgentsResult)
|
|
123
|
+
return __ret__.apply(lambda __response__: GetGenaiAgentsResult(
|
|
124
|
+
agents=pulumi.get(__response__, 'agents'),
|
|
125
|
+
filters=pulumi.get(__response__, 'filters'),
|
|
126
|
+
id=pulumi.get(__response__, 'id'),
|
|
127
|
+
only_deployed=pulumi.get(__response__, 'only_deployed'),
|
|
128
|
+
sorts=pulumi.get(__response__, 'sorts')))
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
'GetGenaiAgentsByOpenaiApiKeyResult',
|
|
20
|
+
'AwaitableGetGenaiAgentsByOpenaiApiKeyResult',
|
|
21
|
+
'get_genai_agents_by_openai_api_key',
|
|
22
|
+
'get_genai_agents_by_openai_api_key_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetGenaiAgentsByOpenaiApiKeyResult:
|
|
27
|
+
"""
|
|
28
|
+
A collection of values returned by getGenaiAgentsByOpenaiApiKey.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, agents=None, id=None, uuid=None):
|
|
31
|
+
if agents and not isinstance(agents, list):
|
|
32
|
+
raise TypeError("Expected argument 'agents' to be a list")
|
|
33
|
+
pulumi.set(__self__, "agents", agents)
|
|
34
|
+
if id and not isinstance(id, str):
|
|
35
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
36
|
+
pulumi.set(__self__, "id", id)
|
|
37
|
+
if uuid and not isinstance(uuid, str):
|
|
38
|
+
raise TypeError("Expected argument 'uuid' to be a str")
|
|
39
|
+
pulumi.set(__self__, "uuid", uuid)
|
|
40
|
+
|
|
41
|
+
@_builtins.property
|
|
42
|
+
@pulumi.getter
|
|
43
|
+
def agents(self) -> Sequence['outputs.GetGenaiAgentsByOpenaiApiKeyAgentResult']:
|
|
44
|
+
return pulumi.get(self, "agents")
|
|
45
|
+
|
|
46
|
+
@_builtins.property
|
|
47
|
+
@pulumi.getter
|
|
48
|
+
def id(self) -> _builtins.str:
|
|
49
|
+
"""
|
|
50
|
+
The provider-assigned unique ID for this managed resource.
|
|
51
|
+
"""
|
|
52
|
+
return pulumi.get(self, "id")
|
|
53
|
+
|
|
54
|
+
@_builtins.property
|
|
55
|
+
@pulumi.getter
|
|
56
|
+
def uuid(self) -> _builtins.str:
|
|
57
|
+
return pulumi.get(self, "uuid")
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
class AwaitableGetGenaiAgentsByOpenaiApiKeyResult(GetGenaiAgentsByOpenaiApiKeyResult):
|
|
61
|
+
# pylint: disable=using-constant-test
|
|
62
|
+
def __await__(self):
|
|
63
|
+
if False:
|
|
64
|
+
yield self
|
|
65
|
+
return GetGenaiAgentsByOpenaiApiKeyResult(
|
|
66
|
+
agents=self.agents,
|
|
67
|
+
id=self.id,
|
|
68
|
+
uuid=self.uuid)
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
def get_genai_agents_by_openai_api_key(uuid: Optional[_builtins.str] = None,
|
|
72
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGenaiAgentsByOpenaiApiKeyResult:
|
|
73
|
+
"""
|
|
74
|
+
Use this data source to access information about an existing resource.
|
|
75
|
+
"""
|
|
76
|
+
__args__ = dict()
|
|
77
|
+
__args__['uuid'] = uuid
|
|
78
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
79
|
+
__ret__ = pulumi.runtime.invoke('digitalocean:index/getGenaiAgentsByOpenaiApiKey:getGenaiAgentsByOpenaiApiKey', __args__, opts=opts, typ=GetGenaiAgentsByOpenaiApiKeyResult).value
|
|
80
|
+
|
|
81
|
+
return AwaitableGetGenaiAgentsByOpenaiApiKeyResult(
|
|
82
|
+
agents=pulumi.get(__ret__, 'agents'),
|
|
83
|
+
id=pulumi.get(__ret__, 'id'),
|
|
84
|
+
uuid=pulumi.get(__ret__, 'uuid'))
|
|
85
|
+
def get_genai_agents_by_openai_api_key_output(uuid: Optional[pulumi.Input[_builtins.str]] = None,
|
|
86
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGenaiAgentsByOpenaiApiKeyResult]:
|
|
87
|
+
"""
|
|
88
|
+
Use this data source to access information about an existing resource.
|
|
89
|
+
"""
|
|
90
|
+
__args__ = dict()
|
|
91
|
+
__args__['uuid'] = uuid
|
|
92
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
93
|
+
__ret__ = pulumi.runtime.invoke_output('digitalocean:index/getGenaiAgentsByOpenaiApiKey:getGenaiAgentsByOpenaiApiKey', __args__, opts=opts, typ=GetGenaiAgentsByOpenaiApiKeyResult)
|
|
94
|
+
return __ret__.apply(lambda __response__: GetGenaiAgentsByOpenaiApiKeyResult(
|
|
95
|
+
agents=pulumi.get(__response__, 'agents'),
|
|
96
|
+
id=pulumi.get(__response__, 'id'),
|
|
97
|
+
uuid=pulumi.get(__response__, 'uuid')))
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from . import _utilities
|
|
16
|
+
|
|
17
|
+
__all__ = [
|
|
18
|
+
'GetGenaiIndexingJobResult',
|
|
19
|
+
'AwaitableGetGenaiIndexingJobResult',
|
|
20
|
+
'get_genai_indexing_job',
|
|
21
|
+
'get_genai_indexing_job_output',
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
@pulumi.output_type
|
|
25
|
+
class GetGenaiIndexingJobResult:
|
|
26
|
+
"""
|
|
27
|
+
A collection of values returned by getGenaiIndexingJob.
|
|
28
|
+
"""
|
|
29
|
+
def __init__(__self__, completed_datasources=None, created_at=None, data_source_uuids=None, finished_at=None, id=None, knowledge_base_uuid=None, phase=None, started_at=None, status=None, tokens=None, total_datasources=None, total_items_failed=None, total_items_indexed=None, total_items_skipped=None, updated_at=None, uuid=None):
|
|
30
|
+
if completed_datasources and not isinstance(completed_datasources, int):
|
|
31
|
+
raise TypeError("Expected argument 'completed_datasources' to be a int")
|
|
32
|
+
pulumi.set(__self__, "completed_datasources", completed_datasources)
|
|
33
|
+
if created_at and not isinstance(created_at, str):
|
|
34
|
+
raise TypeError("Expected argument 'created_at' to be a str")
|
|
35
|
+
pulumi.set(__self__, "created_at", created_at)
|
|
36
|
+
if data_source_uuids and not isinstance(data_source_uuids, list):
|
|
37
|
+
raise TypeError("Expected argument 'data_source_uuids' to be a list")
|
|
38
|
+
pulumi.set(__self__, "data_source_uuids", data_source_uuids)
|
|
39
|
+
if finished_at and not isinstance(finished_at, str):
|
|
40
|
+
raise TypeError("Expected argument 'finished_at' to be a str")
|
|
41
|
+
pulumi.set(__self__, "finished_at", finished_at)
|
|
42
|
+
if id and not isinstance(id, str):
|
|
43
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
44
|
+
pulumi.set(__self__, "id", id)
|
|
45
|
+
if knowledge_base_uuid and not isinstance(knowledge_base_uuid, str):
|
|
46
|
+
raise TypeError("Expected argument 'knowledge_base_uuid' to be a str")
|
|
47
|
+
pulumi.set(__self__, "knowledge_base_uuid", knowledge_base_uuid)
|
|
48
|
+
if phase and not isinstance(phase, str):
|
|
49
|
+
raise TypeError("Expected argument 'phase' to be a str")
|
|
50
|
+
pulumi.set(__self__, "phase", phase)
|
|
51
|
+
if started_at and not isinstance(started_at, str):
|
|
52
|
+
raise TypeError("Expected argument 'started_at' to be a str")
|
|
53
|
+
pulumi.set(__self__, "started_at", started_at)
|
|
54
|
+
if status and not isinstance(status, str):
|
|
55
|
+
raise TypeError("Expected argument 'status' to be a str")
|
|
56
|
+
pulumi.set(__self__, "status", status)
|
|
57
|
+
if tokens and not isinstance(tokens, int):
|
|
58
|
+
raise TypeError("Expected argument 'tokens' to be a int")
|
|
59
|
+
pulumi.set(__self__, "tokens", tokens)
|
|
60
|
+
if total_datasources and not isinstance(total_datasources, int):
|
|
61
|
+
raise TypeError("Expected argument 'total_datasources' to be a int")
|
|
62
|
+
pulumi.set(__self__, "total_datasources", total_datasources)
|
|
63
|
+
if total_items_failed and not isinstance(total_items_failed, str):
|
|
64
|
+
raise TypeError("Expected argument 'total_items_failed' to be a str")
|
|
65
|
+
pulumi.set(__self__, "total_items_failed", total_items_failed)
|
|
66
|
+
if total_items_indexed and not isinstance(total_items_indexed, str):
|
|
67
|
+
raise TypeError("Expected argument 'total_items_indexed' to be a str")
|
|
68
|
+
pulumi.set(__self__, "total_items_indexed", total_items_indexed)
|
|
69
|
+
if total_items_skipped and not isinstance(total_items_skipped, str):
|
|
70
|
+
raise TypeError("Expected argument 'total_items_skipped' to be a str")
|
|
71
|
+
pulumi.set(__self__, "total_items_skipped", total_items_skipped)
|
|
72
|
+
if updated_at and not isinstance(updated_at, str):
|
|
73
|
+
raise TypeError("Expected argument 'updated_at' to be a str")
|
|
74
|
+
pulumi.set(__self__, "updated_at", updated_at)
|
|
75
|
+
if uuid and not isinstance(uuid, str):
|
|
76
|
+
raise TypeError("Expected argument 'uuid' to be a str")
|
|
77
|
+
pulumi.set(__self__, "uuid", uuid)
|
|
78
|
+
|
|
79
|
+
@_builtins.property
|
|
80
|
+
@pulumi.getter(name="completedDatasources")
|
|
81
|
+
def completed_datasources(self) -> _builtins.int:
|
|
82
|
+
return pulumi.get(self, "completed_datasources")
|
|
83
|
+
|
|
84
|
+
@_builtins.property
|
|
85
|
+
@pulumi.getter(name="createdAt")
|
|
86
|
+
def created_at(self) -> _builtins.str:
|
|
87
|
+
return pulumi.get(self, "created_at")
|
|
88
|
+
|
|
89
|
+
@_builtins.property
|
|
90
|
+
@pulumi.getter(name="dataSourceUuids")
|
|
91
|
+
def data_source_uuids(self) -> Sequence[_builtins.str]:
|
|
92
|
+
return pulumi.get(self, "data_source_uuids")
|
|
93
|
+
|
|
94
|
+
@_builtins.property
|
|
95
|
+
@pulumi.getter(name="finishedAt")
|
|
96
|
+
def finished_at(self) -> _builtins.str:
|
|
97
|
+
return pulumi.get(self, "finished_at")
|
|
98
|
+
|
|
99
|
+
@_builtins.property
|
|
100
|
+
@pulumi.getter
|
|
101
|
+
def id(self) -> _builtins.str:
|
|
102
|
+
"""
|
|
103
|
+
The provider-assigned unique ID for this managed resource.
|
|
104
|
+
"""
|
|
105
|
+
return pulumi.get(self, "id")
|
|
106
|
+
|
|
107
|
+
@_builtins.property
|
|
108
|
+
@pulumi.getter(name="knowledgeBaseUuid")
|
|
109
|
+
def knowledge_base_uuid(self) -> _builtins.str:
|
|
110
|
+
return pulumi.get(self, "knowledge_base_uuid")
|
|
111
|
+
|
|
112
|
+
@_builtins.property
|
|
113
|
+
@pulumi.getter
|
|
114
|
+
def phase(self) -> _builtins.str:
|
|
115
|
+
return pulumi.get(self, "phase")
|
|
116
|
+
|
|
117
|
+
@_builtins.property
|
|
118
|
+
@pulumi.getter(name="startedAt")
|
|
119
|
+
def started_at(self) -> _builtins.str:
|
|
120
|
+
return pulumi.get(self, "started_at")
|
|
121
|
+
|
|
122
|
+
@_builtins.property
|
|
123
|
+
@pulumi.getter
|
|
124
|
+
def status(self) -> _builtins.str:
|
|
125
|
+
return pulumi.get(self, "status")
|
|
126
|
+
|
|
127
|
+
@_builtins.property
|
|
128
|
+
@pulumi.getter
|
|
129
|
+
def tokens(self) -> _builtins.int:
|
|
130
|
+
return pulumi.get(self, "tokens")
|
|
131
|
+
|
|
132
|
+
@_builtins.property
|
|
133
|
+
@pulumi.getter(name="totalDatasources")
|
|
134
|
+
def total_datasources(self) -> _builtins.int:
|
|
135
|
+
return pulumi.get(self, "total_datasources")
|
|
136
|
+
|
|
137
|
+
@_builtins.property
|
|
138
|
+
@pulumi.getter(name="totalItemsFailed")
|
|
139
|
+
def total_items_failed(self) -> _builtins.str:
|
|
140
|
+
return pulumi.get(self, "total_items_failed")
|
|
141
|
+
|
|
142
|
+
@_builtins.property
|
|
143
|
+
@pulumi.getter(name="totalItemsIndexed")
|
|
144
|
+
def total_items_indexed(self) -> _builtins.str:
|
|
145
|
+
return pulumi.get(self, "total_items_indexed")
|
|
146
|
+
|
|
147
|
+
@_builtins.property
|
|
148
|
+
@pulumi.getter(name="totalItemsSkipped")
|
|
149
|
+
def total_items_skipped(self) -> _builtins.str:
|
|
150
|
+
return pulumi.get(self, "total_items_skipped")
|
|
151
|
+
|
|
152
|
+
@_builtins.property
|
|
153
|
+
@pulumi.getter(name="updatedAt")
|
|
154
|
+
def updated_at(self) -> _builtins.str:
|
|
155
|
+
return pulumi.get(self, "updated_at")
|
|
156
|
+
|
|
157
|
+
@_builtins.property
|
|
158
|
+
@pulumi.getter
|
|
159
|
+
def uuid(self) -> _builtins.str:
|
|
160
|
+
return pulumi.get(self, "uuid")
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
class AwaitableGetGenaiIndexingJobResult(GetGenaiIndexingJobResult):
|
|
164
|
+
# pylint: disable=using-constant-test
|
|
165
|
+
def __await__(self):
|
|
166
|
+
if False:
|
|
167
|
+
yield self
|
|
168
|
+
return GetGenaiIndexingJobResult(
|
|
169
|
+
completed_datasources=self.completed_datasources,
|
|
170
|
+
created_at=self.created_at,
|
|
171
|
+
data_source_uuids=self.data_source_uuids,
|
|
172
|
+
finished_at=self.finished_at,
|
|
173
|
+
id=self.id,
|
|
174
|
+
knowledge_base_uuid=self.knowledge_base_uuid,
|
|
175
|
+
phase=self.phase,
|
|
176
|
+
started_at=self.started_at,
|
|
177
|
+
status=self.status,
|
|
178
|
+
tokens=self.tokens,
|
|
179
|
+
total_datasources=self.total_datasources,
|
|
180
|
+
total_items_failed=self.total_items_failed,
|
|
181
|
+
total_items_indexed=self.total_items_indexed,
|
|
182
|
+
total_items_skipped=self.total_items_skipped,
|
|
183
|
+
updated_at=self.updated_at,
|
|
184
|
+
uuid=self.uuid)
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
def get_genai_indexing_job(uuid: Optional[_builtins.str] = None,
|
|
188
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGenaiIndexingJobResult:
|
|
189
|
+
"""
|
|
190
|
+
Use this data source to access information about an existing resource.
|
|
191
|
+
"""
|
|
192
|
+
__args__ = dict()
|
|
193
|
+
__args__['uuid'] = uuid
|
|
194
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
195
|
+
__ret__ = pulumi.runtime.invoke('digitalocean:index/getGenaiIndexingJob:getGenaiIndexingJob', __args__, opts=opts, typ=GetGenaiIndexingJobResult).value
|
|
196
|
+
|
|
197
|
+
return AwaitableGetGenaiIndexingJobResult(
|
|
198
|
+
completed_datasources=pulumi.get(__ret__, 'completed_datasources'),
|
|
199
|
+
created_at=pulumi.get(__ret__, 'created_at'),
|
|
200
|
+
data_source_uuids=pulumi.get(__ret__, 'data_source_uuids'),
|
|
201
|
+
finished_at=pulumi.get(__ret__, 'finished_at'),
|
|
202
|
+
id=pulumi.get(__ret__, 'id'),
|
|
203
|
+
knowledge_base_uuid=pulumi.get(__ret__, 'knowledge_base_uuid'),
|
|
204
|
+
phase=pulumi.get(__ret__, 'phase'),
|
|
205
|
+
started_at=pulumi.get(__ret__, 'started_at'),
|
|
206
|
+
status=pulumi.get(__ret__, 'status'),
|
|
207
|
+
tokens=pulumi.get(__ret__, 'tokens'),
|
|
208
|
+
total_datasources=pulumi.get(__ret__, 'total_datasources'),
|
|
209
|
+
total_items_failed=pulumi.get(__ret__, 'total_items_failed'),
|
|
210
|
+
total_items_indexed=pulumi.get(__ret__, 'total_items_indexed'),
|
|
211
|
+
total_items_skipped=pulumi.get(__ret__, 'total_items_skipped'),
|
|
212
|
+
updated_at=pulumi.get(__ret__, 'updated_at'),
|
|
213
|
+
uuid=pulumi.get(__ret__, 'uuid'))
|
|
214
|
+
def get_genai_indexing_job_output(uuid: Optional[pulumi.Input[_builtins.str]] = None,
|
|
215
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGenaiIndexingJobResult]:
|
|
216
|
+
"""
|
|
217
|
+
Use this data source to access information about an existing resource.
|
|
218
|
+
"""
|
|
219
|
+
__args__ = dict()
|
|
220
|
+
__args__['uuid'] = uuid
|
|
221
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
222
|
+
__ret__ = pulumi.runtime.invoke_output('digitalocean:index/getGenaiIndexingJob:getGenaiIndexingJob', __args__, opts=opts, typ=GetGenaiIndexingJobResult)
|
|
223
|
+
return __ret__.apply(lambda __response__: GetGenaiIndexingJobResult(
|
|
224
|
+
completed_datasources=pulumi.get(__response__, 'completed_datasources'),
|
|
225
|
+
created_at=pulumi.get(__response__, 'created_at'),
|
|
226
|
+
data_source_uuids=pulumi.get(__response__, 'data_source_uuids'),
|
|
227
|
+
finished_at=pulumi.get(__response__, 'finished_at'),
|
|
228
|
+
id=pulumi.get(__response__, 'id'),
|
|
229
|
+
knowledge_base_uuid=pulumi.get(__response__, 'knowledge_base_uuid'),
|
|
230
|
+
phase=pulumi.get(__response__, 'phase'),
|
|
231
|
+
started_at=pulumi.get(__response__, 'started_at'),
|
|
232
|
+
status=pulumi.get(__response__, 'status'),
|
|
233
|
+
tokens=pulumi.get(__response__, 'tokens'),
|
|
234
|
+
total_datasources=pulumi.get(__response__, 'total_datasources'),
|
|
235
|
+
total_items_failed=pulumi.get(__response__, 'total_items_failed'),
|
|
236
|
+
total_items_indexed=pulumi.get(__response__, 'total_items_indexed'),
|
|
237
|
+
total_items_skipped=pulumi.get(__response__, 'total_items_skipped'),
|
|
238
|
+
updated_at=pulumi.get(__response__, 'updated_at'),
|
|
239
|
+
uuid=pulumi.get(__response__, 'uuid')))
|