pulumi-oci 3.5.0a1756440723__py3-none-any.whl → 3.6.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/config/__init__.pyi +12 -17
- pulumi_oci/config/vars.py +12 -17
- 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/provider.py +44 -63
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-3.5.0a1756440723.dist-info → pulumi_oci-3.6.0.dist-info}/METADATA +1 -1
- {pulumi_oci-3.5.0a1756440723.dist-info → pulumi_oci-3.6.0.dist-info}/RECORD +74 -54
- {pulumi_oci-3.5.0a1756440723.dist-info → pulumi_oci-3.6.0.dist-info}/WHEEL +0 -0
- {pulumi_oci-3.5.0a1756440723.dist-info → pulumi_oci-3.6.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,295 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import builtins as _builtins
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
|
17
|
+
__all__ = [
|
18
|
+
'GetDbmulticloudOracleDbGcpKeyResult',
|
19
|
+
'AwaitableGetDbmulticloudOracleDbGcpKeyResult',
|
20
|
+
'get_dbmulticloud_oracle_db_gcp_key',
|
21
|
+
'get_dbmulticloud_oracle_db_gcp_key_output',
|
22
|
+
]
|
23
|
+
|
24
|
+
@pulumi.output_type
|
25
|
+
class GetDbmulticloudOracleDbGcpKeyResult:
|
26
|
+
"""
|
27
|
+
A collection of values returned by getDbmulticloudOracleDbGcpKey.
|
28
|
+
"""
|
29
|
+
def __init__(__self__, compartment_id=None, defined_tags=None, display_name=None, freeform_tags=None, gcp_key_id=None, gcp_key_properties=None, id=None, lifecycle_state_details=None, oracle_db_gcp_key_id=None, oracle_db_gcp_key_ring_id=None, resource_type=None, state=None, system_tags=None, time_created=None, time_updated=None):
|
30
|
+
if compartment_id and not isinstance(compartment_id, str):
|
31
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
32
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
33
|
+
if defined_tags and not isinstance(defined_tags, dict):
|
34
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
35
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
36
|
+
if display_name and not isinstance(display_name, str):
|
37
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
38
|
+
pulumi.set(__self__, "display_name", display_name)
|
39
|
+
if freeform_tags and not isinstance(freeform_tags, dict):
|
40
|
+
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
41
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
42
|
+
if gcp_key_id and not isinstance(gcp_key_id, str):
|
43
|
+
raise TypeError("Expected argument 'gcp_key_id' to be a str")
|
44
|
+
pulumi.set(__self__, "gcp_key_id", gcp_key_id)
|
45
|
+
if gcp_key_properties and not isinstance(gcp_key_properties, dict):
|
46
|
+
raise TypeError("Expected argument 'gcp_key_properties' to be a dict")
|
47
|
+
pulumi.set(__self__, "gcp_key_properties", gcp_key_properties)
|
48
|
+
if id and not isinstance(id, str):
|
49
|
+
raise TypeError("Expected argument 'id' to be a str")
|
50
|
+
pulumi.set(__self__, "id", id)
|
51
|
+
if lifecycle_state_details and not isinstance(lifecycle_state_details, str):
|
52
|
+
raise TypeError("Expected argument 'lifecycle_state_details' to be a str")
|
53
|
+
pulumi.set(__self__, "lifecycle_state_details", lifecycle_state_details)
|
54
|
+
if oracle_db_gcp_key_id and not isinstance(oracle_db_gcp_key_id, str):
|
55
|
+
raise TypeError("Expected argument 'oracle_db_gcp_key_id' to be a str")
|
56
|
+
pulumi.set(__self__, "oracle_db_gcp_key_id", oracle_db_gcp_key_id)
|
57
|
+
if oracle_db_gcp_key_ring_id and not isinstance(oracle_db_gcp_key_ring_id, str):
|
58
|
+
raise TypeError("Expected argument 'oracle_db_gcp_key_ring_id' to be a str")
|
59
|
+
pulumi.set(__self__, "oracle_db_gcp_key_ring_id", oracle_db_gcp_key_ring_id)
|
60
|
+
if resource_type and not isinstance(resource_type, str):
|
61
|
+
raise TypeError("Expected argument 'resource_type' to be a str")
|
62
|
+
pulumi.set(__self__, "resource_type", resource_type)
|
63
|
+
if state and not isinstance(state, str):
|
64
|
+
raise TypeError("Expected argument 'state' to be a str")
|
65
|
+
pulumi.set(__self__, "state", state)
|
66
|
+
if system_tags and not isinstance(system_tags, dict):
|
67
|
+
raise TypeError("Expected argument 'system_tags' to be a dict")
|
68
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
69
|
+
if time_created and not isinstance(time_created, str):
|
70
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
71
|
+
pulumi.set(__self__, "time_created", time_created)
|
72
|
+
if time_updated and not isinstance(time_updated, str):
|
73
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
74
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
75
|
+
|
76
|
+
@_builtins.property
|
77
|
+
@pulumi.getter(name="compartmentId")
|
78
|
+
def compartment_id(self) -> _builtins.str:
|
79
|
+
"""
|
80
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains Oracle DB Google Key resource.
|
81
|
+
"""
|
82
|
+
return pulumi.get(self, "compartment_id")
|
83
|
+
|
84
|
+
@_builtins.property
|
85
|
+
@pulumi.getter(name="definedTags")
|
86
|
+
def defined_tags(self) -> Mapping[str, _builtins.str]:
|
87
|
+
"""
|
88
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
89
|
+
"""
|
90
|
+
return pulumi.get(self, "defined_tags")
|
91
|
+
|
92
|
+
@_builtins.property
|
93
|
+
@pulumi.getter(name="displayName")
|
94
|
+
def display_name(self) -> _builtins.str:
|
95
|
+
"""
|
96
|
+
Display name of Oracle DB Google Key resource.
|
97
|
+
"""
|
98
|
+
return pulumi.get(self, "display_name")
|
99
|
+
|
100
|
+
@_builtins.property
|
101
|
+
@pulumi.getter(name="freeformTags")
|
102
|
+
def freeform_tags(self) -> Mapping[str, _builtins.str]:
|
103
|
+
"""
|
104
|
+
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
105
|
+
"""
|
106
|
+
return pulumi.get(self, "freeform_tags")
|
107
|
+
|
108
|
+
@_builtins.property
|
109
|
+
@pulumi.getter(name="gcpKeyId")
|
110
|
+
def gcp_key_id(self) -> _builtins.str:
|
111
|
+
"""
|
112
|
+
TThe Google Cloud Key ID and Key URL associated with the Google Key under the specified Key Ring resource.
|
113
|
+
"""
|
114
|
+
return pulumi.get(self, "gcp_key_id")
|
115
|
+
|
116
|
+
@_builtins.property
|
117
|
+
@pulumi.getter(name="gcpKeyProperties")
|
118
|
+
def gcp_key_properties(self) -> Mapping[str, _builtins.str]:
|
119
|
+
"""
|
120
|
+
Gcp Key properties
|
121
|
+
"""
|
122
|
+
return pulumi.get(self, "gcp_key_properties")
|
123
|
+
|
124
|
+
@_builtins.property
|
125
|
+
@pulumi.getter
|
126
|
+
def id(self) -> _builtins.str:
|
127
|
+
"""
|
128
|
+
The provider-assigned unique ID for this managed resource.
|
129
|
+
"""
|
130
|
+
return pulumi.get(self, "id")
|
131
|
+
|
132
|
+
@_builtins.property
|
133
|
+
@pulumi.getter(name="lifecycleStateDetails")
|
134
|
+
def lifecycle_state_details(self) -> _builtins.str:
|
135
|
+
"""
|
136
|
+
Description of the current lifecycle state in more detail.
|
137
|
+
"""
|
138
|
+
return pulumi.get(self, "lifecycle_state_details")
|
139
|
+
|
140
|
+
@_builtins.property
|
141
|
+
@pulumi.getter(name="oracleDbGcpKeyId")
|
142
|
+
def oracle_db_gcp_key_id(self) -> _builtins.str:
|
143
|
+
return pulumi.get(self, "oracle_db_gcp_key_id")
|
144
|
+
|
145
|
+
@_builtins.property
|
146
|
+
@pulumi.getter(name="oracleDbGcpKeyRingId")
|
147
|
+
def oracle_db_gcp_key_ring_id(self) -> _builtins.str:
|
148
|
+
"""
|
149
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB Google Cloud Key-Ring resource.
|
150
|
+
"""
|
151
|
+
return pulumi.get(self, "oracle_db_gcp_key_ring_id")
|
152
|
+
|
153
|
+
@_builtins.property
|
154
|
+
@pulumi.getter(name="resourceType")
|
155
|
+
def resource_type(self) -> _builtins.str:
|
156
|
+
"""
|
157
|
+
Key resource type.
|
158
|
+
"""
|
159
|
+
return pulumi.get(self, "resource_type")
|
160
|
+
|
161
|
+
@_builtins.property
|
162
|
+
@pulumi.getter
|
163
|
+
def state(self) -> _builtins.str:
|
164
|
+
"""
|
165
|
+
The current lifecycle state of the Oracle DB Google Key resource.
|
166
|
+
"""
|
167
|
+
return pulumi.get(self, "state")
|
168
|
+
|
169
|
+
@_builtins.property
|
170
|
+
@pulumi.getter(name="systemTags")
|
171
|
+
def system_tags(self) -> Mapping[str, _builtins.str]:
|
172
|
+
"""
|
173
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
174
|
+
"""
|
175
|
+
return pulumi.get(self, "system_tags")
|
176
|
+
|
177
|
+
@_builtins.property
|
178
|
+
@pulumi.getter(name="timeCreated")
|
179
|
+
def time_created(self) -> _builtins.str:
|
180
|
+
"""
|
181
|
+
Time when the Oracle DB Google Key resource was created in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z'
|
182
|
+
"""
|
183
|
+
return pulumi.get(self, "time_created")
|
184
|
+
|
185
|
+
@_builtins.property
|
186
|
+
@pulumi.getter(name="timeUpdated")
|
187
|
+
def time_updated(self) -> _builtins.str:
|
188
|
+
"""
|
189
|
+
Time when the Oracle DB Google Key resource was last modified, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z'
|
190
|
+
"""
|
191
|
+
return pulumi.get(self, "time_updated")
|
192
|
+
|
193
|
+
|
194
|
+
class AwaitableGetDbmulticloudOracleDbGcpKeyResult(GetDbmulticloudOracleDbGcpKeyResult):
|
195
|
+
# pylint: disable=using-constant-test
|
196
|
+
def __await__(self):
|
197
|
+
if False:
|
198
|
+
yield self
|
199
|
+
return GetDbmulticloudOracleDbGcpKeyResult(
|
200
|
+
compartment_id=self.compartment_id,
|
201
|
+
defined_tags=self.defined_tags,
|
202
|
+
display_name=self.display_name,
|
203
|
+
freeform_tags=self.freeform_tags,
|
204
|
+
gcp_key_id=self.gcp_key_id,
|
205
|
+
gcp_key_properties=self.gcp_key_properties,
|
206
|
+
id=self.id,
|
207
|
+
lifecycle_state_details=self.lifecycle_state_details,
|
208
|
+
oracle_db_gcp_key_id=self.oracle_db_gcp_key_id,
|
209
|
+
oracle_db_gcp_key_ring_id=self.oracle_db_gcp_key_ring_id,
|
210
|
+
resource_type=self.resource_type,
|
211
|
+
state=self.state,
|
212
|
+
system_tags=self.system_tags,
|
213
|
+
time_created=self.time_created,
|
214
|
+
time_updated=self.time_updated)
|
215
|
+
|
216
|
+
|
217
|
+
def get_dbmulticloud_oracle_db_gcp_key(oracle_db_gcp_key_id: Optional[_builtins.str] = None,
|
218
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDbmulticloudOracleDbGcpKeyResult:
|
219
|
+
"""
|
220
|
+
This data source provides details about a specific Oracle Db Gcp Key resource in Oracle Cloud Infrastructure Dbmulticloud service.
|
221
|
+
|
222
|
+
Retrieves Oracle DB Google Cloud Key details using a specific resource [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
223
|
+
|
224
|
+
## Example Usage
|
225
|
+
|
226
|
+
```python
|
227
|
+
import pulumi
|
228
|
+
import pulumi_oci as oci
|
229
|
+
|
230
|
+
test_oracle_db_gcp_key = oci.oci.get_dbmulticloud_oracle_db_gcp_key(oracle_db_gcp_key_id=test_oracle_db_gcp_key_oci_dbmulticloud_oracle_db_gcp_key["id"])
|
231
|
+
```
|
232
|
+
|
233
|
+
|
234
|
+
:param _builtins.str oracle_db_gcp_key_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB Google Cloud Key resource.
|
235
|
+
"""
|
236
|
+
__args__ = dict()
|
237
|
+
__args__['oracleDbGcpKeyId'] = oracle_db_gcp_key_id
|
238
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
239
|
+
__ret__ = pulumi.runtime.invoke('oci:oci/getDbmulticloudOracleDbGcpKey:getDbmulticloudOracleDbGcpKey', __args__, opts=opts, typ=GetDbmulticloudOracleDbGcpKeyResult).value
|
240
|
+
|
241
|
+
return AwaitableGetDbmulticloudOracleDbGcpKeyResult(
|
242
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
243
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
244
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
245
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
246
|
+
gcp_key_id=pulumi.get(__ret__, 'gcp_key_id'),
|
247
|
+
gcp_key_properties=pulumi.get(__ret__, 'gcp_key_properties'),
|
248
|
+
id=pulumi.get(__ret__, 'id'),
|
249
|
+
lifecycle_state_details=pulumi.get(__ret__, 'lifecycle_state_details'),
|
250
|
+
oracle_db_gcp_key_id=pulumi.get(__ret__, 'oracle_db_gcp_key_id'),
|
251
|
+
oracle_db_gcp_key_ring_id=pulumi.get(__ret__, 'oracle_db_gcp_key_ring_id'),
|
252
|
+
resource_type=pulumi.get(__ret__, 'resource_type'),
|
253
|
+
state=pulumi.get(__ret__, 'state'),
|
254
|
+
system_tags=pulumi.get(__ret__, 'system_tags'),
|
255
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
256
|
+
time_updated=pulumi.get(__ret__, 'time_updated'))
|
257
|
+
def get_dbmulticloud_oracle_db_gcp_key_output(oracle_db_gcp_key_id: Optional[pulumi.Input[_builtins.str]] = None,
|
258
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDbmulticloudOracleDbGcpKeyResult]:
|
259
|
+
"""
|
260
|
+
This data source provides details about a specific Oracle Db Gcp Key resource in Oracle Cloud Infrastructure Dbmulticloud service.
|
261
|
+
|
262
|
+
Retrieves Oracle DB Google Cloud Key details using a specific resource [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
263
|
+
|
264
|
+
## Example Usage
|
265
|
+
|
266
|
+
```python
|
267
|
+
import pulumi
|
268
|
+
import pulumi_oci as oci
|
269
|
+
|
270
|
+
test_oracle_db_gcp_key = oci.oci.get_dbmulticloud_oracle_db_gcp_key(oracle_db_gcp_key_id=test_oracle_db_gcp_key_oci_dbmulticloud_oracle_db_gcp_key["id"])
|
271
|
+
```
|
272
|
+
|
273
|
+
|
274
|
+
:param _builtins.str oracle_db_gcp_key_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB Google Cloud Key resource.
|
275
|
+
"""
|
276
|
+
__args__ = dict()
|
277
|
+
__args__['oracleDbGcpKeyId'] = oracle_db_gcp_key_id
|
278
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
279
|
+
__ret__ = pulumi.runtime.invoke_output('oci:oci/getDbmulticloudOracleDbGcpKey:getDbmulticloudOracleDbGcpKey', __args__, opts=opts, typ=GetDbmulticloudOracleDbGcpKeyResult)
|
280
|
+
return __ret__.apply(lambda __response__: GetDbmulticloudOracleDbGcpKeyResult(
|
281
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
282
|
+
defined_tags=pulumi.get(__response__, 'defined_tags'),
|
283
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
284
|
+
freeform_tags=pulumi.get(__response__, 'freeform_tags'),
|
285
|
+
gcp_key_id=pulumi.get(__response__, 'gcp_key_id'),
|
286
|
+
gcp_key_properties=pulumi.get(__response__, 'gcp_key_properties'),
|
287
|
+
id=pulumi.get(__response__, 'id'),
|
288
|
+
lifecycle_state_details=pulumi.get(__response__, 'lifecycle_state_details'),
|
289
|
+
oracle_db_gcp_key_id=pulumi.get(__response__, 'oracle_db_gcp_key_id'),
|
290
|
+
oracle_db_gcp_key_ring_id=pulumi.get(__response__, 'oracle_db_gcp_key_ring_id'),
|
291
|
+
resource_type=pulumi.get(__response__, 'resource_type'),
|
292
|
+
state=pulumi.get(__response__, 'state'),
|
293
|
+
system_tags=pulumi.get(__response__, 'system_tags'),
|
294
|
+
time_created=pulumi.get(__response__, 'time_created'),
|
295
|
+
time_updated=pulumi.get(__response__, 'time_updated')))
|
@@ -0,0 +1,309 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import builtins as _builtins
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
|
17
|
+
__all__ = [
|
18
|
+
'GetDbmulticloudOracleDbGcpKeyRingResult',
|
19
|
+
'AwaitableGetDbmulticloudOracleDbGcpKeyRingResult',
|
20
|
+
'get_dbmulticloud_oracle_db_gcp_key_ring',
|
21
|
+
'get_dbmulticloud_oracle_db_gcp_key_ring_output',
|
22
|
+
]
|
23
|
+
|
24
|
+
@pulumi.output_type
|
25
|
+
class GetDbmulticloudOracleDbGcpKeyRingResult:
|
26
|
+
"""
|
27
|
+
A collection of values returned by getDbmulticloudOracleDbGcpKeyRing.
|
28
|
+
"""
|
29
|
+
def __init__(__self__, compartment_id=None, defined_tags=None, display_name=None, freeform_tags=None, gcp_key_ring_id=None, id=None, lifecycle_state_details=None, location=None, oracle_db_connector_id=None, oracle_db_gcp_key_ring_id=None, properties=None, state=None, system_tags=None, time_created=None, time_updated=None, type=None):
|
30
|
+
if compartment_id and not isinstance(compartment_id, str):
|
31
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
32
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
33
|
+
if defined_tags and not isinstance(defined_tags, dict):
|
34
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
35
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
36
|
+
if display_name and not isinstance(display_name, str):
|
37
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
38
|
+
pulumi.set(__self__, "display_name", display_name)
|
39
|
+
if freeform_tags and not isinstance(freeform_tags, dict):
|
40
|
+
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
41
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
42
|
+
if gcp_key_ring_id and not isinstance(gcp_key_ring_id, str):
|
43
|
+
raise TypeError("Expected argument 'gcp_key_ring_id' to be a str")
|
44
|
+
pulumi.set(__self__, "gcp_key_ring_id", gcp_key_ring_id)
|
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 lifecycle_state_details and not isinstance(lifecycle_state_details, str):
|
49
|
+
raise TypeError("Expected argument 'lifecycle_state_details' to be a str")
|
50
|
+
pulumi.set(__self__, "lifecycle_state_details", lifecycle_state_details)
|
51
|
+
if location and not isinstance(location, str):
|
52
|
+
raise TypeError("Expected argument 'location' to be a str")
|
53
|
+
pulumi.set(__self__, "location", location)
|
54
|
+
if oracle_db_connector_id and not isinstance(oracle_db_connector_id, str):
|
55
|
+
raise TypeError("Expected argument 'oracle_db_connector_id' to be a str")
|
56
|
+
pulumi.set(__self__, "oracle_db_connector_id", oracle_db_connector_id)
|
57
|
+
if oracle_db_gcp_key_ring_id and not isinstance(oracle_db_gcp_key_ring_id, str):
|
58
|
+
raise TypeError("Expected argument 'oracle_db_gcp_key_ring_id' to be a str")
|
59
|
+
pulumi.set(__self__, "oracle_db_gcp_key_ring_id", oracle_db_gcp_key_ring_id)
|
60
|
+
if properties and not isinstance(properties, dict):
|
61
|
+
raise TypeError("Expected argument 'properties' to be a dict")
|
62
|
+
pulumi.set(__self__, "properties", properties)
|
63
|
+
if state and not isinstance(state, str):
|
64
|
+
raise TypeError("Expected argument 'state' to be a str")
|
65
|
+
pulumi.set(__self__, "state", state)
|
66
|
+
if system_tags and not isinstance(system_tags, dict):
|
67
|
+
raise TypeError("Expected argument 'system_tags' to be a dict")
|
68
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
69
|
+
if time_created and not isinstance(time_created, str):
|
70
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
71
|
+
pulumi.set(__self__, "time_created", time_created)
|
72
|
+
if time_updated and not isinstance(time_updated, str):
|
73
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
74
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
75
|
+
if type and not isinstance(type, str):
|
76
|
+
raise TypeError("Expected argument 'type' to be a str")
|
77
|
+
pulumi.set(__self__, "type", type)
|
78
|
+
|
79
|
+
@_builtins.property
|
80
|
+
@pulumi.getter(name="compartmentId")
|
81
|
+
def compartment_id(self) -> _builtins.str:
|
82
|
+
"""
|
83
|
+
The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) where the Oracle DB GCP Key Ring resource resides.
|
84
|
+
"""
|
85
|
+
return pulumi.get(self, "compartment_id")
|
86
|
+
|
87
|
+
@_builtins.property
|
88
|
+
@pulumi.getter(name="definedTags")
|
89
|
+
def defined_tags(self) -> Mapping[str, _builtins.str]:
|
90
|
+
"""
|
91
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
92
|
+
"""
|
93
|
+
return pulumi.get(self, "defined_tags")
|
94
|
+
|
95
|
+
@_builtins.property
|
96
|
+
@pulumi.getter(name="displayName")
|
97
|
+
def display_name(self) -> _builtins.str:
|
98
|
+
"""
|
99
|
+
Display name of DB GCP Key Ring resource.
|
100
|
+
"""
|
101
|
+
return pulumi.get(self, "display_name")
|
102
|
+
|
103
|
+
@_builtins.property
|
104
|
+
@pulumi.getter(name="freeformTags")
|
105
|
+
def freeform_tags(self) -> Mapping[str, _builtins.str]:
|
106
|
+
"""
|
107
|
+
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
108
|
+
"""
|
109
|
+
return pulumi.get(self, "freeform_tags")
|
110
|
+
|
111
|
+
@_builtins.property
|
112
|
+
@pulumi.getter(name="gcpKeyRingId")
|
113
|
+
def gcp_key_ring_id(self) -> _builtins.str:
|
114
|
+
"""
|
115
|
+
GCP Key Ring ID.
|
116
|
+
"""
|
117
|
+
return pulumi.get(self, "gcp_key_ring_id")
|
118
|
+
|
119
|
+
@_builtins.property
|
120
|
+
@pulumi.getter
|
121
|
+
def id(self) -> _builtins.str:
|
122
|
+
"""
|
123
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DB GCP Key Ring resource.
|
124
|
+
"""
|
125
|
+
return pulumi.get(self, "id")
|
126
|
+
|
127
|
+
@_builtins.property
|
128
|
+
@pulumi.getter(name="lifecycleStateDetails")
|
129
|
+
def lifecycle_state_details(self) -> _builtins.str:
|
130
|
+
"""
|
131
|
+
Description of the current lifecycle state in more detail.
|
132
|
+
"""
|
133
|
+
return pulumi.get(self, "lifecycle_state_details")
|
134
|
+
|
135
|
+
@_builtins.property
|
136
|
+
@pulumi.getter
|
137
|
+
def location(self) -> _builtins.str:
|
138
|
+
"""
|
139
|
+
Location of the GCP Key Ring resource.
|
140
|
+
"""
|
141
|
+
return pulumi.get(self, "location")
|
142
|
+
|
143
|
+
@_builtins.property
|
144
|
+
@pulumi.getter(name="oracleDbConnectorId")
|
145
|
+
def oracle_db_connector_id(self) -> _builtins.str:
|
146
|
+
"""
|
147
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where the Oracle DB GCP Identity Connector resource resides.
|
148
|
+
"""
|
149
|
+
return pulumi.get(self, "oracle_db_connector_id")
|
150
|
+
|
151
|
+
@_builtins.property
|
152
|
+
@pulumi.getter(name="oracleDbGcpKeyRingId")
|
153
|
+
def oracle_db_gcp_key_ring_id(self) -> _builtins.str:
|
154
|
+
return pulumi.get(self, "oracle_db_gcp_key_ring_id")
|
155
|
+
|
156
|
+
@_builtins.property
|
157
|
+
@pulumi.getter
|
158
|
+
def properties(self) -> Mapping[str, _builtins.str]:
|
159
|
+
"""
|
160
|
+
Oracle DB GCP Key Ring resource's properties.
|
161
|
+
"""
|
162
|
+
return pulumi.get(self, "properties")
|
163
|
+
|
164
|
+
@_builtins.property
|
165
|
+
@pulumi.getter
|
166
|
+
def state(self) -> _builtins.str:
|
167
|
+
"""
|
168
|
+
The lifecycle state of the Oracle DB GCP Key Ring resource.
|
169
|
+
"""
|
170
|
+
return pulumi.get(self, "state")
|
171
|
+
|
172
|
+
@_builtins.property
|
173
|
+
@pulumi.getter(name="systemTags")
|
174
|
+
def system_tags(self) -> Mapping[str, _builtins.str]:
|
175
|
+
"""
|
176
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
177
|
+
"""
|
178
|
+
return pulumi.get(self, "system_tags")
|
179
|
+
|
180
|
+
@_builtins.property
|
181
|
+
@pulumi.getter(name="timeCreated")
|
182
|
+
def time_created(self) -> _builtins.str:
|
183
|
+
"""
|
184
|
+
Time when the DB GCP Key Ring resource was created in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-23T21:10:29.600Z'
|
185
|
+
"""
|
186
|
+
return pulumi.get(self, "time_created")
|
187
|
+
|
188
|
+
@_builtins.property
|
189
|
+
@pulumi.getter(name="timeUpdated")
|
190
|
+
def time_updated(self) -> _builtins.str:
|
191
|
+
"""
|
192
|
+
Time when the DB GCP Key Ring resource was last modified, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-23T21:10:29.600Z'
|
193
|
+
"""
|
194
|
+
return pulumi.get(self, "time_updated")
|
195
|
+
|
196
|
+
@_builtins.property
|
197
|
+
@pulumi.getter
|
198
|
+
def type(self) -> _builtins.str:
|
199
|
+
"""
|
200
|
+
Oracle DB GCP Key Ring resource Type.
|
201
|
+
"""
|
202
|
+
return pulumi.get(self, "type")
|
203
|
+
|
204
|
+
|
205
|
+
class AwaitableGetDbmulticloudOracleDbGcpKeyRingResult(GetDbmulticloudOracleDbGcpKeyRingResult):
|
206
|
+
# pylint: disable=using-constant-test
|
207
|
+
def __await__(self):
|
208
|
+
if False:
|
209
|
+
yield self
|
210
|
+
return GetDbmulticloudOracleDbGcpKeyRingResult(
|
211
|
+
compartment_id=self.compartment_id,
|
212
|
+
defined_tags=self.defined_tags,
|
213
|
+
display_name=self.display_name,
|
214
|
+
freeform_tags=self.freeform_tags,
|
215
|
+
gcp_key_ring_id=self.gcp_key_ring_id,
|
216
|
+
id=self.id,
|
217
|
+
lifecycle_state_details=self.lifecycle_state_details,
|
218
|
+
location=self.location,
|
219
|
+
oracle_db_connector_id=self.oracle_db_connector_id,
|
220
|
+
oracle_db_gcp_key_ring_id=self.oracle_db_gcp_key_ring_id,
|
221
|
+
properties=self.properties,
|
222
|
+
state=self.state,
|
223
|
+
system_tags=self.system_tags,
|
224
|
+
time_created=self.time_created,
|
225
|
+
time_updated=self.time_updated,
|
226
|
+
type=self.type)
|
227
|
+
|
228
|
+
|
229
|
+
def get_dbmulticloud_oracle_db_gcp_key_ring(oracle_db_gcp_key_ring_id: Optional[_builtins.str] = None,
|
230
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDbmulticloudOracleDbGcpKeyRingResult:
|
231
|
+
"""
|
232
|
+
This data source provides details about a specific Oracle Db Gcp Key Ring resource in Oracle Cloud Infrastructure Dbmulticloud service.
|
233
|
+
|
234
|
+
Retrieves the Oracle GCP Key Ring details using a specific Container resource [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
235
|
+
|
236
|
+
## Example Usage
|
237
|
+
|
238
|
+
```python
|
239
|
+
import pulumi
|
240
|
+
import pulumi_oci as oci
|
241
|
+
|
242
|
+
test_oracle_db_gcp_key_ring = oci.oci.get_dbmulticloud_oracle_db_gcp_key_ring(oracle_db_gcp_key_ring_id=test_oracle_db_gcp_key_ring_oci_dbmulticloud_oracle_db_gcp_key_ring["id"])
|
243
|
+
```
|
244
|
+
|
245
|
+
|
246
|
+
:param _builtins.str oracle_db_gcp_key_ring_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB GCP Key-Ring resource.
|
247
|
+
"""
|
248
|
+
__args__ = dict()
|
249
|
+
__args__['oracleDbGcpKeyRingId'] = oracle_db_gcp_key_ring_id
|
250
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
251
|
+
__ret__ = pulumi.runtime.invoke('oci:oci/getDbmulticloudOracleDbGcpKeyRing:getDbmulticloudOracleDbGcpKeyRing', __args__, opts=opts, typ=GetDbmulticloudOracleDbGcpKeyRingResult).value
|
252
|
+
|
253
|
+
return AwaitableGetDbmulticloudOracleDbGcpKeyRingResult(
|
254
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
255
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
256
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
257
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
258
|
+
gcp_key_ring_id=pulumi.get(__ret__, 'gcp_key_ring_id'),
|
259
|
+
id=pulumi.get(__ret__, 'id'),
|
260
|
+
lifecycle_state_details=pulumi.get(__ret__, 'lifecycle_state_details'),
|
261
|
+
location=pulumi.get(__ret__, 'location'),
|
262
|
+
oracle_db_connector_id=pulumi.get(__ret__, 'oracle_db_connector_id'),
|
263
|
+
oracle_db_gcp_key_ring_id=pulumi.get(__ret__, 'oracle_db_gcp_key_ring_id'),
|
264
|
+
properties=pulumi.get(__ret__, 'properties'),
|
265
|
+
state=pulumi.get(__ret__, 'state'),
|
266
|
+
system_tags=pulumi.get(__ret__, 'system_tags'),
|
267
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
268
|
+
time_updated=pulumi.get(__ret__, 'time_updated'),
|
269
|
+
type=pulumi.get(__ret__, 'type'))
|
270
|
+
def get_dbmulticloud_oracle_db_gcp_key_ring_output(oracle_db_gcp_key_ring_id: Optional[pulumi.Input[_builtins.str]] = None,
|
271
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDbmulticloudOracleDbGcpKeyRingResult]:
|
272
|
+
"""
|
273
|
+
This data source provides details about a specific Oracle Db Gcp Key Ring resource in Oracle Cloud Infrastructure Dbmulticloud service.
|
274
|
+
|
275
|
+
Retrieves the Oracle GCP Key Ring details using a specific Container resource [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
276
|
+
|
277
|
+
## Example Usage
|
278
|
+
|
279
|
+
```python
|
280
|
+
import pulumi
|
281
|
+
import pulumi_oci as oci
|
282
|
+
|
283
|
+
test_oracle_db_gcp_key_ring = oci.oci.get_dbmulticloud_oracle_db_gcp_key_ring(oracle_db_gcp_key_ring_id=test_oracle_db_gcp_key_ring_oci_dbmulticloud_oracle_db_gcp_key_ring["id"])
|
284
|
+
```
|
285
|
+
|
286
|
+
|
287
|
+
:param _builtins.str oracle_db_gcp_key_ring_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB GCP Key-Ring resource.
|
288
|
+
"""
|
289
|
+
__args__ = dict()
|
290
|
+
__args__['oracleDbGcpKeyRingId'] = oracle_db_gcp_key_ring_id
|
291
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
292
|
+
__ret__ = pulumi.runtime.invoke_output('oci:oci/getDbmulticloudOracleDbGcpKeyRing:getDbmulticloudOracleDbGcpKeyRing', __args__, opts=opts, typ=GetDbmulticloudOracleDbGcpKeyRingResult)
|
293
|
+
return __ret__.apply(lambda __response__: GetDbmulticloudOracleDbGcpKeyRingResult(
|
294
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
295
|
+
defined_tags=pulumi.get(__response__, 'defined_tags'),
|
296
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
297
|
+
freeform_tags=pulumi.get(__response__, 'freeform_tags'),
|
298
|
+
gcp_key_ring_id=pulumi.get(__response__, 'gcp_key_ring_id'),
|
299
|
+
id=pulumi.get(__response__, 'id'),
|
300
|
+
lifecycle_state_details=pulumi.get(__response__, 'lifecycle_state_details'),
|
301
|
+
location=pulumi.get(__response__, 'location'),
|
302
|
+
oracle_db_connector_id=pulumi.get(__response__, 'oracle_db_connector_id'),
|
303
|
+
oracle_db_gcp_key_ring_id=pulumi.get(__response__, 'oracle_db_gcp_key_ring_id'),
|
304
|
+
properties=pulumi.get(__response__, 'properties'),
|
305
|
+
state=pulumi.get(__response__, 'state'),
|
306
|
+
system_tags=pulumi.get(__response__, 'system_tags'),
|
307
|
+
time_created=pulumi.get(__response__, 'time_created'),
|
308
|
+
time_updated=pulumi.get(__response__, 'time_updated'),
|
309
|
+
type=pulumi.get(__response__, 'type')))
|