pulumi-oci 1.34.0__py3-none-any.whl → 1.34.0a1714457631__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 +0 -40
- pulumi_oci/config/__init__.pyi +2 -2
- pulumi_oci/config/vars.py +2 -2
- pulumi_oci/database/db_home.py +0 -47
- pulumi_oci/database/get_db_home.py +1 -14
- pulumi_oci/database/outputs.py +0 -11
- pulumi_oci/databasemanagement/__init__.py +0 -5
- pulumi_oci/databasemanagement/_inputs.py +1 -1206
- pulumi_oci/databasemanagement/db_management_private_endpoint.py +0 -28
- pulumi_oci/databasemanagement/external_asm.py +0 -28
- pulumi_oci/databasemanagement/external_asm_instance.py +0 -28
- pulumi_oci/databasemanagement/external_cluster.py +0 -28
- pulumi_oci/databasemanagement/external_cluster_instance.py +0 -28
- pulumi_oci/databasemanagement/external_db_home.py +0 -28
- pulumi_oci/databasemanagement/external_db_node.py +0 -28
- pulumi_oci/databasemanagement/external_db_system.py +0 -28
- pulumi_oci/databasemanagement/external_db_system_connector.py +0 -28
- pulumi_oci/databasemanagement/external_db_system_discovery.py +0 -28
- pulumi_oci/databasemanagement/external_exadata_infrastructure.py +0 -28
- pulumi_oci/databasemanagement/external_exadata_storage_connector.py +0 -28
- pulumi_oci/databasemanagement/external_exadata_storage_grid.py +0 -28
- pulumi_oci/databasemanagement/external_exadata_storage_server.py +0 -28
- pulumi_oci/databasemanagement/external_listener.py +0 -28
- pulumi_oci/databasemanagement/get_db_management_private_endpoint.py +1 -14
- pulumi_oci/databasemanagement/get_external_asm.py +1 -14
- pulumi_oci/databasemanagement/get_external_asm_instance.py +1 -14
- pulumi_oci/databasemanagement/get_external_cluster.py +1 -14
- pulumi_oci/databasemanagement/get_external_cluster_instance.py +1 -14
- pulumi_oci/databasemanagement/get_external_databases.py +1 -18
- pulumi_oci/databasemanagement/get_external_db_home.py +1 -14
- pulumi_oci/databasemanagement/get_external_db_node.py +1 -14
- pulumi_oci/databasemanagement/get_external_db_system.py +1 -14
- pulumi_oci/databasemanagement/get_external_db_system_connector.py +1 -14
- pulumi_oci/databasemanagement/get_external_db_system_discovery.py +1 -14
- pulumi_oci/databasemanagement/get_external_exadata_infrastructure.py +1 -14
- pulumi_oci/databasemanagement/get_external_exadata_storage_connector.py +1 -14
- pulumi_oci/databasemanagement/get_external_exadata_storage_grid.py +1 -14
- pulumi_oci/databasemanagement/get_external_exadata_storage_server.py +1 -14
- pulumi_oci/databasemanagement/get_external_listener.py +1 -14
- pulumi_oci/databasemanagement/get_managed_database_group.py +1 -14
- pulumi_oci/databasemanagement/get_managed_my_sql_database.py +6 -6
- pulumi_oci/databasemanagement/get_named_credential.py +1 -14
- pulumi_oci/databasemanagement/managed_database.py +0 -28
- pulumi_oci/databasemanagement/managed_database_group.py +0 -28
- pulumi_oci/databasemanagement/named_credential.py +0 -28
- pulumi_oci/databasemanagement/outputs.py +217 -1726
- pulumi_oci/datasafe/__init__.py +0 -3
- pulumi_oci/datasafe/_inputs.py +0 -80
- pulumi_oci/datasafe/get_masking_policy.py +1 -11
- pulumi_oci/datasafe/masking_policy.py +28 -75
- pulumi_oci/datasafe/outputs.py +0 -287
- pulumi_oci/provider.py +8 -8
- pulumi_oci/recoverymod/_inputs.py +0 -16
- pulumi_oci/recoverymod/get_protected_database.py +5 -25
- pulumi_oci/recoverymod/get_protection_policies.py +7 -1
- pulumi_oci/recoverymod/get_protection_policy.py +8 -15
- pulumi_oci/recoverymod/get_recovery_service_subnet.py +9 -32
- pulumi_oci/recoverymod/get_recovery_service_subnets.py +21 -3
- pulumi_oci/recoverymod/outputs.py +24 -96
- pulumi_oci/recoverymod/protected_database.py +16 -95
- pulumi_oci/recoverymod/protection_policy.py +54 -121
- pulumi_oci/recoverymod/recovery_service_subnet.py +55 -143
- {pulumi_oci-1.34.0.dist-info → pulumi_oci-1.34.0a1714457631.dist-info}/METADATA +1 -1
- {pulumi_oci-1.34.0.dist-info → pulumi_oci-1.34.0a1714457631.dist-info}/RECORD +66 -74
- pulumi_oci/databasemanagement/database_dbm_features_management.py +0 -275
- pulumi_oci/databasemanagement/externalcontainerdatabase_external_container_dbm_features_management.py +0 -275
- pulumi_oci/databasemanagement/externalnoncontainerdatabase_external_non_container_dbm_features_management.py +0 -275
- pulumi_oci/databasemanagement/externalpluggabledatabase_external_pluggable_dbm_features_management.py +0 -275
- pulumi_oci/databasemanagement/pluggabledatabase_pluggable_database_dbm_features_management.py +0 -275
- pulumi_oci/datasafe/get_masking_policy_health_report.py +0 -235
- pulumi_oci/datasafe/get_masking_policy_health_report_logs.py +0 -153
- pulumi_oci/datasafe/get_masking_policy_health_reports.py +0 -267
- {pulumi_oci-1.34.0.dist-info → pulumi_oci-1.34.0a1714457631.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.34.0.dist-info → pulumi_oci-1.34.0a1714457631.dist-info}/top_level.txt +0 -0
@@ -21,7 +21,7 @@ class GetRecoveryServiceSubnetResult:
|
|
21
21
|
"""
|
22
22
|
A collection of values returned by getRecoveryServiceSubnet.
|
23
23
|
"""
|
24
|
-
def __init__(__self__, compartment_id=None, defined_tags=None, display_name=None, freeform_tags=None, id=None, lifecycle_details=None,
|
24
|
+
def __init__(__self__, compartment_id=None, defined_tags=None, display_name=None, freeform_tags=None, id=None, lifecycle_details=None, recovery_service_subnet_id=None, state=None, subnet_id=None, system_tags=None, time_created=None, time_updated=None, vcn_id=None):
|
25
25
|
if compartment_id and not isinstance(compartment_id, str):
|
26
26
|
raise TypeError("Expected argument 'compartment_id' to be a str")
|
27
27
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
@@ -40,9 +40,6 @@ class GetRecoveryServiceSubnetResult:
|
|
40
40
|
if lifecycle_details and not isinstance(lifecycle_details, str):
|
41
41
|
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
42
42
|
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
43
|
-
if nsg_ids and not isinstance(nsg_ids, list):
|
44
|
-
raise TypeError("Expected argument 'nsg_ids' to be a list")
|
45
|
-
pulumi.set(__self__, "nsg_ids", nsg_ids)
|
46
43
|
if recovery_service_subnet_id and not isinstance(recovery_service_subnet_id, str):
|
47
44
|
raise TypeError("Expected argument 'recovery_service_subnet_id' to be a str")
|
48
45
|
pulumi.set(__self__, "recovery_service_subnet_id", recovery_service_subnet_id)
|
@@ -52,9 +49,6 @@ class GetRecoveryServiceSubnetResult:
|
|
52
49
|
if subnet_id and not isinstance(subnet_id, str):
|
53
50
|
raise TypeError("Expected argument 'subnet_id' to be a str")
|
54
51
|
pulumi.set(__self__, "subnet_id", subnet_id)
|
55
|
-
if subnets and not isinstance(subnets, list):
|
56
|
-
raise TypeError("Expected argument 'subnets' to be a list")
|
57
|
-
pulumi.set(__self__, "subnets", subnets)
|
58
52
|
if system_tags and not isinstance(system_tags, dict):
|
59
53
|
raise TypeError("Expected argument 'system_tags' to be a dict")
|
60
54
|
pulumi.set(__self__, "system_tags", system_tags)
|
@@ -116,14 +110,6 @@ class GetRecoveryServiceSubnetResult:
|
|
116
110
|
"""
|
117
111
|
return pulumi.get(self, "lifecycle_details")
|
118
112
|
|
119
|
-
@property
|
120
|
-
@pulumi.getter(name="nsgIds")
|
121
|
-
def nsg_ids(self) -> Sequence[str]:
|
122
|
-
"""
|
123
|
-
A list of network security group (NSG) OCIDs that are associated with the Recovery Service subnet. You can specify a maximum of 5 unique OCIDs, which implies that you can associate a maximum of 5 NSGs to each Recovery Service subnet. Specify an empty array if you want to remove all the associated NSGs from a Recovery Service subnet. See [Network Security Groups](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/NetworkSecurityGroup/) for more information.
|
124
|
-
"""
|
125
|
-
return pulumi.get(self, "nsg_ids")
|
126
|
-
|
127
113
|
@property
|
128
114
|
@pulumi.getter(name="recoveryServiceSubnetId")
|
129
115
|
def recovery_service_subnet_id(self) -> str:
|
@@ -133,7 +119,13 @@ class GetRecoveryServiceSubnetResult:
|
|
133
119
|
@pulumi.getter
|
134
120
|
def state(self) -> str:
|
135
121
|
"""
|
136
|
-
The current state of the recovery service subnet.
|
122
|
+
The current state of the recovery service subnet. Allowed values are:
|
123
|
+
* CREATING
|
124
|
+
* UPDATING
|
125
|
+
* ACTIVE
|
126
|
+
* DELETING
|
127
|
+
* DELETED
|
128
|
+
* FAILED
|
137
129
|
"""
|
138
130
|
return pulumi.get(self, "state")
|
139
131
|
|
@@ -141,21 +133,10 @@ class GetRecoveryServiceSubnetResult:
|
|
141
133
|
@pulumi.getter(name="subnetId")
|
142
134
|
def subnet_id(self) -> str:
|
143
135
|
"""
|
144
|
-
|
136
|
+
The OCID of the subnet used as the recovery service subnet.
|
145
137
|
"""
|
146
|
-
warnings.warn("""The 'subnet_id' field has been deprecated. Please use 'subnets' instead.""", DeprecationWarning)
|
147
|
-
pulumi.log.warn("""subnet_id is deprecated: The 'subnet_id' field has been deprecated. Please use 'subnets' instead.""")
|
148
|
-
|
149
138
|
return pulumi.get(self, "subnet_id")
|
150
139
|
|
151
|
-
@property
|
152
|
-
@pulumi.getter
|
153
|
-
def subnets(self) -> Sequence[str]:
|
154
|
-
"""
|
155
|
-
A list of OCIDs of all the subnets associated with the Recovery Service subnet.
|
156
|
-
"""
|
157
|
-
return pulumi.get(self, "subnets")
|
158
|
-
|
159
140
|
@property
|
160
141
|
@pulumi.getter(name="systemTags")
|
161
142
|
def system_tags(self) -> Mapping[str, Any]:
|
@@ -201,11 +182,9 @@ class AwaitableGetRecoveryServiceSubnetResult(GetRecoveryServiceSubnetResult):
|
|
201
182
|
freeform_tags=self.freeform_tags,
|
202
183
|
id=self.id,
|
203
184
|
lifecycle_details=self.lifecycle_details,
|
204
|
-
nsg_ids=self.nsg_ids,
|
205
185
|
recovery_service_subnet_id=self.recovery_service_subnet_id,
|
206
186
|
state=self.state,
|
207
187
|
subnet_id=self.subnet_id,
|
208
|
-
subnets=self.subnets,
|
209
188
|
system_tags=self.system_tags,
|
210
189
|
time_created=self.time_created,
|
211
190
|
time_updated=self.time_updated,
|
@@ -243,11 +222,9 @@ def get_recovery_service_subnet(recovery_service_subnet_id: Optional[str] = None
|
|
243
222
|
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
244
223
|
id=pulumi.get(__ret__, 'id'),
|
245
224
|
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
246
|
-
nsg_ids=pulumi.get(__ret__, 'nsg_ids'),
|
247
225
|
recovery_service_subnet_id=pulumi.get(__ret__, 'recovery_service_subnet_id'),
|
248
226
|
state=pulumi.get(__ret__, 'state'),
|
249
227
|
subnet_id=pulumi.get(__ret__, 'subnet_id'),
|
250
|
-
subnets=pulumi.get(__ret__, 'subnets'),
|
251
228
|
system_tags=pulumi.get(__ret__, 'system_tags'),
|
252
229
|
time_created=pulumi.get(__ret__, 'time_created'),
|
253
230
|
time_updated=pulumi.get(__ret__, 'time_updated'),
|
@@ -87,7 +87,13 @@ class GetRecoveryServiceSubnetsResult:
|
|
87
87
|
@pulumi.getter
|
88
88
|
def state(self) -> Optional[str]:
|
89
89
|
"""
|
90
|
-
The current state of the recovery service subnet.
|
90
|
+
The current state of the recovery service subnet. Allowed values are:
|
91
|
+
* CREATING
|
92
|
+
* UPDATING
|
93
|
+
* ACTIVE
|
94
|
+
* DELETING
|
95
|
+
* DELETED
|
96
|
+
* FAILED
|
91
97
|
"""
|
92
98
|
return pulumi.get(self, "state")
|
93
99
|
|
@@ -144,7 +150,13 @@ def get_recovery_service_subnets(compartment_id: Optional[str] = None,
|
|
144
150
|
:param str compartment_id: The compartment OCID.
|
145
151
|
:param str display_name: A filter to return only resources that match the entire 'displayname' given.
|
146
152
|
:param str id: The recovery service subnet OCID.
|
147
|
-
:param str state: A filter to return only the resources that match the specified lifecycle state.
|
153
|
+
:param str state: A filter to return only the resources that match the specified lifecycle state. Allowed values are:
|
154
|
+
* CREATING
|
155
|
+
* UPDATING
|
156
|
+
* ACTIVE
|
157
|
+
* DELETING
|
158
|
+
* DELETED
|
159
|
+
* FAILED
|
148
160
|
:param str vcn_id: The OCID of the virtual cloud network (VCN) associated with the recovery service subnet.
|
149
161
|
"""
|
150
162
|
__args__ = dict()
|
@@ -197,7 +209,13 @@ def get_recovery_service_subnets_output(compartment_id: Optional[pulumi.Input[st
|
|
197
209
|
:param str compartment_id: The compartment OCID.
|
198
210
|
:param str display_name: A filter to return only resources that match the entire 'displayname' given.
|
199
211
|
:param str id: The recovery service subnet OCID.
|
200
|
-
:param str state: A filter to return only the resources that match the specified lifecycle state.
|
212
|
+
:param str state: A filter to return only the resources that match the specified lifecycle state. Allowed values are:
|
213
|
+
* CREATING
|
214
|
+
* UPDATING
|
215
|
+
* ACTIVE
|
216
|
+
* DELETING
|
217
|
+
* DELETED
|
218
|
+
* FAILED
|
201
219
|
:param str vcn_id: The OCID of the virtual cloud network (VCN) associated with the recovery service subnet.
|
202
220
|
"""
|
203
221
|
...
|
@@ -43,8 +43,6 @@ class ProtectedDatabaseMetric(dict):
|
|
43
43
|
suggest = "db_size_in_gbs"
|
44
44
|
elif key == "isRedoLogsEnabled":
|
45
45
|
suggest = "is_redo_logs_enabled"
|
46
|
-
elif key == "minimumRecoveryNeededInDays":
|
47
|
-
suggest = "minimum_recovery_needed_in_days"
|
48
46
|
elif key == "retentionPeriodInDays":
|
49
47
|
suggest = "retention_period_in_days"
|
50
48
|
elif key == "unprotectedWindowInSeconds":
|
@@ -67,7 +65,6 @@ class ProtectedDatabaseMetric(dict):
|
|
67
65
|
current_retention_period_in_seconds: Optional[float] = None,
|
68
66
|
db_size_in_gbs: Optional[float] = None,
|
69
67
|
is_redo_logs_enabled: Optional[bool] = None,
|
70
|
-
minimum_recovery_needed_in_days: Optional[float] = None,
|
71
68
|
retention_period_in_days: Optional[float] = None,
|
72
69
|
unprotected_window_in_seconds: Optional[float] = None):
|
73
70
|
"""
|
@@ -76,7 +73,6 @@ class ProtectedDatabaseMetric(dict):
|
|
76
73
|
:param float current_retention_period_in_seconds: Number of seconds backups are currently retained for this database.
|
77
74
|
:param float db_size_in_gbs: The estimated space, in gigabytes, consumed by the protected database. The database size is based on the size of the data files in the catalog, and does not include archive logs.
|
78
75
|
:param bool is_redo_logs_enabled: The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service. Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups.
|
79
|
-
:param float minimum_recovery_needed_in_days: Number of days of redo/archive to be applied to recover database.
|
80
76
|
:param float retention_period_in_days: The maximum number of days to retain backups for a protected database.
|
81
77
|
:param float unprotected_window_in_seconds: This is the time window when there is data loss exposure. The point after which recovery is impossible unless additional redo is available. This is the time we received the last backup or last redo-log shipped.
|
82
78
|
"""
|
@@ -90,8 +86,6 @@ class ProtectedDatabaseMetric(dict):
|
|
90
86
|
pulumi.set(__self__, "db_size_in_gbs", db_size_in_gbs)
|
91
87
|
if is_redo_logs_enabled is not None:
|
92
88
|
pulumi.set(__self__, "is_redo_logs_enabled", is_redo_logs_enabled)
|
93
|
-
if minimum_recovery_needed_in_days is not None:
|
94
|
-
pulumi.set(__self__, "minimum_recovery_needed_in_days", minimum_recovery_needed_in_days)
|
95
89
|
if retention_period_in_days is not None:
|
96
90
|
pulumi.set(__self__, "retention_period_in_days", retention_period_in_days)
|
97
91
|
if unprotected_window_in_seconds is not None:
|
@@ -137,14 +131,6 @@ class ProtectedDatabaseMetric(dict):
|
|
137
131
|
"""
|
138
132
|
return pulumi.get(self, "is_redo_logs_enabled")
|
139
133
|
|
140
|
-
@property
|
141
|
-
@pulumi.getter(name="minimumRecoveryNeededInDays")
|
142
|
-
def minimum_recovery_needed_in_days(self) -> Optional[float]:
|
143
|
-
"""
|
144
|
-
Number of days of redo/archive to be applied to recover database.
|
145
|
-
"""
|
146
|
-
return pulumi.get(self, "minimum_recovery_needed_in_days")
|
147
|
-
|
148
134
|
@property
|
149
135
|
@pulumi.getter(name="retentionPeriodInDays")
|
150
136
|
def retention_period_in_days(self) -> Optional[float]:
|
@@ -225,7 +211,6 @@ class GetProtectedDatabaseMetricResult(dict):
|
|
225
211
|
current_retention_period_in_seconds: float,
|
226
212
|
db_size_in_gbs: float,
|
227
213
|
is_redo_logs_enabled: bool,
|
228
|
-
minimum_recovery_needed_in_days: float,
|
229
214
|
retention_period_in_days: float,
|
230
215
|
unprotected_window_in_seconds: float):
|
231
216
|
"""
|
@@ -234,7 +219,6 @@ class GetProtectedDatabaseMetricResult(dict):
|
|
234
219
|
:param float current_retention_period_in_seconds: Number of seconds backups are currently retained for this database.
|
235
220
|
:param float db_size_in_gbs: The estimated space, in gigabytes, consumed by the protected database. The database size is based on the size of the data files in the catalog, and does not include archive logs.
|
236
221
|
:param bool is_redo_logs_enabled: The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service. Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups.
|
237
|
-
:param float minimum_recovery_needed_in_days: Number of days of redo/archive to be applied to recover database.
|
238
222
|
:param float retention_period_in_days: The maximum number of days to retain backups for a protected database.
|
239
223
|
:param float unprotected_window_in_seconds: This is the time window when there is data loss exposure. The point after which recovery is impossible unless additional redo is available. This is the time we received the last backup or last redo-log shipped.
|
240
224
|
"""
|
@@ -243,7 +227,6 @@ class GetProtectedDatabaseMetricResult(dict):
|
|
243
227
|
pulumi.set(__self__, "current_retention_period_in_seconds", current_retention_period_in_seconds)
|
244
228
|
pulumi.set(__self__, "db_size_in_gbs", db_size_in_gbs)
|
245
229
|
pulumi.set(__self__, "is_redo_logs_enabled", is_redo_logs_enabled)
|
246
|
-
pulumi.set(__self__, "minimum_recovery_needed_in_days", minimum_recovery_needed_in_days)
|
247
230
|
pulumi.set(__self__, "retention_period_in_days", retention_period_in_days)
|
248
231
|
pulumi.set(__self__, "unprotected_window_in_seconds", unprotected_window_in_seconds)
|
249
232
|
|
@@ -287,14 +270,6 @@ class GetProtectedDatabaseMetricResult(dict):
|
|
287
270
|
"""
|
288
271
|
return pulumi.get(self, "is_redo_logs_enabled")
|
289
272
|
|
290
|
-
@property
|
291
|
-
@pulumi.getter(name="minimumRecoveryNeededInDays")
|
292
|
-
def minimum_recovery_needed_in_days(self) -> float:
|
293
|
-
"""
|
294
|
-
Number of days of redo/archive to be applied to recover database.
|
295
|
-
"""
|
296
|
-
return pulumi.get(self, "minimum_recovery_needed_in_days")
|
297
|
-
|
298
273
|
@property
|
299
274
|
@pulumi.getter(name="retentionPeriodInDays")
|
300
275
|
def retention_period_in_days(self) -> float:
|
@@ -388,7 +363,6 @@ class GetProtectedDatabasesProtectedDatabaseCollectionItemResult(dict):
|
|
388
363
|
database_size: str,
|
389
364
|
db_unique_name: str,
|
390
365
|
defined_tags: Mapping[str, Any],
|
391
|
-
deletion_schedule: str,
|
392
366
|
display_name: str,
|
393
367
|
freeform_tags: Mapping[str, Any],
|
394
368
|
health: str,
|
@@ -399,7 +373,6 @@ class GetProtectedDatabasesProtectedDatabaseCollectionItemResult(dict):
|
|
399
373
|
lifecycle_details: str,
|
400
374
|
metrics: Sequence['outputs.GetProtectedDatabasesProtectedDatabaseCollectionItemMetricResult'],
|
401
375
|
password: str,
|
402
|
-
policy_locked_date_time: str,
|
403
376
|
protection_policy_id: str,
|
404
377
|
recovery_service_subnets: Sequence['outputs.GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetResult'],
|
405
378
|
state: str,
|
@@ -415,14 +388,16 @@ class GetProtectedDatabasesProtectedDatabaseCollectionItemResult(dict):
|
|
415
388
|
:param Mapping[str, Any] defined_tags: Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
|
416
389
|
:param str display_name: A filter to return only resources that match the entire 'displayname' given.
|
417
390
|
:param Mapping[str, Any] freeform_tags: Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
418
|
-
:param str health: Indicates the protection status of the database.
|
391
|
+
:param str health: Indicates the protection status of the database. Allowed values are:
|
392
|
+
* HEALTHY
|
393
|
+
* WARNING
|
394
|
+
* ALERT
|
419
395
|
:param str health_details: A message describing the current health of the protected database.
|
420
396
|
:param str id: The protected database OCID.
|
421
397
|
:param bool is_read_only_resource: Indicates whether the protected database is created by Recovery Service or created manually. Set to <b>TRUE</b> for a service-defined protected database. When you enable the OCI-managed automatic backups option for a database and set Recovery Service as the backup destination, then Recovery Service creates the associated protected database resource. Set to <b>FALSE</b> for a user-defined protected database.
|
422
398
|
:param bool is_redo_logs_shipped: The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service. Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups. For this to be effective, additional configuration is needed on client side.
|
423
399
|
:param str lifecycle_details: Detailed description about the current lifecycle state of the protected database. For example, it can be used to provide actionable information for a resource in a Failed state.
|
424
400
|
:param Sequence['GetProtectedDatabasesProtectedDatabaseCollectionItemMetricArgs'] metrics: Backup performance and storage utilization metrics for the protected database.
|
425
|
-
:param str policy_locked_date_time: An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy.
|
426
401
|
:param str protection_policy_id: The protection policy OCID.
|
427
402
|
:param Sequence['GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArgs'] recovery_service_subnets: List of recovery service subnet resources associated with the protected database.
|
428
403
|
:param str state: A filter to return only the resources that match the specified lifecycle state.
|
@@ -436,7 +411,6 @@ class GetProtectedDatabasesProtectedDatabaseCollectionItemResult(dict):
|
|
436
411
|
pulumi.set(__self__, "database_size", database_size)
|
437
412
|
pulumi.set(__self__, "db_unique_name", db_unique_name)
|
438
413
|
pulumi.set(__self__, "defined_tags", defined_tags)
|
439
|
-
pulumi.set(__self__, "deletion_schedule", deletion_schedule)
|
440
414
|
pulumi.set(__self__, "display_name", display_name)
|
441
415
|
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
442
416
|
pulumi.set(__self__, "health", health)
|
@@ -447,7 +421,6 @@ class GetProtectedDatabasesProtectedDatabaseCollectionItemResult(dict):
|
|
447
421
|
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
448
422
|
pulumi.set(__self__, "metrics", metrics)
|
449
423
|
pulumi.set(__self__, "password", password)
|
450
|
-
pulumi.set(__self__, "policy_locked_date_time", policy_locked_date_time)
|
451
424
|
pulumi.set(__self__, "protection_policy_id", protection_policy_id)
|
452
425
|
pulumi.set(__self__, "recovery_service_subnets", recovery_service_subnets)
|
453
426
|
pulumi.set(__self__, "state", state)
|
@@ -496,11 +469,6 @@ class GetProtectedDatabasesProtectedDatabaseCollectionItemResult(dict):
|
|
496
469
|
"""
|
497
470
|
return pulumi.get(self, "defined_tags")
|
498
471
|
|
499
|
-
@property
|
500
|
-
@pulumi.getter(name="deletionSchedule")
|
501
|
-
def deletion_schedule(self) -> str:
|
502
|
-
return pulumi.get(self, "deletion_schedule")
|
503
|
-
|
504
472
|
@property
|
505
473
|
@pulumi.getter(name="displayName")
|
506
474
|
def display_name(self) -> str:
|
@@ -521,7 +489,10 @@ class GetProtectedDatabasesProtectedDatabaseCollectionItemResult(dict):
|
|
521
489
|
@pulumi.getter
|
522
490
|
def health(self) -> str:
|
523
491
|
"""
|
524
|
-
Indicates the protection status of the database.
|
492
|
+
Indicates the protection status of the database. Allowed values are:
|
493
|
+
* HEALTHY
|
494
|
+
* WARNING
|
495
|
+
* ALERT
|
525
496
|
"""
|
526
497
|
return pulumi.get(self, "health")
|
527
498
|
|
@@ -578,14 +549,6 @@ class GetProtectedDatabasesProtectedDatabaseCollectionItemResult(dict):
|
|
578
549
|
def password(self) -> str:
|
579
550
|
return pulumi.get(self, "password")
|
580
551
|
|
581
|
-
@property
|
582
|
-
@pulumi.getter(name="policyLockedDateTime")
|
583
|
-
def policy_locked_date_time(self) -> str:
|
584
|
-
"""
|
585
|
-
An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy.
|
586
|
-
"""
|
587
|
-
return pulumi.get(self, "policy_locked_date_time")
|
588
|
-
|
589
552
|
@property
|
590
553
|
@pulumi.getter(name="protectionPolicyId")
|
591
554
|
def protection_policy_id(self) -> str:
|
@@ -651,7 +614,6 @@ class GetProtectedDatabasesProtectedDatabaseCollectionItemMetricResult(dict):
|
|
651
614
|
current_retention_period_in_seconds: float,
|
652
615
|
db_size_in_gbs: float,
|
653
616
|
is_redo_logs_enabled: bool,
|
654
|
-
minimum_recovery_needed_in_days: float,
|
655
617
|
retention_period_in_days: float,
|
656
618
|
unprotected_window_in_seconds: float):
|
657
619
|
"""
|
@@ -660,7 +622,6 @@ class GetProtectedDatabasesProtectedDatabaseCollectionItemMetricResult(dict):
|
|
660
622
|
:param float current_retention_period_in_seconds: Number of seconds backups are currently retained for this database.
|
661
623
|
:param float db_size_in_gbs: The estimated space, in gigabytes, consumed by the protected database. The database size is based on the size of the data files in the catalog, and does not include archive logs.
|
662
624
|
:param bool is_redo_logs_enabled: The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service. Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups.
|
663
|
-
:param float minimum_recovery_needed_in_days: Number of days of redo/archive to be applied to recover database.
|
664
625
|
:param float retention_period_in_days: The maximum number of days to retain backups for a protected database.
|
665
626
|
:param float unprotected_window_in_seconds: This is the time window when there is data loss exposure. The point after which recovery is impossible unless additional redo is available. This is the time we received the last backup or last redo-log shipped.
|
666
627
|
"""
|
@@ -669,7 +630,6 @@ class GetProtectedDatabasesProtectedDatabaseCollectionItemMetricResult(dict):
|
|
669
630
|
pulumi.set(__self__, "current_retention_period_in_seconds", current_retention_period_in_seconds)
|
670
631
|
pulumi.set(__self__, "db_size_in_gbs", db_size_in_gbs)
|
671
632
|
pulumi.set(__self__, "is_redo_logs_enabled", is_redo_logs_enabled)
|
672
|
-
pulumi.set(__self__, "minimum_recovery_needed_in_days", minimum_recovery_needed_in_days)
|
673
633
|
pulumi.set(__self__, "retention_period_in_days", retention_period_in_days)
|
674
634
|
pulumi.set(__self__, "unprotected_window_in_seconds", unprotected_window_in_seconds)
|
675
635
|
|
@@ -713,14 +673,6 @@ class GetProtectedDatabasesProtectedDatabaseCollectionItemMetricResult(dict):
|
|
713
673
|
"""
|
714
674
|
return pulumi.get(self, "is_redo_logs_enabled")
|
715
675
|
|
716
|
-
@property
|
717
|
-
@pulumi.getter(name="minimumRecoveryNeededInDays")
|
718
|
-
def minimum_recovery_needed_in_days(self) -> float:
|
719
|
-
"""
|
720
|
-
Number of days of redo/archive to be applied to recover database.
|
721
|
-
"""
|
722
|
-
return pulumi.get(self, "minimum_recovery_needed_in_days")
|
723
|
-
|
724
676
|
@property
|
725
677
|
@pulumi.getter(name="retentionPeriodInDays")
|
726
678
|
def retention_period_in_days(self) -> float:
|
@@ -817,7 +769,6 @@ class GetProtectionPoliciesProtectionPolicyCollectionItemResult(dict):
|
|
817
769
|
id: str,
|
818
770
|
is_predefined_policy: bool,
|
819
771
|
lifecycle_details: str,
|
820
|
-
policy_locked_date_time: str,
|
821
772
|
state: str,
|
822
773
|
system_tags: Mapping[str, Any],
|
823
774
|
time_created: str,
|
@@ -831,7 +782,6 @@ class GetProtectionPoliciesProtectionPolicyCollectionItemResult(dict):
|
|
831
782
|
:param str id: The protection policy OCID.
|
832
783
|
:param bool is_predefined_policy: Set to TRUE if the policy is Oracle-defined, and FALSE for a user-defined custom policy. You can modify only the custom policies.
|
833
784
|
:param str lifecycle_details: Detailed description about the current lifecycle state of the protection policy. For example, it can be used to provide actionable information for a resource in a Failed state.
|
834
|
-
:param str policy_locked_date_time: An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy.
|
835
785
|
:param str state: A filter to return only resources their lifecycleState matches the given lifecycleState.
|
836
786
|
:param Mapping[str, Any] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
|
837
787
|
:param str time_created: An RFC3339 formatted datetime string that indicates the created time for the protection policy. For example: '2020-05-22T21:10:29.600Z'.
|
@@ -845,7 +795,6 @@ class GetProtectionPoliciesProtectionPolicyCollectionItemResult(dict):
|
|
845
795
|
pulumi.set(__self__, "id", id)
|
846
796
|
pulumi.set(__self__, "is_predefined_policy", is_predefined_policy)
|
847
797
|
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
848
|
-
pulumi.set(__self__, "policy_locked_date_time", policy_locked_date_time)
|
849
798
|
pulumi.set(__self__, "state", state)
|
850
799
|
pulumi.set(__self__, "system_tags", system_tags)
|
851
800
|
pulumi.set(__self__, "time_created", time_created)
|
@@ -915,14 +864,6 @@ class GetProtectionPoliciesProtectionPolicyCollectionItemResult(dict):
|
|
915
864
|
"""
|
916
865
|
return pulumi.get(self, "lifecycle_details")
|
917
866
|
|
918
|
-
@property
|
919
|
-
@pulumi.getter(name="policyLockedDateTime")
|
920
|
-
def policy_locked_date_time(self) -> str:
|
921
|
-
"""
|
922
|
-
An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy.
|
923
|
-
"""
|
924
|
-
return pulumi.get(self, "policy_locked_date_time")
|
925
|
-
|
926
867
|
@property
|
927
868
|
@pulumi.getter
|
928
869
|
def state(self) -> str:
|
@@ -1004,10 +945,8 @@ class GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemResult(dict):
|
|
1004
945
|
freeform_tags: Mapping[str, Any],
|
1005
946
|
id: str,
|
1006
947
|
lifecycle_details: str,
|
1007
|
-
nsg_ids: Sequence[str],
|
1008
948
|
state: str,
|
1009
949
|
subnet_id: str,
|
1010
|
-
subnets: Sequence[str],
|
1011
950
|
system_tags: Mapping[str, Any],
|
1012
951
|
time_created: str,
|
1013
952
|
time_updated: str,
|
@@ -1019,10 +958,14 @@ class GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemResult(dict):
|
|
1019
958
|
:param Mapping[str, Any] freeform_tags: Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
1020
959
|
:param str id: The recovery service subnet OCID.
|
1021
960
|
:param str lifecycle_details: Detailed description about the current lifecycle state of the recovery service subnet. For example, it can be used to provide actionable information for a resource in a Failed state
|
1022
|
-
:param
|
1023
|
-
|
1024
|
-
|
1025
|
-
|
961
|
+
:param str state: A filter to return only the resources that match the specified lifecycle state. Allowed values are:
|
962
|
+
* CREATING
|
963
|
+
* UPDATING
|
964
|
+
* ACTIVE
|
965
|
+
* DELETING
|
966
|
+
* DELETED
|
967
|
+
* FAILED
|
968
|
+
:param str subnet_id: The OCID of the subnet used as the recovery service subnet.
|
1026
969
|
:param Mapping[str, Any] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
|
1027
970
|
:param str time_created: An RFC3339 formatted datetime string that indicates the last created time for a recovery service subnet. For example: '2020-05-22T21:10:29.600Z'.
|
1028
971
|
:param str time_updated: An RFC3339 formatted datetime string that indicates the last updated time for a recovery service subnet. For example: '2020-05-22T21:10:29.600Z'.
|
@@ -1034,10 +977,8 @@ class GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemResult(dict):
|
|
1034
977
|
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
1035
978
|
pulumi.set(__self__, "id", id)
|
1036
979
|
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
1037
|
-
pulumi.set(__self__, "nsg_ids", nsg_ids)
|
1038
980
|
pulumi.set(__self__, "state", state)
|
1039
981
|
pulumi.set(__self__, "subnet_id", subnet_id)
|
1040
|
-
pulumi.set(__self__, "subnets", subnets)
|
1041
982
|
pulumi.set(__self__, "system_tags", system_tags)
|
1042
983
|
pulumi.set(__self__, "time_created", time_created)
|
1043
984
|
pulumi.set(__self__, "time_updated", time_updated)
|
@@ -1091,19 +1032,17 @@ class GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemResult(dict):
|
|
1091
1032
|
"""
|
1092
1033
|
return pulumi.get(self, "lifecycle_details")
|
1093
1034
|
|
1094
|
-
@property
|
1095
|
-
@pulumi.getter(name="nsgIds")
|
1096
|
-
def nsg_ids(self) -> Sequence[str]:
|
1097
|
-
"""
|
1098
|
-
A list of network security group (NSG) OCIDs that are associated with the Recovery Service subnet. You can specify a maximum of 5 unique OCIDs, which implies that you can associate a maximum of 5 NSGs to each Recovery Service subnet. Specify an empty array if you want to remove all the associated NSGs from a Recovery Service subnet. See [Network Security Groups](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/NetworkSecurityGroup/) for more information.
|
1099
|
-
"""
|
1100
|
-
return pulumi.get(self, "nsg_ids")
|
1101
|
-
|
1102
1035
|
@property
|
1103
1036
|
@pulumi.getter
|
1104
1037
|
def state(self) -> str:
|
1105
1038
|
"""
|
1106
|
-
A filter to return only the resources that match the specified lifecycle state.
|
1039
|
+
A filter to return only the resources that match the specified lifecycle state. Allowed values are:
|
1040
|
+
* CREATING
|
1041
|
+
* UPDATING
|
1042
|
+
* ACTIVE
|
1043
|
+
* DELETING
|
1044
|
+
* DELETED
|
1045
|
+
* FAILED
|
1107
1046
|
"""
|
1108
1047
|
return pulumi.get(self, "state")
|
1109
1048
|
|
@@ -1111,21 +1050,10 @@ class GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemResult(dict):
|
|
1111
1050
|
@pulumi.getter(name="subnetId")
|
1112
1051
|
def subnet_id(self) -> str:
|
1113
1052
|
"""
|
1114
|
-
|
1053
|
+
The OCID of the subnet used as the recovery service subnet.
|
1115
1054
|
"""
|
1116
|
-
warnings.warn("""The 'subnet_id' field has been deprecated. Please use 'subnets' instead.""", DeprecationWarning)
|
1117
|
-
pulumi.log.warn("""subnet_id is deprecated: The 'subnet_id' field has been deprecated. Please use 'subnets' instead.""")
|
1118
|
-
|
1119
1055
|
return pulumi.get(self, "subnet_id")
|
1120
1056
|
|
1121
|
-
@property
|
1122
|
-
@pulumi.getter
|
1123
|
-
def subnets(self) -> Sequence[str]:
|
1124
|
-
"""
|
1125
|
-
A list of OCIDs of all the subnets associated with the Recovery Service subnet.
|
1126
|
-
"""
|
1127
|
-
return pulumi.get(self, "subnets")
|
1128
|
-
|
1129
1057
|
@property
|
1130
1058
|
@pulumi.getter(name="systemTags")
|
1131
1059
|
def system_tags(self) -> Mapping[str, Any]:
|