pulumi-oci 1.34.0a1714565502__py3-none-any.whl → 1.35.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 (88) 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/_inputs.py +112 -0
  5. pulumi_oci/database/cloud_exadata_infrastructure.py +28 -0
  6. pulumi_oci/database/cloud_vm_cluster.py +55 -0
  7. pulumi_oci/database/db_home.py +47 -0
  8. pulumi_oci/database/get_cloud_exadata_infrastructure.py +14 -1
  9. pulumi_oci/database/get_cloud_vm_cluster.py +14 -1
  10. pulumi_oci/database/get_db_home.py +14 -1
  11. pulumi_oci/database/outputs.py +327 -6
  12. pulumi_oci/databasemanagement/__init__.py +5 -0
  13. pulumi_oci/databasemanagement/_inputs.py +1207 -2
  14. pulumi_oci/databasemanagement/database_dbm_features_management.py +275 -0
  15. pulumi_oci/databasemanagement/db_management_private_endpoint.py +28 -0
  16. pulumi_oci/databasemanagement/external_asm.py +28 -0
  17. pulumi_oci/databasemanagement/external_asm_instance.py +28 -0
  18. pulumi_oci/databasemanagement/external_cluster.py +28 -0
  19. pulumi_oci/databasemanagement/external_cluster_instance.py +28 -0
  20. pulumi_oci/databasemanagement/external_db_home.py +28 -0
  21. pulumi_oci/databasemanagement/external_db_node.py +28 -0
  22. pulumi_oci/databasemanagement/external_db_system.py +28 -0
  23. pulumi_oci/databasemanagement/external_db_system_connector.py +28 -0
  24. pulumi_oci/databasemanagement/external_db_system_discovery.py +28 -0
  25. pulumi_oci/databasemanagement/external_exadata_infrastructure.py +28 -0
  26. pulumi_oci/databasemanagement/external_exadata_storage_connector.py +28 -0
  27. pulumi_oci/databasemanagement/external_exadata_storage_grid.py +28 -0
  28. pulumi_oci/databasemanagement/external_exadata_storage_server.py +28 -0
  29. pulumi_oci/databasemanagement/external_listener.py +28 -0
  30. pulumi_oci/databasemanagement/externalcontainerdatabase_external_container_dbm_features_management.py +275 -0
  31. pulumi_oci/databasemanagement/externalnoncontainerdatabase_external_non_container_dbm_features_management.py +275 -0
  32. pulumi_oci/databasemanagement/externalpluggabledatabase_external_pluggable_dbm_features_management.py +275 -0
  33. pulumi_oci/databasemanagement/get_db_management_private_endpoint.py +14 -1
  34. pulumi_oci/databasemanagement/get_external_asm.py +14 -1
  35. pulumi_oci/databasemanagement/get_external_asm_instance.py +14 -1
  36. pulumi_oci/databasemanagement/get_external_cluster.py +14 -1
  37. pulumi_oci/databasemanagement/get_external_cluster_instance.py +14 -1
  38. pulumi_oci/databasemanagement/get_external_databases.py +18 -1
  39. pulumi_oci/databasemanagement/get_external_db_home.py +14 -1
  40. pulumi_oci/databasemanagement/get_external_db_node.py +14 -1
  41. pulumi_oci/databasemanagement/get_external_db_system.py +14 -1
  42. pulumi_oci/databasemanagement/get_external_db_system_connector.py +14 -1
  43. pulumi_oci/databasemanagement/get_external_db_system_discovery.py +14 -1
  44. pulumi_oci/databasemanagement/get_external_exadata_infrastructure.py +14 -1
  45. pulumi_oci/databasemanagement/get_external_exadata_storage_connector.py +14 -1
  46. pulumi_oci/databasemanagement/get_external_exadata_storage_grid.py +14 -1
  47. pulumi_oci/databasemanagement/get_external_exadata_storage_server.py +14 -1
  48. pulumi_oci/databasemanagement/get_external_listener.py +14 -1
  49. pulumi_oci/databasemanagement/get_managed_database_group.py +14 -1
  50. pulumi_oci/databasemanagement/get_managed_my_sql_database.py +6 -6
  51. pulumi_oci/databasemanagement/get_named_credential.py +14 -1
  52. pulumi_oci/databasemanagement/managed_database.py +28 -0
  53. pulumi_oci/databasemanagement/managed_database_group.py +28 -0
  54. pulumi_oci/databasemanagement/named_credential.py +28 -0
  55. pulumi_oci/databasemanagement/outputs.py +1723 -214
  56. pulumi_oci/databasemanagement/pluggabledatabase_pluggable_database_dbm_features_management.py +275 -0
  57. pulumi_oci/datasafe/__init__.py +3 -0
  58. pulumi_oci/datasafe/_inputs.py +80 -0
  59. pulumi_oci/datasafe/get_masking_policy.py +11 -1
  60. pulumi_oci/datasafe/get_masking_policy_health_report.py +235 -0
  61. pulumi_oci/datasafe/get_masking_policy_health_report_logs.py +153 -0
  62. pulumi_oci/datasafe/get_masking_policy_health_reports.py +267 -0
  63. pulumi_oci/datasafe/masking_policy.py +75 -28
  64. pulumi_oci/datasafe/outputs.py +287 -0
  65. pulumi_oci/disasterrecovery/_inputs.py +16 -0
  66. pulumi_oci/disasterrecovery/outputs.py +36 -0
  67. pulumi_oci/loadbalancer/_inputs.py +144 -20
  68. pulumi_oci/loadbalancer/backend.py +49 -0
  69. pulumi_oci/loadbalancer/backend_set.py +57 -0
  70. pulumi_oci/loadbalancer/get_listener_rules.py +2 -2
  71. pulumi_oci/loadbalancer/load_balancer.py +98 -7
  72. pulumi_oci/loadbalancer/outputs.py +361 -36
  73. pulumi_oci/loadbalancer/rule_set.py +10 -0
  74. pulumi_oci/provider.py +8 -16
  75. pulumi_oci/recoverymod/_inputs.py +16 -0
  76. pulumi_oci/recoverymod/get_protected_database.py +25 -5
  77. pulumi_oci/recoverymod/get_protection_policies.py +1 -7
  78. pulumi_oci/recoverymod/get_protection_policy.py +15 -8
  79. pulumi_oci/recoverymod/get_recovery_service_subnet.py +32 -9
  80. pulumi_oci/recoverymod/get_recovery_service_subnets.py +3 -21
  81. pulumi_oci/recoverymod/outputs.py +96 -24
  82. pulumi_oci/recoverymod/protected_database.py +95 -16
  83. pulumi_oci/recoverymod/protection_policy.py +121 -54
  84. pulumi_oci/recoverymod/recovery_service_subnet.py +143 -55
  85. {pulumi_oci-1.34.0a1714565502.dist-info → pulumi_oci-1.35.0.dist-info}/METADATA +1 -1
  86. {pulumi_oci-1.34.0a1714565502.dist-info → pulumi_oci-1.35.0.dist-info}/RECORD +88 -80
  87. {pulumi_oci-1.34.0a1714565502.dist-info → pulumi_oci-1.35.0.dist-info}/WHEEL +0 -0
  88. {pulumi_oci-1.34.0a1714565502.dist-info → pulumi_oci-1.35.0.dist-info}/top_level.txt +0 -0
@@ -182,9 +182,14 @@ class RuleSet(pulumi.CustomResource):
182
182
  attribute_value=rule_set_items_conditions_attribute_value,
183
183
  operator=rule_set_items_conditions_operator,
184
184
  )],
185
+ default_max_connections=rule_set_items_default_max_connections,
185
186
  description=rule_set_items_description,
186
187
  header=rule_set_items_header,
187
188
  http_large_header_size_in_kb=rule_set_items_http_large_header_size_in_kb,
189
+ ip_max_connections=[oci.load_balancer.RuleSetItemIpMaxConnectionArgs(
190
+ ip_addresses=rule_set_items_ip_max_connections_ip_addresses,
191
+ max_connections=rule_set_items_ip_max_connections_max_connections,
192
+ )],
188
193
  prefix=rule_set_items_prefix,
189
194
  redirect_uri=oci.load_balancer.RuleSetItemRedirectUriArgs(
190
195
  host=rule_set_items_redirect_uri_host,
@@ -248,9 +253,14 @@ class RuleSet(pulumi.CustomResource):
248
253
  attribute_value=rule_set_items_conditions_attribute_value,
249
254
  operator=rule_set_items_conditions_operator,
250
255
  )],
256
+ default_max_connections=rule_set_items_default_max_connections,
251
257
  description=rule_set_items_description,
252
258
  header=rule_set_items_header,
253
259
  http_large_header_size_in_kb=rule_set_items_http_large_header_size_in_kb,
260
+ ip_max_connections=[oci.load_balancer.RuleSetItemIpMaxConnectionArgs(
261
+ ip_addresses=rule_set_items_ip_max_connections_ip_addresses,
262
+ max_connections=rule_set_items_ip_max_connections_max_connections,
263
+ )],
254
264
  prefix=rule_set_items_prefix,
255
265
  redirect_uri=oci.load_balancer.RuleSetItemRedirectUriArgs(
256
266
  host=rule_set_items_redirect_uri_host,
pulumi_oci/provider.py CHANGED
@@ -29,15 +29,13 @@ class ProviderArgs:
29
29
  user_ocid: Optional[pulumi.Input[str]] = None):
30
30
  """
31
31
  The set of arguments for constructing a Provider resource.
32
- :param pulumi.Input[str] auth: (Optional) The type of auth to use. Options are 'ApiKey', 'SecurityToken' and 'InstancePrincipal' and
33
- 'ResourcePrincipal'. By default, 'ApiKey' will be used.
32
+ :param pulumi.Input[str] auth: (Optional) The type of auth to use. Options are 'ApiKey', 'SecurityToken', 'InstancePrincipal', 'ResourcePrincipal' and
33
+ 'OKEWorkloadIdentity'. By default, 'ApiKey' will be used.
34
34
  :param pulumi.Input[str] config_file_profile: (Optional) The profile name to be used from config file, if not set it will be DEFAULT.
35
35
  :param pulumi.Input[bool] disable_auto_retries: (Optional) Disable automatic retries for retriable errors. Automatic retries were introduced to solve some eventual
36
36
  consistency problems but it also introduced performance issues on destroy operations.
37
37
  :param pulumi.Input[str] fingerprint: (Optional) The fingerprint for the user's RSA key. This can be found in user settings in the Oracle Cloud Infrastructure
38
38
  console. Required if auth is set to 'ApiKey', ignored otherwise.
39
- :param pulumi.Input[Sequence[pulumi.Input[str]]] ignore_defined_tags: (Optional) List of defined tags keys that Terraform should ignore when planning creates and updates to the associated
40
- remote object
41
39
  :param pulumi.Input[str] private_key: (Optional) A PEM formatted RSA private key for the user. A private_key or a private_key_path must be provided if auth is
42
40
  set to 'ApiKey', ignored otherwise.
43
41
  :param pulumi.Input[str] private_key_password: (Optional) The password used to secure the private key.
@@ -84,8 +82,8 @@ class ProviderArgs:
84
82
  @pulumi.getter
85
83
  def auth(self) -> Optional[pulumi.Input[str]]:
86
84
  """
87
- (Optional) The type of auth to use. Options are 'ApiKey', 'SecurityToken' and 'InstancePrincipal' and
88
- 'ResourcePrincipal'. By default, 'ApiKey' will be used.
85
+ (Optional) The type of auth to use. Options are 'ApiKey', 'SecurityToken', 'InstancePrincipal', 'ResourcePrincipal' and
86
+ 'OKEWorkloadIdentity'. By default, 'ApiKey' will be used.
89
87
  """
90
88
  return pulumi.get(self, "auth")
91
89
 
@@ -134,10 +132,6 @@ class ProviderArgs:
134
132
  @property
135
133
  @pulumi.getter(name="ignoreDefinedTags")
136
134
  def ignore_defined_tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
137
- """
138
- (Optional) List of defined tags keys that Terraform should ignore when planning creates and updates to the associated
139
- remote object
140
- """
141
135
  return pulumi.get(self, "ignore_defined_tags")
142
136
 
143
137
  @ignore_defined_tags.setter
@@ -274,15 +268,13 @@ class Provider(pulumi.ProviderResource):
274
268
 
275
269
  :param str resource_name: The name of the resource.
276
270
  :param pulumi.ResourceOptions opts: Options for the resource.
277
- :param pulumi.Input[str] auth: (Optional) The type of auth to use. Options are 'ApiKey', 'SecurityToken' and 'InstancePrincipal' and
278
- 'ResourcePrincipal'. By default, 'ApiKey' will be used.
271
+ :param pulumi.Input[str] auth: (Optional) The type of auth to use. Options are 'ApiKey', 'SecurityToken', 'InstancePrincipal', 'ResourcePrincipal' and
272
+ 'OKEWorkloadIdentity'. By default, 'ApiKey' will be used.
279
273
  :param pulumi.Input[str] config_file_profile: (Optional) The profile name to be used from config file, if not set it will be DEFAULT.
280
274
  :param pulumi.Input[bool] disable_auto_retries: (Optional) Disable automatic retries for retriable errors. Automatic retries were introduced to solve some eventual
281
275
  consistency problems but it also introduced performance issues on destroy operations.
282
276
  :param pulumi.Input[str] fingerprint: (Optional) The fingerprint for the user's RSA key. This can be found in user settings in the Oracle Cloud Infrastructure
283
277
  console. Required if auth is set to 'ApiKey', ignored otherwise.
284
- :param pulumi.Input[Sequence[pulumi.Input[str]]] ignore_defined_tags: (Optional) List of defined tags keys that Terraform should ignore when planning creates and updates to the associated
285
- remote object
286
278
  :param pulumi.Input[str] private_key: (Optional) A PEM formatted RSA private key for the user. A private_key or a private_key_path must be provided if auth is
287
279
  set to 'ApiKey', ignored otherwise.
288
280
  :param pulumi.Input[str] private_key_password: (Optional) The password used to secure the private key.
@@ -372,8 +364,8 @@ class Provider(pulumi.ProviderResource):
372
364
  @pulumi.getter
373
365
  def auth(self) -> pulumi.Output[Optional[str]]:
374
366
  """
375
- (Optional) The type of auth to use. Options are 'ApiKey', 'SecurityToken' and 'InstancePrincipal' and
376
- 'ResourcePrincipal'. By default, 'ApiKey' will be used.
367
+ (Optional) The type of auth to use. Options are 'ApiKey', 'SecurityToken', 'InstancePrincipal', 'ResourcePrincipal' and
368
+ 'OKEWorkloadIdentity'. By default, 'ApiKey' will be used.
377
369
  """
378
370
  return pulumi.get(self, "auth")
379
371
 
@@ -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
  ...