pulumi-oci 1.33.0a1714072500__py3-none-any.whl → 1.34.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. pulumi_oci/__init__.py +40 -0
  2. pulumi_oci/config/__init__.pyi +2 -2
  3. pulumi_oci/config/vars.py +2 -2
  4. pulumi_oci/database/db_home.py +47 -0
  5. pulumi_oci/database/get_db_home.py +14 -1
  6. pulumi_oci/database/outputs.py +11 -0
  7. pulumi_oci/databasemanagement/__init__.py +5 -0
  8. pulumi_oci/databasemanagement/_inputs.py +1207 -2
  9. pulumi_oci/databasemanagement/database_dbm_features_management.py +275 -0
  10. pulumi_oci/databasemanagement/db_management_private_endpoint.py +28 -0
  11. pulumi_oci/databasemanagement/external_asm.py +28 -0
  12. pulumi_oci/databasemanagement/external_asm_instance.py +28 -0
  13. pulumi_oci/databasemanagement/external_cluster.py +28 -0
  14. pulumi_oci/databasemanagement/external_cluster_instance.py +28 -0
  15. pulumi_oci/databasemanagement/external_db_home.py +28 -0
  16. pulumi_oci/databasemanagement/external_db_node.py +28 -0
  17. pulumi_oci/databasemanagement/external_db_system.py +28 -0
  18. pulumi_oci/databasemanagement/external_db_system_connector.py +28 -0
  19. pulumi_oci/databasemanagement/external_db_system_discovery.py +28 -0
  20. pulumi_oci/databasemanagement/external_exadata_infrastructure.py +28 -0
  21. pulumi_oci/databasemanagement/external_exadata_storage_connector.py +28 -0
  22. pulumi_oci/databasemanagement/external_exadata_storage_grid.py +28 -0
  23. pulumi_oci/databasemanagement/external_exadata_storage_server.py +28 -0
  24. pulumi_oci/databasemanagement/external_listener.py +28 -0
  25. pulumi_oci/databasemanagement/externalcontainerdatabase_external_container_dbm_features_management.py +275 -0
  26. pulumi_oci/databasemanagement/externalnoncontainerdatabase_external_non_container_dbm_features_management.py +275 -0
  27. pulumi_oci/databasemanagement/externalpluggabledatabase_external_pluggable_dbm_features_management.py +275 -0
  28. pulumi_oci/databasemanagement/get_db_management_private_endpoint.py +14 -1
  29. pulumi_oci/databasemanagement/get_external_asm.py +14 -1
  30. pulumi_oci/databasemanagement/get_external_asm_instance.py +14 -1
  31. pulumi_oci/databasemanagement/get_external_cluster.py +14 -1
  32. pulumi_oci/databasemanagement/get_external_cluster_instance.py +14 -1
  33. pulumi_oci/databasemanagement/get_external_databases.py +18 -1
  34. pulumi_oci/databasemanagement/get_external_db_home.py +14 -1
  35. pulumi_oci/databasemanagement/get_external_db_node.py +14 -1
  36. pulumi_oci/databasemanagement/get_external_db_system.py +14 -1
  37. pulumi_oci/databasemanagement/get_external_db_system_connector.py +14 -1
  38. pulumi_oci/databasemanagement/get_external_db_system_discovery.py +14 -1
  39. pulumi_oci/databasemanagement/get_external_exadata_infrastructure.py +14 -1
  40. pulumi_oci/databasemanagement/get_external_exadata_storage_connector.py +14 -1
  41. pulumi_oci/databasemanagement/get_external_exadata_storage_grid.py +14 -1
  42. pulumi_oci/databasemanagement/get_external_exadata_storage_server.py +14 -1
  43. pulumi_oci/databasemanagement/get_external_listener.py +14 -1
  44. pulumi_oci/databasemanagement/get_managed_database_group.py +14 -1
  45. pulumi_oci/databasemanagement/get_managed_my_sql_database.py +6 -6
  46. pulumi_oci/databasemanagement/get_named_credential.py +14 -1
  47. pulumi_oci/databasemanagement/managed_database.py +28 -0
  48. pulumi_oci/databasemanagement/managed_database_group.py +28 -0
  49. pulumi_oci/databasemanagement/named_credential.py +28 -0
  50. pulumi_oci/databasemanagement/outputs.py +1723 -214
  51. pulumi_oci/databasemanagement/pluggabledatabase_pluggable_database_dbm_features_management.py +275 -0
  52. pulumi_oci/datasafe/__init__.py +3 -0
  53. pulumi_oci/datasafe/_inputs.py +80 -0
  54. pulumi_oci/datasafe/get_masking_policy.py +11 -1
  55. pulumi_oci/datasafe/get_masking_policy_health_report.py +235 -0
  56. pulumi_oci/datasafe/get_masking_policy_health_report_logs.py +153 -0
  57. pulumi_oci/datasafe/get_masking_policy_health_reports.py +267 -0
  58. pulumi_oci/datasafe/masking_policy.py +75 -28
  59. pulumi_oci/datasafe/outputs.py +287 -0
  60. pulumi_oci/provider.py +8 -8
  61. pulumi_oci/recoverymod/_inputs.py +16 -0
  62. pulumi_oci/recoverymod/get_protected_database.py +25 -5
  63. pulumi_oci/recoverymod/get_protection_policies.py +1 -7
  64. pulumi_oci/recoverymod/get_protection_policy.py +15 -8
  65. pulumi_oci/recoverymod/get_recovery_service_subnet.py +32 -9
  66. pulumi_oci/recoverymod/get_recovery_service_subnets.py +3 -21
  67. pulumi_oci/recoverymod/outputs.py +96 -24
  68. pulumi_oci/recoverymod/protected_database.py +95 -16
  69. pulumi_oci/recoverymod/protection_policy.py +121 -54
  70. pulumi_oci/recoverymod/recovery_service_subnet.py +143 -55
  71. {pulumi_oci-1.33.0a1714072500.dist-info → pulumi_oci-1.34.0.dist-info}/METADATA +1 -1
  72. {pulumi_oci-1.33.0a1714072500.dist-info → pulumi_oci-1.34.0.dist-info}/RECORD +74 -66
  73. {pulumi_oci-1.33.0a1714072500.dist-info → pulumi_oci-1.34.0.dist-info}/WHEEL +0 -0
  74. {pulumi_oci-1.33.0a1714072500.dist-info → pulumi_oci-1.34.0.dist-info}/top_level.txt +0 -0
@@ -43,6 +43,8 @@ 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"
46
48
  elif key == "retentionPeriodInDays":
47
49
  suggest = "retention_period_in_days"
48
50
  elif key == "unprotectedWindowInSeconds":
@@ -65,6 +67,7 @@ class ProtectedDatabaseMetric(dict):
65
67
  current_retention_period_in_seconds: Optional[float] = None,
66
68
  db_size_in_gbs: Optional[float] = None,
67
69
  is_redo_logs_enabled: Optional[bool] = None,
70
+ minimum_recovery_needed_in_days: Optional[float] = None,
68
71
  retention_period_in_days: Optional[float] = None,
69
72
  unprotected_window_in_seconds: Optional[float] = None):
70
73
  """
@@ -73,6 +76,7 @@ class ProtectedDatabaseMetric(dict):
73
76
  :param float current_retention_period_in_seconds: Number of seconds backups are currently retained for this database.
74
77
  :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.
75
78
  :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.
76
80
  :param float retention_period_in_days: The maximum number of days to retain backups for a protected database.
77
81
  :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.
78
82
  """
@@ -86,6 +90,8 @@ class ProtectedDatabaseMetric(dict):
86
90
  pulumi.set(__self__, "db_size_in_gbs", db_size_in_gbs)
87
91
  if is_redo_logs_enabled is not None:
88
92
  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)
89
95
  if retention_period_in_days is not None:
90
96
  pulumi.set(__self__, "retention_period_in_days", retention_period_in_days)
91
97
  if unprotected_window_in_seconds is not None:
@@ -131,6 +137,14 @@ class ProtectedDatabaseMetric(dict):
131
137
  """
132
138
  return pulumi.get(self, "is_redo_logs_enabled")
133
139
 
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
+
134
148
  @property
135
149
  @pulumi.getter(name="retentionPeriodInDays")
136
150
  def retention_period_in_days(self) -> Optional[float]:
@@ -211,6 +225,7 @@ class GetProtectedDatabaseMetricResult(dict):
211
225
  current_retention_period_in_seconds: float,
212
226
  db_size_in_gbs: float,
213
227
  is_redo_logs_enabled: bool,
228
+ minimum_recovery_needed_in_days: float,
214
229
  retention_period_in_days: float,
215
230
  unprotected_window_in_seconds: float):
216
231
  """
@@ -219,6 +234,7 @@ class GetProtectedDatabaseMetricResult(dict):
219
234
  :param float current_retention_period_in_seconds: Number of seconds backups are currently retained for this database.
220
235
  :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.
221
236
  :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.
222
238
  :param float retention_period_in_days: The maximum number of days to retain backups for a protected database.
223
239
  :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.
224
240
  """
@@ -227,6 +243,7 @@ class GetProtectedDatabaseMetricResult(dict):
227
243
  pulumi.set(__self__, "current_retention_period_in_seconds", current_retention_period_in_seconds)
228
244
  pulumi.set(__self__, "db_size_in_gbs", db_size_in_gbs)
229
245
  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)
230
247
  pulumi.set(__self__, "retention_period_in_days", retention_period_in_days)
231
248
  pulumi.set(__self__, "unprotected_window_in_seconds", unprotected_window_in_seconds)
232
249
 
@@ -270,6 +287,14 @@ class GetProtectedDatabaseMetricResult(dict):
270
287
  """
271
288
  return pulumi.get(self, "is_redo_logs_enabled")
272
289
 
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
+
273
298
  @property
274
299
  @pulumi.getter(name="retentionPeriodInDays")
275
300
  def retention_period_in_days(self) -> float:
@@ -363,6 +388,7 @@ class GetProtectedDatabasesProtectedDatabaseCollectionItemResult(dict):
363
388
  database_size: str,
364
389
  db_unique_name: str,
365
390
  defined_tags: Mapping[str, Any],
391
+ deletion_schedule: str,
366
392
  display_name: str,
367
393
  freeform_tags: Mapping[str, Any],
368
394
  health: str,
@@ -373,6 +399,7 @@ class GetProtectedDatabasesProtectedDatabaseCollectionItemResult(dict):
373
399
  lifecycle_details: str,
374
400
  metrics: Sequence['outputs.GetProtectedDatabasesProtectedDatabaseCollectionItemMetricResult'],
375
401
  password: str,
402
+ policy_locked_date_time: str,
376
403
  protection_policy_id: str,
377
404
  recovery_service_subnets: Sequence['outputs.GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetResult'],
378
405
  state: str,
@@ -388,16 +415,14 @@ class GetProtectedDatabasesProtectedDatabaseCollectionItemResult(dict):
388
415
  :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)
389
416
  :param str display_name: A filter to return only resources that match the entire 'displayname' given.
390
417
  :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"}`
391
- :param str health: Indicates the protection status of the database. Allowed values are:
392
- * HEALTHY
393
- * WARNING
394
- * ALERT
418
+ :param str health: Indicates the protection status of the database.
395
419
  :param str health_details: A message describing the current health of the protected database.
396
420
  :param str id: The protected database OCID.
397
421
  :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.
398
422
  :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.
399
423
  :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.
400
424
  :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.
401
426
  :param str protection_policy_id: The protection policy OCID.
402
427
  :param Sequence['GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArgs'] recovery_service_subnets: List of recovery service subnet resources associated with the protected database.
403
428
  :param str state: A filter to return only the resources that match the specified lifecycle state.
@@ -411,6 +436,7 @@ class GetProtectedDatabasesProtectedDatabaseCollectionItemResult(dict):
411
436
  pulumi.set(__self__, "database_size", database_size)
412
437
  pulumi.set(__self__, "db_unique_name", db_unique_name)
413
438
  pulumi.set(__self__, "defined_tags", defined_tags)
439
+ pulumi.set(__self__, "deletion_schedule", deletion_schedule)
414
440
  pulumi.set(__self__, "display_name", display_name)
415
441
  pulumi.set(__self__, "freeform_tags", freeform_tags)
416
442
  pulumi.set(__self__, "health", health)
@@ -421,6 +447,7 @@ class GetProtectedDatabasesProtectedDatabaseCollectionItemResult(dict):
421
447
  pulumi.set(__self__, "lifecycle_details", lifecycle_details)
422
448
  pulumi.set(__self__, "metrics", metrics)
423
449
  pulumi.set(__self__, "password", password)
450
+ pulumi.set(__self__, "policy_locked_date_time", policy_locked_date_time)
424
451
  pulumi.set(__self__, "protection_policy_id", protection_policy_id)
425
452
  pulumi.set(__self__, "recovery_service_subnets", recovery_service_subnets)
426
453
  pulumi.set(__self__, "state", state)
@@ -469,6 +496,11 @@ class GetProtectedDatabasesProtectedDatabaseCollectionItemResult(dict):
469
496
  """
470
497
  return pulumi.get(self, "defined_tags")
471
498
 
499
+ @property
500
+ @pulumi.getter(name="deletionSchedule")
501
+ def deletion_schedule(self) -> str:
502
+ return pulumi.get(self, "deletion_schedule")
503
+
472
504
  @property
473
505
  @pulumi.getter(name="displayName")
474
506
  def display_name(self) -> str:
@@ -489,10 +521,7 @@ class GetProtectedDatabasesProtectedDatabaseCollectionItemResult(dict):
489
521
  @pulumi.getter
490
522
  def health(self) -> str:
491
523
  """
492
- Indicates the protection status of the database. Allowed values are:
493
- * HEALTHY
494
- * WARNING
495
- * ALERT
524
+ Indicates the protection status of the database.
496
525
  """
497
526
  return pulumi.get(self, "health")
498
527
 
@@ -549,6 +578,14 @@ class GetProtectedDatabasesProtectedDatabaseCollectionItemResult(dict):
549
578
  def password(self) -> str:
550
579
  return pulumi.get(self, "password")
551
580
 
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
+
552
589
  @property
553
590
  @pulumi.getter(name="protectionPolicyId")
554
591
  def protection_policy_id(self) -> str:
@@ -614,6 +651,7 @@ class GetProtectedDatabasesProtectedDatabaseCollectionItemMetricResult(dict):
614
651
  current_retention_period_in_seconds: float,
615
652
  db_size_in_gbs: float,
616
653
  is_redo_logs_enabled: bool,
654
+ minimum_recovery_needed_in_days: float,
617
655
  retention_period_in_days: float,
618
656
  unprotected_window_in_seconds: float):
619
657
  """
@@ -622,6 +660,7 @@ class GetProtectedDatabasesProtectedDatabaseCollectionItemMetricResult(dict):
622
660
  :param float current_retention_period_in_seconds: Number of seconds backups are currently retained for this database.
623
661
  :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.
624
662
  :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.
625
664
  :param float retention_period_in_days: The maximum number of days to retain backups for a protected database.
626
665
  :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.
627
666
  """
@@ -630,6 +669,7 @@ class GetProtectedDatabasesProtectedDatabaseCollectionItemMetricResult(dict):
630
669
  pulumi.set(__self__, "current_retention_period_in_seconds", current_retention_period_in_seconds)
631
670
  pulumi.set(__self__, "db_size_in_gbs", db_size_in_gbs)
632
671
  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)
633
673
  pulumi.set(__self__, "retention_period_in_days", retention_period_in_days)
634
674
  pulumi.set(__self__, "unprotected_window_in_seconds", unprotected_window_in_seconds)
635
675
 
@@ -673,6 +713,14 @@ class GetProtectedDatabasesProtectedDatabaseCollectionItemMetricResult(dict):
673
713
  """
674
714
  return pulumi.get(self, "is_redo_logs_enabled")
675
715
 
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
+
676
724
  @property
677
725
  @pulumi.getter(name="retentionPeriodInDays")
678
726
  def retention_period_in_days(self) -> float:
@@ -769,6 +817,7 @@ class GetProtectionPoliciesProtectionPolicyCollectionItemResult(dict):
769
817
  id: str,
770
818
  is_predefined_policy: bool,
771
819
  lifecycle_details: str,
820
+ policy_locked_date_time: str,
772
821
  state: str,
773
822
  system_tags: Mapping[str, Any],
774
823
  time_created: str,
@@ -782,6 +831,7 @@ class GetProtectionPoliciesProtectionPolicyCollectionItemResult(dict):
782
831
  :param str id: The protection policy OCID.
783
832
  :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.
784
833
  :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.
785
835
  :param str state: A filter to return only resources their lifecycleState matches the given lifecycleState.
786
836
  :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)
787
837
  :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'.
@@ -795,6 +845,7 @@ class GetProtectionPoliciesProtectionPolicyCollectionItemResult(dict):
795
845
  pulumi.set(__self__, "id", id)
796
846
  pulumi.set(__self__, "is_predefined_policy", is_predefined_policy)
797
847
  pulumi.set(__self__, "lifecycle_details", lifecycle_details)
848
+ pulumi.set(__self__, "policy_locked_date_time", policy_locked_date_time)
798
849
  pulumi.set(__self__, "state", state)
799
850
  pulumi.set(__self__, "system_tags", system_tags)
800
851
  pulumi.set(__self__, "time_created", time_created)
@@ -864,6 +915,14 @@ class GetProtectionPoliciesProtectionPolicyCollectionItemResult(dict):
864
915
  """
865
916
  return pulumi.get(self, "lifecycle_details")
866
917
 
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
+
867
926
  @property
868
927
  @pulumi.getter
869
928
  def state(self) -> str:
@@ -945,8 +1004,10 @@ class GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemResult(dict):
945
1004
  freeform_tags: Mapping[str, Any],
946
1005
  id: str,
947
1006
  lifecycle_details: str,
1007
+ nsg_ids: Sequence[str],
948
1008
  state: str,
949
1009
  subnet_id: str,
1010
+ subnets: Sequence[str],
950
1011
  system_tags: Mapping[str, Any],
951
1012
  time_created: str,
952
1013
  time_updated: str,
@@ -958,14 +1019,10 @@ class GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemResult(dict):
958
1019
  :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"}`
959
1020
  :param str id: The recovery service subnet OCID.
960
1021
  :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
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.
1022
+ :param Sequence[str] nsg_ids: 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.
1023
+ :param str state: A filter to return only the resources that match the specified lifecycle state.
1024
+ :param str subnet_id: Deprecated. One of the subnets associated with the Recovery Service subnet.
1025
+ :param Sequence[str] subnets: A list of OCIDs of all the subnets associated with the Recovery Service subnet.
969
1026
  :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)
970
1027
  :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'.
971
1028
  :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'.
@@ -977,8 +1034,10 @@ class GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemResult(dict):
977
1034
  pulumi.set(__self__, "freeform_tags", freeform_tags)
978
1035
  pulumi.set(__self__, "id", id)
979
1036
  pulumi.set(__self__, "lifecycle_details", lifecycle_details)
1037
+ pulumi.set(__self__, "nsg_ids", nsg_ids)
980
1038
  pulumi.set(__self__, "state", state)
981
1039
  pulumi.set(__self__, "subnet_id", subnet_id)
1040
+ pulumi.set(__self__, "subnets", subnets)
982
1041
  pulumi.set(__self__, "system_tags", system_tags)
983
1042
  pulumi.set(__self__, "time_created", time_created)
984
1043
  pulumi.set(__self__, "time_updated", time_updated)
@@ -1032,17 +1091,19 @@ class GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemResult(dict):
1032
1091
  """
1033
1092
  return pulumi.get(self, "lifecycle_details")
1034
1093
 
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
+
1035
1102
  @property
1036
1103
  @pulumi.getter
1037
1104
  def state(self) -> str:
1038
1105
  """
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
1106
+ A filter to return only the resources that match the specified lifecycle state.
1046
1107
  """
1047
1108
  return pulumi.get(self, "state")
1048
1109
 
@@ -1050,10 +1111,21 @@ class GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemResult(dict):
1050
1111
  @pulumi.getter(name="subnetId")
1051
1112
  def subnet_id(self) -> str:
1052
1113
  """
1053
- The OCID of the subnet used as the recovery service subnet.
1114
+ Deprecated. One of the subnets associated with the Recovery Service subnet.
1054
1115
  """
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
+
1055
1119
  return pulumi.get(self, "subnet_id")
1056
1120
 
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
+
1057
1129
  @property
1058
1130
  @pulumi.getter(name="systemTags")
1059
1131
  def system_tags(self) -> Mapping[str, Any]: