pulumi-oci 3.6.0a1756509375__py3-none-any.whl → 3.7.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 +48 -0
- pulumi_oci/aivision/__init__.py +12 -0
- pulumi_oci/aivision/_inputs.py +787 -51
- pulumi_oci/aivision/get_model.py +4 -4
- pulumi_oci/aivision/get_models.py +11 -11
- pulumi_oci/aivision/get_project.py +15 -15
- pulumi_oci/aivision/get_projects.py +10 -10
- pulumi_oci/aivision/get_stream_group.py +268 -0
- pulumi_oci/aivision/get_stream_groups.py +177 -0
- pulumi_oci/aivision/get_stream_job.py +296 -0
- pulumi_oci/aivision/get_stream_jobs.py +199 -0
- pulumi_oci/aivision/get_stream_source.py +240 -0
- pulumi_oci/aivision/get_stream_sources.py +199 -0
- pulumi_oci/aivision/get_vision_private_endpoint.py +267 -0
- pulumi_oci/aivision/get_vision_private_endpoints.py +199 -0
- pulumi_oci/aivision/model.py +149 -157
- pulumi_oci/aivision/outputs.py +1920 -116
- pulumi_oci/aivision/project.py +61 -69
- pulumi_oci/aivision/stream_group.py +632 -0
- pulumi_oci/aivision/stream_job.py +744 -0
- pulumi_oci/aivision/stream_source.py +519 -0
- pulumi_oci/aivision/vision_private_endpoint.py +606 -0
- pulumi_oci/cloudguard/_inputs.py +1198 -72
- pulumi_oci/cloudguard/get_managed_list.py +15 -1
- pulumi_oci/cloudguard/managed_list.py +47 -0
- pulumi_oci/cloudguard/outputs.py +2104 -67
- pulumi_oci/database/_inputs.py +41 -1
- pulumi_oci/database/exascale_db_storage_vault.py +98 -0
- pulumi_oci/database/get_db_system_storage_performances.py +26 -2
- pulumi_oci/database/get_exascale_db_storage_vault.py +29 -1
- pulumi_oci/database/outputs.py +121 -5
- pulumi_oci/email/_inputs.py +342 -0
- pulumi_oci/email/email_domain.py +26 -4
- pulumi_oci/email/email_return_path.py +34 -4
- pulumi_oci/email/get_email_domain.py +17 -2
- pulumi_oci/email/get_email_domains.py +1 -1
- pulumi_oci/email/get_email_return_path.py +17 -2
- pulumi_oci/email/get_email_return_paths.py +1 -1
- pulumi_oci/email/get_sender.py +17 -2
- pulumi_oci/email/get_senders.py +1 -1
- pulumi_oci/email/outputs.py +678 -0
- pulumi_oci/email/sender.py +30 -0
- pulumi_oci/filestorage/_inputs.py +3 -3
- pulumi_oci/filestorage/mount_target.py +63 -7
- pulumi_oci/filestorage/outputs.py +15 -4
- pulumi_oci/mysql/_inputs.py +221 -0
- pulumi_oci/mysql/get_mysql_backup.py +40 -4
- pulumi_oci/mysql/get_mysql_backups.py +2 -2
- pulumi_oci/mysql/mysql_backup.py +119 -3
- pulumi_oci/mysql/outputs.py +343 -957
- pulumi_oci/oci/__init__.py +8 -0
- pulumi_oci/oci/_inputs.py +256 -15
- pulumi_oci/oci/dbmulticloud_multi_cloud_resource_discovery.py +103 -54
- pulumi_oci/oci/dbmulticloud_oracle_db_azure_blob_container.py +45 -45
- pulumi_oci/oci/dbmulticloud_oracle_db_azure_blob_mount.py +42 -44
- pulumi_oci/oci/dbmulticloud_oracle_db_azure_connector.py +100 -72
- pulumi_oci/oci/dbmulticloud_oracle_db_azure_vault.py +74 -74
- pulumi_oci/oci/dbmulticloud_oracle_db_azure_vault_association.py +50 -50
- pulumi_oci/oci/dbmulticloud_oracle_db_gcp_identity_connector.py +924 -0
- pulumi_oci/oci/dbmulticloud_oracle_db_gcp_key_ring.py +762 -0
- pulumi_oci/oci/get_dbmulticloud_multi_cloud_resource_discoveries.py +37 -15
- pulumi_oci/oci/get_dbmulticloud_multi_cloud_resource_discovery.py +26 -12
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_blob_container.py +12 -12
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_blob_containers.py +15 -15
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_blob_mount.py +12 -12
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_blob_mounts.py +15 -15
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_connector.py +30 -16
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_connectors.py +11 -11
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_key.py +41 -13
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_keys.py +12 -12
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_vault.py +17 -17
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_vault_association.py +14 -14
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_vault_associations.py +15 -15
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_vaults.py +14 -14
- pulumi_oci/oci/get_dbmulticloud_oracle_db_gcp_identity_connector.py +366 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_gcp_identity_connectors.py +213 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_gcp_key.py +295 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_gcp_key_ring.py +309 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_gcp_key_rings.py +229 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_gcp_keys.py +232 -0
- pulumi_oci/oci/outputs.py +1042 -142
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-3.6.0a1756509375.dist-info → pulumi_oci-3.7.0.dist-info}/METADATA +1 -1
- {pulumi_oci-3.6.0a1756509375.dist-info → pulumi_oci-3.7.0.dist-info}/RECORD +86 -66
- {pulumi_oci-3.6.0a1756509375.dist-info → pulumi_oci-3.7.0.dist-info}/WHEEL +0 -0
- {pulumi_oci-3.6.0a1756509375.dist-info → pulumi_oci-3.7.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,240 @@
|
|
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
|
+
'GetStreamSourceResult',
|
20
|
+
'AwaitableGetStreamSourceResult',
|
21
|
+
'get_stream_source',
|
22
|
+
'get_stream_source_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetStreamSourceResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getStreamSource.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, compartment_id=None, defined_tags=None, display_name=None, freeform_tags=None, id=None, state=None, stream_source_details=None, stream_source_id=None, system_tags=None, time_created=None, time_updated=None):
|
31
|
+
if compartment_id and not isinstance(compartment_id, str):
|
32
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
33
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
34
|
+
if defined_tags and not isinstance(defined_tags, dict):
|
35
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
36
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
37
|
+
if display_name and not isinstance(display_name, str):
|
38
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
39
|
+
pulumi.set(__self__, "display_name", display_name)
|
40
|
+
if freeform_tags and not isinstance(freeform_tags, dict):
|
41
|
+
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
42
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
43
|
+
if id and not isinstance(id, str):
|
44
|
+
raise TypeError("Expected argument 'id' to be a str")
|
45
|
+
pulumi.set(__self__, "id", id)
|
46
|
+
if state and not isinstance(state, str):
|
47
|
+
raise TypeError("Expected argument 'state' to be a str")
|
48
|
+
pulumi.set(__self__, "state", state)
|
49
|
+
if stream_source_details and not isinstance(stream_source_details, list):
|
50
|
+
raise TypeError("Expected argument 'stream_source_details' to be a list")
|
51
|
+
pulumi.set(__self__, "stream_source_details", stream_source_details)
|
52
|
+
if stream_source_id and not isinstance(stream_source_id, str):
|
53
|
+
raise TypeError("Expected argument 'stream_source_id' to be a str")
|
54
|
+
pulumi.set(__self__, "stream_source_id", stream_source_id)
|
55
|
+
if system_tags and not isinstance(system_tags, dict):
|
56
|
+
raise TypeError("Expected argument 'system_tags' to be a dict")
|
57
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
58
|
+
if time_created and not isinstance(time_created, str):
|
59
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
60
|
+
pulumi.set(__self__, "time_created", time_created)
|
61
|
+
if time_updated and not isinstance(time_updated, str):
|
62
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
63
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
64
|
+
|
65
|
+
@_builtins.property
|
66
|
+
@pulumi.getter(name="compartmentId")
|
67
|
+
def compartment_id(self) -> _builtins.str:
|
68
|
+
"""
|
69
|
+
[OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartm.
|
70
|
+
"""
|
71
|
+
return pulumi.get(self, "compartment_id")
|
72
|
+
|
73
|
+
@_builtins.property
|
74
|
+
@pulumi.getter(name="definedTags")
|
75
|
+
def defined_tags(self) -> Mapping[str, _builtins.str]:
|
76
|
+
"""
|
77
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: `{"foo-namespace": {"bar-key": "value"}}`
|
78
|
+
"""
|
79
|
+
return pulumi.get(self, "defined_tags")
|
80
|
+
|
81
|
+
@_builtins.property
|
82
|
+
@pulumi.getter(name="displayName")
|
83
|
+
def display_name(self) -> _builtins.str:
|
84
|
+
"""
|
85
|
+
display name.
|
86
|
+
"""
|
87
|
+
return pulumi.get(self, "display_name")
|
88
|
+
|
89
|
+
@_builtins.property
|
90
|
+
@pulumi.getter(name="freeformTags")
|
91
|
+
def freeform_tags(self) -> Mapping[str, _builtins.str]:
|
92
|
+
"""
|
93
|
+
A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: `{"bar-key": "value"}`
|
94
|
+
"""
|
95
|
+
return pulumi.get(self, "freeform_tags")
|
96
|
+
|
97
|
+
@_builtins.property
|
98
|
+
@pulumi.getter
|
99
|
+
def id(self) -> _builtins.str:
|
100
|
+
"""
|
101
|
+
[OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the streamSource.
|
102
|
+
"""
|
103
|
+
return pulumi.get(self, "id")
|
104
|
+
|
105
|
+
@_builtins.property
|
106
|
+
@pulumi.getter
|
107
|
+
def state(self) -> _builtins.str:
|
108
|
+
"""
|
109
|
+
The current state of the streamSource.
|
110
|
+
"""
|
111
|
+
return pulumi.get(self, "state")
|
112
|
+
|
113
|
+
@_builtins.property
|
114
|
+
@pulumi.getter(name="streamSourceDetails")
|
115
|
+
def stream_source_details(self) -> Sequence['outputs.GetStreamSourceStreamSourceDetailResult']:
|
116
|
+
"""
|
117
|
+
Details about a stream source
|
118
|
+
"""
|
119
|
+
return pulumi.get(self, "stream_source_details")
|
120
|
+
|
121
|
+
@_builtins.property
|
122
|
+
@pulumi.getter(name="streamSourceId")
|
123
|
+
def stream_source_id(self) -> _builtins.str:
|
124
|
+
return pulumi.get(self, "stream_source_id")
|
125
|
+
|
126
|
+
@_builtins.property
|
127
|
+
@pulumi.getter(name="systemTags")
|
128
|
+
def system_tags(self) -> Mapping[str, _builtins.str]:
|
129
|
+
"""
|
130
|
+
Usage of system tag keys. These predefined keys are scoped to namespaces. For example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
|
131
|
+
"""
|
132
|
+
return pulumi.get(self, "system_tags")
|
133
|
+
|
134
|
+
@_builtins.property
|
135
|
+
@pulumi.getter(name="timeCreated")
|
136
|
+
def time_created(self) -> _builtins.str:
|
137
|
+
"""
|
138
|
+
When the streamSource was created, as an RFC3339 datetime string.
|
139
|
+
"""
|
140
|
+
return pulumi.get(self, "time_created")
|
141
|
+
|
142
|
+
@_builtins.property
|
143
|
+
@pulumi.getter(name="timeUpdated")
|
144
|
+
def time_updated(self) -> _builtins.str:
|
145
|
+
"""
|
146
|
+
When the streamSource was updated, as an RFC3339 datetime string.
|
147
|
+
"""
|
148
|
+
return pulumi.get(self, "time_updated")
|
149
|
+
|
150
|
+
|
151
|
+
class AwaitableGetStreamSourceResult(GetStreamSourceResult):
|
152
|
+
# pylint: disable=using-constant-test
|
153
|
+
def __await__(self):
|
154
|
+
if False:
|
155
|
+
yield self
|
156
|
+
return GetStreamSourceResult(
|
157
|
+
compartment_id=self.compartment_id,
|
158
|
+
defined_tags=self.defined_tags,
|
159
|
+
display_name=self.display_name,
|
160
|
+
freeform_tags=self.freeform_tags,
|
161
|
+
id=self.id,
|
162
|
+
state=self.state,
|
163
|
+
stream_source_details=self.stream_source_details,
|
164
|
+
stream_source_id=self.stream_source_id,
|
165
|
+
system_tags=self.system_tags,
|
166
|
+
time_created=self.time_created,
|
167
|
+
time_updated=self.time_updated)
|
168
|
+
|
169
|
+
|
170
|
+
def get_stream_source(stream_source_id: Optional[_builtins.str] = None,
|
171
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetStreamSourceResult:
|
172
|
+
"""
|
173
|
+
This data source provides details about a specific Stream Source resource in Oracle Cloud Infrastructure Ai Vision service.
|
174
|
+
|
175
|
+
Get a streamSource
|
176
|
+
|
177
|
+
## Example Usage
|
178
|
+
|
179
|
+
```python
|
180
|
+
import pulumi
|
181
|
+
import pulumi_oci as oci
|
182
|
+
|
183
|
+
test_stream_source = oci.AiVision.get_stream_source(stream_source_id=test_stream_source_oci_ai_vision_stream_source["id"])
|
184
|
+
```
|
185
|
+
|
186
|
+
|
187
|
+
:param _builtins.str stream_source_id: StreamSource Id.
|
188
|
+
"""
|
189
|
+
__args__ = dict()
|
190
|
+
__args__['streamSourceId'] = stream_source_id
|
191
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
192
|
+
__ret__ = pulumi.runtime.invoke('oci:AiVision/getStreamSource:getStreamSource', __args__, opts=opts, typ=GetStreamSourceResult).value
|
193
|
+
|
194
|
+
return AwaitableGetStreamSourceResult(
|
195
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
196
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
197
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
198
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
199
|
+
id=pulumi.get(__ret__, 'id'),
|
200
|
+
state=pulumi.get(__ret__, 'state'),
|
201
|
+
stream_source_details=pulumi.get(__ret__, 'stream_source_details'),
|
202
|
+
stream_source_id=pulumi.get(__ret__, 'stream_source_id'),
|
203
|
+
system_tags=pulumi.get(__ret__, 'system_tags'),
|
204
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
205
|
+
time_updated=pulumi.get(__ret__, 'time_updated'))
|
206
|
+
def get_stream_source_output(stream_source_id: Optional[pulumi.Input[_builtins.str]] = None,
|
207
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetStreamSourceResult]:
|
208
|
+
"""
|
209
|
+
This data source provides details about a specific Stream Source resource in Oracle Cloud Infrastructure Ai Vision service.
|
210
|
+
|
211
|
+
Get a streamSource
|
212
|
+
|
213
|
+
## Example Usage
|
214
|
+
|
215
|
+
```python
|
216
|
+
import pulumi
|
217
|
+
import pulumi_oci as oci
|
218
|
+
|
219
|
+
test_stream_source = oci.AiVision.get_stream_source(stream_source_id=test_stream_source_oci_ai_vision_stream_source["id"])
|
220
|
+
```
|
221
|
+
|
222
|
+
|
223
|
+
:param _builtins.str stream_source_id: StreamSource Id.
|
224
|
+
"""
|
225
|
+
__args__ = dict()
|
226
|
+
__args__['streamSourceId'] = stream_source_id
|
227
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
228
|
+
__ret__ = pulumi.runtime.invoke_output('oci:AiVision/getStreamSource:getStreamSource', __args__, opts=opts, typ=GetStreamSourceResult)
|
229
|
+
return __ret__.apply(lambda __response__: GetStreamSourceResult(
|
230
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
231
|
+
defined_tags=pulumi.get(__response__, 'defined_tags'),
|
232
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
233
|
+
freeform_tags=pulumi.get(__response__, 'freeform_tags'),
|
234
|
+
id=pulumi.get(__response__, 'id'),
|
235
|
+
state=pulumi.get(__response__, 'state'),
|
236
|
+
stream_source_details=pulumi.get(__response__, 'stream_source_details'),
|
237
|
+
stream_source_id=pulumi.get(__response__, 'stream_source_id'),
|
238
|
+
system_tags=pulumi.get(__response__, 'system_tags'),
|
239
|
+
time_created=pulumi.get(__response__, 'time_created'),
|
240
|
+
time_updated=pulumi.get(__response__, 'time_updated')))
|
@@ -0,0 +1,199 @@
|
|
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
|
+
'GetStreamSourcesResult',
|
21
|
+
'AwaitableGetStreamSourcesResult',
|
22
|
+
'get_stream_sources',
|
23
|
+
'get_stream_sources_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetStreamSourcesResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getStreamSources.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, compartment_id=None, display_name=None, filters=None, id=None, state=None, stream_source_collections=None):
|
32
|
+
if compartment_id and not isinstance(compartment_id, str):
|
33
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
34
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
35
|
+
if display_name and not isinstance(display_name, str):
|
36
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
37
|
+
pulumi.set(__self__, "display_name", display_name)
|
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 state and not isinstance(state, str):
|
45
|
+
raise TypeError("Expected argument 'state' to be a str")
|
46
|
+
pulumi.set(__self__, "state", state)
|
47
|
+
if stream_source_collections and not isinstance(stream_source_collections, list):
|
48
|
+
raise TypeError("Expected argument 'stream_source_collections' to be a list")
|
49
|
+
pulumi.set(__self__, "stream_source_collections", stream_source_collections)
|
50
|
+
|
51
|
+
@_builtins.property
|
52
|
+
@pulumi.getter(name="compartmentId")
|
53
|
+
def compartment_id(self) -> Optional[_builtins.str]:
|
54
|
+
"""
|
55
|
+
[OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartm.
|
56
|
+
"""
|
57
|
+
return pulumi.get(self, "compartment_id")
|
58
|
+
|
59
|
+
@_builtins.property
|
60
|
+
@pulumi.getter(name="displayName")
|
61
|
+
def display_name(self) -> Optional[_builtins.str]:
|
62
|
+
"""
|
63
|
+
display name.
|
64
|
+
"""
|
65
|
+
return pulumi.get(self, "display_name")
|
66
|
+
|
67
|
+
@_builtins.property
|
68
|
+
@pulumi.getter
|
69
|
+
def filters(self) -> Optional[Sequence['outputs.GetStreamSourcesFilterResult']]:
|
70
|
+
return pulumi.get(self, "filters")
|
71
|
+
|
72
|
+
@_builtins.property
|
73
|
+
@pulumi.getter
|
74
|
+
def id(self) -> Optional[_builtins.str]:
|
75
|
+
"""
|
76
|
+
[OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the streamSource.
|
77
|
+
"""
|
78
|
+
return pulumi.get(self, "id")
|
79
|
+
|
80
|
+
@_builtins.property
|
81
|
+
@pulumi.getter
|
82
|
+
def state(self) -> Optional[_builtins.str]:
|
83
|
+
"""
|
84
|
+
The current state of the streamSource.
|
85
|
+
"""
|
86
|
+
return pulumi.get(self, "state")
|
87
|
+
|
88
|
+
@_builtins.property
|
89
|
+
@pulumi.getter(name="streamSourceCollections")
|
90
|
+
def stream_source_collections(self) -> Sequence['outputs.GetStreamSourcesStreamSourceCollectionResult']:
|
91
|
+
"""
|
92
|
+
The list of stream_source_collection.
|
93
|
+
"""
|
94
|
+
return pulumi.get(self, "stream_source_collections")
|
95
|
+
|
96
|
+
|
97
|
+
class AwaitableGetStreamSourcesResult(GetStreamSourcesResult):
|
98
|
+
# pylint: disable=using-constant-test
|
99
|
+
def __await__(self):
|
100
|
+
if False:
|
101
|
+
yield self
|
102
|
+
return GetStreamSourcesResult(
|
103
|
+
compartment_id=self.compartment_id,
|
104
|
+
display_name=self.display_name,
|
105
|
+
filters=self.filters,
|
106
|
+
id=self.id,
|
107
|
+
state=self.state,
|
108
|
+
stream_source_collections=self.stream_source_collections)
|
109
|
+
|
110
|
+
|
111
|
+
def get_stream_sources(compartment_id: Optional[_builtins.str] = None,
|
112
|
+
display_name: Optional[_builtins.str] = None,
|
113
|
+
filters: Optional[Sequence[Union['GetStreamSourcesFilterArgs', 'GetStreamSourcesFilterArgsDict']]] = None,
|
114
|
+
id: Optional[_builtins.str] = None,
|
115
|
+
state: Optional[_builtins.str] = None,
|
116
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetStreamSourcesResult:
|
117
|
+
"""
|
118
|
+
This data source provides the list of Stream Sources in Oracle Cloud Infrastructure Ai Vision service.
|
119
|
+
|
120
|
+
Gets a list of the streamSources in the specified compartment.
|
121
|
+
|
122
|
+
## Example Usage
|
123
|
+
|
124
|
+
```python
|
125
|
+
import pulumi
|
126
|
+
import pulumi_oci as oci
|
127
|
+
|
128
|
+
test_stream_sources = oci.AiVision.get_stream_sources(compartment_id=compartment_id,
|
129
|
+
display_name=stream_source_display_name,
|
130
|
+
id=stream_source_id,
|
131
|
+
state=stream_source_state)
|
132
|
+
```
|
133
|
+
|
134
|
+
|
135
|
+
:param _builtins.str compartment_id: The ID of the compartment in which to list resources.
|
136
|
+
:param _builtins.str display_name: A filter to return only resources that match the entire display name given.
|
137
|
+
:param _builtins.str id: The filter to find the device with the given identifier.
|
138
|
+
:param _builtins.str state: The filter to match projects with the given lifecycleState.
|
139
|
+
"""
|
140
|
+
__args__ = dict()
|
141
|
+
__args__['compartmentId'] = compartment_id
|
142
|
+
__args__['displayName'] = display_name
|
143
|
+
__args__['filters'] = filters
|
144
|
+
__args__['id'] = id
|
145
|
+
__args__['state'] = state
|
146
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
147
|
+
__ret__ = pulumi.runtime.invoke('oci:AiVision/getStreamSources:getStreamSources', __args__, opts=opts, typ=GetStreamSourcesResult).value
|
148
|
+
|
149
|
+
return AwaitableGetStreamSourcesResult(
|
150
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
151
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
152
|
+
filters=pulumi.get(__ret__, 'filters'),
|
153
|
+
id=pulumi.get(__ret__, 'id'),
|
154
|
+
state=pulumi.get(__ret__, 'state'),
|
155
|
+
stream_source_collections=pulumi.get(__ret__, 'stream_source_collections'))
|
156
|
+
def get_stream_sources_output(compartment_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
157
|
+
display_name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
158
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetStreamSourcesFilterArgs', 'GetStreamSourcesFilterArgsDict']]]]] = None,
|
159
|
+
id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
160
|
+
state: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
161
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetStreamSourcesResult]:
|
162
|
+
"""
|
163
|
+
This data source provides the list of Stream Sources in Oracle Cloud Infrastructure Ai Vision service.
|
164
|
+
|
165
|
+
Gets a list of the streamSources in the specified compartment.
|
166
|
+
|
167
|
+
## Example Usage
|
168
|
+
|
169
|
+
```python
|
170
|
+
import pulumi
|
171
|
+
import pulumi_oci as oci
|
172
|
+
|
173
|
+
test_stream_sources = oci.AiVision.get_stream_sources(compartment_id=compartment_id,
|
174
|
+
display_name=stream_source_display_name,
|
175
|
+
id=stream_source_id,
|
176
|
+
state=stream_source_state)
|
177
|
+
```
|
178
|
+
|
179
|
+
|
180
|
+
:param _builtins.str compartment_id: The ID of the compartment in which to list resources.
|
181
|
+
:param _builtins.str display_name: A filter to return only resources that match the entire display name given.
|
182
|
+
:param _builtins.str id: The filter to find the device with the given identifier.
|
183
|
+
:param _builtins.str state: The filter to match projects with the given lifecycleState.
|
184
|
+
"""
|
185
|
+
__args__ = dict()
|
186
|
+
__args__['compartmentId'] = compartment_id
|
187
|
+
__args__['displayName'] = display_name
|
188
|
+
__args__['filters'] = filters
|
189
|
+
__args__['id'] = id
|
190
|
+
__args__['state'] = state
|
191
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
192
|
+
__ret__ = pulumi.runtime.invoke_output('oci:AiVision/getStreamSources:getStreamSources', __args__, opts=opts, typ=GetStreamSourcesResult)
|
193
|
+
return __ret__.apply(lambda __response__: GetStreamSourcesResult(
|
194
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
195
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
196
|
+
filters=pulumi.get(__response__, 'filters'),
|
197
|
+
id=pulumi.get(__response__, 'id'),
|
198
|
+
state=pulumi.get(__response__, 'state'),
|
199
|
+
stream_source_collections=pulumi.get(__response__, 'stream_source_collections')))
|