pulumi-oci 2.16.0a1731393786__py3-none-any.whl → 2.17.0__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_oci/__init__.py +59 -0
- pulumi_oci/core/_inputs.py +3 -3
- pulumi_oci/core/compute_capacity_reservation.py +7 -7
- pulumi_oci/core/get_boot_volume.py +1 -1
- pulumi_oci/core/get_volume.py +1 -1
- pulumi_oci/core/instance_pool.py +7 -7
- pulumi_oci/core/outputs.py +46 -46
- pulumi_oci/database/autonomous_database.py +47 -0
- pulumi_oci/database/cloud_autonomous_vm_cluster.py +105 -0
- pulumi_oci/database/cloud_vm_cluster.py +49 -0
- pulumi_oci/database/data_guard_association.py +49 -0
- pulumi_oci/database/db_system.py +47 -0
- pulumi_oci/database/exadb_vm_cluster.py +68 -7
- pulumi_oci/database/get_autonomous_database.py +15 -1
- pulumi_oci/database/get_cloud_autonomous_vm_cluster.py +43 -1
- pulumi_oci/database/get_cloud_vm_cluster.py +15 -1
- pulumi_oci/database/get_data_guard_association.py +12 -1
- pulumi_oci/database/get_exadb_vm_cluster.py +16 -2
- pulumi_oci/database/outputs.py +97 -2
- pulumi_oci/dataflow/get_sql_endpoint.py +1 -15
- pulumi_oci/dataflow/outputs.py +0 -11
- pulumi_oci/dataflow/sql_endpoint.py +88 -85
- pulumi_oci/generativeai/__init__.py +16 -0
- pulumi_oci/generativeai/_inputs.py +1090 -0
- pulumi_oci/generativeai/agent_agent.py +665 -0
- pulumi_oci/generativeai/agent_agent_endpoint.py +888 -0
- pulumi_oci/generativeai/agent_data_ingestion_job.py +647 -0
- pulumi_oci/generativeai/agent_data_source.py +697 -0
- pulumi_oci/generativeai/agent_knowledge_base.py +659 -0
- pulumi_oci/generativeai/get_agent_agent.py +285 -0
- pulumi_oci/generativeai/get_agent_agent_endpoint.py +342 -0
- pulumi_oci/generativeai/get_agent_agent_endpoints.py +217 -0
- pulumi_oci/generativeai/get_agent_agents.py +195 -0
- pulumi_oci/generativeai/get_agent_data_ingestion_job.py +286 -0
- pulumi_oci/generativeai/get_agent_data_ingestion_job_log_content.py +117 -0
- pulumi_oci/generativeai/get_agent_data_ingestion_jobs.py +217 -0
- pulumi_oci/generativeai/get_agent_data_source.py +286 -0
- pulumi_oci/generativeai/get_agent_data_sources.py +217 -0
- pulumi_oci/generativeai/get_agent_knowledge_base.py +272 -0
- pulumi_oci/generativeai/get_agent_knowledge_bases.py +195 -0
- pulumi_oci/generativeai/outputs.py +2840 -268
- pulumi_oci/globallydistributeddatabase/__init__.py +15 -0
- pulumi_oci/globallydistributeddatabase/_inputs.py +1289 -0
- pulumi_oci/globallydistributeddatabase/get_private_endpoint.py +348 -0
- pulumi_oci/globallydistributeddatabase/get_private_endpoints.py +191 -0
- pulumi_oci/globallydistributeddatabase/get_sharded_database.py +746 -0
- pulumi_oci/globallydistributeddatabase/get_sharded_databases.py +191 -0
- pulumi_oci/globallydistributeddatabase/outputs.py +2114 -0
- pulumi_oci/globallydistributeddatabase/private_endpoint.py +822 -0
- pulumi_oci/globallydistributeddatabase/sharded_database.py +2157 -0
- pulumi_oci/goldengate/connection.py +1065 -78
- pulumi_oci/goldengate/deployment.py +7 -7
- pulumi_oci/goldengate/deployment_backup.py +49 -0
- pulumi_oci/goldengate/get_connection.py +288 -7
- pulumi_oci/goldengate/get_deployment.py +1 -1
- pulumi_oci/goldengate/get_deployment_backup.py +15 -1
- pulumi_oci/goldengate/outputs.py +240 -3
- pulumi_oci/identity/__init__.py +2 -0
- pulumi_oci/identity/_inputs.py +55 -6
- pulumi_oci/identity/domains_condition.py +9 -2
- pulumi_oci/identity/domains_policy.py +9 -2
- pulumi_oci/identity/domains_rule.py +9 -2
- pulumi_oci/identity/get_domains_condition.py +2 -2
- pulumi_oci/identity/get_domains_conditions.py +2 -2
- pulumi_oci/identity/get_domains_oci_console_sign_on_policy_consent.py +503 -0
- pulumi_oci/identity/get_domains_oci_console_sign_on_policy_consents.py +338 -0
- pulumi_oci/identity/get_domains_policies.py +2 -2
- pulumi_oci/identity/get_domains_policy.py +2 -2
- pulumi_oci/identity/get_domains_rule.py +2 -2
- pulumi_oci/identity/get_domains_rules.py +2 -2
- pulumi_oci/identity/outputs.py +917 -4
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-2.16.0a1731393786.dist-info → pulumi_oci-2.17.0.dist-info}/METADATA +1 -1
- {pulumi_oci-2.16.0a1731393786.dist-info → pulumi_oci-2.17.0.dist-info}/RECORD +76 -49
- {pulumi_oci-2.16.0a1731393786.dist-info → pulumi_oci-2.17.0.dist-info}/WHEEL +1 -1
- {pulumi_oci-2.16.0a1731393786.dist-info → pulumi_oci-2.17.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,217 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
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
|
+
'GetAgentAgentEndpointsResult',
|
21
|
+
'AwaitableGetAgentAgentEndpointsResult',
|
22
|
+
'get_agent_agent_endpoints',
|
23
|
+
'get_agent_agent_endpoints_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetAgentAgentEndpointsResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getAgentAgentEndpoints.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, agent_endpoint_collections=None, agent_id=None, compartment_id=None, display_name=None, filters=None, id=None, state=None):
|
32
|
+
if agent_endpoint_collections and not isinstance(agent_endpoint_collections, list):
|
33
|
+
raise TypeError("Expected argument 'agent_endpoint_collections' to be a list")
|
34
|
+
pulumi.set(__self__, "agent_endpoint_collections", agent_endpoint_collections)
|
35
|
+
if agent_id and not isinstance(agent_id, str):
|
36
|
+
raise TypeError("Expected argument 'agent_id' to be a str")
|
37
|
+
pulumi.set(__self__, "agent_id", agent_id)
|
38
|
+
if compartment_id and not isinstance(compartment_id, str):
|
39
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
40
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
41
|
+
if display_name and not isinstance(display_name, str):
|
42
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
43
|
+
pulumi.set(__self__, "display_name", display_name)
|
44
|
+
if filters and not isinstance(filters, list):
|
45
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
46
|
+
pulumi.set(__self__, "filters", filters)
|
47
|
+
if id and not isinstance(id, str):
|
48
|
+
raise TypeError("Expected argument 'id' to be a str")
|
49
|
+
pulumi.set(__self__, "id", id)
|
50
|
+
if state and not isinstance(state, str):
|
51
|
+
raise TypeError("Expected argument 'state' to be a str")
|
52
|
+
pulumi.set(__self__, "state", state)
|
53
|
+
|
54
|
+
@property
|
55
|
+
@pulumi.getter(name="agentEndpointCollections")
|
56
|
+
def agent_endpoint_collections(self) -> Sequence['outputs.GetAgentAgentEndpointsAgentEndpointCollectionResult']:
|
57
|
+
"""
|
58
|
+
The list of agent_endpoint_collection.
|
59
|
+
"""
|
60
|
+
return pulumi.get(self, "agent_endpoint_collections")
|
61
|
+
|
62
|
+
@property
|
63
|
+
@pulumi.getter(name="agentId")
|
64
|
+
def agent_id(self) -> Optional[str]:
|
65
|
+
"""
|
66
|
+
The OCID of the agent that this endpoint is associated with.
|
67
|
+
"""
|
68
|
+
return pulumi.get(self, "agent_id")
|
69
|
+
|
70
|
+
@property
|
71
|
+
@pulumi.getter(name="compartmentId")
|
72
|
+
def compartment_id(self) -> Optional[str]:
|
73
|
+
"""
|
74
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
75
|
+
"""
|
76
|
+
return pulumi.get(self, "compartment_id")
|
77
|
+
|
78
|
+
@property
|
79
|
+
@pulumi.getter(name="displayName")
|
80
|
+
def display_name(self) -> Optional[str]:
|
81
|
+
"""
|
82
|
+
A user-friendly name. Does not have to be unique, and it's changeable.
|
83
|
+
"""
|
84
|
+
return pulumi.get(self, "display_name")
|
85
|
+
|
86
|
+
@property
|
87
|
+
@pulumi.getter
|
88
|
+
def filters(self) -> Optional[Sequence['outputs.GetAgentAgentEndpointsFilterResult']]:
|
89
|
+
return pulumi.get(self, "filters")
|
90
|
+
|
91
|
+
@property
|
92
|
+
@pulumi.getter
|
93
|
+
def id(self) -> str:
|
94
|
+
"""
|
95
|
+
The provider-assigned unique ID for this managed resource.
|
96
|
+
"""
|
97
|
+
return pulumi.get(self, "id")
|
98
|
+
|
99
|
+
@property
|
100
|
+
@pulumi.getter
|
101
|
+
def state(self) -> Optional[str]:
|
102
|
+
"""
|
103
|
+
The current state of the endpoint.
|
104
|
+
"""
|
105
|
+
return pulumi.get(self, "state")
|
106
|
+
|
107
|
+
|
108
|
+
class AwaitableGetAgentAgentEndpointsResult(GetAgentAgentEndpointsResult):
|
109
|
+
# pylint: disable=using-constant-test
|
110
|
+
def __await__(self):
|
111
|
+
if False:
|
112
|
+
yield self
|
113
|
+
return GetAgentAgentEndpointsResult(
|
114
|
+
agent_endpoint_collections=self.agent_endpoint_collections,
|
115
|
+
agent_id=self.agent_id,
|
116
|
+
compartment_id=self.compartment_id,
|
117
|
+
display_name=self.display_name,
|
118
|
+
filters=self.filters,
|
119
|
+
id=self.id,
|
120
|
+
state=self.state)
|
121
|
+
|
122
|
+
|
123
|
+
def get_agent_agent_endpoints(agent_id: Optional[str] = None,
|
124
|
+
compartment_id: Optional[str] = None,
|
125
|
+
display_name: Optional[str] = None,
|
126
|
+
filters: Optional[Sequence[Union['GetAgentAgentEndpointsFilterArgs', 'GetAgentAgentEndpointsFilterArgsDict']]] = None,
|
127
|
+
state: Optional[str] = None,
|
128
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAgentAgentEndpointsResult:
|
129
|
+
"""
|
130
|
+
This data source provides the list of Agent Endpoints in Oracle Cloud Infrastructure Generative Ai Agent service.
|
131
|
+
|
132
|
+
**ListAgentEndpoints**
|
133
|
+
|
134
|
+
Gets a list of endpoints.
|
135
|
+
|
136
|
+
## Example Usage
|
137
|
+
|
138
|
+
```python
|
139
|
+
import pulumi
|
140
|
+
import pulumi_oci as oci
|
141
|
+
|
142
|
+
test_agent_endpoints = oci.GenerativeAi.get_agent_agent_endpoints(agent_id=test_agent["id"],
|
143
|
+
compartment_id=compartment_id,
|
144
|
+
display_name=agent_endpoint_display_name,
|
145
|
+
state=agent_endpoint_state)
|
146
|
+
```
|
147
|
+
|
148
|
+
|
149
|
+
:param str agent_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the agent.
|
150
|
+
:param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
|
151
|
+
:param str display_name: A filter to return only resources that match the given display name exactly.
|
152
|
+
:param str state: A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
|
153
|
+
"""
|
154
|
+
__args__ = dict()
|
155
|
+
__args__['agentId'] = agent_id
|
156
|
+
__args__['compartmentId'] = compartment_id
|
157
|
+
__args__['displayName'] = display_name
|
158
|
+
__args__['filters'] = filters
|
159
|
+
__args__['state'] = state
|
160
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
161
|
+
__ret__ = pulumi.runtime.invoke('oci:GenerativeAi/getAgentAgentEndpoints:getAgentAgentEndpoints', __args__, opts=opts, typ=GetAgentAgentEndpointsResult).value
|
162
|
+
|
163
|
+
return AwaitableGetAgentAgentEndpointsResult(
|
164
|
+
agent_endpoint_collections=pulumi.get(__ret__, 'agent_endpoint_collections'),
|
165
|
+
agent_id=pulumi.get(__ret__, 'agent_id'),
|
166
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
167
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
168
|
+
filters=pulumi.get(__ret__, 'filters'),
|
169
|
+
id=pulumi.get(__ret__, 'id'),
|
170
|
+
state=pulumi.get(__ret__, 'state'))
|
171
|
+
def get_agent_agent_endpoints_output(agent_id: Optional[pulumi.Input[Optional[str]]] = None,
|
172
|
+
compartment_id: Optional[pulumi.Input[Optional[str]]] = None,
|
173
|
+
display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
174
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetAgentAgentEndpointsFilterArgs', 'GetAgentAgentEndpointsFilterArgsDict']]]]] = None,
|
175
|
+
state: Optional[pulumi.Input[Optional[str]]] = None,
|
176
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAgentAgentEndpointsResult]:
|
177
|
+
"""
|
178
|
+
This data source provides the list of Agent Endpoints in Oracle Cloud Infrastructure Generative Ai Agent service.
|
179
|
+
|
180
|
+
**ListAgentEndpoints**
|
181
|
+
|
182
|
+
Gets a list of endpoints.
|
183
|
+
|
184
|
+
## Example Usage
|
185
|
+
|
186
|
+
```python
|
187
|
+
import pulumi
|
188
|
+
import pulumi_oci as oci
|
189
|
+
|
190
|
+
test_agent_endpoints = oci.GenerativeAi.get_agent_agent_endpoints(agent_id=test_agent["id"],
|
191
|
+
compartment_id=compartment_id,
|
192
|
+
display_name=agent_endpoint_display_name,
|
193
|
+
state=agent_endpoint_state)
|
194
|
+
```
|
195
|
+
|
196
|
+
|
197
|
+
:param str agent_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the agent.
|
198
|
+
:param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
|
199
|
+
:param str display_name: A filter to return only resources that match the given display name exactly.
|
200
|
+
:param str state: A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
|
201
|
+
"""
|
202
|
+
__args__ = dict()
|
203
|
+
__args__['agentId'] = agent_id
|
204
|
+
__args__['compartmentId'] = compartment_id
|
205
|
+
__args__['displayName'] = display_name
|
206
|
+
__args__['filters'] = filters
|
207
|
+
__args__['state'] = state
|
208
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
209
|
+
__ret__ = pulumi.runtime.invoke_output('oci:GenerativeAi/getAgentAgentEndpoints:getAgentAgentEndpoints', __args__, opts=opts, typ=GetAgentAgentEndpointsResult)
|
210
|
+
return __ret__.apply(lambda __response__: GetAgentAgentEndpointsResult(
|
211
|
+
agent_endpoint_collections=pulumi.get(__response__, 'agent_endpoint_collections'),
|
212
|
+
agent_id=pulumi.get(__response__, 'agent_id'),
|
213
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
214
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
215
|
+
filters=pulumi.get(__response__, 'filters'),
|
216
|
+
id=pulumi.get(__response__, 'id'),
|
217
|
+
state=pulumi.get(__response__, 'state')))
|
@@ -0,0 +1,195 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
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
|
+
'GetAgentAgentsResult',
|
21
|
+
'AwaitableGetAgentAgentsResult',
|
22
|
+
'get_agent_agents',
|
23
|
+
'get_agent_agents_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetAgentAgentsResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getAgentAgents.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, agent_collections=None, compartment_id=None, display_name=None, filters=None, id=None, state=None):
|
32
|
+
if agent_collections and not isinstance(agent_collections, list):
|
33
|
+
raise TypeError("Expected argument 'agent_collections' to be a list")
|
34
|
+
pulumi.set(__self__, "agent_collections", agent_collections)
|
35
|
+
if compartment_id and not isinstance(compartment_id, str):
|
36
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
37
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
38
|
+
if display_name and not isinstance(display_name, str):
|
39
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
40
|
+
pulumi.set(__self__, "display_name", display_name)
|
41
|
+
if filters and not isinstance(filters, list):
|
42
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
43
|
+
pulumi.set(__self__, "filters", filters)
|
44
|
+
if id and not isinstance(id, str):
|
45
|
+
raise TypeError("Expected argument 'id' to be a str")
|
46
|
+
pulumi.set(__self__, "id", id)
|
47
|
+
if state and not isinstance(state, str):
|
48
|
+
raise TypeError("Expected argument 'state' to be a str")
|
49
|
+
pulumi.set(__self__, "state", state)
|
50
|
+
|
51
|
+
@property
|
52
|
+
@pulumi.getter(name="agentCollections")
|
53
|
+
def agent_collections(self) -> Sequence['outputs.GetAgentAgentsAgentCollectionResult']:
|
54
|
+
"""
|
55
|
+
The list of agent_collection.
|
56
|
+
"""
|
57
|
+
return pulumi.get(self, "agent_collections")
|
58
|
+
|
59
|
+
@property
|
60
|
+
@pulumi.getter(name="compartmentId")
|
61
|
+
def compartment_id(self) -> Optional[str]:
|
62
|
+
"""
|
63
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
64
|
+
"""
|
65
|
+
return pulumi.get(self, "compartment_id")
|
66
|
+
|
67
|
+
@property
|
68
|
+
@pulumi.getter(name="displayName")
|
69
|
+
def display_name(self) -> Optional[str]:
|
70
|
+
"""
|
71
|
+
A user-friendly name. Does not have to be unique, and it's changeable.
|
72
|
+
"""
|
73
|
+
return pulumi.get(self, "display_name")
|
74
|
+
|
75
|
+
@property
|
76
|
+
@pulumi.getter
|
77
|
+
def filters(self) -> Optional[Sequence['outputs.GetAgentAgentsFilterResult']]:
|
78
|
+
return pulumi.get(self, "filters")
|
79
|
+
|
80
|
+
@property
|
81
|
+
@pulumi.getter
|
82
|
+
def id(self) -> str:
|
83
|
+
"""
|
84
|
+
The provider-assigned unique ID for this managed resource.
|
85
|
+
"""
|
86
|
+
return pulumi.get(self, "id")
|
87
|
+
|
88
|
+
@property
|
89
|
+
@pulumi.getter
|
90
|
+
def state(self) -> Optional[str]:
|
91
|
+
"""
|
92
|
+
The current state of the agent.
|
93
|
+
"""
|
94
|
+
return pulumi.get(self, "state")
|
95
|
+
|
96
|
+
|
97
|
+
class AwaitableGetAgentAgentsResult(GetAgentAgentsResult):
|
98
|
+
# pylint: disable=using-constant-test
|
99
|
+
def __await__(self):
|
100
|
+
if False:
|
101
|
+
yield self
|
102
|
+
return GetAgentAgentsResult(
|
103
|
+
agent_collections=self.agent_collections,
|
104
|
+
compartment_id=self.compartment_id,
|
105
|
+
display_name=self.display_name,
|
106
|
+
filters=self.filters,
|
107
|
+
id=self.id,
|
108
|
+
state=self.state)
|
109
|
+
|
110
|
+
|
111
|
+
def get_agent_agents(compartment_id: Optional[str] = None,
|
112
|
+
display_name: Optional[str] = None,
|
113
|
+
filters: Optional[Sequence[Union['GetAgentAgentsFilterArgs', 'GetAgentAgentsFilterArgsDict']]] = None,
|
114
|
+
state: Optional[str] = None,
|
115
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAgentAgentsResult:
|
116
|
+
"""
|
117
|
+
This data source provides the list of Agents in Oracle Cloud Infrastructure Generative Ai Agent service.
|
118
|
+
|
119
|
+
**ListAgents**
|
120
|
+
|
121
|
+
Gets a list of agents.
|
122
|
+
|
123
|
+
## Example Usage
|
124
|
+
|
125
|
+
```python
|
126
|
+
import pulumi
|
127
|
+
import pulumi_oci as oci
|
128
|
+
|
129
|
+
test_agents = oci.GenerativeAi.get_agent_agents(compartment_id=compartment_id,
|
130
|
+
display_name=agent_display_name,
|
131
|
+
state=agent_state)
|
132
|
+
```
|
133
|
+
|
134
|
+
|
135
|
+
:param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
|
136
|
+
:param str display_name: A filter to return only resources that match the given display name exactly.
|
137
|
+
:param str state: A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
|
138
|
+
"""
|
139
|
+
__args__ = dict()
|
140
|
+
__args__['compartmentId'] = compartment_id
|
141
|
+
__args__['displayName'] = display_name
|
142
|
+
__args__['filters'] = filters
|
143
|
+
__args__['state'] = state
|
144
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
145
|
+
__ret__ = pulumi.runtime.invoke('oci:GenerativeAi/getAgentAgents:getAgentAgents', __args__, opts=opts, typ=GetAgentAgentsResult).value
|
146
|
+
|
147
|
+
return AwaitableGetAgentAgentsResult(
|
148
|
+
agent_collections=pulumi.get(__ret__, 'agent_collections'),
|
149
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
150
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
151
|
+
filters=pulumi.get(__ret__, 'filters'),
|
152
|
+
id=pulumi.get(__ret__, 'id'),
|
153
|
+
state=pulumi.get(__ret__, 'state'))
|
154
|
+
def get_agent_agents_output(compartment_id: Optional[pulumi.Input[Optional[str]]] = None,
|
155
|
+
display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
156
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetAgentAgentsFilterArgs', 'GetAgentAgentsFilterArgsDict']]]]] = None,
|
157
|
+
state: Optional[pulumi.Input[Optional[str]]] = None,
|
158
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAgentAgentsResult]:
|
159
|
+
"""
|
160
|
+
This data source provides the list of Agents in Oracle Cloud Infrastructure Generative Ai Agent service.
|
161
|
+
|
162
|
+
**ListAgents**
|
163
|
+
|
164
|
+
Gets a list of agents.
|
165
|
+
|
166
|
+
## Example Usage
|
167
|
+
|
168
|
+
```python
|
169
|
+
import pulumi
|
170
|
+
import pulumi_oci as oci
|
171
|
+
|
172
|
+
test_agents = oci.GenerativeAi.get_agent_agents(compartment_id=compartment_id,
|
173
|
+
display_name=agent_display_name,
|
174
|
+
state=agent_state)
|
175
|
+
```
|
176
|
+
|
177
|
+
|
178
|
+
:param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
|
179
|
+
:param str display_name: A filter to return only resources that match the given display name exactly.
|
180
|
+
:param str state: A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
|
181
|
+
"""
|
182
|
+
__args__ = dict()
|
183
|
+
__args__['compartmentId'] = compartment_id
|
184
|
+
__args__['displayName'] = display_name
|
185
|
+
__args__['filters'] = filters
|
186
|
+
__args__['state'] = state
|
187
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
188
|
+
__ret__ = pulumi.runtime.invoke_output('oci:GenerativeAi/getAgentAgents:getAgentAgents', __args__, opts=opts, typ=GetAgentAgentsResult)
|
189
|
+
return __ret__.apply(lambda __response__: GetAgentAgentsResult(
|
190
|
+
agent_collections=pulumi.get(__response__, 'agent_collections'),
|
191
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
192
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
193
|
+
filters=pulumi.get(__response__, 'filters'),
|
194
|
+
id=pulumi.get(__response__, 'id'),
|
195
|
+
state=pulumi.get(__response__, 'state')))
|