pulumi-oci 3.6.0a1756509375__py3-none-any.whl → 3.6.0a1757045455__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_exascale_db_storage_vault.py +29 -1
- pulumi_oci/database/outputs.py +121 -5
- 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.6.0a1757045455.dist-info}/METADATA +1 -1
- {pulumi_oci-3.6.0a1756509375.dist-info → pulumi_oci-3.6.0a1757045455.dist-info}/RECORD +71 -51
- {pulumi_oci-3.6.0a1756509375.dist-info → pulumi_oci-3.6.0a1757045455.dist-info}/WHEEL +0 -0
- {pulumi_oci-3.6.0a1756509375.dist-info → pulumi_oci-3.6.0a1757045455.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,519 @@
|
|
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__ = ['StreamSourceArgs', 'StreamSource']
|
20
|
+
|
21
|
+
@pulumi.input_type
|
22
|
+
class StreamSourceArgs:
|
23
|
+
def __init__(__self__, *,
|
24
|
+
compartment_id: pulumi.Input[_builtins.str],
|
25
|
+
stream_source_details: pulumi.Input['StreamSourceStreamSourceDetailsArgs'],
|
26
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
27
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
28
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
|
29
|
+
"""
|
30
|
+
The set of arguments for constructing a StreamSource resource.
|
31
|
+
:param pulumi.Input[_builtins.str] compartment_id: (Updatable) [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of compartment
|
32
|
+
:param pulumi.Input['StreamSourceStreamSourceDetailsArgs'] stream_source_details: (Updatable) Details about a stream source
|
33
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: `{"foo-namespace": {"bar-key": "value"}}`
|
34
|
+
:param pulumi.Input[_builtins.str] display_name: (Updatable) A human-friendly name for the streamSource.
|
35
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] freeform_tags: (Updatable) 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"}`
|
36
|
+
"""
|
37
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
38
|
+
pulumi.set(__self__, "stream_source_details", stream_source_details)
|
39
|
+
if defined_tags is not None:
|
40
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
41
|
+
if display_name is not None:
|
42
|
+
pulumi.set(__self__, "display_name", display_name)
|
43
|
+
if freeform_tags is not None:
|
44
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
45
|
+
|
46
|
+
@_builtins.property
|
47
|
+
@pulumi.getter(name="compartmentId")
|
48
|
+
def compartment_id(self) -> pulumi.Input[_builtins.str]:
|
49
|
+
"""
|
50
|
+
(Updatable) [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of compartment
|
51
|
+
"""
|
52
|
+
return pulumi.get(self, "compartment_id")
|
53
|
+
|
54
|
+
@compartment_id.setter
|
55
|
+
def compartment_id(self, value: pulumi.Input[_builtins.str]):
|
56
|
+
pulumi.set(self, "compartment_id", value)
|
57
|
+
|
58
|
+
@_builtins.property
|
59
|
+
@pulumi.getter(name="streamSourceDetails")
|
60
|
+
def stream_source_details(self) -> pulumi.Input['StreamSourceStreamSourceDetailsArgs']:
|
61
|
+
"""
|
62
|
+
(Updatable) Details about a stream source
|
63
|
+
"""
|
64
|
+
return pulumi.get(self, "stream_source_details")
|
65
|
+
|
66
|
+
@stream_source_details.setter
|
67
|
+
def stream_source_details(self, value: pulumi.Input['StreamSourceStreamSourceDetailsArgs']):
|
68
|
+
pulumi.set(self, "stream_source_details", value)
|
69
|
+
|
70
|
+
@_builtins.property
|
71
|
+
@pulumi.getter(name="definedTags")
|
72
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
73
|
+
"""
|
74
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: `{"foo-namespace": {"bar-key": "value"}}`
|
75
|
+
"""
|
76
|
+
return pulumi.get(self, "defined_tags")
|
77
|
+
|
78
|
+
@defined_tags.setter
|
79
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
80
|
+
pulumi.set(self, "defined_tags", value)
|
81
|
+
|
82
|
+
@_builtins.property
|
83
|
+
@pulumi.getter(name="displayName")
|
84
|
+
def display_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
85
|
+
"""
|
86
|
+
(Updatable) A human-friendly name for the streamSource.
|
87
|
+
"""
|
88
|
+
return pulumi.get(self, "display_name")
|
89
|
+
|
90
|
+
@display_name.setter
|
91
|
+
def display_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
92
|
+
pulumi.set(self, "display_name", value)
|
93
|
+
|
94
|
+
@_builtins.property
|
95
|
+
@pulumi.getter(name="freeformTags")
|
96
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
97
|
+
"""
|
98
|
+
(Updatable) 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"}`
|
99
|
+
"""
|
100
|
+
return pulumi.get(self, "freeform_tags")
|
101
|
+
|
102
|
+
@freeform_tags.setter
|
103
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
104
|
+
pulumi.set(self, "freeform_tags", value)
|
105
|
+
|
106
|
+
|
107
|
+
@pulumi.input_type
|
108
|
+
class _StreamSourceState:
|
109
|
+
def __init__(__self__, *,
|
110
|
+
compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
111
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
112
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
113
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
114
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
115
|
+
stream_source_details: Optional[pulumi.Input['StreamSourceStreamSourceDetailsArgs']] = None,
|
116
|
+
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
117
|
+
time_created: Optional[pulumi.Input[_builtins.str]] = None,
|
118
|
+
time_updated: Optional[pulumi.Input[_builtins.str]] = None):
|
119
|
+
"""
|
120
|
+
Input properties used for looking up and filtering StreamSource resources.
|
121
|
+
:param pulumi.Input[_builtins.str] compartment_id: (Updatable) [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of compartment
|
122
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: `{"foo-namespace": {"bar-key": "value"}}`
|
123
|
+
:param pulumi.Input[_builtins.str] display_name: (Updatable) A human-friendly name for the streamSource.
|
124
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] freeform_tags: (Updatable) 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"}`
|
125
|
+
:param pulumi.Input[_builtins.str] state: The current state of the streamSource.
|
126
|
+
:param pulumi.Input['StreamSourceStreamSourceDetailsArgs'] stream_source_details: (Updatable) Details about a stream source
|
127
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. For example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
|
128
|
+
:param pulumi.Input[_builtins.str] time_created: When the streamSource was created, as an RFC3339 datetime string.
|
129
|
+
:param pulumi.Input[_builtins.str] time_updated: When the streamSource was updated, as an RFC3339 datetime string.
|
130
|
+
"""
|
131
|
+
if compartment_id is not None:
|
132
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
133
|
+
if defined_tags is not None:
|
134
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
135
|
+
if display_name is not None:
|
136
|
+
pulumi.set(__self__, "display_name", display_name)
|
137
|
+
if freeform_tags is not None:
|
138
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
139
|
+
if state is not None:
|
140
|
+
pulumi.set(__self__, "state", state)
|
141
|
+
if stream_source_details is not None:
|
142
|
+
pulumi.set(__self__, "stream_source_details", stream_source_details)
|
143
|
+
if system_tags is not None:
|
144
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
145
|
+
if time_created is not None:
|
146
|
+
pulumi.set(__self__, "time_created", time_created)
|
147
|
+
if time_updated is not None:
|
148
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
149
|
+
|
150
|
+
@_builtins.property
|
151
|
+
@pulumi.getter(name="compartmentId")
|
152
|
+
def compartment_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
153
|
+
"""
|
154
|
+
(Updatable) [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of compartment
|
155
|
+
"""
|
156
|
+
return pulumi.get(self, "compartment_id")
|
157
|
+
|
158
|
+
@compartment_id.setter
|
159
|
+
def compartment_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
160
|
+
pulumi.set(self, "compartment_id", value)
|
161
|
+
|
162
|
+
@_builtins.property
|
163
|
+
@pulumi.getter(name="definedTags")
|
164
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
165
|
+
"""
|
166
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: `{"foo-namespace": {"bar-key": "value"}}`
|
167
|
+
"""
|
168
|
+
return pulumi.get(self, "defined_tags")
|
169
|
+
|
170
|
+
@defined_tags.setter
|
171
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
172
|
+
pulumi.set(self, "defined_tags", value)
|
173
|
+
|
174
|
+
@_builtins.property
|
175
|
+
@pulumi.getter(name="displayName")
|
176
|
+
def display_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
177
|
+
"""
|
178
|
+
(Updatable) A human-friendly name for the streamSource.
|
179
|
+
"""
|
180
|
+
return pulumi.get(self, "display_name")
|
181
|
+
|
182
|
+
@display_name.setter
|
183
|
+
def display_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
184
|
+
pulumi.set(self, "display_name", value)
|
185
|
+
|
186
|
+
@_builtins.property
|
187
|
+
@pulumi.getter(name="freeformTags")
|
188
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
189
|
+
"""
|
190
|
+
(Updatable) 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"}`
|
191
|
+
"""
|
192
|
+
return pulumi.get(self, "freeform_tags")
|
193
|
+
|
194
|
+
@freeform_tags.setter
|
195
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
196
|
+
pulumi.set(self, "freeform_tags", value)
|
197
|
+
|
198
|
+
@_builtins.property
|
199
|
+
@pulumi.getter
|
200
|
+
def state(self) -> Optional[pulumi.Input[_builtins.str]]:
|
201
|
+
"""
|
202
|
+
The current state of the streamSource.
|
203
|
+
"""
|
204
|
+
return pulumi.get(self, "state")
|
205
|
+
|
206
|
+
@state.setter
|
207
|
+
def state(self, value: Optional[pulumi.Input[_builtins.str]]):
|
208
|
+
pulumi.set(self, "state", value)
|
209
|
+
|
210
|
+
@_builtins.property
|
211
|
+
@pulumi.getter(name="streamSourceDetails")
|
212
|
+
def stream_source_details(self) -> Optional[pulumi.Input['StreamSourceStreamSourceDetailsArgs']]:
|
213
|
+
"""
|
214
|
+
(Updatable) Details about a stream source
|
215
|
+
"""
|
216
|
+
return pulumi.get(self, "stream_source_details")
|
217
|
+
|
218
|
+
@stream_source_details.setter
|
219
|
+
def stream_source_details(self, value: Optional[pulumi.Input['StreamSourceStreamSourceDetailsArgs']]):
|
220
|
+
pulumi.set(self, "stream_source_details", value)
|
221
|
+
|
222
|
+
@_builtins.property
|
223
|
+
@pulumi.getter(name="systemTags")
|
224
|
+
def system_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
225
|
+
"""
|
226
|
+
Usage of system tag keys. These predefined keys are scoped to namespaces. For example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
|
227
|
+
"""
|
228
|
+
return pulumi.get(self, "system_tags")
|
229
|
+
|
230
|
+
@system_tags.setter
|
231
|
+
def system_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
232
|
+
pulumi.set(self, "system_tags", value)
|
233
|
+
|
234
|
+
@_builtins.property
|
235
|
+
@pulumi.getter(name="timeCreated")
|
236
|
+
def time_created(self) -> Optional[pulumi.Input[_builtins.str]]:
|
237
|
+
"""
|
238
|
+
When the streamSource was created, as an RFC3339 datetime string.
|
239
|
+
"""
|
240
|
+
return pulumi.get(self, "time_created")
|
241
|
+
|
242
|
+
@time_created.setter
|
243
|
+
def time_created(self, value: Optional[pulumi.Input[_builtins.str]]):
|
244
|
+
pulumi.set(self, "time_created", value)
|
245
|
+
|
246
|
+
@_builtins.property
|
247
|
+
@pulumi.getter(name="timeUpdated")
|
248
|
+
def time_updated(self) -> Optional[pulumi.Input[_builtins.str]]:
|
249
|
+
"""
|
250
|
+
When the streamSource was updated, as an RFC3339 datetime string.
|
251
|
+
"""
|
252
|
+
return pulumi.get(self, "time_updated")
|
253
|
+
|
254
|
+
@time_updated.setter
|
255
|
+
def time_updated(self, value: Optional[pulumi.Input[_builtins.str]]):
|
256
|
+
pulumi.set(self, "time_updated", value)
|
257
|
+
|
258
|
+
|
259
|
+
@pulumi.type_token("oci:AiVision/streamSource:StreamSource")
|
260
|
+
class StreamSource(pulumi.CustomResource):
|
261
|
+
@overload
|
262
|
+
def __init__(__self__,
|
263
|
+
resource_name: str,
|
264
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
265
|
+
compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
266
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
267
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
268
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
269
|
+
stream_source_details: Optional[pulumi.Input[Union['StreamSourceStreamSourceDetailsArgs', 'StreamSourceStreamSourceDetailsArgsDict']]] = None,
|
270
|
+
__props__=None):
|
271
|
+
"""
|
272
|
+
This resource provides the Stream Source resource in Oracle Cloud Infrastructure Ai Vision service.
|
273
|
+
|
274
|
+
Registration of new streamSource
|
275
|
+
|
276
|
+
## Example Usage
|
277
|
+
|
278
|
+
```python
|
279
|
+
import pulumi
|
280
|
+
import pulumi_oci as oci
|
281
|
+
|
282
|
+
test_stream_source = oci.aivision.StreamSource("test_stream_source",
|
283
|
+
compartment_id=compartment_id,
|
284
|
+
stream_source_details={
|
285
|
+
"camera_url": stream_source_stream_source_details_camera_url,
|
286
|
+
"source_type": stream_source_stream_source_details_source_type,
|
287
|
+
"stream_network_access_details": {
|
288
|
+
"private_endpoint_id": test_private_endpoint["id"],
|
289
|
+
"stream_access_type": stream_source_stream_source_details_stream_network_access_details_stream_access_type,
|
290
|
+
},
|
291
|
+
"secret_id": test_secret["id"],
|
292
|
+
},
|
293
|
+
defined_tags=stream_source_defined_tags,
|
294
|
+
display_name=stream_source_display_name,
|
295
|
+
freeform_tags=stream_source_freeform_tags)
|
296
|
+
```
|
297
|
+
|
298
|
+
## Import
|
299
|
+
|
300
|
+
StreamSources can be imported using the `id`, e.g.
|
301
|
+
|
302
|
+
```sh
|
303
|
+
$ pulumi import oci:AiVision/streamSource:StreamSource test_stream_source "id"
|
304
|
+
```
|
305
|
+
|
306
|
+
:param str resource_name: The name of the resource.
|
307
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
308
|
+
:param pulumi.Input[_builtins.str] compartment_id: (Updatable) [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of compartment
|
309
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: `{"foo-namespace": {"bar-key": "value"}}`
|
310
|
+
:param pulumi.Input[_builtins.str] display_name: (Updatable) A human-friendly name for the streamSource.
|
311
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] freeform_tags: (Updatable) 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"}`
|
312
|
+
:param pulumi.Input[Union['StreamSourceStreamSourceDetailsArgs', 'StreamSourceStreamSourceDetailsArgsDict']] stream_source_details: (Updatable) Details about a stream source
|
313
|
+
"""
|
314
|
+
...
|
315
|
+
@overload
|
316
|
+
def __init__(__self__,
|
317
|
+
resource_name: str,
|
318
|
+
args: StreamSourceArgs,
|
319
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
320
|
+
"""
|
321
|
+
This resource provides the Stream Source resource in Oracle Cloud Infrastructure Ai Vision service.
|
322
|
+
|
323
|
+
Registration of new streamSource
|
324
|
+
|
325
|
+
## Example Usage
|
326
|
+
|
327
|
+
```python
|
328
|
+
import pulumi
|
329
|
+
import pulumi_oci as oci
|
330
|
+
|
331
|
+
test_stream_source = oci.aivision.StreamSource("test_stream_source",
|
332
|
+
compartment_id=compartment_id,
|
333
|
+
stream_source_details={
|
334
|
+
"camera_url": stream_source_stream_source_details_camera_url,
|
335
|
+
"source_type": stream_source_stream_source_details_source_type,
|
336
|
+
"stream_network_access_details": {
|
337
|
+
"private_endpoint_id": test_private_endpoint["id"],
|
338
|
+
"stream_access_type": stream_source_stream_source_details_stream_network_access_details_stream_access_type,
|
339
|
+
},
|
340
|
+
"secret_id": test_secret["id"],
|
341
|
+
},
|
342
|
+
defined_tags=stream_source_defined_tags,
|
343
|
+
display_name=stream_source_display_name,
|
344
|
+
freeform_tags=stream_source_freeform_tags)
|
345
|
+
```
|
346
|
+
|
347
|
+
## Import
|
348
|
+
|
349
|
+
StreamSources can be imported using the `id`, e.g.
|
350
|
+
|
351
|
+
```sh
|
352
|
+
$ pulumi import oci:AiVision/streamSource:StreamSource test_stream_source "id"
|
353
|
+
```
|
354
|
+
|
355
|
+
:param str resource_name: The name of the resource.
|
356
|
+
:param StreamSourceArgs args: The arguments to use to populate this resource's properties.
|
357
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
358
|
+
"""
|
359
|
+
...
|
360
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
361
|
+
resource_args, opts = _utilities.get_resource_args_opts(StreamSourceArgs, pulumi.ResourceOptions, *args, **kwargs)
|
362
|
+
if resource_args is not None:
|
363
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
364
|
+
else:
|
365
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
366
|
+
|
367
|
+
def _internal_init(__self__,
|
368
|
+
resource_name: str,
|
369
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
370
|
+
compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
371
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
372
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
373
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
374
|
+
stream_source_details: Optional[pulumi.Input[Union['StreamSourceStreamSourceDetailsArgs', 'StreamSourceStreamSourceDetailsArgsDict']]] = None,
|
375
|
+
__props__=None):
|
376
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
377
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
378
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
379
|
+
if opts.id is None:
|
380
|
+
if __props__ is not None:
|
381
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
382
|
+
__props__ = StreamSourceArgs.__new__(StreamSourceArgs)
|
383
|
+
|
384
|
+
if compartment_id is None and not opts.urn:
|
385
|
+
raise TypeError("Missing required property 'compartment_id'")
|
386
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
387
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
388
|
+
__props__.__dict__["display_name"] = display_name
|
389
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
390
|
+
if stream_source_details is None and not opts.urn:
|
391
|
+
raise TypeError("Missing required property 'stream_source_details'")
|
392
|
+
__props__.__dict__["stream_source_details"] = stream_source_details
|
393
|
+
__props__.__dict__["state"] = None
|
394
|
+
__props__.__dict__["system_tags"] = None
|
395
|
+
__props__.__dict__["time_created"] = None
|
396
|
+
__props__.__dict__["time_updated"] = None
|
397
|
+
super(StreamSource, __self__).__init__(
|
398
|
+
'oci:AiVision/streamSource:StreamSource',
|
399
|
+
resource_name,
|
400
|
+
__props__,
|
401
|
+
opts)
|
402
|
+
|
403
|
+
@staticmethod
|
404
|
+
def get(resource_name: str,
|
405
|
+
id: pulumi.Input[str],
|
406
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
407
|
+
compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
408
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
409
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
410
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
411
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
412
|
+
stream_source_details: Optional[pulumi.Input[Union['StreamSourceStreamSourceDetailsArgs', 'StreamSourceStreamSourceDetailsArgsDict']]] = None,
|
413
|
+
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
414
|
+
time_created: Optional[pulumi.Input[_builtins.str]] = None,
|
415
|
+
time_updated: Optional[pulumi.Input[_builtins.str]] = None) -> 'StreamSource':
|
416
|
+
"""
|
417
|
+
Get an existing StreamSource resource's state with the given name, id, and optional extra
|
418
|
+
properties used to qualify the lookup.
|
419
|
+
|
420
|
+
:param str resource_name: The unique name of the resulting resource.
|
421
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
422
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
423
|
+
:param pulumi.Input[_builtins.str] compartment_id: (Updatable) [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of compartment
|
424
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: `{"foo-namespace": {"bar-key": "value"}}`
|
425
|
+
:param pulumi.Input[_builtins.str] display_name: (Updatable) A human-friendly name for the streamSource.
|
426
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] freeform_tags: (Updatable) 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"}`
|
427
|
+
:param pulumi.Input[_builtins.str] state: The current state of the streamSource.
|
428
|
+
:param pulumi.Input[Union['StreamSourceStreamSourceDetailsArgs', 'StreamSourceStreamSourceDetailsArgsDict']] stream_source_details: (Updatable) Details about a stream source
|
429
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. For example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
|
430
|
+
:param pulumi.Input[_builtins.str] time_created: When the streamSource was created, as an RFC3339 datetime string.
|
431
|
+
:param pulumi.Input[_builtins.str] time_updated: When the streamSource was updated, as an RFC3339 datetime string.
|
432
|
+
"""
|
433
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
434
|
+
|
435
|
+
__props__ = _StreamSourceState.__new__(_StreamSourceState)
|
436
|
+
|
437
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
438
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
439
|
+
__props__.__dict__["display_name"] = display_name
|
440
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
441
|
+
__props__.__dict__["state"] = state
|
442
|
+
__props__.__dict__["stream_source_details"] = stream_source_details
|
443
|
+
__props__.__dict__["system_tags"] = system_tags
|
444
|
+
__props__.__dict__["time_created"] = time_created
|
445
|
+
__props__.__dict__["time_updated"] = time_updated
|
446
|
+
return StreamSource(resource_name, opts=opts, __props__=__props__)
|
447
|
+
|
448
|
+
@_builtins.property
|
449
|
+
@pulumi.getter(name="compartmentId")
|
450
|
+
def compartment_id(self) -> pulumi.Output[_builtins.str]:
|
451
|
+
"""
|
452
|
+
(Updatable) [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of compartment
|
453
|
+
"""
|
454
|
+
return pulumi.get(self, "compartment_id")
|
455
|
+
|
456
|
+
@_builtins.property
|
457
|
+
@pulumi.getter(name="definedTags")
|
458
|
+
def defined_tags(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
|
459
|
+
"""
|
460
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For example: `{"foo-namespace": {"bar-key": "value"}}`
|
461
|
+
"""
|
462
|
+
return pulumi.get(self, "defined_tags")
|
463
|
+
|
464
|
+
@_builtins.property
|
465
|
+
@pulumi.getter(name="displayName")
|
466
|
+
def display_name(self) -> pulumi.Output[_builtins.str]:
|
467
|
+
"""
|
468
|
+
(Updatable) A human-friendly name for the streamSource.
|
469
|
+
"""
|
470
|
+
return pulumi.get(self, "display_name")
|
471
|
+
|
472
|
+
@_builtins.property
|
473
|
+
@pulumi.getter(name="freeformTags")
|
474
|
+
def freeform_tags(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
|
475
|
+
"""
|
476
|
+
(Updatable) 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"}`
|
477
|
+
"""
|
478
|
+
return pulumi.get(self, "freeform_tags")
|
479
|
+
|
480
|
+
@_builtins.property
|
481
|
+
@pulumi.getter
|
482
|
+
def state(self) -> pulumi.Output[_builtins.str]:
|
483
|
+
"""
|
484
|
+
The current state of the streamSource.
|
485
|
+
"""
|
486
|
+
return pulumi.get(self, "state")
|
487
|
+
|
488
|
+
@_builtins.property
|
489
|
+
@pulumi.getter(name="streamSourceDetails")
|
490
|
+
def stream_source_details(self) -> pulumi.Output['outputs.StreamSourceStreamSourceDetails']:
|
491
|
+
"""
|
492
|
+
(Updatable) Details about a stream source
|
493
|
+
"""
|
494
|
+
return pulumi.get(self, "stream_source_details")
|
495
|
+
|
496
|
+
@_builtins.property
|
497
|
+
@pulumi.getter(name="systemTags")
|
498
|
+
def system_tags(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
|
499
|
+
"""
|
500
|
+
Usage of system tag keys. These predefined keys are scoped to namespaces. For example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
|
501
|
+
"""
|
502
|
+
return pulumi.get(self, "system_tags")
|
503
|
+
|
504
|
+
@_builtins.property
|
505
|
+
@pulumi.getter(name="timeCreated")
|
506
|
+
def time_created(self) -> pulumi.Output[_builtins.str]:
|
507
|
+
"""
|
508
|
+
When the streamSource was created, as an RFC3339 datetime string.
|
509
|
+
"""
|
510
|
+
return pulumi.get(self, "time_created")
|
511
|
+
|
512
|
+
@_builtins.property
|
513
|
+
@pulumi.getter(name="timeUpdated")
|
514
|
+
def time_updated(self) -> pulumi.Output[_builtins.str]:
|
515
|
+
"""
|
516
|
+
When the streamSource was updated, as an RFC3339 datetime string.
|
517
|
+
"""
|
518
|
+
return pulumi.get(self, "time_updated")
|
519
|
+
|