pulumi-oci 1.34.0a1714565502__py3-none-any.whl → 1.34.0a1714766740__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_oci/__init__.py +40 -0
- pulumi_oci/config/__init__.pyi +2 -2
- pulumi_oci/config/vars.py +2 -2
- pulumi_oci/database/db_home.py +47 -0
- pulumi_oci/database/get_db_home.py +14 -1
- pulumi_oci/database/outputs.py +11 -0
- pulumi_oci/databasemanagement/__init__.py +5 -0
- pulumi_oci/databasemanagement/_inputs.py +1207 -2
- pulumi_oci/databasemanagement/database_dbm_features_management.py +275 -0
- pulumi_oci/databasemanagement/db_management_private_endpoint.py +28 -0
- pulumi_oci/databasemanagement/external_asm.py +28 -0
- pulumi_oci/databasemanagement/external_asm_instance.py +28 -0
- pulumi_oci/databasemanagement/external_cluster.py +28 -0
- pulumi_oci/databasemanagement/external_cluster_instance.py +28 -0
- pulumi_oci/databasemanagement/external_db_home.py +28 -0
- pulumi_oci/databasemanagement/external_db_node.py +28 -0
- pulumi_oci/databasemanagement/external_db_system.py +28 -0
- pulumi_oci/databasemanagement/external_db_system_connector.py +28 -0
- pulumi_oci/databasemanagement/external_db_system_discovery.py +28 -0
- pulumi_oci/databasemanagement/external_exadata_infrastructure.py +28 -0
- pulumi_oci/databasemanagement/external_exadata_storage_connector.py +28 -0
- pulumi_oci/databasemanagement/external_exadata_storage_grid.py +28 -0
- pulumi_oci/databasemanagement/external_exadata_storage_server.py +28 -0
- pulumi_oci/databasemanagement/external_listener.py +28 -0
- pulumi_oci/databasemanagement/externalcontainerdatabase_external_container_dbm_features_management.py +275 -0
- pulumi_oci/databasemanagement/externalnoncontainerdatabase_external_non_container_dbm_features_management.py +275 -0
- pulumi_oci/databasemanagement/externalpluggabledatabase_external_pluggable_dbm_features_management.py +275 -0
- pulumi_oci/databasemanagement/get_db_management_private_endpoint.py +14 -1
- pulumi_oci/databasemanagement/get_external_asm.py +14 -1
- pulumi_oci/databasemanagement/get_external_asm_instance.py +14 -1
- pulumi_oci/databasemanagement/get_external_cluster.py +14 -1
- pulumi_oci/databasemanagement/get_external_cluster_instance.py +14 -1
- pulumi_oci/databasemanagement/get_external_databases.py +18 -1
- pulumi_oci/databasemanagement/get_external_db_home.py +14 -1
- pulumi_oci/databasemanagement/get_external_db_node.py +14 -1
- pulumi_oci/databasemanagement/get_external_db_system.py +14 -1
- pulumi_oci/databasemanagement/get_external_db_system_connector.py +14 -1
- pulumi_oci/databasemanagement/get_external_db_system_discovery.py +14 -1
- pulumi_oci/databasemanagement/get_external_exadata_infrastructure.py +14 -1
- pulumi_oci/databasemanagement/get_external_exadata_storage_connector.py +14 -1
- pulumi_oci/databasemanagement/get_external_exadata_storage_grid.py +14 -1
- pulumi_oci/databasemanagement/get_external_exadata_storage_server.py +14 -1
- pulumi_oci/databasemanagement/get_external_listener.py +14 -1
- pulumi_oci/databasemanagement/get_managed_database_group.py +14 -1
- pulumi_oci/databasemanagement/get_managed_my_sql_database.py +6 -6
- pulumi_oci/databasemanagement/get_named_credential.py +14 -1
- pulumi_oci/databasemanagement/managed_database.py +28 -0
- pulumi_oci/databasemanagement/managed_database_group.py +28 -0
- pulumi_oci/databasemanagement/named_credential.py +28 -0
- pulumi_oci/databasemanagement/outputs.py +1723 -214
- pulumi_oci/databasemanagement/pluggabledatabase_pluggable_database_dbm_features_management.py +275 -0
- pulumi_oci/datasafe/__init__.py +3 -0
- pulumi_oci/datasafe/_inputs.py +80 -0
- pulumi_oci/datasafe/get_masking_policy.py +11 -1
- pulumi_oci/datasafe/get_masking_policy_health_report.py +235 -0
- pulumi_oci/datasafe/get_masking_policy_health_report_logs.py +153 -0
- pulumi_oci/datasafe/get_masking_policy_health_reports.py +267 -0
- pulumi_oci/datasafe/masking_policy.py +75 -28
- pulumi_oci/datasafe/outputs.py +287 -0
- pulumi_oci/provider.py +8 -8
- pulumi_oci/recoverymod/_inputs.py +16 -0
- pulumi_oci/recoverymod/get_protected_database.py +25 -5
- pulumi_oci/recoverymod/get_protection_policies.py +1 -7
- pulumi_oci/recoverymod/get_protection_policy.py +15 -8
- pulumi_oci/recoverymod/get_recovery_service_subnet.py +32 -9
- pulumi_oci/recoverymod/get_recovery_service_subnets.py +3 -21
- pulumi_oci/recoverymod/outputs.py +96 -24
- pulumi_oci/recoverymod/protected_database.py +95 -16
- pulumi_oci/recoverymod/protection_policy.py +121 -54
- pulumi_oci/recoverymod/recovery_service_subnet.py +143 -55
- {pulumi_oci-1.34.0a1714565502.dist-info → pulumi_oci-1.34.0a1714766740.dist-info}/METADATA +1 -1
- {pulumi_oci-1.34.0a1714565502.dist-info → pulumi_oci-1.34.0a1714766740.dist-info}/RECORD +74 -66
- {pulumi_oci-1.34.0a1714565502.dist-info → pulumi_oci-1.34.0a1714766740.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.34.0a1714565502.dist-info → pulumi_oci-1.34.0a1714766740.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,275 @@
|
|
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
|
+
from . import outputs
|
12
|
+
from ._inputs import *
|
13
|
+
|
14
|
+
__all__ = ['PluggabledatabasePluggableDatabaseDbmFeaturesManagementArgs', 'PluggabledatabasePluggableDatabaseDbmFeaturesManagement']
|
15
|
+
|
16
|
+
@pulumi.input_type
|
17
|
+
class PluggabledatabasePluggableDatabaseDbmFeaturesManagementArgs:
|
18
|
+
def __init__(__self__, *,
|
19
|
+
enable_pluggable_database_dbm_feature: pulumi.Input[bool],
|
20
|
+
pluggable_database_id: pulumi.Input[str],
|
21
|
+
feature_details: Optional[pulumi.Input['PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsArgs']] = None):
|
22
|
+
"""
|
23
|
+
The set of arguments for constructing a PluggabledatabasePluggableDatabaseDbmFeaturesManagement resource.
|
24
|
+
:param pulumi.Input[bool] enable_pluggable_database_dbm_feature: (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action.
|
25
|
+
|
26
|
+
|
27
|
+
** IMPORTANT **
|
28
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
29
|
+
:param pulumi.Input[str] pluggable_database_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle cloud pluggable database.
|
30
|
+
:param pulumi.Input['PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsArgs'] feature_details: The details required to enable the specified Database Management feature.
|
31
|
+
"""
|
32
|
+
pulumi.set(__self__, "enable_pluggable_database_dbm_feature", enable_pluggable_database_dbm_feature)
|
33
|
+
pulumi.set(__self__, "pluggable_database_id", pluggable_database_id)
|
34
|
+
if feature_details is not None:
|
35
|
+
pulumi.set(__self__, "feature_details", feature_details)
|
36
|
+
|
37
|
+
@property
|
38
|
+
@pulumi.getter(name="enablePluggableDatabaseDbmFeature")
|
39
|
+
def enable_pluggable_database_dbm_feature(self) -> pulumi.Input[bool]:
|
40
|
+
"""
|
41
|
+
(Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action.
|
42
|
+
|
43
|
+
|
44
|
+
** IMPORTANT **
|
45
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
46
|
+
"""
|
47
|
+
return pulumi.get(self, "enable_pluggable_database_dbm_feature")
|
48
|
+
|
49
|
+
@enable_pluggable_database_dbm_feature.setter
|
50
|
+
def enable_pluggable_database_dbm_feature(self, value: pulumi.Input[bool]):
|
51
|
+
pulumi.set(self, "enable_pluggable_database_dbm_feature", value)
|
52
|
+
|
53
|
+
@property
|
54
|
+
@pulumi.getter(name="pluggableDatabaseId")
|
55
|
+
def pluggable_database_id(self) -> pulumi.Input[str]:
|
56
|
+
"""
|
57
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle cloud pluggable database.
|
58
|
+
"""
|
59
|
+
return pulumi.get(self, "pluggable_database_id")
|
60
|
+
|
61
|
+
@pluggable_database_id.setter
|
62
|
+
def pluggable_database_id(self, value: pulumi.Input[str]):
|
63
|
+
pulumi.set(self, "pluggable_database_id", value)
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter(name="featureDetails")
|
67
|
+
def feature_details(self) -> Optional[pulumi.Input['PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsArgs']]:
|
68
|
+
"""
|
69
|
+
The details required to enable the specified Database Management feature.
|
70
|
+
"""
|
71
|
+
return pulumi.get(self, "feature_details")
|
72
|
+
|
73
|
+
@feature_details.setter
|
74
|
+
def feature_details(self, value: Optional[pulumi.Input['PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsArgs']]):
|
75
|
+
pulumi.set(self, "feature_details", value)
|
76
|
+
|
77
|
+
|
78
|
+
@pulumi.input_type
|
79
|
+
class _PluggabledatabasePluggableDatabaseDbmFeaturesManagementState:
|
80
|
+
def __init__(__self__, *,
|
81
|
+
enable_pluggable_database_dbm_feature: Optional[pulumi.Input[bool]] = None,
|
82
|
+
feature_details: Optional[pulumi.Input['PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsArgs']] = None,
|
83
|
+
pluggable_database_id: Optional[pulumi.Input[str]] = None):
|
84
|
+
"""
|
85
|
+
Input properties used for looking up and filtering PluggabledatabasePluggableDatabaseDbmFeaturesManagement resources.
|
86
|
+
:param pulumi.Input[bool] enable_pluggable_database_dbm_feature: (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action.
|
87
|
+
|
88
|
+
|
89
|
+
** IMPORTANT **
|
90
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
91
|
+
:param pulumi.Input['PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsArgs'] feature_details: The details required to enable the specified Database Management feature.
|
92
|
+
:param pulumi.Input[str] pluggable_database_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle cloud pluggable database.
|
93
|
+
"""
|
94
|
+
if enable_pluggable_database_dbm_feature is not None:
|
95
|
+
pulumi.set(__self__, "enable_pluggable_database_dbm_feature", enable_pluggable_database_dbm_feature)
|
96
|
+
if feature_details is not None:
|
97
|
+
pulumi.set(__self__, "feature_details", feature_details)
|
98
|
+
if pluggable_database_id is not None:
|
99
|
+
pulumi.set(__self__, "pluggable_database_id", pluggable_database_id)
|
100
|
+
|
101
|
+
@property
|
102
|
+
@pulumi.getter(name="enablePluggableDatabaseDbmFeature")
|
103
|
+
def enable_pluggable_database_dbm_feature(self) -> Optional[pulumi.Input[bool]]:
|
104
|
+
"""
|
105
|
+
(Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action.
|
106
|
+
|
107
|
+
|
108
|
+
** IMPORTANT **
|
109
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
110
|
+
"""
|
111
|
+
return pulumi.get(self, "enable_pluggable_database_dbm_feature")
|
112
|
+
|
113
|
+
@enable_pluggable_database_dbm_feature.setter
|
114
|
+
def enable_pluggable_database_dbm_feature(self, value: Optional[pulumi.Input[bool]]):
|
115
|
+
pulumi.set(self, "enable_pluggable_database_dbm_feature", value)
|
116
|
+
|
117
|
+
@property
|
118
|
+
@pulumi.getter(name="featureDetails")
|
119
|
+
def feature_details(self) -> Optional[pulumi.Input['PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsArgs']]:
|
120
|
+
"""
|
121
|
+
The details required to enable the specified Database Management feature.
|
122
|
+
"""
|
123
|
+
return pulumi.get(self, "feature_details")
|
124
|
+
|
125
|
+
@feature_details.setter
|
126
|
+
def feature_details(self, value: Optional[pulumi.Input['PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsArgs']]):
|
127
|
+
pulumi.set(self, "feature_details", value)
|
128
|
+
|
129
|
+
@property
|
130
|
+
@pulumi.getter(name="pluggableDatabaseId")
|
131
|
+
def pluggable_database_id(self) -> Optional[pulumi.Input[str]]:
|
132
|
+
"""
|
133
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle cloud pluggable database.
|
134
|
+
"""
|
135
|
+
return pulumi.get(self, "pluggable_database_id")
|
136
|
+
|
137
|
+
@pluggable_database_id.setter
|
138
|
+
def pluggable_database_id(self, value: Optional[pulumi.Input[str]]):
|
139
|
+
pulumi.set(self, "pluggable_database_id", value)
|
140
|
+
|
141
|
+
|
142
|
+
class PluggabledatabasePluggableDatabaseDbmFeaturesManagement(pulumi.CustomResource):
|
143
|
+
@overload
|
144
|
+
def __init__(__self__,
|
145
|
+
resource_name: str,
|
146
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
147
|
+
enable_pluggable_database_dbm_feature: Optional[pulumi.Input[bool]] = None,
|
148
|
+
feature_details: Optional[pulumi.Input[pulumi.InputType['PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsArgs']]] = None,
|
149
|
+
pluggable_database_id: Optional[pulumi.Input[str]] = None,
|
150
|
+
__props__=None):
|
151
|
+
"""
|
152
|
+
This resource provides the Pluggabledatabase Pluggable Database Dbm Features Management resource in Oracle Cloud Infrastructure Database Management service.
|
153
|
+
|
154
|
+
Enables a Database Management feature for the specified Oracle cloud pluggable database.
|
155
|
+
|
156
|
+
:param str resource_name: The name of the resource.
|
157
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
158
|
+
:param pulumi.Input[bool] enable_pluggable_database_dbm_feature: (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action.
|
159
|
+
|
160
|
+
|
161
|
+
** IMPORTANT **
|
162
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
163
|
+
:param pulumi.Input[pulumi.InputType['PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsArgs']] feature_details: The details required to enable the specified Database Management feature.
|
164
|
+
:param pulumi.Input[str] pluggable_database_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle cloud pluggable database.
|
165
|
+
"""
|
166
|
+
...
|
167
|
+
@overload
|
168
|
+
def __init__(__self__,
|
169
|
+
resource_name: str,
|
170
|
+
args: PluggabledatabasePluggableDatabaseDbmFeaturesManagementArgs,
|
171
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
172
|
+
"""
|
173
|
+
This resource provides the Pluggabledatabase Pluggable Database Dbm Features Management resource in Oracle Cloud Infrastructure Database Management service.
|
174
|
+
|
175
|
+
Enables a Database Management feature for the specified Oracle cloud pluggable database.
|
176
|
+
|
177
|
+
:param str resource_name: The name of the resource.
|
178
|
+
:param PluggabledatabasePluggableDatabaseDbmFeaturesManagementArgs args: The arguments to use to populate this resource's properties.
|
179
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
180
|
+
"""
|
181
|
+
...
|
182
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
183
|
+
resource_args, opts = _utilities.get_resource_args_opts(PluggabledatabasePluggableDatabaseDbmFeaturesManagementArgs, pulumi.ResourceOptions, *args, **kwargs)
|
184
|
+
if resource_args is not None:
|
185
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
186
|
+
else:
|
187
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
188
|
+
|
189
|
+
def _internal_init(__self__,
|
190
|
+
resource_name: str,
|
191
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
192
|
+
enable_pluggable_database_dbm_feature: Optional[pulumi.Input[bool]] = None,
|
193
|
+
feature_details: Optional[pulumi.Input[pulumi.InputType['PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsArgs']]] = None,
|
194
|
+
pluggable_database_id: Optional[pulumi.Input[str]] = None,
|
195
|
+
__props__=None):
|
196
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
197
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
198
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
199
|
+
if opts.id is None:
|
200
|
+
if __props__ is not None:
|
201
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
202
|
+
__props__ = PluggabledatabasePluggableDatabaseDbmFeaturesManagementArgs.__new__(PluggabledatabasePluggableDatabaseDbmFeaturesManagementArgs)
|
203
|
+
|
204
|
+
if enable_pluggable_database_dbm_feature is None and not opts.urn:
|
205
|
+
raise TypeError("Missing required property 'enable_pluggable_database_dbm_feature'")
|
206
|
+
__props__.__dict__["enable_pluggable_database_dbm_feature"] = enable_pluggable_database_dbm_feature
|
207
|
+
__props__.__dict__["feature_details"] = feature_details
|
208
|
+
if pluggable_database_id is None and not opts.urn:
|
209
|
+
raise TypeError("Missing required property 'pluggable_database_id'")
|
210
|
+
__props__.__dict__["pluggable_database_id"] = pluggable_database_id
|
211
|
+
super(PluggabledatabasePluggableDatabaseDbmFeaturesManagement, __self__).__init__(
|
212
|
+
'oci:DatabaseManagement/pluggabledatabasePluggableDatabaseDbmFeaturesManagement:PluggabledatabasePluggableDatabaseDbmFeaturesManagement',
|
213
|
+
resource_name,
|
214
|
+
__props__,
|
215
|
+
opts)
|
216
|
+
|
217
|
+
@staticmethod
|
218
|
+
def get(resource_name: str,
|
219
|
+
id: pulumi.Input[str],
|
220
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
221
|
+
enable_pluggable_database_dbm_feature: Optional[pulumi.Input[bool]] = None,
|
222
|
+
feature_details: Optional[pulumi.Input[pulumi.InputType['PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsArgs']]] = None,
|
223
|
+
pluggable_database_id: Optional[pulumi.Input[str]] = None) -> 'PluggabledatabasePluggableDatabaseDbmFeaturesManagement':
|
224
|
+
"""
|
225
|
+
Get an existing PluggabledatabasePluggableDatabaseDbmFeaturesManagement resource's state with the given name, id, and optional extra
|
226
|
+
properties used to qualify the lookup.
|
227
|
+
|
228
|
+
:param str resource_name: The unique name of the resulting resource.
|
229
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
230
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
231
|
+
:param pulumi.Input[bool] enable_pluggable_database_dbm_feature: (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action.
|
232
|
+
|
233
|
+
|
234
|
+
** IMPORTANT **
|
235
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
236
|
+
:param pulumi.Input[pulumi.InputType['PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsArgs']] feature_details: The details required to enable the specified Database Management feature.
|
237
|
+
:param pulumi.Input[str] pluggable_database_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle cloud pluggable database.
|
238
|
+
"""
|
239
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
240
|
+
|
241
|
+
__props__ = _PluggabledatabasePluggableDatabaseDbmFeaturesManagementState.__new__(_PluggabledatabasePluggableDatabaseDbmFeaturesManagementState)
|
242
|
+
|
243
|
+
__props__.__dict__["enable_pluggable_database_dbm_feature"] = enable_pluggable_database_dbm_feature
|
244
|
+
__props__.__dict__["feature_details"] = feature_details
|
245
|
+
__props__.__dict__["pluggable_database_id"] = pluggable_database_id
|
246
|
+
return PluggabledatabasePluggableDatabaseDbmFeaturesManagement(resource_name, opts=opts, __props__=__props__)
|
247
|
+
|
248
|
+
@property
|
249
|
+
@pulumi.getter(name="enablePluggableDatabaseDbmFeature")
|
250
|
+
def enable_pluggable_database_dbm_feature(self) -> pulumi.Output[bool]:
|
251
|
+
"""
|
252
|
+
(Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action.
|
253
|
+
|
254
|
+
|
255
|
+
** IMPORTANT **
|
256
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
257
|
+
"""
|
258
|
+
return pulumi.get(self, "enable_pluggable_database_dbm_feature")
|
259
|
+
|
260
|
+
@property
|
261
|
+
@pulumi.getter(name="featureDetails")
|
262
|
+
def feature_details(self) -> pulumi.Output[Optional['outputs.PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetails']]:
|
263
|
+
"""
|
264
|
+
The details required to enable the specified Database Management feature.
|
265
|
+
"""
|
266
|
+
return pulumi.get(self, "feature_details")
|
267
|
+
|
268
|
+
@property
|
269
|
+
@pulumi.getter(name="pluggableDatabaseId")
|
270
|
+
def pluggable_database_id(self) -> pulumi.Output[str]:
|
271
|
+
"""
|
272
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle cloud pluggable database.
|
273
|
+
"""
|
274
|
+
return pulumi.get(self, "pluggable_database_id")
|
275
|
+
|
pulumi_oci/datasafe/__init__.py
CHANGED
@@ -65,6 +65,9 @@ from .get_masking_policies import *
|
|
65
65
|
from .get_masking_policies_masking_column import *
|
66
66
|
from .get_masking_policies_masking_columns import *
|
67
67
|
from .get_masking_policy import *
|
68
|
+
from .get_masking_policy_health_report import *
|
69
|
+
from .get_masking_policy_health_report_logs import *
|
70
|
+
from .get_masking_policy_health_reports import *
|
68
71
|
from .get_masking_policy_masking_objects import *
|
69
72
|
from .get_masking_policy_masking_schemas import *
|
70
73
|
from .get_masking_report import *
|
pulumi_oci/datasafe/_inputs.py
CHANGED
@@ -67,6 +67,8 @@ __all__ = [
|
|
67
67
|
'GetMaskingAnalyticsFilterArgs',
|
68
68
|
'GetMaskingPoliciesFilterArgs',
|
69
69
|
'GetMaskingPoliciesMaskingColumnsFilterArgs',
|
70
|
+
'GetMaskingPolicyHealthReportLogsFilterArgs',
|
71
|
+
'GetMaskingPolicyHealthReportsFilterArgs',
|
70
72
|
'GetMaskingPolicyMaskingObjectsFilterArgs',
|
71
73
|
'GetMaskingPolicyMaskingSchemasFilterArgs',
|
72
74
|
'GetMaskingReportMaskedColumnsFilterArgs',
|
@@ -5701,6 +5703,84 @@ class GetMaskingPoliciesMaskingColumnsFilterArgs:
|
|
5701
5703
|
pulumi.set(self, "regex", value)
|
5702
5704
|
|
5703
5705
|
|
5706
|
+
@pulumi.input_type
|
5707
|
+
class GetMaskingPolicyHealthReportLogsFilterArgs:
|
5708
|
+
def __init__(__self__, *,
|
5709
|
+
name: str,
|
5710
|
+
values: Sequence[str],
|
5711
|
+
regex: Optional[bool] = None):
|
5712
|
+
pulumi.set(__self__, "name", name)
|
5713
|
+
pulumi.set(__self__, "values", values)
|
5714
|
+
if regex is not None:
|
5715
|
+
pulumi.set(__self__, "regex", regex)
|
5716
|
+
|
5717
|
+
@property
|
5718
|
+
@pulumi.getter
|
5719
|
+
def name(self) -> str:
|
5720
|
+
return pulumi.get(self, "name")
|
5721
|
+
|
5722
|
+
@name.setter
|
5723
|
+
def name(self, value: str):
|
5724
|
+
pulumi.set(self, "name", value)
|
5725
|
+
|
5726
|
+
@property
|
5727
|
+
@pulumi.getter
|
5728
|
+
def values(self) -> Sequence[str]:
|
5729
|
+
return pulumi.get(self, "values")
|
5730
|
+
|
5731
|
+
@values.setter
|
5732
|
+
def values(self, value: Sequence[str]):
|
5733
|
+
pulumi.set(self, "values", value)
|
5734
|
+
|
5735
|
+
@property
|
5736
|
+
@pulumi.getter
|
5737
|
+
def regex(self) -> Optional[bool]:
|
5738
|
+
return pulumi.get(self, "regex")
|
5739
|
+
|
5740
|
+
@regex.setter
|
5741
|
+
def regex(self, value: Optional[bool]):
|
5742
|
+
pulumi.set(self, "regex", value)
|
5743
|
+
|
5744
|
+
|
5745
|
+
@pulumi.input_type
|
5746
|
+
class GetMaskingPolicyHealthReportsFilterArgs:
|
5747
|
+
def __init__(__self__, *,
|
5748
|
+
name: str,
|
5749
|
+
values: Sequence[str],
|
5750
|
+
regex: Optional[bool] = None):
|
5751
|
+
pulumi.set(__self__, "name", name)
|
5752
|
+
pulumi.set(__self__, "values", values)
|
5753
|
+
if regex is not None:
|
5754
|
+
pulumi.set(__self__, "regex", regex)
|
5755
|
+
|
5756
|
+
@property
|
5757
|
+
@pulumi.getter
|
5758
|
+
def name(self) -> str:
|
5759
|
+
return pulumi.get(self, "name")
|
5760
|
+
|
5761
|
+
@name.setter
|
5762
|
+
def name(self, value: str):
|
5763
|
+
pulumi.set(self, "name", value)
|
5764
|
+
|
5765
|
+
@property
|
5766
|
+
@pulumi.getter
|
5767
|
+
def values(self) -> Sequence[str]:
|
5768
|
+
return pulumi.get(self, "values")
|
5769
|
+
|
5770
|
+
@values.setter
|
5771
|
+
def values(self, value: Sequence[str]):
|
5772
|
+
pulumi.set(self, "values", value)
|
5773
|
+
|
5774
|
+
@property
|
5775
|
+
@pulumi.getter
|
5776
|
+
def regex(self) -> Optional[bool]:
|
5777
|
+
return pulumi.get(self, "regex")
|
5778
|
+
|
5779
|
+
@regex.setter
|
5780
|
+
def regex(self, value: Optional[bool]):
|
5781
|
+
pulumi.set(self, "regex", value)
|
5782
|
+
|
5783
|
+
|
5704
5784
|
@pulumi.input_type
|
5705
5785
|
class GetMaskingPolicyMaskingObjectsFilterArgs:
|
5706
5786
|
def __init__(__self__, *,
|
@@ -22,7 +22,7 @@ class GetMaskingPolicyResult:
|
|
22
22
|
"""
|
23
23
|
A collection of values returned by getMaskingPolicy.
|
24
24
|
"""
|
25
|
-
def __init__(__self__, add_masking_columns_from_sdm_trigger=None, column_sources=None, compartment_id=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, id=None, is_drop_temp_tables_enabled=None, is_redo_logging_enabled=None, is_refresh_stats_enabled=None, masking_policy_id=None, parallel_degree=None, post_masking_script=None, pre_masking_script=None, recompile=None, state=None, time_created=None, time_updated=None):
|
25
|
+
def __init__(__self__, add_masking_columns_from_sdm_trigger=None, column_sources=None, compartment_id=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, generate_health_report_trigger=None, id=None, is_drop_temp_tables_enabled=None, is_redo_logging_enabled=None, is_refresh_stats_enabled=None, masking_policy_id=None, parallel_degree=None, post_masking_script=None, pre_masking_script=None, recompile=None, state=None, time_created=None, time_updated=None):
|
26
26
|
if add_masking_columns_from_sdm_trigger and not isinstance(add_masking_columns_from_sdm_trigger, int):
|
27
27
|
raise TypeError("Expected argument 'add_masking_columns_from_sdm_trigger' to be a int")
|
28
28
|
pulumi.set(__self__, "add_masking_columns_from_sdm_trigger", add_masking_columns_from_sdm_trigger)
|
@@ -44,6 +44,9 @@ class GetMaskingPolicyResult:
|
|
44
44
|
if freeform_tags and not isinstance(freeform_tags, dict):
|
45
45
|
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
46
46
|
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
47
|
+
if generate_health_report_trigger and not isinstance(generate_health_report_trigger, int):
|
48
|
+
raise TypeError("Expected argument 'generate_health_report_trigger' to be a int")
|
49
|
+
pulumi.set(__self__, "generate_health_report_trigger", generate_health_report_trigger)
|
47
50
|
if id and not isinstance(id, str):
|
48
51
|
raise TypeError("Expected argument 'id' to be a str")
|
49
52
|
pulumi.set(__self__, "id", id)
|
@@ -134,6 +137,11 @@ class GetMaskingPolicyResult:
|
|
134
137
|
"""
|
135
138
|
return pulumi.get(self, "freeform_tags")
|
136
139
|
|
140
|
+
@property
|
141
|
+
@pulumi.getter(name="generateHealthReportTrigger")
|
142
|
+
def generate_health_report_trigger(self) -> int:
|
143
|
+
return pulumi.get(self, "generate_health_report_trigger")
|
144
|
+
|
137
145
|
@property
|
138
146
|
@pulumi.getter
|
139
147
|
def id(self) -> str:
|
@@ -241,6 +249,7 @@ class AwaitableGetMaskingPolicyResult(GetMaskingPolicyResult):
|
|
241
249
|
description=self.description,
|
242
250
|
display_name=self.display_name,
|
243
251
|
freeform_tags=self.freeform_tags,
|
252
|
+
generate_health_report_trigger=self.generate_health_report_trigger,
|
244
253
|
id=self.id,
|
245
254
|
is_drop_temp_tables_enabled=self.is_drop_temp_tables_enabled,
|
246
255
|
is_redo_logging_enabled=self.is_redo_logging_enabled,
|
@@ -287,6 +296,7 @@ def get_masking_policy(masking_policy_id: Optional[str] = None,
|
|
287
296
|
description=pulumi.get(__ret__, 'description'),
|
288
297
|
display_name=pulumi.get(__ret__, 'display_name'),
|
289
298
|
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
299
|
+
generate_health_report_trigger=pulumi.get(__ret__, 'generate_health_report_trigger'),
|
290
300
|
id=pulumi.get(__ret__, 'id'),
|
291
301
|
is_drop_temp_tables_enabled=pulumi.get(__ret__, 'is_drop_temp_tables_enabled'),
|
292
302
|
is_redo_logging_enabled=pulumi.get(__ret__, 'is_redo_logging_enabled'),
|
@@ -0,0 +1,235 @@
|
|
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__ = [
|
13
|
+
'GetMaskingPolicyHealthReportResult',
|
14
|
+
'AwaitableGetMaskingPolicyHealthReportResult',
|
15
|
+
'get_masking_policy_health_report',
|
16
|
+
'get_masking_policy_health_report_output',
|
17
|
+
]
|
18
|
+
|
19
|
+
@pulumi.output_type
|
20
|
+
class GetMaskingPolicyHealthReportResult:
|
21
|
+
"""
|
22
|
+
A collection of values returned by getMaskingPolicyHealthReport.
|
23
|
+
"""
|
24
|
+
def __init__(__self__, compartment_id=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, id=None, masking_policy_health_report_id=None, masking_policy_id=None, state=None, target_id=None, time_created=None, time_updated=None):
|
25
|
+
if compartment_id and not isinstance(compartment_id, str):
|
26
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
27
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
28
|
+
if defined_tags and not isinstance(defined_tags, dict):
|
29
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
30
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
31
|
+
if description and not isinstance(description, str):
|
32
|
+
raise TypeError("Expected argument 'description' to be a str")
|
33
|
+
pulumi.set(__self__, "description", description)
|
34
|
+
if display_name and not isinstance(display_name, str):
|
35
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
36
|
+
pulumi.set(__self__, "display_name", display_name)
|
37
|
+
if freeform_tags and not isinstance(freeform_tags, dict):
|
38
|
+
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
39
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
40
|
+
if id and not isinstance(id, str):
|
41
|
+
raise TypeError("Expected argument 'id' to be a str")
|
42
|
+
pulumi.set(__self__, "id", id)
|
43
|
+
if masking_policy_health_report_id and not isinstance(masking_policy_health_report_id, str):
|
44
|
+
raise TypeError("Expected argument 'masking_policy_health_report_id' to be a str")
|
45
|
+
pulumi.set(__self__, "masking_policy_health_report_id", masking_policy_health_report_id)
|
46
|
+
if masking_policy_id and not isinstance(masking_policy_id, str):
|
47
|
+
raise TypeError("Expected argument 'masking_policy_id' to be a str")
|
48
|
+
pulumi.set(__self__, "masking_policy_id", masking_policy_id)
|
49
|
+
if state and not isinstance(state, str):
|
50
|
+
raise TypeError("Expected argument 'state' to be a str")
|
51
|
+
pulumi.set(__self__, "state", state)
|
52
|
+
if target_id and not isinstance(target_id, str):
|
53
|
+
raise TypeError("Expected argument 'target_id' to be a str")
|
54
|
+
pulumi.set(__self__, "target_id", target_id)
|
55
|
+
if time_created and not isinstance(time_created, str):
|
56
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
57
|
+
pulumi.set(__self__, "time_created", time_created)
|
58
|
+
if time_updated and not isinstance(time_updated, str):
|
59
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
60
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
61
|
+
|
62
|
+
@property
|
63
|
+
@pulumi.getter(name="compartmentId")
|
64
|
+
def compartment_id(self) -> str:
|
65
|
+
"""
|
66
|
+
The OCID of the compartment that contains the health report.
|
67
|
+
"""
|
68
|
+
return pulumi.get(self, "compartment_id")
|
69
|
+
|
70
|
+
@property
|
71
|
+
@pulumi.getter(name="definedTags")
|
72
|
+
def defined_tags(self) -> Mapping[str, Any]:
|
73
|
+
"""
|
74
|
+
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"}`
|
75
|
+
"""
|
76
|
+
return pulumi.get(self, "defined_tags")
|
77
|
+
|
78
|
+
@property
|
79
|
+
@pulumi.getter
|
80
|
+
def description(self) -> str:
|
81
|
+
"""
|
82
|
+
The description of the masking health report.
|
83
|
+
"""
|
84
|
+
return pulumi.get(self, "description")
|
85
|
+
|
86
|
+
@property
|
87
|
+
@pulumi.getter(name="displayName")
|
88
|
+
def display_name(self) -> str:
|
89
|
+
"""
|
90
|
+
The display name of the health report.
|
91
|
+
"""
|
92
|
+
return pulumi.get(self, "display_name")
|
93
|
+
|
94
|
+
@property
|
95
|
+
@pulumi.getter(name="freeformTags")
|
96
|
+
def freeform_tags(self) -> Mapping[str, Any]:
|
97
|
+
"""
|
98
|
+
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"}`
|
99
|
+
"""
|
100
|
+
return pulumi.get(self, "freeform_tags")
|
101
|
+
|
102
|
+
@property
|
103
|
+
@pulumi.getter
|
104
|
+
def id(self) -> str:
|
105
|
+
"""
|
106
|
+
The provider-assigned unique ID for this managed resource.
|
107
|
+
"""
|
108
|
+
return pulumi.get(self, "id")
|
109
|
+
|
110
|
+
@property
|
111
|
+
@pulumi.getter(name="maskingPolicyHealthReportId")
|
112
|
+
def masking_policy_health_report_id(self) -> str:
|
113
|
+
return pulumi.get(self, "masking_policy_health_report_id")
|
114
|
+
|
115
|
+
@property
|
116
|
+
@pulumi.getter(name="maskingPolicyId")
|
117
|
+
def masking_policy_id(self) -> str:
|
118
|
+
"""
|
119
|
+
The OCID of the masking policy.
|
120
|
+
"""
|
121
|
+
return pulumi.get(self, "masking_policy_id")
|
122
|
+
|
123
|
+
@property
|
124
|
+
@pulumi.getter
|
125
|
+
def state(self) -> str:
|
126
|
+
"""
|
127
|
+
The current state of the health report.
|
128
|
+
"""
|
129
|
+
return pulumi.get(self, "state")
|
130
|
+
|
131
|
+
@property
|
132
|
+
@pulumi.getter(name="targetId")
|
133
|
+
def target_id(self) -> str:
|
134
|
+
"""
|
135
|
+
The OCID of the target database for which this report was created.
|
136
|
+
"""
|
137
|
+
return pulumi.get(self, "target_id")
|
138
|
+
|
139
|
+
@property
|
140
|
+
@pulumi.getter(name="timeCreated")
|
141
|
+
def time_created(self) -> str:
|
142
|
+
"""
|
143
|
+
The date and time the report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
144
|
+
"""
|
145
|
+
return pulumi.get(self, "time_created")
|
146
|
+
|
147
|
+
@property
|
148
|
+
@pulumi.getter(name="timeUpdated")
|
149
|
+
def time_updated(self) -> str:
|
150
|
+
"""
|
151
|
+
The date and time the report was last updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339)
|
152
|
+
"""
|
153
|
+
return pulumi.get(self, "time_updated")
|
154
|
+
|
155
|
+
|
156
|
+
class AwaitableGetMaskingPolicyHealthReportResult(GetMaskingPolicyHealthReportResult):
|
157
|
+
# pylint: disable=using-constant-test
|
158
|
+
def __await__(self):
|
159
|
+
if False:
|
160
|
+
yield self
|
161
|
+
return GetMaskingPolicyHealthReportResult(
|
162
|
+
compartment_id=self.compartment_id,
|
163
|
+
defined_tags=self.defined_tags,
|
164
|
+
description=self.description,
|
165
|
+
display_name=self.display_name,
|
166
|
+
freeform_tags=self.freeform_tags,
|
167
|
+
id=self.id,
|
168
|
+
masking_policy_health_report_id=self.masking_policy_health_report_id,
|
169
|
+
masking_policy_id=self.masking_policy_id,
|
170
|
+
state=self.state,
|
171
|
+
target_id=self.target_id,
|
172
|
+
time_created=self.time_created,
|
173
|
+
time_updated=self.time_updated)
|
174
|
+
|
175
|
+
|
176
|
+
def get_masking_policy_health_report(masking_policy_health_report_id: Optional[str] = None,
|
177
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMaskingPolicyHealthReportResult:
|
178
|
+
"""
|
179
|
+
This data source provides details about a specific Masking Policy Health Report resource in Oracle Cloud Infrastructure Data Safe service.
|
180
|
+
|
181
|
+
Gets the details of the specified masking policy health report.
|
182
|
+
|
183
|
+
## Example Usage
|
184
|
+
|
185
|
+
```python
|
186
|
+
import pulumi
|
187
|
+
import pulumi_oci as oci
|
188
|
+
|
189
|
+
test_masking_policy_health_report = oci.DataSafe.get_masking_policy_health_report(masking_policy_health_report_id=test_masking_policy_health_report_oci_data_safe_masking_policy_health_report["id"])
|
190
|
+
```
|
191
|
+
|
192
|
+
|
193
|
+
:param str masking_policy_health_report_id: The OCID of the masking health report.
|
194
|
+
"""
|
195
|
+
__args__ = dict()
|
196
|
+
__args__['maskingPolicyHealthReportId'] = masking_policy_health_report_id
|
197
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
198
|
+
__ret__ = pulumi.runtime.invoke('oci:DataSafe/getMaskingPolicyHealthReport:getMaskingPolicyHealthReport', __args__, opts=opts, typ=GetMaskingPolicyHealthReportResult).value
|
199
|
+
|
200
|
+
return AwaitableGetMaskingPolicyHealthReportResult(
|
201
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
202
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
203
|
+
description=pulumi.get(__ret__, 'description'),
|
204
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
205
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
206
|
+
id=pulumi.get(__ret__, 'id'),
|
207
|
+
masking_policy_health_report_id=pulumi.get(__ret__, 'masking_policy_health_report_id'),
|
208
|
+
masking_policy_id=pulumi.get(__ret__, 'masking_policy_id'),
|
209
|
+
state=pulumi.get(__ret__, 'state'),
|
210
|
+
target_id=pulumi.get(__ret__, 'target_id'),
|
211
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
212
|
+
time_updated=pulumi.get(__ret__, 'time_updated'))
|
213
|
+
|
214
|
+
|
215
|
+
@_utilities.lift_output_func(get_masking_policy_health_report)
|
216
|
+
def get_masking_policy_health_report_output(masking_policy_health_report_id: Optional[pulumi.Input[str]] = None,
|
217
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMaskingPolicyHealthReportResult]:
|
218
|
+
"""
|
219
|
+
This data source provides details about a specific Masking Policy Health Report resource in Oracle Cloud Infrastructure Data Safe service.
|
220
|
+
|
221
|
+
Gets the details of the specified masking policy health report.
|
222
|
+
|
223
|
+
## Example Usage
|
224
|
+
|
225
|
+
```python
|
226
|
+
import pulumi
|
227
|
+
import pulumi_oci as oci
|
228
|
+
|
229
|
+
test_masking_policy_health_report = oci.DataSafe.get_masking_policy_health_report(masking_policy_health_report_id=test_masking_policy_health_report_oci_data_safe_masking_policy_health_report["id"])
|
230
|
+
```
|
231
|
+
|
232
|
+
|
233
|
+
:param str masking_policy_health_report_id: The OCID of the masking health report.
|
234
|
+
"""
|
235
|
+
...
|