pulumi-oci 3.1.0a1751948424__py3-none-any.whl → 3.2.0a1752121229__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 +40 -0
- pulumi_oci/bigdataservice/__init__.py +10 -0
- pulumi_oci/bigdataservice/_inputs.py +378 -0
- pulumi_oci/bigdataservice/bds_instance_node_backup.py +481 -0
- pulumi_oci/bigdataservice/bds_instance_node_backup_configuration.py +611 -0
- pulumi_oci/bigdataservice/bds_instance_node_replace_configuration.py +538 -0
- pulumi_oci/bigdataservice/bds_instance_replace_node_action.py +406 -0
- pulumi_oci/bigdataservice/get_bds_instance_node_backup.py +245 -0
- pulumi_oci/bigdataservice/get_bds_instance_node_backup_configuration.py +263 -0
- pulumi_oci/bigdataservice/get_bds_instance_node_backup_configurations.py +192 -0
- pulumi_oci/bigdataservice/get_bds_instance_node_backups.py +211 -0
- pulumi_oci/bigdataservice/get_bds_instance_node_replace_configuration.py +246 -0
- pulumi_oci/bigdataservice/get_bds_instance_node_replace_configurations.py +192 -0
- pulumi_oci/bigdataservice/outputs.py +798 -0
- pulumi_oci/generativeai/__init__.py +3 -0
- pulumi_oci/generativeai/_inputs.py +1479 -132
- pulumi_oci/generativeai/agent_agent.py +66 -11
- pulumi_oci/generativeai/agent_agent_endpoint.py +296 -25
- pulumi_oci/generativeai/agent_data_source.py +70 -21
- pulumi_oci/generativeai/agent_tool.py +619 -0
- pulumi_oci/generativeai/get_agent_agent.py +17 -2
- pulumi_oci/generativeai/get_agent_agent_endpoint.py +72 -6
- pulumi_oci/generativeai/get_agent_agent_endpoints.py +0 -4
- pulumi_oci/generativeai/get_agent_data_source.py +15 -1
- pulumi_oci/generativeai/get_agent_tool.py +283 -0
- pulumi_oci/generativeai/get_agent_tools.py +214 -0
- pulumi_oci/generativeai/outputs.py +4001 -1259
- pulumi_oci/kms/vault_verification.py +62 -2
- pulumi_oci/ospgateway/_inputs.py +20 -0
- pulumi_oci/ospgateway/get_subscription.py +15 -1
- pulumi_oci/ospgateway/outputs.py +47 -0
- pulumi_oci/ospgateway/subscription.py +28 -0
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-3.1.0a1751948424.dist-info → pulumi_oci-3.2.0a1752121229.dist-info}/METADATA +1 -1
- {pulumi_oci-3.1.0a1751948424.dist-info → pulumi_oci-3.2.0a1752121229.dist-info}/RECORD +37 -24
- {pulumi_oci-3.1.0a1751948424.dist-info → pulumi_oci-3.2.0a1752121229.dist-info}/WHEEL +0 -0
- {pulumi_oci-3.1.0a1751948424.dist-info → pulumi_oci-3.2.0a1752121229.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,214 @@
|
|
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
|
6
|
+
import copy
|
7
|
+
import warnings
|
8
|
+
import sys
|
9
|
+
import pulumi
|
10
|
+
import pulumi.runtime
|
11
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
12
|
+
if sys.version_info >= (3, 11):
|
13
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
14
|
+
else:
|
15
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
16
|
+
from .. import _utilities
|
17
|
+
from . import outputs
|
18
|
+
from ._inputs import *
|
19
|
+
|
20
|
+
__all__ = [
|
21
|
+
'GetAgentToolsResult',
|
22
|
+
'AwaitableGetAgentToolsResult',
|
23
|
+
'get_agent_tools',
|
24
|
+
'get_agent_tools_output',
|
25
|
+
]
|
26
|
+
|
27
|
+
@pulumi.output_type
|
28
|
+
class GetAgentToolsResult:
|
29
|
+
"""
|
30
|
+
A collection of values returned by getAgentTools.
|
31
|
+
"""
|
32
|
+
def __init__(__self__, agent_id=None, compartment_id=None, display_name=None, filters=None, id=None, state=None, tool_collections=None):
|
33
|
+
if agent_id and not isinstance(agent_id, str):
|
34
|
+
raise TypeError("Expected argument 'agent_id' to be a str")
|
35
|
+
pulumi.set(__self__, "agent_id", agent_id)
|
36
|
+
if compartment_id and not isinstance(compartment_id, str):
|
37
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
38
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
39
|
+
if display_name and not isinstance(display_name, str):
|
40
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
41
|
+
pulumi.set(__self__, "display_name", display_name)
|
42
|
+
if filters and not isinstance(filters, list):
|
43
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
44
|
+
pulumi.set(__self__, "filters", filters)
|
45
|
+
if id and not isinstance(id, str):
|
46
|
+
raise TypeError("Expected argument 'id' to be a str")
|
47
|
+
pulumi.set(__self__, "id", id)
|
48
|
+
if state and not isinstance(state, str):
|
49
|
+
raise TypeError("Expected argument 'state' to be a str")
|
50
|
+
pulumi.set(__self__, "state", state)
|
51
|
+
if tool_collections and not isinstance(tool_collections, list):
|
52
|
+
raise TypeError("Expected argument 'tool_collections' to be a list")
|
53
|
+
pulumi.set(__self__, "tool_collections", tool_collections)
|
54
|
+
|
55
|
+
@property
|
56
|
+
@pulumi.getter(name="agentId")
|
57
|
+
def agent_id(self) -> Optional[builtins.str]:
|
58
|
+
"""
|
59
|
+
The OCID of the agent that this Tool is attached to.
|
60
|
+
"""
|
61
|
+
return pulumi.get(self, "agent_id")
|
62
|
+
|
63
|
+
@property
|
64
|
+
@pulumi.getter(name="compartmentId")
|
65
|
+
def compartment_id(self) -> Optional[builtins.str]:
|
66
|
+
"""
|
67
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
68
|
+
"""
|
69
|
+
return pulumi.get(self, "compartment_id")
|
70
|
+
|
71
|
+
@property
|
72
|
+
@pulumi.getter(name="displayName")
|
73
|
+
def display_name(self) -> Optional[builtins.str]:
|
74
|
+
"""
|
75
|
+
A user-friendly name. Does not have to be unique, and it's changeable.
|
76
|
+
"""
|
77
|
+
return pulumi.get(self, "display_name")
|
78
|
+
|
79
|
+
@property
|
80
|
+
@pulumi.getter
|
81
|
+
def filters(self) -> Optional[Sequence['outputs.GetAgentToolsFilterResult']]:
|
82
|
+
return pulumi.get(self, "filters")
|
83
|
+
|
84
|
+
@property
|
85
|
+
@pulumi.getter
|
86
|
+
def id(self) -> builtins.str:
|
87
|
+
"""
|
88
|
+
The provider-assigned unique ID for this managed resource.
|
89
|
+
"""
|
90
|
+
return pulumi.get(self, "id")
|
91
|
+
|
92
|
+
@property
|
93
|
+
@pulumi.getter
|
94
|
+
def state(self) -> Optional[builtins.str]:
|
95
|
+
"""
|
96
|
+
The current state of the Tool.
|
97
|
+
"""
|
98
|
+
return pulumi.get(self, "state")
|
99
|
+
|
100
|
+
@property
|
101
|
+
@pulumi.getter(name="toolCollections")
|
102
|
+
def tool_collections(self) -> Sequence['outputs.GetAgentToolsToolCollectionResult']:
|
103
|
+
"""
|
104
|
+
The list of tool_collection.
|
105
|
+
"""
|
106
|
+
return pulumi.get(self, "tool_collections")
|
107
|
+
|
108
|
+
|
109
|
+
class AwaitableGetAgentToolsResult(GetAgentToolsResult):
|
110
|
+
# pylint: disable=using-constant-test
|
111
|
+
def __await__(self):
|
112
|
+
if False:
|
113
|
+
yield self
|
114
|
+
return GetAgentToolsResult(
|
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
|
+
tool_collections=self.tool_collections)
|
122
|
+
|
123
|
+
|
124
|
+
def get_agent_tools(agent_id: Optional[builtins.str] = None,
|
125
|
+
compartment_id: Optional[builtins.str] = None,
|
126
|
+
display_name: Optional[builtins.str] = None,
|
127
|
+
filters: Optional[Sequence[Union['GetAgentToolsFilterArgs', 'GetAgentToolsFilterArgsDict']]] = None,
|
128
|
+
state: Optional[builtins.str] = None,
|
129
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAgentToolsResult:
|
130
|
+
"""
|
131
|
+
This data source provides the list of Tools in Oracle Cloud Infrastructure Generative Ai Agent service.
|
132
|
+
|
133
|
+
Gets a list of tools.
|
134
|
+
|
135
|
+
## Example Usage
|
136
|
+
|
137
|
+
```python
|
138
|
+
import pulumi
|
139
|
+
import pulumi_oci as oci
|
140
|
+
|
141
|
+
test_tools = oci.GenerativeAi.get_agent_tools(agent_id=test_agent["id"],
|
142
|
+
compartment_id=compartment_id,
|
143
|
+
display_name=tool_display_name,
|
144
|
+
state=tool_state)
|
145
|
+
```
|
146
|
+
|
147
|
+
|
148
|
+
:param builtins.str agent_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the agent.
|
149
|
+
:param builtins.str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
|
150
|
+
:param builtins.str display_name: A filter to return only resources that match the given display name exactly.
|
151
|
+
:param builtins.str state: A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
|
152
|
+
"""
|
153
|
+
__args__ = dict()
|
154
|
+
__args__['agentId'] = agent_id
|
155
|
+
__args__['compartmentId'] = compartment_id
|
156
|
+
__args__['displayName'] = display_name
|
157
|
+
__args__['filters'] = filters
|
158
|
+
__args__['state'] = state
|
159
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
160
|
+
__ret__ = pulumi.runtime.invoke('oci:GenerativeAi/getAgentTools:getAgentTools', __args__, opts=opts, typ=GetAgentToolsResult).value
|
161
|
+
|
162
|
+
return AwaitableGetAgentToolsResult(
|
163
|
+
agent_id=pulumi.get(__ret__, 'agent_id'),
|
164
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
165
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
166
|
+
filters=pulumi.get(__ret__, 'filters'),
|
167
|
+
id=pulumi.get(__ret__, 'id'),
|
168
|
+
state=pulumi.get(__ret__, 'state'),
|
169
|
+
tool_collections=pulumi.get(__ret__, 'tool_collections'))
|
170
|
+
def get_agent_tools_output(agent_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
171
|
+
compartment_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
172
|
+
display_name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
173
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetAgentToolsFilterArgs', 'GetAgentToolsFilterArgsDict']]]]] = None,
|
174
|
+
state: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
175
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAgentToolsResult]:
|
176
|
+
"""
|
177
|
+
This data source provides the list of Tools in Oracle Cloud Infrastructure Generative Ai Agent service.
|
178
|
+
|
179
|
+
Gets a list of tools.
|
180
|
+
|
181
|
+
## Example Usage
|
182
|
+
|
183
|
+
```python
|
184
|
+
import pulumi
|
185
|
+
import pulumi_oci as oci
|
186
|
+
|
187
|
+
test_tools = oci.GenerativeAi.get_agent_tools(agent_id=test_agent["id"],
|
188
|
+
compartment_id=compartment_id,
|
189
|
+
display_name=tool_display_name,
|
190
|
+
state=tool_state)
|
191
|
+
```
|
192
|
+
|
193
|
+
|
194
|
+
:param builtins.str agent_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the agent.
|
195
|
+
:param builtins.str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
|
196
|
+
:param builtins.str display_name: A filter to return only resources that match the given display name exactly.
|
197
|
+
:param builtins.str state: A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
|
198
|
+
"""
|
199
|
+
__args__ = dict()
|
200
|
+
__args__['agentId'] = agent_id
|
201
|
+
__args__['compartmentId'] = compartment_id
|
202
|
+
__args__['displayName'] = display_name
|
203
|
+
__args__['filters'] = filters
|
204
|
+
__args__['state'] = state
|
205
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
206
|
+
__ret__ = pulumi.runtime.invoke_output('oci:GenerativeAi/getAgentTools:getAgentTools', __args__, opts=opts, typ=GetAgentToolsResult)
|
207
|
+
return __ret__.apply(lambda __response__: GetAgentToolsResult(
|
208
|
+
agent_id=pulumi.get(__response__, 'agent_id'),
|
209
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
210
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
211
|
+
filters=pulumi.get(__response__, 'filters'),
|
212
|
+
id=pulumi.get(__response__, 'id'),
|
213
|
+
state=pulumi.get(__response__, 'state'),
|
214
|
+
tool_collections=pulumi.get(__response__, 'tool_collections')))
|