pulumi-oci 1.34.0__py3-none-any.whl → 1.34.0a1714112449__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_oci/__init__.py +0 -40
- pulumi_oci/config/__init__.pyi +2 -2
- pulumi_oci/config/vars.py +2 -2
- pulumi_oci/database/db_home.py +0 -47
- pulumi_oci/database/get_db_home.py +1 -14
- pulumi_oci/database/outputs.py +0 -11
- pulumi_oci/databasemanagement/__init__.py +0 -5
- pulumi_oci/databasemanagement/_inputs.py +1 -1206
- pulumi_oci/databasemanagement/db_management_private_endpoint.py +0 -28
- pulumi_oci/databasemanagement/external_asm.py +0 -28
- pulumi_oci/databasemanagement/external_asm_instance.py +0 -28
- pulumi_oci/databasemanagement/external_cluster.py +0 -28
- pulumi_oci/databasemanagement/external_cluster_instance.py +0 -28
- pulumi_oci/databasemanagement/external_db_home.py +0 -28
- pulumi_oci/databasemanagement/external_db_node.py +0 -28
- pulumi_oci/databasemanagement/external_db_system.py +0 -28
- pulumi_oci/databasemanagement/external_db_system_connector.py +0 -28
- pulumi_oci/databasemanagement/external_db_system_discovery.py +0 -28
- pulumi_oci/databasemanagement/external_exadata_infrastructure.py +0 -28
- pulumi_oci/databasemanagement/external_exadata_storage_connector.py +0 -28
- pulumi_oci/databasemanagement/external_exadata_storage_grid.py +0 -28
- pulumi_oci/databasemanagement/external_exadata_storage_server.py +0 -28
- pulumi_oci/databasemanagement/external_listener.py +0 -28
- pulumi_oci/databasemanagement/get_db_management_private_endpoint.py +1 -14
- pulumi_oci/databasemanagement/get_external_asm.py +1 -14
- pulumi_oci/databasemanagement/get_external_asm_instance.py +1 -14
- pulumi_oci/databasemanagement/get_external_cluster.py +1 -14
- pulumi_oci/databasemanagement/get_external_cluster_instance.py +1 -14
- pulumi_oci/databasemanagement/get_external_databases.py +1 -18
- pulumi_oci/databasemanagement/get_external_db_home.py +1 -14
- pulumi_oci/databasemanagement/get_external_db_node.py +1 -14
- pulumi_oci/databasemanagement/get_external_db_system.py +1 -14
- pulumi_oci/databasemanagement/get_external_db_system_connector.py +1 -14
- pulumi_oci/databasemanagement/get_external_db_system_discovery.py +1 -14
- pulumi_oci/databasemanagement/get_external_exadata_infrastructure.py +1 -14
- pulumi_oci/databasemanagement/get_external_exadata_storage_connector.py +1 -14
- pulumi_oci/databasemanagement/get_external_exadata_storage_grid.py +1 -14
- pulumi_oci/databasemanagement/get_external_exadata_storage_server.py +1 -14
- pulumi_oci/databasemanagement/get_external_listener.py +1 -14
- pulumi_oci/databasemanagement/get_managed_database_group.py +1 -14
- pulumi_oci/databasemanagement/get_managed_my_sql_database.py +6 -6
- pulumi_oci/databasemanagement/get_named_credential.py +1 -14
- pulumi_oci/databasemanagement/managed_database.py +0 -28
- pulumi_oci/databasemanagement/managed_database_group.py +0 -28
- pulumi_oci/databasemanagement/named_credential.py +0 -28
- pulumi_oci/databasemanagement/outputs.py +217 -1726
- pulumi_oci/datasafe/__init__.py +0 -3
- pulumi_oci/datasafe/_inputs.py +0 -80
- pulumi_oci/datasafe/get_masking_policy.py +1 -11
- pulumi_oci/datasafe/masking_policy.py +28 -75
- pulumi_oci/datasafe/outputs.py +0 -287
- pulumi_oci/provider.py +8 -8
- pulumi_oci/recoverymod/_inputs.py +0 -16
- pulumi_oci/recoverymod/get_protected_database.py +5 -25
- pulumi_oci/recoverymod/get_protection_policies.py +7 -1
- pulumi_oci/recoverymod/get_protection_policy.py +8 -15
- pulumi_oci/recoverymod/get_recovery_service_subnet.py +9 -32
- pulumi_oci/recoverymod/get_recovery_service_subnets.py +21 -3
- pulumi_oci/recoverymod/outputs.py +24 -96
- pulumi_oci/recoverymod/protected_database.py +16 -95
- pulumi_oci/recoverymod/protection_policy.py +54 -121
- pulumi_oci/recoverymod/recovery_service_subnet.py +55 -143
- {pulumi_oci-1.34.0.dist-info → pulumi_oci-1.34.0a1714112449.dist-info}/METADATA +1 -1
- {pulumi_oci-1.34.0.dist-info → pulumi_oci-1.34.0a1714112449.dist-info}/RECORD +66 -74
- pulumi_oci/databasemanagement/database_dbm_features_management.py +0 -275
- pulumi_oci/databasemanagement/externalcontainerdatabase_external_container_dbm_features_management.py +0 -275
- pulumi_oci/databasemanagement/externalnoncontainerdatabase_external_non_container_dbm_features_management.py +0 -275
- pulumi_oci/databasemanagement/externalpluggabledatabase_external_pluggable_dbm_features_management.py +0 -275
- pulumi_oci/databasemanagement/pluggabledatabase_pluggable_database_dbm_features_management.py +0 -275
- pulumi_oci/datasafe/get_masking_policy_health_report.py +0 -235
- pulumi_oci/datasafe/get_masking_policy_health_report_logs.py +0 -153
- pulumi_oci/datasafe/get_masking_policy_health_reports.py +0 -267
- {pulumi_oci-1.34.0.dist-info → pulumi_oci-1.34.0a1714112449.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.34.0.dist-info → pulumi_oci-1.34.0a1714112449.dist-info}/top_level.txt +0 -0
@@ -16,16 +16,15 @@ 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],
|
19
20
|
vcn_id: pulumi.Input[str],
|
20
21
|
defined_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):
|
22
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None):
|
25
23
|
"""
|
26
24
|
The set of arguments for constructing a RecoveryServiceSubnet resource.
|
27
25
|
:param pulumi.Input[str] compartment_id: (Updatable) The compartment OCID.
|
28
26
|
: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).
|
29
28
|
: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.
|
30
29
|
|
31
30
|
|
@@ -33,26 +32,15 @@ class RecoveryServiceSubnetArgs:
|
|
33
32
|
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
34
33
|
: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)
|
35
34
|
: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.
|
39
35
|
"""
|
40
36
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
41
37
|
pulumi.set(__self__, "display_name", display_name)
|
38
|
+
pulumi.set(__self__, "subnet_id", subnet_id)
|
42
39
|
pulumi.set(__self__, "vcn_id", vcn_id)
|
43
40
|
if defined_tags is not None:
|
44
41
|
pulumi.set(__self__, "defined_tags", defined_tags)
|
45
42
|
if freeform_tags is not None:
|
46
43
|
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)
|
56
44
|
|
57
45
|
@property
|
58
46
|
@pulumi.getter(name="compartmentId")
|
@@ -78,6 +66,18 @@ class RecoveryServiceSubnetArgs:
|
|
78
66
|
def display_name(self, value: pulumi.Input[str]):
|
79
67
|
pulumi.set(self, "display_name", value)
|
80
68
|
|
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,45 +118,6 @@ 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
|
-
|
160
121
|
|
161
122
|
@pulumi.input_type
|
162
123
|
class _RecoveryServiceSubnetState:
|
@@ -166,10 +127,8 @@ class _RecoveryServiceSubnetState:
|
|
166
127
|
display_name: Optional[pulumi.Input[str]] = None,
|
167
128
|
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
168
129
|
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
169
|
-
nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
170
130
|
state: Optional[pulumi.Input[str]] = None,
|
171
131
|
subnet_id: Optional[pulumi.Input[str]] = None,
|
172
|
-
subnets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
173
132
|
system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
174
133
|
time_created: Optional[pulumi.Input[str]] = None,
|
175
134
|
time_updated: Optional[pulumi.Input[str]] = None,
|
@@ -181,10 +140,14 @@ class _RecoveryServiceSubnetState:
|
|
181
140
|
: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.
|
182
141
|
: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"}`
|
183
142
|
: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
|
184
|
-
:param pulumi.Input[
|
185
|
-
|
186
|
-
|
187
|
-
|
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).
|
188
151
|
: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)
|
189
152
|
: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'.
|
190
153
|
: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'.
|
@@ -204,17 +167,10 @@ class _RecoveryServiceSubnetState:
|
|
204
167
|
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
205
168
|
if lifecycle_details is not None:
|
206
169
|
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
207
|
-
if nsg_ids is not None:
|
208
|
-
pulumi.set(__self__, "nsg_ids", nsg_ids)
|
209
170
|
if state is not None:
|
210
171
|
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.""")
|
214
172
|
if subnet_id is not None:
|
215
173
|
pulumi.set(__self__, "subnet_id", subnet_id)
|
216
|
-
if subnets is not None:
|
217
|
-
pulumi.set(__self__, "subnets", subnets)
|
218
174
|
if system_tags is not None:
|
219
175
|
pulumi.set(__self__, "system_tags", system_tags)
|
220
176
|
if time_created is not None:
|
@@ -284,23 +240,17 @@ class _RecoveryServiceSubnetState:
|
|
284
240
|
def lifecycle_details(self, value: Optional[pulumi.Input[str]]):
|
285
241
|
pulumi.set(self, "lifecycle_details", value)
|
286
242
|
|
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
|
-
|
299
243
|
@property
|
300
244
|
@pulumi.getter
|
301
245
|
def state(self) -> Optional[pulumi.Input[str]]:
|
302
246
|
"""
|
303
|
-
The current state of the recovery service subnet.
|
247
|
+
The current state of the recovery service subnet. Allowed values are:
|
248
|
+
* CREATING
|
249
|
+
* UPDATING
|
250
|
+
* ACTIVE
|
251
|
+
* DELETING
|
252
|
+
* DELETED
|
253
|
+
* FAILED
|
304
254
|
"""
|
305
255
|
return pulumi.get(self, "state")
|
306
256
|
|
@@ -312,29 +262,14 @@ class _RecoveryServiceSubnetState:
|
|
312
262
|
@pulumi.getter(name="subnetId")
|
313
263
|
def subnet_id(self) -> Optional[pulumi.Input[str]]:
|
314
264
|
"""
|
315
|
-
|
265
|
+
The OCID of the subnet associated with the recovery service subnet. You can create a single backup network per virtual cloud network (VCN).
|
316
266
|
"""
|
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
|
-
|
320
267
|
return pulumi.get(self, "subnet_id")
|
321
268
|
|
322
269
|
@subnet_id.setter
|
323
270
|
def subnet_id(self, value: Optional[pulumi.Input[str]]):
|
324
271
|
pulumi.set(self, "subnet_id", value)
|
325
272
|
|
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
|
-
|
338
273
|
@property
|
339
274
|
@pulumi.getter(name="systemTags")
|
340
275
|
def system_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
@@ -397,9 +332,7 @@ class RecoveryServiceSubnet(pulumi.CustomResource):
|
|
397
332
|
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
398
333
|
display_name: Optional[pulumi.Input[str]] = None,
|
399
334
|
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
400
|
-
nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
401
335
|
subnet_id: Optional[pulumi.Input[str]] = None,
|
402
|
-
subnets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
403
336
|
vcn_id: Optional[pulumi.Input[str]] = None,
|
404
337
|
__props__=None):
|
405
338
|
"""
|
@@ -416,16 +349,14 @@ class RecoveryServiceSubnet(pulumi.CustomResource):
|
|
416
349
|
test_recovery_service_subnet = oci.recovery_mod.RecoveryServiceSubnet("test_recovery_service_subnet",
|
417
350
|
compartment_id=compartment_id,
|
418
351
|
display_name=recovery_service_subnet_display_name,
|
352
|
+
subnet_id=test_subnet["id"],
|
419
353
|
vcn_id=test_vcn["id"],
|
420
354
|
defined_tags={
|
421
355
|
"foo-namespace.bar-key": "value",
|
422
356
|
},
|
423
357
|
freeform_tags={
|
424
358
|
"bar-key": "value",
|
425
|
-
}
|
426
|
-
nsg_ids=recovery_service_subnet_nsg_ids,
|
427
|
-
subnet_id=test_subnet["id"],
|
428
|
-
subnets=recovery_service_subnet_subnets)
|
359
|
+
})
|
429
360
|
```
|
430
361
|
|
431
362
|
## Import
|
@@ -442,9 +373,7 @@ class RecoveryServiceSubnet(pulumi.CustomResource):
|
|
442
373
|
: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)
|
443
374
|
: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.
|
444
375
|
: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"}`
|
445
|
-
:param pulumi.Input[
|
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.
|
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).
|
448
377
|
: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.
|
449
378
|
|
450
379
|
|
@@ -471,16 +400,14 @@ class RecoveryServiceSubnet(pulumi.CustomResource):
|
|
471
400
|
test_recovery_service_subnet = oci.recovery_mod.RecoveryServiceSubnet("test_recovery_service_subnet",
|
472
401
|
compartment_id=compartment_id,
|
473
402
|
display_name=recovery_service_subnet_display_name,
|
403
|
+
subnet_id=test_subnet["id"],
|
474
404
|
vcn_id=test_vcn["id"],
|
475
405
|
defined_tags={
|
476
406
|
"foo-namespace.bar-key": "value",
|
477
407
|
},
|
478
408
|
freeform_tags={
|
479
409
|
"bar-key": "value",
|
480
|
-
}
|
481
|
-
nsg_ids=recovery_service_subnet_nsg_ids,
|
482
|
-
subnet_id=test_subnet["id"],
|
483
|
-
subnets=recovery_service_subnet_subnets)
|
410
|
+
})
|
484
411
|
```
|
485
412
|
|
486
413
|
## Import
|
@@ -510,9 +437,7 @@ class RecoveryServiceSubnet(pulumi.CustomResource):
|
|
510
437
|
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
511
438
|
display_name: Optional[pulumi.Input[str]] = None,
|
512
439
|
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
513
|
-
nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
514
440
|
subnet_id: Optional[pulumi.Input[str]] = None,
|
515
|
-
subnets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
516
441
|
vcn_id: Optional[pulumi.Input[str]] = None,
|
517
442
|
__props__=None):
|
518
443
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
@@ -531,9 +456,9 @@ class RecoveryServiceSubnet(pulumi.CustomResource):
|
|
531
456
|
raise TypeError("Missing required property 'display_name'")
|
532
457
|
__props__.__dict__["display_name"] = display_name
|
533
458
|
__props__.__dict__["freeform_tags"] = freeform_tags
|
534
|
-
|
459
|
+
if subnet_id is None and not opts.urn:
|
460
|
+
raise TypeError("Missing required property 'subnet_id'")
|
535
461
|
__props__.__dict__["subnet_id"] = subnet_id
|
536
|
-
__props__.__dict__["subnets"] = subnets
|
537
462
|
if vcn_id is None and not opts.urn:
|
538
463
|
raise TypeError("Missing required property 'vcn_id'")
|
539
464
|
__props__.__dict__["vcn_id"] = vcn_id
|
@@ -557,10 +482,8 @@ class RecoveryServiceSubnet(pulumi.CustomResource):
|
|
557
482
|
display_name: Optional[pulumi.Input[str]] = None,
|
558
483
|
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
559
484
|
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
560
|
-
nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
561
485
|
state: Optional[pulumi.Input[str]] = None,
|
562
486
|
subnet_id: Optional[pulumi.Input[str]] = None,
|
563
|
-
subnets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
564
487
|
system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
565
488
|
time_created: Optional[pulumi.Input[str]] = None,
|
566
489
|
time_updated: Optional[pulumi.Input[str]] = None,
|
@@ -577,10 +500,14 @@ class RecoveryServiceSubnet(pulumi.CustomResource):
|
|
577
500
|
: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.
|
578
501
|
: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"}`
|
579
502
|
: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
|
580
|
-
:param pulumi.Input[
|
581
|
-
|
582
|
-
|
583
|
-
|
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).
|
584
511
|
: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)
|
585
512
|
: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'.
|
586
513
|
: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'.
|
@@ -599,10 +526,8 @@ class RecoveryServiceSubnet(pulumi.CustomResource):
|
|
599
526
|
__props__.__dict__["display_name"] = display_name
|
600
527
|
__props__.__dict__["freeform_tags"] = freeform_tags
|
601
528
|
__props__.__dict__["lifecycle_details"] = lifecycle_details
|
602
|
-
__props__.__dict__["nsg_ids"] = nsg_ids
|
603
529
|
__props__.__dict__["state"] = state
|
604
530
|
__props__.__dict__["subnet_id"] = subnet_id
|
605
|
-
__props__.__dict__["subnets"] = subnets
|
606
531
|
__props__.__dict__["system_tags"] = system_tags
|
607
532
|
__props__.__dict__["time_created"] = time_created
|
608
533
|
__props__.__dict__["time_updated"] = time_updated
|
@@ -649,19 +574,17 @@ class RecoveryServiceSubnet(pulumi.CustomResource):
|
|
649
574
|
"""
|
650
575
|
return pulumi.get(self, "lifecycle_details")
|
651
576
|
|
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
|
-
|
660
577
|
@property
|
661
578
|
@pulumi.getter
|
662
579
|
def state(self) -> pulumi.Output[str]:
|
663
580
|
"""
|
664
|
-
The current state of the recovery service subnet.
|
581
|
+
The current state of the recovery service subnet. Allowed values are:
|
582
|
+
* CREATING
|
583
|
+
* UPDATING
|
584
|
+
* ACTIVE
|
585
|
+
* DELETING
|
586
|
+
* DELETED
|
587
|
+
* FAILED
|
665
588
|
"""
|
666
589
|
return pulumi.get(self, "state")
|
667
590
|
|
@@ -669,21 +592,10 @@ class RecoveryServiceSubnet(pulumi.CustomResource):
|
|
669
592
|
@pulumi.getter(name="subnetId")
|
670
593
|
def subnet_id(self) -> pulumi.Output[str]:
|
671
594
|
"""
|
672
|
-
|
595
|
+
The OCID of the subnet associated with the recovery service subnet. You can create a single backup network per virtual cloud network (VCN).
|
673
596
|
"""
|
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
|
-
|
677
597
|
return pulumi.get(self, "subnet_id")
|
678
598
|
|
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
|
-
|
687
599
|
@property
|
688
600
|
@pulumi.getter(name="systemTags")
|
689
601
|
def system_tags(self) -> pulumi.Output[Mapping[str, Any]]:
|