pulumi-oci 1.17.0a1702406535__py3-none-any.whl → 1.18.0a1702447417__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/core/instance.py +7 -7
- pulumi_oci/database/__init__.py +1 -0
- pulumi_oci/database/autonomous_database.py +20 -1
- pulumi_oci/database/autonomous_database_saas_admin_user.py +479 -0
- pulumi_oci/datacatalog/_inputs.py +216 -0
- pulumi_oci/datacatalog/catalog.py +58 -0
- pulumi_oci/datacatalog/catalog_private_endpoint.py +58 -0
- pulumi_oci/datacatalog/get_catalog.py +28 -1
- pulumi_oci/datacatalog/get_catalog_private_endpoint.py +28 -1
- pulumi_oci/datacatalog/get_metastore.py +28 -1
- pulumi_oci/datacatalog/metastore.py +58 -0
- pulumi_oci/datacatalog/outputs.py +603 -0
- pulumi_oci/datasafe/_inputs.py +32 -0
- pulumi_oci/datasafe/database_security_config.py +7 -7
- pulumi_oci/datasafe/get_audit_events.py +1 -1
- pulumi_oci/datasafe/get_discovery_analytics.py +38 -1
- pulumi_oci/datasafe/get_report.py +1 -1
- pulumi_oci/datasafe/get_report_content.py +2 -2
- pulumi_oci/datasafe/get_report_definition.py +4 -4
- pulumi_oci/datasafe/get_sdm_masking_policy_difference.py +2 -2
- pulumi_oci/datasafe/get_sdm_masking_policy_differences.py +1 -1
- pulumi_oci/datasafe/get_security_assessment_findings.py +1 -1
- pulumi_oci/datasafe/get_sensitive_type.py +14 -1
- pulumi_oci/datasafe/get_sensitive_types.py +21 -1
- pulumi_oci/datasafe/get_user_assessment_profile_analytics.py +2 -2
- pulumi_oci/datasafe/get_user_assessment_user_analytics.py +2 -2
- pulumi_oci/datasafe/masking_policies_masking_column.py +2 -0
- pulumi_oci/datasafe/outputs.py +114 -24
- pulumi_oci/datasafe/report_definition.py +16 -16
- pulumi_oci/datasafe/sensitive_type.py +28 -0
- pulumi_oci/datasafe/sql_firewall_policy.py +103 -103
- pulumi_oci/goldengate/_inputs.py +28 -2
- pulumi_oci/goldengate/connection.py +77 -21
- pulumi_oci/goldengate/database_registration.py +7 -7
- pulumi_oci/goldengate/deployment.py +110 -7
- pulumi_oci/goldengate/get_connection.py +16 -2
- pulumi_oci/goldengate/get_database_registration.py +1 -1
- pulumi_oci/goldengate/get_deployment.py +41 -2
- pulumi_oci/goldengate/outputs.py +138 -11
- pulumi_oci/identity/__init__.py +3 -0
- pulumi_oci/identity/_inputs.py +862 -6
- pulumi_oci/identity/domains_identity_propagation_trust.py +3489 -0
- pulumi_oci/identity/domains_user.py +40 -41
- pulumi_oci/identity/get_domains_identity_propagation_trust.py +581 -0
- pulumi_oci/identity/get_domains_identity_propagation_trusts.py +310 -0
- pulumi_oci/identity/outputs.py +2625 -821
- pulumi_oci/logging/_inputs.py +17 -1
- pulumi_oci/logging/log.py +2 -0
- pulumi_oci/logging/outputs.py +35 -1
- pulumi_oci/meteringcomputation/__init__.py +7 -0
- pulumi_oci/meteringcomputation/_inputs.py +787 -0
- pulumi_oci/meteringcomputation/get_average_carbon_emission.py +121 -0
- pulumi_oci/meteringcomputation/get_clean_energy_usage.py +116 -0
- pulumi_oci/meteringcomputation/get_schedule.py +2 -2
- pulumi_oci/meteringcomputation/get_usage_carbon_emissions_config.py +119 -0
- pulumi_oci/meteringcomputation/get_usage_carbon_emissions_queries.py +136 -0
- pulumi_oci/meteringcomputation/get_usage_carbon_emissions_query.py +132 -0
- pulumi_oci/meteringcomputation/outputs.py +2410 -1149
- pulumi_oci/meteringcomputation/schedule.py +14 -14
- pulumi_oci/meteringcomputation/usage_carbon_emission.py +597 -0
- pulumi_oci/meteringcomputation/usage_carbon_emissions_query.py +282 -0
- pulumi_oci/opsi/__init__.py +4 -0
- pulumi_oci/opsi/_inputs.py +46 -0
- pulumi_oci/opsi/awr_hub.py +49 -22
- pulumi_oci/opsi/awr_hub_source.py +957 -0
- pulumi_oci/opsi/awr_hub_source_awrhubsources_management.py +248 -0
- pulumi_oci/opsi/get_awr_hub.py +14 -1
- pulumi_oci/opsi/get_awr_hub_source.py +391 -0
- pulumi_oci/opsi/get_awr_hub_sources.py +250 -0
- pulumi_oci/opsi/operations_insights_warehouse.py +7 -7
- pulumi_oci/opsi/outputs.py +319 -0
- pulumi_oci/optimizer/get_histories.py +18 -1
- pulumi_oci/optimizer/get_profile.py +11 -1
- pulumi_oci/optimizer/get_resource_action.py +22 -5
- pulumi_oci/optimizer/get_resource_actions.py +18 -1
- pulumi_oci/optimizer/outputs.py +7 -0
- pulumi_oci/optimizer/profile.py +20 -0
- {pulumi_oci-1.17.0a1702406535.dist-info → pulumi_oci-1.18.0a1702447417.dist-info}/METADATA +1 -1
- {pulumi_oci-1.17.0a1702406535.dist-info → pulumi_oci-1.18.0a1702447417.dist-info}/RECORD +82 -67
- {pulumi_oci-1.17.0a1702406535.dist-info → pulumi_oci-1.18.0a1702447417.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.17.0a1702406535.dist-info → pulumi_oci-1.18.0a1702447417.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,479 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
|
12
|
+
__all__ = ['AutonomousDatabaseSaasAdminUserArgs', 'AutonomousDatabaseSaasAdminUser']
|
13
|
+
|
14
|
+
@pulumi.input_type
|
15
|
+
class AutonomousDatabaseSaasAdminUserArgs:
|
16
|
+
def __init__(__self__, *,
|
17
|
+
autonomous_database_id: pulumi.Input[str],
|
18
|
+
access_type: Optional[pulumi.Input[str]] = None,
|
19
|
+
duration: Optional[pulumi.Input[int]] = None,
|
20
|
+
password: Optional[pulumi.Input[str]] = None,
|
21
|
+
secret_id: Optional[pulumi.Input[str]] = None,
|
22
|
+
secret_version_number: Optional[pulumi.Input[int]] = None,
|
23
|
+
time_saas_admin_user_enabled: Optional[pulumi.Input[str]] = None):
|
24
|
+
"""
|
25
|
+
The set of arguments for constructing a AutonomousDatabaseSaasAdminUser resource.
|
26
|
+
:param pulumi.Input[str] autonomous_database_id: The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
27
|
+
:param pulumi.Input[str] access_type: The access type for the SaaS administrative user. If no access type is specified, the READ_ONLY access type is used.
|
28
|
+
:param pulumi.Input[int] duration: How long, in hours, the SaaS administrative user will stay enabled. If no duration is specified, the default value 1 will be used.
|
29
|
+
:param pulumi.Input[str] password: A strong password for SaaS administrative user. The password must be a minimum of nine (9) characters and contain a minimum of two (2) uppercase, two (2) lowercase, two (2) numbers, and two (2) special characters from _ (underscore), \\# (hashtag), or - (dash). The password is mandatory if "secret_id" is not present.
|
30
|
+
:param pulumi.Input[str] secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [secret](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). The secret is mandatory if "password" is not present.
|
31
|
+
:param pulumi.Input[int] secret_version_number: The version of the vault secret. If no version is specified, the latest version will be used.
|
32
|
+
|
33
|
+
|
34
|
+
** IMPORTANT **
|
35
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
36
|
+
"""
|
37
|
+
pulumi.set(__self__, "autonomous_database_id", autonomous_database_id)
|
38
|
+
if access_type is not None:
|
39
|
+
pulumi.set(__self__, "access_type", access_type)
|
40
|
+
if duration is not None:
|
41
|
+
pulumi.set(__self__, "duration", duration)
|
42
|
+
if password is not None:
|
43
|
+
pulumi.set(__self__, "password", password)
|
44
|
+
if secret_id is not None:
|
45
|
+
pulumi.set(__self__, "secret_id", secret_id)
|
46
|
+
if secret_version_number is not None:
|
47
|
+
pulumi.set(__self__, "secret_version_number", secret_version_number)
|
48
|
+
if time_saas_admin_user_enabled is not None:
|
49
|
+
pulumi.set(__self__, "time_saas_admin_user_enabled", time_saas_admin_user_enabled)
|
50
|
+
|
51
|
+
@property
|
52
|
+
@pulumi.getter(name="autonomousDatabaseId")
|
53
|
+
def autonomous_database_id(self) -> pulumi.Input[str]:
|
54
|
+
"""
|
55
|
+
The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
56
|
+
"""
|
57
|
+
return pulumi.get(self, "autonomous_database_id")
|
58
|
+
|
59
|
+
@autonomous_database_id.setter
|
60
|
+
def autonomous_database_id(self, value: pulumi.Input[str]):
|
61
|
+
pulumi.set(self, "autonomous_database_id", value)
|
62
|
+
|
63
|
+
@property
|
64
|
+
@pulumi.getter(name="accessType")
|
65
|
+
def access_type(self) -> Optional[pulumi.Input[str]]:
|
66
|
+
"""
|
67
|
+
The access type for the SaaS administrative user. If no access type is specified, the READ_ONLY access type is used.
|
68
|
+
"""
|
69
|
+
return pulumi.get(self, "access_type")
|
70
|
+
|
71
|
+
@access_type.setter
|
72
|
+
def access_type(self, value: Optional[pulumi.Input[str]]):
|
73
|
+
pulumi.set(self, "access_type", value)
|
74
|
+
|
75
|
+
@property
|
76
|
+
@pulumi.getter
|
77
|
+
def duration(self) -> Optional[pulumi.Input[int]]:
|
78
|
+
"""
|
79
|
+
How long, in hours, the SaaS administrative user will stay enabled. If no duration is specified, the default value 1 will be used.
|
80
|
+
"""
|
81
|
+
return pulumi.get(self, "duration")
|
82
|
+
|
83
|
+
@duration.setter
|
84
|
+
def duration(self, value: Optional[pulumi.Input[int]]):
|
85
|
+
pulumi.set(self, "duration", value)
|
86
|
+
|
87
|
+
@property
|
88
|
+
@pulumi.getter
|
89
|
+
def password(self) -> Optional[pulumi.Input[str]]:
|
90
|
+
"""
|
91
|
+
A strong password for SaaS administrative user. The password must be a minimum of nine (9) characters and contain a minimum of two (2) uppercase, two (2) lowercase, two (2) numbers, and two (2) special characters from _ (underscore), \\# (hashtag), or - (dash). The password is mandatory if "secret_id" is not present.
|
92
|
+
"""
|
93
|
+
return pulumi.get(self, "password")
|
94
|
+
|
95
|
+
@password.setter
|
96
|
+
def password(self, value: Optional[pulumi.Input[str]]):
|
97
|
+
pulumi.set(self, "password", value)
|
98
|
+
|
99
|
+
@property
|
100
|
+
@pulumi.getter(name="secretId")
|
101
|
+
def secret_id(self) -> Optional[pulumi.Input[str]]:
|
102
|
+
"""
|
103
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [secret](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). The secret is mandatory if "password" is not present.
|
104
|
+
"""
|
105
|
+
return pulumi.get(self, "secret_id")
|
106
|
+
|
107
|
+
@secret_id.setter
|
108
|
+
def secret_id(self, value: Optional[pulumi.Input[str]]):
|
109
|
+
pulumi.set(self, "secret_id", value)
|
110
|
+
|
111
|
+
@property
|
112
|
+
@pulumi.getter(name="secretVersionNumber")
|
113
|
+
def secret_version_number(self) -> Optional[pulumi.Input[int]]:
|
114
|
+
"""
|
115
|
+
The version of the vault secret. If no version is specified, the latest version will be used.
|
116
|
+
|
117
|
+
|
118
|
+
** IMPORTANT **
|
119
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
120
|
+
"""
|
121
|
+
return pulumi.get(self, "secret_version_number")
|
122
|
+
|
123
|
+
@secret_version_number.setter
|
124
|
+
def secret_version_number(self, value: Optional[pulumi.Input[int]]):
|
125
|
+
pulumi.set(self, "secret_version_number", value)
|
126
|
+
|
127
|
+
@property
|
128
|
+
@pulumi.getter(name="timeSaasAdminUserEnabled")
|
129
|
+
def time_saas_admin_user_enabled(self) -> Optional[pulumi.Input[str]]:
|
130
|
+
return pulumi.get(self, "time_saas_admin_user_enabled")
|
131
|
+
|
132
|
+
@time_saas_admin_user_enabled.setter
|
133
|
+
def time_saas_admin_user_enabled(self, value: Optional[pulumi.Input[str]]):
|
134
|
+
pulumi.set(self, "time_saas_admin_user_enabled", value)
|
135
|
+
|
136
|
+
|
137
|
+
@pulumi.input_type
|
138
|
+
class _AutonomousDatabaseSaasAdminUserState:
|
139
|
+
def __init__(__self__, *,
|
140
|
+
access_type: Optional[pulumi.Input[str]] = None,
|
141
|
+
autonomous_database_id: Optional[pulumi.Input[str]] = None,
|
142
|
+
duration: Optional[pulumi.Input[int]] = None,
|
143
|
+
password: Optional[pulumi.Input[str]] = None,
|
144
|
+
secret_id: Optional[pulumi.Input[str]] = None,
|
145
|
+
secret_version_number: Optional[pulumi.Input[int]] = None,
|
146
|
+
time_saas_admin_user_enabled: Optional[pulumi.Input[str]] = None):
|
147
|
+
"""
|
148
|
+
Input properties used for looking up and filtering AutonomousDatabaseSaasAdminUser resources.
|
149
|
+
:param pulumi.Input[str] access_type: The access type for the SaaS administrative user. If no access type is specified, the READ_ONLY access type is used.
|
150
|
+
:param pulumi.Input[str] autonomous_database_id: The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
151
|
+
:param pulumi.Input[int] duration: How long, in hours, the SaaS administrative user will stay enabled. If no duration is specified, the default value 1 will be used.
|
152
|
+
:param pulumi.Input[str] password: A strong password for SaaS administrative user. The password must be a minimum of nine (9) characters and contain a minimum of two (2) uppercase, two (2) lowercase, two (2) numbers, and two (2) special characters from _ (underscore), \\# (hashtag), or - (dash). The password is mandatory if "secret_id" is not present.
|
153
|
+
:param pulumi.Input[str] secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [secret](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). The secret is mandatory if "password" is not present.
|
154
|
+
:param pulumi.Input[int] secret_version_number: The version of the vault secret. If no version is specified, the latest version will be used.
|
155
|
+
|
156
|
+
|
157
|
+
** IMPORTANT **
|
158
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
159
|
+
"""
|
160
|
+
if access_type is not None:
|
161
|
+
pulumi.set(__self__, "access_type", access_type)
|
162
|
+
if autonomous_database_id is not None:
|
163
|
+
pulumi.set(__self__, "autonomous_database_id", autonomous_database_id)
|
164
|
+
if duration is not None:
|
165
|
+
pulumi.set(__self__, "duration", duration)
|
166
|
+
if password is not None:
|
167
|
+
pulumi.set(__self__, "password", password)
|
168
|
+
if secret_id is not None:
|
169
|
+
pulumi.set(__self__, "secret_id", secret_id)
|
170
|
+
if secret_version_number is not None:
|
171
|
+
pulumi.set(__self__, "secret_version_number", secret_version_number)
|
172
|
+
if time_saas_admin_user_enabled is not None:
|
173
|
+
pulumi.set(__self__, "time_saas_admin_user_enabled", time_saas_admin_user_enabled)
|
174
|
+
|
175
|
+
@property
|
176
|
+
@pulumi.getter(name="accessType")
|
177
|
+
def access_type(self) -> Optional[pulumi.Input[str]]:
|
178
|
+
"""
|
179
|
+
The access type for the SaaS administrative user. If no access type is specified, the READ_ONLY access type is used.
|
180
|
+
"""
|
181
|
+
return pulumi.get(self, "access_type")
|
182
|
+
|
183
|
+
@access_type.setter
|
184
|
+
def access_type(self, value: Optional[pulumi.Input[str]]):
|
185
|
+
pulumi.set(self, "access_type", value)
|
186
|
+
|
187
|
+
@property
|
188
|
+
@pulumi.getter(name="autonomousDatabaseId")
|
189
|
+
def autonomous_database_id(self) -> Optional[pulumi.Input[str]]:
|
190
|
+
"""
|
191
|
+
The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
192
|
+
"""
|
193
|
+
return pulumi.get(self, "autonomous_database_id")
|
194
|
+
|
195
|
+
@autonomous_database_id.setter
|
196
|
+
def autonomous_database_id(self, value: Optional[pulumi.Input[str]]):
|
197
|
+
pulumi.set(self, "autonomous_database_id", value)
|
198
|
+
|
199
|
+
@property
|
200
|
+
@pulumi.getter
|
201
|
+
def duration(self) -> Optional[pulumi.Input[int]]:
|
202
|
+
"""
|
203
|
+
How long, in hours, the SaaS administrative user will stay enabled. If no duration is specified, the default value 1 will be used.
|
204
|
+
"""
|
205
|
+
return pulumi.get(self, "duration")
|
206
|
+
|
207
|
+
@duration.setter
|
208
|
+
def duration(self, value: Optional[pulumi.Input[int]]):
|
209
|
+
pulumi.set(self, "duration", value)
|
210
|
+
|
211
|
+
@property
|
212
|
+
@pulumi.getter
|
213
|
+
def password(self) -> Optional[pulumi.Input[str]]:
|
214
|
+
"""
|
215
|
+
A strong password for SaaS administrative user. The password must be a minimum of nine (9) characters and contain a minimum of two (2) uppercase, two (2) lowercase, two (2) numbers, and two (2) special characters from _ (underscore), \\# (hashtag), or - (dash). The password is mandatory if "secret_id" is not present.
|
216
|
+
"""
|
217
|
+
return pulumi.get(self, "password")
|
218
|
+
|
219
|
+
@password.setter
|
220
|
+
def password(self, value: Optional[pulumi.Input[str]]):
|
221
|
+
pulumi.set(self, "password", value)
|
222
|
+
|
223
|
+
@property
|
224
|
+
@pulumi.getter(name="secretId")
|
225
|
+
def secret_id(self) -> Optional[pulumi.Input[str]]:
|
226
|
+
"""
|
227
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [secret](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). The secret is mandatory if "password" is not present.
|
228
|
+
"""
|
229
|
+
return pulumi.get(self, "secret_id")
|
230
|
+
|
231
|
+
@secret_id.setter
|
232
|
+
def secret_id(self, value: Optional[pulumi.Input[str]]):
|
233
|
+
pulumi.set(self, "secret_id", value)
|
234
|
+
|
235
|
+
@property
|
236
|
+
@pulumi.getter(name="secretVersionNumber")
|
237
|
+
def secret_version_number(self) -> Optional[pulumi.Input[int]]:
|
238
|
+
"""
|
239
|
+
The version of the vault secret. If no version is specified, the latest version will be used.
|
240
|
+
|
241
|
+
|
242
|
+
** IMPORTANT **
|
243
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
244
|
+
"""
|
245
|
+
return pulumi.get(self, "secret_version_number")
|
246
|
+
|
247
|
+
@secret_version_number.setter
|
248
|
+
def secret_version_number(self, value: Optional[pulumi.Input[int]]):
|
249
|
+
pulumi.set(self, "secret_version_number", value)
|
250
|
+
|
251
|
+
@property
|
252
|
+
@pulumi.getter(name="timeSaasAdminUserEnabled")
|
253
|
+
def time_saas_admin_user_enabled(self) -> Optional[pulumi.Input[str]]:
|
254
|
+
return pulumi.get(self, "time_saas_admin_user_enabled")
|
255
|
+
|
256
|
+
@time_saas_admin_user_enabled.setter
|
257
|
+
def time_saas_admin_user_enabled(self, value: Optional[pulumi.Input[str]]):
|
258
|
+
pulumi.set(self, "time_saas_admin_user_enabled", value)
|
259
|
+
|
260
|
+
|
261
|
+
class AutonomousDatabaseSaasAdminUser(pulumi.CustomResource):
|
262
|
+
@overload
|
263
|
+
def __init__(__self__,
|
264
|
+
resource_name: str,
|
265
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
266
|
+
access_type: Optional[pulumi.Input[str]] = None,
|
267
|
+
autonomous_database_id: Optional[pulumi.Input[str]] = None,
|
268
|
+
duration: Optional[pulumi.Input[int]] = None,
|
269
|
+
password: Optional[pulumi.Input[str]] = None,
|
270
|
+
secret_id: Optional[pulumi.Input[str]] = None,
|
271
|
+
secret_version_number: Optional[pulumi.Input[int]] = None,
|
272
|
+
time_saas_admin_user_enabled: Optional[pulumi.Input[str]] = None,
|
273
|
+
__props__=None):
|
274
|
+
"""
|
275
|
+
This resource creates and enables the Autonomous Database administrative user account in Oracle Cloud Infrastructure Database service.
|
276
|
+
|
277
|
+
## Example Usage
|
278
|
+
|
279
|
+
```python
|
280
|
+
import pulumi
|
281
|
+
import pulumi_oci as oci
|
282
|
+
|
283
|
+
test_autonomous_database_saas_admin_user = oci.database.AutonomousDatabaseSaasAdminUser("testAutonomousDatabaseSaasAdminUser",
|
284
|
+
autonomous_database_id=oci_database_autonomous_database["test_autonomous_database"]["id"],
|
285
|
+
password=var["autonomous_database_saas_admin_user_password"],
|
286
|
+
access_type=var["autonomous_database_saas_admin_user_access_type"],
|
287
|
+
duration=var["autonomous_database_saas_admin_user_duration"])
|
288
|
+
```
|
289
|
+
|
290
|
+
## Import
|
291
|
+
|
292
|
+
Import is not supported for this resource.
|
293
|
+
|
294
|
+
:param str resource_name: The name of the resource.
|
295
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
296
|
+
:param pulumi.Input[str] access_type: The access type for the SaaS administrative user. If no access type is specified, the READ_ONLY access type is used.
|
297
|
+
:param pulumi.Input[str] autonomous_database_id: The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
298
|
+
:param pulumi.Input[int] duration: How long, in hours, the SaaS administrative user will stay enabled. If no duration is specified, the default value 1 will be used.
|
299
|
+
:param pulumi.Input[str] password: A strong password for SaaS administrative user. The password must be a minimum of nine (9) characters and contain a minimum of two (2) uppercase, two (2) lowercase, two (2) numbers, and two (2) special characters from _ (underscore), \\# (hashtag), or - (dash). The password is mandatory if "secret_id" is not present.
|
300
|
+
:param pulumi.Input[str] secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [secret](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). The secret is mandatory if "password" is not present.
|
301
|
+
:param pulumi.Input[int] secret_version_number: The version of the vault secret. If no version is specified, the latest version will be used.
|
302
|
+
|
303
|
+
|
304
|
+
** IMPORTANT **
|
305
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
306
|
+
"""
|
307
|
+
...
|
308
|
+
@overload
|
309
|
+
def __init__(__self__,
|
310
|
+
resource_name: str,
|
311
|
+
args: AutonomousDatabaseSaasAdminUserArgs,
|
312
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
313
|
+
"""
|
314
|
+
This resource creates and enables the Autonomous Database administrative user account in Oracle Cloud Infrastructure Database service.
|
315
|
+
|
316
|
+
## Example Usage
|
317
|
+
|
318
|
+
```python
|
319
|
+
import pulumi
|
320
|
+
import pulumi_oci as oci
|
321
|
+
|
322
|
+
test_autonomous_database_saas_admin_user = oci.database.AutonomousDatabaseSaasAdminUser("testAutonomousDatabaseSaasAdminUser",
|
323
|
+
autonomous_database_id=oci_database_autonomous_database["test_autonomous_database"]["id"],
|
324
|
+
password=var["autonomous_database_saas_admin_user_password"],
|
325
|
+
access_type=var["autonomous_database_saas_admin_user_access_type"],
|
326
|
+
duration=var["autonomous_database_saas_admin_user_duration"])
|
327
|
+
```
|
328
|
+
|
329
|
+
## Import
|
330
|
+
|
331
|
+
Import is not supported for this resource.
|
332
|
+
|
333
|
+
:param str resource_name: The name of the resource.
|
334
|
+
:param AutonomousDatabaseSaasAdminUserArgs args: The arguments to use to populate this resource's properties.
|
335
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
336
|
+
"""
|
337
|
+
...
|
338
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
339
|
+
resource_args, opts = _utilities.get_resource_args_opts(AutonomousDatabaseSaasAdminUserArgs, pulumi.ResourceOptions, *args, **kwargs)
|
340
|
+
if resource_args is not None:
|
341
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
342
|
+
else:
|
343
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
344
|
+
|
345
|
+
def _internal_init(__self__,
|
346
|
+
resource_name: str,
|
347
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
348
|
+
access_type: Optional[pulumi.Input[str]] = None,
|
349
|
+
autonomous_database_id: Optional[pulumi.Input[str]] = None,
|
350
|
+
duration: Optional[pulumi.Input[int]] = None,
|
351
|
+
password: Optional[pulumi.Input[str]] = None,
|
352
|
+
secret_id: Optional[pulumi.Input[str]] = None,
|
353
|
+
secret_version_number: Optional[pulumi.Input[int]] = None,
|
354
|
+
time_saas_admin_user_enabled: Optional[pulumi.Input[str]] = None,
|
355
|
+
__props__=None):
|
356
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
357
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
358
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
359
|
+
if opts.id is None:
|
360
|
+
if __props__ is not None:
|
361
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
362
|
+
__props__ = AutonomousDatabaseSaasAdminUserArgs.__new__(AutonomousDatabaseSaasAdminUserArgs)
|
363
|
+
|
364
|
+
__props__.__dict__["access_type"] = access_type
|
365
|
+
if autonomous_database_id is None and not opts.urn:
|
366
|
+
raise TypeError("Missing required property 'autonomous_database_id'")
|
367
|
+
__props__.__dict__["autonomous_database_id"] = autonomous_database_id
|
368
|
+
__props__.__dict__["duration"] = duration
|
369
|
+
__props__.__dict__["password"] = None if password is None else pulumi.Output.secret(password)
|
370
|
+
__props__.__dict__["secret_id"] = secret_id
|
371
|
+
__props__.__dict__["secret_version_number"] = secret_version_number
|
372
|
+
__props__.__dict__["time_saas_admin_user_enabled"] = time_saas_admin_user_enabled
|
373
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["password"])
|
374
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
375
|
+
super(AutonomousDatabaseSaasAdminUser, __self__).__init__(
|
376
|
+
'oci:Database/autonomousDatabaseSaasAdminUser:AutonomousDatabaseSaasAdminUser',
|
377
|
+
resource_name,
|
378
|
+
__props__,
|
379
|
+
opts)
|
380
|
+
|
381
|
+
@staticmethod
|
382
|
+
def get(resource_name: str,
|
383
|
+
id: pulumi.Input[str],
|
384
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
385
|
+
access_type: Optional[pulumi.Input[str]] = None,
|
386
|
+
autonomous_database_id: Optional[pulumi.Input[str]] = None,
|
387
|
+
duration: Optional[pulumi.Input[int]] = None,
|
388
|
+
password: Optional[pulumi.Input[str]] = None,
|
389
|
+
secret_id: Optional[pulumi.Input[str]] = None,
|
390
|
+
secret_version_number: Optional[pulumi.Input[int]] = None,
|
391
|
+
time_saas_admin_user_enabled: Optional[pulumi.Input[str]] = None) -> 'AutonomousDatabaseSaasAdminUser':
|
392
|
+
"""
|
393
|
+
Get an existing AutonomousDatabaseSaasAdminUser resource's state with the given name, id, and optional extra
|
394
|
+
properties used to qualify the lookup.
|
395
|
+
|
396
|
+
:param str resource_name: The unique name of the resulting resource.
|
397
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
398
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
399
|
+
:param pulumi.Input[str] access_type: The access type for the SaaS administrative user. If no access type is specified, the READ_ONLY access type is used.
|
400
|
+
:param pulumi.Input[str] autonomous_database_id: The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
401
|
+
:param pulumi.Input[int] duration: How long, in hours, the SaaS administrative user will stay enabled. If no duration is specified, the default value 1 will be used.
|
402
|
+
:param pulumi.Input[str] password: A strong password for SaaS administrative user. The password must be a minimum of nine (9) characters and contain a minimum of two (2) uppercase, two (2) lowercase, two (2) numbers, and two (2) special characters from _ (underscore), \\# (hashtag), or - (dash). The password is mandatory if "secret_id" is not present.
|
403
|
+
:param pulumi.Input[str] secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [secret](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). The secret is mandatory if "password" is not present.
|
404
|
+
:param pulumi.Input[int] secret_version_number: The version of the vault secret. If no version is specified, the latest version will be used.
|
405
|
+
|
406
|
+
|
407
|
+
** IMPORTANT **
|
408
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
409
|
+
"""
|
410
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
411
|
+
|
412
|
+
__props__ = _AutonomousDatabaseSaasAdminUserState.__new__(_AutonomousDatabaseSaasAdminUserState)
|
413
|
+
|
414
|
+
__props__.__dict__["access_type"] = access_type
|
415
|
+
__props__.__dict__["autonomous_database_id"] = autonomous_database_id
|
416
|
+
__props__.__dict__["duration"] = duration
|
417
|
+
__props__.__dict__["password"] = password
|
418
|
+
__props__.__dict__["secret_id"] = secret_id
|
419
|
+
__props__.__dict__["secret_version_number"] = secret_version_number
|
420
|
+
__props__.__dict__["time_saas_admin_user_enabled"] = time_saas_admin_user_enabled
|
421
|
+
return AutonomousDatabaseSaasAdminUser(resource_name, opts=opts, __props__=__props__)
|
422
|
+
|
423
|
+
@property
|
424
|
+
@pulumi.getter(name="accessType")
|
425
|
+
def access_type(self) -> pulumi.Output[Optional[str]]:
|
426
|
+
"""
|
427
|
+
The access type for the SaaS administrative user. If no access type is specified, the READ_ONLY access type is used.
|
428
|
+
"""
|
429
|
+
return pulumi.get(self, "access_type")
|
430
|
+
|
431
|
+
@property
|
432
|
+
@pulumi.getter(name="autonomousDatabaseId")
|
433
|
+
def autonomous_database_id(self) -> pulumi.Output[str]:
|
434
|
+
"""
|
435
|
+
The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
436
|
+
"""
|
437
|
+
return pulumi.get(self, "autonomous_database_id")
|
438
|
+
|
439
|
+
@property
|
440
|
+
@pulumi.getter
|
441
|
+
def duration(self) -> pulumi.Output[Optional[int]]:
|
442
|
+
"""
|
443
|
+
How long, in hours, the SaaS administrative user will stay enabled. If no duration is specified, the default value 1 will be used.
|
444
|
+
"""
|
445
|
+
return pulumi.get(self, "duration")
|
446
|
+
|
447
|
+
@property
|
448
|
+
@pulumi.getter
|
449
|
+
def password(self) -> pulumi.Output[Optional[str]]:
|
450
|
+
"""
|
451
|
+
A strong password for SaaS administrative user. The password must be a minimum of nine (9) characters and contain a minimum of two (2) uppercase, two (2) lowercase, two (2) numbers, and two (2) special characters from _ (underscore), \\# (hashtag), or - (dash). The password is mandatory if "secret_id" is not present.
|
452
|
+
"""
|
453
|
+
return pulumi.get(self, "password")
|
454
|
+
|
455
|
+
@property
|
456
|
+
@pulumi.getter(name="secretId")
|
457
|
+
def secret_id(self) -> pulumi.Output[Optional[str]]:
|
458
|
+
"""
|
459
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [secret](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). The secret is mandatory if "password" is not present.
|
460
|
+
"""
|
461
|
+
return pulumi.get(self, "secret_id")
|
462
|
+
|
463
|
+
@property
|
464
|
+
@pulumi.getter(name="secretVersionNumber")
|
465
|
+
def secret_version_number(self) -> pulumi.Output[Optional[int]]:
|
466
|
+
"""
|
467
|
+
The version of the vault secret. If no version is specified, the latest version will be used.
|
468
|
+
|
469
|
+
|
470
|
+
** IMPORTANT **
|
471
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
472
|
+
"""
|
473
|
+
return pulumi.get(self, "secret_version_number")
|
474
|
+
|
475
|
+
@property
|
476
|
+
@pulumi.getter(name="timeSaasAdminUserEnabled")
|
477
|
+
def time_saas_admin_user_enabled(self) -> pulumi.Output[str]:
|
478
|
+
return pulumi.get(self, "time_saas_admin_user_enabled")
|
479
|
+
|