pulumi-oci 1.34.0a1714544127__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.
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.34.0a1714544127.dist-info → pulumi_oci-1.34.0a1714766740.dist-info}/METADATA +1 -1
  72. {pulumi_oci-1.34.0a1714544127.dist-info → pulumi_oci-1.34.0a1714766740.dist-info}/RECORD +74 -66
  73. {pulumi_oci-1.34.0a1714544127.dist-info → pulumi_oci-1.34.0a1714766740.dist-info}/WHEEL +0 -0
  74. {pulumi_oci-1.34.0a1714544127.dist-info → pulumi_oci-1.34.0a1714766740.dist-info}/top_level.txt +0 -0
@@ -25,6 +25,7 @@ class ProtectedDatabaseMetricArgs:
25
25
  current_retention_period_in_seconds: Optional[pulumi.Input[float]] = None,
26
26
  db_size_in_gbs: Optional[pulumi.Input[float]] = None,
27
27
  is_redo_logs_enabled: Optional[pulumi.Input[bool]] = None,
28
+ minimum_recovery_needed_in_days: Optional[pulumi.Input[float]] = None,
28
29
  retention_period_in_days: Optional[pulumi.Input[float]] = None,
29
30
  unprotected_window_in_seconds: Optional[pulumi.Input[float]] = None):
30
31
  """
@@ -33,6 +34,7 @@ class ProtectedDatabaseMetricArgs:
33
34
  :param pulumi.Input[float] current_retention_period_in_seconds: Number of seconds backups are currently retained for this database.
34
35
  :param pulumi.Input[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.
35
36
  :param pulumi.Input[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.
37
+ :param pulumi.Input[float] minimum_recovery_needed_in_days: Number of days of redo/archive to be applied to recover database.
36
38
  :param pulumi.Input[float] retention_period_in_days: The maximum number of days to retain backups for a protected database.
37
39
  :param pulumi.Input[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.
38
40
  """
@@ -46,6 +48,8 @@ class ProtectedDatabaseMetricArgs:
46
48
  pulumi.set(__self__, "db_size_in_gbs", db_size_in_gbs)
47
49
  if is_redo_logs_enabled is not None:
48
50
  pulumi.set(__self__, "is_redo_logs_enabled", is_redo_logs_enabled)
51
+ if minimum_recovery_needed_in_days is not None:
52
+ pulumi.set(__self__, "minimum_recovery_needed_in_days", minimum_recovery_needed_in_days)
49
53
  if retention_period_in_days is not None:
50
54
  pulumi.set(__self__, "retention_period_in_days", retention_period_in_days)
51
55
  if unprotected_window_in_seconds is not None:
@@ -111,6 +115,18 @@ class ProtectedDatabaseMetricArgs:
111
115
  def is_redo_logs_enabled(self, value: Optional[pulumi.Input[bool]]):
112
116
  pulumi.set(self, "is_redo_logs_enabled", value)
113
117
 
118
+ @property
119
+ @pulumi.getter(name="minimumRecoveryNeededInDays")
120
+ def minimum_recovery_needed_in_days(self) -> Optional[pulumi.Input[float]]:
121
+ """
122
+ Number of days of redo/archive to be applied to recover database.
123
+ """
124
+ return pulumi.get(self, "minimum_recovery_needed_in_days")
125
+
126
+ @minimum_recovery_needed_in_days.setter
127
+ def minimum_recovery_needed_in_days(self, value: Optional[pulumi.Input[float]]):
128
+ pulumi.set(self, "minimum_recovery_needed_in_days", value)
129
+
114
130
  @property
115
131
  @pulumi.getter(name="retentionPeriodInDays")
116
132
  def retention_period_in_days(self) -> Optional[pulumi.Input[float]]:
@@ -22,7 +22,7 @@ class GetProtectedDatabaseResult:
22
22
  """
23
23
  A collection of values returned by getProtectedDatabase.
24
24
  """
25
- def __init__(__self__, compartment_id=None, database_id=None, database_size=None, db_unique_name=None, defined_tags=None, display_name=None, freeform_tags=None, health=None, health_details=None, id=None, is_read_only_resource=None, is_redo_logs_shipped=None, lifecycle_details=None, metrics=None, password=None, protected_database_id=None, protection_policy_id=None, recovery_service_subnets=None, state=None, system_tags=None, time_created=None, time_updated=None, vpc_user_name=None):
25
+ def __init__(__self__, compartment_id=None, database_id=None, database_size=None, db_unique_name=None, defined_tags=None, deletion_schedule=None, display_name=None, freeform_tags=None, health=None, health_details=None, id=None, is_read_only_resource=None, is_redo_logs_shipped=None, lifecycle_details=None, metrics=None, password=None, policy_locked_date_time=None, protected_database_id=None, protection_policy_id=None, recovery_service_subnets=None, state=None, system_tags=None, time_created=None, time_updated=None, vpc_user_name=None):
26
26
  if compartment_id and not isinstance(compartment_id, str):
27
27
  raise TypeError("Expected argument 'compartment_id' to be a str")
28
28
  pulumi.set(__self__, "compartment_id", compartment_id)
@@ -38,6 +38,9 @@ class GetProtectedDatabaseResult:
38
38
  if defined_tags and not isinstance(defined_tags, dict):
39
39
  raise TypeError("Expected argument 'defined_tags' to be a dict")
40
40
  pulumi.set(__self__, "defined_tags", defined_tags)
41
+ if deletion_schedule and not isinstance(deletion_schedule, str):
42
+ raise TypeError("Expected argument 'deletion_schedule' to be a str")
43
+ pulumi.set(__self__, "deletion_schedule", deletion_schedule)
41
44
  if display_name and not isinstance(display_name, str):
42
45
  raise TypeError("Expected argument 'display_name' to be a str")
43
46
  pulumi.set(__self__, "display_name", display_name)
@@ -68,6 +71,9 @@ class GetProtectedDatabaseResult:
68
71
  if password and not isinstance(password, str):
69
72
  raise TypeError("Expected argument 'password' to be a str")
70
73
  pulumi.set(__self__, "password", password)
74
+ if policy_locked_date_time and not isinstance(policy_locked_date_time, str):
75
+ raise TypeError("Expected argument 'policy_locked_date_time' to be a str")
76
+ pulumi.set(__self__, "policy_locked_date_time", policy_locked_date_time)
71
77
  if protected_database_id and not isinstance(protected_database_id, str):
72
78
  raise TypeError("Expected argument 'protected_database_id' to be a str")
73
79
  pulumi.set(__self__, "protected_database_id", protected_database_id)
@@ -133,6 +139,11 @@ class GetProtectedDatabaseResult:
133
139
  """
134
140
  return pulumi.get(self, "defined_tags")
135
141
 
142
+ @property
143
+ @pulumi.getter(name="deletionSchedule")
144
+ def deletion_schedule(self) -> str:
145
+ return pulumi.get(self, "deletion_schedule")
146
+
136
147
  @property
137
148
  @pulumi.getter(name="displayName")
138
149
  def display_name(self) -> str:
@@ -153,10 +164,7 @@ class GetProtectedDatabaseResult:
153
164
  @pulumi.getter
154
165
  def health(self) -> str:
155
166
  """
156
- Indicates the protection status of the database. Allowed values are:
157
- * HEALTHY
158
- * WARNING
159
- * ALERT
167
+ Indicates the protection status of the database.
160
168
  """
161
169
  return pulumi.get(self, "health")
162
170
 
@@ -213,6 +221,14 @@ class GetProtectedDatabaseResult:
213
221
  def password(self) -> str:
214
222
  return pulumi.get(self, "password")
215
223
 
224
+ @property
225
+ @pulumi.getter(name="policyLockedDateTime")
226
+ def policy_locked_date_time(self) -> str:
227
+ """
228
+ 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.
229
+ """
230
+ return pulumi.get(self, "policy_locked_date_time")
231
+
216
232
  @property
217
233
  @pulumi.getter(name="protectedDatabaseId")
218
234
  def protected_database_id(self) -> str:
@@ -286,6 +302,7 @@ class AwaitableGetProtectedDatabaseResult(GetProtectedDatabaseResult):
286
302
  database_size=self.database_size,
287
303
  db_unique_name=self.db_unique_name,
288
304
  defined_tags=self.defined_tags,
305
+ deletion_schedule=self.deletion_schedule,
289
306
  display_name=self.display_name,
290
307
  freeform_tags=self.freeform_tags,
291
308
  health=self.health,
@@ -296,6 +313,7 @@ class AwaitableGetProtectedDatabaseResult(GetProtectedDatabaseResult):
296
313
  lifecycle_details=self.lifecycle_details,
297
314
  metrics=self.metrics,
298
315
  password=self.password,
316
+ policy_locked_date_time=self.policy_locked_date_time,
299
317
  protected_database_id=self.protected_database_id,
300
318
  protection_policy_id=self.protection_policy_id,
301
319
  recovery_service_subnets=self.recovery_service_subnets,
@@ -336,6 +354,7 @@ def get_protected_database(protected_database_id: Optional[str] = None,
336
354
  database_size=pulumi.get(__ret__, 'database_size'),
337
355
  db_unique_name=pulumi.get(__ret__, 'db_unique_name'),
338
356
  defined_tags=pulumi.get(__ret__, 'defined_tags'),
357
+ deletion_schedule=pulumi.get(__ret__, 'deletion_schedule'),
339
358
  display_name=pulumi.get(__ret__, 'display_name'),
340
359
  freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
341
360
  health=pulumi.get(__ret__, 'health'),
@@ -346,6 +365,7 @@ def get_protected_database(protected_database_id: Optional[str] = None,
346
365
  lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
347
366
  metrics=pulumi.get(__ret__, 'metrics'),
348
367
  password=pulumi.get(__ret__, 'password'),
368
+ policy_locked_date_time=pulumi.get(__ret__, 'policy_locked_date_time'),
349
369
  protected_database_id=pulumi.get(__ret__, 'protected_database_id'),
350
370
  protection_policy_id=pulumi.get(__ret__, 'protection_policy_id'),
351
371
  recovery_service_subnets=pulumi.get(__ret__, 'recovery_service_subnets'),
@@ -100,13 +100,7 @@ class GetProtectionPoliciesResult:
100
100
  @pulumi.getter
101
101
  def state(self) -> Optional[str]:
102
102
  """
103
- The current state of the protection policy. Allowed values are:
104
- * CREATING
105
- * UPDATING
106
- * ACTIVE
107
- * DELETING
108
- * DELETED
109
- * FAILED
103
+ The current state of the protection policy.
110
104
  """
111
105
  return pulumi.get(self, "state")
112
106
 
@@ -21,7 +21,7 @@ class GetProtectionPolicyResult:
21
21
  """
22
22
  A collection of values returned by getProtectionPolicy.
23
23
  """
24
- def __init__(__self__, backup_retention_period_in_days=None, compartment_id=None, defined_tags=None, display_name=None, freeform_tags=None, id=None, is_predefined_policy=None, lifecycle_details=None, protection_policy_id=None, state=None, system_tags=None, time_created=None, time_updated=None):
24
+ def __init__(__self__, backup_retention_period_in_days=None, compartment_id=None, defined_tags=None, display_name=None, freeform_tags=None, id=None, is_predefined_policy=None, lifecycle_details=None, policy_locked_date_time=None, protection_policy_id=None, state=None, system_tags=None, time_created=None, time_updated=None):
25
25
  if backup_retention_period_in_days and not isinstance(backup_retention_period_in_days, int):
26
26
  raise TypeError("Expected argument 'backup_retention_period_in_days' to be a int")
27
27
  pulumi.set(__self__, "backup_retention_period_in_days", backup_retention_period_in_days)
@@ -46,6 +46,9 @@ class GetProtectionPolicyResult:
46
46
  if lifecycle_details and not isinstance(lifecycle_details, str):
47
47
  raise TypeError("Expected argument 'lifecycle_details' to be a str")
48
48
  pulumi.set(__self__, "lifecycle_details", lifecycle_details)
49
+ if policy_locked_date_time and not isinstance(policy_locked_date_time, str):
50
+ raise TypeError("Expected argument 'policy_locked_date_time' to be a str")
51
+ pulumi.set(__self__, "policy_locked_date_time", policy_locked_date_time)
49
52
  if protection_policy_id and not isinstance(protection_policy_id, str):
50
53
  raise TypeError("Expected argument 'protection_policy_id' to be a str")
51
54
  pulumi.set(__self__, "protection_policy_id", protection_policy_id)
@@ -126,6 +129,14 @@ class GetProtectionPolicyResult:
126
129
  """
127
130
  return pulumi.get(self, "lifecycle_details")
128
131
 
132
+ @property
133
+ @pulumi.getter(name="policyLockedDateTime")
134
+ def policy_locked_date_time(self) -> str:
135
+ """
136
+ 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.
137
+ """
138
+ return pulumi.get(self, "policy_locked_date_time")
139
+
129
140
  @property
130
141
  @pulumi.getter(name="protectionPolicyId")
131
142
  def protection_policy_id(self) -> str:
@@ -135,13 +146,7 @@ class GetProtectionPolicyResult:
135
146
  @pulumi.getter
136
147
  def state(self) -> str:
137
148
  """
138
- The current state of the protection policy. Allowed values are:
139
- * CREATING
140
- * UPDATING
141
- * ACTIVE
142
- * DELETING
143
- * DELETED
144
- * FAILED
149
+ The current state of the protection policy.
145
150
  """
146
151
  return pulumi.get(self, "state")
147
152
 
@@ -184,6 +189,7 @@ class AwaitableGetProtectionPolicyResult(GetProtectionPolicyResult):
184
189
  id=self.id,
185
190
  is_predefined_policy=self.is_predefined_policy,
186
191
  lifecycle_details=self.lifecycle_details,
192
+ policy_locked_date_time=self.policy_locked_date_time,
187
193
  protection_policy_id=self.protection_policy_id,
188
194
  state=self.state,
189
195
  system_tags=self.system_tags,
@@ -224,6 +230,7 @@ def get_protection_policy(protection_policy_id: Optional[str] = None,
224
230
  id=pulumi.get(__ret__, 'id'),
225
231
  is_predefined_policy=pulumi.get(__ret__, 'is_predefined_policy'),
226
232
  lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
233
+ policy_locked_date_time=pulumi.get(__ret__, 'policy_locked_date_time'),
227
234
  protection_policy_id=pulumi.get(__ret__, 'protection_policy_id'),
228
235
  state=pulumi.get(__ret__, 'state'),
229
236
  system_tags=pulumi.get(__ret__, 'system_tags'),
@@ -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, recovery_service_subnet_id=None, state=None, subnet_id=None, system_tags=None, time_created=None, time_updated=None, vcn_id=None):
24
+ def __init__(__self__, compartment_id=None, defined_tags=None, display_name=None, freeform_tags=None, id=None, lifecycle_details=None, nsg_ids=None, recovery_service_subnet_id=None, state=None, subnet_id=None, subnets=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,6 +40,9 @@ 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)
43
46
  if recovery_service_subnet_id and not isinstance(recovery_service_subnet_id, str):
44
47
  raise TypeError("Expected argument 'recovery_service_subnet_id' to be a str")
45
48
  pulumi.set(__self__, "recovery_service_subnet_id", recovery_service_subnet_id)
@@ -49,6 +52,9 @@ class GetRecoveryServiceSubnetResult:
49
52
  if subnet_id and not isinstance(subnet_id, str):
50
53
  raise TypeError("Expected argument 'subnet_id' to be a str")
51
54
  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)
52
58
  if system_tags and not isinstance(system_tags, dict):
53
59
  raise TypeError("Expected argument 'system_tags' to be a dict")
54
60
  pulumi.set(__self__, "system_tags", system_tags)
@@ -110,6 +116,14 @@ class GetRecoveryServiceSubnetResult:
110
116
  """
111
117
  return pulumi.get(self, "lifecycle_details")
112
118
 
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
+
113
127
  @property
114
128
  @pulumi.getter(name="recoveryServiceSubnetId")
115
129
  def recovery_service_subnet_id(self) -> str:
@@ -119,13 +133,7 @@ class GetRecoveryServiceSubnetResult:
119
133
  @pulumi.getter
120
134
  def state(self) -> str:
121
135
  """
122
- The current state of the recovery service subnet. Allowed values are:
123
- * CREATING
124
- * UPDATING
125
- * ACTIVE
126
- * DELETING
127
- * DELETED
128
- * FAILED
136
+ The current state of the recovery service subnet.
129
137
  """
130
138
  return pulumi.get(self, "state")
131
139
 
@@ -133,10 +141,21 @@ class GetRecoveryServiceSubnetResult:
133
141
  @pulumi.getter(name="subnetId")
134
142
  def subnet_id(self) -> str:
135
143
  """
136
- The OCID of the subnet used as the recovery service subnet.
144
+ Deprecated. One of the subnets associated with the Recovery Service subnet.
137
145
  """
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
+
138
149
  return pulumi.get(self, "subnet_id")
139
150
 
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
+
140
159
  @property
141
160
  @pulumi.getter(name="systemTags")
142
161
  def system_tags(self) -> Mapping[str, Any]:
@@ -182,9 +201,11 @@ class AwaitableGetRecoveryServiceSubnetResult(GetRecoveryServiceSubnetResult):
182
201
  freeform_tags=self.freeform_tags,
183
202
  id=self.id,
184
203
  lifecycle_details=self.lifecycle_details,
204
+ nsg_ids=self.nsg_ids,
185
205
  recovery_service_subnet_id=self.recovery_service_subnet_id,
186
206
  state=self.state,
187
207
  subnet_id=self.subnet_id,
208
+ subnets=self.subnets,
188
209
  system_tags=self.system_tags,
189
210
  time_created=self.time_created,
190
211
  time_updated=self.time_updated,
@@ -222,9 +243,11 @@ def get_recovery_service_subnet(recovery_service_subnet_id: Optional[str] = None
222
243
  freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
223
244
  id=pulumi.get(__ret__, 'id'),
224
245
  lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
246
+ nsg_ids=pulumi.get(__ret__, 'nsg_ids'),
225
247
  recovery_service_subnet_id=pulumi.get(__ret__, 'recovery_service_subnet_id'),
226
248
  state=pulumi.get(__ret__, 'state'),
227
249
  subnet_id=pulumi.get(__ret__, 'subnet_id'),
250
+ subnets=pulumi.get(__ret__, 'subnets'),
228
251
  system_tags=pulumi.get(__ret__, 'system_tags'),
229
252
  time_created=pulumi.get(__ret__, 'time_created'),
230
253
  time_updated=pulumi.get(__ret__, 'time_updated'),
@@ -87,13 +87,7 @@ class GetRecoveryServiceSubnetsResult:
87
87
  @pulumi.getter
88
88
  def state(self) -> Optional[str]:
89
89
  """
90
- The current state of the recovery service subnet. Allowed values are:
91
- * CREATING
92
- * UPDATING
93
- * ACTIVE
94
- * DELETING
95
- * DELETED
96
- * FAILED
90
+ The current state of the recovery service subnet.
97
91
  """
98
92
  return pulumi.get(self, "state")
99
93
 
@@ -150,13 +144,7 @@ def get_recovery_service_subnets(compartment_id: Optional[str] = None,
150
144
  :param str compartment_id: The compartment OCID.
151
145
  :param str display_name: A filter to return only resources that match the entire 'displayname' given.
152
146
  :param str id: The recovery service subnet OCID.
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
147
+ :param str state: A filter to return only the resources that match the specified lifecycle state.
160
148
  :param str vcn_id: The OCID of the virtual cloud network (VCN) associated with the recovery service subnet.
161
149
  """
162
150
  __args__ = dict()
@@ -209,13 +197,7 @@ def get_recovery_service_subnets_output(compartment_id: Optional[pulumi.Input[st
209
197
  :param str compartment_id: The compartment OCID.
210
198
  :param str display_name: A filter to return only resources that match the entire 'displayname' given.
211
199
  :param str id: The recovery service subnet OCID.
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
200
+ :param str state: A filter to return only the resources that match the specified lifecycle state.
219
201
  :param str vcn_id: The OCID of the virtual cloud network (VCN) associated with the recovery service subnet.
220
202
  """
221
203
  ...