pulumi-oci 1.33.0a1713903118__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 (108) hide show
  1. pulumi_oci/__init__.py +51 -0
  2. pulumi_oci/clusterplacementgroups/__init__.py +12 -0
  3. pulumi_oci/clusterplacementgroups/_inputs.py +159 -0
  4. pulumi_oci/clusterplacementgroups/cluster_placement_group.py +843 -0
  5. pulumi_oci/clusterplacementgroups/get_cluster_placement_group.py +298 -0
  6. pulumi_oci/clusterplacementgroups/get_cluster_placement_groups.py +217 -0
  7. pulumi_oci/clusterplacementgroups/outputs.py +485 -0
  8. pulumi_oci/config/__init__.pyi +2 -2
  9. pulumi_oci/config/vars.py +2 -2
  10. pulumi_oci/core/_inputs.py +116 -28
  11. pulumi_oci/core/boot_volume.py +49 -0
  12. pulumi_oci/core/compute_capacity_reservation.py +2 -0
  13. pulumi_oci/core/compute_cluster.py +2 -4
  14. pulumi_oci/core/drg_route_distribution.py +7 -7
  15. pulumi_oci/core/get_boot_volume.py +14 -1
  16. pulumi_oci/core/get_cnv_dns_resolver_association.py +2 -2
  17. pulumi_oci/core/get_instance.py +14 -1
  18. pulumi_oci/core/get_subnet.py +2 -2
  19. pulumi_oci/core/get_vcn.py +2 -2
  20. pulumi_oci/core/get_volume.py +14 -1
  21. pulumi_oci/core/get_volumes.py +21 -1
  22. pulumi_oci/core/instance.py +51 -4
  23. pulumi_oci/core/instance_configuration.py +8 -0
  24. pulumi_oci/core/outputs.py +302 -45
  25. pulumi_oci/core/volume.py +49 -0
  26. pulumi_oci/core/volume_attachment.py +28 -0
  27. pulumi_oci/core/volume_group.py +49 -0
  28. pulumi_oci/database/db_home.py +47 -0
  29. pulumi_oci/database/get_db_home.py +14 -1
  30. pulumi_oci/database/outputs.py +11 -0
  31. pulumi_oci/databasemanagement/__init__.py +5 -0
  32. pulumi_oci/databasemanagement/_inputs.py +1207 -2
  33. pulumi_oci/databasemanagement/database_dbm_features_management.py +275 -0
  34. pulumi_oci/databasemanagement/db_management_private_endpoint.py +28 -0
  35. pulumi_oci/databasemanagement/external_asm.py +28 -0
  36. pulumi_oci/databasemanagement/external_asm_instance.py +28 -0
  37. pulumi_oci/databasemanagement/external_cluster.py +28 -0
  38. pulumi_oci/databasemanagement/external_cluster_instance.py +28 -0
  39. pulumi_oci/databasemanagement/external_db_home.py +28 -0
  40. pulumi_oci/databasemanagement/external_db_node.py +28 -0
  41. pulumi_oci/databasemanagement/external_db_system.py +28 -0
  42. pulumi_oci/databasemanagement/external_db_system_connector.py +28 -0
  43. pulumi_oci/databasemanagement/external_db_system_discovery.py +28 -0
  44. pulumi_oci/databasemanagement/external_exadata_infrastructure.py +28 -0
  45. pulumi_oci/databasemanagement/external_exadata_storage_connector.py +28 -0
  46. pulumi_oci/databasemanagement/external_exadata_storage_grid.py +28 -0
  47. pulumi_oci/databasemanagement/external_exadata_storage_server.py +28 -0
  48. pulumi_oci/databasemanagement/external_listener.py +28 -0
  49. pulumi_oci/databasemanagement/externalcontainerdatabase_external_container_dbm_features_management.py +275 -0
  50. pulumi_oci/databasemanagement/externalnoncontainerdatabase_external_non_container_dbm_features_management.py +275 -0
  51. pulumi_oci/databasemanagement/externalpluggabledatabase_external_pluggable_dbm_features_management.py +275 -0
  52. pulumi_oci/databasemanagement/get_db_management_private_endpoint.py +14 -1
  53. pulumi_oci/databasemanagement/get_external_asm.py +14 -1
  54. pulumi_oci/databasemanagement/get_external_asm_instance.py +14 -1
  55. pulumi_oci/databasemanagement/get_external_cluster.py +14 -1
  56. pulumi_oci/databasemanagement/get_external_cluster_instance.py +14 -1
  57. pulumi_oci/databasemanagement/get_external_databases.py +18 -1
  58. pulumi_oci/databasemanagement/get_external_db_home.py +14 -1
  59. pulumi_oci/databasemanagement/get_external_db_node.py +14 -1
  60. pulumi_oci/databasemanagement/get_external_db_system.py +14 -1
  61. pulumi_oci/databasemanagement/get_external_db_system_connector.py +14 -1
  62. pulumi_oci/databasemanagement/get_external_db_system_discovery.py +14 -1
  63. pulumi_oci/databasemanagement/get_external_exadata_infrastructure.py +14 -1
  64. pulumi_oci/databasemanagement/get_external_exadata_storage_connector.py +14 -1
  65. pulumi_oci/databasemanagement/get_external_exadata_storage_grid.py +14 -1
  66. pulumi_oci/databasemanagement/get_external_exadata_storage_server.py +14 -1
  67. pulumi_oci/databasemanagement/get_external_listener.py +14 -1
  68. pulumi_oci/databasemanagement/get_managed_database_group.py +14 -1
  69. pulumi_oci/databasemanagement/get_managed_my_sql_database.py +6 -6
  70. pulumi_oci/databasemanagement/get_named_credential.py +14 -1
  71. pulumi_oci/databasemanagement/managed_database.py +28 -0
  72. pulumi_oci/databasemanagement/managed_database_group.py +28 -0
  73. pulumi_oci/databasemanagement/named_credential.py +28 -0
  74. pulumi_oci/databasemanagement/outputs.py +1723 -214
  75. pulumi_oci/databasemanagement/pluggabledatabase_pluggable_database_dbm_features_management.py +275 -0
  76. pulumi_oci/databasemigration/_inputs.py +20 -0
  77. pulumi_oci/databasemigration/connection.py +13 -0
  78. pulumi_oci/databasemigration/get_connection.py +3 -0
  79. pulumi_oci/databasemigration/get_migration.py +3 -0
  80. pulumi_oci/databasemigration/migration.py +13 -0
  81. pulumi_oci/databasemigration/outputs.py +68 -0
  82. pulumi_oci/datasafe/__init__.py +3 -0
  83. pulumi_oci/datasafe/_inputs.py +80 -0
  84. pulumi_oci/datasafe/get_masking_policy.py +11 -1
  85. pulumi_oci/datasafe/get_masking_policy_health_report.py +235 -0
  86. pulumi_oci/datasafe/get_masking_policy_health_report_logs.py +153 -0
  87. pulumi_oci/datasafe/get_masking_policy_health_reports.py +267 -0
  88. pulumi_oci/datasafe/masking_policy.py +75 -28
  89. pulumi_oci/datasafe/outputs.py +287 -0
  90. pulumi_oci/networkloadbalancer/backend_set.py +49 -0
  91. pulumi_oci/networkloadbalancer/get_backend_set.py +14 -1
  92. pulumi_oci/networkloadbalancer/network_load_balancers_backend_sets_unified.py +49 -0
  93. pulumi_oci/networkloadbalancer/outputs.py +11 -0
  94. pulumi_oci/provider.py +8 -8
  95. pulumi_oci/recoverymod/_inputs.py +16 -0
  96. pulumi_oci/recoverymod/get_protected_database.py +25 -5
  97. pulumi_oci/recoverymod/get_protection_policies.py +1 -7
  98. pulumi_oci/recoverymod/get_protection_policy.py +15 -8
  99. pulumi_oci/recoverymod/get_recovery_service_subnet.py +32 -9
  100. pulumi_oci/recoverymod/get_recovery_service_subnets.py +3 -21
  101. pulumi_oci/recoverymod/outputs.py +96 -24
  102. pulumi_oci/recoverymod/protected_database.py +95 -16
  103. pulumi_oci/recoverymod/protection_policy.py +121 -54
  104. pulumi_oci/recoverymod/recovery_service_subnet.py +143 -55
  105. {pulumi_oci-1.33.0a1713903118.dist-info → pulumi_oci-1.34.0.dist-info}/METADATA +1 -1
  106. {pulumi_oci-1.33.0a1713903118.dist-info → pulumi_oci-1.34.0.dist-info}/RECORD +108 -94
  107. {pulumi_oci-1.33.0a1713903118.dist-info → pulumi_oci-1.34.0.dist-info}/WHEEL +0 -0
  108. {pulumi_oci-1.33.0a1713903118.dist-info → pulumi_oci-1.34.0.dist-info}/top_level.txt +0 -0
@@ -16,15 +16,16 @@ class RecoveryServiceSubnetArgs:
16
16
  def __init__(__self__, *,
17
17
  compartment_id: pulumi.Input[str],
18
18
  display_name: pulumi.Input[str],
19
- subnet_id: pulumi.Input[str],
20
19
  vcn_id: pulumi.Input[str],
21
20
  defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
22
- freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None):
21
+ freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
22
+ nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
23
+ subnet_id: Optional[pulumi.Input[str]] = None,
24
+ subnets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
23
25
  """
24
26
  The set of arguments for constructing a RecoveryServiceSubnet resource.
25
27
  :param pulumi.Input[str] compartment_id: (Updatable) The compartment OCID.
26
28
  :param pulumi.Input[str] display_name: (Updatable) A user-provided name for the recovery service subnet. The 'displayName' does not have to be unique, and it can be modified. Avoid entering confidential information.
27
- :param pulumi.Input[str] subnet_id: The OCID of the subnet associated with the recovery service subnet. You can create a single backup network per virtual cloud network (VCN).
28
29
  :param pulumi.Input[str] vcn_id: The OCID of the virtual cloud network (VCN) that contains the recovery service subnet. You can create a single recovery service subnet per VCN.
29
30
 
30
31
 
@@ -32,15 +33,26 @@ class RecoveryServiceSubnetArgs:
32
33
  Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
33
34
  :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) 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)
34
35
  :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
36
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) 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.
37
+ :param pulumi.Input[str] subnet_id: Deprecated. One of the subnets associated with the Recovery Service subnet.
38
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] subnets: (Updatable) A list of OCIDs of the subnets associated with the Recovery Service subnet.
35
39
  """
36
40
  pulumi.set(__self__, "compartment_id", compartment_id)
37
41
  pulumi.set(__self__, "display_name", display_name)
38
- pulumi.set(__self__, "subnet_id", subnet_id)
39
42
  pulumi.set(__self__, "vcn_id", vcn_id)
40
43
  if defined_tags is not None:
41
44
  pulumi.set(__self__, "defined_tags", defined_tags)
42
45
  if freeform_tags is not None:
43
46
  pulumi.set(__self__, "freeform_tags", freeform_tags)
47
+ if nsg_ids is not None:
48
+ pulumi.set(__self__, "nsg_ids", nsg_ids)
49
+ if subnet_id is not None:
50
+ warnings.warn("""The 'subnet_id' field has been deprecated. Please use 'subnets' instead.""", DeprecationWarning)
51
+ pulumi.log.warn("""subnet_id is deprecated: The 'subnet_id' field has been deprecated. Please use 'subnets' instead.""")
52
+ if subnet_id is not None:
53
+ pulumi.set(__self__, "subnet_id", subnet_id)
54
+ if subnets is not None:
55
+ pulumi.set(__self__, "subnets", subnets)
44
56
 
45
57
  @property
46
58
  @pulumi.getter(name="compartmentId")
@@ -66,18 +78,6 @@ class RecoveryServiceSubnetArgs:
66
78
  def display_name(self, value: pulumi.Input[str]):
67
79
  pulumi.set(self, "display_name", value)
68
80
 
69
- @property
70
- @pulumi.getter(name="subnetId")
71
- def subnet_id(self) -> pulumi.Input[str]:
72
- """
73
- The OCID of the subnet associated with the recovery service subnet. You can create a single backup network per virtual cloud network (VCN).
74
- """
75
- return pulumi.get(self, "subnet_id")
76
-
77
- @subnet_id.setter
78
- def subnet_id(self, value: pulumi.Input[str]):
79
- pulumi.set(self, "subnet_id", value)
80
-
81
81
  @property
82
82
  @pulumi.getter(name="vcnId")
83
83
  def vcn_id(self) -> pulumi.Input[str]:
@@ -118,6 +118,45 @@ class RecoveryServiceSubnetArgs:
118
118
  def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
119
119
  pulumi.set(self, "freeform_tags", value)
120
120
 
121
+ @property
122
+ @pulumi.getter(name="nsgIds")
123
+ def nsg_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
124
+ """
125
+ (Updatable) 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.
126
+ """
127
+ return pulumi.get(self, "nsg_ids")
128
+
129
+ @nsg_ids.setter
130
+ def nsg_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
131
+ pulumi.set(self, "nsg_ids", value)
132
+
133
+ @property
134
+ @pulumi.getter(name="subnetId")
135
+ def subnet_id(self) -> Optional[pulumi.Input[str]]:
136
+ """
137
+ Deprecated. One of the subnets associated with the Recovery Service subnet.
138
+ """
139
+ warnings.warn("""The 'subnet_id' field has been deprecated. Please use 'subnets' instead.""", DeprecationWarning)
140
+ pulumi.log.warn("""subnet_id is deprecated: The 'subnet_id' field has been deprecated. Please use 'subnets' instead.""")
141
+
142
+ return pulumi.get(self, "subnet_id")
143
+
144
+ @subnet_id.setter
145
+ def subnet_id(self, value: Optional[pulumi.Input[str]]):
146
+ pulumi.set(self, "subnet_id", value)
147
+
148
+ @property
149
+ @pulumi.getter
150
+ def subnets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
151
+ """
152
+ (Updatable) A list of OCIDs of the subnets associated with the Recovery Service subnet.
153
+ """
154
+ return pulumi.get(self, "subnets")
155
+
156
+ @subnets.setter
157
+ def subnets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
158
+ pulumi.set(self, "subnets", value)
159
+
121
160
 
122
161
  @pulumi.input_type
123
162
  class _RecoveryServiceSubnetState:
@@ -127,8 +166,10 @@ class _RecoveryServiceSubnetState:
127
166
  display_name: Optional[pulumi.Input[str]] = None,
128
167
  freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
129
168
  lifecycle_details: Optional[pulumi.Input[str]] = None,
169
+ nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
130
170
  state: Optional[pulumi.Input[str]] = None,
131
171
  subnet_id: Optional[pulumi.Input[str]] = None,
172
+ subnets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
132
173
  system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
133
174
  time_created: Optional[pulumi.Input[str]] = None,
134
175
  time_updated: Optional[pulumi.Input[str]] = None,
@@ -140,14 +181,10 @@ class _RecoveryServiceSubnetState:
140
181
  :param pulumi.Input[str] display_name: (Updatable) A user-provided name for the recovery service subnet. The 'displayName' does not have to be unique, and it can be modified. Avoid entering confidential information.
141
182
  :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
142
183
  :param pulumi.Input[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
143
- :param pulumi.Input[str] state: The current state of the recovery service subnet. Allowed values are:
144
- * CREATING
145
- * UPDATING
146
- * ACTIVE
147
- * DELETING
148
- * DELETED
149
- * FAILED
150
- :param pulumi.Input[str] subnet_id: The OCID of the subnet associated with the recovery service subnet. You can create a single backup network per virtual cloud network (VCN).
184
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) 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.
185
+ :param pulumi.Input[str] state: The current state of the recovery service subnet.
186
+ :param pulumi.Input[str] subnet_id: Deprecated. One of the subnets associated with the Recovery Service subnet.
187
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] subnets: (Updatable) A list of OCIDs of the subnets associated with the Recovery Service subnet.
151
188
  :param pulumi.Input[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)
152
189
  :param pulumi.Input[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'.
153
190
  :param pulumi.Input[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'.
@@ -167,10 +204,17 @@ class _RecoveryServiceSubnetState:
167
204
  pulumi.set(__self__, "freeform_tags", freeform_tags)
168
205
  if lifecycle_details is not None:
169
206
  pulumi.set(__self__, "lifecycle_details", lifecycle_details)
207
+ if nsg_ids is not None:
208
+ pulumi.set(__self__, "nsg_ids", nsg_ids)
170
209
  if state is not None:
171
210
  pulumi.set(__self__, "state", state)
211
+ if subnet_id is not None:
212
+ warnings.warn("""The 'subnet_id' field has been deprecated. Please use 'subnets' instead.""", DeprecationWarning)
213
+ pulumi.log.warn("""subnet_id is deprecated: The 'subnet_id' field has been deprecated. Please use 'subnets' instead.""")
172
214
  if subnet_id is not None:
173
215
  pulumi.set(__self__, "subnet_id", subnet_id)
216
+ if subnets is not None:
217
+ pulumi.set(__self__, "subnets", subnets)
174
218
  if system_tags is not None:
175
219
  pulumi.set(__self__, "system_tags", system_tags)
176
220
  if time_created is not None:
@@ -240,17 +284,23 @@ class _RecoveryServiceSubnetState:
240
284
  def lifecycle_details(self, value: Optional[pulumi.Input[str]]):
241
285
  pulumi.set(self, "lifecycle_details", value)
242
286
 
287
+ @property
288
+ @pulumi.getter(name="nsgIds")
289
+ def nsg_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
290
+ """
291
+ (Updatable) 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.
292
+ """
293
+ return pulumi.get(self, "nsg_ids")
294
+
295
+ @nsg_ids.setter
296
+ def nsg_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
297
+ pulumi.set(self, "nsg_ids", value)
298
+
243
299
  @property
244
300
  @pulumi.getter
245
301
  def state(self) -> Optional[pulumi.Input[str]]:
246
302
  """
247
- The current state of the recovery service subnet. Allowed values are:
248
- * CREATING
249
- * UPDATING
250
- * ACTIVE
251
- * DELETING
252
- * DELETED
253
- * FAILED
303
+ The current state of the recovery service subnet.
254
304
  """
255
305
  return pulumi.get(self, "state")
256
306
 
@@ -262,14 +312,29 @@ class _RecoveryServiceSubnetState:
262
312
  @pulumi.getter(name="subnetId")
263
313
  def subnet_id(self) -> Optional[pulumi.Input[str]]:
264
314
  """
265
- The OCID of the subnet associated with the recovery service subnet. You can create a single backup network per virtual cloud network (VCN).
315
+ Deprecated. One of the subnets associated with the Recovery Service subnet.
266
316
  """
317
+ warnings.warn("""The 'subnet_id' field has been deprecated. Please use 'subnets' instead.""", DeprecationWarning)
318
+ pulumi.log.warn("""subnet_id is deprecated: The 'subnet_id' field has been deprecated. Please use 'subnets' instead.""")
319
+
267
320
  return pulumi.get(self, "subnet_id")
268
321
 
269
322
  @subnet_id.setter
270
323
  def subnet_id(self, value: Optional[pulumi.Input[str]]):
271
324
  pulumi.set(self, "subnet_id", value)
272
325
 
326
+ @property
327
+ @pulumi.getter
328
+ def subnets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
329
+ """
330
+ (Updatable) A list of OCIDs of the subnets associated with the Recovery Service subnet.
331
+ """
332
+ return pulumi.get(self, "subnets")
333
+
334
+ @subnets.setter
335
+ def subnets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
336
+ pulumi.set(self, "subnets", value)
337
+
273
338
  @property
274
339
  @pulumi.getter(name="systemTags")
275
340
  def system_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
@@ -332,7 +397,9 @@ class RecoveryServiceSubnet(pulumi.CustomResource):
332
397
  defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
333
398
  display_name: Optional[pulumi.Input[str]] = None,
334
399
  freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
400
+ nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
335
401
  subnet_id: Optional[pulumi.Input[str]] = None,
402
+ subnets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
336
403
  vcn_id: Optional[pulumi.Input[str]] = None,
337
404
  __props__=None):
338
405
  """
@@ -349,14 +416,16 @@ class RecoveryServiceSubnet(pulumi.CustomResource):
349
416
  test_recovery_service_subnet = oci.recovery_mod.RecoveryServiceSubnet("test_recovery_service_subnet",
350
417
  compartment_id=compartment_id,
351
418
  display_name=recovery_service_subnet_display_name,
352
- subnet_id=test_subnet["id"],
353
419
  vcn_id=test_vcn["id"],
354
420
  defined_tags={
355
421
  "foo-namespace.bar-key": "value",
356
422
  },
357
423
  freeform_tags={
358
424
  "bar-key": "value",
359
- })
425
+ },
426
+ nsg_ids=recovery_service_subnet_nsg_ids,
427
+ subnet_id=test_subnet["id"],
428
+ subnets=recovery_service_subnet_subnets)
360
429
  ```
361
430
 
362
431
  ## Import
@@ -373,7 +442,9 @@ class RecoveryServiceSubnet(pulumi.CustomResource):
373
442
  :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) 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)
374
443
  :param pulumi.Input[str] display_name: (Updatable) A user-provided name for the recovery service subnet. The 'displayName' does not have to be unique, and it can be modified. Avoid entering confidential information.
375
444
  :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
376
- :param pulumi.Input[str] subnet_id: The OCID of the subnet associated with the recovery service subnet. You can create a single backup network per virtual cloud network (VCN).
445
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) 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.
446
+ :param pulumi.Input[str] subnet_id: Deprecated. One of the subnets associated with the Recovery Service subnet.
447
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] subnets: (Updatable) A list of OCIDs of the subnets associated with the Recovery Service subnet.
377
448
  :param pulumi.Input[str] vcn_id: The OCID of the virtual cloud network (VCN) that contains the recovery service subnet. You can create a single recovery service subnet per VCN.
378
449
 
379
450
 
@@ -400,14 +471,16 @@ class RecoveryServiceSubnet(pulumi.CustomResource):
400
471
  test_recovery_service_subnet = oci.recovery_mod.RecoveryServiceSubnet("test_recovery_service_subnet",
401
472
  compartment_id=compartment_id,
402
473
  display_name=recovery_service_subnet_display_name,
403
- subnet_id=test_subnet["id"],
404
474
  vcn_id=test_vcn["id"],
405
475
  defined_tags={
406
476
  "foo-namespace.bar-key": "value",
407
477
  },
408
478
  freeform_tags={
409
479
  "bar-key": "value",
410
- })
480
+ },
481
+ nsg_ids=recovery_service_subnet_nsg_ids,
482
+ subnet_id=test_subnet["id"],
483
+ subnets=recovery_service_subnet_subnets)
411
484
  ```
412
485
 
413
486
  ## Import
@@ -437,7 +510,9 @@ class RecoveryServiceSubnet(pulumi.CustomResource):
437
510
  defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
438
511
  display_name: Optional[pulumi.Input[str]] = None,
439
512
  freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
513
+ nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
440
514
  subnet_id: Optional[pulumi.Input[str]] = None,
515
+ subnets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
441
516
  vcn_id: Optional[pulumi.Input[str]] = None,
442
517
  __props__=None):
443
518
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -456,9 +531,9 @@ class RecoveryServiceSubnet(pulumi.CustomResource):
456
531
  raise TypeError("Missing required property 'display_name'")
457
532
  __props__.__dict__["display_name"] = display_name
458
533
  __props__.__dict__["freeform_tags"] = freeform_tags
459
- if subnet_id is None and not opts.urn:
460
- raise TypeError("Missing required property 'subnet_id'")
534
+ __props__.__dict__["nsg_ids"] = nsg_ids
461
535
  __props__.__dict__["subnet_id"] = subnet_id
536
+ __props__.__dict__["subnets"] = subnets
462
537
  if vcn_id is None and not opts.urn:
463
538
  raise TypeError("Missing required property 'vcn_id'")
464
539
  __props__.__dict__["vcn_id"] = vcn_id
@@ -482,8 +557,10 @@ class RecoveryServiceSubnet(pulumi.CustomResource):
482
557
  display_name: Optional[pulumi.Input[str]] = None,
483
558
  freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
484
559
  lifecycle_details: Optional[pulumi.Input[str]] = None,
560
+ nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
485
561
  state: Optional[pulumi.Input[str]] = None,
486
562
  subnet_id: Optional[pulumi.Input[str]] = None,
563
+ subnets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
487
564
  system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
488
565
  time_created: Optional[pulumi.Input[str]] = None,
489
566
  time_updated: Optional[pulumi.Input[str]] = None,
@@ -500,14 +577,10 @@ class RecoveryServiceSubnet(pulumi.CustomResource):
500
577
  :param pulumi.Input[str] display_name: (Updatable) A user-provided name for the recovery service subnet. The 'displayName' does not have to be unique, and it can be modified. Avoid entering confidential information.
501
578
  :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
502
579
  :param pulumi.Input[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
503
- :param pulumi.Input[str] state: The current state of the recovery service subnet. Allowed values are:
504
- * CREATING
505
- * UPDATING
506
- * ACTIVE
507
- * DELETING
508
- * DELETED
509
- * FAILED
510
- :param pulumi.Input[str] subnet_id: The OCID of the subnet associated with the recovery service subnet. You can create a single backup network per virtual cloud network (VCN).
580
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) 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.
581
+ :param pulumi.Input[str] state: The current state of the recovery service subnet.
582
+ :param pulumi.Input[str] subnet_id: Deprecated. One of the subnets associated with the Recovery Service subnet.
583
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] subnets: (Updatable) A list of OCIDs of the subnets associated with the Recovery Service subnet.
511
584
  :param pulumi.Input[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)
512
585
  :param pulumi.Input[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'.
513
586
  :param pulumi.Input[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'.
@@ -526,8 +599,10 @@ class RecoveryServiceSubnet(pulumi.CustomResource):
526
599
  __props__.__dict__["display_name"] = display_name
527
600
  __props__.__dict__["freeform_tags"] = freeform_tags
528
601
  __props__.__dict__["lifecycle_details"] = lifecycle_details
602
+ __props__.__dict__["nsg_ids"] = nsg_ids
529
603
  __props__.__dict__["state"] = state
530
604
  __props__.__dict__["subnet_id"] = subnet_id
605
+ __props__.__dict__["subnets"] = subnets
531
606
  __props__.__dict__["system_tags"] = system_tags
532
607
  __props__.__dict__["time_created"] = time_created
533
608
  __props__.__dict__["time_updated"] = time_updated
@@ -574,17 +649,19 @@ class RecoveryServiceSubnet(pulumi.CustomResource):
574
649
  """
575
650
  return pulumi.get(self, "lifecycle_details")
576
651
 
652
+ @property
653
+ @pulumi.getter(name="nsgIds")
654
+ def nsg_ids(self) -> pulumi.Output[Sequence[str]]:
655
+ """
656
+ (Updatable) 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.
657
+ """
658
+ return pulumi.get(self, "nsg_ids")
659
+
577
660
  @property
578
661
  @pulumi.getter
579
662
  def state(self) -> pulumi.Output[str]:
580
663
  """
581
- The current state of the recovery service subnet. Allowed values are:
582
- * CREATING
583
- * UPDATING
584
- * ACTIVE
585
- * DELETING
586
- * DELETED
587
- * FAILED
664
+ The current state of the recovery service subnet.
588
665
  """
589
666
  return pulumi.get(self, "state")
590
667
 
@@ -592,10 +669,21 @@ class RecoveryServiceSubnet(pulumi.CustomResource):
592
669
  @pulumi.getter(name="subnetId")
593
670
  def subnet_id(self) -> pulumi.Output[str]:
594
671
  """
595
- The OCID of the subnet associated with the recovery service subnet. You can create a single backup network per virtual cloud network (VCN).
672
+ Deprecated. One of the subnets associated with the Recovery Service subnet.
596
673
  """
674
+ warnings.warn("""The 'subnet_id' field has been deprecated. Please use 'subnets' instead.""", DeprecationWarning)
675
+ pulumi.log.warn("""subnet_id is deprecated: The 'subnet_id' field has been deprecated. Please use 'subnets' instead.""")
676
+
597
677
  return pulumi.get(self, "subnet_id")
598
678
 
679
+ @property
680
+ @pulumi.getter
681
+ def subnets(self) -> pulumi.Output[Sequence[str]]:
682
+ """
683
+ (Updatable) A list of OCIDs of the subnets associated with the Recovery Service subnet.
684
+ """
685
+ return pulumi.get(self, "subnets")
686
+
599
687
  @property
600
688
  @pulumi.getter(name="systemTags")
601
689
  def system_tags(self) -> pulumi.Output[Mapping[str, Any]]:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_oci
3
- Version: 1.33.0a1713903118
3
+ Version: 1.34.0
4
4
  Summary: A Pulumi package for creating and managing Oracle Cloud Infrastructure resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://www.pulumi.com